Annotation of parser3/configure, revision 1.152

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.152   ! moko        3: # Generated by GNU Autoconf 2.68 for parser 3.4.2 RC.
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.152   ! moko      574: PACKAGE_VERSION='3.4.2 RC'
        !           575: PACKAGE_STRING='parser 3.4.2 RC'
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_pathlink
                    780: with_sjlj_exceptions
                    781: enable_safe_mode
                    782: enable_execs
                    783: enable_stringstream
                    784: with_gc
                    785: with_pcre
                    786: with_xml
                    787: with_glib_config
                    788: with_shared_mailreceive
                    789: with_static_mailreceive
                    790: with_sendmail
                    791: with_apache
                    792: with_pic
                    793: enable_shared
                    794: enable_static
                    795: enable_fast_install
                    796: with_gnu_ld
                    797: with_sysroot
                    798: enable_libtool_lock
                    799: with_included_ltdl
                    800: with_ltdl_include
                    801: with_ltdl_lib
                    802: enable_ltdl_install
                    803: '
                    804:       ac_precious_vars='build_alias
                    805: host_alias
                    806: target_alias
                    807: YACC
                    808: YFLAGS
                    809: CXX
                    810: CXXFLAGS
                    811: LDFLAGS
                    812: LIBS
                    813: CPPFLAGS
                    814: CCC
                    815: CC
                    816: CFLAGS
                    817: CPP
                    818: CXXCPP'
                    819: ac_subdirs_all='src/lib/ltdl'
1.1       paf       820: 
                    821: # Initialize some variables set by options.
1.62      paf       822: ac_init_help=
                    823: ac_init_version=false
1.150     moko      824: ac_unrecognized_opts=
                    825: ac_unrecognized_sep=
1.1       paf       826: # The variables have the same names as the options, with
                    827: # dashes changed to underlines.
1.62      paf       828: cache_file=/dev/null
1.1       paf       829: exec_prefix=NONE
                    830: no_create=
                    831: no_recursion=
                    832: prefix=NONE
                    833: program_prefix=NONE
                    834: program_suffix=NONE
                    835: program_transform_name=s,x,x,
                    836: silent=
                    837: site=
                    838: srcdir=
                    839: verbose=
                    840: x_includes=NONE
                    841: x_libraries=NONE
1.62      paf       842: 
                    843: # Installation directory options.
                    844: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    845: # and all the variables that are supposed to be based on exec_prefix
                    846: # by default will actually change.
                    847: # Use braces instead of parens because sh, perl, etc. also accept them.
1.150     moko      848: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       849: bindir='${exec_prefix}/bin'
                    850: sbindir='${exec_prefix}/sbin'
                    851: libexecdir='${exec_prefix}/libexec'
1.150     moko      852: datarootdir='${prefix}/share'
                    853: datadir='${datarootdir}'
1.1       paf       854: sysconfdir='${prefix}/etc'
                    855: sharedstatedir='${prefix}/com'
                    856: localstatedir='${prefix}/var'
                    857: includedir='${prefix}/include'
                    858: oldincludedir='/usr/include'
1.150     moko      859: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    860: infodir='${datarootdir}/info'
                    861: htmldir='${docdir}'
                    862: dvidir='${docdir}'
                    863: pdfdir='${docdir}'
                    864: psdir='${docdir}'
                    865: libdir='${exec_prefix}/lib'
                    866: localedir='${datarootdir}/locale'
                    867: mandir='${datarootdir}/man'
1.1       paf       868: 
                    869: ac_prev=
1.150     moko      870: ac_dashdash=
1.1       paf       871: for ac_option
                    872: do
                    873:   # If the previous option needs an argument, assign it.
                    874:   if test -n "$ac_prev"; then
1.150     moko      875:     eval $ac_prev=\$ac_option
1.1       paf       876:     ac_prev=
                    877:     continue
                    878:   fi
                    879: 
1.150     moko      880:   case $ac_option in
                    881:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    882:   *=)   ac_optarg= ;;
                    883:   *)    ac_optarg=yes ;;
                    884:   esac
1.1       paf       885: 
                    886:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    887: 
1.150     moko      888:   case $ac_dashdash$ac_option in
                    889:   --)
                    890:     ac_dashdash=yes ;;
1.1       paf       891: 
                    892:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    893:     ac_prev=bindir ;;
                    894:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       895:     bindir=$ac_optarg ;;
1.1       paf       896: 
                    897:   -build | --build | --buil | --bui | --bu)
1.62      paf       898:     ac_prev=build_alias ;;
1.1       paf       899:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       900:     build_alias=$ac_optarg ;;
1.1       paf       901: 
                    902:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    903:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    904:     ac_prev=cache_file ;;
                    905:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    906:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       907:     cache_file=$ac_optarg ;;
                    908: 
                    909:   --config-cache | -C)
                    910:     cache_file=config.cache ;;
1.1       paf       911: 
1.150     moko      912:   -datadir | --datadir | --datadi | --datad)
1.1       paf       913:     ac_prev=datadir ;;
1.150     moko      914:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.62      paf       915:     datadir=$ac_optarg ;;
1.1       paf       916: 
1.150     moko      917:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    918:   | --dataroo | --dataro | --datar)
                    919:     ac_prev=datarootdir ;;
                    920:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    921:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    922:     datarootdir=$ac_optarg ;;
                    923: 
1.1       paf       924:   -disable-* | --disable-*)
1.150     moko      925:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       926:     # Reject names that are not valid shell variable names.
1.150     moko      927:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    928:       as_fn_error $? "invalid feature name: $ac_useropt"
                    929:     ac_useropt_orig=$ac_useropt
                    930:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    931:     case $ac_user_opts in
                    932:       *"
                    933: "enable_$ac_useropt"
                    934: "*) ;;
                    935:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    936:         ac_unrecognized_sep=', ';;
                    937:     esac
                    938:     eval enable_$ac_useropt=no ;;
                    939: 
                    940:   -docdir | --docdir | --docdi | --doc | --do)
                    941:     ac_prev=docdir ;;
                    942:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    943:     docdir=$ac_optarg ;;
                    944: 
                    945:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    946:     ac_prev=dvidir ;;
                    947:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    948:     dvidir=$ac_optarg ;;
1.1       paf       949: 
                    950:   -enable-* | --enable-*)
1.150     moko      951:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       952:     # Reject names that are not valid shell variable names.
1.150     moko      953:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    954:       as_fn_error $? "invalid feature name: $ac_useropt"
                    955:     ac_useropt_orig=$ac_useropt
                    956:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    957:     case $ac_user_opts in
                    958:       *"
                    959: "enable_$ac_useropt"
                    960: "*) ;;
                    961:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    962:         ac_unrecognized_sep=', ';;
1.1       paf       963:     esac
1.150     moko      964:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf       965: 
                    966:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    967:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    968:   | --exec | --exe | --ex)
                    969:     ac_prev=exec_prefix ;;
                    970:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    971:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    972:   | --exec=* | --exe=* | --ex=*)
1.62      paf       973:     exec_prefix=$ac_optarg ;;
1.1       paf       974: 
                    975:   -gas | --gas | --ga | --g)
                    976:     # Obsolete; use --with-gas.
                    977:     with_gas=yes ;;
                    978: 
1.62      paf       979:   -help | --help | --hel | --he | -h)
                    980:     ac_init_help=long ;;
                    981:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    982:     ac_init_help=recursive ;;
                    983:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    984:     ac_init_help=short ;;
1.1       paf       985: 
                    986:   -host | --host | --hos | --ho)
1.62      paf       987:     ac_prev=host_alias ;;
1.1       paf       988:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf       989:     host_alias=$ac_optarg ;;
1.1       paf       990: 
1.150     moko      991:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    992:     ac_prev=htmldir ;;
                    993:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    994:   | --ht=*)
                    995:     htmldir=$ac_optarg ;;
                    996: 
1.1       paf       997:   -includedir | --includedir | --includedi | --included | --include \
                    998:   | --includ | --inclu | --incl | --inc)
                    999:     ac_prev=includedir ;;
                   1000:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1001:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf      1002:     includedir=$ac_optarg ;;
1.1       paf      1003: 
                   1004:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1005:     ac_prev=infodir ;;
                   1006:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf      1007:     infodir=$ac_optarg ;;
1.1       paf      1008: 
                   1009:   -libdir | --libdir | --libdi | --libd)
                   1010:     ac_prev=libdir ;;
                   1011:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf      1012:     libdir=$ac_optarg ;;
1.1       paf      1013: 
                   1014:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1015:   | --libexe | --libex | --libe)
                   1016:     ac_prev=libexecdir ;;
                   1017:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1018:   | --libexe=* | --libex=* | --libe=*)
1.62      paf      1019:     libexecdir=$ac_optarg ;;
1.1       paf      1020: 
1.150     moko     1021:   -localedir | --localedir | --localedi | --localed | --locale)
                   1022:     ac_prev=localedir ;;
                   1023:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1024:     localedir=$ac_optarg ;;
                   1025: 
1.1       paf      1026:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.150     moko     1027:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1028:     ac_prev=localstatedir ;;
                   1029:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.150     moko     1030:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.62      paf      1031:     localstatedir=$ac_optarg ;;
1.1       paf      1032: 
                   1033:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1034:     ac_prev=mandir ;;
                   1035:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf      1036:     mandir=$ac_optarg ;;
1.1       paf      1037: 
                   1038:   -nfp | --nfp | --nf)
                   1039:     # Obsolete; use --without-fp.
                   1040:     with_fp=no ;;
                   1041: 
                   1042:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf      1043:   | --no-cr | --no-c | -n)
1.1       paf      1044:     no_create=yes ;;
                   1045: 
                   1046:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1047:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1048:     no_recursion=yes ;;
                   1049: 
                   1050:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1051:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1052:   | --oldin | --oldi | --old | --ol | --o)
                   1053:     ac_prev=oldincludedir ;;
                   1054:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1055:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1056:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf      1057:     oldincludedir=$ac_optarg ;;
1.1       paf      1058: 
                   1059:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1060:     ac_prev=prefix ;;
                   1061:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf      1062:     prefix=$ac_optarg ;;
1.1       paf      1063: 
                   1064:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1065:   | --program-pre | --program-pr | --program-p)
                   1066:     ac_prev=program_prefix ;;
                   1067:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1068:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf      1069:     program_prefix=$ac_optarg ;;
1.1       paf      1070: 
                   1071:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1072:   | --program-suf | --program-su | --program-s)
                   1073:     ac_prev=program_suffix ;;
                   1074:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1075:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf      1076:     program_suffix=$ac_optarg ;;
1.1       paf      1077: 
                   1078:   -program-transform-name | --program-transform-name \
                   1079:   | --program-transform-nam | --program-transform-na \
                   1080:   | --program-transform-n | --program-transform- \
                   1081:   | --program-transform | --program-transfor \
                   1082:   | --program-transfo | --program-transf \
                   1083:   | --program-trans | --program-tran \
                   1084:   | --progr-tra | --program-tr | --program-t)
                   1085:     ac_prev=program_transform_name ;;
                   1086:   -program-transform-name=* | --program-transform-name=* \
                   1087:   | --program-transform-nam=* | --program-transform-na=* \
                   1088:   | --program-transform-n=* | --program-transform-=* \
                   1089:   | --program-transform=* | --program-transfor=* \
                   1090:   | --program-transfo=* | --program-transf=* \
                   1091:   | --program-trans=* | --program-tran=* \
                   1092:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf      1093:     program_transform_name=$ac_optarg ;;
1.1       paf      1094: 
1.150     moko     1095:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1096:     ac_prev=pdfdir ;;
                   1097:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1098:     pdfdir=$ac_optarg ;;
                   1099: 
                   1100:   -psdir | --psdir | --psdi | --psd | --ps)
                   1101:     ac_prev=psdir ;;
                   1102:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1103:     psdir=$ac_optarg ;;
                   1104: 
1.1       paf      1105:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1106:   | -silent | --silent | --silen | --sile | --sil)
                   1107:     silent=yes ;;
                   1108: 
                   1109:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1110:     ac_prev=sbindir ;;
                   1111:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1112:   | --sbi=* | --sb=*)
1.62      paf      1113:     sbindir=$ac_optarg ;;
1.1       paf      1114: 
                   1115:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1116:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1117:   | --sharedst | --shareds | --shared | --share | --shar \
                   1118:   | --sha | --sh)
                   1119:     ac_prev=sharedstatedir ;;
                   1120:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1121:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1122:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1123:   | --sha=* | --sh=*)
1.62      paf      1124:     sharedstatedir=$ac_optarg ;;
1.1       paf      1125: 
                   1126:   -site | --site | --sit)
                   1127:     ac_prev=site ;;
                   1128:   -site=* | --site=* | --sit=*)
1.62      paf      1129:     site=$ac_optarg ;;
1.1       paf      1130: 
                   1131:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1132:     ac_prev=srcdir ;;
                   1133:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf      1134:     srcdir=$ac_optarg ;;
1.1       paf      1135: 
                   1136:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1137:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1138:     ac_prev=sysconfdir ;;
                   1139:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1140:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf      1141:     sysconfdir=$ac_optarg ;;
1.1       paf      1142: 
                   1143:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf      1144:     ac_prev=target_alias ;;
1.1       paf      1145:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf      1146:     target_alias=$ac_optarg ;;
1.1       paf      1147: 
                   1148:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1149:     verbose=yes ;;
                   1150: 
1.62      paf      1151:   -version | --version | --versio | --versi | --vers | -V)
                   1152:     ac_init_version=: ;;
1.1       paf      1153: 
                   1154:   -with-* | --with-*)
1.150     moko     1155:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1156:     # Reject names that are not valid shell variable names.
1.150     moko     1157:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1158:       as_fn_error $? "invalid package name: $ac_useropt"
                   1159:     ac_useropt_orig=$ac_useropt
                   1160:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1161:     case $ac_user_opts in
                   1162:       *"
                   1163: "with_$ac_useropt"
                   1164: "*) ;;
                   1165:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1166:         ac_unrecognized_sep=', ';;
1.1       paf      1167:     esac
1.150     moko     1168:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1169: 
                   1170:   -without-* | --without-*)
1.150     moko     1171:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1172:     # Reject names that are not valid shell variable names.
1.150     moko     1173:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1174:       as_fn_error $? "invalid package name: $ac_useropt"
                   1175:     ac_useropt_orig=$ac_useropt
                   1176:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1177:     case $ac_user_opts in
                   1178:       *"
                   1179: "with_$ac_useropt"
                   1180: "*) ;;
                   1181:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1182:         ac_unrecognized_sep=', ';;
                   1183:     esac
                   1184:     eval with_$ac_useropt=no ;;
1.1       paf      1185: 
                   1186:   --x)
                   1187:     # Obsolete; use --with-x.
                   1188:     with_x=yes ;;
                   1189: 
                   1190:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1191:   | --x-incl | --x-inc | --x-in | --x-i)
                   1192:     ac_prev=x_includes ;;
                   1193:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1194:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf      1195:     x_includes=$ac_optarg ;;
1.1       paf      1196: 
                   1197:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1198:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1199:     ac_prev=x_libraries ;;
                   1200:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1201:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf      1202:     x_libraries=$ac_optarg ;;
1.1       paf      1203: 
1.150     moko     1204:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1205: Try \`$0 --help' for more information"
1.1       paf      1206:     ;;
                   1207: 
1.62      paf      1208:   *=*)
                   1209:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1210:     # Reject names that are not valid shell variable names.
1.150     moko     1211:     case $ac_envvar in #(
                   1212:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1213:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1214:     esac
                   1215:     eval $ac_envvar=\$ac_optarg
1.62      paf      1216:     export $ac_envvar ;;
                   1217: 
1.1       paf      1218:   *)
1.62      paf      1219:     # FIXME: should be removed in autoconf 3.0.
1.150     moko     1220:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.62      paf      1221:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.150     moko     1222:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1223:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1224:     ;;
                   1225: 
                   1226:   esac
                   1227: done
                   1228: 
                   1229: if test -n "$ac_prev"; then
1.62      paf      1230:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.150     moko     1231:   as_fn_error $? "missing argument to $ac_option"
1.1       paf      1232: fi
                   1233: 
1.150     moko     1234: if test -n "$ac_unrecognized_opts"; then
                   1235:   case $enable_option_checking in
                   1236:     no) ;;
                   1237:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1238:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1239:   esac
                   1240: fi
                   1241: 
                   1242: # Check all directory arguments for consistency.
                   1243: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1244:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1245:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1246:                libdir localedir mandir
1.62      paf      1247: do
1.150     moko     1248:   eval ac_val=\$$ac_var
                   1249:   # Remove trailing slashes.
1.62      paf      1250:   case $ac_val in
1.150     moko     1251:     */ )
                   1252:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1253:       eval $ac_var=\$ac_val;;
1.62      paf      1254:   esac
1.150     moko     1255:   # Be sure to have absolute directory names.
1.62      paf      1256:   case $ac_val in
1.150     moko     1257:     [\\/$]* | ?:[\\/]* )  continue;;
                   1258:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1259:   esac
1.150     moko     1260:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1261: done
                   1262: 
1.62      paf      1263: # There might be people who depend on the old broken behavior: `$host'
                   1264: # used to hold the argument of --host etc.
                   1265: # FIXME: To remove some day.
                   1266: build=$build_alias
                   1267: host=$host_alias
                   1268: target=$target_alias
                   1269: 
                   1270: # FIXME: To remove some day.
                   1271: if test "x$host_alias" != x; then
                   1272:   if test "x$build_alias" = x; then
                   1273:     cross_compiling=maybe
1.150     moko     1274:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
                   1275:     If a cross compiler is detected then cross compile mode will be used" >&2
1.62      paf      1276:   elif test "x$build_alias" != "x$host_alias"; then
                   1277:     cross_compiling=yes
                   1278:   fi
                   1279: fi
                   1280: 
                   1281: ac_tool_prefix=
                   1282: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1283: 
1.62      paf      1284: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1285: 
                   1286: 
1.150     moko     1287: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1288: ac_ls_di=`ls -di .` &&
                   1289: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1290:   as_fn_error $? "working directory cannot be determined"
                   1291: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1292:   as_fn_error $? "pwd does not report name of working directory"
                   1293: 
                   1294: 
1.1       paf      1295: # Find the source files, if location was not specified.
                   1296: if test -z "$srcdir"; then
                   1297:   ac_srcdir_defaulted=yes
1.150     moko     1298:   # Try the directory containing this script, then the parent directory.
                   1299:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1300: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1301:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1302:         X"$as_myself" : 'X\(//\)$' \| \
                   1303:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1304: $as_echo X"$as_myself" |
                   1305:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1306:            s//\1/
                   1307:            q
                   1308:          }
                   1309:          /^X\(\/\/\)[^/].*/{
                   1310:            s//\1/
                   1311:            q
                   1312:          }
                   1313:          /^X\(\/\/\)$/{
                   1314:            s//\1/
                   1315:            q
                   1316:          }
                   1317:          /^X\(\/\).*/{
                   1318:            s//\1/
                   1319:            q
                   1320:          }
                   1321:          s/.*/./; q'`
1.1       paf      1322:   srcdir=$ac_confdir
1.150     moko     1323:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1324:     srcdir=..
                   1325:   fi
                   1326: else
                   1327:   ac_srcdir_defaulted=no
                   1328: fi
1.150     moko     1329: if test ! -r "$srcdir/$ac_unique_file"; then
                   1330:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1331:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1332: fi
                   1333: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1334: ac_abs_confdir=`(
                   1335:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1336:        pwd)`
                   1337: # When building in place, set srcdir=.
                   1338: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1339:   srcdir=.
                   1340: fi
                   1341: # Remove unnecessary trailing slashes from srcdir.
                   1342: # Double slashes in file names in object file debugging info
                   1343: # mess up M-x gdb in Emacs.
                   1344: case $srcdir in
                   1345: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1346: esac
                   1347: for ac_var in $ac_precious_vars; do
                   1348:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1349:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1350:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1351:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1352: done
1.62      paf      1353: 
                   1354: #
                   1355: # Report the --help message.
                   1356: #
                   1357: if test "$ac_init_help" = "long"; then
                   1358:   # Omit some internal or obsolete options to make the list less imposing.
                   1359:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1360:   cat <<_ACEOF
1.152   ! moko     1361: \`configure' configures parser 3.4.2 RC to adapt to many kinds of systems.
1.62      paf      1362: 
                   1363: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1364: 
                   1365: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1366: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1367: 
                   1368: Defaults for the options are specified in brackets.
                   1369: 
                   1370: Configuration:
                   1371:   -h, --help              display this help and exit
                   1372:       --help=short        display options specific to this package
                   1373:       --help=recursive    display the short help of all the included packages
                   1374:   -V, --version           display version information and exit
1.150     moko     1375:   -q, --quiet, --silent   do not print \`checking ...' messages
1.62      paf      1376:       --cache-file=FILE   cache test results in FILE [disabled]
                   1377:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1378:   -n, --no-create         do not create output files
                   1379:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1380: 
                   1381: Installation directories:
                   1382:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.150     moko     1383:                           [$ac_default_prefix]
1.62      paf      1384:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.150     moko     1385:                           [PREFIX]
1.62      paf      1386: 
                   1387: By default, \`make install' will install all the files in
                   1388: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1389: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1390: for instance \`--prefix=\$HOME'.
                   1391: 
                   1392: For better control, use the options below.
                   1393: 
                   1394: Fine tuning of the installation directories:
1.150     moko     1395:   --bindir=DIR            user executables [EPREFIX/bin]
                   1396:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1397:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1398:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1399:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1400:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1401:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1402:   --includedir=DIR        C header files [PREFIX/include]
                   1403:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1404:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1405:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1406:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1407:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1408:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1409:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser]
                   1410:   --htmldir=DIR           html documentation [DOCDIR]
                   1411:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1412:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1413:   --psdir=DIR             ps documentation [DOCDIR]
1.62      paf      1414: _ACEOF
                   1415: 
                   1416:   cat <<\_ACEOF
                   1417: 
                   1418: Program names:
                   1419:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1420:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1421:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1422: 
                   1423: System types:
                   1424:   --build=BUILD     configure for building on BUILD [guessed]
                   1425:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1426: _ACEOF
                   1427: fi
                   1428: 
                   1429: if test -n "$ac_init_help"; then
1.128     moko     1430:   case $ac_init_help in
1.152   ! moko     1431:      short | recursive ) echo "Configuration of parser 3.4.2 RC:";;
1.128     moko     1432:    esac
1.62      paf      1433:   cat <<\_ACEOF
                   1434: 
                   1435: Optional Features:
1.150     moko     1436:   --disable-option-checking  ignore unrecognized --enable/--with options
1.62      paf      1437:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1438:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.86      paf      1439:   --disable-dependency-tracking  speeds up one-time build
                   1440:   --enable-dependency-tracking   do not reject slow dependency extractors
1.67      paf      1441:   --disable-safe-mode    to enable reading and executing
1.62      paf      1442:                           files belonging to group+user other then effective
1.146     moko     1443:   --disable-execs        to disable any execs
1.62      paf      1444:                           (file::exec, file::cgi, unix mail:send)
1.94      misha    1445:   --disable-stringstream  to disable stringstream usage.
                   1446:                           when disabled table.save use more memory but it's safer on freebsd 4.x
1.150     moko     1447:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1448:   --enable-static[=PKGS]  build static libraries [default=yes]
1.128     moko     1449:   --enable-fast-install[=PKGS]
                   1450:                           optimize for fast installation [default=yes]
                   1451:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1452:   --enable-ltdl-install   install libltdl
1.62      paf      1453: 
                   1454: Optional Packages:
                   1455:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1456:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf      1457:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.67      paf      1458:   --with-assertions       to enable assertions
1.62      paf      1459:   --with-pathlink=LKEY    put dynamic libraries paths to binary
                   1460:                           using linker key (-R, -rpath-link)
1.128     moko     1461:   --with-sjlj-exceptions  enable simple 'throw' from dynamic library
1.146     moko     1462:   --with-gc=D             D is the directory where
1.142     moko     1463:                           Boehm garbage collecting library is installed
1.146     moko     1464:   --with-pcre=D           D is the directory where
1.142     moko     1465:                           PCRE library is installed
1.146     moko     1466:   --with-xml=D            D is the directory where
1.142     moko     1467:                           Gnome XML libraries are installed
1.90      paf      1468:   --with-glib-config=FILE FILE is glib library
                   1469:                           configuration file (search for glib*-config)
1.62      paf      1470:   --with-shared-mailreceive=D is the directory where
1.67      paf      1471:                           Gnome MIME library is installed (shared lib)
1.62      paf      1472:   --with-static-mailreceive=D is the directory where
                   1473:                           Gnome MIME library is installed (static lib)
                   1474:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                   1475:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                   1476:                           (makes parser ignore user-defined sendmail commands)
1.146     moko     1477:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko     1478:                           builds apache DSO module using apxs
1.150     moko     1479:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.128     moko     1480:                           both]
                   1481:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1482:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1483:                         (or the compiler's sysroot if not specified).
                   1484:   --with-included-ltdl    use the GNU ltdl sources included here
                   1485:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1486:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf      1487: 
                   1488: Some influential environment variables:
1.150     moko     1489:   YACC        The `Yet Another Compiler Compiler' implementation to use.
                   1490:               Defaults to the first program found out of: `bison -y', `byacc',
                   1491:               `yacc'.
                   1492:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1493:               This script will default YFLAGS to the empty string to avoid a
                   1494:               default value of `-d' given by some make applications.
1.66      paf      1495:   CXX         C++ compiler command
                   1496:   CXXFLAGS    C++ compiler flags
1.62      paf      1497:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1498:               nonstandard directory <lib dir>
1.150     moko     1499:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1500:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1501:               you have headers in a nonstandard directory <include dir>
1.66      paf      1502:   CC          C compiler command
                   1503:   CFLAGS      C compiler flags
                   1504:   CPP         C preprocessor
1.128     moko     1505:   CXXCPP      C++ preprocessor
1.62      paf      1506: 
                   1507: Use these variables to override the choices made by `configure' or to help
                   1508: it to find libraries and programs with nonstandard names/locations.
                   1509: 
1.150     moko     1510: Report bugs to the package provider.
1.62      paf      1511: _ACEOF
1.150     moko     1512: ac_status=$?
1.62      paf      1513: fi
                   1514: 
                   1515: if test "$ac_init_help" = "recursive"; then
                   1516:   # If there are subdirs, report their specific --help.
                   1517:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.150     moko     1518:     test -d "$ac_dir" ||
                   1519:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1520:       continue
1.62      paf      1521:     ac_builddir=.
                   1522: 
1.150     moko     1523: case "$ac_dir" in
                   1524: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1525: *)
                   1526:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1527:   # A ".." for each directory in $ac_dir_suffix.
                   1528:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1529:   case $ac_top_builddir_sub in
                   1530:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1531:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1532:   esac ;;
                   1533: esac
                   1534: ac_abs_top_builddir=$ac_pwd
                   1535: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1536: # for backward compatibility:
                   1537: ac_top_builddir=$ac_top_build_prefix
1.62      paf      1538: 
                   1539: case $srcdir in
1.150     moko     1540:   .)  # We are building in place.
1.62      paf      1541:     ac_srcdir=.
1.150     moko     1542:     ac_top_srcdir=$ac_top_builddir_sub
                   1543:     ac_abs_top_srcdir=$ac_pwd ;;
                   1544:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      1545:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     1546:     ac_top_srcdir=$srcdir
                   1547:     ac_abs_top_srcdir=$srcdir ;;
                   1548:   *) # Relative name.
                   1549:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1550:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1551:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      1552: esac
1.150     moko     1553: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.62      paf      1554: 
1.150     moko     1555:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1556:     # Check for guested configure.
                   1557:     if test -f "$ac_srcdir/configure.gnu"; then
                   1558:       echo &&
                   1559:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1560:     elif test -f "$ac_srcdir/configure"; then
                   1561:       echo &&
                   1562:       $SHELL "$ac_srcdir/configure" --help=recursive
1.62      paf      1563:     else
1.150     moko     1564:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1565:     fi || ac_status=$?
                   1566:     cd "$ac_pwd" || { ac_status=$?; break; }
1.62      paf      1567:   done
                   1568: fi
                   1569: 
1.150     moko     1570: test -n "$ac_init_help" && exit $ac_status
1.62      paf      1571: if $ac_init_version; then
                   1572:   cat <<\_ACEOF
1.152   ! moko     1573: parser configure 3.4.2 RC
1.150     moko     1574: generated by GNU Autoconf 2.68
1.62      paf      1575: 
1.150     moko     1576: Copyright (C) 2010 Free Software Foundation, Inc.
1.62      paf      1577: This configure script is free software; the Free Software Foundation
                   1578: gives unlimited permission to copy, distribute and modify it.
                   1579: _ACEOF
1.150     moko     1580:   exit
1.62      paf      1581: fi
                   1582: 
1.150     moko     1583: ## ------------------------ ##
                   1584: ## Autoconf initialization. ##
                   1585: ## ------------------------ ##
                   1586: 
                   1587: # ac_fn_cxx_try_compile LINENO
                   1588: # ----------------------------
                   1589: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1590: ac_fn_cxx_try_compile ()
1.62      paf      1591: {
1.150     moko     1592:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1593:   rm -f conftest.$ac_objext
                   1594:   if { { ac_try="$ac_compile"
                   1595: case "(($ac_try" in
                   1596:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1597:   *) ac_try_echo=$ac_try;;
                   1598: esac
                   1599: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1600: $as_echo "$ac_try_echo"; } >&5
                   1601:   (eval "$ac_compile") 2>conftest.err
                   1602:   ac_status=$?
                   1603:   if test -s conftest.err; then
                   1604:     grep -v '^ *+' conftest.err >conftest.er1
                   1605:     cat conftest.er1 >&5
                   1606:     mv -f conftest.er1 conftest.err
                   1607:   fi
                   1608:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1609:   test $ac_status = 0; } && {
                   1610:         test -z "$ac_cxx_werror_flag" ||
                   1611:         test ! -s conftest.err
                   1612:        } && test -s conftest.$ac_objext; then :
                   1613:   ac_retval=0
                   1614: else
                   1615:   $as_echo "$as_me: failed program was:" >&5
                   1616: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      1617: 
1.150     moko     1618:        ac_retval=1
                   1619: fi
                   1620:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1621:   as_fn_set_status $ac_retval
1.62      paf      1622: 
1.150     moko     1623: } # ac_fn_cxx_try_compile
                   1624: 
                   1625: # ac_fn_c_try_compile LINENO
                   1626: # --------------------------
                   1627: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1628: ac_fn_c_try_compile ()
                   1629: {
                   1630:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1631:   rm -f conftest.$ac_objext
                   1632:   if { { ac_try="$ac_compile"
                   1633: case "(($ac_try" in
                   1634:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1635:   *) ac_try_echo=$ac_try;;
                   1636: esac
                   1637: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1638: $as_echo "$ac_try_echo"; } >&5
                   1639:   (eval "$ac_compile") 2>conftest.err
                   1640:   ac_status=$?
                   1641:   if test -s conftest.err; then
                   1642:     grep -v '^ *+' conftest.err >conftest.er1
                   1643:     cat conftest.er1 >&5
                   1644:     mv -f conftest.er1 conftest.err
                   1645:   fi
                   1646:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1647:   test $ac_status = 0; } && {
                   1648:         test -z "$ac_c_werror_flag" ||
                   1649:         test ! -s conftest.err
                   1650:        } && test -s conftest.$ac_objext; then :
                   1651:   ac_retval=0
                   1652: else
                   1653:   $as_echo "$as_me: failed program was:" >&5
                   1654: sed 's/^/| /' conftest.$ac_ext >&5
                   1655: 
                   1656:        ac_retval=1
                   1657: fi
                   1658:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1659:   as_fn_set_status $ac_retval
                   1660: 
                   1661: } # ac_fn_c_try_compile
                   1662: 
                   1663: # ac_fn_c_try_link LINENO
                   1664: # -----------------------
                   1665: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1666: ac_fn_c_try_link ()
                   1667: {
                   1668:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1669:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1670:   if { { ac_try="$ac_link"
                   1671: case "(($ac_try" in
                   1672:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1673:   *) ac_try_echo=$ac_try;;
                   1674: esac
                   1675: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1676: $as_echo "$ac_try_echo"; } >&5
                   1677:   (eval "$ac_link") 2>conftest.err
                   1678:   ac_status=$?
                   1679:   if test -s conftest.err; then
                   1680:     grep -v '^ *+' conftest.err >conftest.er1
                   1681:     cat conftest.er1 >&5
                   1682:     mv -f conftest.er1 conftest.err
                   1683:   fi
                   1684:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1685:   test $ac_status = 0; } && {
                   1686:         test -z "$ac_c_werror_flag" ||
                   1687:         test ! -s conftest.err
                   1688:        } && test -s conftest$ac_exeext && {
                   1689:         test "$cross_compiling" = yes ||
                   1690:         $as_test_x conftest$ac_exeext
                   1691:        }; then :
                   1692:   ac_retval=0
                   1693: else
                   1694:   $as_echo "$as_me: failed program was:" >&5
                   1695: sed 's/^/| /' conftest.$ac_ext >&5
                   1696: 
                   1697:        ac_retval=1
                   1698: fi
                   1699:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1700:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1701:   # interfere with the next link command; also delete a directory that is
                   1702:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1703:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1704:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1705:   as_fn_set_status $ac_retval
                   1706: 
                   1707: } # ac_fn_c_try_link
                   1708: 
                   1709: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1710: # -------------------------------------------------------
                   1711: # Tests whether HEADER exists and can be compiled using the include files in
                   1712: # INCLUDES, setting the cache variable VAR accordingly.
                   1713: ac_fn_c_check_header_compile ()
                   1714: {
                   1715:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1716:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1717: $as_echo_n "checking for $2... " >&6; }
                   1718: if eval \${$3+:} false; then :
                   1719:   $as_echo_n "(cached) " >&6
                   1720: else
                   1721:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1722: /* end confdefs.h.  */
                   1723: $4
                   1724: #include <$2>
                   1725: _ACEOF
                   1726: if ac_fn_c_try_compile "$LINENO"; then :
                   1727:   eval "$3=yes"
                   1728: else
                   1729:   eval "$3=no"
                   1730: fi
                   1731: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1732: fi
                   1733: eval ac_res=\$$3
                   1734:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1735: $as_echo "$ac_res" >&6; }
                   1736:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1737: 
                   1738: } # ac_fn_c_check_header_compile
                   1739: 
                   1740: # ac_fn_c_try_cpp LINENO
                   1741: # ----------------------
                   1742: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1743: ac_fn_c_try_cpp ()
                   1744: {
                   1745:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1746:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1747: case "(($ac_try" in
                   1748:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1749:   *) ac_try_echo=$ac_try;;
                   1750: esac
                   1751: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1752: $as_echo "$ac_try_echo"; } >&5
                   1753:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1754:   ac_status=$?
                   1755:   if test -s conftest.err; then
                   1756:     grep -v '^ *+' conftest.err >conftest.er1
                   1757:     cat conftest.er1 >&5
                   1758:     mv -f conftest.er1 conftest.err
                   1759:   fi
                   1760:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1761:   test $ac_status = 0; } > conftest.i && {
                   1762:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1763:         test ! -s conftest.err
                   1764:        }; then :
                   1765:   ac_retval=0
                   1766: else
                   1767:   $as_echo "$as_me: failed program was:" >&5
                   1768: sed 's/^/| /' conftest.$ac_ext >&5
                   1769: 
                   1770:     ac_retval=1
                   1771: fi
                   1772:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1773:   as_fn_set_status $ac_retval
                   1774: 
                   1775: } # ac_fn_c_try_cpp
                   1776: 
                   1777: # ac_fn_c_try_run LINENO
                   1778: # ----------------------
                   1779: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1780: # that executables *can* be run.
                   1781: ac_fn_c_try_run ()
                   1782: {
                   1783:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1784:   if { { ac_try="$ac_link"
                   1785: case "(($ac_try" in
                   1786:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1787:   *) ac_try_echo=$ac_try;;
                   1788: esac
                   1789: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1790: $as_echo "$ac_try_echo"; } >&5
                   1791:   (eval "$ac_link") 2>&5
                   1792:   ac_status=$?
                   1793:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1794:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1795:   { { case "(($ac_try" in
                   1796:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1797:   *) ac_try_echo=$ac_try;;
                   1798: esac
                   1799: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1800: $as_echo "$ac_try_echo"; } >&5
                   1801:   (eval "$ac_try") 2>&5
                   1802:   ac_status=$?
                   1803:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1804:   test $ac_status = 0; }; }; then :
                   1805:   ac_retval=0
                   1806: else
                   1807:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1808:        $as_echo "$as_me: failed program was:" >&5
                   1809: sed 's/^/| /' conftest.$ac_ext >&5
                   1810: 
                   1811:        ac_retval=$ac_status
                   1812: fi
                   1813:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1814:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1815:   as_fn_set_status $ac_retval
                   1816: 
                   1817: } # ac_fn_c_try_run
                   1818: 
                   1819: # ac_fn_c_check_func LINENO FUNC VAR
                   1820: # ----------------------------------
                   1821: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1822: ac_fn_c_check_func ()
                   1823: {
                   1824:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1825:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1826: $as_echo_n "checking for $2... " >&6; }
                   1827: if eval \${$3+:} false; then :
                   1828:   $as_echo_n "(cached) " >&6
                   1829: else
                   1830:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1831: /* end confdefs.h.  */
                   1832: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1833:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1834: #define $2 innocuous_$2
                   1835: 
                   1836: /* System header to define __stub macros and hopefully few prototypes,
                   1837:     which can conflict with char $2 (); below.
                   1838:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1839:     <limits.h> exists even on freestanding compilers.  */
                   1840: 
                   1841: #ifdef __STDC__
                   1842: # include <limits.h>
                   1843: #else
                   1844: # include <assert.h>
                   1845: #endif
                   1846: 
                   1847: #undef $2
                   1848: 
                   1849: /* Override any GCC internal prototype to avoid an error.
                   1850:    Use char because int might match the return type of a GCC
                   1851:    builtin and then its argument prototype would still apply.  */
                   1852: #ifdef __cplusplus
                   1853: extern "C"
                   1854: #endif
                   1855: char $2 ();
                   1856: /* The GNU C library defines this for functions which it implements
                   1857:     to always fail with ENOSYS.  Some functions are actually named
                   1858:     something starting with __ and the normal name is an alias.  */
                   1859: #if defined __stub_$2 || defined __stub___$2
                   1860: choke me
                   1861: #endif
                   1862: 
                   1863: int
                   1864: main ()
                   1865: {
                   1866: return $2 ();
                   1867:   ;
                   1868:   return 0;
                   1869: }
                   1870: _ACEOF
                   1871: if ac_fn_c_try_link "$LINENO"; then :
                   1872:   eval "$3=yes"
                   1873: else
                   1874:   eval "$3=no"
                   1875: fi
                   1876: rm -f core conftest.err conftest.$ac_objext \
                   1877:     conftest$ac_exeext conftest.$ac_ext
                   1878: fi
                   1879: eval ac_res=\$$3
                   1880:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1881: $as_echo "$ac_res" >&6; }
                   1882:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1883: 
                   1884: } # ac_fn_c_check_func
                   1885: 
                   1886: # ac_fn_cxx_try_cpp LINENO
                   1887: # ------------------------
                   1888: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1889: ac_fn_cxx_try_cpp ()
                   1890: {
                   1891:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1892:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1893: case "(($ac_try" in
                   1894:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1895:   *) ac_try_echo=$ac_try;;
                   1896: esac
                   1897: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1898: $as_echo "$ac_try_echo"; } >&5
                   1899:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1900:   ac_status=$?
                   1901:   if test -s conftest.err; then
                   1902:     grep -v '^ *+' conftest.err >conftest.er1
                   1903:     cat conftest.er1 >&5
                   1904:     mv -f conftest.er1 conftest.err
                   1905:   fi
                   1906:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1907:   test $ac_status = 0; } > conftest.i && {
                   1908:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1909:         test ! -s conftest.err
                   1910:        }; then :
                   1911:   ac_retval=0
                   1912: else
                   1913:   $as_echo "$as_me: failed program was:" >&5
                   1914: sed 's/^/| /' conftest.$ac_ext >&5
                   1915: 
                   1916:     ac_retval=1
                   1917: fi
                   1918:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1919:   as_fn_set_status $ac_retval
                   1920: 
                   1921: } # ac_fn_cxx_try_cpp
                   1922: 
                   1923: # ac_fn_cxx_try_link LINENO
                   1924: # -------------------------
                   1925: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1926: ac_fn_cxx_try_link ()
                   1927: {
                   1928:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1929:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1930:   if { { ac_try="$ac_link"
                   1931: case "(($ac_try" in
                   1932:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1933:   *) ac_try_echo=$ac_try;;
                   1934: esac
                   1935: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1936: $as_echo "$ac_try_echo"; } >&5
                   1937:   (eval "$ac_link") 2>conftest.err
                   1938:   ac_status=$?
                   1939:   if test -s conftest.err; then
                   1940:     grep -v '^ *+' conftest.err >conftest.er1
                   1941:     cat conftest.er1 >&5
                   1942:     mv -f conftest.er1 conftest.err
                   1943:   fi
                   1944:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1945:   test $ac_status = 0; } && {
                   1946:         test -z "$ac_cxx_werror_flag" ||
                   1947:         test ! -s conftest.err
                   1948:        } && test -s conftest$ac_exeext && {
                   1949:         test "$cross_compiling" = yes ||
                   1950:         $as_test_x conftest$ac_exeext
                   1951:        }; then :
                   1952:   ac_retval=0
                   1953: else
                   1954:   $as_echo "$as_me: failed program was:" >&5
                   1955: sed 's/^/| /' conftest.$ac_ext >&5
                   1956: 
                   1957:        ac_retval=1
                   1958: fi
                   1959:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1960:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1961:   # interfere with the next link command; also delete a directory that is
                   1962:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1963:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1964:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1965:   as_fn_set_status $ac_retval
                   1966: 
                   1967: } # ac_fn_cxx_try_link
                   1968: 
                   1969: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   1970: # ---------------------------------------------
                   1971: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   1972: # accordingly.
                   1973: ac_fn_c_check_decl ()
                   1974: {
                   1975:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1976:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   1977:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   1978:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   1979: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   1980: if eval \${$3+:} false; then :
                   1981:   $as_echo_n "(cached) " >&6
                   1982: else
                   1983:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1984: /* end confdefs.h.  */
                   1985: $4
                   1986: int
                   1987: main ()
                   1988: {
                   1989: #ifndef $as_decl_name
                   1990: #ifdef __cplusplus
                   1991:   (void) $as_decl_use;
                   1992: #else
                   1993:   (void) $as_decl_name;
                   1994: #endif
                   1995: #endif
                   1996: 
                   1997:   ;
                   1998:   return 0;
                   1999: }
                   2000: _ACEOF
                   2001: if ac_fn_c_try_compile "$LINENO"; then :
                   2002:   eval "$3=yes"
                   2003: else
                   2004:   eval "$3=no"
                   2005: fi
                   2006: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2007: fi
                   2008: eval ac_res=\$$3
                   2009:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2010: $as_echo "$ac_res" >&6; }
                   2011:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2012: 
                   2013: } # ac_fn_c_check_decl
                   2014: 
                   2015: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2016: # -------------------------------------------
                   2017: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2018: # variable VAR accordingly.
                   2019: ac_fn_c_check_type ()
                   2020: {
                   2021:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2022:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2023: $as_echo_n "checking for $2... " >&6; }
                   2024: if eval \${$3+:} false; then :
                   2025:   $as_echo_n "(cached) " >&6
                   2026: else
                   2027:   eval "$3=no"
                   2028:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2029: /* end confdefs.h.  */
                   2030: $4
                   2031: int
                   2032: main ()
                   2033: {
                   2034: if (sizeof ($2))
                   2035:         return 0;
                   2036:   ;
                   2037:   return 0;
                   2038: }
                   2039: _ACEOF
                   2040: if ac_fn_c_try_compile "$LINENO"; then :
                   2041:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2042: /* end confdefs.h.  */
                   2043: $4
                   2044: int
                   2045: main ()
                   2046: {
                   2047: if (sizeof (($2)))
                   2048:            return 0;
                   2049:   ;
                   2050:   return 0;
                   2051: }
                   2052: _ACEOF
                   2053: if ac_fn_c_try_compile "$LINENO"; then :
                   2054: 
                   2055: else
                   2056:   eval "$3=yes"
                   2057: fi
                   2058: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2059: fi
                   2060: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2061: fi
                   2062: eval ac_res=\$$3
                   2063:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2064: $as_echo "$ac_res" >&6; }
                   2065:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2066: 
                   2067: } # ac_fn_c_check_type
                   2068: 
                   2069: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2070: # -------------------------------------------------------
                   2071: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2072: # the include files in INCLUDES and setting the cache variable VAR
                   2073: # accordingly.
                   2074: ac_fn_c_check_header_mongrel ()
                   2075: {
                   2076:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2077:   if eval \${$3+:} false; then :
                   2078:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2079: $as_echo_n "checking for $2... " >&6; }
                   2080: if eval \${$3+:} false; then :
                   2081:   $as_echo_n "(cached) " >&6
                   2082: fi
                   2083: eval ac_res=\$$3
                   2084:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2085: $as_echo "$ac_res" >&6; }
                   2086: else
                   2087:   # Is the header compilable?
                   2088: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2089: $as_echo_n "checking $2 usability... " >&6; }
                   2090: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2091: /* end confdefs.h.  */
                   2092: $4
                   2093: #include <$2>
                   2094: _ACEOF
                   2095: if ac_fn_c_try_compile "$LINENO"; then :
                   2096:   ac_header_compiler=yes
                   2097: else
                   2098:   ac_header_compiler=no
                   2099: fi
                   2100: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2101: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2102: $as_echo "$ac_header_compiler" >&6; }
                   2103: 
                   2104: # Is the header present?
                   2105: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2106: $as_echo_n "checking $2 presence... " >&6; }
                   2107: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2108: /* end confdefs.h.  */
                   2109: #include <$2>
                   2110: _ACEOF
                   2111: if ac_fn_c_try_cpp "$LINENO"; then :
                   2112:   ac_header_preproc=yes
                   2113: else
                   2114:   ac_header_preproc=no
                   2115: fi
                   2116: rm -f conftest.err conftest.i conftest.$ac_ext
                   2117: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2118: $as_echo "$ac_header_preproc" >&6; }
                   2119: 
                   2120: # So?  What about this header?
                   2121: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2122:   yes:no: )
                   2123:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2124: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2125:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2126: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2127:     ;;
                   2128:   no:yes:* )
                   2129:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2130: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2131:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2132: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2133:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2134: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2135:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2136: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2137:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2138: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2139:     ;;
                   2140: esac
                   2141:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2142: $as_echo_n "checking for $2... " >&6; }
                   2143: if eval \${$3+:} false; then :
                   2144:   $as_echo_n "(cached) " >&6
                   2145: else
                   2146:   eval "$3=\$ac_header_compiler"
                   2147: fi
                   2148: eval ac_res=\$$3
                   2149:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2150: $as_echo "$ac_res" >&6; }
                   2151: fi
                   2152:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2153: 
                   2154: } # ac_fn_c_check_header_mongrel
                   2155: cat >config.log <<_ACEOF
                   2156: This file contains any messages produced by compilers while
                   2157: running configure, to aid debugging if configure makes a mistake.
                   2158: 
1.152   ! moko     2159: It was created by parser $as_me 3.4.2 RC, which was
1.150     moko     2160: generated by GNU Autoconf 2.68.  Invocation command line was
                   2161: 
                   2162:   $ $0 $@
                   2163: 
                   2164: _ACEOF
                   2165: exec 5>>config.log
                   2166: {
                   2167: cat <<_ASUNAME
                   2168: ## --------- ##
                   2169: ## Platform. ##
                   2170: ## --------- ##
                   2171: 
                   2172: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2173: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2174: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2175: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2176: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2177: 
                   2178: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2179: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2180: 
                   2181: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2182: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2183: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150     moko     2184: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2185: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2186: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2187: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2188: 
                   2189: _ASUNAME
                   2190: 
                   2191: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2192: for as_dir in $PATH
                   2193: do
                   2194:   IFS=$as_save_IFS
                   2195:   test -z "$as_dir" && as_dir=.
1.150     moko     2196:     $as_echo "PATH: $as_dir"
                   2197:   done
                   2198: IFS=$as_save_IFS
1.1       paf      2199: 
1.62      paf      2200: } >&5
                   2201: 
                   2202: cat >&5 <<_ACEOF
                   2203: 
                   2204: 
                   2205: ## ----------- ##
                   2206: ## Core tests. ##
                   2207: ## ----------- ##
                   2208: 
                   2209: _ACEOF
                   2210: 
                   2211: 
                   2212: # Keep a trace of the command line.
                   2213: # Strip out --no-create and --no-recursion so they do not pile up.
                   2214: # Strip out --silent because we don't want to record it for future runs.
                   2215: # Also quote any args containing shell meta-characters.
                   2216: # Make two passes to allow for proper duplicate-argument suppression.
                   2217: ac_configure_args=
                   2218: ac_configure_args0=
                   2219: ac_configure_args1=
                   2220: ac_must_keep_next=false
                   2221: for ac_pass in 1 2
                   2222: do
                   2223:   for ac_arg
                   2224:   do
                   2225:     case $ac_arg in
                   2226:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2227:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2228:     | -silent | --silent | --silen | --sile | --sil)
                   2229:       continue ;;
1.150     moko     2230:     *\'*)
                   2231:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2232:     esac
                   2233:     case $ac_pass in
1.150     moko     2234:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2235:     2)
1.150     moko     2236:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2237:       if test $ac_must_keep_next = true; then
1.86      paf      2238:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2239:       else
1.86      paf      2240:        case $ac_arg in
                   2241:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2242:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2243:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2244:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2245:            case "$ac_configure_args0 " in
                   2246:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2247:            esac
                   2248:            ;;
                   2249:          -* ) ac_must_keep_next=true ;;
                   2250:        esac
1.62      paf      2251:       fi
1.150     moko     2252:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2253:       ;;
                   2254:     esac
                   2255:   done
                   2256: done
1.150     moko     2257: { ac_configure_args0=; unset ac_configure_args0;}
                   2258: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2259: 
                   2260: # When interrupted or exit'd, cleanup temporary files, and complete
                   2261: # config.log.  We remove comments because anyway the quotes in there
                   2262: # would cause problems or look ugly.
1.150     moko     2263: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2264: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2265: trap 'exit_status=$?
                   2266:   # Save into config.log some information that might help in debugging.
                   2267:   {
                   2268:     echo
                   2269: 
1.150     moko     2270:     $as_echo "## ---------------- ##
1.62      paf      2271: ## Cache variables. ##
1.150     moko     2272: ## ---------------- ##"
1.62      paf      2273:     echo
                   2274:     # The following way of writing the cache mishandles newlines in values,
1.150     moko     2275: (
                   2276:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2277:     eval ac_val=\$$ac_var
                   2278:     case $ac_val in #(
                   2279:     *${as_nl}*)
                   2280:       case $ac_var in #(
                   2281:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2282: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2283:       esac
                   2284:       case $ac_var in #(
                   2285:       _ | IFS | as_nl) ;; #(
                   2286:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2287:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2288:       esac ;;
                   2289:     esac
                   2290:   done
1.62      paf      2291:   (set) 2>&1 |
1.150     moko     2292:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2293:     *${as_nl}ac_space=\ *)
1.62      paf      2294:       sed -n \
1.150     moko     2295:        "s/'\''/'\''\\\\'\'''\''/g;
                   2296:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2297:       ;; #(
1.62      paf      2298:     *)
1.150     moko     2299:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2300:       ;;
1.150     moko     2301:     esac |
                   2302:     sort
                   2303: )
1.62      paf      2304:     echo
                   2305: 
1.150     moko     2306:     $as_echo "## ----------------- ##
1.62      paf      2307: ## Output variables. ##
1.150     moko     2308: ## ----------------- ##"
1.62      paf      2309:     echo
                   2310:     for ac_var in $ac_subst_vars
                   2311:     do
1.150     moko     2312:       eval ac_val=\$$ac_var
                   2313:       case $ac_val in
                   2314:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2315:       esac
                   2316:       $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2317:     done | sort
                   2318:     echo
                   2319: 
                   2320:     if test -n "$ac_subst_files"; then
1.150     moko     2321:       $as_echo "## ------------------- ##
                   2322: ## File substitutions. ##
                   2323: ## ------------------- ##"
1.62      paf      2324:       echo
                   2325:       for ac_var in $ac_subst_files
                   2326:       do
1.150     moko     2327:        eval ac_val=\$$ac_var
                   2328:        case $ac_val in
                   2329:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2330:        esac
                   2331:        $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2332:       done | sort
                   2333:       echo
                   2334:     fi
                   2335: 
                   2336:     if test -s confdefs.h; then
1.150     moko     2337:       $as_echo "## ----------- ##
1.62      paf      2338: ## confdefs.h. ##
1.150     moko     2339: ## ----------- ##"
1.62      paf      2340:       echo
1.150     moko     2341:       cat confdefs.h
1.62      paf      2342:       echo
                   2343:     fi
                   2344:     test "$ac_signal" != 0 &&
1.150     moko     2345:       $as_echo "$as_me: caught signal $ac_signal"
                   2346:     $as_echo "$as_me: exit $exit_status"
1.62      paf      2347:   } >&5
1.150     moko     2348:   rm -f core *.core core.conftest.* &&
                   2349:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2350:     exit $exit_status
1.150     moko     2351: ' 0
1.62      paf      2352: for ac_signal in 1 2 13 15; do
1.150     moko     2353:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2354: done
                   2355: ac_signal=0
                   2356: 
                   2357: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150     moko     2358: rm -f -r conftest* confdefs.h
                   2359: 
                   2360: $as_echo "/* confdefs.h */" > confdefs.h
1.62      paf      2361: 
                   2362: # Predefined preprocessor variables.
                   2363: 
                   2364: cat >>confdefs.h <<_ACEOF
                   2365: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2366: _ACEOF
                   2367: 
                   2368: cat >>confdefs.h <<_ACEOF
                   2369: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2370: _ACEOF
                   2371: 
                   2372: cat >>confdefs.h <<_ACEOF
                   2373: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2374: _ACEOF
                   2375: 
                   2376: cat >>confdefs.h <<_ACEOF
                   2377: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2378: _ACEOF
                   2379: 
1.150     moko     2380: cat >>confdefs.h <<_ACEOF
                   2381: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2382: _ACEOF
1.62      paf      2383: 
                   2384: cat >>confdefs.h <<_ACEOF
1.150     moko     2385: #define PACKAGE_URL "$PACKAGE_URL"
1.62      paf      2386: _ACEOF
                   2387: 
                   2388: 
                   2389: # Let the site file select an alternate cache file if it wants to.
1.150     moko     2390: # Prefer an explicitly selected file to automatically selected ones.
                   2391: ac_site_file1=NONE
                   2392: ac_site_file2=NONE
                   2393: if test -n "$CONFIG_SITE"; then
                   2394:   # We do not want a PATH search for config.site.
                   2395:   case $CONFIG_SITE in #((
                   2396:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2397:     */*) ac_site_file1=$CONFIG_SITE;;
                   2398:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2399:   esac
                   2400: elif test "x$prefix" != xNONE; then
                   2401:   ac_site_file1=$prefix/share/config.site
                   2402:   ac_site_file2=$prefix/etc/config.site
                   2403: else
                   2404:   ac_site_file1=$ac_default_prefix/share/config.site
                   2405:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2406: fi
                   2407: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2408: do
                   2409:   test "x$ac_site_file" = xNONE && continue
                   2410:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2411:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2412: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2413:     sed 's/^/| /' "$ac_site_file" >&5
1.150     moko     2414:     . "$ac_site_file" \
                   2415:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2416: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2417: as_fn_error $? "failed to load site script $ac_site_file
                   2418: See \`config.log' for more details" "$LINENO" 5; }
1.1       paf      2419:   fi
                   2420: done
                   2421: 
                   2422: if test -r "$cache_file"; then
1.150     moko     2423:   # Some versions of bash will fail to source /dev/null (special files
                   2424:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2425:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2426:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2427: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2428:     case $cache_file in
1.150     moko     2429:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2430:       *)                      . "./$cache_file";;
1.62      paf      2431:     esac
                   2432:   fi
1.1       paf      2433: else
1.150     moko     2434:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2435: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2436:   >$cache_file
                   2437: fi
                   2438: 
                   2439: # Check that the precious variables saved in the cache have kept the same
                   2440: # value.
                   2441: ac_cache_corrupted=false
1.150     moko     2442: for ac_var in $ac_precious_vars; do
1.62      paf      2443:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2444:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150     moko     2445:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2446:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      2447:   case $ac_old_set,$ac_new_set in
                   2448:     set,)
1.150     moko     2449:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2450: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.62      paf      2451:       ac_cache_corrupted=: ;;
                   2452:     ,set)
1.150     moko     2453:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2454: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.62      paf      2455:       ac_cache_corrupted=: ;;
                   2456:     ,);;
                   2457:     *)
                   2458:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150     moko     2459:        # differences in whitespace do not lead to failure.
                   2460:        ac_old_val_w=`echo x $ac_old_val`
                   2461:        ac_new_val_w=`echo x $ac_new_val`
                   2462:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2463:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2464: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2465:          ac_cache_corrupted=:
                   2466:        else
                   2467:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2468: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2469:          eval $ac_var=\$ac_old_val
                   2470:        fi
                   2471:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2472: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2473:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2474: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.62      paf      2475:       fi;;
                   2476:   esac
                   2477:   # Pass precious variables to config.status.
                   2478:   if test "$ac_new_set" = set; then
                   2479:     case $ac_new_val in
1.150     moko     2480:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2481:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2482:     esac
                   2483:     case " $ac_configure_args " in
                   2484:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150     moko     2485:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      2486:     esac
                   2487:   fi
                   2488: done
                   2489: if $ac_cache_corrupted; then
1.150     moko     2490:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2491: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2492:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2493: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2494:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2495: fi
                   2496: ## -------------------- ##
                   2497: ## Main body of script. ##
                   2498: ## -------------------- ##
1.1       paf      2499: 
                   2500: ac_ext=c
                   2501: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      2502: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2503: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2504: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2505: 
                   2506: 
                   2507: 
                   2508: 
                   2509: 
1.150     moko     2510: am__api_version='1.11'
1.62      paf      2511: 
1.1       paf      2512: ac_aux_dir=
1.150     moko     2513: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2514:   if test -f "$ac_dir/install-sh"; then
1.1       paf      2515:     ac_aux_dir=$ac_dir
                   2516:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2517:     break
1.150     moko     2518:   elif test -f "$ac_dir/install.sh"; then
1.1       paf      2519:     ac_aux_dir=$ac_dir
                   2520:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2521:     break
1.150     moko     2522:   elif test -f "$ac_dir/shtool"; then
1.62      paf      2523:     ac_aux_dir=$ac_dir
                   2524:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2525:     break
1.1       paf      2526:   fi
                   2527: done
                   2528: if test -z "$ac_aux_dir"; then
1.150     moko     2529:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2530: fi
                   2531: 
                   2532: # These three variables are undocumented and unsupported,
                   2533: # and are intended to be withdrawn in a future Autoconf release.
                   2534: # They can cause serious problems if a builder's source tree is in a directory
                   2535: # whose full name contains unusual characters.
                   2536: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2537: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2538: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2539: 
1.1       paf      2540: 
                   2541: # Find a good install program.  We prefer a C program (faster),
                   2542: # so one script is as good as another.  But avoid the broken or
                   2543: # incompatible versions:
                   2544: # SysV /etc/install, /usr/sbin/install
                   2545: # SunOS /usr/etc/install
                   2546: # IRIX /sbin/install
                   2547: # AIX /bin/install
1.62      paf      2548: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2549: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2550: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2551: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      2552: # OS/2's system install, which has a completely different semantic
1.1       paf      2553: # ./install, which can be erroneously created by make from ./install.sh.
1.150     moko     2554: # Reject install programs that cannot install multiple files.
                   2555: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2556: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       paf      2557: if test -z "$INSTALL"; then
1.150     moko     2558: if ${ac_cv_path_install+:} false; then :
                   2559:   $as_echo_n "(cached) " >&6
1.1       paf      2560: else
1.62      paf      2561:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2562: for as_dir in $PATH
                   2563: do
                   2564:   IFS=$as_save_IFS
                   2565:   test -z "$as_dir" && as_dir=.
1.150     moko     2566:     # Account for people who put trailing slashes in PATH elements.
                   2567: case $as_dir/ in #((
                   2568:   ./ | .// | /[cC]/* | \
1.62      paf      2569:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150     moko     2570:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      2571:   /usr/ucb/* ) ;;
                   2572:   *)
                   2573:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2574:     # Don't use installbsd from OSF since it installs stuff as root
                   2575:     # by default.
                   2576:     for ac_prog in ginstall scoinst install; do
                   2577:       for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     2578:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1.86      paf      2579:          if test $ac_prog = install &&
                   2580:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2581:            # AIX install.  It has an incompatible calling convention.
                   2582:            :
                   2583:          elif test $ac_prog = install &&
                   2584:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2585:            # program-specific install script used by HP pwplus--don't use.
                   2586:            :
                   2587:          else
1.150     moko     2588:            rm -rf conftest.one conftest.two conftest.dir
                   2589:            echo one > conftest.one
                   2590:            echo two > conftest.two
                   2591:            mkdir conftest.dir
                   2592:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2593:              test -s conftest.one && test -s conftest.two &&
                   2594:              test -s conftest.dir/conftest.one &&
                   2595:              test -s conftest.dir/conftest.two
                   2596:            then
                   2597:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2598:              break 3
                   2599:            fi
1.86      paf      2600:          fi
                   2601:        fi
1.1       paf      2602:       done
1.62      paf      2603:     done
                   2604:     ;;
                   2605: esac
                   2606: 
1.150     moko     2607:   done
                   2608: IFS=$as_save_IFS
                   2609: 
                   2610: rm -rf conftest.one conftest.two conftest.dir
1.1       paf      2611: 
                   2612: fi
                   2613:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      2614:     INSTALL=$ac_cv_path_install
1.1       paf      2615:   else
1.150     moko     2616:     # As a last resort, use the slow shell script.  Don't cache a
                   2617:     # value for INSTALL within a source directory, because that will
1.1       paf      2618:     # break other packages using the cache if that directory is
1.150     moko     2619:     # removed, or if the value is a relative name.
1.62      paf      2620:     INSTALL=$ac_install_sh
1.1       paf      2621:   fi
                   2622: fi
1.150     moko     2623: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2624: $as_echo "$INSTALL" >&6; }
1.1       paf      2625: 
                   2626: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2627: # It thinks the first close brace ends the variable substitution.
                   2628: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2629: 
1.62      paf      2630: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2631: 
                   2632: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2633: 
1.150     moko     2634: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2635: $as_echo_n "checking whether build environment is sane... " >&6; }
1.1       paf      2636: # Just in case
                   2637: sleep 1
1.62      paf      2638: echo timestamp > conftest.file
1.150     moko     2639: # Reject unsafe characters in $srcdir or the absolute working directory
                   2640: # name.  Accept space and tab only in the latter.
                   2641: am_lf='
                   2642: '
                   2643: case `pwd` in
                   2644:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2645:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2646: esac
                   2647: case $srcdir in
                   2648:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2649:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
                   2650: esac
                   2651: 
1.1       paf      2652: # Do `set' in a subshell so we don't clobber the current shell's
                   2653: # arguments.  Must try -L first in case configure is actually a
                   2654: # symlink; some systems play weird games with the mod time of symlinks
                   2655: # (eg FreeBSD returns the mod time of the symlink's containing
                   2656: # directory).
                   2657: if (
1.150     moko     2658:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1.1       paf      2659:    if test "$*" = "X"; then
                   2660:       # -L didn't work.
1.150     moko     2661:       set X `ls -t "$srcdir/configure" conftest.file`
1.1       paf      2662:    fi
1.62      paf      2663:    rm -f conftest.file
                   2664:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2665:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      2666: 
                   2667:       # If neither matched, then we have a broken ls.  This can happen
                   2668:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2669:       # broken ls alias from the environment.  This has actually
                   2670:       # happened.  Such a system could not be considered "sane".
1.150     moko     2671:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2672: alias in your environment" "$LINENO" 5
1.1       paf      2673:    fi
                   2674: 
1.62      paf      2675:    test "$2" = conftest.file
1.1       paf      2676:    )
                   2677: then
                   2678:    # Ok.
                   2679:    :
                   2680: else
1.150     moko     2681:    as_fn_error $? "newly created file is older than distributed files!
                   2682: Check your system clock" "$LINENO" 5
1.1       paf      2683: fi
1.150     moko     2684: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2685: $as_echo "yes" >&6; }
1.1       paf      2686: test "$program_prefix" != NONE &&
1.150     moko     2687:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      2688: # Use a double $ so make ignores it.
                   2689: test "$program_suffix" != NONE &&
1.150     moko     2690:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2691: # Double any \ or $.
1.62      paf      2692: # By default was `s,x,x', remove it if useless.
1.150     moko     2693: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2694: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.62      paf      2695: 
                   2696: # expand $ac_aux_dir to an absolute path
                   2697: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2698: 
1.150     moko     2699: if test x"${MISSING+set}" != xset; then
                   2700:   case $am_aux_dir in
                   2701:   *\ * | *\    *)
                   2702:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2703:   *)
                   2704:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2705:   esac
                   2706: fi
1.62      paf      2707: # Use eval to expand $SHELL
                   2708: if eval "$MISSING --run true"; then
                   2709:   am_missing_run="$MISSING --run "
                   2710: else
                   2711:   am_missing_run=
1.150     moko     2712:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2713: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.62      paf      2714: fi
                   2715: 
1.150     moko     2716: if test x"${install_sh}" != xset; then
                   2717:   case $am_aux_dir in
                   2718:   *\ * | *\    *)
                   2719:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2720:   *)
                   2721:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2722:   esac
1.86      paf      2723: fi
                   2724: 
1.150     moko     2725: # Installed binaries are usually stripped using `strip' when the user
                   2726: # run `make install-strip'.  However `strip' might not be the right
                   2727: # tool to use in cross-compilation environments, therefore Automake
                   2728: # will honor the `STRIP' environment variable to overrule this program.
                   2729: if test "$cross_compiling" != no; then
                   2730:   if test -n "$ac_tool_prefix"; then
                   2731:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2732: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2733: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2734: $as_echo_n "checking for $ac_word... " >&6; }
                   2735: if ${ac_cv_prog_STRIP+:} false; then :
                   2736:   $as_echo_n "(cached) " >&6
                   2737: else
                   2738:   if test -n "$STRIP"; then
                   2739:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2740: else
                   2741: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2742: for as_dir in $PATH
                   2743: do
                   2744:   IFS=$as_save_IFS
                   2745:   test -z "$as_dir" && as_dir=.
                   2746:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2747:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2748:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2749:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2750:     break 2
                   2751:   fi
                   2752: done
                   2753:   done
                   2754: IFS=$as_save_IFS
                   2755: 
                   2756: fi
                   2757: fi
                   2758: STRIP=$ac_cv_prog_STRIP
                   2759: if test -n "$STRIP"; then
                   2760:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2761: $as_echo "$STRIP" >&6; }
                   2762: else
                   2763:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2764: $as_echo "no" >&6; }
                   2765: fi
                   2766: 
                   2767: 
                   2768: fi
                   2769: if test -z "$ac_cv_prog_STRIP"; then
                   2770:   ac_ct_STRIP=$STRIP
                   2771:   # Extract the first word of "strip", so it can be a program name with args.
                   2772: set dummy strip; ac_word=$2
                   2773: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2774: $as_echo_n "checking for $ac_word... " >&6; }
                   2775: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2776:   $as_echo_n "(cached) " >&6
                   2777: else
                   2778:   if test -n "$ac_ct_STRIP"; then
                   2779:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2780: else
                   2781: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2782: for as_dir in $PATH
                   2783: do
                   2784:   IFS=$as_save_IFS
                   2785:   test -z "$as_dir" && as_dir=.
                   2786:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2787:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2788:     ac_cv_prog_ac_ct_STRIP="strip"
                   2789:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2790:     break 2
                   2791:   fi
                   2792: done
                   2793:   done
                   2794: IFS=$as_save_IFS
                   2795: 
                   2796: fi
                   2797: fi
                   2798: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2799: if test -n "$ac_ct_STRIP"; then
                   2800:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2801: $as_echo "$ac_ct_STRIP" >&6; }
                   2802: else
                   2803:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2804: $as_echo "no" >&6; }
                   2805: fi
                   2806: 
                   2807:   if test "x$ac_ct_STRIP" = x; then
                   2808:     STRIP=":"
                   2809:   else
                   2810:     case $cross_compiling:$ac_tool_warned in
                   2811: yes:)
                   2812: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2813: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2814: ac_tool_warned=yes ;;
                   2815: esac
                   2816:     STRIP=$ac_ct_STRIP
                   2817:   fi
                   2818: else
                   2819:   STRIP="$ac_cv_prog_STRIP"
                   2820: fi
                   2821: 
                   2822: fi
                   2823: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2824: 
                   2825: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2826: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2827: if test -z "$MKDIR_P"; then
                   2828:   if ${ac_cv_path_mkdir+:} false; then :
                   2829:   $as_echo_n "(cached) " >&6
                   2830: else
                   2831:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2832: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2833: do
                   2834:   IFS=$as_save_IFS
                   2835:   test -z "$as_dir" && as_dir=.
                   2836:     for ac_prog in mkdir gmkdir; do
                   2837:         for ac_exec_ext in '' $ac_executable_extensions; do
                   2838:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
                   2839:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2840:             'mkdir (GNU coreutils) '* | \
                   2841:             'mkdir (coreutils) '* | \
                   2842:             'mkdir (fileutils) '4.1*)
                   2843:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2844:               break 3;;
                   2845:           esac
                   2846:         done
                   2847:        done
                   2848:   done
                   2849: IFS=$as_save_IFS
                   2850: 
                   2851: fi
                   2852: 
                   2853:   test -d ./--version && rmdir ./--version
                   2854:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2855:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2856:   else
                   2857:     # As a last resort, use the slow shell script.  Don't cache a
                   2858:     # value for MKDIR_P within a source directory, because that will
                   2859:     # break other packages using the cache if that directory is
                   2860:     # removed, or if the value is a relative name.
                   2861:     MKDIR_P="$ac_install_sh -d"
                   2862:   fi
                   2863: fi
                   2864: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2865: $as_echo "$MKDIR_P" >&6; }
                   2866: 
                   2867: mkdir_p="$MKDIR_P"
                   2868: case $mkdir_p in
                   2869:   [\\/$]* | ?:[\\/]*) ;;
                   2870:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   2871: esac
                   2872: 
                   2873: for ac_prog in gawk mawk nawk awk
1.62      paf      2874: do
                   2875:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2876: set dummy $ac_prog; ac_word=$2
1.150     moko     2877: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2878: $as_echo_n "checking for $ac_word... " >&6; }
                   2879: if ${ac_cv_prog_AWK+:} false; then :
                   2880:   $as_echo_n "(cached) " >&6
1.62      paf      2881: else
                   2882:   if test -n "$AWK"; then
                   2883:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2884: else
                   2885: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2886: for as_dir in $PATH
                   2887: do
                   2888:   IFS=$as_save_IFS
                   2889:   test -z "$as_dir" && as_dir=.
1.150     moko     2890:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2891:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      2892:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     2893:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      2894:     break 2
                   2895:   fi
                   2896: done
1.150     moko     2897:   done
                   2898: IFS=$as_save_IFS
1.62      paf      2899: 
                   2900: fi
                   2901: fi
                   2902: AWK=$ac_cv_prog_AWK
                   2903: if test -n "$AWK"; then
1.150     moko     2904:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2905: $as_echo "$AWK" >&6; }
1.62      paf      2906: else
1.150     moko     2907:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2908: $as_echo "no" >&6; }
1.62      paf      2909: fi
1.1       paf      2910: 
1.150     moko     2911: 
1.62      paf      2912:   test -n "$AWK" && break
                   2913: done
1.1       paf      2914: 
1.150     moko     2915: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2916: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2917: set x ${MAKE-make}
                   2918: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   2919: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   2920:   $as_echo_n "(cached) " >&6
1.1       paf      2921: else
1.62      paf      2922:   cat >conftest.make <<\_ACEOF
1.150     moko     2923: SHELL = /bin/sh
1.1       paf      2924: all:
1.150     moko     2925:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      2926: _ACEOF
1.150     moko     2927: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2928: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2929:   *@@@%%%=?*=@@@%%%*)
                   2930:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2931:   *)
                   2932:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2933: esac
1.62      paf      2934: rm -f conftest.make
1.1       paf      2935: fi
1.150     moko     2936: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2937:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2938: $as_echo "yes" >&6; }
1.1       paf      2939:   SET_MAKE=
                   2940: else
1.150     moko     2941:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2942: $as_echo "no" >&6; }
1.1       paf      2943:   SET_MAKE="MAKE=${MAKE-make}"
                   2944: fi
                   2945: 
1.86      paf      2946: rm -rf .tst 2>/dev/null
                   2947: mkdir .tst 2>/dev/null
                   2948: if test -d .tst; then
                   2949:   am__leading_dot=.
                   2950: else
                   2951:   am__leading_dot=_
                   2952: fi
                   2953: rmdir .tst 2>/dev/null
                   2954: 
1.150     moko     2955: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2956:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2957:   # is not polluted with repeated "-I."
                   2958:   am__isrc=' -I$(srcdir)'
                   2959:   # test to see if srcdir already configured
                   2960:   if test -f $srcdir/config.status; then
                   2961:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   2962:   fi
1.62      paf      2963: fi
                   2964: 
                   2965: # test whether we have cygpath
                   2966: if test -z "$CYGPATH_W"; then
                   2967:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2968:     CYGPATH_W='cygpath -w'
                   2969:   else
                   2970:     CYGPATH_W=echo
                   2971:   fi
                   2972: fi
                   2973: 
                   2974: 
                   2975: # Define the identity of the package.
1.128     moko     2976:  PACKAGE='parser'
1.152   ! moko     2977:  VERSION='3.4.2 RC'
1.128     moko     2978: 
                   2979: 
                   2980: cat >>confdefs.h <<_ACEOF
                   2981: #define PACKAGE "$PACKAGE"
                   2982: _ACEOF
1.1       paf      2983: 
                   2984: 
1.128     moko     2985: cat >>confdefs.h <<_ACEOF
                   2986: #define VERSION "$VERSION"
                   2987: _ACEOF
                   2988: 
1.62      paf      2989: # Some tools Automake needs.
                   2990: 
                   2991: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2992: 
                   2993: 
                   2994: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2995: 
                   2996: 
                   2997: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2998: 
                   2999: 
                   3000: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3001: 
                   3002: 
                   3003: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      3004: 
1.62      paf      3005: # We need awk for the "check" target.  The system "awk" is bad on
                   3006: # some platforms.
1.86      paf      3007: # Always define AMTAR for backward compatibility.
                   3008: 
                   3009: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   3010: 
                   3011: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   3012: 
                   3013: 
1.62      paf      3014: 
1.1       paf      3015: 
                   3016: 
                   3017: 
1.128     moko     3018: 
1.12      paf      3019: P3S=`cd $srcdir/src ; pwd`
1.1       paf      3020: 
                   3021: 
1.128     moko     3022: 
1.41      paf      3023: # Make sure we can run config.sub.
1.150     moko     3024: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3025:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.62      paf      3026: 
1.150     moko     3027: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3028: $as_echo_n "checking build system type... " >&6; }
                   3029: if ${ac_cv_build+:} false; then :
                   3030:   $as_echo_n "(cached) " >&6
                   3031: else
                   3032:   ac_build_alias=$build_alias
                   3033: test "x$ac_build_alias" = x &&
                   3034:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3035: test "x$ac_build_alias" = x &&
                   3036:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   3037: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3038:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   3039: 
                   3040: fi
                   3041: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3042: $as_echo "$ac_cv_build" >&6; }
                   3043: case $ac_cv_build in
                   3044: *-*-*) ;;
                   3045: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3046: esac
                   3047: build=$ac_cv_build
                   3048: ac_save_IFS=$IFS; IFS='-'
                   3049: set x $ac_cv_build
                   3050: shift
                   3051: build_cpu=$1
                   3052: build_vendor=$2
                   3053: shift; shift
                   3054: # Remember, the first character of IFS is used to create $*,
                   3055: # except with old shells:
                   3056: build_os=$*
                   3057: IFS=$ac_save_IFS
                   3058: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3059: 
                   3060: 
                   3061: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3062: $as_echo_n "checking host system type... " >&6; }
                   3063: if ${ac_cv_host+:} false; then :
                   3064:   $as_echo_n "(cached) " >&6
                   3065: else
                   3066:   if test "x$host_alias" = x; then
                   3067:   ac_cv_host=$ac_cv_build
                   3068: else
                   3069:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3070:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.62      paf      3071: fi
                   3072: 
                   3073: fi
1.150     moko     3074: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3075: $as_echo "$ac_cv_host" >&6; }
                   3076: case $ac_cv_host in
                   3077: *-*-*) ;;
                   3078: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3079: esac
1.62      paf      3080: host=$ac_cv_host
1.150     moko     3081: ac_save_IFS=$IFS; IFS='-'
                   3082: set x $ac_cv_host
                   3083: shift
                   3084: host_cpu=$1
                   3085: host_vendor=$2
                   3086: shift; shift
                   3087: # Remember, the first character of IFS is used to create $*,
                   3088: # except with old shells:
                   3089: host_os=$*
                   3090: IFS=$ac_save_IFS
                   3091: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      3092: 
                   3093: 
                   3094: 
1.148     moko     3095: cat >>confdefs.h <<_ACEOF
                   3096: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     3097: _ACEOF
                   3098: 
                   3099: 
1.41      paf      3100: 
1.67      paf      3101: case $host_os in
                   3102:   *cygwin* )
1.150     moko     3103: $as_echo "#define CYGWIN /**/" >>confdefs.h
1.67      paf      3104: ;;
                   3105: esac
1.41      paf      3106: 
1.128     moko     3107: 
1.1       paf      3108: 
1.62      paf      3109: for ac_prog in gawk mawk nawk awk
1.41      paf      3110: do
1.62      paf      3111:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3112: set dummy $ac_prog; ac_word=$2
1.150     moko     3113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3114: $as_echo_n "checking for $ac_word... " >&6; }
                   3115: if ${ac_cv_prog_AWK+:} false; then :
                   3116:   $as_echo_n "(cached) " >&6
1.41      paf      3117: else
                   3118:   if test -n "$AWK"; then
                   3119:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3120: else
1.62      paf      3121: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3122: for as_dir in $PATH
                   3123: do
                   3124:   IFS=$as_save_IFS
                   3125:   test -z "$as_dir" && as_dir=.
1.150     moko     3126:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3127:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      3128:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3129:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3130:     break 2
                   3131:   fi
                   3132: done
1.150     moko     3133:   done
                   3134: IFS=$as_save_IFS
1.62      paf      3135: 
1.41      paf      3136: fi
                   3137: fi
1.62      paf      3138: AWK=$ac_cv_prog_AWK
1.41      paf      3139: if test -n "$AWK"; then
1.150     moko     3140:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3141: $as_echo "$AWK" >&6; }
1.41      paf      3142: else
1.150     moko     3143:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3144: $as_echo "no" >&6; }
1.41      paf      3145: fi
                   3146: 
1.150     moko     3147: 
1.62      paf      3148:   test -n "$AWK" && break
1.41      paf      3149: done
                   3150: 
                   3151: 
                   3152: for ac_prog in 'bison -y' byacc
                   3153: do
1.62      paf      3154:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3155: set dummy $ac_prog; ac_word=$2
1.150     moko     3156: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3157: $as_echo_n "checking for $ac_word... " >&6; }
                   3158: if ${ac_cv_prog_YACC+:} false; then :
                   3159:   $as_echo_n "(cached) " >&6
1.41      paf      3160: else
                   3161:   if test -n "$YACC"; then
                   3162:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3163: else
1.62      paf      3164: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3165: for as_dir in $PATH
                   3166: do
                   3167:   IFS=$as_save_IFS
                   3168:   test -z "$as_dir" && as_dir=.
1.150     moko     3169:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3170:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      3171:     ac_cv_prog_YACC="$ac_prog"
1.150     moko     3172:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3173:     break 2
                   3174:   fi
                   3175: done
1.150     moko     3176:   done
                   3177: IFS=$as_save_IFS
1.62      paf      3178: 
1.41      paf      3179: fi
                   3180: fi
1.62      paf      3181: YACC=$ac_cv_prog_YACC
1.41      paf      3182: if test -n "$YACC"; then
1.150     moko     3183:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   3184: $as_echo "$YACC" >&6; }
1.41      paf      3185: else
1.150     moko     3186:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3187: $as_echo "no" >&6; }
1.41      paf      3188: fi
                   3189: 
1.150     moko     3190: 
1.62      paf      3191:   test -n "$YACC" && break
1.41      paf      3192: done
                   3193: test -n "$YACC" || YACC="yacc"
                   3194: 
                   3195: if test "$YACC" != "bison -y"; then
1.150     moko     3196:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   3197: $as_echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      3198: else
1.150     moko     3199:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
                   3200: $as_echo_n "checking bison version... " >&6; }
1.67      paf      3201:        oldIFS=$IFS; IFS=.
                   3202:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   3203:        IFS=$oldIFS
                   3204:        if test "$1" = "1" -a "$2" -lt "25"; then
1.150     moko     3205:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   3206: $as_echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      3207:        fi
1.150     moko     3208:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
                   3209: $as_echo "$1.$2 (ok)" >&6; }
1.62      paf      3210: fi
                   3211: 
1.150     moko     3212: ac_ext=cpp
1.66      paf      3213: ac_cpp='$CXXCPP $CPPFLAGS'
                   3214: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3215: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3216: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     3217: if test -z "$CXX"; then
                   3218:   if test -n "$CCC"; then
                   3219:     CXX=$CCC
                   3220:   else
                   3221:     if test -n "$ac_tool_prefix"; then
                   3222:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3223:   do
                   3224:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3225: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     3226: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3227: $as_echo_n "checking for $ac_word... " >&6; }
                   3228: if ${ac_cv_prog_CXX+:} false; then :
                   3229:   $as_echo_n "(cached) " >&6
1.62      paf      3230: else
1.66      paf      3231:   if test -n "$CXX"; then
                   3232:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      3233: else
                   3234: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3235: for as_dir in $PATH
                   3236: do
                   3237:   IFS=$as_save_IFS
                   3238:   test -z "$as_dir" && as_dir=.
1.150     moko     3239:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3240:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3241:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.150     moko     3242:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3243:     break 2
                   3244:   fi
                   3245: done
1.150     moko     3246:   done
                   3247: IFS=$as_save_IFS
1.62      paf      3248: 
                   3249: fi
                   3250: fi
1.66      paf      3251: CXX=$ac_cv_prog_CXX
                   3252: if test -n "$CXX"; then
1.150     moko     3253:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3254: $as_echo "$CXX" >&6; }
1.62      paf      3255: else
1.150     moko     3256:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3257: $as_echo "no" >&6; }
1.41      paf      3258: fi
                   3259: 
1.150     moko     3260: 
1.66      paf      3261:     test -n "$CXX" && break
                   3262:   done
1.62      paf      3263: fi
1.66      paf      3264: if test -z "$CXX"; then
                   3265:   ac_ct_CXX=$CXX
1.150     moko     3266:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3267: do
                   3268:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3269: set dummy $ac_prog; ac_word=$2
1.150     moko     3270: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3271: $as_echo_n "checking for $ac_word... " >&6; }
                   3272: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3273:   $as_echo_n "(cached) " >&6
1.62      paf      3274: else
1.66      paf      3275:   if test -n "$ac_ct_CXX"; then
                   3276:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      3277: else
                   3278: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3279: for as_dir in $PATH
                   3280: do
                   3281:   IFS=$as_save_IFS
                   3282:   test -z "$as_dir" && as_dir=.
1.150     moko     3283:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3284:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3285:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.150     moko     3286:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3287:     break 2
                   3288:   fi
                   3289: done
1.150     moko     3290:   done
                   3291: IFS=$as_save_IFS
1.62      paf      3292: 
                   3293: fi
                   3294: fi
1.66      paf      3295: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3296: if test -n "$ac_ct_CXX"; then
1.150     moko     3297:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3298: $as_echo "$ac_ct_CXX" >&6; }
1.62      paf      3299: else
1.150     moko     3300:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3301: $as_echo "no" >&6; }
1.62      paf      3302: fi
                   3303: 
1.150     moko     3304: 
1.66      paf      3305:   test -n "$ac_ct_CXX" && break
                   3306: done
                   3307: 
1.150     moko     3308:   if test "x$ac_ct_CXX" = x; then
                   3309:     CXX="g++"
                   3310:   else
                   3311:     case $cross_compiling:$ac_tool_warned in
                   3312: yes:)
                   3313: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3314: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3315: ac_tool_warned=yes ;;
                   3316: esac
                   3317:     CXX=$ac_ct_CXX
                   3318:   fi
1.62      paf      3319: fi
                   3320: 
1.150     moko     3321:   fi
                   3322: fi
1.66      paf      3323: # Provide some information about the compiler.
1.150     moko     3324: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3325: set X $ac_compile
                   3326: ac_compiler=$2
                   3327: for ac_option in --version -v -V -qversion; do
                   3328:   { { ac_try="$ac_compiler $ac_option >&5"
                   3329: case "(($ac_try" in
                   3330:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3331:   *) ac_try_echo=$ac_try;;
                   3332: esac
                   3333: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3334: $as_echo "$ac_try_echo"; } >&5
                   3335:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      3336:   ac_status=$?
1.150     moko     3337:   if test -s conftest.err; then
                   3338:     sed '10a\
                   3339: ... rest of stderr output deleted ...
                   3340:          10q' conftest.err >conftest.er1
                   3341:     cat conftest.er1 >&5
                   3342:   fi
                   3343:   rm -f conftest.er1 conftest.err
                   3344:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3345:   test $ac_status = 0; }
                   3346: done
1.66      paf      3347: 
1.150     moko     3348: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3349: /* end confdefs.h.  */
                   3350: 
                   3351: int
                   3352: main ()
                   3353: {
                   3354: 
                   3355:   ;
                   3356:   return 0;
                   3357: }
                   3358: _ACEOF
                   3359: ac_clean_files_save=$ac_clean_files
1.150     moko     3360: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      3361: # Try to create an executable without -o first, disregard a.out.
                   3362: # It will help us diagnose broken compilers, and finding out an intuition
                   3363: # of exeext.
1.150     moko     3364: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3365: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3366: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3367: 
                   3368: # The possible output files:
                   3369: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3370: 
                   3371: ac_rmfiles=
                   3372: for ac_file in $ac_files
                   3373: do
                   3374:   case $ac_file in
                   3375:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3376:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3377:   esac
                   3378: done
                   3379: rm -f $ac_rmfiles
                   3380: 
                   3381: if { { ac_try="$ac_link_default"
                   3382: case "(($ac_try" in
                   3383:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3384:   *) ac_try_echo=$ac_try;;
                   3385: esac
                   3386: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3387: $as_echo "$ac_try_echo"; } >&5
                   3388:   (eval "$ac_link_default") 2>&5
                   3389:   ac_status=$?
                   3390:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3391:   test $ac_status = 0; }; then :
                   3392:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3393: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3394: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3395: # so that the user can short-circuit this test for compilers unknown to
                   3396: # Autoconf.
                   3397: for ac_file in $ac_files ''
1.62      paf      3398: do
1.66      paf      3399:   test -f "$ac_file" || continue
                   3400:   case $ac_file in
1.150     moko     3401:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      3402:        ;;
1.66      paf      3403:     [ab].out )
1.86      paf      3404:        # We found the default executable, but exeext='' is most
                   3405:        # certainly right.
                   3406:        break;;
1.66      paf      3407:     *.* )
1.150     moko     3408:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3409:        then :; else
                   3410:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3411:        fi
                   3412:        # We set ac_cv_exeext here because the later test for it is not
                   3413:        # safe: cross compilers may not add the suffix if given an `-o'
                   3414:        # argument, so we may need to know it at that point already.
                   3415:        # Even if this section looks crufty: it has the advantage of
                   3416:        # actually working.
1.86      paf      3417:        break;;
1.66      paf      3418:     * )
1.86      paf      3419:        break;;
1.66      paf      3420:   esac
1.62      paf      3421: done
1.150     moko     3422: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3423: 
1.66      paf      3424: else
1.150     moko     3425:   ac_file=''
                   3426: fi
                   3427: if test -z "$ac_file"; then :
                   3428:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3429: $as_echo "no" >&6; }
                   3430: $as_echo "$as_me: failed program was:" >&5
1.66      paf      3431: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3432: 
1.150     moko     3433: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3434: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3435: as_fn_error 77 "C++ compiler cannot create executables
                   3436: See \`config.log' for more details" "$LINENO" 5; }
                   3437: else
                   3438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3439: $as_echo "yes" >&6; }
1.1       paf      3440: fi
1.150     moko     3441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3442: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3443: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3444: $as_echo "$ac_file" >&6; }
1.66      paf      3445: ac_exeext=$ac_cv_exeext
1.62      paf      3446: 
1.150     moko     3447: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      3448: ac_clean_files=$ac_clean_files_save
1.150     moko     3449: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3450: $as_echo_n "checking for suffix of executables... " >&6; }
                   3451: if { { ac_try="$ac_link"
                   3452: case "(($ac_try" in
                   3453:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3454:   *) ac_try_echo=$ac_try;;
                   3455: esac
                   3456: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3457: $as_echo "$ac_try_echo"; } >&5
                   3458:   (eval "$ac_link") 2>&5
1.62      paf      3459:   ac_status=$?
1.150     moko     3460:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3461:   test $ac_status = 0; }; then :
1.62      paf      3462:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3463: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3464: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3465: # `rm'.
                   3466: for ac_file in conftest.exe conftest conftest.*; do
                   3467:   test -f "$ac_file" || continue
                   3468:   case $ac_file in
1.150     moko     3469:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      3470:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      3471:          break;;
1.62      paf      3472:     * ) break;;
                   3473:   esac
                   3474: done
                   3475: else
1.150     moko     3476:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3477: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3478: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3479: See \`config.log' for more details" "$LINENO" 5; }
                   3480: fi
                   3481: rm -f conftest conftest$ac_cv_exeext
                   3482: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3483: $as_echo "$ac_cv_exeext" >&6; }
1.62      paf      3484: 
                   3485: rm -f conftest.$ac_ext
                   3486: EXEEXT=$ac_cv_exeext
                   3487: ac_exeext=$EXEEXT
1.150     moko     3488: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3489: /* end confdefs.h.  */
                   3490: #include <stdio.h>
                   3491: int
                   3492: main ()
                   3493: {
                   3494: FILE *f = fopen ("conftest.out", "w");
                   3495:  return ferror (f) || fclose (f) != 0;
                   3496: 
                   3497:   ;
                   3498:   return 0;
                   3499: }
                   3500: _ACEOF
                   3501: ac_clean_files="$ac_clean_files conftest.out"
                   3502: # Check that the compiler produces executables we can run.  If not, either
                   3503: # the compiler is broken, or we cross compile.
                   3504: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3505: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3506: if test "$cross_compiling" != yes; then
                   3507:   { { ac_try="$ac_link"
                   3508: case "(($ac_try" in
                   3509:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3510:   *) ac_try_echo=$ac_try;;
                   3511: esac
                   3512: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3513: $as_echo "$ac_try_echo"; } >&5
                   3514:   (eval "$ac_link") 2>&5
                   3515:   ac_status=$?
                   3516:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3517:   test $ac_status = 0; }
                   3518:   if { ac_try='./conftest$ac_cv_exeext'
                   3519:   { { case "(($ac_try" in
                   3520:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3521:   *) ac_try_echo=$ac_try;;
                   3522: esac
                   3523: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3524: $as_echo "$ac_try_echo"; } >&5
                   3525:   (eval "$ac_try") 2>&5
                   3526:   ac_status=$?
                   3527:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3528:   test $ac_status = 0; }; }; then
                   3529:     cross_compiling=no
                   3530:   else
                   3531:     if test "$cross_compiling" = maybe; then
                   3532:        cross_compiling=yes
                   3533:     else
                   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 $? "cannot run C++ compiled programs.
                   3537: If you meant to cross compile, use \`--host'.
                   3538: See \`config.log' for more details" "$LINENO" 5; }
                   3539:     fi
                   3540:   fi
                   3541: fi
                   3542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3543: $as_echo "$cross_compiling" >&6; }
                   3544: 
                   3545: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3546: ac_clean_files=$ac_clean_files_save
                   3547: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3548: $as_echo_n "checking for suffix of object files... " >&6; }
                   3549: if ${ac_cv_objext+:} false; then :
                   3550:   $as_echo_n "(cached) " >&6
1.62      paf      3551: else
1.150     moko     3552:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3553: /* end confdefs.h.  */
                   3554: 
                   3555: int
                   3556: main ()
                   3557: {
                   3558: 
                   3559:   ;
                   3560:   return 0;
                   3561: }
                   3562: _ACEOF
                   3563: rm -f conftest.o conftest.obj
1.150     moko     3564: if { { ac_try="$ac_compile"
                   3565: case "(($ac_try" in
                   3566:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3567:   *) ac_try_echo=$ac_try;;
                   3568: esac
                   3569: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3570: $as_echo "$ac_try_echo"; } >&5
                   3571:   (eval "$ac_compile") 2>&5
                   3572:   ac_status=$?
                   3573:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3574:   test $ac_status = 0; }; then :
                   3575:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3576:   test -f "$ac_file" || continue;
1.62      paf      3577:   case $ac_file in
1.150     moko     3578:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      3579:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3580:        break;;
                   3581:   esac
                   3582: done
                   3583: else
1.150     moko     3584:   $as_echo "$as_me: failed program was:" >&5
1.62      paf      3585: sed 's/^/| /' conftest.$ac_ext >&5
                   3586: 
1.150     moko     3587: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3588: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3589: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3590: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      3591: fi
                   3592: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3593: fi
1.150     moko     3594: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3595: $as_echo "$ac_cv_objext" >&6; }
1.66      paf      3596: OBJEXT=$ac_cv_objext
                   3597: ac_objext=$OBJEXT
1.150     moko     3598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3599: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3600: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3601:   $as_echo_n "(cached) " >&6
1.62      paf      3602: else
1.150     moko     3603:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3604: /* end confdefs.h.  */
1.66      paf      3605: 
1.62      paf      3606: int
                   3607: main ()
                   3608: {
1.66      paf      3609: #ifndef __GNUC__
                   3610:        choke me
                   3611: #endif
                   3612: 
1.62      paf      3613:   ;
                   3614:   return 0;
                   3615: }
                   3616: _ACEOF
1.150     moko     3617: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3618:   ac_compiler_gnu=yes
1.62      paf      3619: else
1.150     moko     3620:   ac_compiler_gnu=no
1.1       paf      3621: fi
1.150     moko     3622: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3623: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      3624: 
                   3625: fi
1.150     moko     3626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3627: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3628: if test $ac_compiler_gnu = yes; then
                   3629:   GXX=yes
                   3630: else
                   3631:   GXX=
                   3632: fi
1.66      paf      3633: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3634: ac_save_CXXFLAGS=$CXXFLAGS
1.150     moko     3635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3636: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3637: if ${ac_cv_prog_cxx_g+:} false; then :
                   3638:   $as_echo_n "(cached) " >&6
                   3639: else
                   3640:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3641:    ac_cxx_werror_flag=yes
                   3642:    ac_cv_prog_cxx_g=no
                   3643:    CXXFLAGS="-g"
                   3644:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3645: /* end confdefs.h.  */
1.1       paf      3646: 
1.66      paf      3647: int
                   3648: main ()
                   3649: {
1.1       paf      3650: 
1.66      paf      3651:   ;
                   3652:   return 0;
                   3653: }
1.62      paf      3654: _ACEOF
1.150     moko     3655: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3656:   ac_cv_prog_cxx_g=yes
                   3657: else
1.150     moko     3658:   CXXFLAGS=""
                   3659:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3660: /* end confdefs.h.  */
1.66      paf      3661: 
1.62      paf      3662: int
                   3663: main ()
                   3664: {
1.150     moko     3665: 
1.62      paf      3666:   ;
                   3667:   return 0;
                   3668: }
                   3669: _ACEOF
1.150     moko     3670: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3671: 
1.1       paf      3672: else
1.150     moko     3673:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3674:         CXXFLAGS="-g"
                   3675:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3676: /* end confdefs.h.  */
1.62      paf      3677: 
                   3678: int
                   3679: main ()
                   3680: {
1.150     moko     3681: 
1.62      paf      3682:   ;
                   3683:   return 0;
                   3684: }
                   3685: _ACEOF
1.150     moko     3686: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3687:   ac_cv_prog_cxx_g=yes
                   3688: fi
                   3689: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3690: fi
                   3691: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3692: fi
                   3693: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3694:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3695: fi
                   3696: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3697: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3698: if test "$ac_test_CXXFLAGS" = set; then
                   3699:   CXXFLAGS=$ac_save_CXXFLAGS
                   3700: elif test $ac_cv_prog_cxx_g = yes; then
                   3701:   if test "$GXX" = yes; then
                   3702:     CXXFLAGS="-g -O2"
                   3703:   else
                   3704:     CXXFLAGS="-g"
                   3705:   fi
1.1       paf      3706: else
1.150     moko     3707:   if test "$GXX" = yes; then
                   3708:     CXXFLAGS="-O2"
                   3709:   else
                   3710:     CXXFLAGS=
                   3711:   fi
1.1       paf      3712: fi
1.62      paf      3713: ac_ext=c
                   3714: ac_cpp='$CPP $CPPFLAGS'
                   3715: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3716: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3717: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      3718: DEPDIR="${am__leading_dot}deps"
1.62      paf      3719: 
1.150     moko     3720: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      3721: 
                   3722: 
                   3723: am_make=${MAKE-make}
                   3724: cat > confinc << 'END'
1.86      paf      3725: am__doit:
1.150     moko     3726:        @echo this is the am__doit target
1.86      paf      3727: .PHONY: am__doit
1.62      paf      3728: END
                   3729: # If we don't find an include directive, just comment out the code.
1.150     moko     3730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3731: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.62      paf      3732: am__include="#"
                   3733: am__quote=
                   3734: _am_result=none
                   3735: # First try GNU make style include.
                   3736: echo "include confinc" > confmf
1.150     moko     3737: # Ignore all kinds of additional output from `make'.
                   3738: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3739: *the\ am__doit\ target*)
                   3740:   am__include=include
                   3741:   am__quote=
                   3742:   _am_result=GNU
                   3743:   ;;
                   3744: esac
1.62      paf      3745: # Now try BSD make style include.
                   3746: if test "$am__include" = "#"; then
                   3747:    echo '.include "confinc"' > confmf
1.150     moko     3748:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3749:    *the\ am__doit\ target*)
                   3750:      am__include=.include
                   3751:      am__quote="\""
                   3752:      _am_result=BSD
                   3753:      ;;
                   3754:    esac
1.62      paf      3755: fi
                   3756: 
                   3757: 
1.150     moko     3758: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3759: $as_echo "$_am_result" >&6; }
1.62      paf      3760: rm -f confinc confmf
                   3761: 
1.150     moko     3762: # Check whether --enable-dependency-tracking was given.
                   3763: if test "${enable_dependency_tracking+set}" = set; then :
                   3764:   enableval=$enable_dependency_tracking;
                   3765: fi
1.62      paf      3766: 
                   3767: if test "x$enable_dependency_tracking" != xno; then
                   3768:   am_depcomp="$ac_aux_dir/depcomp"
                   3769:   AMDEPBACKSLASH='\'
1.1       paf      3770: fi
1.150     moko     3771:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      3772:   AMDEP_TRUE=
                   3773:   AMDEP_FALSE='#'
                   3774: else
                   3775:   AMDEP_TRUE='#'
                   3776:   AMDEP_FALSE=
                   3777: fi
1.1       paf      3778: 
                   3779: 
                   3780: 
1.66      paf      3781: depcc="$CXX"  am_compiler_list=
1.1       paf      3782: 
1.150     moko     3783: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3784: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3785: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   3786:   $as_echo_n "(cached) " >&6
1.62      paf      3787: else
                   3788:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3789:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3790:   # making bogus files that we don't know about and never remove.  For
                   3791:   # instance it was reported that on HP-UX the gcc test will end up
                   3792:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3793:   # in D'.
                   3794:   mkdir conftest.dir
                   3795:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3796:   # using a relative directory.
                   3797:   cp "$am_depcomp" conftest.dir
                   3798:   cd conftest.dir
1.86      paf      3799:   # We will build objects and dependencies in a subdirectory because
                   3800:   # it helps to detect inapplicable dependency modes.  For instance
                   3801:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3802:   # side effect of compilation, but ICC will put the dependencies in
                   3803:   # the current directory while Tru64 will put them in the object
                   3804:   # directory.
                   3805:   mkdir sub
1.1       paf      3806: 
1.66      paf      3807:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      3808:   if test "$am_compiler_list" = ""; then
                   3809:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      3810:   fi
1.150     moko     3811:   am__universal=false
                   3812:   case " $depcc " in #(
                   3813:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3814:      esac
                   3815: 
1.62      paf      3816:   for depmode in $am_compiler_list; do
1.86      paf      3817:     # Setup a source with many dependencies, because some compilers
                   3818:     # like to wrap large dependency lists on column 80 (with \), and
                   3819:     # we should not choose a depcomp mode which is confused by this.
                   3820:     #
1.62      paf      3821:     # We need to recreate these files for each test, as the compiler may
                   3822:     # overwrite some of them when testing with obscure command lines.
                   3823:     # This happens at least with the AIX C compiler.
1.86      paf      3824:     : > sub/conftest.c
                   3825:     for i in 1 2 3 4 5 6; do
                   3826:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3827:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3828:       # Solaris 8's {/usr,}/bin/sh.
                   3829:       touch sub/conftst$i.h
                   3830:     done
                   3831:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      3832: 
1.150     moko     3833:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3834:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3835:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3836:     # versions had trouble with output in subdirs
                   3837:     am__obj=sub/conftest.${OBJEXT-o}
                   3838:     am__minus_obj="-o $am__obj"
1.62      paf      3839:     case $depmode in
1.150     moko     3840:     gcc)
                   3841:       # This depmode causes a compiler race in universal mode.
                   3842:       test "$am__universal" = false || continue
                   3843:       ;;
1.62      paf      3844:     nosideeffect)
                   3845:       # after this tag, mechanisms are not by side-effect, so they'll
                   3846:       # only be used when explicitly requested
                   3847:       if test "x$enable_dependency_tracking" = xyes; then
                   3848:        continue
                   3849:       else
                   3850:        break
                   3851:       fi
                   3852:       ;;
1.150     moko     3853:     msvisualcpp | msvcmsys)
                   3854:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3855:       # not run yet.  These depmodes are late enough in the game, and
                   3856:       # so weak that their functioning should not be impacted.
                   3857:       am__obj=conftest.${OBJEXT-o}
                   3858:       am__minus_obj=
                   3859:       ;;
1.62      paf      3860:     none) break ;;
                   3861:     esac
                   3862:     if depmode=$depmode \
1.150     moko     3863:        source=sub/conftest.c object=$am__obj \
1.86      paf      3864:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     3865:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      3866:          >/dev/null 2>conftest.err &&
1.150     moko     3867:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      3868:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     3869:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      3870:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      3871:       # icc doesn't choke on unknown options, it will just issue warnings
                   3872:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3873:       # that says an option was ignored or not supported.
                   3874:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3875:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3876:       # The diagnosis changed in icc 8.0:
                   3877:       #   icc: Command line remark: option '-MP' not supported
                   3878:       if (grep 'ignoring option' conftest.err ||
                   3879:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3880:         am_cv_CXX_dependencies_compiler_type=$depmode
                   3881:         break
                   3882:       fi
1.66      paf      3883:     fi
                   3884:   done
                   3885: 
                   3886:   cd ..
                   3887:   rm -rf conftest.dir
                   3888: else
                   3889:   am_cv_CXX_dependencies_compiler_type=none
                   3890: fi
                   3891: 
                   3892: fi
1.150     moko     3893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   3894: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      3895: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   3896: 
1.150     moko     3897:  if
1.66      paf      3898:   test "x$enable_dependency_tracking" != xno \
                   3899:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   3900:   am__fastdepCXX_TRUE=
                   3901:   am__fastdepCXX_FALSE='#'
                   3902: else
                   3903:   am__fastdepCXX_TRUE='#'
                   3904:   am__fastdepCXX_FALSE=
                   3905: fi
                   3906: 
                   3907: 
                   3908: ac_ext=c
                   3909: ac_cpp='$CPP $CPPFLAGS'
                   3910: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3911: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3912: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3913: if test -n "$ac_tool_prefix"; then
                   3914:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3915: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.150     moko     3916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3917: $as_echo_n "checking for $ac_word... " >&6; }
                   3918: if ${ac_cv_prog_CC+:} false; then :
                   3919:   $as_echo_n "(cached) " >&6
1.66      paf      3920: else
                   3921:   if test -n "$CC"; then
                   3922:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3923: else
                   3924: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3925: for as_dir in $PATH
                   3926: do
                   3927:   IFS=$as_save_IFS
                   3928:   test -z "$as_dir" && as_dir=.
1.150     moko     3929:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3930:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3931:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.150     moko     3932:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      3933:     break 2
                   3934:   fi
                   3935: done
1.150     moko     3936:   done
                   3937: IFS=$as_save_IFS
1.66      paf      3938: 
                   3939: fi
                   3940: fi
                   3941: CC=$ac_cv_prog_CC
                   3942: if test -n "$CC"; then
1.150     moko     3943:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3944: $as_echo "$CC" >&6; }
1.66      paf      3945: else
1.150     moko     3946:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3947: $as_echo "no" >&6; }
1.66      paf      3948: fi
                   3949: 
1.150     moko     3950: 
1.66      paf      3951: fi
                   3952: if test -z "$ac_cv_prog_CC"; then
                   3953:   ac_ct_CC=$CC
                   3954:   # Extract the first word of "gcc", so it can be a program name with args.
                   3955: set dummy gcc; ac_word=$2
1.150     moko     3956: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3957: $as_echo_n "checking for $ac_word... " >&6; }
                   3958: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3959:   $as_echo_n "(cached) " >&6
1.66      paf      3960: else
                   3961:   if test -n "$ac_ct_CC"; then
                   3962:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3963: else
                   3964: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3965: for as_dir in $PATH
                   3966: do
                   3967:   IFS=$as_save_IFS
                   3968:   test -z "$as_dir" && as_dir=.
1.150     moko     3969:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3970:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3971:     ac_cv_prog_ac_ct_CC="gcc"
1.150     moko     3972:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      3973:     break 2
                   3974:   fi
                   3975: done
1.150     moko     3976:   done
                   3977: IFS=$as_save_IFS
1.66      paf      3978: 
                   3979: fi
                   3980: fi
                   3981: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3982: if test -n "$ac_ct_CC"; then
1.150     moko     3983:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3984: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      3985: else
1.150     moko     3986:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3987: $as_echo "no" >&6; }
1.62      paf      3988: fi
                   3989: 
1.150     moko     3990:   if test "x$ac_ct_CC" = x; then
                   3991:     CC=""
                   3992:   else
                   3993:     case $cross_compiling:$ac_tool_warned in
                   3994: yes:)
                   3995: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3996: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3997: ac_tool_warned=yes ;;
                   3998: esac
                   3999:     CC=$ac_ct_CC
                   4000:   fi
1.66      paf      4001: else
                   4002:   CC="$ac_cv_prog_CC"
1.1       paf      4003: fi
1.62      paf      4004: 
1.66      paf      4005: if test -z "$CC"; then
1.150     moko     4006:           if test -n "$ac_tool_prefix"; then
                   4007:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      4008: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.150     moko     4009: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4010: $as_echo_n "checking for $ac_word... " >&6; }
                   4011: if ${ac_cv_prog_CC+:} false; then :
                   4012:   $as_echo_n "(cached) " >&6
1.66      paf      4013: else
                   4014:   if test -n "$CC"; then
                   4015:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4016: else
                   4017: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4018: for as_dir in $PATH
                   4019: do
                   4020:   IFS=$as_save_IFS
                   4021:   test -z "$as_dir" && as_dir=.
1.150     moko     4022:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4023:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4024:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.150     moko     4025:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4026:     break 2
                   4027:   fi
                   4028: done
1.150     moko     4029:   done
                   4030: IFS=$as_save_IFS
1.62      paf      4031: 
1.66      paf      4032: fi
                   4033: fi
                   4034: CC=$ac_cv_prog_CC
                   4035: if test -n "$CC"; then
1.150     moko     4036:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4037: $as_echo "$CC" >&6; }
1.62      paf      4038: else
1.150     moko     4039:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4040: $as_echo "no" >&6; }
1.1       paf      4041: fi
                   4042: 
1.150     moko     4043: 
1.66      paf      4044:   fi
1.1       paf      4045: fi
1.66      paf      4046: if test -z "$CC"; then
                   4047:   # Extract the first word of "cc", so it can be a program name with args.
                   4048: set dummy cc; ac_word=$2
1.150     moko     4049: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4050: $as_echo_n "checking for $ac_word... " >&6; }
                   4051: if ${ac_cv_prog_CC+:} false; then :
                   4052:   $as_echo_n "(cached) " >&6
1.66      paf      4053: else
                   4054:   if test -n "$CC"; then
                   4055:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4056: else
                   4057:   ac_prog_rejected=no
                   4058: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4059: for as_dir in $PATH
                   4060: do
                   4061:   IFS=$as_save_IFS
                   4062:   test -z "$as_dir" && as_dir=.
1.150     moko     4063:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4064:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4065:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4066:        ac_prog_rejected=yes
                   4067:        continue
                   4068:      fi
                   4069:     ac_cv_prog_CC="cc"
1.150     moko     4070:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4071:     break 2
                   4072:   fi
                   4073: done
1.150     moko     4074:   done
                   4075: IFS=$as_save_IFS
1.62      paf      4076: 
1.66      paf      4077: if test $ac_prog_rejected = yes; then
                   4078:   # We found a bogon in the path, so make sure we never use it.
                   4079:   set dummy $ac_cv_prog_CC
                   4080:   shift
                   4081:   if test $# != 0; then
                   4082:     # We chose a different compiler from the bogus one.
                   4083:     # However, it has the same basename, so the bogon will be chosen
                   4084:     # first if we set CC to just the basename; use the full file name.
                   4085:     shift
                   4086:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4087:   fi
                   4088: fi
                   4089: fi
                   4090: fi
                   4091: CC=$ac_cv_prog_CC
                   4092: if test -n "$CC"; then
1.150     moko     4093:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4094: $as_echo "$CC" >&6; }
1.66      paf      4095: else
1.150     moko     4096:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4097: $as_echo "no" >&6; }
1.1       paf      4098: fi
                   4099: 
1.150     moko     4100: 
1.66      paf      4101: fi
                   4102: if test -z "$CC"; then
                   4103:   if test -n "$ac_tool_prefix"; then
1.150     moko     4104:   for ac_prog in cl.exe
1.62      paf      4105:   do
                   4106:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4107: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     4108: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4109: $as_echo_n "checking for $ac_word... " >&6; }
                   4110: if ${ac_cv_prog_CC+:} false; then :
                   4111:   $as_echo_n "(cached) " >&6
1.62      paf      4112: else
1.66      paf      4113:   if test -n "$CC"; then
                   4114:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      4115: else
                   4116: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4117: for as_dir in $PATH
                   4118: do
                   4119:   IFS=$as_save_IFS
                   4120:   test -z "$as_dir" && as_dir=.
1.150     moko     4121:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4122:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4123:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.150     moko     4124:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4125:     break 2
                   4126:   fi
                   4127: done
1.150     moko     4128:   done
                   4129: IFS=$as_save_IFS
1.1       paf      4130: 
1.62      paf      4131: fi
                   4132: fi
1.66      paf      4133: CC=$ac_cv_prog_CC
                   4134: if test -n "$CC"; then
1.150     moko     4135:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4136: $as_echo "$CC" >&6; }
1.1       paf      4137: else
1.150     moko     4138:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4139: $as_echo "no" >&6; }
1.1       paf      4140: fi
                   4141: 
1.150     moko     4142: 
1.66      paf      4143:     test -n "$CC" && break
1.62      paf      4144:   done
                   4145: fi
1.66      paf      4146: if test -z "$CC"; then
                   4147:   ac_ct_CC=$CC
1.150     moko     4148:   for ac_prog in cl.exe
1.62      paf      4149: do
                   4150:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4151: set dummy $ac_prog; ac_word=$2
1.150     moko     4152: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4153: $as_echo_n "checking for $ac_word... " >&6; }
                   4154: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4155:   $as_echo_n "(cached) " >&6
1.62      paf      4156: else
1.66      paf      4157:   if test -n "$ac_ct_CC"; then
                   4158:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      4159: else
1.62      paf      4160: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4161: for as_dir in $PATH
                   4162: do
                   4163:   IFS=$as_save_IFS
                   4164:   test -z "$as_dir" && as_dir=.
1.150     moko     4165:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4166:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4167:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.150     moko     4168:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4169:     break 2
                   4170:   fi
                   4171: done
1.150     moko     4172:   done
                   4173: IFS=$as_save_IFS
1.62      paf      4174: 
                   4175: fi
                   4176: fi
1.66      paf      4177: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4178: if test -n "$ac_ct_CC"; then
1.150     moko     4179:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4180: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4181: else
1.150     moko     4182:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4183: $as_echo "no" >&6; }
1.1       paf      4184: fi
                   4185: 
1.150     moko     4186: 
1.66      paf      4187:   test -n "$ac_ct_CC" && break
                   4188: done
                   4189: 
1.150     moko     4190:   if test "x$ac_ct_CC" = x; then
                   4191:     CC=""
                   4192:   else
                   4193:     case $cross_compiling:$ac_tool_warned in
                   4194: yes:)
                   4195: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4196: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4197: ac_tool_warned=yes ;;
                   4198: esac
                   4199:     CC=$ac_ct_CC
                   4200:   fi
1.66      paf      4201: fi
                   4202: 
                   4203: fi
1.62      paf      4204: 
1.1       paf      4205: 
1.150     moko     4206: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4207: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4208: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4209: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      4210: 
                   4211: # Provide some information about the compiler.
1.150     moko     4212: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4213: set X $ac_compile
                   4214: ac_compiler=$2
                   4215: for ac_option in --version -v -V -qversion; do
                   4216:   { { ac_try="$ac_compiler $ac_option >&5"
                   4217: case "(($ac_try" in
                   4218:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4219:   *) ac_try_echo=$ac_try;;
                   4220: esac
                   4221: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4222: $as_echo "$ac_try_echo"; } >&5
                   4223:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      4224:   ac_status=$?
1.150     moko     4225:   if test -s conftest.err; then
                   4226:     sed '10a\
                   4227: ... rest of stderr output deleted ...
                   4228:          10q' conftest.err >conftest.er1
                   4229:     cat conftest.er1 >&5
                   4230:   fi
                   4231:   rm -f conftest.er1 conftest.err
                   4232:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4233:   test $ac_status = 0; }
                   4234: done
                   4235: 
                   4236: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4237: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4238: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4239:   $as_echo_n "(cached) " >&6
1.62      paf      4240: else
1.150     moko     4241:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4242: /* end confdefs.h.  */
                   4243: 
                   4244: int
                   4245: main ()
                   4246: {
                   4247: #ifndef __GNUC__
                   4248:        choke me
                   4249: #endif
                   4250: 
                   4251:   ;
                   4252:   return 0;
                   4253: }
                   4254: _ACEOF
1.150     moko     4255: if ac_fn_c_try_compile "$LINENO"; then :
1.62      paf      4256:   ac_compiler_gnu=yes
                   4257: else
1.150     moko     4258:   ac_compiler_gnu=no
1.62      paf      4259: fi
1.150     moko     4260: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      4261: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      4262: 
                   4263: fi
1.150     moko     4264: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4265: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4266: if test $ac_compiler_gnu = yes; then
                   4267:   GCC=yes
                   4268: else
                   4269:   GCC=
                   4270: fi
1.66      paf      4271: ac_test_CFLAGS=${CFLAGS+set}
                   4272: ac_save_CFLAGS=$CFLAGS
1.150     moko     4273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4274: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4275: if ${ac_cv_prog_cc_g+:} false; then :
                   4276:   $as_echo_n "(cached) " >&6
                   4277: else
                   4278:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4279:    ac_c_werror_flag=yes
                   4280:    ac_cv_prog_cc_g=no
                   4281:    CFLAGS="-g"
                   4282:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4283: /* end confdefs.h.  */
                   4284: 
                   4285: int
                   4286: main ()
                   4287: {
                   4288: 
                   4289:   ;
                   4290:   return 0;
                   4291: }
                   4292: _ACEOF
1.150     moko     4293: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      4294:   ac_cv_prog_cc_g=yes
1.62      paf      4295: else
1.150     moko     4296:   CFLAGS=""
                   4297:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4298: /* end confdefs.h.  */
                   4299: 
                   4300: int
                   4301: main ()
                   4302: {
1.62      paf      4303: 
1.150     moko     4304:   ;
                   4305:   return 0;
                   4306: }
                   4307: _ACEOF
                   4308: if ac_fn_c_try_compile "$LINENO"; then :
                   4309: 
                   4310: else
                   4311:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4312:         CFLAGS="-g"
                   4313:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4314: /* end confdefs.h.  */
                   4315: 
                   4316: int
                   4317: main ()
                   4318: {
                   4319: 
                   4320:   ;
                   4321:   return 0;
                   4322: }
                   4323: _ACEOF
                   4324: if ac_fn_c_try_compile "$LINENO"; then :
                   4325:   ac_cv_prog_cc_g=yes
                   4326: fi
                   4327: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4328: fi
1.150     moko     4329: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4330: fi
1.150     moko     4331: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4332:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4333: fi
                   4334: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4335: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.66      paf      4336: if test "$ac_test_CFLAGS" = set; then
                   4337:   CFLAGS=$ac_save_CFLAGS
                   4338: elif test $ac_cv_prog_cc_g = yes; then
                   4339:   if test "$GCC" = yes; then
                   4340:     CFLAGS="-g -O2"
1.1       paf      4341:   else
1.66      paf      4342:     CFLAGS="-g"
1.1       paf      4343:   fi
                   4344: else
1.66      paf      4345:   if test "$GCC" = yes; then
                   4346:     CFLAGS="-O2"
1.1       paf      4347:   else
1.66      paf      4348:     CFLAGS=
1.1       paf      4349:   fi
                   4350: fi
1.150     moko     4351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4352: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4353: if ${ac_cv_prog_cc_c89+:} false; then :
                   4354:   $as_echo_n "(cached) " >&6
1.66      paf      4355: else
1.150     moko     4356:   ac_cv_prog_cc_c89=no
1.66      paf      4357: ac_save_CC=$CC
1.150     moko     4358: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4359: /* end confdefs.h.  */
                   4360: #include <stdarg.h>
                   4361: #include <stdio.h>
                   4362: #include <sys/types.h>
                   4363: #include <sys/stat.h>
                   4364: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4365: struct buf { int x; };
                   4366: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4367: static char *e (p, i)
                   4368:      char **p;
                   4369:      int i;
                   4370: {
                   4371:   return p[i];
                   4372: }
                   4373: static char *f (char * (*g) (char **, int), char **p, ...)
                   4374: {
                   4375:   char *s;
                   4376:   va_list v;
                   4377:   va_start (v,p);
                   4378:   s = g (p, va_arg (v,int));
                   4379:   va_end (v);
                   4380:   return s;
                   4381: }
1.86      paf      4382: 
                   4383: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4384:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4385:    These don't provoke an error unfortunately, instead are silently treated
1.150     moko     4386:    as 'x'.  The following induces an error, until -std is added to get
1.86      paf      4387:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4388:    array size at least.  It's necessary to write '\x00'==0 to get something
1.150     moko     4389:    that's true only with -std.  */
1.86      paf      4390: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4391: 
1.150     moko     4392: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4393:    inside strings and character constants.  */
                   4394: #define FOO(x) 'x'
                   4395: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4396: 
1.66      paf      4397: int test (int i, double x);
                   4398: struct s1 {int (*f) (int a);};
                   4399: struct s2 {int (*f) (double a);};
                   4400: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4401: int argc;
                   4402: char **argv;
                   4403: int
                   4404: main ()
                   4405: {
                   4406: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4407:   ;
                   4408:   return 0;
                   4409: }
                   4410: _ACEOF
1.150     moko     4411: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4412:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      4413: do
                   4414:   CC="$ac_save_CC $ac_arg"
1.150     moko     4415:   if ac_fn_c_try_compile "$LINENO"; then :
                   4416:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      4417: fi
1.150     moko     4418: rm -f core conftest.err conftest.$ac_objext
                   4419:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      4420: done
1.150     moko     4421: rm -f conftest.$ac_ext
1.66      paf      4422: CC=$ac_save_CC
                   4423: 
                   4424: fi
1.150     moko     4425: # AC_CACHE_VAL
                   4426: case "x$ac_cv_prog_cc_c89" in
                   4427:   x)
                   4428:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4429: $as_echo "none needed" >&6; } ;;
                   4430:   xno)
                   4431:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4432: $as_echo "unsupported" >&6; } ;;
1.66      paf      4433:   *)
1.150     moko     4434:     CC="$CC $ac_cv_prog_cc_c89"
                   4435:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4436: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.66      paf      4437: esac
1.150     moko     4438: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.62      paf      4439: 
                   4440: fi
1.66      paf      4441: 
1.62      paf      4442: ac_ext=c
                   4443: ac_cpp='$CPP $CPPFLAGS'
                   4444: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4445: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4446: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4447: 
1.66      paf      4448: depcc="$CC"   am_compiler_list=
1.62      paf      4449: 
1.150     moko     4450: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4451: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4452: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4453:   $as_echo_n "(cached) " >&6
1.62      paf      4454: else
                   4455:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4456:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4457:   # making bogus files that we don't know about and never remove.  For
                   4458:   # instance it was reported that on HP-UX the gcc test will end up
                   4459:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4460:   # in D'.
                   4461:   mkdir conftest.dir
                   4462:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4463:   # using a relative directory.
                   4464:   cp "$am_depcomp" conftest.dir
                   4465:   cd conftest.dir
1.86      paf      4466:   # We will build objects and dependencies in a subdirectory because
                   4467:   # it helps to detect inapplicable dependency modes.  For instance
                   4468:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4469:   # side effect of compilation, but ICC will put the dependencies in
                   4470:   # the current directory while Tru64 will put them in the object
                   4471:   # directory.
                   4472:   mkdir sub
1.62      paf      4473: 
1.66      paf      4474:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      4475:   if test "$am_compiler_list" = ""; then
                   4476:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4477:   fi
1.150     moko     4478:   am__universal=false
                   4479:   case " $depcc " in #(
                   4480:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4481:      esac
                   4482: 
1.62      paf      4483:   for depmode in $am_compiler_list; do
1.86      paf      4484:     # Setup a source with many dependencies, because some compilers
                   4485:     # like to wrap large dependency lists on column 80 (with \), and
                   4486:     # we should not choose a depcomp mode which is confused by this.
                   4487:     #
1.62      paf      4488:     # We need to recreate these files for each test, as the compiler may
                   4489:     # overwrite some of them when testing with obscure command lines.
                   4490:     # This happens at least with the AIX C compiler.
1.86      paf      4491:     : > sub/conftest.c
                   4492:     for i in 1 2 3 4 5 6; do
                   4493:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4494:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4495:       # Solaris 8's {/usr,}/bin/sh.
                   4496:       touch sub/conftst$i.h
                   4497:     done
                   4498:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4499: 
1.150     moko     4500:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4501:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4502:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4503:     # versions had trouble with output in subdirs
                   4504:     am__obj=sub/conftest.${OBJEXT-o}
                   4505:     am__minus_obj="-o $am__obj"
1.62      paf      4506:     case $depmode in
1.150     moko     4507:     gcc)
                   4508:       # This depmode causes a compiler race in universal mode.
                   4509:       test "$am__universal" = false || continue
                   4510:       ;;
1.62      paf      4511:     nosideeffect)
                   4512:       # after this tag, mechanisms are not by side-effect, so they'll
                   4513:       # only be used when explicitly requested
                   4514:       if test "x$enable_dependency_tracking" = xyes; then
                   4515:        continue
                   4516:       else
                   4517:        break
                   4518:       fi
                   4519:       ;;
1.150     moko     4520:     msvisualcpp | msvcmsys)
                   4521:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4522:       # not run yet.  These depmodes are late enough in the game, and
                   4523:       # so weak that their functioning should not be impacted.
                   4524:       am__obj=conftest.${OBJEXT-o}
                   4525:       am__minus_obj=
                   4526:       ;;
1.62      paf      4527:     none) break ;;
                   4528:     esac
1.66      paf      4529:     if depmode=$depmode \
1.150     moko     4530:        source=sub/conftest.c object=$am__obj \
1.86      paf      4531:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4532:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4533:          >/dev/null 2>conftest.err &&
1.150     moko     4534:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4535:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4536:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      4537:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4538:       # icc doesn't choke on unknown options, it will just issue warnings
                   4539:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4540:       # that says an option was ignored or not supported.
                   4541:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4542:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4543:       # The diagnosis changed in icc 8.0:
                   4544:       #   icc: Command line remark: option '-MP' not supported
                   4545:       if (grep 'ignoring option' conftest.err ||
                   4546:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4547:         am_cv_CC_dependencies_compiler_type=$depmode
                   4548:         break
                   4549:       fi
1.66      paf      4550:     fi
                   4551:   done
                   4552: 
                   4553:   cd ..
                   4554:   rm -rf conftest.dir
                   4555: else
                   4556:   am_cv_CC_dependencies_compiler_type=none
                   4557: fi
                   4558: 
                   4559: fi
1.150     moko     4560: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4561: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      4562: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4563: 
1.150     moko     4564:  if
1.66      paf      4565:   test "x$enable_dependency_tracking" != xno \
                   4566:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4567:   am__fastdepCC_TRUE=
                   4568:   am__fastdepCC_FALSE='#'
                   4569: else
                   4570:   am__fastdepCC_TRUE='#'
                   4571:   am__fastdepCC_FALSE=
                   4572: fi
                   4573: 
                   4574: 
1.128     moko     4575: 
1.66      paf      4576: ac_ext=c
                   4577: ac_cpp='$CPP $CPPFLAGS'
                   4578: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4579: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4580: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4581: 
1.67      paf      4582: 
1.62      paf      4583: 
1.150     moko     4584: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
                   4585: $as_echo_n "checking for dynamic-link library extension... " >&6; }
1.128     moko     4586: case "$host_os" in
                   4587: cygwin)
                   4588:        dll_extension=dll
                   4589:        ;;
                   4590: *)
                   4591:        dll_extension=so
1.66      paf      4592: esac
1.150     moko     4593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
                   4594: $as_echo "$dll_extension" >&6; }
1.1       paf      4595: 
1.71      paf      4596: 
                   4597: 
                   4598: 
1.150     moko     4599: # Check whether --with-build-warnings was given.
                   4600: if test "${with_build_warnings+set}" = set; then :
                   4601:   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   4602: $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
1.71      paf      4603:        CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
                   4604: 
1.150     moko     4605: fi
                   4606: 
1.1       paf      4607: 
                   4608: 
1.150     moko     4609: # Check whether --with-assertions was given.
                   4610: if test "${with_assertions+set}" = set; then :
                   4611:   withval=$with_assertions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   4612: $as_echo "$as_me: WARNING: enabling assertions" >&2;}
1.67      paf      4613: 
                   4614: else
                   4615: 
1.150     moko     4616: $as_echo "#define NDEBUG /**/" >>confdefs.h
                   4617: 
1.67      paf      4618: 
1.150     moko     4619: fi
1.67      paf      4620: 
                   4621: 
1.94      misha    4622: 
1.150     moko     4623: # Check whether --with-pathlink was given.
                   4624: if test "${with_pathlink+set}" = set; then :
                   4625:   withval=$with_pathlink; LD_PATHLINK=$withval
1.128     moko     4626: 
1.150     moko     4627: fi
1.128     moko     4628: 
                   4629: 
                   4630: 
1.150     moko     4631: # Check whether --with-sjlj-exceptions was given.
                   4632: if test "${with_sjlj_exceptions+set}" = set; then :
                   4633:   withval=$with_sjlj_exceptions;
                   4634: $as_echo "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     4635: 
                   4636: 
1.150     moko     4637: fi
1.128     moko     4638: 
                   4639: 
1.62      paf      4640: 
1.150     moko     4641: # Check whether --enable-safe-mode was given.
                   4642: if test "${enable_safe_mode+set}" = set; then :
                   4643:   enableval=$enable_safe_mode;
1.67      paf      4644:        SAFE_MODE=$enableval
1.60      paf      4645: 
1.1       paf      4646: 
1.150     moko     4647: fi
                   4648: 
1.128     moko     4649: 
1.60      paf      4650: if test "$SAFE_MODE" = "no"; then
1.150     moko     4651:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   4652: $as_echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      4653: else
1.62      paf      4654: 
1.150     moko     4655: $as_echo "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      4656: 
                   4657: fi
                   4658: 
1.94      misha    4659: 
1.150     moko     4660: # Check whether --enable-execs was given.
                   4661: if test "${enable_execs+set}" = set; then :
                   4662:   enableval=$enable_execs;
1.13      paf      4663: if test "$enableval" = "no"; then
1.150     moko     4664:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   4665: $as_echo "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      4666: 
1.150     moko     4667: $as_echo "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      4668: 
                   4669: fi
                   4670: 
                   4671: 
1.150     moko     4672: fi
1.13      paf      4673: 
1.60      paf      4674: 
1.94      misha    4675: 
1.150     moko     4676: # Check whether --enable-stringstream was given.
                   4677: if test "${enable_stringstream+set}" = set; then :
                   4678:   enableval=$enable_stringstream;
1.94      misha    4679: if test "$enableval" = "no"; then
1.150     moko     4680:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   4681: $as_echo "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    4682: 
1.150     moko     4683: $as_echo "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    4684: 
                   4685: fi
                   4686: 
                   4687: 
1.150     moko     4688: fi
1.94      misha    4689: 
                   4690: 
1.62      paf      4691: 
1.17      paf      4692: 
1.150     moko     4693: # Check whether --with-gc was given.
                   4694: if test "${with_gc+set}" = set; then :
                   4695:   withval=$with_gc;
1.17      paf      4696: 
1.142     moko     4697:        GC=$withval
                   4698:        GC_LIBS="$GC/libgc.la"
                   4699: 
                   4700:        if test -f $GC_LIBS; then
                   4701:                GC_OK="yes"
                   4702:        else
                   4703:                GC_LIBS="-L$GC -lgc"
                   4704:        fi
1.62      paf      4705: 
1.151     moko     4706:        if test "$GC" = "yes"; then
                   4707:                GC=""
                   4708:                GC_LIBS="-lgc"
                   4709:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   4710: $as_echo "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
                   4711:        fi
                   4712: 
1.142     moko     4713: else
1.17      paf      4714: 
1.142     moko     4715:        GC_LIBS="-lgc"
1.150     moko     4716:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   4717: $as_echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   4718: 
                   4719: fi
1.17      paf      4720: 
                   4721: 
1.142     moko     4722: if test -z "$GC_OK"; then
1.150     moko     4723:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   4724: $as_echo_n "checking for libgc... " >&6; }
1.138     moko     4725:        SAVE_LIBS=$LIBS
                   4726:        LIBS="$LIBS $GC_LIBS"
1.128     moko     4727: 
1.150     moko     4728: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      4729: /* end confdefs.h.  */
1.142     moko     4730:  extern int GC_dont_gc;
1.67      paf      4731: int
                   4732: main ()
                   4733: {
1.142     moko     4734:  GC_dont_gc=0;
1.67      paf      4735:   ;
                   4736:   return 0;
                   4737: }
                   4738: _ACEOF
1.150     moko     4739: if ac_fn_c_try_link "$LINENO"; then :
                   4740:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4741: $as_echo "yes" >&6; }
1.67      paf      4742: 
                   4743: else
1.150     moko     4744:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4745: $as_echo "no" >&6; }
1.142     moko     4746:                if test -z "$GC"; then
1.151     moko     4747:                        as_fn_error $? "please specify path to libgc: --with-gc=D" "$LINENO" 5
1.142     moko     4748:                else
1.150     moko     4749:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     4750:                fi
1.67      paf      4751: 
                   4752: fi
1.150     moko     4753: rm -f core conftest.err conftest.$ac_objext \
                   4754:     conftest$ac_exeext conftest.$ac_ext
1.138     moko     4755:        LIBS=$SAVE_LIBS
                   4756: fi
1.67      paf      4757: 
                   4758: 
1.1       paf      4759: 
1.15      paf      4760: 
1.142     moko     4761: 
1.150     moko     4762: # Check whether --with-pcre was given.
                   4763: if test "${with_pcre+set}" = set; then :
                   4764:   withval=$with_pcre;
1.100     misha    4765:        PCRE=$withval
1.142     moko     4766:        PCRE_INCLUDES="-I$PCRE/include"
                   4767:        PCRE_LIBS="$PCRE/lib/libpcre.la"
1.100     misha    4768: 
1.142     moko     4769:        if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then
                   4770:                PCRE_OK="yes"
                   4771:        else
                   4772:                PCRE_LIBS="-L$PCRE -lpcre"
1.100     misha    4773:        fi
                   4774: 
1.151     moko     4775:        if test "$PCRE" = "yes"; then
                   4776:                PCRE=""
                   4777:                PCRE_LIBS="-lpcre"
                   4778:                PCRE_INCLUDES=""
                   4779:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   4780: $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
                   4781:        fi
1.142     moko     4782: 
                   4783: else
                   4784: 
                   4785:        PCRE_LIBS="-lpcre"
1.149     moko     4786:        PCRE_INCLUDES=""
1.150     moko     4787:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   4788: $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   4789: 
                   4790: fi
1.100     misha    4791: 
                   4792: 
1.142     moko     4793: if test -z "$PCRE_OK"; then
1.150     moko     4794:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prce" >&5
                   4795: $as_echo_n "checking for prce... " >&6; }
1.142     moko     4796:        SAVE_LIBS=$LIBS
                   4797:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.150     moko     4798:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     4799: /* end confdefs.h.  */
                   4800:  #include <pcre.h>
                   4801: int
                   4802: main ()
                   4803: {
                   4804:  const char *v=pcre_version();
                   4805:   ;
                   4806:   return 0;
                   4807: }
                   4808: _ACEOF
1.150     moko     4809: if ac_fn_c_try_link "$LINENO"; then :
                   4810:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4811: $as_echo "yes" >&6; }
1.142     moko     4812: 
                   4813: else
1.150     moko     4814:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4815: $as_echo "no" >&6; }
1.142     moko     4816:                if test -z "$PCRE"; then
1.151     moko     4817:                        as_fn_error $? "please specify path to PCRE: --with-pcre=D" "$LINENO" 5
1.142     moko     4818:                else
1.150     moko     4819:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     4820:                fi
                   4821: 
                   4822: fi
1.150     moko     4823: rm -f core conftest.err conftest.$ac_objext \
                   4824:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     4825:        LIBS=$SAVE_LIBS
                   4826: fi
1.100     misha    4827: 
                   4828: 
                   4829: 
                   4830: 
1.66      paf      4831: 
                   4832: 
1.150     moko     4833: # Check whether --with-xml was given.
                   4834: if test "${with_xml+set}" = set; then :
                   4835:   withval=$with_xml;
1.66      paf      4836: 
1.142     moko     4837:        XML=$withval
                   4838:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   4839: 
                   4840:        if test -z "$XML" -o "$XML" = "yes"; then
                   4841:                XML=""
                   4842:                XML_INCLUDES="-I/usr/include/libxml2"
1.150     moko     4843:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   4844: $as_echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     4845:        else
                   4846:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.67      paf      4847: 
1.142     moko     4848:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   4849:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   4850:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   4851:                        XML_OK="yes"
                   4852:                fi
1.67      paf      4853:        fi
1.66      paf      4854: 
1.142     moko     4855:        if test -z "$XML_OK"; then
1.150     moko     4856:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   4857: $as_echo_n "checking for xml... " >&6; }
1.142     moko     4858:                SAVE_LIBS=$LIBS
                   4859:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.150     moko     4860:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     4861: /* end confdefs.h.  */
                   4862:  #include <libxslt/xslt.h>
                   4863: int
                   4864: main ()
                   4865: {
                   4866:  const char *v=xsltEngineVersion;
                   4867:   ;
                   4868:   return 0;
                   4869: }
                   4870: _ACEOF
1.150     moko     4871: if ac_fn_c_try_link "$LINENO"; then :
                   4872:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4873: $as_echo "yes" >&6; }
1.142     moko     4874: 
                   4875: else
1.150     moko     4876:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4877: $as_echo "no" >&6; }
1.142     moko     4878:                        if test -z "$XML"; then
1.151     moko     4879:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=D" "$LINENO" 5
1.142     moko     4880:                        else
1.150     moko     4881:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     4882:                        fi
                   4883: 
                   4884: fi
1.150     moko     4885: rm -f core conftest.err conftest.$ac_objext \
                   4886:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     4887:                LIBS=$SAVE_LIBS
1.67      paf      4888:        fi
1.66      paf      4889: 
1.150     moko     4890: $as_echo "#define XML /**/" >>confdefs.h
                   4891: 
1.66      paf      4892: 
1.150     moko     4893: fi
1.66      paf      4894: 
1.90      paf      4895: 
1.66      paf      4896: 
                   4897: 
                   4898: 
                   4899: 
1.150     moko     4900: # Check whether --with-glib-config was given.
                   4901: if test "${with_glib_config+set}" = set; then :
                   4902:   withval=$with_glib_config; GLIB_CONFIG=$withval
1.90      paf      4903: 
1.150     moko     4904: fi
1.66      paf      4905: 
                   4906: 
                   4907: 
1.150     moko     4908: # Check whether --with-shared-mailreceive was given.
                   4909: if test "${with_shared_mailreceive+set}" = set; then :
                   4910:   withval=$with_shared_mailreceive;
1.67      paf      4911:        GNOME_MIME=$withval
                   4912:        MIMEBIN="$GNOME_MIME/bin"
                   4913:        MIMEINC="$GNOME_MIME/include"
                   4914:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4915: 
1.67      paf      4916:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
1.150     moko     4917:                as_fn_error $? "$GNOME_MIME does not seem to be valid Gnome installation directory" "$LINENO" 5
1.67      paf      4918:        fi
1.66      paf      4919: 
                   4920: 
1.150     moko     4921: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      4922: 
                   4923: 
1.67      paf      4924:        LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
1.66      paf      4925: 
1.67      paf      4926:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4927:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4928:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4929:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4930:                        if test \! -x $GLIB_CONFIG; then
                   4931:                                GLIB_CONFIG=glib-config
                   4932:                        fi
1.67      paf      4933:                fi
                   4934:        fi
                   4935:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   4936:        GLIB_LIBS=`$GLIB_CONFIG --libs`
1.66      paf      4937: 
1.67      paf      4938:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   4939:        MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
                   4940:        if test \! -z "$LD_PATHLINK"; then
1.66      paf      4941:        MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
1.67      paf      4942:        fi
1.66      paf      4943: 
1.150     moko     4944: fi
1.66      paf      4945: 
                   4946: 
1.150     moko     4947: # Check whether --with-static-mailreceive was given.
                   4948: if test "${with_static_mailreceive+set}" = set; then :
                   4949:   withval=$with_static_mailreceive;
1.67      paf      4950:        GNOME_MIME=$withval
                   4951:        MIMEBIN="$GNOME_MIME/bin"
                   4952:        MIMEINC="$GNOME_MIME/include"
                   4953:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4954: 
1.67      paf      4955:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
1.150     moko     4956:                as_fn_error $? "$GNOME_MIME does not seem to be valid Gnome installation directory" "$LINENO" 5
1.67      paf      4957:        fi
1.66      paf      4958: 
                   4959: 
1.150     moko     4960: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      4961: 
                   4962: 
1.67      paf      4963:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4964:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4965:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4966:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4967:                        if test \! -x $GLIB_CONFIG; then
                   4968:                                GLIB_CONFIG=glib-config
                   4969:                        fi
1.67      paf      4970:                fi
                   4971:        fi
                   4972:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.66      paf      4973: 
1.67      paf      4974:        GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
                   4975:        GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
                   4976:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
1.138     moko     4977:        MIME_LIBS="$MIMELIB/libgmime.la $GLIB_DIR/lib$GLIB_NAME.la"
1.66      paf      4978: 
1.150     moko     4979: fi
1.66      paf      4980: 
                   4981: 
                   4982: 
                   4983: 
                   4984: 
                   4985: 
1.150     moko     4986: # Check whether --with-sendmail was given.
                   4987: if test "${with_sendmail+set}" = set; then :
                   4988:   withval=$with_sendmail;
1.66      paf      4989: cat >>confdefs.h <<_ACEOF
                   4990: #define PA_FORCED_SENDMAIL "$withval"
                   4991: _ACEOF
                   4992: 
                   4993: 
1.150     moko     4994: fi
1.66      paf      4995: 
                   4996: 
                   4997: 
1.122     moko     4998: 
1.150     moko     4999: # Check whether --with-apache was given.
                   5000: if test "${with_apache+set}" = set; then :
                   5001:   withval=$with_apache;
1.122     moko     5002:        APXS=$withval
                   5003: 
                   5004:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   5005:                APXS=`which apxs 2>/dev/null`
1.142     moko     5006:                if test -z "$APXS"; then
                   5007:                        APXS=`which apxs2 2>/dev/null`
                   5008:                fi
                   5009:        fi
1.122     moko     5010: 
                   5011:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   5012: 
                   5013:        if test -z "$APACHE"; then
1.150     moko     5014:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      5015:        fi
1.7       paf      5016: 
1.122     moko     5017:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   5018:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   5019:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   5020:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   5021: 
1.150     moko     5022: fi
1.7       paf      5023: 
                   5024: 
1.62      paf      5025: 
1.122     moko     5026: 
1.150     moko     5027:  if test -n "$APACHE"; then
1.122     moko     5028:   COMPILE_APACHE_MODULE_TRUE=
                   5029:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      5030: else
1.122     moko     5031:   COMPILE_APACHE_MODULE_TRUE='#'
                   5032:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      5033: fi
1.1       paf      5034: 
                   5035: 
                   5036: 
1.62      paf      5037: 
                   5038: 
1.7       paf      5039: 
1.1       paf      5040: 
                   5041: 
                   5042: 
1.62      paf      5043: 
1.128     moko     5044: case `pwd` in
                   5045:   *\ * | *\    *)
1.150     moko     5046:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5047: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5048: esac
                   5049: 
                   5050: 
                   5051: 
                   5052: macro_version='2.4.2'
                   5053: macro_revision='1.3337'
                   5054: 
                   5055: 
                   5056: 
                   5057: 
                   5058: 
                   5059: 
                   5060: 
                   5061: 
                   5062: 
                   5063: 
                   5064: 
                   5065: 
                   5066: 
                   5067: ltmain="$ac_aux_dir/ltmain.sh"
                   5068: 
                   5069: # Backslashify metacharacters that are still active within
                   5070: # double-quoted strings.
                   5071: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5072: 
1.128     moko     5073: # Same as above, but do not quote variable references.
                   5074: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5075: 
1.128     moko     5076: # Sed substitution to delay expansion of an escaped shell variable in a
                   5077: # double_quote_subst'ed string.
                   5078: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5079: 
1.128     moko     5080: # Sed substitution to delay expansion of an escaped single quote.
                   5081: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5082: 
1.128     moko     5083: # Sed substitution to avoid accidental globbing in evaled expressions
                   5084: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5085: 
1.128     moko     5086: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5087: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5088: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5089: 
1.150     moko     5090: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5091: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5092: # Test print first, because it will be a builtin if present.
                   5093: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5094:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5095:   ECHO='print -r --'
                   5096: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5097:   ECHO='printf %s\n'
                   5098: else
                   5099:   # Use this function as a fallback that always works.
                   5100:   func_fallback_echo ()
                   5101:   {
                   5102:     eval 'cat <<_LTECHO_EOF
                   5103: $1
                   5104: _LTECHO_EOF'
                   5105:   }
                   5106:   ECHO='func_fallback_echo'
                   5107: fi
1.86      paf      5108: 
1.128     moko     5109: # func_echo_all arg...
                   5110: # Invoke $ECHO with all args, space-separated.
                   5111: func_echo_all ()
1.66      paf      5112: {
1.128     moko     5113:     $ECHO ""
1.66      paf      5114: }
1.10      paf      5115: 
1.128     moko     5116: case "$ECHO" in
1.150     moko     5117:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5118: $as_echo "printf" >&6; } ;;
                   5119:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5120: $as_echo "print -r" >&6; } ;;
                   5121:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5122: $as_echo "cat" >&6; } ;;
1.128     moko     5123: esac
                   5124: 
                   5125: 
                   5126: 
                   5127: 
                   5128: 
                   5129: 
                   5130: 
                   5131: 
                   5132: 
                   5133: 
                   5134: 
                   5135: 
                   5136: 
                   5137: 
1.150     moko     5138: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5139: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5140: if ${ac_cv_path_SED+:} false; then :
                   5141:   $as_echo_n "(cached) " >&6
                   5142: else
                   5143:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5144:      for ac_i in 1 2 3 4 5 6 7; do
                   5145:        ac_script="$ac_script$as_nl$ac_script"
                   5146:      done
                   5147:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5148:      { ac_script=; unset ac_script;}
                   5149:      if test -z "$SED"; then
                   5150:   ac_path_SED_found=false
                   5151:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5152:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5153: for as_dir in $PATH
                   5154: do
                   5155:   IFS=$as_save_IFS
                   5156:   test -z "$as_dir" && as_dir=.
1.150     moko     5157:     for ac_prog in sed gsed; do
1.128     moko     5158:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     5159:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
                   5160:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
                   5161: # Check for GNU ac_path_SED and select it if it is found.
                   5162:   # Check for GNU $ac_path_SED
                   5163: case `"$ac_path_SED" --version 2>&1` in
                   5164: *GNU*)
                   5165:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5166: *)
                   5167:   ac_count=0
                   5168:   $as_echo_n 0123456789 >"conftest.in"
                   5169:   while :
                   5170:   do
                   5171:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5172:     mv "conftest.tmp" "conftest.in"
                   5173:     cp "conftest.in" "conftest.nl"
                   5174:     $as_echo '' >> "conftest.nl"
                   5175:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5176:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5177:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5178:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5179:       # Best one so far, save it but keep looking for a better one
                   5180:       ac_cv_path_SED="$ac_path_SED"
                   5181:       ac_path_SED_max=$ac_count
                   5182:     fi
                   5183:     # 10*(2^10) chars as input seems more than enough
                   5184:     test $ac_count -gt 10 && break
                   5185:   done
                   5186:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5187: esac
                   5188: 
                   5189:       $ac_path_SED_found && break 3
1.128     moko     5190:     done
                   5191:   done
1.150     moko     5192:   done
1.128     moko     5193: IFS=$as_save_IFS
1.150     moko     5194:   if test -z "$ac_cv_path_SED"; then
                   5195:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5196:   fi
1.150     moko     5197: else
                   5198:   ac_cv_path_SED=$SED
                   5199: fi
1.10      paf      5200: 
1.66      paf      5201: fi
1.150     moko     5202: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5203: $as_echo "$ac_cv_path_SED" >&6; }
                   5204:  SED="$ac_cv_path_SED"
                   5205:   rm -f conftest.sed
1.128     moko     5206: 
                   5207: test -z "$SED" && SED=sed
                   5208: Xsed="$SED -e 1s/^X//"
1.10      paf      5209: 
1.128     moko     5210: 
                   5211: 
                   5212: 
                   5213: 
                   5214: 
                   5215: 
                   5216: 
                   5217: 
                   5218: 
                   5219: 
1.150     moko     5220: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5221: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5222: if ${ac_cv_path_GREP+:} false; then :
                   5223:   $as_echo_n "(cached) " >&6
                   5224: else
                   5225:   if test -z "$GREP"; then
                   5226:   ac_path_GREP_found=false
                   5227:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5228:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5229: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5230: do
                   5231:   IFS=$as_save_IFS
                   5232:   test -z "$as_dir" && as_dir=.
                   5233:     for ac_prog in grep ggrep; do
                   5234:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5235:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   5236:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   5237: # Check for GNU ac_path_GREP and select it if it is found.
                   5238:   # Check for GNU $ac_path_GREP
                   5239: case `"$ac_path_GREP" --version 2>&1` in
                   5240: *GNU*)
                   5241:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5242: *)
                   5243:   ac_count=0
                   5244:   $as_echo_n 0123456789 >"conftest.in"
                   5245:   while :
                   5246:   do
                   5247:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5248:     mv "conftest.tmp" "conftest.in"
                   5249:     cp "conftest.in" "conftest.nl"
                   5250:     $as_echo 'GREP' >> "conftest.nl"
                   5251:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5252:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5253:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5254:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5255:       # Best one so far, save it but keep looking for a better one
                   5256:       ac_cv_path_GREP="$ac_path_GREP"
                   5257:       ac_path_GREP_max=$ac_count
1.128     moko     5258:     fi
1.150     moko     5259:     # 10*(2^10) chars as input seems more than enough
                   5260:     test $ac_count -gt 10 && break
                   5261:   done
                   5262:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5263: esac
                   5264: 
                   5265:       $ac_path_GREP_found && break 3
                   5266:     done
                   5267:   done
                   5268:   done
                   5269: IFS=$as_save_IFS
                   5270:   if test -z "$ac_cv_path_GREP"; then
                   5271:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5272:   fi
                   5273: else
                   5274:   ac_cv_path_GREP=$GREP
                   5275: fi
                   5276: 
1.128     moko     5277: fi
1.150     moko     5278: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5279: $as_echo "$ac_cv_path_GREP" >&6; }
                   5280:  GREP="$ac_cv_path_GREP"
                   5281: 
                   5282: 
                   5283: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5284: $as_echo_n "checking for egrep... " >&6; }
                   5285: if ${ac_cv_path_EGREP+:} false; then :
                   5286:   $as_echo_n "(cached) " >&6
                   5287: else
                   5288:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5289:    then ac_cv_path_EGREP="$GREP -E"
                   5290:    else
                   5291:      if test -z "$EGREP"; then
                   5292:   ac_path_EGREP_found=false
                   5293:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5294:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5295: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5296: do
                   5297:   IFS=$as_save_IFS
                   5298:   test -z "$as_dir" && as_dir=.
                   5299:     for ac_prog in egrep; do
                   5300:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5301:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5302:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   5303: # Check for GNU ac_path_EGREP and select it if it is found.
                   5304:   # Check for GNU $ac_path_EGREP
                   5305: case `"$ac_path_EGREP" --version 2>&1` in
                   5306: *GNU*)
                   5307:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5308: *)
                   5309:   ac_count=0
                   5310:   $as_echo_n 0123456789 >"conftest.in"
                   5311:   while :
                   5312:   do
                   5313:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5314:     mv "conftest.tmp" "conftest.in"
                   5315:     cp "conftest.in" "conftest.nl"
                   5316:     $as_echo 'EGREP' >> "conftest.nl"
                   5317:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5318:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5319:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5320:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5321:       # Best one so far, save it but keep looking for a better one
                   5322:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5323:       ac_path_EGREP_max=$ac_count
                   5324:     fi
                   5325:     # 10*(2^10) chars as input seems more than enough
                   5326:     test $ac_count -gt 10 && break
                   5327:   done
                   5328:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5329: esac
1.128     moko     5330: 
1.150     moko     5331:       $ac_path_EGREP_found && break 3
                   5332:     done
                   5333:   done
                   5334:   done
                   5335: IFS=$as_save_IFS
                   5336:   if test -z "$ac_cv_path_EGREP"; then
                   5337:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5338:   fi
                   5339: else
                   5340:   ac_cv_path_EGREP=$EGREP
                   5341: fi
1.128     moko     5342: 
1.150     moko     5343:    fi
                   5344: fi
                   5345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5346: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5347:  EGREP="$ac_cv_path_EGREP"
                   5348: 
                   5349: 
                   5350: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5351: $as_echo_n "checking for fgrep... " >&6; }
                   5352: if ${ac_cv_path_FGREP+:} false; then :
                   5353:   $as_echo_n "(cached) " >&6
                   5354: else
                   5355:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5356:    then ac_cv_path_FGREP="$GREP -F"
                   5357:    else
                   5358:      if test -z "$FGREP"; then
                   5359:   ac_path_FGREP_found=false
                   5360:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5361:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5362: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5363: do
                   5364:   IFS=$as_save_IFS
                   5365:   test -z "$as_dir" && as_dir=.
                   5366:     for ac_prog in fgrep; do
                   5367:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5368:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5369:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
                   5370: # Check for GNU ac_path_FGREP and select it if it is found.
                   5371:   # Check for GNU $ac_path_FGREP
                   5372: case `"$ac_path_FGREP" --version 2>&1` in
                   5373: *GNU*)
                   5374:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5375: *)
                   5376:   ac_count=0
                   5377:   $as_echo_n 0123456789 >"conftest.in"
                   5378:   while :
                   5379:   do
                   5380:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5381:     mv "conftest.tmp" "conftest.in"
                   5382:     cp "conftest.in" "conftest.nl"
                   5383:     $as_echo 'FGREP' >> "conftest.nl"
                   5384:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5385:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5386:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5387:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5388:       # Best one so far, save it but keep looking for a better one
                   5389:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5390:       ac_path_FGREP_max=$ac_count
1.128     moko     5391:     fi
1.150     moko     5392:     # 10*(2^10) chars as input seems more than enough
                   5393:     test $ac_count -gt 10 && break
                   5394:   done
                   5395:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5396: esac
                   5397: 
                   5398:       $ac_path_FGREP_found && break 3
                   5399:     done
                   5400:   done
                   5401:   done
                   5402: IFS=$as_save_IFS
                   5403:   if test -z "$ac_cv_path_FGREP"; then
                   5404:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5405:   fi
                   5406: else
                   5407:   ac_cv_path_FGREP=$FGREP
                   5408: fi
                   5409: 
                   5410:    fi
1.128     moko     5411: fi
1.150     moko     5412: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5413: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5414:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5415: 
                   5416: 
                   5417: test -z "$GREP" && GREP=grep
                   5418: 
                   5419: 
                   5420: 
                   5421: 
                   5422: 
                   5423: 
                   5424: 
                   5425: 
                   5426: 
                   5427: 
                   5428: 
                   5429: 
                   5430: 
                   5431: 
                   5432: 
                   5433: 
                   5434: 
                   5435: 
                   5436: 
1.150     moko     5437: # Check whether --with-gnu-ld was given.
                   5438: if test "${with_gnu_ld+set}" = set; then :
                   5439:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5440: else
                   5441:   with_gnu_ld=no
1.150     moko     5442: fi
                   5443: 
1.128     moko     5444: ac_prog=ld
                   5445: if test "$GCC" = yes; then
                   5446:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     5447:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5448: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5449:   case $host in
                   5450:   *-*-mingw*)
                   5451:     # gcc leaves a trailing carriage return which upsets mingw
                   5452:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5453:   *)
                   5454:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5455:   esac
                   5456:   case $ac_prog in
                   5457:     # Accept absolute paths.
                   5458:     [\\/]* | ?:[\\/]*)
                   5459:       re_direlt='/[^/][^/]*/\.\./'
                   5460:       # Canonicalize the pathname of ld
                   5461:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5462:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5463:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5464:       done
                   5465:       test -z "$LD" && LD="$ac_prog"
                   5466:       ;;
                   5467:   "")
                   5468:     # If it fails, then pretend we aren't using GCC.
                   5469:     ac_prog=ld
                   5470:     ;;
                   5471:   *)
                   5472:     # If it is relative, then search for the first ld in PATH.
                   5473:     with_gnu_ld=unknown
                   5474:     ;;
                   5475:   esac
                   5476: elif test "$with_gnu_ld" = yes; then
1.150     moko     5477:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5478: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     5479: else
1.150     moko     5480:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5481: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     5482: fi
1.150     moko     5483: if ${lt_cv_path_LD+:} false; then :
                   5484:   $as_echo_n "(cached) " >&6
1.128     moko     5485: else
                   5486:   if test -z "$LD"; then
                   5487:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5488:   for ac_dir in $PATH; do
                   5489:     IFS="$lt_save_ifs"
                   5490:     test -z "$ac_dir" && ac_dir=.
                   5491:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5492:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5493:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5494:       # but apparently some variants of GNU ld only accept -v.
                   5495:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5496:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5497:       *GNU* | *'with BFD'*)
                   5498:        test "$with_gnu_ld" != no && break
                   5499:        ;;
                   5500:       *)
                   5501:        test "$with_gnu_ld" != yes && break
                   5502:        ;;
                   5503:       esac
                   5504:     fi
                   5505:   done
                   5506:   IFS="$lt_save_ifs"
                   5507: else
                   5508:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5509: fi
                   5510: fi
                   5511: 
                   5512: LD="$lt_cv_path_LD"
                   5513: if test -n "$LD"; then
1.150     moko     5514:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5515: $as_echo "$LD" >&6; }
1.128     moko     5516: else
1.150     moko     5517:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5518: $as_echo "no" >&6; }
1.128     moko     5519: fi
1.150     moko     5520: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5521: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5522: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5523: if ${lt_cv_prog_gnu_ld+:} false; then :
                   5524:   $as_echo_n "(cached) " >&6
1.128     moko     5525: else
                   5526:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5527: case `$LD -v 2>&1 </dev/null` in
                   5528: *GNU* | *'with BFD'*)
                   5529:   lt_cv_prog_gnu_ld=yes
                   5530:   ;;
                   5531: *)
                   5532:   lt_cv_prog_gnu_ld=no
                   5533:   ;;
                   5534: esac
                   5535: fi
1.150     moko     5536: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5537: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     5538: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5539: 
                   5540: 
                   5541: 
                   5542: 
                   5543: 
                   5544: 
                   5545: 
                   5546: 
                   5547: 
1.150     moko     5548: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5549: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5550: if ${lt_cv_path_NM+:} false; then :
                   5551:   $as_echo_n "(cached) " >&6
1.128     moko     5552: else
                   5553:   if test -n "$NM"; then
                   5554:   # Let the user override the test.
                   5555:   lt_cv_path_NM="$NM"
                   5556: else
                   5557:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5558:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5559:     lt_nm_to_check="$lt_nm_to_check nm"
                   5560:   fi
                   5561:   for lt_tmp_nm in $lt_nm_to_check; do
                   5562:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5563:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5564:       IFS="$lt_save_ifs"
                   5565:       test -z "$ac_dir" && ac_dir=.
                   5566:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5567:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5568:        # Check to see if the nm accepts a BSD-compat flag.
                   5569:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5570:        #   nm: unknown option "B" ignored
                   5571:        # Tru64's nm complains that /dev/null is an invalid object file
                   5572:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5573:        */dev/null* | *'Invalid file or object type'*)
                   5574:          lt_cv_path_NM="$tmp_nm -B"
                   5575:          break
                   5576:          ;;
                   5577:        *)
                   5578:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5579:          */dev/null*)
                   5580:            lt_cv_path_NM="$tmp_nm -p"
                   5581:            break
                   5582:            ;;
                   5583:          *)
                   5584:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5585:            continue # so that we can try to find one that supports BSD flags
                   5586:            ;;
                   5587:          esac
                   5588:          ;;
                   5589:        esac
                   5590:       fi
                   5591:     done
                   5592:     IFS="$lt_save_ifs"
                   5593:   done
                   5594:   : ${lt_cv_path_NM=no}
                   5595: fi
                   5596: fi
1.150     moko     5597: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5598: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     5599: if test "$lt_cv_path_NM" != "no"; then
                   5600:   NM="$lt_cv_path_NM"
                   5601: else
                   5602:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5603:   if test -n "$DUMPBIN"; then :
                   5604:     # Let the user override the test.
                   5605:   else
                   5606:     if test -n "$ac_tool_prefix"; then
                   5607:   for ac_prog in dumpbin "link -dump"
                   5608:   do
                   5609:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5610: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     5611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5612: $as_echo_n "checking for $ac_word... " >&6; }
                   5613: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5614:   $as_echo_n "(cached) " >&6
1.128     moko     5615: else
                   5616:   if test -n "$DUMPBIN"; then
                   5617:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5618: else
                   5619: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5620: for as_dir in $PATH
                   5621: do
                   5622:   IFS=$as_save_IFS
                   5623:   test -z "$as_dir" && as_dir=.
1.150     moko     5624:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5625:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5626:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150     moko     5627:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5628:     break 2
                   5629:   fi
                   5630: done
1.150     moko     5631:   done
                   5632: IFS=$as_save_IFS
1.128     moko     5633: 
                   5634: fi
                   5635: fi
                   5636: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5637: if test -n "$DUMPBIN"; then
1.150     moko     5638:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5639: $as_echo "$DUMPBIN" >&6; }
1.128     moko     5640: else
1.150     moko     5641:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5642: $as_echo "no" >&6; }
1.128     moko     5643: fi
                   5644: 
1.150     moko     5645: 
1.128     moko     5646:     test -n "$DUMPBIN" && break
                   5647:   done
                   5648: fi
                   5649: if test -z "$DUMPBIN"; then
                   5650:   ac_ct_DUMPBIN=$DUMPBIN
                   5651:   for ac_prog in dumpbin "link -dump"
                   5652: do
                   5653:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5654: set dummy $ac_prog; ac_word=$2
1.150     moko     5655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5656: $as_echo_n "checking for $ac_word... " >&6; }
                   5657: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5658:   $as_echo_n "(cached) " >&6
1.128     moko     5659: else
                   5660:   if test -n "$ac_ct_DUMPBIN"; then
                   5661:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5662: else
                   5663: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5664: for as_dir in $PATH
                   5665: do
                   5666:   IFS=$as_save_IFS
                   5667:   test -z "$as_dir" && as_dir=.
1.150     moko     5668:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5669:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5670:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150     moko     5671:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5672:     break 2
                   5673:   fi
                   5674: done
1.150     moko     5675:   done
                   5676: IFS=$as_save_IFS
1.128     moko     5677: 
                   5678: fi
                   5679: fi
                   5680: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5681: if test -n "$ac_ct_DUMPBIN"; then
1.150     moko     5682:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5683: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     5684: else
1.150     moko     5685:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5686: $as_echo "no" >&6; }
1.128     moko     5687: fi
                   5688: 
1.150     moko     5689: 
1.128     moko     5690:   test -n "$ac_ct_DUMPBIN" && break
                   5691: done
                   5692: 
1.150     moko     5693:   if test "x$ac_ct_DUMPBIN" = x; then
                   5694:     DUMPBIN=":"
                   5695:   else
                   5696:     case $cross_compiling:$ac_tool_warned in
                   5697: yes:)
                   5698: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5699: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5700: ac_tool_warned=yes ;;
                   5701: esac
                   5702:     DUMPBIN=$ac_ct_DUMPBIN
                   5703:   fi
1.128     moko     5704: fi
                   5705: 
                   5706:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   5707:     *COFF*)
                   5708:       DUMPBIN="$DUMPBIN -symbols"
                   5709:       ;;
                   5710:     *)
                   5711:       DUMPBIN=:
                   5712:       ;;
                   5713:     esac
                   5714:   fi
                   5715: 
                   5716:   if test "$DUMPBIN" != ":"; then
                   5717:     NM="$DUMPBIN"
                   5718:   fi
                   5719: fi
                   5720: test -z "$NM" && NM=nm
                   5721: 
                   5722: 
                   5723: 
                   5724: 
                   5725: 
                   5726: 
1.150     moko     5727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5728: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5729: if ${lt_cv_nm_interface+:} false; then :
                   5730:   $as_echo_n "(cached) " >&6
1.128     moko     5731: else
                   5732:   lt_cv_nm_interface="BSD nm"
                   5733:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5734:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5735:   (eval "$ac_compile" 2>conftest.err)
                   5736:   cat conftest.err >&5
                   5737:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5738:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5739:   cat conftest.err >&5
                   5740:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5741:   cat conftest.out >&5
                   5742:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5743:     lt_cv_nm_interface="MS dumpbin"
                   5744:   fi
                   5745:   rm -f conftest*
                   5746: fi
1.150     moko     5747: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5748: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     5749: 
1.150     moko     5750: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5751: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     5752: LN_S=$as_ln_s
                   5753: if test "$LN_S" = "ln -s"; then
1.150     moko     5754:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5755: $as_echo "yes" >&6; }
1.128     moko     5756: else
1.150     moko     5757:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5758: $as_echo "no, using $LN_S" >&6; }
1.128     moko     5759: fi
                   5760: 
                   5761: # find the maximum length of command line arguments
1.150     moko     5762: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5763: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5764: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   5765:   $as_echo_n "(cached) " >&6
1.128     moko     5766: else
                   5767:     i=0
                   5768:   teststring="ABCD"
                   5769: 
                   5770:   case $build_os in
                   5771:   msdosdjgpp*)
                   5772:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5773:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5774:     # during glob expansion).  Even if it were fixed, the result of this
                   5775:     # check would be larger than it should be.
                   5776:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5777:     ;;
                   5778: 
                   5779:   gnu*)
                   5780:     # Under GNU Hurd, this test is not required because there is
                   5781:     # no limit to the length of command line arguments.
                   5782:     # Libtool will interpret -1 as no limit whatsoever
                   5783:     lt_cv_sys_max_cmd_len=-1;
                   5784:     ;;
                   5785: 
                   5786:   cygwin* | mingw* | cegcc*)
                   5787:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5788:     # about 5 minutes as the teststring grows exponentially.
                   5789:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5790:     # you end up with a "frozen" computer, even though with patience
                   5791:     # the test eventually succeeds (with a max line length of 256k).
                   5792:     # Instead, let's just punt: use the minimum linelength reported by
                   5793:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5794:     lt_cv_sys_max_cmd_len=8192;
                   5795:     ;;
                   5796: 
                   5797:   mint*)
                   5798:     # On MiNT this can take a long time and run out of memory.
                   5799:     lt_cv_sys_max_cmd_len=8192;
                   5800:     ;;
                   5801: 
                   5802:   amigaos*)
                   5803:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5804:     # So we just punt and use a minimum line length of 8192.
                   5805:     lt_cv_sys_max_cmd_len=8192;
                   5806:     ;;
                   5807: 
                   5808:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5809:     # This has been around since 386BSD, at least.  Likely further.
                   5810:     if test -x /sbin/sysctl; then
                   5811:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5812:     elif test -x /usr/sbin/sysctl; then
                   5813:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5814:     else
                   5815:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5816:     fi
                   5817:     # And add a safety zone
                   5818:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5819:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5820:     ;;
                   5821: 
                   5822:   interix*)
                   5823:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5824:     lt_cv_sys_max_cmd_len=196608
                   5825:     ;;
                   5826: 
                   5827:   os2*)
                   5828:     # The test takes a long time on OS/2.
                   5829:     lt_cv_sys_max_cmd_len=8192
                   5830:     ;;
                   5831: 
                   5832:   osf*)
                   5833:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5834:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5835:     # nice to cause kernel panics so lets avoid the loop below.
                   5836:     # First set a reasonable default.
                   5837:     lt_cv_sys_max_cmd_len=16384
                   5838:     #
                   5839:     if test -x /sbin/sysconfig; then
                   5840:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5841:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5842:       esac
                   5843:     fi
                   5844:     ;;
                   5845:   sco3.2v5*)
                   5846:     lt_cv_sys_max_cmd_len=102400
                   5847:     ;;
                   5848:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5849:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5850:     if test -n "$kargmax"; then
                   5851:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5852:     else
                   5853:       lt_cv_sys_max_cmd_len=32768
                   5854:     fi
                   5855:     ;;
                   5856:   *)
                   5857:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5858:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5859:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5860:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5861:     else
                   5862:       # Make teststring a little bigger before we do anything with it.
                   5863:       # a 1K string should be a reasonable start.
                   5864:       for i in 1 2 3 4 5 6 7 8 ; do
                   5865:         teststring=$teststring$teststring
                   5866:       done
                   5867:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5868:       # If test is not a shell built-in, we'll probably end up computing a
                   5869:       # maximum length that is only half of the actual maximum length, but
                   5870:       # we can't tell.
                   5871:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   5872:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   5873:              test $i != 17 # 1/2 MB should be enough
                   5874:       do
                   5875:         i=`expr $i + 1`
                   5876:         teststring=$teststring$teststring
                   5877:       done
                   5878:       # Only check the string length outside the loop.
                   5879:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5880:       teststring=
                   5881:       # Add a significant safety factor because C++ compilers can tack on
                   5882:       # massive amounts of additional arguments before passing them to the
                   5883:       # linker.  It appears as though 1/2 is a usable value.
                   5884:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5885:     fi
                   5886:     ;;
                   5887:   esac
                   5888: 
                   5889: fi
                   5890: 
                   5891: if test -n $lt_cv_sys_max_cmd_len ; then
1.150     moko     5892:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5893: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     5894: else
1.150     moko     5895:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5896: $as_echo "none" >&6; }
1.128     moko     5897: fi
                   5898: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5899: 
                   5900: 
                   5901: 
                   5902: 
                   5903: 
                   5904: 
                   5905: : ${CP="cp -f"}
                   5906: : ${MV="mv -f"}
                   5907: : ${RM="rm -f"}
                   5908: 
1.150     moko     5909: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5910: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     5911: # Try some XSI features
                   5912: xsi_shell=no
                   5913: ( _lt_dummy="a/b/c"
                   5914:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   5915:       = c,a/b,b/c, \
                   5916:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5917:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5918:   && xsi_shell=yes
1.150     moko     5919: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5920: $as_echo "$xsi_shell" >&6; }
1.128     moko     5921: 
                   5922: 
1.150     moko     5923: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   5924: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     5925: lt_shell_append=no
                   5926: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5927:     >/dev/null 2>&1 \
                   5928:   && lt_shell_append=yes
1.150     moko     5929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   5930: $as_echo "$lt_shell_append" >&6; }
1.128     moko     5931: 
                   5932: 
                   5933: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5934:   lt_unset=unset
                   5935: else
                   5936:   lt_unset=false
                   5937: fi
                   5938: 
                   5939: 
                   5940: 
                   5941: 
                   5942: 
                   5943: # test EBCDIC or ASCII
                   5944: case `echo X|tr X '\101'` in
                   5945:  A) # ASCII based system
                   5946:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5947:   lt_SP2NL='tr \040 \012'
                   5948:   lt_NL2SP='tr \015\012 \040\040'
                   5949:   ;;
                   5950:  *) # EBCDIC based system
                   5951:   lt_SP2NL='tr \100 \n'
                   5952:   lt_NL2SP='tr \r\n \100\100'
                   5953:   ;;
                   5954: esac
                   5955: 
                   5956: 
                   5957: 
                   5958: 
                   5959: 
                   5960: 
                   5961: 
                   5962: 
                   5963: 
1.150     moko     5964: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   5965: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   5966: if ${lt_cv_to_host_file_cmd+:} false; then :
                   5967:   $as_echo_n "(cached) " >&6
1.128     moko     5968: else
                   5969:   case $host in
                   5970:   *-*-mingw* )
                   5971:     case $build in
                   5972:       *-*-mingw* ) # actually msys
                   5973:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5974:         ;;
                   5975:       *-*-cygwin* )
                   5976:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5977:         ;;
                   5978:       * ) # otherwise, assume *nix
                   5979:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5980:         ;;
                   5981:     esac
                   5982:     ;;
                   5983:   *-*-cygwin* )
                   5984:     case $build in
                   5985:       *-*-mingw* ) # actually msys
                   5986:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5987:         ;;
                   5988:       *-*-cygwin* )
                   5989:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5990:         ;;
                   5991:       * ) # otherwise, assume *nix
                   5992:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5993:         ;;
                   5994:     esac
                   5995:     ;;
                   5996:   * ) # unhandled hosts (and "normal" native builds)
                   5997:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5998:     ;;
                   5999: esac
                   6000: 
                   6001: fi
                   6002: 
                   6003: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150     moko     6004: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   6005: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     6006: 
                   6007: 
                   6008: 
                   6009: 
                   6010: 
1.150     moko     6011: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   6012: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   6013: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   6014:   $as_echo_n "(cached) " >&6
1.128     moko     6015: else
                   6016:   #assume ordinary cross tools, or native build.
                   6017: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   6018: case $host in
                   6019:   *-*-mingw* )
                   6020:     case $build in
                   6021:       *-*-mingw* ) # actually msys
                   6022:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   6023:         ;;
                   6024:     esac
                   6025:     ;;
                   6026: esac
                   6027: 
                   6028: fi
                   6029: 
                   6030: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150     moko     6031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   6032: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     6033: 
                   6034: 
                   6035: 
                   6036: 
                   6037: 
1.150     moko     6038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   6039: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   6040: if ${lt_cv_ld_reload_flag+:} false; then :
                   6041:   $as_echo_n "(cached) " >&6
1.128     moko     6042: else
                   6043:   lt_cv_ld_reload_flag='-r'
                   6044: fi
1.150     moko     6045: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   6046: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6047: reload_flag=$lt_cv_ld_reload_flag
                   6048: case $reload_flag in
                   6049: "" | " "*) ;;
                   6050: *) reload_flag=" $reload_flag" ;;
                   6051: esac
                   6052: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6053: case $host_os in
                   6054:   cygwin* | mingw* | pw32* | cegcc*)
                   6055:     if test "$GCC" != yes; then
                   6056:       reload_cmds=false
                   6057:     fi
                   6058:     ;;
                   6059:   darwin*)
                   6060:     if test "$GCC" = yes; then
                   6061:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6062:     else
                   6063:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6064:     fi
                   6065:     ;;
                   6066: esac
                   6067: 
                   6068: 
                   6069: 
                   6070: 
                   6071: 
                   6072: 
                   6073: 
                   6074: 
                   6075: 
                   6076: if test -n "$ac_tool_prefix"; then
                   6077:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6078: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     6079: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6080: $as_echo_n "checking for $ac_word... " >&6; }
                   6081: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6082:   $as_echo_n "(cached) " >&6
1.128     moko     6083: else
                   6084:   if test -n "$OBJDUMP"; then
                   6085:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6086: else
                   6087: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6088: for as_dir in $PATH
                   6089: do
                   6090:   IFS=$as_save_IFS
                   6091:   test -z "$as_dir" && as_dir=.
1.150     moko     6092:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6093:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6094:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     6095:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6096:     break 2
                   6097:   fi
                   6098: done
1.150     moko     6099:   done
                   6100: IFS=$as_save_IFS
1.128     moko     6101: 
                   6102: fi
                   6103: fi
                   6104: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6105: if test -n "$OBJDUMP"; then
1.150     moko     6106:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6107: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6108: else
1.150     moko     6109:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6110: $as_echo "no" >&6; }
1.128     moko     6111: fi
                   6112: 
1.150     moko     6113: 
1.128     moko     6114: fi
                   6115: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6116:   ac_ct_OBJDUMP=$OBJDUMP
                   6117:   # Extract the first word of "objdump", so it can be a program name with args.
                   6118: set dummy objdump; ac_word=$2
1.150     moko     6119: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6120: $as_echo_n "checking for $ac_word... " >&6; }
                   6121: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6122:   $as_echo_n "(cached) " >&6
1.128     moko     6123: else
                   6124:   if test -n "$ac_ct_OBJDUMP"; then
                   6125:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6126: else
                   6127: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6128: for as_dir in $PATH
                   6129: do
                   6130:   IFS=$as_save_IFS
                   6131:   test -z "$as_dir" && as_dir=.
1.150     moko     6132:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6133:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6134:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     6135:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6136:     break 2
                   6137:   fi
                   6138: done
1.150     moko     6139:   done
                   6140: IFS=$as_save_IFS
1.128     moko     6141: 
                   6142: fi
                   6143: fi
                   6144: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6145: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     6146:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6147: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6148: else
1.150     moko     6149:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6150: $as_echo "no" >&6; }
1.128     moko     6151: fi
                   6152: 
1.150     moko     6153:   if test "x$ac_ct_OBJDUMP" = x; then
                   6154:     OBJDUMP="false"
                   6155:   else
                   6156:     case $cross_compiling:$ac_tool_warned in
                   6157: yes:)
                   6158: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6159: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6160: ac_tool_warned=yes ;;
                   6161: esac
                   6162:     OBJDUMP=$ac_ct_OBJDUMP
                   6163:   fi
1.128     moko     6164: else
                   6165:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6166: fi
                   6167: 
                   6168: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6169: 
                   6170: 
                   6171: 
                   6172: 
                   6173: 
                   6174: 
1.150     moko     6175: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6176: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6177: if ${lt_cv_deplibs_check_method+:} false; then :
                   6178:   $as_echo_n "(cached) " >&6
1.128     moko     6179: else
                   6180:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6181: lt_cv_file_magic_test_file=
                   6182: lt_cv_deplibs_check_method='unknown'
                   6183: # Need to set the preceding variable on all platforms that support
                   6184: # interlibrary dependencies.
                   6185: # 'none' -- dependencies not supported.
                   6186: # `unknown' -- same as none, but documents that we really don't know.
                   6187: # 'pass_all' -- all dependencies passed with no checks.
                   6188: # 'test_compile' -- check by making test program.
                   6189: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6190: # which responds to the $file_magic_cmd with a given extended regex.
                   6191: # If you have `file' or equivalent on your system and you're not sure
                   6192: # whether `pass_all' will *always* work, you probably want this one.
                   6193: 
                   6194: case $host_os in
                   6195: aix[4-9]*)
                   6196:   lt_cv_deplibs_check_method=pass_all
                   6197:   ;;
                   6198: 
                   6199: beos*)
                   6200:   lt_cv_deplibs_check_method=pass_all
                   6201:   ;;
                   6202: 
                   6203: bsdi[45]*)
                   6204:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6205:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6206:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6207:   ;;
                   6208: 
                   6209: cygwin*)
                   6210:   # func_win32_libid is a shell function defined in ltmain.sh
                   6211:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6212:   lt_cv_file_magic_cmd='func_win32_libid'
                   6213:   ;;
                   6214: 
                   6215: mingw* | pw32*)
                   6216:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6217:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6218:   # unless we find 'file', for example because we are cross-compiling.
                   6219:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6220:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6221:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6222:     lt_cv_file_magic_cmd='func_win32_libid'
                   6223:   else
                   6224:     # Keep this pattern in sync with the one in func_win32_libid.
                   6225:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6226:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6227:   fi
                   6228:   ;;
                   6229: 
                   6230: cegcc*)
                   6231:   # use the weaker test based on 'objdump'. See mingw*.
                   6232:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6233:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6234:   ;;
                   6235: 
                   6236: darwin* | rhapsody*)
                   6237:   lt_cv_deplibs_check_method=pass_all
                   6238:   ;;
                   6239: 
                   6240: freebsd* | dragonfly*)
                   6241:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6242:     case $host_cpu in
                   6243:     i*86 )
                   6244:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6245:       # Let's accept both of them until this is cleared up.
                   6246:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6247:       lt_cv_file_magic_cmd=/usr/bin/file
                   6248:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6249:       ;;
                   6250:     esac
                   6251:   else
                   6252:     lt_cv_deplibs_check_method=pass_all
                   6253:   fi
                   6254:   ;;
                   6255: 
                   6256: gnu*)
                   6257:   lt_cv_deplibs_check_method=pass_all
                   6258:   ;;
                   6259: 
                   6260: haiku*)
                   6261:   lt_cv_deplibs_check_method=pass_all
                   6262:   ;;
                   6263: 
                   6264: hpux10.20* | hpux11*)
                   6265:   lt_cv_file_magic_cmd=/usr/bin/file
                   6266:   case $host_cpu in
                   6267:   ia64*)
                   6268:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6269:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6270:     ;;
                   6271:   hppa*64*)
                   6272:     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]'
                   6273:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6274:     ;;
                   6275:   *)
                   6276:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6277:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6278:     ;;
                   6279:   esac
                   6280:   ;;
                   6281: 
                   6282: interix[3-9]*)
                   6283:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6284:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6285:   ;;
                   6286: 
                   6287: irix5* | irix6* | nonstopux*)
                   6288:   case $LD in
                   6289:   *-32|*"-32 ") libmagic=32-bit;;
                   6290:   *-n32|*"-n32 ") libmagic=N32;;
                   6291:   *-64|*"-64 ") libmagic=64-bit;;
                   6292:   *) libmagic=never-match;;
                   6293:   esac
                   6294:   lt_cv_deplibs_check_method=pass_all
                   6295:   ;;
                   6296: 
                   6297: # This must be glibc/ELF.
                   6298: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6299:   lt_cv_deplibs_check_method=pass_all
                   6300:   ;;
                   6301: 
                   6302: netbsd*)
                   6303:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6304:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6305:   else
                   6306:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6307:   fi
                   6308:   ;;
                   6309: 
                   6310: newos6*)
                   6311:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6312:   lt_cv_file_magic_cmd=/usr/bin/file
                   6313:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6314:   ;;
                   6315: 
                   6316: *nto* | *qnx*)
                   6317:   lt_cv_deplibs_check_method=pass_all
                   6318:   ;;
                   6319: 
                   6320: openbsd*)
                   6321:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6322:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6323:   else
                   6324:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6325:   fi
                   6326:   ;;
                   6327: 
                   6328: osf3* | osf4* | osf5*)
                   6329:   lt_cv_deplibs_check_method=pass_all
                   6330:   ;;
                   6331: 
                   6332: rdos*)
                   6333:   lt_cv_deplibs_check_method=pass_all
                   6334:   ;;
                   6335: 
                   6336: solaris*)
                   6337:   lt_cv_deplibs_check_method=pass_all
                   6338:   ;;
                   6339: 
                   6340: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6341:   lt_cv_deplibs_check_method=pass_all
                   6342:   ;;
                   6343: 
                   6344: sysv4 | sysv4.3*)
                   6345:   case $host_vendor in
                   6346:   motorola)
                   6347:     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]'
                   6348:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6349:     ;;
                   6350:   ncr)
                   6351:     lt_cv_deplibs_check_method=pass_all
                   6352:     ;;
                   6353:   sequent)
                   6354:     lt_cv_file_magic_cmd='/bin/file'
                   6355:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6356:     ;;
                   6357:   sni)
                   6358:     lt_cv_file_magic_cmd='/bin/file'
                   6359:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6360:     lt_cv_file_magic_test_file=/lib/libc.so
                   6361:     ;;
                   6362:   siemens)
                   6363:     lt_cv_deplibs_check_method=pass_all
                   6364:     ;;
                   6365:   pc)
                   6366:     lt_cv_deplibs_check_method=pass_all
                   6367:     ;;
                   6368:   esac
                   6369:   ;;
                   6370: 
                   6371: tpf*)
                   6372:   lt_cv_deplibs_check_method=pass_all
                   6373:   ;;
                   6374: esac
                   6375: 
                   6376: fi
1.150     moko     6377: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6378: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6379: 
                   6380: file_magic_glob=
                   6381: want_nocaseglob=no
                   6382: if test "$build" = "$host"; then
                   6383:   case $host_os in
                   6384:   mingw* | pw32*)
                   6385:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6386:       want_nocaseglob=yes
                   6387:     else
                   6388:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6389:     fi
                   6390:     ;;
                   6391:   esac
                   6392: fi
                   6393: 
                   6394: file_magic_cmd=$lt_cv_file_magic_cmd
                   6395: deplibs_check_method=$lt_cv_deplibs_check_method
                   6396: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6397: 
                   6398: 
                   6399: 
                   6400: 
                   6401: 
                   6402: 
                   6403: 
                   6404: 
                   6405: 
                   6406: 
                   6407: 
                   6408: 
                   6409: 
                   6410: 
                   6411: 
                   6412: 
                   6413: 
                   6414: 
                   6415: 
                   6416: 
                   6417: 
                   6418: 
                   6419: if test -n "$ac_tool_prefix"; then
                   6420:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6421: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     6422: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6423: $as_echo_n "checking for $ac_word... " >&6; }
                   6424: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6425:   $as_echo_n "(cached) " >&6
1.128     moko     6426: else
                   6427:   if test -n "$DLLTOOL"; then
                   6428:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6429: else
                   6430: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6431: for as_dir in $PATH
                   6432: do
                   6433:   IFS=$as_save_IFS
                   6434:   test -z "$as_dir" && as_dir=.
1.150     moko     6435:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6436:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6437:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     6438:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6439:     break 2
                   6440:   fi
                   6441: done
1.150     moko     6442:   done
                   6443: IFS=$as_save_IFS
1.128     moko     6444: 
                   6445: fi
                   6446: fi
                   6447: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6448: if test -n "$DLLTOOL"; then
1.150     moko     6449:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6450: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6451: else
1.150     moko     6452:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6453: $as_echo "no" >&6; }
1.128     moko     6454: fi
                   6455: 
1.150     moko     6456: 
1.128     moko     6457: fi
                   6458: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6459:   ac_ct_DLLTOOL=$DLLTOOL
                   6460:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6461: set dummy dlltool; ac_word=$2
1.150     moko     6462: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6463: $as_echo_n "checking for $ac_word... " >&6; }
                   6464: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6465:   $as_echo_n "(cached) " >&6
1.128     moko     6466: else
                   6467:   if test -n "$ac_ct_DLLTOOL"; then
                   6468:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6469: else
                   6470: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6471: for as_dir in $PATH
                   6472: do
                   6473:   IFS=$as_save_IFS
                   6474:   test -z "$as_dir" && as_dir=.
1.150     moko     6475:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6476:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6477:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     6478:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6479:     break 2
                   6480:   fi
                   6481: done
1.150     moko     6482:   done
                   6483: IFS=$as_save_IFS
1.128     moko     6484: 
                   6485: fi
                   6486: fi
                   6487: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6488: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     6489:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6490: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     6491: else
1.150     moko     6492:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6493: $as_echo "no" >&6; }
1.128     moko     6494: fi
                   6495: 
1.150     moko     6496:   if test "x$ac_ct_DLLTOOL" = x; then
                   6497:     DLLTOOL="false"
                   6498:   else
                   6499:     case $cross_compiling:$ac_tool_warned in
                   6500: yes:)
                   6501: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6502: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6503: ac_tool_warned=yes ;;
                   6504: esac
                   6505:     DLLTOOL=$ac_ct_DLLTOOL
                   6506:   fi
1.128     moko     6507: else
                   6508:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6509: fi
                   6510: 
                   6511: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6512: 
                   6513: 
                   6514: 
                   6515: 
                   6516: 
                   6517: 
                   6518: 
1.150     moko     6519: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   6520: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   6521: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   6522:   $as_echo_n "(cached) " >&6
1.128     moko     6523: else
                   6524:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6525: 
                   6526: case $host_os in
                   6527: cygwin* | mingw* | pw32* | cegcc*)
                   6528:   # two different shell functions defined in ltmain.sh
                   6529:   # decide which to use based on capabilities of $DLLTOOL
                   6530:   case `$DLLTOOL --help 2>&1` in
                   6531:   *--identify-strict*)
                   6532:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6533:     ;;
                   6534:   *)
                   6535:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6536:     ;;
                   6537:   esac
                   6538:   ;;
                   6539: *)
                   6540:   # fallback: assume linklib IS sharedlib
                   6541:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6542:   ;;
                   6543: esac
                   6544: 
                   6545: fi
1.150     moko     6546: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   6547: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     6548: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6549: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6550: 
                   6551: 
                   6552: 
                   6553: 
                   6554: 
                   6555: 
                   6556: 
                   6557: if test -n "$ac_tool_prefix"; then
                   6558:   for ac_prog in ar
                   6559:   do
                   6560:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6561: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     6562: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6563: $as_echo_n "checking for $ac_word... " >&6; }
                   6564: if ${ac_cv_prog_AR+:} false; then :
                   6565:   $as_echo_n "(cached) " >&6
1.128     moko     6566: else
                   6567:   if test -n "$AR"; then
                   6568:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6569: else
                   6570: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6571: for as_dir in $PATH
                   6572: do
                   6573:   IFS=$as_save_IFS
                   6574:   test -z "$as_dir" && as_dir=.
1.150     moko     6575:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6576:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6577:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150     moko     6578:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6579:     break 2
                   6580:   fi
                   6581: done
1.150     moko     6582:   done
                   6583: IFS=$as_save_IFS
1.128     moko     6584: 
                   6585: fi
                   6586: fi
                   6587: AR=$ac_cv_prog_AR
                   6588: if test -n "$AR"; then
1.150     moko     6589:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6590: $as_echo "$AR" >&6; }
1.128     moko     6591: else
1.150     moko     6592:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6593: $as_echo "no" >&6; }
1.128     moko     6594: fi
                   6595: 
1.150     moko     6596: 
1.128     moko     6597:     test -n "$AR" && break
                   6598:   done
                   6599: fi
                   6600: if test -z "$AR"; then
                   6601:   ac_ct_AR=$AR
                   6602:   for ac_prog in ar
                   6603: do
                   6604:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6605: set dummy $ac_prog; ac_word=$2
1.150     moko     6606: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6607: $as_echo_n "checking for $ac_word... " >&6; }
                   6608: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6609:   $as_echo_n "(cached) " >&6
1.128     moko     6610: else
                   6611:   if test -n "$ac_ct_AR"; then
                   6612:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6613: else
                   6614: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6615: for as_dir in $PATH
                   6616: do
                   6617:   IFS=$as_save_IFS
                   6618:   test -z "$as_dir" && as_dir=.
1.150     moko     6619:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6620:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6621:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150     moko     6622:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6623:     break 2
                   6624:   fi
                   6625: done
1.150     moko     6626:   done
                   6627: IFS=$as_save_IFS
1.128     moko     6628: 
                   6629: fi
                   6630: fi
                   6631: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6632: if test -n "$ac_ct_AR"; then
1.150     moko     6633:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6634: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     6635: else
1.150     moko     6636:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6637: $as_echo "no" >&6; }
1.128     moko     6638: fi
                   6639: 
1.150     moko     6640: 
1.128     moko     6641:   test -n "$ac_ct_AR" && break
                   6642: done
                   6643: 
1.150     moko     6644:   if test "x$ac_ct_AR" = x; then
                   6645:     AR="false"
                   6646:   else
                   6647:     case $cross_compiling:$ac_tool_warned in
                   6648: yes:)
                   6649: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6650: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6651: ac_tool_warned=yes ;;
                   6652: esac
                   6653:     AR=$ac_ct_AR
                   6654:   fi
1.128     moko     6655: fi
                   6656: 
                   6657: : ${AR=ar}
                   6658: : ${AR_FLAGS=cru}
                   6659: 
                   6660: 
                   6661: 
                   6662: 
                   6663: 
                   6664: 
                   6665: 
                   6666: 
                   6667: 
                   6668: 
                   6669: 
1.150     moko     6670: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   6671: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   6672: if ${lt_cv_ar_at_file+:} false; then :
                   6673:   $as_echo_n "(cached) " >&6
1.128     moko     6674: else
                   6675:   lt_cv_ar_at_file=no
1.150     moko     6676:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     6677: /* end confdefs.h.  */
                   6678: 
                   6679: int
                   6680: main ()
                   6681: {
                   6682: 
                   6683:   ;
                   6684:   return 0;
                   6685: }
                   6686: _ACEOF
1.150     moko     6687: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     6688:   echo conftest.$ac_objext > conftest.lst
                   6689:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     6690:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6691:   (eval $lt_ar_try) 2>&5
                   6692:   ac_status=$?
1.150     moko     6693:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6694:   test $ac_status = 0; }
1.128     moko     6695:       if test "$ac_status" -eq 0; then
                   6696:        # Ensure the archiver fails upon bogus file names.
                   6697:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     6698:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6699:   (eval $lt_ar_try) 2>&5
                   6700:   ac_status=$?
1.150     moko     6701:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6702:   test $ac_status = 0; }
1.128     moko     6703:        if test "$ac_status" -ne 0; then
                   6704:           lt_cv_ar_at_file=@
                   6705:         fi
                   6706:       fi
                   6707:       rm -f conftest.* libconftest.a
                   6708: 
                   6709: fi
1.150     moko     6710: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     6711: 
                   6712: fi
1.150     moko     6713: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   6714: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     6715: 
                   6716: if test "x$lt_cv_ar_at_file" = xno; then
                   6717:   archiver_list_spec=
                   6718: else
                   6719:   archiver_list_spec=$lt_cv_ar_at_file
                   6720: fi
                   6721: 
                   6722: 
                   6723: 
                   6724: 
                   6725: 
                   6726: 
                   6727: 
                   6728: if test -n "$ac_tool_prefix"; then
                   6729:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6730: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150     moko     6731: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6732: $as_echo_n "checking for $ac_word... " >&6; }
                   6733: if ${ac_cv_prog_STRIP+:} false; then :
                   6734:   $as_echo_n "(cached) " >&6
1.128     moko     6735: else
                   6736:   if test -n "$STRIP"; then
                   6737:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6738: else
                   6739: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6740: for as_dir in $PATH
                   6741: do
                   6742:   IFS=$as_save_IFS
                   6743:   test -z "$as_dir" && as_dir=.
1.150     moko     6744:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6745:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6746:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150     moko     6747:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6748:     break 2
                   6749:   fi
                   6750: done
1.150     moko     6751:   done
                   6752: IFS=$as_save_IFS
1.128     moko     6753: 
                   6754: fi
                   6755: fi
                   6756: STRIP=$ac_cv_prog_STRIP
                   6757: if test -n "$STRIP"; then
1.150     moko     6758:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6759: $as_echo "$STRIP" >&6; }
1.128     moko     6760: else
1.150     moko     6761:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6762: $as_echo "no" >&6; }
1.128     moko     6763: fi
                   6764: 
1.150     moko     6765: 
1.128     moko     6766: fi
                   6767: if test -z "$ac_cv_prog_STRIP"; then
                   6768:   ac_ct_STRIP=$STRIP
                   6769:   # Extract the first word of "strip", so it can be a program name with args.
                   6770: set dummy strip; ac_word=$2
1.150     moko     6771: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6772: $as_echo_n "checking for $ac_word... " >&6; }
                   6773: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   6774:   $as_echo_n "(cached) " >&6
1.128     moko     6775: else
                   6776:   if test -n "$ac_ct_STRIP"; then
                   6777:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6778: else
                   6779: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6780: for as_dir in $PATH
                   6781: do
                   6782:   IFS=$as_save_IFS
                   6783:   test -z "$as_dir" && as_dir=.
1.150     moko     6784:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6785:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6786:     ac_cv_prog_ac_ct_STRIP="strip"
1.150     moko     6787:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6788:     break 2
                   6789:   fi
                   6790: done
1.150     moko     6791:   done
                   6792: IFS=$as_save_IFS
1.128     moko     6793: 
                   6794: fi
                   6795: fi
                   6796: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6797: if test -n "$ac_ct_STRIP"; then
1.150     moko     6798:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6799: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     6800: else
1.150     moko     6801:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6802: $as_echo "no" >&6; }
1.128     moko     6803: fi
                   6804: 
1.150     moko     6805:   if test "x$ac_ct_STRIP" = x; then
                   6806:     STRIP=":"
                   6807:   else
                   6808:     case $cross_compiling:$ac_tool_warned in
                   6809: yes:)
                   6810: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6811: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6812: ac_tool_warned=yes ;;
                   6813: esac
                   6814:     STRIP=$ac_ct_STRIP
                   6815:   fi
1.128     moko     6816: else
                   6817:   STRIP="$ac_cv_prog_STRIP"
                   6818: fi
                   6819: 
                   6820: test -z "$STRIP" && STRIP=:
                   6821: 
                   6822: 
                   6823: 
                   6824: 
                   6825: 
                   6826: 
                   6827: if test -n "$ac_tool_prefix"; then
                   6828:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6829: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150     moko     6830: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6831: $as_echo_n "checking for $ac_word... " >&6; }
                   6832: if ${ac_cv_prog_RANLIB+:} false; then :
                   6833:   $as_echo_n "(cached) " >&6
1.128     moko     6834: else
                   6835:   if test -n "$RANLIB"; then
                   6836:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6837: else
                   6838: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6839: for as_dir in $PATH
                   6840: do
                   6841:   IFS=$as_save_IFS
                   6842:   test -z "$as_dir" && as_dir=.
1.150     moko     6843:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6844:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6845:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150     moko     6846:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6847:     break 2
                   6848:   fi
                   6849: done
1.150     moko     6850:   done
                   6851: IFS=$as_save_IFS
1.128     moko     6852: 
                   6853: fi
                   6854: fi
                   6855: RANLIB=$ac_cv_prog_RANLIB
                   6856: if test -n "$RANLIB"; then
1.150     moko     6857:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6858: $as_echo "$RANLIB" >&6; }
1.128     moko     6859: else
1.150     moko     6860:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6861: $as_echo "no" >&6; }
1.128     moko     6862: fi
                   6863: 
1.150     moko     6864: 
1.128     moko     6865: fi
                   6866: if test -z "$ac_cv_prog_RANLIB"; then
                   6867:   ac_ct_RANLIB=$RANLIB
                   6868:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6869: set dummy ranlib; ac_word=$2
1.150     moko     6870: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6871: $as_echo_n "checking for $ac_word... " >&6; }
                   6872: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   6873:   $as_echo_n "(cached) " >&6
1.128     moko     6874: else
                   6875:   if test -n "$ac_ct_RANLIB"; then
                   6876:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6877: else
                   6878: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6879: for as_dir in $PATH
                   6880: do
                   6881:   IFS=$as_save_IFS
                   6882:   test -z "$as_dir" && as_dir=.
1.150     moko     6883:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6884:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6885:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150     moko     6886:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6887:     break 2
                   6888:   fi
                   6889: done
1.150     moko     6890:   done
                   6891: IFS=$as_save_IFS
1.128     moko     6892: 
                   6893: fi
                   6894: fi
                   6895: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6896: if test -n "$ac_ct_RANLIB"; then
1.150     moko     6897:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6898: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     6899: else
1.150     moko     6900:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6901: $as_echo "no" >&6; }
1.128     moko     6902: fi
                   6903: 
1.150     moko     6904:   if test "x$ac_ct_RANLIB" = x; then
                   6905:     RANLIB=":"
                   6906:   else
                   6907:     case $cross_compiling:$ac_tool_warned in
                   6908: yes:)
                   6909: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6910: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6911: ac_tool_warned=yes ;;
                   6912: esac
                   6913:     RANLIB=$ac_ct_RANLIB
                   6914:   fi
1.128     moko     6915: else
                   6916:   RANLIB="$ac_cv_prog_RANLIB"
                   6917: fi
                   6918: 
                   6919: test -z "$RANLIB" && RANLIB=:
                   6920: 
                   6921: 
                   6922: 
                   6923: 
                   6924: 
                   6925: 
                   6926: # Determine commands to create old-style static archives.
                   6927: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6928: old_postinstall_cmds='chmod 644 $oldlib'
                   6929: old_postuninstall_cmds=
                   6930: 
                   6931: if test -n "$RANLIB"; then
                   6932:   case $host_os in
                   6933:   openbsd*)
                   6934:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   6935:     ;;
                   6936:   *)
                   6937:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   6938:     ;;
                   6939:   esac
                   6940:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   6941: fi
                   6942: 
                   6943: case $host_os in
                   6944:   darwin*)
                   6945:     lock_old_archive_extraction=yes ;;
                   6946:   *)
                   6947:     lock_old_archive_extraction=no ;;
                   6948: esac
                   6949: 
                   6950: 
                   6951: 
                   6952: 
                   6953: 
                   6954: 
                   6955: 
                   6956: 
                   6957: 
                   6958: 
                   6959: 
                   6960: 
                   6961: 
                   6962: 
                   6963: 
                   6964: 
                   6965: 
                   6966: 
                   6967: 
                   6968: 
                   6969: 
                   6970: 
                   6971: 
                   6972: 
                   6973: 
                   6974: 
                   6975: 
                   6976: 
                   6977: 
                   6978: 
                   6979: 
                   6980: 
                   6981: 
                   6982: 
                   6983: 
                   6984: 
                   6985: 
                   6986: 
                   6987: 
                   6988: # If no C compiler was specified, use CC.
                   6989: LTCC=${LTCC-"$CC"}
                   6990: 
                   6991: # If no C compiler flags were specified, use CFLAGS.
                   6992: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6993: 
                   6994: # Allow CC to be a program name with arguments.
                   6995: compiler=$CC
                   6996: 
                   6997: 
                   6998: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150     moko     6999: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   7000: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   7001: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   7002:   $as_echo_n "(cached) " >&6
1.128     moko     7003: else
                   7004: 
                   7005: # These are sane defaults that work on at least a few old systems.
                   7006: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   7007: 
                   7008: # Character class describing NM global symbol codes.
                   7009: symcode='[BCDEGRST]'
                   7010: 
                   7011: # Regexp to match symbols that can be accessed directly from C.
                   7012: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   7013: 
                   7014: # Define system-specific variables.
                   7015: case $host_os in
                   7016: aix*)
                   7017:   symcode='[BCDT]'
                   7018:   ;;
                   7019: cygwin* | mingw* | pw32* | cegcc*)
                   7020:   symcode='[ABCDGISTW]'
                   7021:   ;;
                   7022: hpux*)
                   7023:   if test "$host_cpu" = ia64; then
                   7024:     symcode='[ABCDEGRST]'
                   7025:   fi
                   7026:   ;;
                   7027: irix* | nonstopux*)
                   7028:   symcode='[BCDEGRST]'
                   7029:   ;;
                   7030: osf*)
                   7031:   symcode='[BCDEGQRST]'
                   7032:   ;;
                   7033: solaris*)
                   7034:   symcode='[BDRT]'
                   7035:   ;;
                   7036: sco3.2v5*)
                   7037:   symcode='[DT]'
                   7038:   ;;
                   7039: sysv4.2uw2*)
                   7040:   symcode='[DT]'
                   7041:   ;;
                   7042: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7043:   symcode='[ABDT]'
                   7044:   ;;
                   7045: sysv4)
                   7046:   symcode='[DFNSTU]'
                   7047:   ;;
                   7048: esac
                   7049: 
                   7050: # If we're using GNU nm, then use its standard symbol codes.
                   7051: case `$NM -V 2>&1` in
                   7052: *GNU* | *'with BFD'*)
                   7053:   symcode='[ABCDGIRSTW]' ;;
                   7054: esac
                   7055: 
                   7056: # Transform an extracted symbol line into a proper C declaration.
                   7057: # Some systems (esp. on ia64) link data and code symbols differently,
                   7058: # so use this general approach.
                   7059: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7060: 
                   7061: # Transform an extracted symbol line into symbol name and symbol address
                   7062: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7063: 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'"
                   7064: 
                   7065: # Handle CRLF in mingw tool chain
                   7066: opt_cr=
                   7067: case $build_os in
                   7068: mingw*)
                   7069:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7070:   ;;
                   7071: esac
                   7072: 
                   7073: # Try without a prefix underscore, then with it.
                   7074: for ac_symprfx in "" "_"; do
                   7075: 
                   7076:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7077:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7078: 
                   7079:   # Write the raw and C identifiers.
                   7080:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7081:     # Fake it for dumpbin and say T for any non-static function
                   7082:     # and D for any global variable.
                   7083:     # Also find C++ and __fastcall symbols from MSVC++,
                   7084:     # which start with @ or ?.
                   7085:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7086: "     {last_section=section; section=\$ 3};"\
                   7087: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7088: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7089: "     \$ 0!~/External *\|/{next};"\
                   7090: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7091: "     {if(hide[section]) next};"\
                   7092: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7093: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7094: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7095: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7096: "     ' prfx=^$ac_symprfx"
                   7097:   else
                   7098:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7099:   fi
                   7100:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7101: 
                   7102:   # Check to see that the pipe works correctly.
                   7103:   pipe_works=no
                   7104: 
                   7105:   rm -f conftest*
                   7106:   cat > conftest.$ac_ext <<_LT_EOF
                   7107: #ifdef __cplusplus
                   7108: extern "C" {
                   7109: #endif
                   7110: char nm_test_var;
                   7111: void nm_test_func(void);
                   7112: void nm_test_func(void){}
                   7113: #ifdef __cplusplus
                   7114: }
                   7115: #endif
                   7116: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7117: _LT_EOF
                   7118: 
1.150     moko     7119:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7120:   (eval $ac_compile) 2>&5
                   7121:   ac_status=$?
1.150     moko     7122:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7123:   test $ac_status = 0; }; then
1.128     moko     7124:     # Now try to grab the symbols.
                   7125:     nlist=conftest.nm
1.150     moko     7126:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7127:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7128:   ac_status=$?
1.150     moko     7129:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7130:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7131:       # Try sorting and uniquifying the output.
                   7132:       if sort "$nlist" | uniq > "$nlist"T; then
                   7133:        mv -f "$nlist"T "$nlist"
                   7134:       else
                   7135:        rm -f "$nlist"T
                   7136:       fi
                   7137: 
                   7138:       # Make sure that we snagged all the symbols we need.
                   7139:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7140:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7141:          cat <<_LT_EOF > conftest.$ac_ext
                   7142: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7143: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7144: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7145:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7146: # define LT_DLSYM_CONST
                   7147: #elif defined(__osf__)
                   7148: /* This system does not cope well with relocations in const data.  */
                   7149: # define LT_DLSYM_CONST
                   7150: #else
                   7151: # define LT_DLSYM_CONST const
                   7152: #endif
                   7153: 
                   7154: #ifdef __cplusplus
                   7155: extern "C" {
                   7156: #endif
                   7157: 
                   7158: _LT_EOF
                   7159:          # Now generate the symbol file.
                   7160:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7161: 
                   7162:          cat <<_LT_EOF >> conftest.$ac_ext
                   7163: 
                   7164: /* The mapping between symbol names and symbols.  */
                   7165: LT_DLSYM_CONST struct {
                   7166:   const char *name;
                   7167:   void       *address;
                   7168: }
                   7169: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7170: {
                   7171:   { "@PROGRAM@", (void *) 0 },
                   7172: _LT_EOF
                   7173:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7174:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7175:   {0, (void *) 0}
                   7176: };
                   7177: 
                   7178: /* This works around a problem in FreeBSD linker */
                   7179: #ifdef FREEBSD_WORKAROUND
                   7180: static const void *lt_preloaded_setup() {
                   7181:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7182: }
                   7183: #endif
                   7184: 
                   7185: #ifdef __cplusplus
                   7186: }
                   7187: #endif
                   7188: _LT_EOF
                   7189:          # Now try linking the two files.
                   7190:          mv conftest.$ac_objext conftstm.$ac_objext
                   7191:          lt_globsym_save_LIBS=$LIBS
                   7192:          lt_globsym_save_CFLAGS=$CFLAGS
                   7193:          LIBS="conftstm.$ac_objext"
                   7194:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     7195:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7196:   (eval $ac_link) 2>&5
                   7197:   ac_status=$?
1.150     moko     7198:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7199:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7200:            pipe_works=yes
                   7201:          fi
                   7202:          LIBS=$lt_globsym_save_LIBS
                   7203:          CFLAGS=$lt_globsym_save_CFLAGS
                   7204:        else
                   7205:          echo "cannot find nm_test_func in $nlist" >&5
                   7206:        fi
                   7207:       else
                   7208:        echo "cannot find nm_test_var in $nlist" >&5
                   7209:       fi
                   7210:     else
                   7211:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7212:     fi
                   7213:   else
                   7214:     echo "$progname: failed program was:" >&5
                   7215:     cat conftest.$ac_ext >&5
                   7216:   fi
                   7217:   rm -rf conftest* conftst*
                   7218: 
                   7219:   # Do not use the global_symbol_pipe unless it works.
                   7220:   if test "$pipe_works" = yes; then
                   7221:     break
                   7222:   else
                   7223:     lt_cv_sys_global_symbol_pipe=
                   7224:   fi
                   7225: done
                   7226: 
                   7227: fi
                   7228: 
                   7229: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7230:   lt_cv_sys_global_symbol_to_cdecl=
                   7231: fi
                   7232: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150     moko     7233:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7234: $as_echo "failed" >&6; }
1.128     moko     7235: else
1.150     moko     7236:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7237: $as_echo "ok" >&6; }
1.128     moko     7238: fi
                   7239: 
                   7240: # Response file support.
                   7241: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7242:   nm_file_list_spec='@'
                   7243: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7244:   nm_file_list_spec='@'
                   7245: fi
                   7246: 
                   7247: 
                   7248: 
                   7249: 
                   7250: 
                   7251: 
                   7252: 
                   7253: 
                   7254: 
                   7255: 
                   7256: 
                   7257: 
                   7258: 
                   7259: 
                   7260: 
                   7261: 
                   7262: 
                   7263: 
                   7264: 
                   7265: 
                   7266: 
                   7267: 
                   7268: 
                   7269: 
                   7270: 
                   7271: 
                   7272: 
1.150     moko     7273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7274: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7275: 
1.150     moko     7276: # Check whether --with-sysroot was given.
                   7277: if test "${with_sysroot+set}" = set; then :
                   7278:   withval=$with_sysroot;
1.128     moko     7279: else
                   7280:   with_sysroot=no
1.150     moko     7281: fi
                   7282: 
1.128     moko     7283: 
                   7284: lt_sysroot=
                   7285: case ${with_sysroot} in #(
                   7286:  yes)
                   7287:    if test "$GCC" = yes; then
                   7288:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7289:    fi
                   7290:    ;; #(
                   7291:  /*)
                   7292:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7293:    ;; #(
                   7294:  no|'')
                   7295:    ;; #(
                   7296:  *)
1.150     moko     7297:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7298: $as_echo "${with_sysroot}" >&6; }
                   7299:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7300:    ;;
                   7301: esac
                   7302: 
1.150     moko     7303:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7304: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7305: 
                   7306: 
                   7307: 
                   7308: 
                   7309: 
1.150     moko     7310: # Check whether --enable-libtool-lock was given.
                   7311: if test "${enable_libtool_lock+set}" = set; then :
                   7312:   enableval=$enable_libtool_lock;
                   7313: fi
1.128     moko     7314: 
                   7315: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7316: 
                   7317: # Some flags need to be propagated to the compiler or linker for good
                   7318: # libtool support.
                   7319: case $host in
                   7320: ia64-*-hpux*)
                   7321:   # Find out which ABI we are using.
                   7322:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7323:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7324:   (eval $ac_compile) 2>&5
                   7325:   ac_status=$?
1.150     moko     7326:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7327:   test $ac_status = 0; }; then
1.128     moko     7328:     case `/usr/bin/file conftest.$ac_objext` in
                   7329:       *ELF-32*)
                   7330:        HPUX_IA64_MODE="32"
                   7331:        ;;
                   7332:       *ELF-64*)
                   7333:        HPUX_IA64_MODE="64"
                   7334:        ;;
                   7335:     esac
                   7336:   fi
                   7337:   rm -rf conftest*
                   7338:   ;;
                   7339: *-*-irix6*)
                   7340:   # Find out which ABI we are using.
                   7341:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     7342:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7343:   (eval $ac_compile) 2>&5
                   7344:   ac_status=$?
1.150     moko     7345:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7346:   test $ac_status = 0; }; then
1.128     moko     7347:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7348:       case `/usr/bin/file conftest.$ac_objext` in
                   7349:        *32-bit*)
                   7350:          LD="${LD-ld} -melf32bsmip"
                   7351:          ;;
                   7352:        *N32*)
                   7353:          LD="${LD-ld} -melf32bmipn32"
                   7354:          ;;
                   7355:        *64-bit*)
                   7356:          LD="${LD-ld} -melf64bmip"
                   7357:        ;;
                   7358:       esac
                   7359:     else
                   7360:       case `/usr/bin/file conftest.$ac_objext` in
                   7361:        *32-bit*)
                   7362:          LD="${LD-ld} -32"
                   7363:          ;;
                   7364:        *N32*)
                   7365:          LD="${LD-ld} -n32"
                   7366:          ;;
                   7367:        *64-bit*)
                   7368:          LD="${LD-ld} -64"
                   7369:          ;;
                   7370:       esac
                   7371:     fi
                   7372:   fi
                   7373:   rm -rf conftest*
                   7374:   ;;
                   7375: 
                   7376: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7377: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7378:   # Find out which ABI we are using.
                   7379:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7380:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7381:   (eval $ac_compile) 2>&5
                   7382:   ac_status=$?
1.150     moko     7383:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7384:   test $ac_status = 0; }; then
1.128     moko     7385:     case `/usr/bin/file conftest.o` in
                   7386:       *32-bit*)
                   7387:        case $host in
                   7388:          x86_64-*kfreebsd*-gnu)
                   7389:            LD="${LD-ld} -m elf_i386_fbsd"
                   7390:            ;;
                   7391:          x86_64-*linux*)
                   7392:            LD="${LD-ld} -m elf_i386"
                   7393:            ;;
                   7394:          ppc64-*linux*|powerpc64-*linux*)
                   7395:            LD="${LD-ld} -m elf32ppclinux"
                   7396:            ;;
                   7397:          s390x-*linux*)
                   7398:            LD="${LD-ld} -m elf_s390"
                   7399:            ;;
                   7400:          sparc64-*linux*)
                   7401:            LD="${LD-ld} -m elf32_sparc"
                   7402:            ;;
                   7403:        esac
                   7404:        ;;
                   7405:       *64-bit*)
                   7406:        case $host in
                   7407:          x86_64-*kfreebsd*-gnu)
                   7408:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7409:            ;;
                   7410:          x86_64-*linux*)
                   7411:            LD="${LD-ld} -m elf_x86_64"
                   7412:            ;;
                   7413:          ppc*-*linux*|powerpc*-*linux*)
                   7414:            LD="${LD-ld} -m elf64ppc"
                   7415:            ;;
                   7416:          s390*-*linux*|s390*-*tpf*)
                   7417:            LD="${LD-ld} -m elf64_s390"
                   7418:            ;;
                   7419:          sparc*-*linux*)
                   7420:            LD="${LD-ld} -m elf64_sparc"
                   7421:            ;;
                   7422:        esac
                   7423:        ;;
                   7424:     esac
                   7425:   fi
                   7426:   rm -rf conftest*
                   7427:   ;;
                   7428: 
                   7429: *-*-sco3.2v5*)
                   7430:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7431:   SAVE_CFLAGS="$CFLAGS"
                   7432:   CFLAGS="$CFLAGS -belf"
1.150     moko     7433:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7434: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7435: if ${lt_cv_cc_needs_belf+:} false; then :
                   7436:   $as_echo_n "(cached) " >&6
1.128     moko     7437: else
                   7438:   ac_ext=c
                   7439: ac_cpp='$CPP $CPPFLAGS'
                   7440: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7441: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7442: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7443: 
1.150     moko     7444:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7445: /* end confdefs.h.  */
                   7446: 
                   7447: int
                   7448: main ()
                   7449: {
                   7450: 
                   7451:   ;
                   7452:   return 0;
                   7453: }
                   7454: _ACEOF
1.150     moko     7455: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7456:   lt_cv_cc_needs_belf=yes
                   7457: else
1.150     moko     7458:   lt_cv_cc_needs_belf=no
1.128     moko     7459: fi
1.150     moko     7460: rm -f core conftest.err conftest.$ac_objext \
                   7461:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7462:      ac_ext=c
                   7463: ac_cpp='$CPP $CPPFLAGS'
                   7464: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7465: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7466: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7467: 
                   7468: fi
1.150     moko     7469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7470: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     7471:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7472:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7473:     CFLAGS="$SAVE_CFLAGS"
                   7474:   fi
                   7475:   ;;
                   7476: *-*solaris*)
                   7477:   # Find out which ABI we are using.
                   7478:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7479:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7480:   (eval $ac_compile) 2>&5
                   7481:   ac_status=$?
1.150     moko     7482:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7483:   test $ac_status = 0; }; then
1.128     moko     7484:     case `/usr/bin/file conftest.o` in
                   7485:     *64-bit*)
                   7486:       case $lt_cv_prog_gnu_ld in
                   7487:       yes*)
                   7488:         case $host in
                   7489:         i?86-*-solaris*)
                   7490:           LD="${LD-ld} -m elf_x86_64"
                   7491:           ;;
                   7492:         sparc*-*-solaris*)
                   7493:           LD="${LD-ld} -m elf64_sparc"
                   7494:           ;;
                   7495:         esac
                   7496:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7497:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   7498:           LD="${LD-ld}_sol2"
                   7499:         fi
                   7500:         ;;
                   7501:       *)
                   7502:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7503:          LD="${LD-ld} -64"
                   7504:        fi
                   7505:        ;;
                   7506:       esac
                   7507:       ;;
                   7508:     esac
                   7509:   fi
                   7510:   rm -rf conftest*
                   7511:   ;;
                   7512: esac
                   7513: 
                   7514: need_locks="$enable_libtool_lock"
                   7515: 
                   7516: if test -n "$ac_tool_prefix"; then
                   7517:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7518: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150     moko     7519: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7520: $as_echo_n "checking for $ac_word... " >&6; }
                   7521: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7522:   $as_echo_n "(cached) " >&6
1.128     moko     7523: else
                   7524:   if test -n "$MANIFEST_TOOL"; then
                   7525:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7526: else
                   7527: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7528: for as_dir in $PATH
                   7529: do
                   7530:   IFS=$as_save_IFS
                   7531:   test -z "$as_dir" && as_dir=.
1.150     moko     7532:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7533:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7534:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150     moko     7535:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7536:     break 2
                   7537:   fi
                   7538: done
1.150     moko     7539:   done
                   7540: IFS=$as_save_IFS
1.128     moko     7541: 
                   7542: fi
                   7543: fi
                   7544: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7545: if test -n "$MANIFEST_TOOL"; then
1.150     moko     7546:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   7547: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     7548: else
1.150     moko     7549:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7550: $as_echo "no" >&6; }
1.128     moko     7551: fi
                   7552: 
1.150     moko     7553: 
1.128     moko     7554: fi
                   7555: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7556:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7557:   # Extract the first word of "mt", so it can be a program name with args.
                   7558: set dummy mt; ac_word=$2
1.150     moko     7559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7560: $as_echo_n "checking for $ac_word... " >&6; }
                   7561: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   7562:   $as_echo_n "(cached) " >&6
1.128     moko     7563: else
                   7564:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7565:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7566: else
                   7567: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7568: for as_dir in $PATH
                   7569: do
                   7570:   IFS=$as_save_IFS
                   7571:   test -z "$as_dir" && as_dir=.
1.150     moko     7572:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7573:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7574:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150     moko     7575:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7576:     break 2
                   7577:   fi
                   7578: done
1.150     moko     7579:   done
                   7580: IFS=$as_save_IFS
1.128     moko     7581: 
                   7582: fi
                   7583: fi
                   7584: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7585: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150     moko     7586:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7587: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     7588: else
1.150     moko     7589:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7590: $as_echo "no" >&6; }
1.128     moko     7591: fi
                   7592: 
1.150     moko     7593:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7594:     MANIFEST_TOOL=":"
                   7595:   else
                   7596:     case $cross_compiling:$ac_tool_warned in
                   7597: yes:)
                   7598: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7599: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7600: ac_tool_warned=yes ;;
                   7601: esac
                   7602:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7603:   fi
1.128     moko     7604: else
                   7605:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7606: fi
                   7607: 
                   7608: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150     moko     7609: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7610: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7611: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7612:   $as_echo_n "(cached) " >&6
1.128     moko     7613: else
                   7614:   lt_cv_path_mainfest_tool=no
                   7615:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7616:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7617:   cat conftest.err >&5
                   7618:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7619:     lt_cv_path_mainfest_tool=yes
                   7620:   fi
                   7621:   rm -f conftest*
                   7622: fi
1.150     moko     7623: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7624: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     7625: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7626:   MANIFEST_TOOL=:
                   7627: fi
                   7628: 
                   7629: 
                   7630: 
                   7631: 
                   7632: 
                   7633: 
                   7634:   case $host_os in
                   7635:     rhapsody* | darwin*)
                   7636:     if test -n "$ac_tool_prefix"; then
                   7637:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7638: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150     moko     7639: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7640: $as_echo_n "checking for $ac_word... " >&6; }
                   7641: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7642:   $as_echo_n "(cached) " >&6
1.128     moko     7643: else
                   7644:   if test -n "$DSYMUTIL"; then
                   7645:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7646: else
                   7647: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7648: for as_dir in $PATH
                   7649: do
                   7650:   IFS=$as_save_IFS
                   7651:   test -z "$as_dir" && as_dir=.
1.150     moko     7652:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7653:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7654:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150     moko     7655:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7656:     break 2
                   7657:   fi
                   7658: done
1.150     moko     7659:   done
                   7660: IFS=$as_save_IFS
1.128     moko     7661: 
                   7662: fi
                   7663: fi
                   7664: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7665: if test -n "$DSYMUTIL"; then
1.150     moko     7666:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7667: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     7668: else
1.150     moko     7669:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7670: $as_echo "no" >&6; }
1.128     moko     7671: fi
                   7672: 
1.150     moko     7673: 
1.128     moko     7674: fi
                   7675: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7676:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7677:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7678: set dummy dsymutil; ac_word=$2
1.150     moko     7679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7680: $as_echo_n "checking for $ac_word... " >&6; }
                   7681: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   7682:   $as_echo_n "(cached) " >&6
1.128     moko     7683: else
                   7684:   if test -n "$ac_ct_DSYMUTIL"; then
                   7685:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7686: else
                   7687: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7688: for as_dir in $PATH
                   7689: do
                   7690:   IFS=$as_save_IFS
                   7691:   test -z "$as_dir" && as_dir=.
1.150     moko     7692:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7693:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7694:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150     moko     7695:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7696:     break 2
                   7697:   fi
                   7698: done
1.150     moko     7699:   done
                   7700: IFS=$as_save_IFS
1.128     moko     7701: 
                   7702: fi
                   7703: fi
                   7704: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7705: if test -n "$ac_ct_DSYMUTIL"; then
1.150     moko     7706:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7707: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     7708: else
1.150     moko     7709:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7710: $as_echo "no" >&6; }
1.128     moko     7711: fi
                   7712: 
1.150     moko     7713:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7714:     DSYMUTIL=":"
                   7715:   else
                   7716:     case $cross_compiling:$ac_tool_warned in
                   7717: yes:)
                   7718: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7719: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7720: ac_tool_warned=yes ;;
                   7721: esac
                   7722:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7723:   fi
1.128     moko     7724: else
                   7725:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7726: fi
                   7727: 
                   7728:     if test -n "$ac_tool_prefix"; then
                   7729:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7730: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150     moko     7731: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7732: $as_echo_n "checking for $ac_word... " >&6; }
                   7733: if ${ac_cv_prog_NMEDIT+:} false; then :
                   7734:   $as_echo_n "(cached) " >&6
1.128     moko     7735: else
                   7736:   if test -n "$NMEDIT"; then
                   7737:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7738: else
                   7739: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7740: for as_dir in $PATH
                   7741: do
                   7742:   IFS=$as_save_IFS
                   7743:   test -z "$as_dir" && as_dir=.
1.150     moko     7744:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7745:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7746:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150     moko     7747:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7748:     break 2
                   7749:   fi
                   7750: done
1.150     moko     7751:   done
                   7752: IFS=$as_save_IFS
1.128     moko     7753: 
                   7754: fi
                   7755: fi
                   7756: NMEDIT=$ac_cv_prog_NMEDIT
                   7757: if test -n "$NMEDIT"; then
1.150     moko     7758:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7759: $as_echo "$NMEDIT" >&6; }
1.128     moko     7760: else
1.150     moko     7761:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7762: $as_echo "no" >&6; }
1.128     moko     7763: fi
                   7764: 
1.150     moko     7765: 
1.128     moko     7766: fi
                   7767: if test -z "$ac_cv_prog_NMEDIT"; then
                   7768:   ac_ct_NMEDIT=$NMEDIT
                   7769:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7770: set dummy nmedit; ac_word=$2
1.150     moko     7771: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7772: $as_echo_n "checking for $ac_word... " >&6; }
                   7773: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   7774:   $as_echo_n "(cached) " >&6
1.128     moko     7775: else
                   7776:   if test -n "$ac_ct_NMEDIT"; then
                   7777:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7778: else
                   7779: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7780: for as_dir in $PATH
                   7781: do
                   7782:   IFS=$as_save_IFS
                   7783:   test -z "$as_dir" && as_dir=.
1.150     moko     7784:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7785:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7786:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150     moko     7787:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7788:     break 2
                   7789:   fi
                   7790: done
1.150     moko     7791:   done
                   7792: IFS=$as_save_IFS
1.128     moko     7793: 
                   7794: fi
                   7795: fi
                   7796: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7797: if test -n "$ac_ct_NMEDIT"; then
1.150     moko     7798:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7799: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     7800: else
1.150     moko     7801:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7802: $as_echo "no" >&6; }
1.128     moko     7803: fi
                   7804: 
1.150     moko     7805:   if test "x$ac_ct_NMEDIT" = x; then
                   7806:     NMEDIT=":"
                   7807:   else
                   7808:     case $cross_compiling:$ac_tool_warned in
                   7809: yes:)
                   7810: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7811: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7812: ac_tool_warned=yes ;;
                   7813: esac
                   7814:     NMEDIT=$ac_ct_NMEDIT
                   7815:   fi
1.128     moko     7816: else
                   7817:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7818: fi
                   7819: 
                   7820:     if test -n "$ac_tool_prefix"; then
                   7821:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7822: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150     moko     7823: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7824: $as_echo_n "checking for $ac_word... " >&6; }
                   7825: if ${ac_cv_prog_LIPO+:} false; then :
                   7826:   $as_echo_n "(cached) " >&6
1.128     moko     7827: else
                   7828:   if test -n "$LIPO"; then
                   7829:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7830: else
                   7831: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7832: for as_dir in $PATH
                   7833: do
                   7834:   IFS=$as_save_IFS
                   7835:   test -z "$as_dir" && as_dir=.
1.150     moko     7836:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7837:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7838:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150     moko     7839:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7840:     break 2
                   7841:   fi
                   7842: done
1.150     moko     7843:   done
                   7844: IFS=$as_save_IFS
1.128     moko     7845: 
                   7846: fi
                   7847: fi
                   7848: LIPO=$ac_cv_prog_LIPO
                   7849: if test -n "$LIPO"; then
1.150     moko     7850:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7851: $as_echo "$LIPO" >&6; }
1.128     moko     7852: else
1.150     moko     7853:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7854: $as_echo "no" >&6; }
1.128     moko     7855: fi
                   7856: 
1.150     moko     7857: 
1.128     moko     7858: fi
                   7859: if test -z "$ac_cv_prog_LIPO"; then
                   7860:   ac_ct_LIPO=$LIPO
                   7861:   # Extract the first word of "lipo", so it can be a program name with args.
                   7862: set dummy lipo; ac_word=$2
1.150     moko     7863: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7864: $as_echo_n "checking for $ac_word... " >&6; }
                   7865: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7866:   $as_echo_n "(cached) " >&6
1.128     moko     7867: else
                   7868:   if test -n "$ac_ct_LIPO"; then
                   7869:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7870: else
                   7871: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7872: for as_dir in $PATH
                   7873: do
                   7874:   IFS=$as_save_IFS
                   7875:   test -z "$as_dir" && as_dir=.
1.150     moko     7876:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7877:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7878:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150     moko     7879:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7880:     break 2
                   7881:   fi
                   7882: done
1.150     moko     7883:   done
                   7884: IFS=$as_save_IFS
1.128     moko     7885: 
                   7886: fi
                   7887: fi
                   7888: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7889: if test -n "$ac_ct_LIPO"; then
1.150     moko     7890:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7891: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     7892: else
1.150     moko     7893:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7894: $as_echo "no" >&6; }
1.128     moko     7895: fi
                   7896: 
1.150     moko     7897:   if test "x$ac_ct_LIPO" = x; then
                   7898:     LIPO=":"
                   7899:   else
                   7900:     case $cross_compiling:$ac_tool_warned in
                   7901: yes:)
                   7902: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7903: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7904: ac_tool_warned=yes ;;
                   7905: esac
                   7906:     LIPO=$ac_ct_LIPO
                   7907:   fi
1.128     moko     7908: else
                   7909:   LIPO="$ac_cv_prog_LIPO"
                   7910: fi
                   7911: 
                   7912:     if test -n "$ac_tool_prefix"; then
                   7913:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7914: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150     moko     7915: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7916: $as_echo_n "checking for $ac_word... " >&6; }
                   7917: if ${ac_cv_prog_OTOOL+:} false; then :
                   7918:   $as_echo_n "(cached) " >&6
1.128     moko     7919: else
                   7920:   if test -n "$OTOOL"; then
                   7921:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7922: else
                   7923: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7924: for as_dir in $PATH
                   7925: do
                   7926:   IFS=$as_save_IFS
                   7927:   test -z "$as_dir" && as_dir=.
1.150     moko     7928:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7929:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7930:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150     moko     7931:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7932:     break 2
                   7933:   fi
                   7934: done
1.150     moko     7935:   done
                   7936: IFS=$as_save_IFS
1.128     moko     7937: 
                   7938: fi
                   7939: fi
                   7940: OTOOL=$ac_cv_prog_OTOOL
                   7941: if test -n "$OTOOL"; then
1.150     moko     7942:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7943: $as_echo "$OTOOL" >&6; }
1.128     moko     7944: else
1.150     moko     7945:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7946: $as_echo "no" >&6; }
1.128     moko     7947: fi
                   7948: 
1.150     moko     7949: 
1.128     moko     7950: fi
                   7951: if test -z "$ac_cv_prog_OTOOL"; then
                   7952:   ac_ct_OTOOL=$OTOOL
                   7953:   # Extract the first word of "otool", so it can be a program name with args.
                   7954: set dummy otool; ac_word=$2
1.150     moko     7955: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7956: $as_echo_n "checking for $ac_word... " >&6; }
                   7957: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   7958:   $as_echo_n "(cached) " >&6
1.128     moko     7959: else
                   7960:   if test -n "$ac_ct_OTOOL"; then
                   7961:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7962: else
                   7963: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7964: for as_dir in $PATH
                   7965: do
                   7966:   IFS=$as_save_IFS
                   7967:   test -z "$as_dir" && as_dir=.
1.150     moko     7968:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7969:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7970:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150     moko     7971:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7972:     break 2
                   7973:   fi
                   7974: done
1.150     moko     7975:   done
                   7976: IFS=$as_save_IFS
1.128     moko     7977: 
                   7978: fi
                   7979: fi
                   7980: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7981: if test -n "$ac_ct_OTOOL"; then
1.150     moko     7982:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7983: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     7984: else
1.150     moko     7985:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7986: $as_echo "no" >&6; }
1.128     moko     7987: fi
                   7988: 
1.150     moko     7989:   if test "x$ac_ct_OTOOL" = x; then
                   7990:     OTOOL=":"
                   7991:   else
                   7992:     case $cross_compiling:$ac_tool_warned in
                   7993: yes:)
                   7994: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7995: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7996: ac_tool_warned=yes ;;
                   7997: esac
                   7998:     OTOOL=$ac_ct_OTOOL
                   7999:   fi
1.128     moko     8000: else
                   8001:   OTOOL="$ac_cv_prog_OTOOL"
                   8002: fi
                   8003: 
                   8004:     if test -n "$ac_tool_prefix"; then
                   8005:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   8006: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150     moko     8007: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8008: $as_echo_n "checking for $ac_word... " >&6; }
                   8009: if ${ac_cv_prog_OTOOL64+:} false; then :
                   8010:   $as_echo_n "(cached) " >&6
1.128     moko     8011: else
                   8012:   if test -n "$OTOOL64"; then
                   8013:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   8014: else
                   8015: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8016: for as_dir in $PATH
                   8017: do
                   8018:   IFS=$as_save_IFS
                   8019:   test -z "$as_dir" && as_dir=.
1.150     moko     8020:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8021:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8022:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150     moko     8023:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8024:     break 2
                   8025:   fi
                   8026: done
1.150     moko     8027:   done
                   8028: IFS=$as_save_IFS
1.128     moko     8029: 
                   8030: fi
                   8031: fi
                   8032: OTOOL64=$ac_cv_prog_OTOOL64
                   8033: if test -n "$OTOOL64"; then
1.150     moko     8034:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   8035: $as_echo "$OTOOL64" >&6; }
1.128     moko     8036: else
1.150     moko     8037:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8038: $as_echo "no" >&6; }
1.128     moko     8039: fi
                   8040: 
1.150     moko     8041: 
1.128     moko     8042: fi
                   8043: if test -z "$ac_cv_prog_OTOOL64"; then
                   8044:   ac_ct_OTOOL64=$OTOOL64
                   8045:   # Extract the first word of "otool64", so it can be a program name with args.
                   8046: set dummy otool64; ac_word=$2
1.150     moko     8047: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8048: $as_echo_n "checking for $ac_word... " >&6; }
                   8049: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   8050:   $as_echo_n "(cached) " >&6
1.128     moko     8051: else
                   8052:   if test -n "$ac_ct_OTOOL64"; then
                   8053:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8054: else
                   8055: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8056: for as_dir in $PATH
                   8057: do
                   8058:   IFS=$as_save_IFS
                   8059:   test -z "$as_dir" && as_dir=.
1.150     moko     8060:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8061:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8062:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150     moko     8063:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8064:     break 2
                   8065:   fi
                   8066: done
1.150     moko     8067:   done
                   8068: IFS=$as_save_IFS
1.128     moko     8069: 
                   8070: fi
                   8071: fi
                   8072: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8073: if test -n "$ac_ct_OTOOL64"; then
1.150     moko     8074:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   8075: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8076: else
1.150     moko     8077:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8078: $as_echo "no" >&6; }
1.128     moko     8079: fi
                   8080: 
1.150     moko     8081:   if test "x$ac_ct_OTOOL64" = x; then
                   8082:     OTOOL64=":"
                   8083:   else
                   8084:     case $cross_compiling:$ac_tool_warned in
                   8085: yes:)
                   8086: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8087: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8088: ac_tool_warned=yes ;;
                   8089: esac
                   8090:     OTOOL64=$ac_ct_OTOOL64
                   8091:   fi
1.128     moko     8092: else
                   8093:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8094: fi
                   8095: 
                   8096: 
                   8097: 
                   8098: 
                   8099: 
                   8100: 
                   8101: 
                   8102: 
                   8103: 
                   8104: 
                   8105: 
                   8106: 
                   8107: 
                   8108: 
                   8109: 
                   8110: 
                   8111: 
                   8112: 
                   8113: 
                   8114: 
                   8115: 
                   8116: 
                   8117: 
                   8118: 
                   8119: 
                   8120: 
                   8121: 
1.150     moko     8122:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   8123: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   8124: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   8125:   $as_echo_n "(cached) " >&6
1.128     moko     8126: else
                   8127:   lt_cv_apple_cc_single_mod=no
                   8128:       if test -z "${LT_MULTI_MODULE}"; then
                   8129:        # By default we will add the -single_module flag. You can override
                   8130:        # by either setting the environment variable LT_MULTI_MODULE
                   8131:        # non-empty at configure time, or by adding -multi_module to the
                   8132:        # link flags.
                   8133:        rm -rf libconftest.dylib*
                   8134:        echo "int foo(void){return 1;}" > conftest.c
                   8135:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8136: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8137:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8138:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8139:         _lt_result=$?
                   8140:        # If there is a non-empty error log, and "single_module"
                   8141:        # appears in it, assume the flag caused a linker warning
                   8142:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8143:          cat conftest.err >&5
                   8144:        # Otherwise, if the output was created with a 0 exit code from
                   8145:        # the compiler, it worked.
                   8146:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8147:          lt_cv_apple_cc_single_mod=yes
                   8148:        else
                   8149:          cat conftest.err >&5
                   8150:        fi
                   8151:        rm -rf libconftest.dylib*
                   8152:        rm -f conftest.*
                   8153:       fi
                   8154: fi
1.150     moko     8155: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8156: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8157: 
1.150     moko     8158:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8159: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8160: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8161:   $as_echo_n "(cached) " >&6
1.128     moko     8162: else
                   8163:   lt_cv_ld_exported_symbols_list=no
                   8164:       save_LDFLAGS=$LDFLAGS
                   8165:       echo "_main" > conftest.sym
                   8166:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     8167:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8168: /* end confdefs.h.  */
                   8169: 
                   8170: int
                   8171: main ()
                   8172: {
                   8173: 
                   8174:   ;
                   8175:   return 0;
                   8176: }
                   8177: _ACEOF
1.150     moko     8178: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8179:   lt_cv_ld_exported_symbols_list=yes
                   8180: else
1.150     moko     8181:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8182: fi
1.150     moko     8183: rm -f core conftest.err conftest.$ac_objext \
                   8184:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8185:        LDFLAGS="$save_LDFLAGS"
                   8186: 
                   8187: fi
1.150     moko     8188: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8189: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8190: 
1.150     moko     8191:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8192: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8193: if ${lt_cv_ld_force_load+:} false; then :
                   8194:   $as_echo_n "(cached) " >&6
1.128     moko     8195: else
                   8196:   lt_cv_ld_force_load=no
                   8197:       cat > conftest.c << _LT_EOF
                   8198: int forced_loaded() { return 2;}
                   8199: _LT_EOF
                   8200:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8201:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8202:       echo "$AR cru libconftest.a conftest.o" >&5
                   8203:       $AR cru libconftest.a conftest.o 2>&5
                   8204:       echo "$RANLIB libconftest.a" >&5
                   8205:       $RANLIB libconftest.a 2>&5
                   8206:       cat > conftest.c << _LT_EOF
                   8207: int main() { return 0;}
                   8208: _LT_EOF
                   8209:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8210:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8211:       _lt_result=$?
                   8212:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8213:        cat conftest.err >&5
                   8214:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8215:        lt_cv_ld_force_load=yes
                   8216:       else
                   8217:        cat conftest.err >&5
                   8218:       fi
                   8219:         rm -f conftest.err libconftest.a conftest conftest.c
                   8220:         rm -rf conftest.dSYM
                   8221: 
                   8222: fi
1.150     moko     8223: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8224: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8225:     case $host_os in
                   8226:     rhapsody* | darwin1.[012])
                   8227:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8228:     darwin1.*)
                   8229:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8230:     darwin*) # darwin 5.x on
                   8231:       # if running on 10.5 or later, the deployment target defaults
                   8232:       # to the OS version, if on x86, and 10.4, the deployment
                   8233:       # target defaults to 10.4. Don't you love it?
                   8234:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8235:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8236:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8237:        10.[012]*)
                   8238:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8239:        10.*)
                   8240:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8241:       esac
                   8242:     ;;
                   8243:   esac
                   8244:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8245:       _lt_dar_single_mod='$single_module'
                   8246:     fi
                   8247:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8248:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8249:     else
                   8250:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8251:     fi
                   8252:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8253:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8254:     else
                   8255:       _lt_dsymutil=
                   8256:     fi
                   8257:     ;;
                   8258:   esac
                   8259: 
                   8260: ac_ext=c
                   8261: ac_cpp='$CPP $CPPFLAGS'
                   8262: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8263: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8264: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150     moko     8265: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   8266: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8267: # On Suns, sometimes $CPP names a directory.
                   8268: if test -n "$CPP" && test -d "$CPP"; then
                   8269:   CPP=
                   8270: fi
                   8271: if test -z "$CPP"; then
1.150     moko     8272:   if ${ac_cv_prog_CPP+:} false; then :
                   8273:   $as_echo_n "(cached) " >&6
1.128     moko     8274: else
                   8275:       # Double quotes because CPP needs to be expanded
                   8276:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8277:     do
                   8278:       ac_preproc_ok=false
                   8279: for ac_c_preproc_warn_flag in '' yes
                   8280: do
                   8281:   # Use a header file that comes with gcc, so configuring glibc
                   8282:   # with a fresh cross-compiler works.
                   8283:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8284:   # <limits.h> exists even on freestanding compilers.
                   8285:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8286:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8287:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8288: /* end confdefs.h.  */
                   8289: #ifdef __STDC__
                   8290: # include <limits.h>
                   8291: #else
                   8292: # include <assert.h>
                   8293: #endif
                   8294:                     Syntax error
                   8295: _ACEOF
1.150     moko     8296: if ac_fn_c_try_cpp "$LINENO"; then :
                   8297: 
1.128     moko     8298: else
                   8299:   # Broken: fails on valid input.
                   8300: continue
                   8301: fi
1.150     moko     8302: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8303: 
1.150     moko     8304:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8305:   # can be detected and how.
1.150     moko     8306:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8307: /* end confdefs.h.  */
                   8308: #include <ac_nonexistent.h>
                   8309: _ACEOF
1.150     moko     8310: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8311:   # Broken: success on invalid input.
                   8312: continue
                   8313: else
                   8314:   # Passes both tests.
                   8315: ac_preproc_ok=:
                   8316: break
                   8317: fi
1.150     moko     8318: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8319: 
                   8320: done
                   8321: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8322: rm -f conftest.i conftest.err conftest.$ac_ext
                   8323: if $ac_preproc_ok; then :
1.128     moko     8324:   break
                   8325: fi
                   8326: 
                   8327:     done
                   8328:     ac_cv_prog_CPP=$CPP
                   8329: 
                   8330: fi
                   8331:   CPP=$ac_cv_prog_CPP
                   8332: else
                   8333:   ac_cv_prog_CPP=$CPP
                   8334: fi
1.150     moko     8335: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   8336: $as_echo "$CPP" >&6; }
1.128     moko     8337: ac_preproc_ok=false
                   8338: for ac_c_preproc_warn_flag in '' yes
                   8339: do
                   8340:   # Use a header file that comes with gcc, so configuring glibc
                   8341:   # with a fresh cross-compiler works.
                   8342:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8343:   # <limits.h> exists even on freestanding compilers.
                   8344:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8345:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8346:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8347: /* end confdefs.h.  */
                   8348: #ifdef __STDC__
                   8349: # include <limits.h>
                   8350: #else
                   8351: # include <assert.h>
                   8352: #endif
                   8353:                     Syntax error
                   8354: _ACEOF
1.150     moko     8355: if ac_fn_c_try_cpp "$LINENO"; then :
                   8356: 
1.128     moko     8357: else
                   8358:   # Broken: fails on valid input.
                   8359: continue
                   8360: fi
1.150     moko     8361: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8362: 
1.150     moko     8363:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8364:   # can be detected and how.
1.150     moko     8365:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8366: /* end confdefs.h.  */
                   8367: #include <ac_nonexistent.h>
                   8368: _ACEOF
1.150     moko     8369: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8370:   # Broken: success on invalid input.
                   8371: continue
                   8372: else
                   8373:   # Passes both tests.
                   8374: ac_preproc_ok=:
                   8375: break
                   8376: fi
1.150     moko     8377: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8378: 
                   8379: done
                   8380: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8381: rm -f conftest.i conftest.err conftest.$ac_ext
                   8382: if $ac_preproc_ok; then :
                   8383: 
1.128     moko     8384: else
1.150     moko     8385:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8386: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   8387: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   8388: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8389: fi
                   8390: 
                   8391: ac_ext=c
                   8392: ac_cpp='$CPP $CPPFLAGS'
                   8393: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8394: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8395: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8396: 
                   8397: 
1.150     moko     8398: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8399: $as_echo_n "checking for ANSI C header files... " >&6; }
                   8400: if ${ac_cv_header_stdc+:} false; then :
                   8401:   $as_echo_n "(cached) " >&6
1.128     moko     8402: else
1.150     moko     8403:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8404: /* end confdefs.h.  */
                   8405: #include <stdlib.h>
                   8406: #include <stdarg.h>
                   8407: #include <string.h>
                   8408: #include <float.h>
                   8409: 
                   8410: int
                   8411: main ()
                   8412: {
                   8413: 
                   8414:   ;
                   8415:   return 0;
                   8416: }
                   8417: _ACEOF
1.150     moko     8418: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8419:   ac_cv_header_stdc=yes
                   8420: else
1.150     moko     8421:   ac_cv_header_stdc=no
1.128     moko     8422: fi
1.150     moko     8423: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8424: 
                   8425: if test $ac_cv_header_stdc = yes; then
                   8426:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150     moko     8427:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8428: /* end confdefs.h.  */
                   8429: #include <string.h>
                   8430: 
                   8431: _ACEOF
                   8432: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8433:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8434: 
1.128     moko     8435: else
                   8436:   ac_cv_header_stdc=no
                   8437: fi
                   8438: rm -f conftest*
                   8439: 
                   8440: fi
                   8441: 
                   8442: if test $ac_cv_header_stdc = yes; then
                   8443:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150     moko     8444:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8445: /* end confdefs.h.  */
                   8446: #include <stdlib.h>
                   8447: 
                   8448: _ACEOF
                   8449: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8450:   $EGREP "free" >/dev/null 2>&1; then :
                   8451: 
1.128     moko     8452: else
                   8453:   ac_cv_header_stdc=no
                   8454: fi
                   8455: rm -f conftest*
                   8456: 
                   8457: fi
                   8458: 
                   8459: if test $ac_cv_header_stdc = yes; then
                   8460:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150     moko     8461:   if test "$cross_compiling" = yes; then :
1.128     moko     8462:   :
                   8463: else
1.150     moko     8464:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8465: /* end confdefs.h.  */
                   8466: #include <ctype.h>
1.150     moko     8467: #include <stdlib.h>
1.128     moko     8468: #if ((' ' & 0x0FF) == 0x020)
                   8469: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8470: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8471: #else
                   8472: # define ISLOWER(c) \
                   8473:                   (('a' <= (c) && (c) <= 'i') \
                   8474:                     || ('j' <= (c) && (c) <= 'r') \
                   8475:                     || ('s' <= (c) && (c) <= 'z'))
                   8476: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8477: #endif
                   8478: 
                   8479: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8480: int
                   8481: main ()
                   8482: {
                   8483:   int i;
                   8484:   for (i = 0; i < 256; i++)
                   8485:     if (XOR (islower (i), ISLOWER (i))
                   8486:        || toupper (i) != TOUPPER (i))
1.150     moko     8487:       return 2;
                   8488:   return 0;
1.128     moko     8489: }
                   8490: _ACEOF
1.150     moko     8491: if ac_fn_c_try_run "$LINENO"; then :
                   8492: 
1.128     moko     8493: else
1.150     moko     8494:   ac_cv_header_stdc=no
1.128     moko     8495: fi
1.150     moko     8496: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8497:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     8498: fi
1.150     moko     8499: 
1.128     moko     8500: fi
                   8501: fi
1.150     moko     8502: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8503: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     8504: if test $ac_cv_header_stdc = yes; then
                   8505: 
1.150     moko     8506: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     8507: 
                   8508: fi
                   8509: 
                   8510: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150     moko     8511: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8512:                  inttypes.h stdint.h unistd.h
                   8513: do :
                   8514:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8515: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8516: "
                   8517: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   8518:   cat >>confdefs.h <<_ACEOF
                   8519: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8520: _ACEOF
1.128     moko     8521: 
1.150     moko     8522: fi
1.128     moko     8523: 
1.150     moko     8524: done
1.128     moko     8525: 
                   8526: 
1.150     moko     8527: for ac_header in dlfcn.h
                   8528: do :
                   8529:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8530: "
                   8531: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   8532:   cat >>confdefs.h <<_ACEOF
                   8533: #define HAVE_DLFCN_H 1
                   8534: _ACEOF
1.128     moko     8535: 
1.150     moko     8536: fi
1.128     moko     8537: 
1.150     moko     8538: done
1.128     moko     8539: 
                   8540: 
                   8541: 
                   8542: 
1.150     moko     8543: func_stripname_cnf ()
                   8544: {
                   8545:   case ${2} in
                   8546:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   8547:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   8548:   esac
                   8549: } # func_stripname_cnf
1.128     moko     8550: 
                   8551: 
                   8552: 
                   8553: 
                   8554: 
                   8555: # Set options
                   8556: enable_dlopen=yes
                   8557: enable_win32_dll=yes
                   8558: 
                   8559: case $host in
                   8560: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8561:   if test -n "$ac_tool_prefix"; then
                   8562:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8563: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150     moko     8564: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8565: $as_echo_n "checking for $ac_word... " >&6; }
                   8566: if ${ac_cv_prog_AS+:} false; then :
                   8567:   $as_echo_n "(cached) " >&6
1.128     moko     8568: else
                   8569:   if test -n "$AS"; then
                   8570:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8571: else
                   8572: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8573: for as_dir in $PATH
                   8574: do
                   8575:   IFS=$as_save_IFS
                   8576:   test -z "$as_dir" && as_dir=.
1.150     moko     8577:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8578:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8579:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150     moko     8580:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8581:     break 2
                   8582:   fi
                   8583: done
1.150     moko     8584:   done
                   8585: IFS=$as_save_IFS
1.128     moko     8586: 
                   8587: fi
                   8588: fi
                   8589: AS=$ac_cv_prog_AS
                   8590: if test -n "$AS"; then
1.150     moko     8591:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8592: $as_echo "$AS" >&6; }
1.128     moko     8593: else
1.150     moko     8594:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8595: $as_echo "no" >&6; }
1.128     moko     8596: fi
                   8597: 
1.150     moko     8598: 
1.128     moko     8599: fi
                   8600: if test -z "$ac_cv_prog_AS"; then
                   8601:   ac_ct_AS=$AS
                   8602:   # Extract the first word of "as", so it can be a program name with args.
                   8603: set dummy as; ac_word=$2
1.150     moko     8604: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8605: $as_echo_n "checking for $ac_word... " >&6; }
                   8606: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8607:   $as_echo_n "(cached) " >&6
1.128     moko     8608: else
                   8609:   if test -n "$ac_ct_AS"; then
                   8610:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8611: else
                   8612: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8613: for as_dir in $PATH
                   8614: do
                   8615:   IFS=$as_save_IFS
                   8616:   test -z "$as_dir" && as_dir=.
1.150     moko     8617:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8618:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8619:     ac_cv_prog_ac_ct_AS="as"
1.150     moko     8620:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8621:     break 2
                   8622:   fi
                   8623: done
1.150     moko     8624:   done
                   8625: IFS=$as_save_IFS
1.128     moko     8626: 
                   8627: fi
                   8628: fi
                   8629: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8630: if test -n "$ac_ct_AS"; then
1.150     moko     8631:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   8632: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     8633: else
1.150     moko     8634:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8635: $as_echo "no" >&6; }
1.128     moko     8636: fi
                   8637: 
1.150     moko     8638:   if test "x$ac_ct_AS" = x; then
                   8639:     AS="false"
                   8640:   else
                   8641:     case $cross_compiling:$ac_tool_warned in
                   8642: yes:)
                   8643: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8644: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8645: ac_tool_warned=yes ;;
                   8646: esac
                   8647:     AS=$ac_ct_AS
                   8648:   fi
1.128     moko     8649: else
                   8650:   AS="$ac_cv_prog_AS"
                   8651: fi
                   8652: 
                   8653:   if test -n "$ac_tool_prefix"; then
                   8654:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8655: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     8656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8657: $as_echo_n "checking for $ac_word... " >&6; }
                   8658: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   8659:   $as_echo_n "(cached) " >&6
1.128     moko     8660: else
                   8661:   if test -n "$DLLTOOL"; then
                   8662:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   8663: else
                   8664: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8665: for as_dir in $PATH
                   8666: do
                   8667:   IFS=$as_save_IFS
                   8668:   test -z "$as_dir" && as_dir=.
1.150     moko     8669:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8670:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8671:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     8672:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8673:     break 2
                   8674:   fi
                   8675: done
1.150     moko     8676:   done
                   8677: IFS=$as_save_IFS
1.128     moko     8678: 
                   8679: fi
                   8680: fi
                   8681: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8682: if test -n "$DLLTOOL"; then
1.150     moko     8683:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   8684: $as_echo "$DLLTOOL" >&6; }
1.128     moko     8685: else
1.150     moko     8686:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8687: $as_echo "no" >&6; }
1.128     moko     8688: fi
                   8689: 
1.150     moko     8690: 
1.128     moko     8691: fi
                   8692: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8693:   ac_ct_DLLTOOL=$DLLTOOL
                   8694:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8695: set dummy dlltool; ac_word=$2
1.150     moko     8696: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8697: $as_echo_n "checking for $ac_word... " >&6; }
                   8698: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   8699:   $as_echo_n "(cached) " >&6
1.128     moko     8700: else
                   8701:   if test -n "$ac_ct_DLLTOOL"; then
                   8702:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8703: else
                   8704: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8705: for as_dir in $PATH
                   8706: do
                   8707:   IFS=$as_save_IFS
                   8708:   test -z "$as_dir" && as_dir=.
1.150     moko     8709:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8710:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8711:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     8712:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8713:     break 2
                   8714:   fi
                   8715: done
1.150     moko     8716:   done
                   8717: IFS=$as_save_IFS
1.128     moko     8718: 
                   8719: fi
                   8720: fi
                   8721: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8722: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     8723:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   8724: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     8725: else
1.150     moko     8726:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8727: $as_echo "no" >&6; }
1.128     moko     8728: fi
                   8729: 
1.150     moko     8730:   if test "x$ac_ct_DLLTOOL" = x; then
                   8731:     DLLTOOL="false"
                   8732:   else
                   8733:     case $cross_compiling:$ac_tool_warned in
                   8734: yes:)
                   8735: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8736: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8737: ac_tool_warned=yes ;;
                   8738: esac
                   8739:     DLLTOOL=$ac_ct_DLLTOOL
                   8740:   fi
1.128     moko     8741: else
                   8742:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8743: fi
                   8744: 
                   8745:   if test -n "$ac_tool_prefix"; then
                   8746:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8747: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     8748: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8749: $as_echo_n "checking for $ac_word... " >&6; }
                   8750: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   8751:   $as_echo_n "(cached) " >&6
1.128     moko     8752: else
                   8753:   if test -n "$OBJDUMP"; then
                   8754:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8755: else
                   8756: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8757: for as_dir in $PATH
                   8758: do
                   8759:   IFS=$as_save_IFS
                   8760:   test -z "$as_dir" && as_dir=.
1.150     moko     8761:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8762:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8763:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     8764:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8765:     break 2
                   8766:   fi
                   8767: done
1.150     moko     8768:   done
                   8769: IFS=$as_save_IFS
1.128     moko     8770: 
                   8771: fi
                   8772: fi
                   8773: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8774: if test -n "$OBJDUMP"; then
1.150     moko     8775:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8776: $as_echo "$OBJDUMP" >&6; }
1.128     moko     8777: else
1.150     moko     8778:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8779: $as_echo "no" >&6; }
1.128     moko     8780: fi
                   8781: 
1.150     moko     8782: 
1.128     moko     8783: fi
                   8784: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8785:   ac_ct_OBJDUMP=$OBJDUMP
                   8786:   # Extract the first word of "objdump", so it can be a program name with args.
                   8787: set dummy objdump; ac_word=$2
1.150     moko     8788: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8789: $as_echo_n "checking for $ac_word... " >&6; }
                   8790: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   8791:   $as_echo_n "(cached) " >&6
1.128     moko     8792: else
                   8793:   if test -n "$ac_ct_OBJDUMP"; then
                   8794:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8795: else
                   8796: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8797: for as_dir in $PATH
                   8798: do
                   8799:   IFS=$as_save_IFS
                   8800:   test -z "$as_dir" && as_dir=.
1.150     moko     8801:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8802:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8803:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     8804:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8805:     break 2
                   8806:   fi
                   8807: done
1.150     moko     8808:   done
                   8809: IFS=$as_save_IFS
1.128     moko     8810: 
                   8811: fi
                   8812: fi
                   8813: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8814: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     8815:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8816: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     8817: else
1.150     moko     8818:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8819: $as_echo "no" >&6; }
1.128     moko     8820: fi
                   8821: 
1.150     moko     8822:   if test "x$ac_ct_OBJDUMP" = x; then
                   8823:     OBJDUMP="false"
                   8824:   else
                   8825:     case $cross_compiling:$ac_tool_warned in
                   8826: yes:)
                   8827: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8828: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8829: ac_tool_warned=yes ;;
                   8830: esac
                   8831:     OBJDUMP=$ac_ct_OBJDUMP
                   8832:   fi
1.128     moko     8833: else
                   8834:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8835: fi
                   8836: 
                   8837:   ;;
                   8838: esac
                   8839: 
                   8840: test -z "$AS" && AS=as
                   8841: 
                   8842: 
                   8843: 
                   8844: 
                   8845: 
                   8846: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8847: 
                   8848: 
                   8849: 
                   8850: 
                   8851: 
                   8852: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8853: 
                   8854: 
                   8855: 
                   8856: 
                   8857: 
1.150     moko     8858: # Check whether --with-pic was given.
                   8859: if test "${with_pic+set}" = set; then :
                   8860:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     8861:     case $withval in
                   8862:     yes|no) pic_mode=$withval ;;
                   8863:     *)
                   8864:       pic_mode=default
                   8865:       # Look at the argument we got.  We use all the common list separators.
                   8866:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8867:       for lt_pkg in $withval; do
                   8868:        IFS="$lt_save_ifs"
                   8869:        if test "X$lt_pkg" = "X$lt_p"; then
                   8870:          pic_mode=yes
                   8871:        fi
                   8872:       done
                   8873:       IFS="$lt_save_ifs"
                   8874:       ;;
                   8875:     esac
                   8876: else
                   8877:   pic_mode=default
1.150     moko     8878: fi
                   8879: 
1.145     moko     8880: 
                   8881: test -z "$pic_mode" && pic_mode=no
                   8882: 
                   8883: 
                   8884: 
                   8885: 
                   8886: 
                   8887: 
1.128     moko     8888: 
                   8889: 
                   8890: 
                   8891: 
1.150     moko     8892:             # Check whether --enable-shared was given.
                   8893: if test "${enable_shared+set}" = set; then :
                   8894:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     8895:     case $enableval in
                   8896:     yes) enable_shared=yes ;;
                   8897:     no) enable_shared=no ;;
                   8898:     *)
                   8899:       enable_shared=no
                   8900:       # Look at the argument we got.  We use all the common list separators.
                   8901:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8902:       for pkg in $enableval; do
                   8903:        IFS="$lt_save_ifs"
                   8904:        if test "X$pkg" = "X$p"; then
                   8905:          enable_shared=yes
                   8906:        fi
                   8907:       done
                   8908:       IFS="$lt_save_ifs"
                   8909:       ;;
                   8910:     esac
                   8911: else
                   8912:   enable_shared=yes
1.150     moko     8913: fi
                   8914: 
1.128     moko     8915: 
                   8916: 
                   8917: 
                   8918: 
                   8919: 
                   8920: 
                   8921: 
                   8922: 
1.150     moko     8923:   # Check whether --enable-static was given.
                   8924: if test "${enable_static+set}" = set; then :
                   8925:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     8926:     case $enableval in
                   8927:     yes) enable_static=yes ;;
                   8928:     no) enable_static=no ;;
                   8929:     *)
                   8930:      enable_static=no
                   8931:       # Look at the argument we got.  We use all the common list separators.
                   8932:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8933:       for pkg in $enableval; do
                   8934:        IFS="$lt_save_ifs"
                   8935:        if test "X$pkg" = "X$p"; then
                   8936:          enable_static=yes
                   8937:        fi
                   8938:       done
                   8939:       IFS="$lt_save_ifs"
                   8940:       ;;
                   8941:     esac
                   8942: else
                   8943:   enable_static=yes
1.150     moko     8944: fi
                   8945: 
1.138     moko     8946: 
                   8947: 
                   8948: 
                   8949: 
                   8950: 
                   8951: 
                   8952: 
1.128     moko     8953: 
                   8954: 
1.150     moko     8955:   # Check whether --enable-fast-install was given.
                   8956: if test "${enable_fast_install+set}" = set; then :
                   8957:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     8958:     case $enableval in
                   8959:     yes) enable_fast_install=yes ;;
                   8960:     no) enable_fast_install=no ;;
                   8961:     *)
                   8962:       enable_fast_install=no
                   8963:       # Look at the argument we got.  We use all the common list separators.
                   8964:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8965:       for pkg in $enableval; do
                   8966:        IFS="$lt_save_ifs"
                   8967:        if test "X$pkg" = "X$p"; then
                   8968:          enable_fast_install=yes
                   8969:        fi
                   8970:       done
                   8971:       IFS="$lt_save_ifs"
                   8972:       ;;
                   8973:     esac
                   8974: else
                   8975:   enable_fast_install=yes
1.150     moko     8976: fi
                   8977: 
1.128     moko     8978: 
                   8979: 
                   8980: 
                   8981: 
                   8982: 
                   8983: 
                   8984: 
                   8985: 
                   8986: 
                   8987: 
                   8988: # This can be used to rebuild libtool when needed
                   8989: LIBTOOL_DEPS="$ltmain"
                   8990: 
                   8991: # Always use our own libtool.
                   8992: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8993: 
                   8994: 
                   8995: 
                   8996: 
                   8997: 
                   8998: 
                   8999: 
                   9000: 
                   9001: 
                   9002: 
                   9003: 
                   9004: 
                   9005: 
                   9006: 
                   9007: 
                   9008: 
                   9009: 
                   9010: 
                   9011: 
                   9012: 
                   9013: 
                   9014: 
                   9015: 
                   9016: 
                   9017: 
                   9018: 
                   9019: 
                   9020: 
                   9021: 
                   9022: 
                   9023: test -z "$LN_S" && LN_S="ln -s"
                   9024: 
                   9025: 
                   9026: 
                   9027: 
                   9028: 
                   9029: 
                   9030: 
                   9031: 
                   9032: 
                   9033: 
                   9034: 
                   9035: 
                   9036: 
                   9037: 
                   9038: if test -n "${ZSH_VERSION+set}" ; then
                   9039:    setopt NO_GLOB_SUBST
                   9040: fi
                   9041: 
1.150     moko     9042: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9043: $as_echo_n "checking for objdir... " >&6; }
                   9044: if ${lt_cv_objdir+:} false; then :
                   9045:   $as_echo_n "(cached) " >&6
1.128     moko     9046: else
                   9047:   rm -f .libs 2>/dev/null
                   9048: mkdir .libs 2>/dev/null
                   9049: if test -d .libs; then
                   9050:   lt_cv_objdir=.libs
                   9051: else
                   9052:   # MS-DOS does not allow filenames that begin with a dot.
                   9053:   lt_cv_objdir=_libs
                   9054: fi
                   9055: rmdir .libs 2>/dev/null
                   9056: fi
1.150     moko     9057: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9058: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9059: objdir=$lt_cv_objdir
                   9060: 
                   9061: 
                   9062: 
                   9063: 
                   9064: 
                   9065: cat >>confdefs.h <<_ACEOF
                   9066: #define LT_OBJDIR "$lt_cv_objdir/"
                   9067: _ACEOF
                   9068: 
                   9069: 
                   9070: 
                   9071: 
                   9072: case $host_os in
                   9073: aix3*)
                   9074:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9075:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9076:   # vanish in a puff of smoke.
                   9077:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9078:     COLLECT_NAMES=
                   9079:     export COLLECT_NAMES
                   9080:   fi
                   9081:   ;;
                   9082: esac
                   9083: 
                   9084: # Global variables:
                   9085: ofile=libtool
                   9086: can_build_shared=yes
                   9087: 
                   9088: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9089: # which needs '.lib').
                   9090: libext=a
                   9091: 
                   9092: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9093: 
                   9094: old_CC="$CC"
                   9095: old_CFLAGS="$CFLAGS"
                   9096: 
                   9097: # Set sane defaults for various variables
                   9098: test -z "$CC" && CC=cc
                   9099: test -z "$LTCC" && LTCC=$CC
                   9100: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9101: test -z "$LD" && LD=ld
                   9102: test -z "$ac_objext" && ac_objext=o
                   9103: 
                   9104: for cc_temp in $compiler""; do
                   9105:   case $cc_temp in
                   9106:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9107:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9108:     \-*) ;;
                   9109:     *) break;;
                   9110:   esac
                   9111: done
                   9112: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9113: 
                   9114: 
                   9115: # Only perform the check for file, if the check method requires it
                   9116: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9117: case $deplibs_check_method in
                   9118: file_magic*)
                   9119:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150     moko     9120:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9121: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9122: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9123:   $as_echo_n "(cached) " >&6
1.128     moko     9124: else
                   9125:   case $MAGIC_CMD in
                   9126: [\\/*] |  ?:[\\/]*)
                   9127:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9128:   ;;
                   9129: *)
                   9130:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9131:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9132:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9133:   for ac_dir in $ac_dummy; do
                   9134:     IFS="$lt_save_ifs"
                   9135:     test -z "$ac_dir" && ac_dir=.
                   9136:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9137:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9138:       if test -n "$file_magic_test_file"; then
                   9139:        case $deplibs_check_method in
                   9140:        "file_magic "*)
                   9141:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9142:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9143:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9144:            $EGREP "$file_magic_regex" > /dev/null; then
                   9145:            :
                   9146:          else
                   9147:            cat <<_LT_EOF 1>&2
                   9148: 
                   9149: *** Warning: the command libtool uses to detect shared libraries,
                   9150: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9151: *** The result is that libtool may fail to recognize shared libraries
                   9152: *** as such.  This will affect the creation of libtool libraries that
                   9153: *** depend on shared libraries, but programs linked with such libtool
                   9154: *** libraries will work regardless of this problem.  Nevertheless, you
                   9155: *** may want to report the problem to your system manager and/or to
                   9156: *** bug-libtool@gnu.org
                   9157: 
                   9158: _LT_EOF
                   9159:          fi ;;
                   9160:        esac
                   9161:       fi
                   9162:       break
                   9163:     fi
                   9164:   done
                   9165:   IFS="$lt_save_ifs"
                   9166:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9167:   ;;
                   9168: esac
                   9169: fi
                   9170: 
                   9171: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9172: if test -n "$MAGIC_CMD"; then
1.150     moko     9173:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9174: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9175: else
1.150     moko     9176:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9177: $as_echo "no" >&6; }
1.128     moko     9178: fi
                   9179: 
                   9180: 
                   9181: 
                   9182: 
                   9183: 
                   9184: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9185:   if test -n "$ac_tool_prefix"; then
1.150     moko     9186:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9187: $as_echo_n "checking for file... " >&6; }
                   9188: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9189:   $as_echo_n "(cached) " >&6
1.128     moko     9190: else
                   9191:   case $MAGIC_CMD in
                   9192: [\\/*] |  ?:[\\/]*)
                   9193:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9194:   ;;
                   9195: *)
                   9196:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9197:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9198:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9199:   for ac_dir in $ac_dummy; do
                   9200:     IFS="$lt_save_ifs"
                   9201:     test -z "$ac_dir" && ac_dir=.
                   9202:     if test -f $ac_dir/file; then
                   9203:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9204:       if test -n "$file_magic_test_file"; then
                   9205:        case $deplibs_check_method in
                   9206:        "file_magic "*)
                   9207:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9208:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9209:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9210:            $EGREP "$file_magic_regex" > /dev/null; then
                   9211:            :
                   9212:          else
                   9213:            cat <<_LT_EOF 1>&2
                   9214: 
                   9215: *** Warning: the command libtool uses to detect shared libraries,
                   9216: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9217: *** The result is that libtool may fail to recognize shared libraries
                   9218: *** as such.  This will affect the creation of libtool libraries that
                   9219: *** depend on shared libraries, but programs linked with such libtool
                   9220: *** libraries will work regardless of this problem.  Nevertheless, you
                   9221: *** may want to report the problem to your system manager and/or to
                   9222: *** bug-libtool@gnu.org
                   9223: 
                   9224: _LT_EOF
                   9225:          fi ;;
                   9226:        esac
                   9227:       fi
                   9228:       break
                   9229:     fi
                   9230:   done
                   9231:   IFS="$lt_save_ifs"
                   9232:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9233:   ;;
                   9234: esac
                   9235: fi
                   9236: 
                   9237: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9238: if test -n "$MAGIC_CMD"; then
1.150     moko     9239:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9240: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9241: else
1.150     moko     9242:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9243: $as_echo "no" >&6; }
1.128     moko     9244: fi
                   9245: 
                   9246: 
                   9247:   else
                   9248:     MAGIC_CMD=:
                   9249:   fi
                   9250: fi
                   9251: 
                   9252:   fi
                   9253:   ;;
                   9254: esac
                   9255: 
                   9256: # Use C for the default configuration in the libtool script
                   9257: 
                   9258: lt_save_CC="$CC"
                   9259: ac_ext=c
                   9260: ac_cpp='$CPP $CPPFLAGS'
                   9261: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9262: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9263: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9264: 
                   9265: 
                   9266: # Source file extension for C test sources.
                   9267: ac_ext=c
                   9268: 
                   9269: # Object file extension for compiled C test sources.
                   9270: objext=o
                   9271: objext=$objext
                   9272: 
                   9273: # Code to be used in simple compile tests
                   9274: lt_simple_compile_test_code="int some_variable = 0;"
                   9275: 
                   9276: # Code to be used in simple link tests
                   9277: lt_simple_link_test_code='int main(){return(0);}'
                   9278: 
                   9279: 
                   9280: 
                   9281: 
                   9282: 
                   9283: 
                   9284: 
                   9285: # If no C compiler was specified, use CC.
                   9286: LTCC=${LTCC-"$CC"}
                   9287: 
                   9288: # If no C compiler flags were specified, use CFLAGS.
                   9289: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9290: 
                   9291: # Allow CC to be a program name with arguments.
                   9292: compiler=$CC
                   9293: 
                   9294: # Save the default compiler, since it gets overwritten when the other
                   9295: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9296: compiler_DEFAULT=$CC
                   9297: 
                   9298: # save warnings/boilerplate of simple test code
                   9299: ac_outfile=conftest.$ac_objext
                   9300: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9301: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9302: _lt_compiler_boilerplate=`cat conftest.err`
                   9303: $RM conftest*
                   9304: 
                   9305: ac_outfile=conftest.$ac_objext
                   9306: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9307: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9308: _lt_linker_boilerplate=`cat conftest.err`
                   9309: $RM -r conftest*
                   9310: 
                   9311: 
                   9312: ## CAVEAT EMPTOR:
                   9313: ## There is no encapsulation within the following macros, do not change
                   9314: ## the running order or otherwise move them around unless you know exactly
                   9315: ## what you are doing...
                   9316: if test -n "$compiler"; then
                   9317: 
                   9318: lt_prog_compiler_no_builtin_flag=
                   9319: 
                   9320: if test "$GCC" = yes; then
                   9321:   case $cc_basename in
                   9322:   nvcc*)
                   9323:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9324:   *)
                   9325:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9326:   esac
                   9327: 
1.150     moko     9328:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9329: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9330: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9331:   $as_echo_n "(cached) " >&6
1.128     moko     9332: else
                   9333:   lt_cv_prog_compiler_rtti_exceptions=no
                   9334:    ac_outfile=conftest.$ac_objext
                   9335:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9336:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9337:    # Insert the option either (1) after the last *FLAGS variable, or
                   9338:    # (2) before a word containing "conftest.", or (3) at the end.
                   9339:    # Note that $ac_compile itself does not contain backslashes and begins
                   9340:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9341:    # The option is referenced via a variable to avoid confusing sed.
                   9342:    lt_compile=`echo "$ac_compile" | $SED \
                   9343:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9344:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9345:    -e 's:$: $lt_compiler_flag:'`
                   9346:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9347:    (eval "$lt_compile" 2>conftest.err)
                   9348:    ac_status=$?
                   9349:    cat conftest.err >&5
                   9350:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9351:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9352:      # The compiler can only warn and ignore the option if not recognized
                   9353:      # So say no if there are warnings other than the usual output.
                   9354:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9355:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9356:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9357:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9358:      fi
                   9359:    fi
                   9360:    $RM conftest*
                   9361: 
                   9362: fi
1.150     moko     9363: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   9364: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9365: 
                   9366: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9367:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9368: else
                   9369:     :
                   9370: fi
                   9371: 
                   9372: fi
                   9373: 
                   9374: 
                   9375: 
                   9376: 
                   9377: 
                   9378: 
                   9379:   lt_prog_compiler_wl=
                   9380: lt_prog_compiler_pic=
                   9381: lt_prog_compiler_static=
                   9382: 
                   9383: 
                   9384:   if test "$GCC" = yes; then
                   9385:     lt_prog_compiler_wl='-Wl,'
                   9386:     lt_prog_compiler_static='-static'
                   9387: 
                   9388:     case $host_os in
                   9389:       aix*)
                   9390:       # All AIX code is PIC.
                   9391:       if test "$host_cpu" = ia64; then
                   9392:        # AIX 5 now supports IA64 processor
                   9393:        lt_prog_compiler_static='-Bstatic'
                   9394:       fi
                   9395:       ;;
                   9396: 
                   9397:     amigaos*)
                   9398:       case $host_cpu in
                   9399:       powerpc)
                   9400:             # see comment about AmigaOS4 .so support
                   9401:             lt_prog_compiler_pic='-fPIC'
                   9402:         ;;
                   9403:       m68k)
                   9404:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9405:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9406:             # like `-m68040'.
                   9407:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9408:         ;;
                   9409:       esac
                   9410:       ;;
                   9411: 
                   9412:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9413:       # PIC is the default for these OSes.
                   9414:       ;;
                   9415: 
                   9416:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9417:       # This hack is so that the source file can tell whether it is being
                   9418:       # built for inclusion in a dll (and should export symbols for example).
                   9419:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9420:       # (--disable-auto-import) libraries
                   9421:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9422:       ;;
                   9423: 
                   9424:     darwin* | rhapsody*)
                   9425:       # PIC is the default on this platform
                   9426:       # Common symbols not allowed in MH_DYLIB files
                   9427:       lt_prog_compiler_pic='-fno-common'
                   9428:       ;;
                   9429: 
                   9430:     haiku*)
                   9431:       # PIC is the default for Haiku.
                   9432:       # The "-static" flag exists, but is broken.
                   9433:       lt_prog_compiler_static=
                   9434:       ;;
                   9435: 
                   9436:     hpux*)
                   9437:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9438:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9439:       # sets the default TLS model and affects inlining.
                   9440:       case $host_cpu in
                   9441:       hppa*64*)
                   9442:        # +Z the default
                   9443:        ;;
                   9444:       *)
                   9445:        lt_prog_compiler_pic='-fPIC'
                   9446:        ;;
                   9447:       esac
                   9448:       ;;
                   9449: 
                   9450:     interix[3-9]*)
                   9451:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9452:       # Instead, we relocate shared libraries at runtime.
                   9453:       ;;
                   9454: 
                   9455:     msdosdjgpp*)
                   9456:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9457:       # on systems that don't support them.
                   9458:       lt_prog_compiler_can_build_shared=no
                   9459:       enable_shared=no
                   9460:       ;;
                   9461: 
                   9462:     *nto* | *qnx*)
                   9463:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9464:       # it will coredump.
                   9465:       lt_prog_compiler_pic='-fPIC -shared'
                   9466:       ;;
                   9467: 
                   9468:     sysv4*MP*)
                   9469:       if test -d /usr/nec; then
                   9470:        lt_prog_compiler_pic=-Kconform_pic
                   9471:       fi
                   9472:       ;;
                   9473: 
                   9474:     *)
                   9475:       lt_prog_compiler_pic='-fPIC'
                   9476:       ;;
                   9477:     esac
                   9478: 
                   9479:     case $cc_basename in
                   9480:     nvcc*) # Cuda Compiler Driver 2.2
                   9481:       lt_prog_compiler_wl='-Xlinker '
                   9482:       if test -n "$lt_prog_compiler_pic"; then
                   9483:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9484:       fi
                   9485:       ;;
                   9486:     esac
                   9487:   else
                   9488:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9489:     case $host_os in
                   9490:     aix*)
                   9491:       lt_prog_compiler_wl='-Wl,'
                   9492:       if test "$host_cpu" = ia64; then
                   9493:        # AIX 5 now supports IA64 processor
                   9494:        lt_prog_compiler_static='-Bstatic'
                   9495:       else
                   9496:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9497:       fi
                   9498:       ;;
                   9499: 
                   9500:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9501:       # This hack is so that the source file can tell whether it is being
                   9502:       # built for inclusion in a dll (and should export symbols for example).
                   9503:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9504:       ;;
                   9505: 
                   9506:     hpux9* | hpux10* | hpux11*)
                   9507:       lt_prog_compiler_wl='-Wl,'
                   9508:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9509:       # not for PA HP-UX.
                   9510:       case $host_cpu in
                   9511:       hppa*64*|ia64*)
                   9512:        # +Z the default
                   9513:        ;;
                   9514:       *)
                   9515:        lt_prog_compiler_pic='+Z'
                   9516:        ;;
                   9517:       esac
                   9518:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   9519:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   9520:       ;;
                   9521: 
                   9522:     irix5* | irix6* | nonstopux*)
                   9523:       lt_prog_compiler_wl='-Wl,'
                   9524:       # PIC (with -KPIC) is the default.
                   9525:       lt_prog_compiler_static='-non_shared'
                   9526:       ;;
                   9527: 
                   9528:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9529:       case $cc_basename in
                   9530:       # old Intel for x86_64 which still supported -KPIC.
                   9531:       ecc*)
                   9532:        lt_prog_compiler_wl='-Wl,'
                   9533:        lt_prog_compiler_pic='-KPIC'
                   9534:        lt_prog_compiler_static='-static'
                   9535:         ;;
                   9536:       # icc used to be incompatible with GCC.
                   9537:       # ICC 10 doesn't accept -KPIC any more.
                   9538:       icc* | ifort*)
                   9539:        lt_prog_compiler_wl='-Wl,'
                   9540:        lt_prog_compiler_pic='-fPIC'
                   9541:        lt_prog_compiler_static='-static'
                   9542:         ;;
                   9543:       # Lahey Fortran 8.1.
                   9544:       lf95*)
                   9545:        lt_prog_compiler_wl='-Wl,'
                   9546:        lt_prog_compiler_pic='--shared'
                   9547:        lt_prog_compiler_static='--static'
                   9548:        ;;
                   9549:       nagfor*)
                   9550:        # NAG Fortran compiler
                   9551:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   9552:        lt_prog_compiler_pic='-PIC'
                   9553:        lt_prog_compiler_static='-Bstatic'
                   9554:        ;;
                   9555:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   9556:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9557:        # which looks to be a dead project)
                   9558:        lt_prog_compiler_wl='-Wl,'
                   9559:        lt_prog_compiler_pic='-fpic'
                   9560:        lt_prog_compiler_static='-Bstatic'
                   9561:         ;;
                   9562:       ccc*)
                   9563:         lt_prog_compiler_wl='-Wl,'
                   9564:         # All Alpha code is PIC.
                   9565:         lt_prog_compiler_static='-non_shared'
                   9566:         ;;
                   9567:       xl* | bgxl* | bgf* | mpixl*)
                   9568:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   9569:        lt_prog_compiler_wl='-Wl,'
                   9570:        lt_prog_compiler_pic='-qpic'
                   9571:        lt_prog_compiler_static='-qstaticlink'
                   9572:        ;;
                   9573:       *)
                   9574:        case `$CC -V 2>&1 | sed 5q` in
                   9575:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   9576:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   9577:          lt_prog_compiler_pic='-KPIC'
                   9578:          lt_prog_compiler_static='-Bstatic'
                   9579:          lt_prog_compiler_wl=''
                   9580:          ;;
                   9581:        *Sun\ F* | *Sun*Fortran*)
                   9582:          lt_prog_compiler_pic='-KPIC'
                   9583:          lt_prog_compiler_static='-Bstatic'
                   9584:          lt_prog_compiler_wl='-Qoption ld '
                   9585:          ;;
                   9586:        *Sun\ C*)
                   9587:          # Sun C 5.9
                   9588:          lt_prog_compiler_pic='-KPIC'
                   9589:          lt_prog_compiler_static='-Bstatic'
                   9590:          lt_prog_compiler_wl='-Wl,'
                   9591:          ;;
                   9592:         *Intel*\ [CF]*Compiler*)
                   9593:          lt_prog_compiler_wl='-Wl,'
                   9594:          lt_prog_compiler_pic='-fPIC'
                   9595:          lt_prog_compiler_static='-static'
                   9596:          ;;
                   9597:        *Portland\ Group*)
                   9598:          lt_prog_compiler_wl='-Wl,'
                   9599:          lt_prog_compiler_pic='-fpic'
                   9600:          lt_prog_compiler_static='-Bstatic'
                   9601:          ;;
                   9602:        esac
                   9603:        ;;
                   9604:       esac
                   9605:       ;;
                   9606: 
                   9607:     newsos6)
                   9608:       lt_prog_compiler_pic='-KPIC'
                   9609:       lt_prog_compiler_static='-Bstatic'
                   9610:       ;;
                   9611: 
                   9612:     *nto* | *qnx*)
                   9613:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9614:       # it will coredump.
                   9615:       lt_prog_compiler_pic='-fPIC -shared'
                   9616:       ;;
                   9617: 
                   9618:     osf3* | osf4* | osf5*)
                   9619:       lt_prog_compiler_wl='-Wl,'
                   9620:       # All OSF/1 code is PIC.
                   9621:       lt_prog_compiler_static='-non_shared'
                   9622:       ;;
                   9623: 
                   9624:     rdos*)
                   9625:       lt_prog_compiler_static='-non_shared'
                   9626:       ;;
                   9627: 
                   9628:     solaris*)
                   9629:       lt_prog_compiler_pic='-KPIC'
                   9630:       lt_prog_compiler_static='-Bstatic'
                   9631:       case $cc_basename in
                   9632:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9633:        lt_prog_compiler_wl='-Qoption ld ';;
                   9634:       *)
                   9635:        lt_prog_compiler_wl='-Wl,';;
                   9636:       esac
                   9637:       ;;
                   9638: 
                   9639:     sunos4*)
                   9640:       lt_prog_compiler_wl='-Qoption ld '
                   9641:       lt_prog_compiler_pic='-PIC'
                   9642:       lt_prog_compiler_static='-Bstatic'
                   9643:       ;;
                   9644: 
                   9645:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9646:       lt_prog_compiler_wl='-Wl,'
                   9647:       lt_prog_compiler_pic='-KPIC'
                   9648:       lt_prog_compiler_static='-Bstatic'
                   9649:       ;;
                   9650: 
                   9651:     sysv4*MP*)
                   9652:       if test -d /usr/nec ;then
                   9653:        lt_prog_compiler_pic='-Kconform_pic'
                   9654:        lt_prog_compiler_static='-Bstatic'
                   9655:       fi
                   9656:       ;;
                   9657: 
                   9658:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9659:       lt_prog_compiler_wl='-Wl,'
                   9660:       lt_prog_compiler_pic='-KPIC'
                   9661:       lt_prog_compiler_static='-Bstatic'
                   9662:       ;;
                   9663: 
                   9664:     unicos*)
                   9665:       lt_prog_compiler_wl='-Wl,'
                   9666:       lt_prog_compiler_can_build_shared=no
                   9667:       ;;
                   9668: 
                   9669:     uts4*)
                   9670:       lt_prog_compiler_pic='-pic'
                   9671:       lt_prog_compiler_static='-Bstatic'
                   9672:       ;;
                   9673: 
                   9674:     *)
                   9675:       lt_prog_compiler_can_build_shared=no
                   9676:       ;;
                   9677:     esac
                   9678:   fi
                   9679: 
                   9680: case $host_os in
                   9681:   # For platforms which do not support PIC, -DPIC is meaningless:
                   9682:   *djgpp*)
                   9683:     lt_prog_compiler_pic=
                   9684:     ;;
                   9685:   *)
                   9686:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9687:     ;;
                   9688: esac
                   9689: 
1.150     moko     9690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   9691: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   9692: if ${lt_cv_prog_compiler_pic+:} false; then :
                   9693:   $as_echo_n "(cached) " >&6
1.128     moko     9694: else
                   9695:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   9696: fi
1.150     moko     9697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   9698: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     9699: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   9700: 
                   9701: #
                   9702: # Check to make sure the PIC flag actually works.
                   9703: #
                   9704: if test -n "$lt_prog_compiler_pic"; then
1.150     moko     9705:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   9706: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   9707: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   9708:   $as_echo_n "(cached) " >&6
1.128     moko     9709: else
                   9710:   lt_cv_prog_compiler_pic_works=no
                   9711:    ac_outfile=conftest.$ac_objext
                   9712:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9713:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   9714:    # Insert the option either (1) after the last *FLAGS variable, or
                   9715:    # (2) before a word containing "conftest.", or (3) at the end.
                   9716:    # Note that $ac_compile itself does not contain backslashes and begins
                   9717:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9718:    # The option is referenced via a variable to avoid confusing sed.
                   9719:    lt_compile=`echo "$ac_compile" | $SED \
                   9720:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9721:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9722:    -e 's:$: $lt_compiler_flag:'`
                   9723:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9724:    (eval "$lt_compile" 2>conftest.err)
                   9725:    ac_status=$?
                   9726:    cat conftest.err >&5
                   9727:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9728:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9729:      # The compiler can only warn and ignore the option if not recognized
                   9730:      # So say no if there are warnings other than the usual output.
                   9731:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9732:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9733:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9734:        lt_cv_prog_compiler_pic_works=yes
                   9735:      fi
                   9736:    fi
                   9737:    $RM conftest*
                   9738: 
                   9739: fi
1.150     moko     9740: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   9741: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     9742: 
                   9743: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   9744:     case $lt_prog_compiler_pic in
                   9745:      "" | " "*) ;;
                   9746:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9747:      esac
                   9748: else
                   9749:     lt_prog_compiler_pic=
                   9750:      lt_prog_compiler_can_build_shared=no
                   9751: fi
                   9752: 
                   9753: fi
                   9754: 
                   9755: 
                   9756: 
                   9757: 
                   9758: 
                   9759: 
                   9760: 
                   9761: 
                   9762: 
                   9763: 
                   9764: 
                   9765: #
                   9766: # Check to make sure the static flag actually works.
                   9767: #
                   9768: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150     moko     9769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   9770: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   9771: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   9772:   $as_echo_n "(cached) " >&6
1.128     moko     9773: else
                   9774:   lt_cv_prog_compiler_static_works=no
                   9775:    save_LDFLAGS="$LDFLAGS"
                   9776:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9777:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9778:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9779:      # The linker can only warn and ignore the option if not recognized
                   9780:      # So say no if there are warnings
                   9781:      if test -s conftest.err; then
                   9782:        # Append any errors to the config.log.
                   9783:        cat conftest.err 1>&5
                   9784:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9785:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9786:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9787:          lt_cv_prog_compiler_static_works=yes
                   9788:        fi
                   9789:      else
                   9790:        lt_cv_prog_compiler_static_works=yes
                   9791:      fi
                   9792:    fi
                   9793:    $RM -r conftest*
                   9794:    LDFLAGS="$save_LDFLAGS"
                   9795: 
                   9796: fi
1.150     moko     9797: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   9798: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     9799: 
                   9800: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   9801:     :
                   9802: else
                   9803:     lt_prog_compiler_static=
                   9804: fi
                   9805: 
                   9806: 
                   9807: 
                   9808: 
                   9809: 
                   9810: 
                   9811: 
1.150     moko     9812:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9813: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9814: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9815:   $as_echo_n "(cached) " >&6
1.128     moko     9816: else
                   9817:   lt_cv_prog_compiler_c_o=no
                   9818:    $RM -r conftest 2>/dev/null
                   9819:    mkdir conftest
                   9820:    cd conftest
                   9821:    mkdir out
                   9822:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9823: 
                   9824:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9825:    # Insert the option either (1) after the last *FLAGS variable, or
                   9826:    # (2) before a word containing "conftest.", or (3) at the end.
                   9827:    # Note that $ac_compile itself does not contain backslashes and begins
                   9828:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9829:    lt_compile=`echo "$ac_compile" | $SED \
                   9830:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9831:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9832:    -e 's:$: $lt_compiler_flag:'`
                   9833:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9834:    (eval "$lt_compile" 2>out/conftest.err)
                   9835:    ac_status=$?
                   9836:    cat out/conftest.err >&5
                   9837:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9838:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9839:    then
                   9840:      # The compiler can only warn and ignore the option if not recognized
                   9841:      # So say no if there are warnings
                   9842:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9843:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9844:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9845:        lt_cv_prog_compiler_c_o=yes
                   9846:      fi
                   9847:    fi
                   9848:    chmod u+w . 2>&5
                   9849:    $RM conftest*
                   9850:    # SGI C++ compiler will create directory out/ii_files/ for
                   9851:    # template instantiation
                   9852:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9853:    $RM out/* && rmdir out
                   9854:    cd ..
                   9855:    $RM -r conftest
                   9856:    $RM conftest*
                   9857: 
                   9858: fi
1.150     moko     9859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9860: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9861: 
                   9862: 
                   9863: 
                   9864: 
                   9865: 
                   9866: 
1.150     moko     9867:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9868: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9869: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9870:   $as_echo_n "(cached) " >&6
1.128     moko     9871: else
                   9872:   lt_cv_prog_compiler_c_o=no
                   9873:    $RM -r conftest 2>/dev/null
                   9874:    mkdir conftest
                   9875:    cd conftest
                   9876:    mkdir out
                   9877:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9878: 
                   9879:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9880:    # Insert the option either (1) after the last *FLAGS variable, or
                   9881:    # (2) before a word containing "conftest.", or (3) at the end.
                   9882:    # Note that $ac_compile itself does not contain backslashes and begins
                   9883:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9884:    lt_compile=`echo "$ac_compile" | $SED \
                   9885:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9886:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9887:    -e 's:$: $lt_compiler_flag:'`
                   9888:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9889:    (eval "$lt_compile" 2>out/conftest.err)
                   9890:    ac_status=$?
                   9891:    cat out/conftest.err >&5
                   9892:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9893:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9894:    then
                   9895:      # The compiler can only warn and ignore the option if not recognized
                   9896:      # So say no if there are warnings
                   9897:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9898:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9899:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9900:        lt_cv_prog_compiler_c_o=yes
                   9901:      fi
                   9902:    fi
                   9903:    chmod u+w . 2>&5
                   9904:    $RM conftest*
                   9905:    # SGI C++ compiler will create directory out/ii_files/ for
                   9906:    # template instantiation
                   9907:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9908:    $RM out/* && rmdir out
                   9909:    cd ..
                   9910:    $RM -r conftest
                   9911:    $RM conftest*
                   9912: 
                   9913: fi
1.150     moko     9914: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9915: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9916: 
                   9917: 
                   9918: 
                   9919: 
                   9920: hard_links="nottested"
                   9921: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9922:   # do not overwrite the value of need_locks provided by the user
1.150     moko     9923:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   9924: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     9925:   hard_links=yes
                   9926:   $RM conftest*
                   9927:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9928:   touch conftest.a
                   9929:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9930:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     9931:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   9932: $as_echo "$hard_links" >&6; }
1.128     moko     9933:   if test "$hard_links" = no; then
1.150     moko     9934:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9935: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     9936:     need_locks=warn
                   9937:   fi
                   9938: else
                   9939:   need_locks=no
                   9940: fi
                   9941: 
                   9942: 
                   9943: 
                   9944: 
                   9945: 
                   9946: 
1.150     moko     9947:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9948: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     9949: 
                   9950:   runpath_var=
                   9951:   allow_undefined_flag=
                   9952:   always_export_symbols=no
                   9953:   archive_cmds=
                   9954:   archive_expsym_cmds=
                   9955:   compiler_needs_object=no
                   9956:   enable_shared_with_static_runtimes=no
                   9957:   export_dynamic_flag_spec=
                   9958:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9959:   hardcode_automatic=no
                   9960:   hardcode_direct=no
                   9961:   hardcode_direct_absolute=no
                   9962:   hardcode_libdir_flag_spec=
                   9963:   hardcode_libdir_separator=
                   9964:   hardcode_minus_L=no
                   9965:   hardcode_shlibpath_var=unsupported
                   9966:   inherit_rpath=no
                   9967:   link_all_deplibs=unknown
                   9968:   module_cmds=
                   9969:   module_expsym_cmds=
                   9970:   old_archive_from_new_cmds=
                   9971:   old_archive_from_expsyms_cmds=
                   9972:   thread_safe_flag_spec=
                   9973:   whole_archive_flag_spec=
                   9974:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9975:   # included in the symbol list
                   9976:   include_expsyms=
                   9977:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9978:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9979:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9980:   # as well as any symbol that contains `d'.
                   9981:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9982:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9983:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9984:   # the symbol is explicitly referenced.  Since portable code cannot
                   9985:   # rely on this symbol name, it's probably fine to never include it in
                   9986:   # preloaded symbol tables.
                   9987:   # Exclude shared library initialization/finalization symbols.
                   9988:   extract_expsyms_cmds=
                   9989: 
                   9990:   case $host_os in
                   9991:   cygwin* | mingw* | pw32* | cegcc*)
                   9992:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9993:     # When not using gcc, we currently assume that we are using
                   9994:     # Microsoft Visual C++.
                   9995:     if test "$GCC" != yes; then
                   9996:       with_gnu_ld=no
                   9997:     fi
                   9998:     ;;
                   9999:   interix*)
                   10000:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   10001:     with_gnu_ld=yes
                   10002:     ;;
                   10003:   openbsd*)
                   10004:     with_gnu_ld=no
                   10005:     ;;
                   10006:   esac
                   10007: 
                   10008:   ld_shlibs=yes
                   10009: 
                   10010:   # On some targets, GNU ld is compatible enough with the native linker
                   10011:   # that we're better off using the native interface for both.
                   10012:   lt_use_gnu_ld_interface=no
                   10013:   if test "$with_gnu_ld" = yes; then
                   10014:     case $host_os in
                   10015:       aix*)
                   10016:        # The AIX port of GNU ld has always aspired to compatibility
                   10017:        # with the native linker.  However, as the warning in the GNU ld
                   10018:        # block says, versions before 2.19.5* couldn't really create working
                   10019:        # shared libraries, regardless of the interface used.
                   10020:        case `$LD -v 2>&1` in
                   10021:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10022:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10023:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10024:          *)
                   10025:            lt_use_gnu_ld_interface=yes
                   10026:            ;;
                   10027:        esac
                   10028:        ;;
                   10029:       *)
                   10030:        lt_use_gnu_ld_interface=yes
                   10031:        ;;
                   10032:     esac
                   10033:   fi
                   10034: 
                   10035:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10036:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10037:     wlarc='${wl}'
                   10038: 
                   10039:     # Set some defaults for GNU ld with shared library support. These
                   10040:     # are reset later if shared libraries are not supported. Putting them
                   10041:     # here allows them to be overridden if necessary.
                   10042:     runpath_var=LD_RUN_PATH
                   10043:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10044:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10045:     # ancient GNU ld didn't support --whole-archive et. al.
                   10046:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10047:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10048:     else
                   10049:       whole_archive_flag_spec=
                   10050:     fi
                   10051:     supports_anon_versioning=no
                   10052:     case `$LD -v 2>&1` in
                   10053:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10054:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10055:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10056:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10057:       *\ 2.11.*) ;; # other 2.11 versions
                   10058:       *) supports_anon_versioning=yes ;;
                   10059:     esac
                   10060: 
                   10061:     # See if GNU ld supports shared libraries.
                   10062:     case $host_os in
                   10063:     aix[3-9]*)
                   10064:       # On AIX/PPC, the GNU linker is very broken
                   10065:       if test "$host_cpu" != ia64; then
                   10066:        ld_shlibs=no
                   10067:        cat <<_LT_EOF 1>&2
                   10068: 
                   10069: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10070: *** to be unable to reliably create shared libraries on AIX.
                   10071: *** Therefore, libtool is disabling shared libraries support.  If you
                   10072: *** really care for shared libraries, you may want to install binutils
                   10073: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10074: *** You will then need to restart the configuration process.
                   10075: 
                   10076: _LT_EOF
                   10077:       fi
                   10078:       ;;
                   10079: 
                   10080:     amigaos*)
                   10081:       case $host_cpu in
                   10082:       powerpc)
                   10083:             # see comment about AmigaOS4 .so support
                   10084:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10085:             archive_expsym_cmds=''
                   10086:         ;;
                   10087:       m68k)
                   10088:             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)'
                   10089:             hardcode_libdir_flag_spec='-L$libdir'
                   10090:             hardcode_minus_L=yes
                   10091:         ;;
                   10092:       esac
                   10093:       ;;
                   10094: 
                   10095:     beos*)
                   10096:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10097:        allow_undefined_flag=unsupported
                   10098:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10099:        # support --undefined.  This deserves some investigation.  FIXME
                   10100:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10101:       else
                   10102:        ld_shlibs=no
                   10103:       fi
                   10104:       ;;
                   10105: 
                   10106:     cygwin* | mingw* | pw32* | cegcc*)
                   10107:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10108:       # as there is no search path for DLLs.
                   10109:       hardcode_libdir_flag_spec='-L$libdir'
                   10110:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10111:       allow_undefined_flag=unsupported
                   10112:       always_export_symbols=no
                   10113:       enable_shared_with_static_runtimes=yes
                   10114:       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'
                   10115:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10116: 
                   10117:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10118:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10119:        # If the export-symbols file already is a .def file (1st line
                   10120:        # is EXPORTS), use it as is; otherwise, prepend...
                   10121:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10122:          cp $export_symbols $output_objdir/$soname.def;
                   10123:        else
                   10124:          echo EXPORTS > $output_objdir/$soname.def;
                   10125:          cat $export_symbols >> $output_objdir/$soname.def;
                   10126:        fi~
                   10127:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10128:       else
                   10129:        ld_shlibs=no
                   10130:       fi
                   10131:       ;;
                   10132: 
                   10133:     haiku*)
                   10134:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10135:       link_all_deplibs=yes
                   10136:       ;;
                   10137: 
                   10138:     interix[3-9]*)
                   10139:       hardcode_direct=no
                   10140:       hardcode_shlibpath_var=no
                   10141:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10142:       export_dynamic_flag_spec='${wl}-E'
                   10143:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10144:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10145:       # default) and relocated if they conflict, which is a slow very memory
                   10146:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10147:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10148:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10149:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10150:       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'
                   10151:       ;;
                   10152: 
                   10153:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10154:       tmp_diet=no
                   10155:       if test "$host_os" = linux-dietlibc; then
                   10156:        case $cc_basename in
                   10157:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10158:        esac
                   10159:       fi
                   10160:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10161:         && test "$tmp_diet" = no
                   10162:       then
                   10163:        tmp_addflag=' $pic_flag'
                   10164:        tmp_sharedflag='-shared'
                   10165:        case $cc_basename,$host_cpu in
                   10166:         pgcc*)                         # Portland Group C compiler
                   10167:          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'
                   10168:          tmp_addflag=' $pic_flag'
                   10169:          ;;
                   10170:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10171:                                        # Portland Group f77 and f90 compilers
                   10172:          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'
                   10173:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10174:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10175:          tmp_addflag=' -i_dynamic' ;;
                   10176:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10177:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10178:        ifc* | ifort*)                  # Intel Fortran compiler
                   10179:          tmp_addflag=' -nofor_main' ;;
                   10180:        lf95*)                          # Lahey Fortran 8.1
                   10181:          whole_archive_flag_spec=
                   10182:          tmp_sharedflag='--shared' ;;
                   10183:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10184:          tmp_sharedflag='-qmkshrobj'
                   10185:          tmp_addflag= ;;
                   10186:        nvcc*)  # Cuda Compiler Driver 2.2
                   10187:          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'
                   10188:          compiler_needs_object=yes
                   10189:          ;;
                   10190:        esac
                   10191:        case `$CC -V 2>&1 | sed 5q` in
                   10192:        *Sun\ C*)                       # Sun C 5.9
                   10193:          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'
                   10194:          compiler_needs_object=yes
                   10195:          tmp_sharedflag='-G' ;;
                   10196:        *Sun\ F*)                       # Sun Fortran 8.3
                   10197:          tmp_sharedflag='-G' ;;
                   10198:        esac
                   10199:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10200: 
                   10201:         if test "x$supports_anon_versioning" = xyes; then
                   10202:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10203:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10204:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10205:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10206:         fi
                   10207: 
                   10208:        case $cc_basename in
                   10209:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10210:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10211:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10212:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10213:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10214:          if test "x$supports_anon_versioning" = xyes; then
                   10215:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10216:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10217:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10218:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10219:          fi
                   10220:          ;;
                   10221:        esac
                   10222:       else
                   10223:         ld_shlibs=no
                   10224:       fi
                   10225:       ;;
                   10226: 
                   10227:     netbsd*)
                   10228:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10229:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10230:        wlarc=
                   10231:       else
                   10232:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10233:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10234:       fi
                   10235:       ;;
                   10236: 
                   10237:     solaris*)
                   10238:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10239:        ld_shlibs=no
                   10240:        cat <<_LT_EOF 1>&2
                   10241: 
                   10242: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10243: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10244: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10245: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10246: *** your PATH or compiler configuration so that the native linker is
                   10247: *** used, and then restart.
                   10248: 
                   10249: _LT_EOF
                   10250:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10251:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10252:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10253:       else
                   10254:        ld_shlibs=no
                   10255:       fi
                   10256:       ;;
                   10257: 
                   10258:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10259:       case `$LD -v 2>&1` in
                   10260:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10261:        ld_shlibs=no
                   10262:        cat <<_LT_EOF 1>&2
                   10263: 
                   10264: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10265: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10266: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10267: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10268: *** your PATH or compiler configuration so that the native linker is
                   10269: *** used, and then restart.
                   10270: 
                   10271: _LT_EOF
                   10272:        ;;
                   10273:        *)
                   10274:          # For security reasons, it is highly recommended that you always
                   10275:          # use absolute paths for naming shared libraries, and exclude the
                   10276:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10277:          # requires that you compile everything twice, which is a pain.
                   10278:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10279:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10280:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10281:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10282:          else
                   10283:            ld_shlibs=no
                   10284:          fi
                   10285:        ;;
                   10286:       esac
                   10287:       ;;
                   10288: 
                   10289:     sunos4*)
                   10290:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10291:       wlarc=
                   10292:       hardcode_direct=yes
                   10293:       hardcode_shlibpath_var=no
                   10294:       ;;
                   10295: 
                   10296:     *)
                   10297:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10298:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10299:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10300:       else
                   10301:        ld_shlibs=no
                   10302:       fi
                   10303:       ;;
                   10304:     esac
                   10305: 
                   10306:     if test "$ld_shlibs" = no; then
                   10307:       runpath_var=
                   10308:       hardcode_libdir_flag_spec=
                   10309:       export_dynamic_flag_spec=
                   10310:       whole_archive_flag_spec=
                   10311:     fi
                   10312:   else
                   10313:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10314:     case $host_os in
                   10315:     aix3*)
                   10316:       allow_undefined_flag=unsupported
                   10317:       always_export_symbols=yes
                   10318:       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'
                   10319:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10320:       # are no directories specified by -L.
                   10321:       hardcode_minus_L=yes
                   10322:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10323:        # Neither direct hardcoding nor static linking is supported with a
                   10324:        # broken collect2.
                   10325:        hardcode_direct=unsupported
                   10326:       fi
                   10327:       ;;
                   10328: 
                   10329:     aix[4-9]*)
                   10330:       if test "$host_cpu" = ia64; then
                   10331:        # On IA64, the linker does run time linking by default, so we don't
                   10332:        # have to do anything special.
                   10333:        aix_use_runtimelinking=no
                   10334:        exp_sym_flag='-Bexport'
                   10335:        no_entry_flag=""
                   10336:       else
                   10337:        # If we're using GNU nm, then we don't want the "-C" option.
                   10338:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10339:        # Also, AIX nm treats weak defined symbols like other global
                   10340:        # defined symbols, whereas GNU nm marks them as "W".
                   10341:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10342:          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'
                   10343:        else
                   10344:          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'
                   10345:        fi
                   10346:        aix_use_runtimelinking=no
                   10347: 
                   10348:        # Test if we are trying to use run time linking or normal
                   10349:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10350:        # need to do runtime linking.
                   10351:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10352:          for ld_flag in $LDFLAGS; do
                   10353:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10354:            aix_use_runtimelinking=yes
                   10355:            break
                   10356:          fi
                   10357:          done
                   10358:          ;;
                   10359:        esac
                   10360: 
                   10361:        exp_sym_flag='-bexport'
                   10362:        no_entry_flag='-bnoentry'
                   10363:       fi
                   10364: 
                   10365:       # When large executables or shared objects are built, AIX ld can
                   10366:       # have problems creating the table of contents.  If linking a library
                   10367:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10368:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10369:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10370: 
                   10371:       archive_cmds=''
                   10372:       hardcode_direct=yes
                   10373:       hardcode_direct_absolute=yes
                   10374:       hardcode_libdir_separator=':'
                   10375:       link_all_deplibs=yes
                   10376:       file_list_spec='${wl}-f,'
                   10377: 
                   10378:       if test "$GCC" = yes; then
                   10379:        case $host_os in aix4.[012]|aix4.[012].*)
                   10380:        # We only want to do this on AIX 4.2 and lower, the check
                   10381:        # below for broken collect2 doesn't work under 4.3+
                   10382:          collect2name=`${CC} -print-prog-name=collect2`
                   10383:          if test -f "$collect2name" &&
                   10384:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10385:          then
                   10386:          # We have reworked collect2
                   10387:          :
                   10388:          else
                   10389:          # We have old collect2
                   10390:          hardcode_direct=unsupported
                   10391:          # It fails to find uninstalled libraries when the uninstalled
                   10392:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10393:          # to unsupported forces relinking
                   10394:          hardcode_minus_L=yes
                   10395:          hardcode_libdir_flag_spec='-L$libdir'
                   10396:          hardcode_libdir_separator=
                   10397:          fi
                   10398:          ;;
                   10399:        esac
                   10400:        shared_flag='-shared'
                   10401:        if test "$aix_use_runtimelinking" = yes; then
                   10402:          shared_flag="$shared_flag "'${wl}-G'
                   10403:        fi
                   10404:       else
                   10405:        # not using gcc
                   10406:        if test "$host_cpu" = ia64; then
                   10407:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10408:        # chokes on -Wl,-G. The following line is correct:
                   10409:          shared_flag='-G'
                   10410:        else
                   10411:          if test "$aix_use_runtimelinking" = yes; then
                   10412:            shared_flag='${wl}-G'
                   10413:          else
                   10414:            shared_flag='${wl}-bM:SRE'
                   10415:          fi
                   10416:        fi
                   10417:       fi
                   10418: 
                   10419:       export_dynamic_flag_spec='${wl}-bexpall'
                   10420:       # It seems that -bexpall does not export symbols beginning with
                   10421:       # underscore (_), so it is better to generate a list of symbols to export.
                   10422:       always_export_symbols=yes
                   10423:       if test "$aix_use_runtimelinking" = yes; then
                   10424:        # Warning - without using the other runtime loading flags (-brtl),
                   10425:        # -berok will link without error, but may produce a broken library.
                   10426:        allow_undefined_flag='-berok'
                   10427:         # Determine the default libpath from the value encoded in an
                   10428:         # empty executable.
                   10429:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10430:   aix_libpath=$lt_cv_aix_libpath
                   10431: else
1.150     moko     10432:   if ${lt_cv_aix_libpath_+:} false; then :
                   10433:   $as_echo_n "(cached) " >&6
1.128     moko     10434: else
1.150     moko     10435:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10436: /* end confdefs.h.  */
                   10437: 
                   10438: int
                   10439: main ()
                   10440: {
                   10441: 
                   10442:   ;
                   10443:   return 0;
                   10444: }
                   10445: _ACEOF
1.150     moko     10446: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10447: 
                   10448:   lt_aix_libpath_sed='
                   10449:       /Import File Strings/,/^$/ {
                   10450:          /^0/ {
                   10451:              s/^0  *\([^ ]*\) *$/\1/
                   10452:              p
                   10453:          }
                   10454:       }'
                   10455:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10456:   # Check for a 64-bit object if we didn't find anything.
                   10457:   if test -z "$lt_cv_aix_libpath_"; then
                   10458:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10459:   fi
                   10460: fi
1.150     moko     10461: rm -f core conftest.err conftest.$ac_objext \
                   10462:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10463:   if test -z "$lt_cv_aix_libpath_"; then
                   10464:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10465:   fi
                   10466: 
                   10467: fi
                   10468: 
                   10469:   aix_libpath=$lt_cv_aix_libpath_
                   10470: fi
                   10471: 
                   10472:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10473:         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"
                   10474:       else
                   10475:        if test "$host_cpu" = ia64; then
                   10476:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   10477:          allow_undefined_flag="-z nodefs"
                   10478:          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"
                   10479:        else
                   10480:         # Determine the default libpath from the value encoded in an
                   10481:         # empty executable.
                   10482:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10483:   aix_libpath=$lt_cv_aix_libpath
                   10484: else
1.150     moko     10485:   if ${lt_cv_aix_libpath_+:} false; then :
                   10486:   $as_echo_n "(cached) " >&6
1.128     moko     10487: else
1.150     moko     10488:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10489: /* end confdefs.h.  */
                   10490: 
                   10491: int
                   10492: main ()
                   10493: {
                   10494: 
                   10495:   ;
                   10496:   return 0;
                   10497: }
                   10498: _ACEOF
1.150     moko     10499: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10500: 
                   10501:   lt_aix_libpath_sed='
                   10502:       /Import File Strings/,/^$/ {
                   10503:          /^0/ {
                   10504:              s/^0  *\([^ ]*\) *$/\1/
                   10505:              p
                   10506:          }
                   10507:       }'
                   10508:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10509:   # Check for a 64-bit object if we didn't find anything.
                   10510:   if test -z "$lt_cv_aix_libpath_"; then
                   10511:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10512:   fi
                   10513: fi
1.150     moko     10514: rm -f core conftest.err conftest.$ac_objext \
                   10515:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10516:   if test -z "$lt_cv_aix_libpath_"; then
                   10517:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10518:   fi
                   10519: 
                   10520: fi
                   10521: 
                   10522:   aix_libpath=$lt_cv_aix_libpath_
                   10523: fi
                   10524: 
                   10525:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10526:          # Warning - without using the other run time loading flags,
                   10527:          # -berok will link without error, but may produce a broken library.
                   10528:          no_undefined_flag=' ${wl}-bernotok'
                   10529:          allow_undefined_flag=' ${wl}-berok'
                   10530:          if test "$with_gnu_ld" = yes; then
                   10531:            # We only use this code for GNU lds that support --whole-archive.
                   10532:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   10533:          else
                   10534:            # Exported symbols can be pulled into shared objects from archives
                   10535:            whole_archive_flag_spec='$convenience'
                   10536:          fi
                   10537:          archive_cmds_need_lc=yes
                   10538:          # This is similar to how AIX traditionally builds its shared libraries.
                   10539:          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'
                   10540:        fi
                   10541:       fi
                   10542:       ;;
                   10543: 
                   10544:     amigaos*)
                   10545:       case $host_cpu in
                   10546:       powerpc)
                   10547:             # see comment about AmigaOS4 .so support
                   10548:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10549:             archive_expsym_cmds=''
                   10550:         ;;
                   10551:       m68k)
                   10552:             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)'
                   10553:             hardcode_libdir_flag_spec='-L$libdir'
                   10554:             hardcode_minus_L=yes
                   10555:         ;;
                   10556:       esac
                   10557:       ;;
                   10558: 
                   10559:     bsdi[45]*)
                   10560:       export_dynamic_flag_spec=-rdynamic
                   10561:       ;;
                   10562: 
                   10563:     cygwin* | mingw* | pw32* | cegcc*)
                   10564:       # When not using gcc, we currently assume that we are using
                   10565:       # Microsoft Visual C++.
                   10566:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10567:       # no search path for DLLs.
                   10568:       case $cc_basename in
                   10569:       cl*)
                   10570:        # Native MSVC
                   10571:        hardcode_libdir_flag_spec=' '
                   10572:        allow_undefined_flag=unsupported
                   10573:        always_export_symbols=yes
                   10574:        file_list_spec='@'
                   10575:        # Tell ltmain to make .lib files, not .a files.
                   10576:        libext=lib
                   10577:        # Tell ltmain to make .dll files, not .so files.
                   10578:        shrext_cmds=".dll"
                   10579:        # FIXME: Setting linknames here is a bad hack.
                   10580:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   10581:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10582:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   10583:          else
                   10584:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   10585:          fi~
                   10586:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10587:          linknames='
                   10588:        # The linker will not automatically build a static lib if we build a DLL.
                   10589:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10590:        enable_shared_with_static_runtimes=yes
                   10591:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10592:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10593:        # Don't use ranlib
                   10594:        old_postinstall_cmds='chmod 644 $oldlib'
                   10595:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10596:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10597:          case $lt_outputfile in
                   10598:            *.exe|*.EXE) ;;
                   10599:            *)
                   10600:              lt_outputfile="$lt_outputfile.exe"
                   10601:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10602:              ;;
                   10603:          esac~
                   10604:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10605:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10606:            $RM "$lt_outputfile.manifest";
                   10607:          fi'
                   10608:        ;;
                   10609:       *)
                   10610:        # Assume MSVC wrapper
                   10611:        hardcode_libdir_flag_spec=' '
                   10612:        allow_undefined_flag=unsupported
                   10613:        # Tell ltmain to make .lib files, not .a files.
                   10614:        libext=lib
                   10615:        # Tell ltmain to make .dll files, not .so files.
                   10616:        shrext_cmds=".dll"
                   10617:        # FIXME: Setting linknames here is a bad hack.
                   10618:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10619:        # The linker will automatically build a .lib file if we build a DLL.
                   10620:        old_archive_from_new_cmds='true'
                   10621:        # FIXME: Should let the user specify the lib program.
                   10622:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10623:        enable_shared_with_static_runtimes=yes
                   10624:        ;;
                   10625:       esac
                   10626:       ;;
                   10627: 
                   10628:     darwin* | rhapsody*)
                   10629: 
                   10630: 
                   10631:   archive_cmds_need_lc=no
                   10632:   hardcode_direct=no
                   10633:   hardcode_automatic=yes
                   10634:   hardcode_shlibpath_var=unsupported
                   10635:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10636:     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\"`'
                   10637: 
                   10638:   else
                   10639:     whole_archive_flag_spec=''
                   10640:   fi
                   10641:   link_all_deplibs=yes
                   10642:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10643:   case $cc_basename in
                   10644:      ifort*) _lt_dar_can_shared=yes ;;
                   10645:      *) _lt_dar_can_shared=$GCC ;;
                   10646:   esac
                   10647:   if test "$_lt_dar_can_shared" = "yes"; then
                   10648:     output_verbose_link_cmd=func_echo_all
                   10649:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10650:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   10651:     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}"
                   10652:     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}"
                   10653: 
                   10654:   else
                   10655:   ld_shlibs=no
                   10656:   fi
                   10657: 
                   10658:       ;;
                   10659: 
                   10660:     dgux*)
                   10661:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10662:       hardcode_libdir_flag_spec='-L$libdir'
                   10663:       hardcode_shlibpath_var=no
                   10664:       ;;
                   10665: 
                   10666:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   10667:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   10668:     # does not break anything, and helps significantly (at the cost of a little
                   10669:     # extra space).
                   10670:     freebsd2.2*)
                   10671:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   10672:       hardcode_libdir_flag_spec='-R$libdir'
                   10673:       hardcode_direct=yes
                   10674:       hardcode_shlibpath_var=no
                   10675:       ;;
                   10676: 
                   10677:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   10678:     freebsd2.*)
                   10679:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10680:       hardcode_direct=yes
                   10681:       hardcode_minus_L=yes
                   10682:       hardcode_shlibpath_var=no
                   10683:       ;;
                   10684: 
                   10685:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   10686:     freebsd* | dragonfly*)
                   10687:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10688:       hardcode_libdir_flag_spec='-R$libdir'
                   10689:       hardcode_direct=yes
                   10690:       hardcode_shlibpath_var=no
                   10691:       ;;
                   10692: 
                   10693:     hpux9*)
                   10694:       if test "$GCC" = yes; then
                   10695:        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'
                   10696:       else
                   10697:        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'
                   10698:       fi
                   10699:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10700:       hardcode_libdir_separator=:
                   10701:       hardcode_direct=yes
                   10702: 
                   10703:       # hardcode_minus_L: Not really in the search PATH,
                   10704:       # but as the default location of the library.
                   10705:       hardcode_minus_L=yes
                   10706:       export_dynamic_flag_spec='${wl}-E'
                   10707:       ;;
                   10708: 
                   10709:     hpux10*)
                   10710:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10711:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10712:       else
                   10713:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10714:       fi
                   10715:       if test "$with_gnu_ld" = no; then
                   10716:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10717:        hardcode_libdir_separator=:
                   10718:        hardcode_direct=yes
                   10719:        hardcode_direct_absolute=yes
                   10720:        export_dynamic_flag_spec='${wl}-E'
                   10721:        # hardcode_minus_L: Not really in the search PATH,
                   10722:        # but as the default location of the library.
                   10723:        hardcode_minus_L=yes
                   10724:       fi
                   10725:       ;;
                   10726: 
                   10727:     hpux11*)
                   10728:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10729:        case $host_cpu in
                   10730:        hppa*64*)
                   10731:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10732:          ;;
                   10733:        ia64*)
                   10734:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10735:          ;;
                   10736:        *)
                   10737:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10738:          ;;
                   10739:        esac
                   10740:       else
                   10741:        case $host_cpu in
                   10742:        hppa*64*)
                   10743:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10744:          ;;
                   10745:        ia64*)
                   10746:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10747:          ;;
                   10748:        *)
                   10749: 
                   10750:          # Older versions of the 11.00 compiler do not understand -b yet
                   10751:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150     moko     10752:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   10753: $as_echo_n "checking if $CC understands -b... " >&6; }
                   10754: if ${lt_cv_prog_compiler__b+:} false; then :
                   10755:   $as_echo_n "(cached) " >&6
1.128     moko     10756: else
                   10757:   lt_cv_prog_compiler__b=no
                   10758:    save_LDFLAGS="$LDFLAGS"
                   10759:    LDFLAGS="$LDFLAGS -b"
                   10760:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10761:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10762:      # The linker can only warn and ignore the option if not recognized
                   10763:      # So say no if there are warnings
                   10764:      if test -s conftest.err; then
                   10765:        # Append any errors to the config.log.
                   10766:        cat conftest.err 1>&5
                   10767:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10768:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10769:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10770:          lt_cv_prog_compiler__b=yes
                   10771:        fi
                   10772:      else
                   10773:        lt_cv_prog_compiler__b=yes
                   10774:      fi
                   10775:    fi
                   10776:    $RM -r conftest*
                   10777:    LDFLAGS="$save_LDFLAGS"
                   10778: 
                   10779: fi
1.150     moko     10780: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   10781: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     10782: 
                   10783: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10784:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10785: else
                   10786:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10787: fi
                   10788: 
                   10789:          ;;
                   10790:        esac
                   10791:       fi
                   10792:       if test "$with_gnu_ld" = no; then
                   10793:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10794:        hardcode_libdir_separator=:
                   10795: 
                   10796:        case $host_cpu in
                   10797:        hppa*64*|ia64*)
                   10798:          hardcode_direct=no
                   10799:          hardcode_shlibpath_var=no
                   10800:          ;;
                   10801:        *)
                   10802:          hardcode_direct=yes
                   10803:          hardcode_direct_absolute=yes
                   10804:          export_dynamic_flag_spec='${wl}-E'
                   10805: 
                   10806:          # hardcode_minus_L: Not really in the search PATH,
                   10807:          # but as the default location of the library.
                   10808:          hardcode_minus_L=yes
                   10809:          ;;
                   10810:        esac
                   10811:       fi
                   10812:       ;;
                   10813: 
                   10814:     irix5* | irix6* | nonstopux*)
                   10815:       if test "$GCC" = yes; then
                   10816:        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'
                   10817:        # Try to use the -exported_symbol ld option, if it does not
                   10818:        # work, assume that -exports_file does not work either and
                   10819:        # implicitly export all symbols.
                   10820:        # This should be the same for all languages, so no per-tag cache variable.
1.150     moko     10821:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10822: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   10823: if ${lt_cv_irix_exported_symbol+:} false; then :
                   10824:   $as_echo_n "(cached) " >&6
1.128     moko     10825: else
                   10826:   save_LDFLAGS="$LDFLAGS"
                   10827:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150     moko     10828:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10829: /* end confdefs.h.  */
                   10830: int foo (void) { return 0; }
                   10831: _ACEOF
1.150     moko     10832: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10833:   lt_cv_irix_exported_symbol=yes
                   10834: else
1.150     moko     10835:   lt_cv_irix_exported_symbol=no
1.128     moko     10836: fi
1.150     moko     10837: rm -f core conftest.err conftest.$ac_objext \
                   10838:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10839:            LDFLAGS="$save_LDFLAGS"
                   10840: fi
1.150     moko     10841: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   10842: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     10843:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10844:           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'
                   10845:        fi
                   10846:       else
                   10847:        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'
                   10848:        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'
                   10849:       fi
                   10850:       archive_cmds_need_lc='no'
                   10851:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10852:       hardcode_libdir_separator=:
                   10853:       inherit_rpath=yes
                   10854:       link_all_deplibs=yes
                   10855:       ;;
                   10856: 
                   10857:     netbsd*)
                   10858:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10859:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10860:       else
                   10861:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10862:       fi
                   10863:       hardcode_libdir_flag_spec='-R$libdir'
                   10864:       hardcode_direct=yes
                   10865:       hardcode_shlibpath_var=no
                   10866:       ;;
                   10867: 
                   10868:     newsos6)
                   10869:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10870:       hardcode_direct=yes
                   10871:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10872:       hardcode_libdir_separator=:
                   10873:       hardcode_shlibpath_var=no
                   10874:       ;;
                   10875: 
                   10876:     *nto* | *qnx*)
                   10877:       ;;
                   10878: 
                   10879:     openbsd*)
                   10880:       if test -f /usr/libexec/ld.so; then
                   10881:        hardcode_direct=yes
                   10882:        hardcode_shlibpath_var=no
                   10883:        hardcode_direct_absolute=yes
                   10884:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10885:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10886:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10887:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10888:          export_dynamic_flag_spec='${wl}-E'
                   10889:        else
                   10890:          case $host_os in
                   10891:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10892:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10893:             hardcode_libdir_flag_spec='-R$libdir'
                   10894:             ;;
                   10895:           *)
                   10896:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10897:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10898:             ;;
                   10899:          esac
                   10900:        fi
                   10901:       else
                   10902:        ld_shlibs=no
                   10903:       fi
                   10904:       ;;
                   10905: 
                   10906:     os2*)
                   10907:       hardcode_libdir_flag_spec='-L$libdir'
                   10908:       hardcode_minus_L=yes
                   10909:       allow_undefined_flag=unsupported
                   10910:       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'
                   10911:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10912:       ;;
                   10913: 
                   10914:     osf3*)
                   10915:       if test "$GCC" = yes; then
                   10916:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10917:        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'
                   10918:       else
                   10919:        allow_undefined_flag=' -expect_unresolved \*'
                   10920:        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'
                   10921:       fi
                   10922:       archive_cmds_need_lc='no'
                   10923:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10924:       hardcode_libdir_separator=:
                   10925:       ;;
                   10926: 
                   10927:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10928:       if test "$GCC" = yes; then
                   10929:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10930:        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'
                   10931:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10932:       else
                   10933:        allow_undefined_flag=' -expect_unresolved \*'
                   10934:        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'
                   10935:        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~
                   10936:        $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'
                   10937: 
                   10938:        # Both c and cxx compiler support -rpath directly
                   10939:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10940:       fi
                   10941:       archive_cmds_need_lc='no'
                   10942:       hardcode_libdir_separator=:
                   10943:       ;;
                   10944: 
                   10945:     solaris*)
                   10946:       no_undefined_flag=' -z defs'
                   10947:       if test "$GCC" = yes; then
                   10948:        wlarc='${wl}'
                   10949:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10950:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10951:          $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'
                   10952:       else
                   10953:        case `$CC -V 2>&1` in
                   10954:        *"Compilers 5.0"*)
                   10955:          wlarc=''
                   10956:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10957:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10958:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10959:          ;;
                   10960:        *)
                   10961:          wlarc='${wl}'
                   10962:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10963:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10964:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10965:          ;;
                   10966:        esac
                   10967:       fi
                   10968:       hardcode_libdir_flag_spec='-R$libdir'
                   10969:       hardcode_shlibpath_var=no
                   10970:       case $host_os in
                   10971:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10972:       *)
                   10973:        # The compiler driver will combine and reorder linker options,
                   10974:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10975:        # but is careful enough not to reorder.
                   10976:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10977:        if test "$GCC" = yes; then
                   10978:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10979:        else
                   10980:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10981:        fi
                   10982:        ;;
                   10983:       esac
                   10984:       link_all_deplibs=yes
                   10985:       ;;
                   10986: 
                   10987:     sunos4*)
                   10988:       if test "x$host_vendor" = xsequent; then
                   10989:        # Use $CC to link under sequent, because it throws in some extra .o
                   10990:        # files that make .init and .fini sections work.
                   10991:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10992:       else
                   10993:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10994:       fi
                   10995:       hardcode_libdir_flag_spec='-L$libdir'
                   10996:       hardcode_direct=yes
                   10997:       hardcode_minus_L=yes
                   10998:       hardcode_shlibpath_var=no
                   10999:       ;;
                   11000: 
                   11001:     sysv4)
                   11002:       case $host_vendor in
                   11003:        sni)
                   11004:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11005:          hardcode_direct=yes # is this really true???
                   11006:        ;;
                   11007:        siemens)
                   11008:          ## LD is ld it makes a PLAMLIB
                   11009:          ## CC just makes a GrossModule.
                   11010:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11011:          reload_cmds='$CC -r -o $output$reload_objs'
                   11012:          hardcode_direct=no
                   11013:         ;;
                   11014:        motorola)
                   11015:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11016:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11017:        ;;
                   11018:       esac
                   11019:       runpath_var='LD_RUN_PATH'
                   11020:       hardcode_shlibpath_var=no
                   11021:       ;;
                   11022: 
                   11023:     sysv4.3*)
                   11024:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11025:       hardcode_shlibpath_var=no
                   11026:       export_dynamic_flag_spec='-Bexport'
                   11027:       ;;
                   11028: 
                   11029:     sysv4*MP*)
                   11030:       if test -d /usr/nec; then
                   11031:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11032:        hardcode_shlibpath_var=no
                   11033:        runpath_var=LD_RUN_PATH
                   11034:        hardcode_runpath_var=yes
                   11035:        ld_shlibs=yes
                   11036:       fi
                   11037:       ;;
                   11038: 
                   11039:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11040:       no_undefined_flag='${wl}-z,text'
                   11041:       archive_cmds_need_lc=no
                   11042:       hardcode_shlibpath_var=no
                   11043:       runpath_var='LD_RUN_PATH'
                   11044: 
                   11045:       if test "$GCC" = yes; then
                   11046:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11047:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11048:       else
                   11049:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11050:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11051:       fi
                   11052:       ;;
                   11053: 
                   11054:     sysv5* | sco3.2v5* | sco5v6*)
                   11055:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11056:       # link with -lc, and that would cause any symbols used from libc to
                   11057:       # always be unresolved, which means just about no library would
                   11058:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11059:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11060:       # as -z defs.
                   11061:       no_undefined_flag='${wl}-z,text'
                   11062:       allow_undefined_flag='${wl}-z,nodefs'
                   11063:       archive_cmds_need_lc=no
                   11064:       hardcode_shlibpath_var=no
                   11065:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11066:       hardcode_libdir_separator=':'
                   11067:       link_all_deplibs=yes
                   11068:       export_dynamic_flag_spec='${wl}-Bexport'
                   11069:       runpath_var='LD_RUN_PATH'
                   11070: 
                   11071:       if test "$GCC" = yes; then
                   11072:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11073:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11074:       else
                   11075:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11076:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11077:       fi
                   11078:       ;;
                   11079: 
                   11080:     uts4*)
                   11081:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11082:       hardcode_libdir_flag_spec='-L$libdir'
                   11083:       hardcode_shlibpath_var=no
                   11084:       ;;
                   11085: 
                   11086:     *)
                   11087:       ld_shlibs=no
                   11088:       ;;
                   11089:     esac
                   11090: 
                   11091:     if test x$host_vendor = xsni; then
                   11092:       case $host in
                   11093:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11094:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11095:        ;;
                   11096:       esac
                   11097:     fi
                   11098:   fi
                   11099: 
1.150     moko     11100: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11101: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11102: test "$ld_shlibs" = no && can_build_shared=no
                   11103: 
                   11104: with_gnu_ld=$with_gnu_ld
                   11105: 
                   11106: 
                   11107: 
                   11108: 
                   11109: 
                   11110: 
                   11111: 
                   11112: 
                   11113: 
                   11114: 
                   11115: 
                   11116: 
                   11117: 
                   11118: 
                   11119: 
                   11120: #
                   11121: # Do we need to explicitly link libc?
                   11122: #
                   11123: case "x$archive_cmds_need_lc" in
                   11124: x|xyes)
                   11125:   # Assume -lc should be added
                   11126:   archive_cmds_need_lc=yes
                   11127: 
                   11128:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11129:     case $archive_cmds in
                   11130:     *'~'*)
                   11131:       # FIXME: we may have to deal with multi-command sequences.
                   11132:       ;;
                   11133:     '$CC '*)
                   11134:       # Test whether the compiler implicitly links with -lc since on some
                   11135:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11136:       # to ld, don't add -lc before -lgcc.
1.150     moko     11137:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11138: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11139: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11140:   $as_echo_n "(cached) " >&6
1.128     moko     11141: else
                   11142:   $RM conftest*
                   11143:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11144: 
1.150     moko     11145:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11146:   (eval $ac_compile) 2>&5
                   11147:   ac_status=$?
1.150     moko     11148:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11149:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11150:          soname=conftest
                   11151:          lib=conftest
                   11152:          libobjs=conftest.$ac_objext
                   11153:          deplibs=
                   11154:          wl=$lt_prog_compiler_wl
                   11155:          pic_flag=$lt_prog_compiler_pic
                   11156:          compiler_flags=-v
                   11157:          linker_flags=-v
                   11158:          verstring=
                   11159:          output_objdir=.
                   11160:          libname=conftest
                   11161:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11162:          allow_undefined_flag=
1.150     moko     11163:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11164:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11165:   ac_status=$?
1.150     moko     11166:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11167:   test $ac_status = 0; }
1.128     moko     11168:          then
                   11169:            lt_cv_archive_cmds_need_lc=no
                   11170:          else
                   11171:            lt_cv_archive_cmds_need_lc=yes
                   11172:          fi
                   11173:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11174:        else
                   11175:          cat conftest.err 1>&5
                   11176:        fi
                   11177:        $RM conftest*
                   11178: 
                   11179: fi
1.150     moko     11180: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11181: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11182:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11183:       ;;
                   11184:     esac
                   11185:   fi
                   11186:   ;;
                   11187: esac
                   11188: 
                   11189: 
                   11190: 
                   11191: 
                   11192: 
                   11193: 
                   11194: 
                   11195: 
                   11196: 
                   11197: 
                   11198: 
                   11199: 
                   11200: 
                   11201: 
                   11202: 
                   11203: 
                   11204: 
                   11205: 
                   11206: 
                   11207: 
                   11208: 
                   11209: 
                   11210: 
                   11211: 
                   11212: 
                   11213: 
                   11214: 
                   11215: 
                   11216: 
                   11217: 
                   11218: 
                   11219: 
                   11220: 
                   11221: 
                   11222: 
                   11223: 
                   11224: 
                   11225: 
                   11226: 
                   11227: 
                   11228: 
                   11229: 
                   11230: 
                   11231: 
                   11232: 
                   11233: 
                   11234: 
                   11235: 
                   11236: 
                   11237: 
                   11238: 
                   11239: 
                   11240: 
                   11241: 
                   11242: 
                   11243: 
                   11244: 
                   11245: 
                   11246: 
                   11247: 
                   11248: 
                   11249: 
                   11250: 
                   11251: 
                   11252: 
                   11253: 
                   11254: 
                   11255: 
                   11256: 
                   11257: 
                   11258: 
                   11259: 
                   11260: 
                   11261: 
                   11262: 
                   11263: 
                   11264: 
                   11265: 
                   11266: 
                   11267: 
                   11268: 
                   11269: 
                   11270: 
                   11271: 
                   11272: 
                   11273: 
                   11274: 
                   11275: 
                   11276: 
                   11277: 
                   11278: 
                   11279: 
                   11280: 
                   11281: 
                   11282: 
                   11283: 
                   11284: 
                   11285: 
                   11286: 
                   11287: 
                   11288: 
                   11289: 
                   11290: 
                   11291: 
                   11292: 
                   11293: 
                   11294: 
                   11295: 
                   11296: 
                   11297: 
                   11298: 
                   11299: 
                   11300: 
                   11301: 
                   11302: 
                   11303: 
                   11304: 
                   11305: 
                   11306: 
                   11307: 
                   11308: 
                   11309: 
                   11310: 
                   11311: 
                   11312: 
                   11313: 
                   11314: 
                   11315: 
                   11316: 
                   11317: 
                   11318: 
                   11319: 
                   11320: 
                   11321: 
                   11322: 
                   11323: 
                   11324: 
                   11325: 
                   11326: 
                   11327: 
                   11328: 
                   11329: 
                   11330: 
                   11331: 
                   11332: 
                   11333: 
                   11334: 
                   11335: 
                   11336: 
                   11337: 
                   11338: 
                   11339: 
1.150     moko     11340:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11341: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11342: 
                   11343: if test "$GCC" = yes; then
                   11344:   case $host_os in
                   11345:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11346:     *) lt_awk_arg="/^libraries:/" ;;
                   11347:   esac
                   11348:   case $host_os in
                   11349:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11350:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11351:   esac
                   11352:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11353:   case $lt_search_path_spec in
                   11354:   *\;*)
                   11355:     # if the path contains ";" then we assume it to be the separator
                   11356:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11357:     # assumed that no part of a normal pathname contains ";" but that should
                   11358:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11359:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11360:     ;;
                   11361:   *)
                   11362:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11363:     ;;
                   11364:   esac
                   11365:   # Ok, now we have the path, separated by spaces, we can step through it
                   11366:   # and add multilib dir if necessary.
                   11367:   lt_tmp_lt_search_path_spec=
                   11368:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11369:   for lt_sys_path in $lt_search_path_spec; do
                   11370:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11371:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11372:     else
                   11373:       test -d "$lt_sys_path" && \
                   11374:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11375:     fi
                   11376:   done
                   11377:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11378: BEGIN {RS=" "; FS="/|\n";} {
                   11379:   lt_foo="";
                   11380:   lt_count=0;
                   11381:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11382:     if ($lt_i != "" && $lt_i != ".") {
                   11383:       if ($lt_i == "..") {
                   11384:         lt_count++;
                   11385:       } else {
                   11386:         if (lt_count == 0) {
                   11387:           lt_foo="/" $lt_i lt_foo;
                   11388:         } else {
                   11389:           lt_count--;
                   11390:         }
                   11391:       }
                   11392:     }
                   11393:   }
                   11394:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11395:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11396: }'`
                   11397:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11398:   # for these hosts.
                   11399:   case $host_os in
                   11400:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11401:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11402:   esac
                   11403:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11404: else
                   11405:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11406: fi
                   11407: library_names_spec=
                   11408: libname_spec='lib$name'
                   11409: soname_spec=
                   11410: shrext_cmds=".so"
                   11411: postinstall_cmds=
                   11412: postuninstall_cmds=
                   11413: finish_cmds=
                   11414: finish_eval=
                   11415: shlibpath_var=
                   11416: shlibpath_overrides_runpath=unknown
                   11417: version_type=none
                   11418: dynamic_linker="$host_os ld.so"
                   11419: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11420: need_lib_prefix=unknown
                   11421: hardcode_into_libs=no
                   11422: 
                   11423: # when you set need_version to no, make sure it does not cause -set_version
                   11424: # flags to be left without arguments
                   11425: need_version=unknown
                   11426: 
                   11427: case $host_os in
                   11428: aix3*)
                   11429:   version_type=linux # correct to gnu/linux during the next big refactor
                   11430:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11431:   shlibpath_var=LIBPATH
                   11432: 
                   11433:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11434:   soname_spec='${libname}${release}${shared_ext}$major'
                   11435:   ;;
                   11436: 
                   11437: aix[4-9]*)
                   11438:   version_type=linux # correct to gnu/linux during the next big refactor
                   11439:   need_lib_prefix=no
                   11440:   need_version=no
                   11441:   hardcode_into_libs=yes
                   11442:   if test "$host_cpu" = ia64; then
                   11443:     # AIX 5 supports IA64
                   11444:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11445:     shlibpath_var=LD_LIBRARY_PATH
                   11446:   else
                   11447:     # With GCC up to 2.95.x, collect2 would create an import file
                   11448:     # for dependence libraries.  The import file would start with
                   11449:     # the line `#! .'.  This would cause the generated library to
                   11450:     # depend on `.', always an invalid library.  This was fixed in
                   11451:     # development snapshots of GCC prior to 3.0.
                   11452:     case $host_os in
                   11453:       aix4 | aix4.[01] | aix4.[01].*)
                   11454:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11455:           echo ' yes '
                   11456:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11457:        :
                   11458:       else
                   11459:        can_build_shared=no
                   11460:       fi
                   11461:       ;;
                   11462:     esac
                   11463:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11464:     # soname into executable. Probably we can add versioning support to
                   11465:     # collect2, so additional links can be useful in future.
                   11466:     if test "$aix_use_runtimelinking" = yes; then
                   11467:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11468:       # instead of lib<name>.a to let people know that these are not
                   11469:       # typical AIX shared libraries.
                   11470:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11471:     else
                   11472:       # We preserve .a as extension for shared libraries through AIX4.2
                   11473:       # and later when we are not doing run time linking.
                   11474:       library_names_spec='${libname}${release}.a $libname.a'
                   11475:       soname_spec='${libname}${release}${shared_ext}$major'
                   11476:     fi
                   11477:     shlibpath_var=LIBPATH
                   11478:   fi
                   11479:   ;;
                   11480: 
                   11481: amigaos*)
                   11482:   case $host_cpu in
                   11483:   powerpc)
                   11484:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11485:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   11486:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11487:     ;;
                   11488:   m68k)
                   11489:     library_names_spec='$libname.ixlibrary $libname.a'
                   11490:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   11491:     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'
                   11492:     ;;
                   11493:   esac
                   11494:   ;;
                   11495: 
                   11496: beos*)
                   11497:   library_names_spec='${libname}${shared_ext}'
                   11498:   dynamic_linker="$host_os ld.so"
                   11499:   shlibpath_var=LIBRARY_PATH
                   11500:   ;;
                   11501: 
                   11502: bsdi[45]*)
                   11503:   version_type=linux # correct to gnu/linux during the next big refactor
                   11504:   need_version=no
                   11505:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11506:   soname_spec='${libname}${release}${shared_ext}$major'
                   11507:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11508:   shlibpath_var=LD_LIBRARY_PATH
                   11509:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11510:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11511:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11512:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11513:   # libtool to hard-code these into programs
                   11514:   ;;
                   11515: 
                   11516: cygwin* | mingw* | pw32* | cegcc*)
                   11517:   version_type=windows
                   11518:   shrext_cmds=".dll"
                   11519:   need_version=no
                   11520:   need_lib_prefix=no
                   11521: 
                   11522:   case $GCC,$cc_basename in
                   11523:   yes,*)
                   11524:     # gcc
                   11525:     library_names_spec='$libname.dll.a'
                   11526:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11527:     postinstall_cmds='base_file=`basename \${file}`~
                   11528:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11529:       dldir=$destdir/`dirname \$dlpath`~
                   11530:       test -d \$dldir || mkdir -p \$dldir~
                   11531:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11532:       chmod a+x \$dldir/$dlname~
                   11533:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11534:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11535:       fi'
                   11536:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11537:       dlpath=$dir/\$dldll~
                   11538:        $RM \$dlpath'
                   11539:     shlibpath_overrides_runpath=yes
                   11540: 
                   11541:     case $host_os in
                   11542:     cygwin*)
                   11543:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   11544:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11545: 
                   11546:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   11547:       ;;
                   11548:     mingw* | cegcc*)
                   11549:       # MinGW DLLs use traditional 'lib' prefix
                   11550:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11551:       ;;
                   11552:     pw32*)
                   11553:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   11554:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11555:       ;;
                   11556:     esac
                   11557:     dynamic_linker='Win32 ld.exe'
                   11558:     ;;
                   11559: 
                   11560:   *,cl*)
                   11561:     # Native MSVC
                   11562:     libname_spec='$name'
                   11563:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11564:     library_names_spec='${libname}.dll.lib'
                   11565: 
                   11566:     case $build_os in
                   11567:     mingw*)
                   11568:       sys_lib_search_path_spec=
                   11569:       lt_save_ifs=$IFS
                   11570:       IFS=';'
                   11571:       for lt_path in $LIB
                   11572:       do
                   11573:         IFS=$lt_save_ifs
                   11574:         # Let DOS variable expansion print the short 8.3 style file name.
                   11575:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   11576:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   11577:       done
                   11578:       IFS=$lt_save_ifs
                   11579:       # Convert to MSYS style.
                   11580:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   11581:       ;;
                   11582:     cygwin*)
                   11583:       # Convert to unix form, then to dos form, then back to unix form
                   11584:       # but this time dos style (no spaces!) so that the unix form looks
                   11585:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   11586:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11587:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11588:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11589:       ;;
                   11590:     *)
                   11591:       sys_lib_search_path_spec="$LIB"
                   11592:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11593:         # It is most probably a Windows format PATH.
                   11594:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11595:       else
                   11596:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11597:       fi
                   11598:       # FIXME: find the short name or the path components, as spaces are
                   11599:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11600:       ;;
                   11601:     esac
                   11602: 
                   11603:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11604:     postinstall_cmds='base_file=`basename \${file}`~
                   11605:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11606:       dldir=$destdir/`dirname \$dlpath`~
                   11607:       test -d \$dldir || mkdir -p \$dldir~
                   11608:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11609:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11610:       dlpath=$dir/\$dldll~
                   11611:        $RM \$dlpath'
                   11612:     shlibpath_overrides_runpath=yes
                   11613:     dynamic_linker='Win32 link.exe'
                   11614:     ;;
                   11615: 
                   11616:   *)
                   11617:     # Assume MSVC wrapper
                   11618:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11619:     dynamic_linker='Win32 ld.exe'
                   11620:     ;;
                   11621:   esac
                   11622:   # FIXME: first we should search . and the directory the executable is in
                   11623:   shlibpath_var=PATH
                   11624:   ;;
                   11625: 
                   11626: darwin* | rhapsody*)
                   11627:   dynamic_linker="$host_os dyld"
                   11628:   version_type=darwin
                   11629:   need_lib_prefix=no
                   11630:   need_version=no
                   11631:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11632:   soname_spec='${libname}${release}${major}$shared_ext'
                   11633:   shlibpath_overrides_runpath=yes
                   11634:   shlibpath_var=DYLD_LIBRARY_PATH
                   11635:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11636: 
                   11637:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11638:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11639:   ;;
                   11640: 
                   11641: dgux*)
                   11642:   version_type=linux # correct to gnu/linux during the next big refactor
                   11643:   need_lib_prefix=no
                   11644:   need_version=no
                   11645:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11646:   soname_spec='${libname}${release}${shared_ext}$major'
                   11647:   shlibpath_var=LD_LIBRARY_PATH
                   11648:   ;;
                   11649: 
                   11650: freebsd* | dragonfly*)
                   11651:   # DragonFly does not have aout.  When/if they implement a new
                   11652:   # versioning mechanism, adjust this.
                   11653:   if test -x /usr/bin/objformat; then
                   11654:     objformat=`/usr/bin/objformat`
                   11655:   else
                   11656:     case $host_os in
                   11657:     freebsd[23].*) objformat=aout ;;
                   11658:     *) objformat=elf ;;
                   11659:     esac
                   11660:   fi
                   11661:   version_type=freebsd-$objformat
                   11662:   case $version_type in
                   11663:     freebsd-elf*)
                   11664:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11665:       need_version=no
                   11666:       need_lib_prefix=no
                   11667:       ;;
                   11668:     freebsd-*)
                   11669:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   11670:       need_version=yes
                   11671:       ;;
                   11672:   esac
                   11673:   shlibpath_var=LD_LIBRARY_PATH
                   11674:   case $host_os in
                   11675:   freebsd2.*)
                   11676:     shlibpath_overrides_runpath=yes
                   11677:     ;;
                   11678:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11679:     shlibpath_overrides_runpath=yes
                   11680:     hardcode_into_libs=yes
                   11681:     ;;
                   11682:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11683:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11684:     shlibpath_overrides_runpath=no
                   11685:     hardcode_into_libs=yes
                   11686:     ;;
                   11687:   *) # from 4.6 on, and DragonFly
                   11688:     shlibpath_overrides_runpath=yes
                   11689:     hardcode_into_libs=yes
                   11690:     ;;
                   11691:   esac
                   11692:   ;;
                   11693: 
                   11694: gnu*)
                   11695:   version_type=linux # correct to gnu/linux during the next big refactor
                   11696:   need_lib_prefix=no
                   11697:   need_version=no
                   11698:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11699:   soname_spec='${libname}${release}${shared_ext}$major'
                   11700:   shlibpath_var=LD_LIBRARY_PATH
                   11701:   shlibpath_overrides_runpath=no
                   11702:   hardcode_into_libs=yes
                   11703:   ;;
                   11704: 
                   11705: haiku*)
                   11706:   version_type=linux # correct to gnu/linux during the next big refactor
                   11707:   need_lib_prefix=no
                   11708:   need_version=no
                   11709:   dynamic_linker="$host_os runtime_loader"
                   11710:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11711:   soname_spec='${libname}${release}${shared_ext}$major'
                   11712:   shlibpath_var=LIBRARY_PATH
                   11713:   shlibpath_overrides_runpath=yes
                   11714:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   11715:   hardcode_into_libs=yes
                   11716:   ;;
                   11717: 
                   11718: hpux9* | hpux10* | hpux11*)
                   11719:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11720:   # link against other versions.
                   11721:   version_type=sunos
                   11722:   need_lib_prefix=no
                   11723:   need_version=no
                   11724:   case $host_cpu in
                   11725:   ia64*)
                   11726:     shrext_cmds='.so'
                   11727:     hardcode_into_libs=yes
                   11728:     dynamic_linker="$host_os dld.so"
                   11729:     shlibpath_var=LD_LIBRARY_PATH
                   11730:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11731:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11732:     soname_spec='${libname}${release}${shared_ext}$major'
                   11733:     if test "X$HPUX_IA64_MODE" = X32; then
                   11734:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11735:     else
                   11736:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11737:     fi
                   11738:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11739:     ;;
                   11740:   hppa*64*)
                   11741:     shrext_cmds='.sl'
                   11742:     hardcode_into_libs=yes
                   11743:     dynamic_linker="$host_os dld.sl"
                   11744:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11745:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11746:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11747:     soname_spec='${libname}${release}${shared_ext}$major'
                   11748:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11749:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11750:     ;;
                   11751:   *)
                   11752:     shrext_cmds='.sl'
                   11753:     dynamic_linker="$host_os dld.sl"
                   11754:     shlibpath_var=SHLIB_PATH
                   11755:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11756:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11757:     soname_spec='${libname}${release}${shared_ext}$major'
                   11758:     ;;
                   11759:   esac
                   11760:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11761:   postinstall_cmds='chmod 555 $lib'
                   11762:   # or fails outright, so override atomically:
                   11763:   install_override_mode=555
                   11764:   ;;
                   11765: 
                   11766: interix[3-9]*)
                   11767:   version_type=linux # correct to gnu/linux during the next big refactor
                   11768:   need_lib_prefix=no
                   11769:   need_version=no
                   11770:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11771:   soname_spec='${libname}${release}${shared_ext}$major'
                   11772:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11773:   shlibpath_var=LD_LIBRARY_PATH
                   11774:   shlibpath_overrides_runpath=no
                   11775:   hardcode_into_libs=yes
                   11776:   ;;
                   11777: 
                   11778: irix5* | irix6* | nonstopux*)
                   11779:   case $host_os in
                   11780:     nonstopux*) version_type=nonstopux ;;
                   11781:     *)
                   11782:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11783:                version_type=linux # correct to gnu/linux during the next big refactor
                   11784:        else
                   11785:                version_type=irix
                   11786:        fi ;;
                   11787:   esac
                   11788:   need_lib_prefix=no
                   11789:   need_version=no
                   11790:   soname_spec='${libname}${release}${shared_ext}$major'
                   11791:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11792:   case $host_os in
                   11793:   irix5* | nonstopux*)
                   11794:     libsuff= shlibsuff=
                   11795:     ;;
                   11796:   *)
                   11797:     case $LD in # libtool.m4 will add one of these switches to LD
                   11798:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11799:       libsuff= shlibsuff= libmagic=32-bit;;
                   11800:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11801:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11802:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11803:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11804:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11805:     esac
                   11806:     ;;
                   11807:   esac
                   11808:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11809:   shlibpath_overrides_runpath=no
                   11810:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11811:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11812:   hardcode_into_libs=yes
                   11813:   ;;
                   11814: 
                   11815: # No shared lib support for Linux oldld, aout, or coff.
                   11816: linux*oldld* | linux*aout* | linux*coff*)
                   11817:   dynamic_linker=no
                   11818:   ;;
                   11819: 
                   11820: # This must be glibc/ELF.
                   11821: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11822:   version_type=linux # correct to gnu/linux during the next big refactor
                   11823:   need_lib_prefix=no
                   11824:   need_version=no
                   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:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11828:   shlibpath_var=LD_LIBRARY_PATH
                   11829:   shlibpath_overrides_runpath=no
                   11830: 
                   11831:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     11832:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   11833:   $as_echo_n "(cached) " >&6
1.128     moko     11834: else
                   11835:   lt_cv_shlibpath_overrides_runpath=no
                   11836:     save_LDFLAGS=$LDFLAGS
                   11837:     save_libdir=$libdir
                   11838:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11839:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     11840:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11841: /* end confdefs.h.  */
                   11842: 
                   11843: int
                   11844: main ()
                   11845: {
                   11846: 
                   11847:   ;
                   11848:   return 0;
                   11849: }
                   11850: _ACEOF
1.150     moko     11851: if ac_fn_c_try_link "$LINENO"; then :
                   11852:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     11853:   lt_cv_shlibpath_overrides_runpath=yes
                   11854: fi
                   11855: fi
1.150     moko     11856: rm -f core conftest.err conftest.$ac_objext \
                   11857:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11858:     LDFLAGS=$save_LDFLAGS
                   11859:     libdir=$save_libdir
                   11860: 
                   11861: fi
                   11862: 
                   11863:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11864: 
                   11865:   # This implies no fast_install, which is unacceptable.
                   11866:   # Some rework will be needed to allow for fast_install
                   11867:   # before this can be enabled.
                   11868:   hardcode_into_libs=yes
                   11869: 
                   11870:   # Append ld.so.conf contents to the search path
                   11871:   if test -f /etc/ld.so.conf; then
                   11872:     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' ' '`
                   11873:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11874:   fi
                   11875: 
                   11876:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11877:   # powerpc, because MkLinux only supported shared libraries with the
                   11878:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11879:   # most powerpc-linux boxes support dynamic linking these days and
                   11880:   # people can always --disable-shared, the test was removed, and we
                   11881:   # assume the GNU/Linux dynamic linker is in use.
                   11882:   dynamic_linker='GNU/Linux ld.so'
                   11883:   ;;
                   11884: 
                   11885: netbsd*)
                   11886:   version_type=sunos
                   11887:   need_lib_prefix=no
                   11888:   need_version=no
                   11889:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11890:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11891:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11892:     dynamic_linker='NetBSD (a.out) ld.so'
                   11893:   else
                   11894:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11895:     soname_spec='${libname}${release}${shared_ext}$major'
                   11896:     dynamic_linker='NetBSD ld.elf_so'
                   11897:   fi
                   11898:   shlibpath_var=LD_LIBRARY_PATH
                   11899:   shlibpath_overrides_runpath=yes
                   11900:   hardcode_into_libs=yes
                   11901:   ;;
                   11902: 
                   11903: newsos6)
                   11904:   version_type=linux # correct to gnu/linux during the next big refactor
                   11905:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11906:   shlibpath_var=LD_LIBRARY_PATH
                   11907:   shlibpath_overrides_runpath=yes
                   11908:   ;;
                   11909: 
                   11910: *nto* | *qnx*)
                   11911:   version_type=qnx
                   11912:   need_lib_prefix=no
                   11913:   need_version=no
                   11914:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11915:   soname_spec='${libname}${release}${shared_ext}$major'
                   11916:   shlibpath_var=LD_LIBRARY_PATH
                   11917:   shlibpath_overrides_runpath=no
                   11918:   hardcode_into_libs=yes
                   11919:   dynamic_linker='ldqnx.so'
                   11920:   ;;
                   11921: 
                   11922: openbsd*)
                   11923:   version_type=sunos
                   11924:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11925:   need_lib_prefix=no
                   11926:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11927:   case $host_os in
                   11928:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11929:     *)                         need_version=no  ;;
                   11930:   esac
                   11931:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11932:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11933:   shlibpath_var=LD_LIBRARY_PATH
                   11934:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11935:     case $host_os in
                   11936:       openbsd2.[89] | openbsd2.[89].*)
                   11937:        shlibpath_overrides_runpath=no
                   11938:        ;;
                   11939:       *)
                   11940:        shlibpath_overrides_runpath=yes
                   11941:        ;;
                   11942:       esac
                   11943:   else
                   11944:     shlibpath_overrides_runpath=yes
                   11945:   fi
                   11946:   ;;
                   11947: 
                   11948: os2*)
                   11949:   libname_spec='$name'
                   11950:   shrext_cmds=".dll"
                   11951:   need_lib_prefix=no
                   11952:   library_names_spec='$libname${shared_ext} $libname.a'
                   11953:   dynamic_linker='OS/2 ld.exe'
                   11954:   shlibpath_var=LIBPATH
                   11955:   ;;
                   11956: 
                   11957: osf3* | osf4* | osf5*)
                   11958:   version_type=osf
                   11959:   need_lib_prefix=no
                   11960:   need_version=no
                   11961:   soname_spec='${libname}${release}${shared_ext}$major'
                   11962:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11963:   shlibpath_var=LD_LIBRARY_PATH
                   11964:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11965:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11966:   ;;
                   11967: 
                   11968: rdos*)
                   11969:   dynamic_linker=no
                   11970:   ;;
                   11971: 
                   11972: solaris*)
                   11973:   version_type=linux # correct to gnu/linux during the next big refactor
                   11974:   need_lib_prefix=no
                   11975:   need_version=no
                   11976:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11977:   soname_spec='${libname}${release}${shared_ext}$major'
                   11978:   shlibpath_var=LD_LIBRARY_PATH
                   11979:   shlibpath_overrides_runpath=yes
                   11980:   hardcode_into_libs=yes
                   11981:   # ldd complains unless libraries are executable
                   11982:   postinstall_cmds='chmod +x $lib'
                   11983:   ;;
                   11984: 
                   11985: sunos4*)
                   11986:   version_type=sunos
                   11987:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11988:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11989:   shlibpath_var=LD_LIBRARY_PATH
                   11990:   shlibpath_overrides_runpath=yes
                   11991:   if test "$with_gnu_ld" = yes; then
                   11992:     need_lib_prefix=no
                   11993:   fi
                   11994:   need_version=yes
                   11995:   ;;
                   11996: 
                   11997: sysv4 | sysv4.3*)
                   11998:   version_type=linux # correct to gnu/linux during the next big refactor
                   11999:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12000:   soname_spec='${libname}${release}${shared_ext}$major'
                   12001:   shlibpath_var=LD_LIBRARY_PATH
                   12002:   case $host_vendor in
                   12003:     sni)
                   12004:       shlibpath_overrides_runpath=no
                   12005:       need_lib_prefix=no
                   12006:       runpath_var=LD_RUN_PATH
                   12007:       ;;
                   12008:     siemens)
                   12009:       need_lib_prefix=no
                   12010:       ;;
                   12011:     motorola)
                   12012:       need_lib_prefix=no
                   12013:       need_version=no
                   12014:       shlibpath_overrides_runpath=no
                   12015:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12016:       ;;
                   12017:   esac
                   12018:   ;;
                   12019: 
                   12020: sysv4*MP*)
                   12021:   if test -d /usr/nec ;then
                   12022:     version_type=linux # correct to gnu/linux during the next big refactor
                   12023:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12024:     soname_spec='$libname${shared_ext}.$major'
                   12025:     shlibpath_var=LD_LIBRARY_PATH
                   12026:   fi
                   12027:   ;;
                   12028: 
                   12029: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12030:   version_type=freebsd-elf
                   12031:   need_lib_prefix=no
                   12032:   need_version=no
                   12033:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12034:   soname_spec='${libname}${release}${shared_ext}$major'
                   12035:   shlibpath_var=LD_LIBRARY_PATH
                   12036:   shlibpath_overrides_runpath=yes
                   12037:   hardcode_into_libs=yes
                   12038:   if test "$with_gnu_ld" = yes; then
                   12039:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12040:   else
                   12041:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12042:     case $host_os in
                   12043:       sco3.2v5*)
                   12044:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12045:        ;;
                   12046:     esac
                   12047:   fi
                   12048:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12049:   ;;
                   12050: 
                   12051: tpf*)
                   12052:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12053:   version_type=linux # correct to gnu/linux during the next big refactor
                   12054:   need_lib_prefix=no
                   12055:   need_version=no
                   12056:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12057:   shlibpath_var=LD_LIBRARY_PATH
                   12058:   shlibpath_overrides_runpath=no
                   12059:   hardcode_into_libs=yes
                   12060:   ;;
                   12061: 
                   12062: uts4*)
                   12063:   version_type=linux # correct to gnu/linux during the next big refactor
                   12064:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12065:   soname_spec='${libname}${release}${shared_ext}$major'
                   12066:   shlibpath_var=LD_LIBRARY_PATH
                   12067:   ;;
                   12068: 
                   12069: *)
                   12070:   dynamic_linker=no
                   12071:   ;;
                   12072: esac
1.150     moko     12073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12074: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12075: test "$dynamic_linker" = no && can_build_shared=no
                   12076: 
                   12077: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12078: if test "$GCC" = yes; then
                   12079:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12080: fi
                   12081: 
                   12082: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12083:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12084: fi
                   12085: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12086:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12087: fi
                   12088: 
                   12089: 
                   12090: 
                   12091: 
                   12092: 
                   12093: 
                   12094: 
                   12095: 
                   12096: 
                   12097: 
                   12098: 
                   12099: 
                   12100: 
                   12101: 
                   12102: 
                   12103: 
                   12104: 
                   12105: 
                   12106: 
                   12107: 
                   12108: 
                   12109: 
                   12110: 
                   12111: 
                   12112: 
                   12113: 
                   12114: 
                   12115: 
                   12116: 
                   12117: 
                   12118: 
                   12119: 
                   12120: 
                   12121: 
                   12122: 
                   12123: 
                   12124: 
                   12125: 
                   12126: 
                   12127: 
                   12128: 
                   12129: 
                   12130: 
                   12131: 
                   12132: 
                   12133: 
                   12134: 
                   12135: 
                   12136: 
                   12137: 
                   12138: 
                   12139: 
                   12140: 
                   12141: 
                   12142: 
                   12143: 
                   12144: 
                   12145: 
                   12146: 
                   12147: 
                   12148: 
                   12149: 
                   12150: 
                   12151: 
                   12152: 
                   12153: 
                   12154: 
                   12155: 
                   12156: 
                   12157: 
                   12158: 
                   12159: 
                   12160: 
                   12161: 
                   12162: 
                   12163: 
                   12164: 
                   12165: 
                   12166: 
                   12167: 
                   12168: 
                   12169: 
                   12170: 
                   12171: 
                   12172: 
                   12173: 
                   12174: 
                   12175: 
                   12176: 
                   12177: 
                   12178: 
                   12179: 
1.150     moko     12180:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12181: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12182: hardcode_action=
                   12183: if test -n "$hardcode_libdir_flag_spec" ||
                   12184:    test -n "$runpath_var" ||
                   12185:    test "X$hardcode_automatic" = "Xyes" ; then
                   12186: 
                   12187:   # We can hardcode non-existent directories.
                   12188:   if test "$hardcode_direct" != no &&
                   12189:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12190:      # have to relink, otherwise we might link with an installed library
                   12191:      # when we should be linking with a yet-to-be-installed one
                   12192:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12193:      test "$hardcode_minus_L" != no; then
                   12194:     # Linking always hardcodes the temporary library directory.
                   12195:     hardcode_action=relink
                   12196:   else
                   12197:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12198:     hardcode_action=immediate
                   12199:   fi
                   12200: else
                   12201:   # We cannot hardcode anything, or else we can only hardcode existing
                   12202:   # directories.
                   12203:   hardcode_action=unsupported
                   12204: fi
1.150     moko     12205: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12206: $as_echo "$hardcode_action" >&6; }
1.128     moko     12207: 
                   12208: if test "$hardcode_action" = relink ||
                   12209:    test "$inherit_rpath" = yes; then
                   12210:   # Fast installation is not supported
                   12211:   enable_fast_install=no
                   12212: elif test "$shlibpath_overrides_runpath" = yes ||
                   12213:      test "$enable_shared" = no; then
                   12214:   # Fast installation is not necessary
                   12215:   enable_fast_install=needless
                   12216: fi
                   12217: 
                   12218: 
                   12219: 
                   12220: 
                   12221: 
                   12222: 
                   12223:   if test "x$enable_dlopen" != xyes; then
                   12224:   enable_dlopen=unknown
                   12225:   enable_dlopen_self=unknown
                   12226:   enable_dlopen_self_static=unknown
                   12227: else
                   12228:   lt_cv_dlopen=no
                   12229:   lt_cv_dlopen_libs=
                   12230: 
                   12231:   case $host_os in
                   12232:   beos*)
                   12233:     lt_cv_dlopen="load_add_on"
                   12234:     lt_cv_dlopen_libs=
                   12235:     lt_cv_dlopen_self=yes
                   12236:     ;;
                   12237: 
                   12238:   mingw* | pw32* | cegcc*)
                   12239:     lt_cv_dlopen="LoadLibrary"
                   12240:     lt_cv_dlopen_libs=
                   12241:     ;;
                   12242: 
                   12243:   cygwin*)
                   12244:     lt_cv_dlopen="dlopen"
                   12245:     lt_cv_dlopen_libs=
                   12246:     ;;
                   12247: 
                   12248:   darwin*)
                   12249:   # if libdl is installed we need to link against it
1.150     moko     12250:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12251: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12252: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12253:   $as_echo_n "(cached) " >&6
1.128     moko     12254: else
                   12255:   ac_check_lib_save_LIBS=$LIBS
                   12256: LIBS="-ldl  $LIBS"
1.150     moko     12257: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12258: /* end confdefs.h.  */
                   12259: 
1.150     moko     12260: /* Override any GCC internal prototype to avoid an error.
                   12261:    Use char because int might match the return type of a GCC
                   12262:    builtin and then its argument prototype would still apply.  */
1.128     moko     12263: #ifdef __cplusplus
                   12264: extern "C"
                   12265: #endif
                   12266: char dlopen ();
                   12267: int
                   12268: main ()
                   12269: {
1.150     moko     12270: return dlopen ();
1.128     moko     12271:   ;
                   12272:   return 0;
                   12273: }
                   12274: _ACEOF
1.150     moko     12275: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12276:   ac_cv_lib_dl_dlopen=yes
                   12277: else
1.150     moko     12278:   ac_cv_lib_dl_dlopen=no
1.128     moko     12279: fi
1.150     moko     12280: rm -f core conftest.err conftest.$ac_objext \
                   12281:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12282: LIBS=$ac_check_lib_save_LIBS
                   12283: fi
1.150     moko     12284: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12285: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12286: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12287:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12288: else
                   12289: 
                   12290:     lt_cv_dlopen="dyld"
                   12291:     lt_cv_dlopen_libs=
                   12292:     lt_cv_dlopen_self=yes
                   12293: 
                   12294: fi
                   12295: 
                   12296:     ;;
                   12297: 
                   12298:   *)
1.150     moko     12299:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12300: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12301:   lt_cv_dlopen="shl_load"
                   12302: else
1.150     moko     12303:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12304: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12305: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12306:   $as_echo_n "(cached) " >&6
1.128     moko     12307: else
                   12308:   ac_check_lib_save_LIBS=$LIBS
                   12309: LIBS="-ldld  $LIBS"
1.150     moko     12310: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12311: /* end confdefs.h.  */
                   12312: 
1.150     moko     12313: /* Override any GCC internal prototype to avoid an error.
                   12314:    Use char because int might match the return type of a GCC
                   12315:    builtin and then its argument prototype would still apply.  */
1.128     moko     12316: #ifdef __cplusplus
                   12317: extern "C"
                   12318: #endif
                   12319: char shl_load ();
                   12320: int
                   12321: main ()
                   12322: {
1.150     moko     12323: return shl_load ();
1.128     moko     12324:   ;
                   12325:   return 0;
                   12326: }
                   12327: _ACEOF
1.150     moko     12328: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12329:   ac_cv_lib_dld_shl_load=yes
                   12330: else
1.150     moko     12331:   ac_cv_lib_dld_shl_load=no
1.128     moko     12332: fi
1.150     moko     12333: rm -f core conftest.err conftest.$ac_objext \
                   12334:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12335: LIBS=$ac_check_lib_save_LIBS
                   12336: fi
1.150     moko     12337: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12338: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   12339: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12340:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12341: else
1.150     moko     12342:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   12343: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12344:   lt_cv_dlopen="dlopen"
                   12345: else
1.150     moko     12346:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12347: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12348: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12349:   $as_echo_n "(cached) " >&6
1.128     moko     12350: else
                   12351:   ac_check_lib_save_LIBS=$LIBS
                   12352: LIBS="-ldl  $LIBS"
1.150     moko     12353: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12354: /* end confdefs.h.  */
                   12355: 
1.150     moko     12356: /* Override any GCC internal prototype to avoid an error.
                   12357:    Use char because int might match the return type of a GCC
                   12358:    builtin and then its argument prototype would still apply.  */
1.128     moko     12359: #ifdef __cplusplus
                   12360: extern "C"
                   12361: #endif
                   12362: char dlopen ();
                   12363: int
                   12364: main ()
                   12365: {
1.150     moko     12366: return dlopen ();
1.128     moko     12367:   ;
                   12368:   return 0;
                   12369: }
                   12370: _ACEOF
1.150     moko     12371: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12372:   ac_cv_lib_dl_dlopen=yes
                   12373: else
1.150     moko     12374:   ac_cv_lib_dl_dlopen=no
1.128     moko     12375: fi
1.150     moko     12376: rm -f core conftest.err conftest.$ac_objext \
                   12377:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12378: LIBS=$ac_check_lib_save_LIBS
                   12379: fi
1.150     moko     12380: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12381: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12382: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12383:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12384: else
1.150     moko     12385:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12386: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   12387: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   12388:   $as_echo_n "(cached) " >&6
1.128     moko     12389: else
                   12390:   ac_check_lib_save_LIBS=$LIBS
                   12391: LIBS="-lsvld  $LIBS"
1.150     moko     12392: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12393: /* end confdefs.h.  */
                   12394: 
1.150     moko     12395: /* Override any GCC internal prototype to avoid an error.
                   12396:    Use char because int might match the return type of a GCC
                   12397:    builtin and then its argument prototype would still apply.  */
1.128     moko     12398: #ifdef __cplusplus
                   12399: extern "C"
                   12400: #endif
                   12401: char dlopen ();
                   12402: int
                   12403: main ()
                   12404: {
1.150     moko     12405: return dlopen ();
1.128     moko     12406:   ;
                   12407:   return 0;
                   12408: }
                   12409: _ACEOF
1.150     moko     12410: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12411:   ac_cv_lib_svld_dlopen=yes
                   12412: else
1.150     moko     12413:   ac_cv_lib_svld_dlopen=no
1.128     moko     12414: fi
1.150     moko     12415: rm -f core conftest.err conftest.$ac_objext \
                   12416:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12417: LIBS=$ac_check_lib_save_LIBS
                   12418: fi
1.150     moko     12419: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12420: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   12421: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12422:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12423: else
1.150     moko     12424:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12425: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   12426: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   12427:   $as_echo_n "(cached) " >&6
1.128     moko     12428: else
                   12429:   ac_check_lib_save_LIBS=$LIBS
                   12430: LIBS="-ldld  $LIBS"
1.150     moko     12431: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12432: /* end confdefs.h.  */
                   12433: 
1.150     moko     12434: /* Override any GCC internal prototype to avoid an error.
                   12435:    Use char because int might match the return type of a GCC
                   12436:    builtin and then its argument prototype would still apply.  */
1.128     moko     12437: #ifdef __cplusplus
                   12438: extern "C"
                   12439: #endif
                   12440: char dld_link ();
                   12441: int
                   12442: main ()
                   12443: {
1.150     moko     12444: return dld_link ();
1.128     moko     12445:   ;
                   12446:   return 0;
                   12447: }
                   12448: _ACEOF
1.150     moko     12449: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12450:   ac_cv_lib_dld_dld_link=yes
                   12451: else
1.150     moko     12452:   ac_cv_lib_dld_dld_link=no
                   12453: fi
                   12454: rm -f core conftest.err conftest.$ac_objext \
                   12455:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12456: LIBS=$ac_check_lib_save_LIBS
                   12457: fi
1.150     moko     12458: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12459: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   12460: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12461:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12462: fi
                   12463: 
                   12464: 
                   12465: fi
                   12466: 
                   12467: 
                   12468: fi
                   12469: 
                   12470: 
                   12471: fi
                   12472: 
                   12473: 
                   12474: fi
                   12475: 
                   12476: 
                   12477: fi
                   12478: 
                   12479:     ;;
                   12480:   esac
                   12481: 
                   12482:   if test "x$lt_cv_dlopen" != xno; then
                   12483:     enable_dlopen=yes
                   12484:   else
                   12485:     enable_dlopen=no
                   12486:   fi
                   12487: 
                   12488:   case $lt_cv_dlopen in
                   12489:   dlopen)
                   12490:     save_CPPFLAGS="$CPPFLAGS"
                   12491:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12492: 
                   12493:     save_LDFLAGS="$LDFLAGS"
                   12494:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12495: 
                   12496:     save_LIBS="$LIBS"
                   12497:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12498: 
1.150     moko     12499:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   12500: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   12501: if ${lt_cv_dlopen_self+:} false; then :
                   12502:   $as_echo_n "(cached) " >&6
1.128     moko     12503: else
                   12504:          if test "$cross_compiling" = yes; then :
                   12505:   lt_cv_dlopen_self=cross
                   12506: else
                   12507:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12508:   lt_status=$lt_dlunknown
                   12509:   cat > conftest.$ac_ext <<_LT_EOF
                   12510: #line $LINENO "configure"
                   12511: #include "confdefs.h"
                   12512: 
                   12513: #if HAVE_DLFCN_H
                   12514: #include <dlfcn.h>
                   12515: #endif
                   12516: 
                   12517: #include <stdio.h>
                   12518: 
                   12519: #ifdef RTLD_GLOBAL
                   12520: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12521: #else
                   12522: #  ifdef DL_GLOBAL
                   12523: #    define LT_DLGLOBAL                DL_GLOBAL
                   12524: #  else
                   12525: #    define LT_DLGLOBAL                0
                   12526: #  endif
                   12527: #endif
                   12528: 
                   12529: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12530:    find out it does not work in some platform. */
                   12531: #ifndef LT_DLLAZY_OR_NOW
                   12532: #  ifdef RTLD_LAZY
                   12533: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12534: #  else
                   12535: #    ifdef DL_LAZY
                   12536: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12537: #    else
                   12538: #      ifdef RTLD_NOW
                   12539: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12540: #      else
                   12541: #        ifdef DL_NOW
                   12542: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12543: #        else
                   12544: #          define LT_DLLAZY_OR_NOW     0
                   12545: #        endif
                   12546: #      endif
                   12547: #    endif
                   12548: #  endif
                   12549: #endif
                   12550: 
                   12551: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12552:    correspondingly for the symbols needed.  */
                   12553: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12554: int fnord () __attribute__((visibility("default")));
                   12555: #endif
                   12556: 
                   12557: int fnord () { return 42; }
                   12558: int main ()
                   12559: {
                   12560:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12561:   int status = $lt_dlunknown;
                   12562: 
                   12563:   if (self)
                   12564:     {
                   12565:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12566:       else
                   12567:         {
                   12568:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12569:           else puts (dlerror ());
                   12570:        }
                   12571:       /* dlclose (self); */
                   12572:     }
                   12573:   else
                   12574:     puts (dlerror ());
                   12575: 
                   12576:   return status;
                   12577: }
                   12578: _LT_EOF
1.150     moko     12579:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12580:   (eval $ac_link) 2>&5
                   12581:   ac_status=$?
1.150     moko     12582:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12583:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12584:     (./conftest; exit; ) >&5 2>/dev/null
                   12585:     lt_status=$?
                   12586:     case x$lt_status in
                   12587:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12588:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12589:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12590:     esac
                   12591:   else :
                   12592:     # compilation failed
                   12593:     lt_cv_dlopen_self=no
                   12594:   fi
                   12595: fi
                   12596: rm -fr conftest*
                   12597: 
                   12598: 
                   12599: fi
1.150     moko     12600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12601: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     12602: 
                   12603:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12604:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150     moko     12605:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12606: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12607: if ${lt_cv_dlopen_self_static+:} false; then :
                   12608:   $as_echo_n "(cached) " >&6
1.128     moko     12609: else
                   12610:          if test "$cross_compiling" = yes; then :
                   12611:   lt_cv_dlopen_self_static=cross
                   12612: else
                   12613:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12614:   lt_status=$lt_dlunknown
                   12615:   cat > conftest.$ac_ext <<_LT_EOF
                   12616: #line $LINENO "configure"
                   12617: #include "confdefs.h"
                   12618: 
                   12619: #if HAVE_DLFCN_H
                   12620: #include <dlfcn.h>
                   12621: #endif
                   12622: 
                   12623: #include <stdio.h>
                   12624: 
                   12625: #ifdef RTLD_GLOBAL
                   12626: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12627: #else
                   12628: #  ifdef DL_GLOBAL
                   12629: #    define LT_DLGLOBAL                DL_GLOBAL
                   12630: #  else
                   12631: #    define LT_DLGLOBAL                0
                   12632: #  endif
                   12633: #endif
                   12634: 
                   12635: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12636:    find out it does not work in some platform. */
                   12637: #ifndef LT_DLLAZY_OR_NOW
                   12638: #  ifdef RTLD_LAZY
                   12639: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12640: #  else
                   12641: #    ifdef DL_LAZY
                   12642: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12643: #    else
                   12644: #      ifdef RTLD_NOW
                   12645: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12646: #      else
                   12647: #        ifdef DL_NOW
                   12648: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12649: #        else
                   12650: #          define LT_DLLAZY_OR_NOW     0
                   12651: #        endif
                   12652: #      endif
                   12653: #    endif
                   12654: #  endif
                   12655: #endif
                   12656: 
                   12657: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12658:    correspondingly for the symbols needed.  */
                   12659: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12660: int fnord () __attribute__((visibility("default")));
                   12661: #endif
                   12662: 
                   12663: int fnord () { return 42; }
                   12664: int main ()
                   12665: {
                   12666:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12667:   int status = $lt_dlunknown;
                   12668: 
                   12669:   if (self)
                   12670:     {
                   12671:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12672:       else
                   12673:         {
                   12674:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12675:           else puts (dlerror ());
                   12676:        }
                   12677:       /* dlclose (self); */
                   12678:     }
                   12679:   else
                   12680:     puts (dlerror ());
                   12681: 
                   12682:   return status;
                   12683: }
                   12684: _LT_EOF
1.150     moko     12685:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12686:   (eval $ac_link) 2>&5
                   12687:   ac_status=$?
1.150     moko     12688:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12689:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12690:     (./conftest; exit; ) >&5 2>/dev/null
                   12691:     lt_status=$?
                   12692:     case x$lt_status in
                   12693:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12694:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12695:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12696:     esac
                   12697:   else :
                   12698:     # compilation failed
                   12699:     lt_cv_dlopen_self_static=no
                   12700:   fi
                   12701: fi
                   12702: rm -fr conftest*
                   12703: 
                   12704: 
                   12705: fi
1.150     moko     12706: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   12707: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     12708:     fi
                   12709: 
                   12710:     CPPFLAGS="$save_CPPFLAGS"
                   12711:     LDFLAGS="$save_LDFLAGS"
                   12712:     LIBS="$save_LIBS"
                   12713:     ;;
                   12714:   esac
                   12715: 
                   12716:   case $lt_cv_dlopen_self in
                   12717:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12718:   *) enable_dlopen_self=unknown ;;
                   12719:   esac
                   12720: 
                   12721:   case $lt_cv_dlopen_self_static in
                   12722:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12723:   *) enable_dlopen_self_static=unknown ;;
                   12724:   esac
                   12725: fi
                   12726: 
                   12727: 
                   12728: 
                   12729: 
                   12730: 
                   12731: 
                   12732: 
                   12733: 
                   12734: 
                   12735: 
                   12736: 
                   12737: 
                   12738: 
                   12739: 
                   12740: 
                   12741: 
                   12742: 
                   12743: striplib=
                   12744: old_striplib=
1.150     moko     12745: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12746: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     12747: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12748:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12749:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150     moko     12750:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12751: $as_echo "yes" >&6; }
1.128     moko     12752: else
                   12753: # FIXME - insert some real tests, host_os isn't really good enough
                   12754:   case $host_os in
                   12755:   darwin*)
                   12756:     if test -n "$STRIP" ; then
                   12757:       striplib="$STRIP -x"
                   12758:       old_striplib="$STRIP -S"
1.150     moko     12759:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12760: $as_echo "yes" >&6; }
1.128     moko     12761:     else
1.150     moko     12762:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12763: $as_echo "no" >&6; }
1.128     moko     12764:     fi
                   12765:     ;;
                   12766:   *)
1.150     moko     12767:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12768: $as_echo "no" >&6; }
1.128     moko     12769:     ;;
                   12770:   esac
                   12771: fi
                   12772: 
                   12773: 
                   12774: 
                   12775: 
                   12776: 
                   12777: 
                   12778: 
                   12779: 
                   12780: 
                   12781: 
                   12782: 
                   12783: 
                   12784:   # Report which library types will actually be built
1.150     moko     12785:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12786: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12788: $as_echo "$can_build_shared" >&6; }
1.128     moko     12789: 
1.150     moko     12790:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12791: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     12792:   test "$can_build_shared" = "no" && enable_shared=no
                   12793: 
                   12794:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12795:   # are all built from PIC.
                   12796:   case $host_os in
                   12797:   aix3*)
                   12798:     test "$enable_shared" = yes && enable_static=no
                   12799:     if test -n "$RANLIB"; then
                   12800:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12801:       postinstall_cmds='$RANLIB $lib'
                   12802:     fi
                   12803:     ;;
                   12804: 
                   12805:   aix[4-9]*)
                   12806:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12807:       test "$enable_shared" = yes && enable_static=no
                   12808:     fi
                   12809:     ;;
                   12810:   esac
1.150     moko     12811:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12812: $as_echo "$enable_shared" >&6; }
1.128     moko     12813: 
1.150     moko     12814:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12815: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     12816:   # Make sure either enable_shared or enable_static is yes.
                   12817:   test "$enable_shared" = yes || enable_static=yes
1.150     moko     12818:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12819: $as_echo "$enable_static" >&6; }
1.128     moko     12820: 
                   12821: 
                   12822: 
                   12823: 
                   12824: fi
                   12825: ac_ext=c
                   12826: ac_cpp='$CPP $CPPFLAGS'
                   12827: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12828: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12829: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12830: 
                   12831: CC="$lt_save_CC"
                   12832: 
                   12833:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12834:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12835:     (test "X$CXX" != "Xg++"))) ; then
1.150     moko     12836:   ac_ext=cpp
1.128     moko     12837: ac_cpp='$CXXCPP $CPPFLAGS'
                   12838: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12839: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12840: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     12841: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   12842: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     12843: if test -z "$CXXCPP"; then
1.150     moko     12844:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   12845:   $as_echo_n "(cached) " >&6
1.128     moko     12846: else
                   12847:       # Double quotes because CXXCPP needs to be expanded
                   12848:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12849:     do
                   12850:       ac_preproc_ok=false
                   12851: for ac_cxx_preproc_warn_flag in '' yes
                   12852: do
                   12853:   # Use a header file that comes with gcc, so configuring glibc
                   12854:   # with a fresh cross-compiler works.
                   12855:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12856:   # <limits.h> exists even on freestanding compilers.
                   12857:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12858:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     12859:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12860: /* end confdefs.h.  */
                   12861: #ifdef __STDC__
                   12862: # include <limits.h>
                   12863: #else
                   12864: # include <assert.h>
                   12865: #endif
                   12866:                     Syntax error
                   12867: _ACEOF
1.150     moko     12868: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12869: 
1.128     moko     12870: else
                   12871:   # Broken: fails on valid input.
                   12872: continue
                   12873: fi
1.150     moko     12874: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12875: 
1.150     moko     12876:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     12877:   # can be detected and how.
1.150     moko     12878:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12879: /* end confdefs.h.  */
                   12880: #include <ac_nonexistent.h>
                   12881: _ACEOF
1.150     moko     12882: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     12883:   # Broken: success on invalid input.
                   12884: continue
                   12885: else
                   12886:   # Passes both tests.
                   12887: ac_preproc_ok=:
                   12888: break
                   12889: fi
1.150     moko     12890: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12891: 
                   12892: done
                   12893: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     12894: rm -f conftest.i conftest.err conftest.$ac_ext
                   12895: if $ac_preproc_ok; then :
1.128     moko     12896:   break
                   12897: fi
                   12898: 
                   12899:     done
                   12900:     ac_cv_prog_CXXCPP=$CXXCPP
                   12901: 
                   12902: fi
                   12903:   CXXCPP=$ac_cv_prog_CXXCPP
                   12904: else
                   12905:   ac_cv_prog_CXXCPP=$CXXCPP
                   12906: fi
1.150     moko     12907: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   12908: $as_echo "$CXXCPP" >&6; }
1.128     moko     12909: ac_preproc_ok=false
                   12910: for ac_cxx_preproc_warn_flag in '' yes
                   12911: do
                   12912:   # Use a header file that comes with gcc, so configuring glibc
                   12913:   # with a fresh cross-compiler works.
                   12914:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12915:   # <limits.h> exists even on freestanding compilers.
                   12916:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12917:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     12918:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12919: /* end confdefs.h.  */
                   12920: #ifdef __STDC__
                   12921: # include <limits.h>
                   12922: #else
                   12923: # include <assert.h>
                   12924: #endif
                   12925:                     Syntax error
                   12926: _ACEOF
1.150     moko     12927: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12928: 
1.128     moko     12929: else
                   12930:   # Broken: fails on valid input.
                   12931: continue
                   12932: fi
1.150     moko     12933: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12934: 
1.150     moko     12935:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     12936:   # can be detected and how.
1.150     moko     12937:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12938: /* end confdefs.h.  */
                   12939: #include <ac_nonexistent.h>
                   12940: _ACEOF
1.150     moko     12941: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     12942:   # Broken: success on invalid input.
                   12943: continue
                   12944: else
                   12945:   # Passes both tests.
                   12946: ac_preproc_ok=:
                   12947: break
                   12948: fi
1.150     moko     12949: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12950: 
                   12951: done
                   12952: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     12953: rm -f conftest.i conftest.err conftest.$ac_ext
                   12954: if $ac_preproc_ok; then :
                   12955: 
1.128     moko     12956: else
1.150     moko     12957:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   12958: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   12959: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   12960: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     12961: fi
                   12962: 
                   12963: ac_ext=c
                   12964: ac_cpp='$CPP $CPPFLAGS'
                   12965: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12966: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12967: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12968: 
                   12969: else
                   12970:   _lt_caught_CXX_error=yes
                   12971: fi
                   12972: 
1.150     moko     12973: ac_ext=cpp
1.128     moko     12974: ac_cpp='$CXXCPP $CPPFLAGS'
                   12975: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12976: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12977: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12978: 
                   12979: archive_cmds_need_lc_CXX=no
                   12980: allow_undefined_flag_CXX=
                   12981: always_export_symbols_CXX=no
                   12982: archive_expsym_cmds_CXX=
                   12983: compiler_needs_object_CXX=no
                   12984: export_dynamic_flag_spec_CXX=
                   12985: hardcode_direct_CXX=no
                   12986: hardcode_direct_absolute_CXX=no
                   12987: hardcode_libdir_flag_spec_CXX=
                   12988: hardcode_libdir_separator_CXX=
                   12989: hardcode_minus_L_CXX=no
                   12990: hardcode_shlibpath_var_CXX=unsupported
                   12991: hardcode_automatic_CXX=no
                   12992: inherit_rpath_CXX=no
                   12993: module_cmds_CXX=
                   12994: module_expsym_cmds_CXX=
                   12995: link_all_deplibs_CXX=unknown
                   12996: old_archive_cmds_CXX=$old_archive_cmds
                   12997: reload_flag_CXX=$reload_flag
                   12998: reload_cmds_CXX=$reload_cmds
                   12999: no_undefined_flag_CXX=
                   13000: whole_archive_flag_spec_CXX=
                   13001: enable_shared_with_static_runtimes_CXX=no
                   13002: 
                   13003: # Source file extension for C++ test sources.
                   13004: ac_ext=cpp
                   13005: 
                   13006: # Object file extension for compiled C++ test sources.
                   13007: objext=o
                   13008: objext_CXX=$objext
                   13009: 
                   13010: # No sense in running all these tests if we already determined that
                   13011: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   13012: # are currently assumed to apply to all compilers on this platform,
                   13013: # and will be corrupted by setting them based on a non-working compiler.
                   13014: if test "$_lt_caught_CXX_error" != yes; then
                   13015:   # Code to be used in simple compile tests
                   13016:   lt_simple_compile_test_code="int some_variable = 0;"
                   13017: 
                   13018:   # Code to be used in simple link tests
                   13019:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   13020: 
                   13021:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   13022: 
                   13023: 
                   13024: 
                   13025: 
                   13026: 
                   13027: 
                   13028: # If no C compiler was specified, use CC.
                   13029: LTCC=${LTCC-"$CC"}
                   13030: 
                   13031: # If no C compiler flags were specified, use CFLAGS.
                   13032: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13033: 
                   13034: # Allow CC to be a program name with arguments.
                   13035: compiler=$CC
                   13036: 
                   13037: 
                   13038:   # save warnings/boilerplate of simple test code
                   13039:   ac_outfile=conftest.$ac_objext
                   13040: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13041: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13042: _lt_compiler_boilerplate=`cat conftest.err`
                   13043: $RM conftest*
                   13044: 
                   13045:   ac_outfile=conftest.$ac_objext
                   13046: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13047: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13048: _lt_linker_boilerplate=`cat conftest.err`
                   13049: $RM -r conftest*
                   13050: 
                   13051: 
                   13052:   # Allow CC to be a program name with arguments.
                   13053:   lt_save_CC=$CC
                   13054:   lt_save_CFLAGS=$CFLAGS
                   13055:   lt_save_LD=$LD
                   13056:   lt_save_GCC=$GCC
                   13057:   GCC=$GXX
                   13058:   lt_save_with_gnu_ld=$with_gnu_ld
                   13059:   lt_save_path_LD=$lt_cv_path_LD
                   13060:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13061:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13062:   else
                   13063:     $as_unset lt_cv_prog_gnu_ld
                   13064:   fi
                   13065:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13066:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13067:   else
                   13068:     $as_unset lt_cv_path_LD
                   13069:   fi
                   13070:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13071:   CC=${CXX-"c++"}
                   13072:   CFLAGS=$CXXFLAGS
                   13073:   compiler=$CC
                   13074:   compiler_CXX=$CC
                   13075:   for cc_temp in $compiler""; do
                   13076:   case $cc_temp in
                   13077:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13078:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13079:     \-*) ;;
                   13080:     *) break;;
                   13081:   esac
                   13082: done
                   13083: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13084: 
                   13085: 
                   13086:   if test -n "$compiler"; then
                   13087:     # We don't want -fno-exception when compiling C++ code, so set the
                   13088:     # no_builtin_flag separately
                   13089:     if test "$GXX" = yes; then
                   13090:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13091:     else
                   13092:       lt_prog_compiler_no_builtin_flag_CXX=
                   13093:     fi
                   13094: 
                   13095:     if test "$GXX" = yes; then
                   13096:       # Set up default GNU C++ configuration
                   13097: 
                   13098: 
                   13099: 
1.150     moko     13100: # Check whether --with-gnu-ld was given.
                   13101: if test "${with_gnu_ld+set}" = set; then :
                   13102:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13103: else
                   13104:   with_gnu_ld=no
1.150     moko     13105: fi
                   13106: 
1.128     moko     13107: ac_prog=ld
                   13108: if test "$GCC" = yes; then
                   13109:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     13110:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13111: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13112:   case $host in
                   13113:   *-*-mingw*)
                   13114:     # gcc leaves a trailing carriage return which upsets mingw
                   13115:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13116:   *)
                   13117:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13118:   esac
                   13119:   case $ac_prog in
                   13120:     # Accept absolute paths.
                   13121:     [\\/]* | ?:[\\/]*)
                   13122:       re_direlt='/[^/][^/]*/\.\./'
                   13123:       # Canonicalize the pathname of ld
                   13124:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13125:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13126:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13127:       done
                   13128:       test -z "$LD" && LD="$ac_prog"
                   13129:       ;;
                   13130:   "")
                   13131:     # If it fails, then pretend we aren't using GCC.
                   13132:     ac_prog=ld
                   13133:     ;;
                   13134:   *)
                   13135:     # If it is relative, then search for the first ld in PATH.
                   13136:     with_gnu_ld=unknown
                   13137:     ;;
                   13138:   esac
                   13139: elif test "$with_gnu_ld" = yes; then
1.150     moko     13140:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13141: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13142: else
1.150     moko     13143:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13144: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13145: fi
1.150     moko     13146: if ${lt_cv_path_LD+:} false; then :
                   13147:   $as_echo_n "(cached) " >&6
1.128     moko     13148: else
                   13149:   if test -z "$LD"; then
                   13150:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13151:   for ac_dir in $PATH; do
                   13152:     IFS="$lt_save_ifs"
                   13153:     test -z "$ac_dir" && ac_dir=.
                   13154:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13155:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13156:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13157:       # but apparently some variants of GNU ld only accept -v.
                   13158:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13159:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13160:       *GNU* | *'with BFD'*)
                   13161:        test "$with_gnu_ld" != no && break
                   13162:        ;;
                   13163:       *)
                   13164:        test "$with_gnu_ld" != yes && break
                   13165:        ;;
                   13166:       esac
                   13167:     fi
                   13168:   done
                   13169:   IFS="$lt_save_ifs"
                   13170: else
                   13171:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13172: fi
                   13173: fi
                   13174: 
                   13175: LD="$lt_cv_path_LD"
                   13176: if test -n "$LD"; then
1.150     moko     13177:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13178: $as_echo "$LD" >&6; }
1.128     moko     13179: else
1.150     moko     13180:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13181: $as_echo "no" >&6; }
1.128     moko     13182: fi
1.150     moko     13183: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   13184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13185: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   13186: if ${lt_cv_prog_gnu_ld+:} false; then :
                   13187:   $as_echo_n "(cached) " >&6
1.128     moko     13188: else
                   13189:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13190: case `$LD -v 2>&1 </dev/null` in
                   13191: *GNU* | *'with BFD'*)
                   13192:   lt_cv_prog_gnu_ld=yes
                   13193:   ;;
                   13194: *)
                   13195:   lt_cv_prog_gnu_ld=no
                   13196:   ;;
                   13197: esac
                   13198: fi
1.150     moko     13199: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   13200: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13201: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13202: 
                   13203: 
                   13204: 
                   13205: 
                   13206: 
                   13207: 
                   13208: 
                   13209:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13210:       # archiving commands below assume that GNU ld is being used.
                   13211:       if test "$with_gnu_ld" = yes; then
                   13212:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13213:         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'
                   13214: 
                   13215:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13216:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13217: 
                   13218:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13219:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13220:         #     investigate it a little bit more. (MM)
                   13221:         wlarc='${wl}'
                   13222: 
                   13223:         # ancient GNU ld didn't support --whole-archive et. al.
                   13224:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13225:          $GREP 'no-whole-archive' > /dev/null; then
                   13226:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13227:         else
                   13228:           whole_archive_flag_spec_CXX=
                   13229:         fi
                   13230:       else
                   13231:         with_gnu_ld=no
                   13232:         wlarc=
                   13233: 
                   13234:         # A generic and very simple default shared library creation
                   13235:         # command for GNU C++ for the case where it uses the native
                   13236:         # linker, instead of GNU ld.  If possible, this setting should
                   13237:         # overridden to take advantage of the native linker features on
                   13238:         # the platform it is being used on.
                   13239:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13240:       fi
                   13241: 
                   13242:       # Commands to make compiler produce verbose output that lists
                   13243:       # what "hidden" libraries, object files and flags are used when
                   13244:       # linking a shared library.
                   13245:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13246: 
                   13247:     else
                   13248:       GXX=no
                   13249:       with_gnu_ld=no
                   13250:       wlarc=
                   13251:     fi
                   13252: 
                   13253:     # PORTME: fill in a description of your system's C++ link characteristics
1.150     moko     13254:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13255: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13256:     ld_shlibs_CXX=yes
                   13257:     case $host_os in
                   13258:       aix3*)
                   13259:         # FIXME: insert proper C++ library support
                   13260:         ld_shlibs_CXX=no
                   13261:         ;;
                   13262:       aix[4-9]*)
                   13263:         if test "$host_cpu" = ia64; then
                   13264:           # On IA64, the linker does run time linking by default, so we don't
                   13265:           # have to do anything special.
                   13266:           aix_use_runtimelinking=no
                   13267:           exp_sym_flag='-Bexport'
                   13268:           no_entry_flag=""
                   13269:         else
                   13270:           aix_use_runtimelinking=no
                   13271: 
                   13272:           # Test if we are trying to use run time linking or normal
                   13273:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13274:           # need to do runtime linking.
                   13275:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13276:            for ld_flag in $LDFLAGS; do
                   13277:              case $ld_flag in
                   13278:              *-brtl*)
                   13279:                aix_use_runtimelinking=yes
                   13280:                break
                   13281:                ;;
                   13282:              esac
                   13283:            done
                   13284:            ;;
                   13285:           esac
                   13286: 
                   13287:           exp_sym_flag='-bexport'
                   13288:           no_entry_flag='-bnoentry'
                   13289:         fi
                   13290: 
                   13291:         # When large executables or shared objects are built, AIX ld can
                   13292:         # have problems creating the table of contents.  If linking a library
                   13293:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13294:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13295:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13296: 
                   13297:         archive_cmds_CXX=''
                   13298:         hardcode_direct_CXX=yes
                   13299:         hardcode_direct_absolute_CXX=yes
                   13300:         hardcode_libdir_separator_CXX=':'
                   13301:         link_all_deplibs_CXX=yes
                   13302:         file_list_spec_CXX='${wl}-f,'
                   13303: 
                   13304:         if test "$GXX" = yes; then
                   13305:           case $host_os in aix4.[012]|aix4.[012].*)
                   13306:           # We only want to do this on AIX 4.2 and lower, the check
                   13307:           # below for broken collect2 doesn't work under 4.3+
                   13308:          collect2name=`${CC} -print-prog-name=collect2`
                   13309:          if test -f "$collect2name" &&
                   13310:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13311:          then
                   13312:            # We have reworked collect2
                   13313:            :
                   13314:          else
                   13315:            # We have old collect2
                   13316:            hardcode_direct_CXX=unsupported
                   13317:            # It fails to find uninstalled libraries when the uninstalled
                   13318:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13319:            # to unsupported forces relinking
                   13320:            hardcode_minus_L_CXX=yes
                   13321:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13322:            hardcode_libdir_separator_CXX=
                   13323:          fi
                   13324:           esac
                   13325:           shared_flag='-shared'
                   13326:          if test "$aix_use_runtimelinking" = yes; then
                   13327:            shared_flag="$shared_flag "'${wl}-G'
                   13328:          fi
                   13329:         else
                   13330:           # not using gcc
                   13331:           if test "$host_cpu" = ia64; then
                   13332:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13333:          # chokes on -Wl,-G. The following line is correct:
                   13334:          shared_flag='-G'
                   13335:           else
                   13336:            if test "$aix_use_runtimelinking" = yes; then
                   13337:              shared_flag='${wl}-G'
                   13338:            else
                   13339:              shared_flag='${wl}-bM:SRE'
                   13340:            fi
                   13341:           fi
                   13342:         fi
                   13343: 
                   13344:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13345:         # It seems that -bexpall does not export symbols beginning with
                   13346:         # underscore (_), so it is better to generate a list of symbols to
                   13347:        # export.
                   13348:         always_export_symbols_CXX=yes
                   13349:         if test "$aix_use_runtimelinking" = yes; then
                   13350:           # Warning - without using the other runtime loading flags (-brtl),
                   13351:           # -berok will link without error, but may produce a broken library.
                   13352:           allow_undefined_flag_CXX='-berok'
                   13353:           # Determine the default libpath from the value encoded in an empty
                   13354:           # executable.
                   13355:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13356:   aix_libpath=$lt_cv_aix_libpath
                   13357: else
1.150     moko     13358:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13359:   $as_echo_n "(cached) " >&6
1.128     moko     13360: else
1.150     moko     13361:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13362: /* end confdefs.h.  */
                   13363: 
                   13364: int
                   13365: main ()
                   13366: {
                   13367: 
                   13368:   ;
                   13369:   return 0;
                   13370: }
                   13371: _ACEOF
1.150     moko     13372: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13373: 
                   13374:   lt_aix_libpath_sed='
                   13375:       /Import File Strings/,/^$/ {
                   13376:          /^0/ {
                   13377:              s/^0  *\([^ ]*\) *$/\1/
                   13378:              p
                   13379:          }
                   13380:       }'
                   13381:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13382:   # Check for a 64-bit object if we didn't find anything.
                   13383:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13384:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13385:   fi
                   13386: fi
1.150     moko     13387: rm -f core conftest.err conftest.$ac_objext \
                   13388:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13389:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13390:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13391:   fi
                   13392: 
                   13393: fi
                   13394: 
                   13395:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13396: fi
                   13397: 
                   13398:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13399: 
                   13400:           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"
                   13401:         else
                   13402:           if test "$host_cpu" = ia64; then
                   13403:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13404:            allow_undefined_flag_CXX="-z nodefs"
                   13405:            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"
                   13406:           else
                   13407:            # Determine the default libpath from the value encoded in an
                   13408:            # empty executable.
                   13409:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13410:   aix_libpath=$lt_cv_aix_libpath
                   13411: else
1.150     moko     13412:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13413:   $as_echo_n "(cached) " >&6
1.128     moko     13414: else
1.150     moko     13415:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13416: /* end confdefs.h.  */
                   13417: 
                   13418: int
                   13419: main ()
                   13420: {
                   13421: 
                   13422:   ;
                   13423:   return 0;
                   13424: }
                   13425: _ACEOF
1.150     moko     13426: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13427: 
                   13428:   lt_aix_libpath_sed='
                   13429:       /Import File Strings/,/^$/ {
                   13430:          /^0/ {
                   13431:              s/^0  *\([^ ]*\) *$/\1/
                   13432:              p
                   13433:          }
                   13434:       }'
                   13435:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13436:   # Check for a 64-bit object if we didn't find anything.
                   13437:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13438:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13439:   fi
                   13440: fi
1.150     moko     13441: rm -f core conftest.err conftest.$ac_objext \
                   13442:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13443:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13444:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13445:   fi
                   13446: 
                   13447: fi
                   13448: 
                   13449:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13450: fi
                   13451: 
                   13452:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13453:            # Warning - without using the other run time loading flags,
                   13454:            # -berok will link without error, but may produce a broken library.
                   13455:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13456:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13457:            if test "$with_gnu_ld" = yes; then
                   13458:              # We only use this code for GNU lds that support --whole-archive.
                   13459:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13460:            else
                   13461:              # Exported symbols can be pulled into shared objects from archives
                   13462:              whole_archive_flag_spec_CXX='$convenience'
                   13463:            fi
                   13464:            archive_cmds_need_lc_CXX=yes
                   13465:            # This is similar to how AIX traditionally builds its shared
                   13466:            # libraries.
                   13467:            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'
                   13468:           fi
                   13469:         fi
                   13470:         ;;
                   13471: 
                   13472:       beos*)
                   13473:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13474:          allow_undefined_flag_CXX=unsupported
                   13475:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13476:          # support --undefined.  This deserves some investigation.  FIXME
                   13477:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13478:        else
                   13479:          ld_shlibs_CXX=no
                   13480:        fi
                   13481:        ;;
                   13482: 
                   13483:       chorus*)
                   13484:         case $cc_basename in
                   13485:           *)
                   13486:          # FIXME: insert proper C++ library support
                   13487:          ld_shlibs_CXX=no
                   13488:          ;;
                   13489:         esac
                   13490:         ;;
                   13491: 
                   13492:       cygwin* | mingw* | pw32* | cegcc*)
                   13493:        case $GXX,$cc_basename in
                   13494:        ,cl* | no,cl*)
                   13495:          # Native MSVC
                   13496:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13497:          # no search path for DLLs.
                   13498:          hardcode_libdir_flag_spec_CXX=' '
                   13499:          allow_undefined_flag_CXX=unsupported
                   13500:          always_export_symbols_CXX=yes
                   13501:          file_list_spec_CXX='@'
                   13502:          # Tell ltmain to make .lib files, not .a files.
                   13503:          libext=lib
                   13504:          # Tell ltmain to make .dll files, not .so files.
                   13505:          shrext_cmds=".dll"
                   13506:          # FIXME: Setting linknames here is a bad hack.
                   13507:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13508:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13509:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13510:            else
                   13511:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13512:            fi~
                   13513:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13514:            linknames='
                   13515:          # The linker will not automatically build a static lib if we build a DLL.
                   13516:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13517:          enable_shared_with_static_runtimes_CXX=yes
                   13518:          # Don't use ranlib
                   13519:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13520:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13521:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13522:            case $lt_outputfile in
                   13523:              *.exe|*.EXE) ;;
                   13524:              *)
                   13525:                lt_outputfile="$lt_outputfile.exe"
                   13526:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13527:                ;;
                   13528:            esac~
                   13529:            func_to_tool_file "$lt_outputfile"~
                   13530:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13531:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13532:              $RM "$lt_outputfile.manifest";
                   13533:            fi'
                   13534:          ;;
                   13535:        *)
                   13536:          # g++
                   13537:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13538:          # as there is no search path for DLLs.
                   13539:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13540:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13541:          allow_undefined_flag_CXX=unsupported
                   13542:          always_export_symbols_CXX=no
                   13543:          enable_shared_with_static_runtimes_CXX=yes
                   13544: 
                   13545:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13546:            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'
                   13547:            # If the export-symbols file already is a .def file (1st line
                   13548:            # is EXPORTS), use it as is; otherwise, prepend...
                   13549:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13550:              cp $export_symbols $output_objdir/$soname.def;
                   13551:            else
                   13552:              echo EXPORTS > $output_objdir/$soname.def;
                   13553:              cat $export_symbols >> $output_objdir/$soname.def;
                   13554:            fi~
                   13555:            $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'
                   13556:          else
                   13557:            ld_shlibs_CXX=no
                   13558:          fi
                   13559:          ;;
                   13560:        esac
                   13561:        ;;
                   13562:       darwin* | rhapsody*)
                   13563: 
                   13564: 
                   13565:   archive_cmds_need_lc_CXX=no
                   13566:   hardcode_direct_CXX=no
                   13567:   hardcode_automatic_CXX=yes
                   13568:   hardcode_shlibpath_var_CXX=unsupported
                   13569:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13570:     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\"`'
                   13571: 
                   13572:   else
                   13573:     whole_archive_flag_spec_CXX=''
                   13574:   fi
                   13575:   link_all_deplibs_CXX=yes
                   13576:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13577:   case $cc_basename in
                   13578:      ifort*) _lt_dar_can_shared=yes ;;
                   13579:      *) _lt_dar_can_shared=$GCC ;;
                   13580:   esac
                   13581:   if test "$_lt_dar_can_shared" = "yes"; then
                   13582:     output_verbose_link_cmd=func_echo_all
                   13583:     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}"
                   13584:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13585:     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}"
                   13586:     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}"
                   13587:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13588:       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}"
                   13589:       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}"
                   13590:     fi
                   13591: 
                   13592:   else
                   13593:   ld_shlibs_CXX=no
                   13594:   fi
                   13595: 
                   13596:        ;;
                   13597: 
                   13598:       dgux*)
                   13599:         case $cc_basename in
                   13600:           ec++*)
                   13601:            # FIXME: insert proper C++ library support
                   13602:            ld_shlibs_CXX=no
                   13603:            ;;
                   13604:           ghcx*)
                   13605:            # Green Hills C++ Compiler
                   13606:            # FIXME: insert proper C++ library support
                   13607:            ld_shlibs_CXX=no
                   13608:            ;;
                   13609:           *)
                   13610:            # FIXME: insert proper C++ library support
                   13611:            ld_shlibs_CXX=no
                   13612:            ;;
                   13613:         esac
                   13614:         ;;
                   13615: 
                   13616:       freebsd2.*)
                   13617:         # C++ shared libraries reported to be fairly broken before
                   13618:        # switch to ELF
                   13619:         ld_shlibs_CXX=no
                   13620:         ;;
                   13621: 
                   13622:       freebsd-elf*)
                   13623:         archive_cmds_need_lc_CXX=no
                   13624:         ;;
                   13625: 
                   13626:       freebsd* | dragonfly*)
                   13627:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13628:         # conventions
                   13629:         ld_shlibs_CXX=yes
                   13630:         ;;
                   13631: 
                   13632:       gnu*)
                   13633:         ;;
                   13634: 
                   13635:       haiku*)
                   13636:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13637:         link_all_deplibs_CXX=yes
                   13638:         ;;
                   13639: 
                   13640:       hpux9*)
                   13641:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13642:         hardcode_libdir_separator_CXX=:
                   13643:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13644:         hardcode_direct_CXX=yes
                   13645:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13646:                                             # but as the default
                   13647:                                             # location of the library.
                   13648: 
                   13649:         case $cc_basename in
                   13650:           CC*)
                   13651:             # FIXME: insert proper C++ library support
                   13652:             ld_shlibs_CXX=no
                   13653:             ;;
                   13654:           aCC*)
                   13655:             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'
                   13656:             # Commands to make compiler produce verbose output that lists
                   13657:             # what "hidden" libraries, object files and flags are used when
                   13658:             # linking a shared library.
                   13659:             #
                   13660:             # There doesn't appear to be a way to prevent this compiler from
                   13661:             # explicitly linking system object files so we need to strip them
                   13662:             # from the output so that they don't get included in the library
                   13663:             # dependencies.
                   13664:             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"'
                   13665:             ;;
                   13666:           *)
                   13667:             if test "$GXX" = yes; then
                   13668:               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'
                   13669:             else
                   13670:               # FIXME: insert proper C++ library support
                   13671:               ld_shlibs_CXX=no
                   13672:             fi
                   13673:             ;;
                   13674:         esac
                   13675:         ;;
                   13676: 
                   13677:       hpux10*|hpux11*)
                   13678:         if test $with_gnu_ld = no; then
                   13679:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13680:          hardcode_libdir_separator_CXX=:
                   13681: 
                   13682:           case $host_cpu in
                   13683:             hppa*64*|ia64*)
                   13684:               ;;
                   13685:             *)
                   13686:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13687:               ;;
                   13688:           esac
                   13689:         fi
                   13690:         case $host_cpu in
                   13691:           hppa*64*|ia64*)
                   13692:             hardcode_direct_CXX=no
                   13693:             hardcode_shlibpath_var_CXX=no
                   13694:             ;;
                   13695:           *)
                   13696:             hardcode_direct_CXX=yes
                   13697:             hardcode_direct_absolute_CXX=yes
                   13698:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13699:                                                 # but as the default
                   13700:                                                 # location of the library.
                   13701:             ;;
                   13702:         esac
                   13703: 
                   13704:         case $cc_basename in
                   13705:           CC*)
                   13706:            # FIXME: insert proper C++ library support
                   13707:            ld_shlibs_CXX=no
                   13708:            ;;
                   13709:           aCC*)
                   13710:            case $host_cpu in
                   13711:              hppa*64*)
                   13712:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13713:                ;;
                   13714:              ia64*)
                   13715:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13716:                ;;
                   13717:              *)
                   13718:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13719:                ;;
                   13720:            esac
                   13721:            # Commands to make compiler produce verbose output that lists
                   13722:            # what "hidden" libraries, object files and flags are used when
                   13723:            # linking a shared library.
                   13724:            #
                   13725:            # There doesn't appear to be a way to prevent this compiler from
                   13726:            # explicitly linking system object files so we need to strip them
                   13727:            # from the output so that they don't get included in the library
                   13728:            # dependencies.
                   13729:            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"'
                   13730:            ;;
                   13731:           *)
                   13732:            if test "$GXX" = yes; then
                   13733:              if test $with_gnu_ld = no; then
                   13734:                case $host_cpu in
                   13735:                  hppa*64*)
                   13736:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13737:                    ;;
                   13738:                  ia64*)
                   13739:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13740:                    ;;
                   13741:                  *)
                   13742:                    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'
                   13743:                    ;;
                   13744:                esac
                   13745:              fi
                   13746:            else
                   13747:              # FIXME: insert proper C++ library support
                   13748:              ld_shlibs_CXX=no
                   13749:            fi
                   13750:            ;;
                   13751:         esac
                   13752:         ;;
                   13753: 
                   13754:       interix[3-9]*)
                   13755:        hardcode_direct_CXX=no
                   13756:        hardcode_shlibpath_var_CXX=no
                   13757:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13758:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13759:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13760:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13761:        # default) and relocated if they conflict, which is a slow very memory
                   13762:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13763:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13764:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13765:        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'
                   13766:        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'
                   13767:        ;;
                   13768:       irix5* | irix6*)
                   13769:         case $cc_basename in
                   13770:           CC*)
                   13771:            # SGI C++
                   13772:            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'
                   13773: 
                   13774:            # Archives containing C++ object files must be created using
                   13775:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13776:            # necessary to make sure instantiated templates are included
                   13777:            # in the archive.
                   13778:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13779:            ;;
                   13780:           *)
                   13781:            if test "$GXX" = yes; then
                   13782:              if test "$with_gnu_ld" = no; then
                   13783:                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'
                   13784:              else
                   13785:                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'
                   13786:              fi
                   13787:            fi
                   13788:            link_all_deplibs_CXX=yes
                   13789:            ;;
                   13790:         esac
                   13791:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13792:         hardcode_libdir_separator_CXX=:
                   13793:         inherit_rpath_CXX=yes
                   13794:         ;;
                   13795: 
                   13796:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13797:         case $cc_basename in
                   13798:           KCC*)
                   13799:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13800: 
                   13801:            # KCC will only create a shared library if the output file
                   13802:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13803:            # to its proper name (with version) after linking.
                   13804:            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'
                   13805:            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'
                   13806:            # Commands to make compiler produce verbose output that lists
                   13807:            # what "hidden" libraries, object files and flags are used when
                   13808:            # linking a shared library.
                   13809:            #
                   13810:            # There doesn't appear to be a way to prevent this compiler from
                   13811:            # explicitly linking system object files so we need to strip them
                   13812:            # from the output so that they don't get included in the library
                   13813:            # dependencies.
                   13814:            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"'
                   13815: 
                   13816:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13817:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13818: 
                   13819:            # Archives containing C++ object files must be created using
                   13820:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13821:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13822:            ;;
                   13823:          icpc* | ecpc* )
                   13824:            # Intel C++
                   13825:            with_gnu_ld=yes
                   13826:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13827:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13828:            # earlier do not add the objects themselves.
                   13829:            case `$CC -V 2>&1` in
                   13830:              *"Version 7."*)
                   13831:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13832:                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'
                   13833:                ;;
                   13834:              *)  # Version 8.0 or newer
                   13835:                tmp_idyn=
                   13836:                case $host_cpu in
                   13837:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13838:                esac
                   13839:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13840:                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'
                   13841:                ;;
                   13842:            esac
                   13843:            archive_cmds_need_lc_CXX=no
                   13844:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13845:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13846:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13847:            ;;
                   13848:           pgCC* | pgcpp*)
                   13849:             # Portland Group C++ compiler
                   13850:            case `$CC -V` in
                   13851:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13852:              prelink_cmds_CXX='tpldir=Template.dir~
                   13853:                rm -rf $tpldir~
                   13854:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13855:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13856:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13857:                rm -rf $tpldir~
                   13858:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13859:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13860:                $RANLIB $oldlib'
                   13861:              archive_cmds_CXX='tpldir=Template.dir~
                   13862:                rm -rf $tpldir~
                   13863:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13864:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13865:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13866:                rm -rf $tpldir~
                   13867:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13868:                $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'
                   13869:              ;;
                   13870:            *) # Version 6 and above use weak symbols
                   13871:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13872:              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'
                   13873:              ;;
                   13874:            esac
                   13875: 
                   13876:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13877:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13878:            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'
                   13879:             ;;
                   13880:          cxx*)
                   13881:            # Compaq C++
                   13882:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13883:            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'
                   13884: 
                   13885:            runpath_var=LD_RUN_PATH
                   13886:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13887:            hardcode_libdir_separator_CXX=:
                   13888: 
                   13889:            # Commands to make compiler produce verbose output that lists
                   13890:            # what "hidden" libraries, object files and flags are used when
                   13891:            # linking a shared library.
                   13892:            #
                   13893:            # There doesn't appear to be a way to prevent this compiler from
                   13894:            # explicitly linking system object files so we need to strip them
                   13895:            # from the output so that they don't get included in the library
                   13896:            # dependencies.
                   13897:            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'
                   13898:            ;;
                   13899:          xl* | mpixl* | bgxl*)
                   13900:            # IBM XL 8.0 on PPC, with GNU ld
                   13901:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13902:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13903:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13904:            if test "x$supports_anon_versioning" = xyes; then
                   13905:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13906:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13907:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13908:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13909:            fi
                   13910:            ;;
                   13911:          *)
                   13912:            case `$CC -V 2>&1 | sed 5q` in
                   13913:            *Sun\ C*)
                   13914:              # Sun C++ 5.9
                   13915:              no_undefined_flag_CXX=' -zdefs'
                   13916:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13917:              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'
                   13918:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13919:              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'
                   13920:              compiler_needs_object_CXX=yes
                   13921: 
                   13922:              # Not sure whether something based on
                   13923:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13924:              # would be better.
                   13925:              output_verbose_link_cmd='func_echo_all'
                   13926: 
                   13927:              # Archives containing C++ object files must be created using
                   13928:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13929:              # necessary to make sure instantiated templates are included
                   13930:              # in the archive.
                   13931:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13932:              ;;
                   13933:            esac
                   13934:            ;;
                   13935:        esac
                   13936:        ;;
                   13937: 
                   13938:       lynxos*)
                   13939:         # FIXME: insert proper C++ library support
                   13940:        ld_shlibs_CXX=no
                   13941:        ;;
                   13942: 
                   13943:       m88k*)
                   13944:         # FIXME: insert proper C++ library support
                   13945:         ld_shlibs_CXX=no
                   13946:        ;;
                   13947: 
                   13948:       mvs*)
                   13949:         case $cc_basename in
                   13950:           cxx*)
                   13951:            # FIXME: insert proper C++ library support
                   13952:            ld_shlibs_CXX=no
                   13953:            ;;
                   13954:          *)
                   13955:            # FIXME: insert proper C++ library support
                   13956:            ld_shlibs_CXX=no
                   13957:            ;;
                   13958:        esac
                   13959:        ;;
                   13960: 
                   13961:       netbsd*)
                   13962:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13963:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13964:          wlarc=
                   13965:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13966:          hardcode_direct_CXX=yes
                   13967:          hardcode_shlibpath_var_CXX=no
                   13968:        fi
                   13969:        # Workaround some broken pre-1.5 toolchains
                   13970:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13971:        ;;
                   13972: 
                   13973:       *nto* | *qnx*)
                   13974:         ld_shlibs_CXX=yes
                   13975:        ;;
                   13976: 
                   13977:       openbsd2*)
                   13978:         # C++ shared libraries are fairly broken
                   13979:        ld_shlibs_CXX=no
                   13980:        ;;
                   13981: 
                   13982:       openbsd*)
                   13983:        if test -f /usr/libexec/ld.so; then
                   13984:          hardcode_direct_CXX=yes
                   13985:          hardcode_shlibpath_var_CXX=no
                   13986:          hardcode_direct_absolute_CXX=yes
                   13987:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13988:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13989:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13990:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13991:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13992:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13993:          fi
                   13994:          output_verbose_link_cmd=func_echo_all
                   13995:        else
                   13996:          ld_shlibs_CXX=no
                   13997:        fi
                   13998:        ;;
                   13999: 
                   14000:       osf3* | osf4* | osf5*)
                   14001:         case $cc_basename in
                   14002:           KCC*)
                   14003:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14004: 
                   14005:            # KCC will only create a shared library if the output file
                   14006:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14007:            # to its proper name (with version) after linking.
                   14008:            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'
                   14009: 
                   14010:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14011:            hardcode_libdir_separator_CXX=:
                   14012: 
                   14013:            # Archives containing C++ object files must be created using
                   14014:            # the KAI C++ compiler.
                   14015:            case $host in
                   14016:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   14017:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   14018:            esac
                   14019:            ;;
                   14020:           RCC*)
                   14021:            # Rational C++ 2.4.1
                   14022:            # FIXME: insert proper C++ library support
                   14023:            ld_shlibs_CXX=no
                   14024:            ;;
                   14025:           cxx*)
                   14026:            case $host in
                   14027:              osf3*)
                   14028:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14029:                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'
                   14030:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14031:                ;;
                   14032:              *)
                   14033:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14034:                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'
                   14035:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14036:                  echo "-hidden">> $lib.exp~
                   14037:                  $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~
                   14038:                  $RM $lib.exp'
                   14039:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14040:                ;;
                   14041:            esac
                   14042: 
                   14043:            hardcode_libdir_separator_CXX=:
                   14044: 
                   14045:            # Commands to make compiler produce verbose output that lists
                   14046:            # what "hidden" libraries, object files and flags are used when
                   14047:            # linking a shared library.
                   14048:            #
                   14049:            # There doesn't appear to be a way to prevent this compiler from
                   14050:            # explicitly linking system object files so we need to strip them
                   14051:            # from the output so that they don't get included in the library
                   14052:            # dependencies.
                   14053:            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"'
                   14054:            ;;
                   14055:          *)
                   14056:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14057:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14058:              case $host in
                   14059:                osf3*)
                   14060:                  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'
                   14061:                  ;;
                   14062:                *)
                   14063:                  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'
                   14064:                  ;;
                   14065:              esac
                   14066: 
                   14067:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14068:              hardcode_libdir_separator_CXX=:
                   14069: 
                   14070:              # Commands to make compiler produce verbose output that lists
                   14071:              # what "hidden" libraries, object files and flags are used when
                   14072:              # linking a shared library.
                   14073:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14074: 
                   14075:            else
                   14076:              # FIXME: insert proper C++ library support
                   14077:              ld_shlibs_CXX=no
                   14078:            fi
                   14079:            ;;
                   14080:         esac
                   14081:         ;;
                   14082: 
                   14083:       psos*)
                   14084:         # FIXME: insert proper C++ library support
                   14085:         ld_shlibs_CXX=no
                   14086:         ;;
                   14087: 
                   14088:       sunos4*)
                   14089:         case $cc_basename in
                   14090:           CC*)
                   14091:            # Sun C++ 4.x
                   14092:            # FIXME: insert proper C++ library support
                   14093:            ld_shlibs_CXX=no
                   14094:            ;;
                   14095:           lcc*)
                   14096:            # Lucid
                   14097:            # FIXME: insert proper C++ library support
                   14098:            ld_shlibs_CXX=no
                   14099:            ;;
                   14100:           *)
                   14101:            # FIXME: insert proper C++ library support
                   14102:            ld_shlibs_CXX=no
                   14103:            ;;
                   14104:         esac
                   14105:         ;;
                   14106: 
                   14107:       solaris*)
                   14108:         case $cc_basename in
                   14109:           CC* | sunCC*)
                   14110:            # Sun C++ 4.2, 5.x and Centerline C++
                   14111:             archive_cmds_need_lc_CXX=yes
                   14112:            no_undefined_flag_CXX=' -zdefs'
                   14113:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14114:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14115:              $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'
                   14116: 
                   14117:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14118:            hardcode_shlibpath_var_CXX=no
                   14119:            case $host_os in
                   14120:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14121:              *)
                   14122:                # The compiler driver will combine and reorder linker options,
                   14123:                # but understands `-z linker_flag'.
                   14124:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14125:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14126:                ;;
                   14127:            esac
                   14128:            link_all_deplibs_CXX=yes
                   14129: 
                   14130:            output_verbose_link_cmd='func_echo_all'
                   14131: 
                   14132:            # Archives containing C++ object files must be created using
                   14133:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14134:            # necessary to make sure instantiated templates are included
                   14135:            # in the archive.
                   14136:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14137:            ;;
                   14138:           gcx*)
                   14139:            # Green Hills C++ Compiler
                   14140:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14141: 
                   14142:            # The C++ compiler must be used to create the archive.
                   14143:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14144:            ;;
                   14145:           *)
                   14146:            # GNU C++ compiler with Solaris linker
                   14147:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14148:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14149:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14150:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14151:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14152:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14153: 
                   14154:                # Commands to make compiler produce verbose output that lists
                   14155:                # what "hidden" libraries, object files and flags are used when
                   14156:                # linking a shared library.
                   14157:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14158:              else
                   14159:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14160:                # platform.
                   14161:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14162:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14163:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14164: 
                   14165:                # Commands to make compiler produce verbose output that lists
                   14166:                # what "hidden" libraries, object files and flags are used when
                   14167:                # linking a shared library.
                   14168:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14169:              fi
                   14170: 
                   14171:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14172:              case $host_os in
                   14173:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14174:                *)
                   14175:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14176:                  ;;
                   14177:              esac
                   14178:            fi
                   14179:            ;;
                   14180:         esac
                   14181:         ;;
                   14182: 
                   14183:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14184:       no_undefined_flag_CXX='${wl}-z,text'
                   14185:       archive_cmds_need_lc_CXX=no
                   14186:       hardcode_shlibpath_var_CXX=no
                   14187:       runpath_var='LD_RUN_PATH'
                   14188: 
                   14189:       case $cc_basename in
                   14190:         CC*)
                   14191:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14192:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14193:          ;;
                   14194:        *)
                   14195:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14196:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14197:          ;;
                   14198:       esac
                   14199:       ;;
                   14200: 
                   14201:       sysv5* | sco3.2v5* | sco5v6*)
                   14202:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14203:        # link with -lc, and that would cause any symbols used from libc to
                   14204:        # always be unresolved, which means just about no library would
                   14205:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14206:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14207:        # as -z defs.
                   14208:        no_undefined_flag_CXX='${wl}-z,text'
                   14209:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14210:        archive_cmds_need_lc_CXX=no
                   14211:        hardcode_shlibpath_var_CXX=no
                   14212:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14213:        hardcode_libdir_separator_CXX=':'
                   14214:        link_all_deplibs_CXX=yes
                   14215:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14216:        runpath_var='LD_RUN_PATH'
                   14217: 
                   14218:        case $cc_basename in
                   14219:           CC*)
                   14220:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14221:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14222:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14223:              '"$old_archive_cmds_CXX"
                   14224:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14225:              '"$reload_cmds_CXX"
                   14226:            ;;
                   14227:          *)
                   14228:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14229:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14230:            ;;
                   14231:        esac
                   14232:       ;;
                   14233: 
                   14234:       tandem*)
                   14235:         case $cc_basename in
                   14236:           NCC*)
                   14237:            # NonStop-UX NCC 3.20
                   14238:            # FIXME: insert proper C++ library support
                   14239:            ld_shlibs_CXX=no
                   14240:            ;;
                   14241:           *)
                   14242:            # FIXME: insert proper C++ library support
                   14243:            ld_shlibs_CXX=no
                   14244:            ;;
                   14245:         esac
                   14246:         ;;
                   14247: 
                   14248:       vxworks*)
                   14249:         # FIXME: insert proper C++ library support
                   14250:         ld_shlibs_CXX=no
                   14251:         ;;
                   14252: 
                   14253:       *)
                   14254:         # FIXME: insert proper C++ library support
                   14255:         ld_shlibs_CXX=no
                   14256:         ;;
                   14257:     esac
                   14258: 
1.150     moko     14259:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14260: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14261:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14262: 
                   14263:     GCC_CXX="$GXX"
                   14264:     LD_CXX="$LD"
                   14265: 
                   14266:     ## CAVEAT EMPTOR:
                   14267:     ## There is no encapsulation within the following macros, do not change
                   14268:     ## the running order or otherwise move them around unless you know exactly
                   14269:     ## what you are doing...
                   14270:     # Dependencies to place before and after the object being linked:
                   14271: predep_objects_CXX=
                   14272: postdep_objects_CXX=
                   14273: predeps_CXX=
                   14274: postdeps_CXX=
                   14275: compiler_lib_search_path_CXX=
                   14276: 
                   14277: cat > conftest.$ac_ext <<_LT_EOF
                   14278: class Foo
                   14279: {
                   14280: public:
                   14281:   Foo (void) { a = 0; }
                   14282: private:
                   14283:   int a;
                   14284: };
                   14285: _LT_EOF
                   14286: 
                   14287: 
                   14288: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14289: case "$CC $CFLAGS " in #(
                   14290: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14291: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14292: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14293: esac
                   14294: 
1.150     moko     14295: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14296:   (eval $ac_compile) 2>&5
                   14297:   ac_status=$?
1.150     moko     14298:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14299:   test $ac_status = 0; }; then
1.128     moko     14300:   # Parse the compiler output and extract the necessary
                   14301:   # objects, libraries and library flags.
                   14302: 
                   14303:   # Sentinel used to keep track of whether or not we are before
                   14304:   # the conftest object file.
                   14305:   pre_test_object_deps_done=no
                   14306: 
                   14307:   for p in `eval "$output_verbose_link_cmd"`; do
                   14308:     case ${prev}${p} in
                   14309: 
                   14310:     -L* | -R* | -l*)
                   14311:        # Some compilers place space between "-{L,R}" and the path.
                   14312:        # Remove the space.
                   14313:        if test $p = "-L" ||
                   14314:           test $p = "-R"; then
                   14315:         prev=$p
                   14316:         continue
                   14317:        fi
                   14318: 
                   14319:        # Expand the sysroot to ease extracting the directories later.
                   14320:        if test -z "$prev"; then
                   14321:          case $p in
                   14322:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14323:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14324:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14325:          esac
                   14326:        fi
                   14327:        case $p in
                   14328:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14329:        esac
                   14330:        if test "$pre_test_object_deps_done" = no; then
                   14331:         case ${prev} in
                   14332:         -L | -R)
                   14333:           # Internal compiler library paths should come after those
                   14334:           # provided the user.  The postdeps already come after the
                   14335:           # user supplied libs so there is no need to process them.
                   14336:           if test -z "$compiler_lib_search_path_CXX"; then
                   14337:             compiler_lib_search_path_CXX="${prev}${p}"
                   14338:           else
                   14339:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14340:           fi
                   14341:           ;;
                   14342:         # The "-l" case would never come before the object being
                   14343:         # linked, so don't bother handling this case.
                   14344:         esac
                   14345:        else
                   14346:         if test -z "$postdeps_CXX"; then
                   14347:           postdeps_CXX="${prev}${p}"
                   14348:         else
                   14349:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14350:         fi
                   14351:        fi
                   14352:        prev=
                   14353:        ;;
                   14354: 
                   14355:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14356:     *.$objext)
                   14357:        # This assumes that the test object file only shows up
                   14358:        # once in the compiler output.
                   14359:        if test "$p" = "conftest.$objext"; then
                   14360:         pre_test_object_deps_done=yes
                   14361:         continue
                   14362:        fi
                   14363: 
                   14364:        if test "$pre_test_object_deps_done" = no; then
                   14365:         if test -z "$predep_objects_CXX"; then
                   14366:           predep_objects_CXX="$p"
                   14367:         else
                   14368:           predep_objects_CXX="$predep_objects_CXX $p"
                   14369:         fi
                   14370:        else
                   14371:         if test -z "$postdep_objects_CXX"; then
                   14372:           postdep_objects_CXX="$p"
                   14373:         else
                   14374:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14375:         fi
                   14376:        fi
                   14377:        ;;
                   14378: 
                   14379:     *) ;; # Ignore the rest.
                   14380: 
                   14381:     esac
                   14382:   done
                   14383: 
                   14384:   # Clean up.
                   14385:   rm -f a.out a.exe
                   14386: else
                   14387:   echo "libtool.m4: error: problem compiling CXX test program"
                   14388: fi
                   14389: 
                   14390: $RM -f confest.$objext
                   14391: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14392: 
                   14393: # PORTME: override above test on systems where it is broken
                   14394: case $host_os in
                   14395: interix[3-9]*)
                   14396:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14397:   # hack all around it, let's just trust "g++" to DTRT.
                   14398:   predep_objects_CXX=
                   14399:   postdep_objects_CXX=
                   14400:   postdeps_CXX=
                   14401:   ;;
                   14402: 
                   14403: linux*)
                   14404:   case `$CC -V 2>&1 | sed 5q` in
                   14405:   *Sun\ C*)
                   14406:     # Sun C++ 5.9
                   14407: 
                   14408:     # The more standards-conforming stlport4 library is
                   14409:     # incompatible with the Cstd library. Avoid specifying
                   14410:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14411:     # -library=stlport4 depends on it.
                   14412:     case " $CXX $CXXFLAGS " in
                   14413:     *" -library=stlport4 "*)
                   14414:       solaris_use_stlport4=yes
                   14415:       ;;
                   14416:     esac
                   14417: 
                   14418:     if test "$solaris_use_stlport4" != yes; then
                   14419:       postdeps_CXX='-library=Cstd -library=Crun'
                   14420:     fi
                   14421:     ;;
                   14422:   esac
                   14423:   ;;
                   14424: 
                   14425: solaris*)
                   14426:   case $cc_basename in
                   14427:   CC* | sunCC*)
                   14428:     # The more standards-conforming stlport4 library is
                   14429:     # incompatible with the Cstd library. Avoid specifying
                   14430:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14431:     # -library=stlport4 depends on it.
                   14432:     case " $CXX $CXXFLAGS " in
                   14433:     *" -library=stlport4 "*)
                   14434:       solaris_use_stlport4=yes
                   14435:       ;;
                   14436:     esac
                   14437: 
                   14438:     # Adding this requires a known-good setup of shared libraries for
                   14439:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14440:     # archive will be linked into the output, leading to subtle bugs.
                   14441:     if test "$solaris_use_stlport4" != yes; then
                   14442:       postdeps_CXX='-library=Cstd -library=Crun'
                   14443:     fi
                   14444:     ;;
                   14445:   esac
                   14446:   ;;
                   14447: esac
                   14448: 
                   14449: 
                   14450: case " $postdeps_CXX " in
                   14451: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14452: esac
                   14453:  compiler_lib_search_dirs_CXX=
                   14454: if test -n "${compiler_lib_search_path_CXX}"; then
                   14455:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14456: fi
                   14457: 
                   14458: 
                   14459: 
                   14460: 
                   14461: 
                   14462: 
                   14463: 
                   14464: 
                   14465: 
                   14466: 
                   14467: 
                   14468: 
                   14469: 
                   14470: 
                   14471: 
                   14472: 
                   14473: 
                   14474: 
                   14475: 
                   14476: 
                   14477: 
                   14478: 
                   14479: 
                   14480: 
                   14481: 
                   14482: 
                   14483: 
                   14484: 
                   14485: 
                   14486: 
                   14487: 
                   14488:     lt_prog_compiler_wl_CXX=
                   14489: lt_prog_compiler_pic_CXX=
                   14490: lt_prog_compiler_static_CXX=
                   14491: 
                   14492: 
                   14493:   # C++ specific cases for pic, static, wl, etc.
                   14494:   if test "$GXX" = yes; then
                   14495:     lt_prog_compiler_wl_CXX='-Wl,'
                   14496:     lt_prog_compiler_static_CXX='-static'
                   14497: 
                   14498:     case $host_os in
                   14499:     aix*)
                   14500:       # All AIX code is PIC.
                   14501:       if test "$host_cpu" = ia64; then
                   14502:        # AIX 5 now supports IA64 processor
                   14503:        lt_prog_compiler_static_CXX='-Bstatic'
                   14504:       fi
                   14505:       ;;
                   14506: 
                   14507:     amigaos*)
                   14508:       case $host_cpu in
                   14509:       powerpc)
                   14510:             # see comment about AmigaOS4 .so support
                   14511:             lt_prog_compiler_pic_CXX='-fPIC'
                   14512:         ;;
                   14513:       m68k)
                   14514:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14515:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14516:             # like `-m68040'.
                   14517:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14518:         ;;
                   14519:       esac
                   14520:       ;;
                   14521: 
                   14522:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14523:       # PIC is the default for these OSes.
                   14524:       ;;
                   14525:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14526:       # This hack is so that the source file can tell whether it is being
                   14527:       # built for inclusion in a dll (and should export symbols for example).
                   14528:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14529:       # (--disable-auto-import) libraries
                   14530:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14531:       ;;
                   14532:     darwin* | rhapsody*)
                   14533:       # PIC is the default on this platform
                   14534:       # Common symbols not allowed in MH_DYLIB files
                   14535:       lt_prog_compiler_pic_CXX='-fno-common'
                   14536:       ;;
                   14537:     *djgpp*)
                   14538:       # DJGPP does not support shared libraries at all
                   14539:       lt_prog_compiler_pic_CXX=
                   14540:       ;;
                   14541:     haiku*)
                   14542:       # PIC is the default for Haiku.
                   14543:       # The "-static" flag exists, but is broken.
                   14544:       lt_prog_compiler_static_CXX=
                   14545:       ;;
                   14546:     interix[3-9]*)
                   14547:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14548:       # Instead, we relocate shared libraries at runtime.
                   14549:       ;;
                   14550:     sysv4*MP*)
                   14551:       if test -d /usr/nec; then
                   14552:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14553:       fi
                   14554:       ;;
                   14555:     hpux*)
                   14556:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14557:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14558:       # sets the default TLS model and affects inlining.
                   14559:       case $host_cpu in
                   14560:       hppa*64*)
                   14561:        ;;
                   14562:       *)
                   14563:        lt_prog_compiler_pic_CXX='-fPIC'
                   14564:        ;;
                   14565:       esac
                   14566:       ;;
                   14567:     *qnx* | *nto*)
                   14568:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14569:       # it will coredump.
                   14570:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14571:       ;;
                   14572:     *)
                   14573:       lt_prog_compiler_pic_CXX='-fPIC'
                   14574:       ;;
                   14575:     esac
                   14576:   else
                   14577:     case $host_os in
                   14578:       aix[4-9]*)
                   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:        else
                   14584:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14585:        fi
                   14586:        ;;
                   14587:       chorus*)
                   14588:        case $cc_basename in
                   14589:        cxch68*)
                   14590:          # Green Hills C++ Compiler
                   14591:          # _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"
                   14592:          ;;
                   14593:        esac
                   14594:        ;;
                   14595:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14596:        # This hack is so that the source file can tell whether it is being
                   14597:        # built for inclusion in a dll (and should export symbols for example).
                   14598:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14599:        ;;
                   14600:       dgux*)
                   14601:        case $cc_basename in
                   14602:          ec++*)
                   14603:            lt_prog_compiler_pic_CXX='-KPIC'
                   14604:            ;;
                   14605:          ghcx*)
                   14606:            # Green Hills C++ Compiler
                   14607:            lt_prog_compiler_pic_CXX='-pic'
                   14608:            ;;
                   14609:          *)
                   14610:            ;;
                   14611:        esac
                   14612:        ;;
                   14613:       freebsd* | dragonfly*)
                   14614:        # FreeBSD uses GNU C++
                   14615:        ;;
                   14616:       hpux9* | hpux10* | hpux11*)
                   14617:        case $cc_basename in
                   14618:          CC*)
                   14619:            lt_prog_compiler_wl_CXX='-Wl,'
                   14620:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14621:            if test "$host_cpu" != ia64; then
                   14622:              lt_prog_compiler_pic_CXX='+Z'
                   14623:            fi
                   14624:            ;;
                   14625:          aCC*)
                   14626:            lt_prog_compiler_wl_CXX='-Wl,'
                   14627:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14628:            case $host_cpu in
                   14629:            hppa*64*|ia64*)
                   14630:              # +Z the default
                   14631:              ;;
                   14632:            *)
                   14633:              lt_prog_compiler_pic_CXX='+Z'
                   14634:              ;;
                   14635:            esac
                   14636:            ;;
                   14637:          *)
                   14638:            ;;
                   14639:        esac
                   14640:        ;;
                   14641:       interix*)
                   14642:        # This is c89, which is MS Visual C++ (no shared libs)
                   14643:        # Anyone wants to do a port?
                   14644:        ;;
                   14645:       irix5* | irix6* | nonstopux*)
                   14646:        case $cc_basename in
                   14647:          CC*)
                   14648:            lt_prog_compiler_wl_CXX='-Wl,'
                   14649:            lt_prog_compiler_static_CXX='-non_shared'
                   14650:            # CC pic flag -KPIC is the default.
                   14651:            ;;
                   14652:          *)
                   14653:            ;;
                   14654:        esac
                   14655:        ;;
                   14656:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14657:        case $cc_basename in
                   14658:          KCC*)
                   14659:            # KAI C++ Compiler
                   14660:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14661:            lt_prog_compiler_pic_CXX='-fPIC'
                   14662:            ;;
                   14663:          ecpc* )
                   14664:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14665:            lt_prog_compiler_wl_CXX='-Wl,'
                   14666:            lt_prog_compiler_pic_CXX='-KPIC'
                   14667:            lt_prog_compiler_static_CXX='-static'
                   14668:            ;;
                   14669:          icpc* )
                   14670:            # Intel C++, used to be incompatible with GCC.
                   14671:            # ICC 10 doesn't accept -KPIC any more.
                   14672:            lt_prog_compiler_wl_CXX='-Wl,'
                   14673:            lt_prog_compiler_pic_CXX='-fPIC'
                   14674:            lt_prog_compiler_static_CXX='-static'
                   14675:            ;;
                   14676:          pgCC* | pgcpp*)
                   14677:            # Portland Group C++ compiler
                   14678:            lt_prog_compiler_wl_CXX='-Wl,'
                   14679:            lt_prog_compiler_pic_CXX='-fpic'
                   14680:            lt_prog_compiler_static_CXX='-Bstatic'
                   14681:            ;;
                   14682:          cxx*)
                   14683:            # Compaq C++
                   14684:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14685:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14686:            lt_prog_compiler_pic_CXX=
                   14687:            lt_prog_compiler_static_CXX='-non_shared'
                   14688:            ;;
                   14689:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14690:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14691:            lt_prog_compiler_wl_CXX='-Wl,'
                   14692:            lt_prog_compiler_pic_CXX='-qpic'
                   14693:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14694:            ;;
                   14695:          *)
                   14696:            case `$CC -V 2>&1 | sed 5q` in
                   14697:            *Sun\ C*)
                   14698:              # Sun C++ 5.9
                   14699:              lt_prog_compiler_pic_CXX='-KPIC'
                   14700:              lt_prog_compiler_static_CXX='-Bstatic'
                   14701:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14702:              ;;
                   14703:            esac
                   14704:            ;;
                   14705:        esac
                   14706:        ;;
                   14707:       lynxos*)
                   14708:        ;;
                   14709:       m88k*)
                   14710:        ;;
                   14711:       mvs*)
                   14712:        case $cc_basename in
                   14713:          cxx*)
                   14714:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14715:            ;;
                   14716:          *)
                   14717:            ;;
                   14718:        esac
                   14719:        ;;
                   14720:       netbsd*)
                   14721:        ;;
                   14722:       *qnx* | *nto*)
                   14723:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14724:         # it will coredump.
                   14725:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14726:         ;;
                   14727:       osf3* | osf4* | osf5*)
                   14728:        case $cc_basename in
                   14729:          KCC*)
                   14730:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14731:            ;;
                   14732:          RCC*)
                   14733:            # Rational C++ 2.4.1
                   14734:            lt_prog_compiler_pic_CXX='-pic'
                   14735:            ;;
                   14736:          cxx*)
                   14737:            # Digital/Compaq C++
                   14738:            lt_prog_compiler_wl_CXX='-Wl,'
                   14739:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14740:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14741:            lt_prog_compiler_pic_CXX=
                   14742:            lt_prog_compiler_static_CXX='-non_shared'
                   14743:            ;;
                   14744:          *)
                   14745:            ;;
                   14746:        esac
                   14747:        ;;
                   14748:       psos*)
                   14749:        ;;
                   14750:       solaris*)
                   14751:        case $cc_basename in
                   14752:          CC* | sunCC*)
                   14753:            # Sun C++ 4.2, 5.x and Centerline C++
                   14754:            lt_prog_compiler_pic_CXX='-KPIC'
                   14755:            lt_prog_compiler_static_CXX='-Bstatic'
                   14756:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14757:            ;;
                   14758:          gcx*)
                   14759:            # Green Hills C++ Compiler
                   14760:            lt_prog_compiler_pic_CXX='-PIC'
                   14761:            ;;
                   14762:          *)
                   14763:            ;;
                   14764:        esac
                   14765:        ;;
                   14766:       sunos4*)
                   14767:        case $cc_basename in
                   14768:          CC*)
                   14769:            # Sun C++ 4.x
                   14770:            lt_prog_compiler_pic_CXX='-pic'
                   14771:            lt_prog_compiler_static_CXX='-Bstatic'
                   14772:            ;;
                   14773:          lcc*)
                   14774:            # Lucid
                   14775:            lt_prog_compiler_pic_CXX='-pic'
                   14776:            ;;
                   14777:          *)
                   14778:            ;;
                   14779:        esac
                   14780:        ;;
                   14781:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14782:        case $cc_basename in
                   14783:          CC*)
                   14784:            lt_prog_compiler_wl_CXX='-Wl,'
                   14785:            lt_prog_compiler_pic_CXX='-KPIC'
                   14786:            lt_prog_compiler_static_CXX='-Bstatic'
                   14787:            ;;
                   14788:        esac
                   14789:        ;;
                   14790:       tandem*)
                   14791:        case $cc_basename in
                   14792:          NCC*)
                   14793:            # NonStop-UX NCC 3.20
                   14794:            lt_prog_compiler_pic_CXX='-KPIC'
                   14795:            ;;
                   14796:          *)
                   14797:            ;;
                   14798:        esac
                   14799:        ;;
                   14800:       vxworks*)
                   14801:        ;;
                   14802:       *)
                   14803:        lt_prog_compiler_can_build_shared_CXX=no
                   14804:        ;;
                   14805:     esac
                   14806:   fi
                   14807: 
                   14808: case $host_os in
                   14809:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14810:   *djgpp*)
                   14811:     lt_prog_compiler_pic_CXX=
                   14812:     ;;
                   14813:   *)
                   14814:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14815:     ;;
                   14816: esac
                   14817: 
1.150     moko     14818: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   14819: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   14820: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   14821:   $as_echo_n "(cached) " >&6
1.128     moko     14822: else
                   14823:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14824: fi
1.150     moko     14825: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14826: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     14827: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14828: 
                   14829: #
                   14830: # Check to make sure the PIC flag actually works.
                   14831: #
                   14832: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150     moko     14833:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14834: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   14835: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   14836:   $as_echo_n "(cached) " >&6
1.128     moko     14837: else
                   14838:   lt_cv_prog_compiler_pic_works_CXX=no
                   14839:    ac_outfile=conftest.$ac_objext
                   14840:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14841:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14842:    # Insert the option either (1) after the last *FLAGS variable, or
                   14843:    # (2) before a word containing "conftest.", or (3) at the end.
                   14844:    # Note that $ac_compile itself does not contain backslashes and begins
                   14845:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14846:    # The option is referenced via a variable to avoid confusing sed.
                   14847:    lt_compile=`echo "$ac_compile" | $SED \
                   14848:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14849:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14850:    -e 's:$: $lt_compiler_flag:'`
                   14851:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14852:    (eval "$lt_compile" 2>conftest.err)
                   14853:    ac_status=$?
                   14854:    cat conftest.err >&5
                   14855:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14856:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14857:      # The compiler can only warn and ignore the option if not recognized
                   14858:      # So say no if there are warnings other than the usual output.
                   14859:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14860:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14861:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14862:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14863:      fi
                   14864:    fi
                   14865:    $RM conftest*
                   14866: 
                   14867: fi
1.150     moko     14868: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14869: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     14870: 
                   14871: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14872:     case $lt_prog_compiler_pic_CXX in
                   14873:      "" | " "*) ;;
                   14874:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14875:      esac
                   14876: else
                   14877:     lt_prog_compiler_pic_CXX=
                   14878:      lt_prog_compiler_can_build_shared_CXX=no
                   14879: fi
                   14880: 
                   14881: fi
                   14882: 
                   14883: 
                   14884: 
                   14885: 
                   14886: 
                   14887: #
                   14888: # Check to make sure the static flag actually works.
                   14889: #
                   14890: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150     moko     14891: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14892: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   14893: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   14894:   $as_echo_n "(cached) " >&6
1.128     moko     14895: else
                   14896:   lt_cv_prog_compiler_static_works_CXX=no
                   14897:    save_LDFLAGS="$LDFLAGS"
                   14898:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14899:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14900:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14901:      # The linker can only warn and ignore the option if not recognized
                   14902:      # So say no if there are warnings
                   14903:      if test -s conftest.err; then
                   14904:        # Append any errors to the config.log.
                   14905:        cat conftest.err 1>&5
                   14906:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14907:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14908:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14909:          lt_cv_prog_compiler_static_works_CXX=yes
                   14910:        fi
                   14911:      else
                   14912:        lt_cv_prog_compiler_static_works_CXX=yes
                   14913:      fi
                   14914:    fi
                   14915:    $RM -r conftest*
                   14916:    LDFLAGS="$save_LDFLAGS"
                   14917: 
                   14918: fi
1.150     moko     14919: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14920: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     14921: 
                   14922: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14923:     :
                   14924: else
                   14925:     lt_prog_compiler_static_CXX=
                   14926: fi
                   14927: 
                   14928: 
                   14929: 
                   14930: 
1.150     moko     14931:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14932: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14933: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14934:   $as_echo_n "(cached) " >&6
1.128     moko     14935: else
                   14936:   lt_cv_prog_compiler_c_o_CXX=no
                   14937:    $RM -r conftest 2>/dev/null
                   14938:    mkdir conftest
                   14939:    cd conftest
                   14940:    mkdir out
                   14941:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14942: 
                   14943:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14944:    # Insert the option either (1) after the last *FLAGS variable, or
                   14945:    # (2) before a word containing "conftest.", or (3) at the end.
                   14946:    # Note that $ac_compile itself does not contain backslashes and begins
                   14947:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14948:    lt_compile=`echo "$ac_compile" | $SED \
                   14949:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14950:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14951:    -e 's:$: $lt_compiler_flag:'`
                   14952:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14953:    (eval "$lt_compile" 2>out/conftest.err)
                   14954:    ac_status=$?
                   14955:    cat out/conftest.err >&5
                   14956:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14957:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14958:    then
                   14959:      # The compiler can only warn and ignore the option if not recognized
                   14960:      # So say no if there are warnings
                   14961:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14962:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14963:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14964:        lt_cv_prog_compiler_c_o_CXX=yes
                   14965:      fi
                   14966:    fi
                   14967:    chmod u+w . 2>&5
                   14968:    $RM conftest*
                   14969:    # SGI C++ compiler will create directory out/ii_files/ for
                   14970:    # template instantiation
                   14971:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14972:    $RM out/* && rmdir out
                   14973:    cd ..
                   14974:    $RM -r conftest
                   14975:    $RM conftest*
                   14976: 
                   14977: fi
1.150     moko     14978: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14979: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     14980: 
                   14981: 
                   14982: 
1.150     moko     14983:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14984: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14985: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14986:   $as_echo_n "(cached) " >&6
1.128     moko     14987: else
                   14988:   lt_cv_prog_compiler_c_o_CXX=no
                   14989:    $RM -r conftest 2>/dev/null
                   14990:    mkdir conftest
                   14991:    cd conftest
                   14992:    mkdir out
                   14993:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14994: 
                   14995:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14996:    # Insert the option either (1) after the last *FLAGS variable, or
                   14997:    # (2) before a word containing "conftest.", or (3) at the end.
                   14998:    # Note that $ac_compile itself does not contain backslashes and begins
                   14999:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15000:    lt_compile=`echo "$ac_compile" | $SED \
                   15001:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15002:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15003:    -e 's:$: $lt_compiler_flag:'`
                   15004:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15005:    (eval "$lt_compile" 2>out/conftest.err)
                   15006:    ac_status=$?
                   15007:    cat out/conftest.err >&5
                   15008:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15009:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15010:    then
                   15011:      # The compiler can only warn and ignore the option if not recognized
                   15012:      # So say no if there are warnings
                   15013:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15014:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15015:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15016:        lt_cv_prog_compiler_c_o_CXX=yes
                   15017:      fi
                   15018:    fi
                   15019:    chmod u+w . 2>&5
                   15020:    $RM conftest*
                   15021:    # SGI C++ compiler will create directory out/ii_files/ for
                   15022:    # template instantiation
                   15023:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15024:    $RM out/* && rmdir out
                   15025:    cd ..
                   15026:    $RM -r conftest
                   15027:    $RM conftest*
                   15028: 
                   15029: fi
1.150     moko     15030: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15031: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15032: 
                   15033: 
                   15034: 
                   15035: 
                   15036: hard_links="nottested"
                   15037: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15038:   # do not overwrite the value of need_locks provided by the user
1.150     moko     15039:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15040: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15041:   hard_links=yes
                   15042:   $RM conftest*
                   15043:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15044:   touch conftest.a
                   15045:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15046:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     15047:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15048: $as_echo "$hard_links" >&6; }
1.128     moko     15049:   if test "$hard_links" = no; then
1.150     moko     15050:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15051: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15052:     need_locks=warn
                   15053:   fi
                   15054: else
                   15055:   need_locks=no
                   15056: fi
                   15057: 
                   15058: 
                   15059: 
1.150     moko     15060:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15061: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15062: 
                   15063:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15064:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15065:   case $host_os in
                   15066:   aix[4-9]*)
                   15067:     # If we're using GNU nm, then we don't want the "-C" option.
                   15068:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15069:     # Also, AIX nm treats weak defined symbols like other global defined
                   15070:     # symbols, whereas GNU nm marks them as "W".
                   15071:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15072:       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'
                   15073:     else
                   15074:       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'
                   15075:     fi
                   15076:     ;;
                   15077:   pw32*)
                   15078:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15079:     ;;
                   15080:   cygwin* | mingw* | cegcc*)
                   15081:     case $cc_basename in
                   15082:     cl*)
                   15083:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15084:       ;;
                   15085:     *)
                   15086:       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'
                   15087:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15088:       ;;
                   15089:     esac
                   15090:     ;;
                   15091:   *)
                   15092:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15093:     ;;
                   15094:   esac
                   15095: 
1.150     moko     15096: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15097: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15098: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15099: 
                   15100: with_gnu_ld_CXX=$with_gnu_ld
                   15101: 
                   15102: 
                   15103: 
                   15104: 
                   15105: 
                   15106: 
                   15107: #
                   15108: # Do we need to explicitly link libc?
                   15109: #
                   15110: case "x$archive_cmds_need_lc_CXX" in
                   15111: x|xyes)
                   15112:   # Assume -lc should be added
                   15113:   archive_cmds_need_lc_CXX=yes
                   15114: 
                   15115:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15116:     case $archive_cmds_CXX in
                   15117:     *'~'*)
                   15118:       # FIXME: we may have to deal with multi-command sequences.
                   15119:       ;;
                   15120:     '$CC '*)
                   15121:       # Test whether the compiler implicitly links with -lc since on some
                   15122:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15123:       # to ld, don't add -lc before -lgcc.
1.150     moko     15124:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15125: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15126: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15127:   $as_echo_n "(cached) " >&6
1.128     moko     15128: else
                   15129:   $RM conftest*
                   15130:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15131: 
1.150     moko     15132:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15133:   (eval $ac_compile) 2>&5
                   15134:   ac_status=$?
1.150     moko     15135:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15136:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15137:          soname=conftest
                   15138:          lib=conftest
                   15139:          libobjs=conftest.$ac_objext
                   15140:          deplibs=
                   15141:          wl=$lt_prog_compiler_wl_CXX
                   15142:          pic_flag=$lt_prog_compiler_pic_CXX
                   15143:          compiler_flags=-v
                   15144:          linker_flags=-v
                   15145:          verstring=
                   15146:          output_objdir=.
                   15147:          libname=conftest
                   15148:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15149:          allow_undefined_flag_CXX=
1.150     moko     15150:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15151:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15152:   ac_status=$?
1.150     moko     15153:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15154:   test $ac_status = 0; }
1.128     moko     15155:          then
                   15156:            lt_cv_archive_cmds_need_lc_CXX=no
                   15157:          else
                   15158:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15159:          fi
                   15160:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15161:        else
                   15162:          cat conftest.err 1>&5
                   15163:        fi
                   15164:        $RM conftest*
                   15165: 
                   15166: fi
1.150     moko     15167: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   15168: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15169:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15170:       ;;
                   15171:     esac
                   15172:   fi
                   15173:   ;;
                   15174: esac
                   15175: 
                   15176: 
                   15177: 
                   15178: 
                   15179: 
                   15180: 
                   15181: 
                   15182: 
                   15183: 
                   15184: 
                   15185: 
                   15186: 
                   15187: 
                   15188: 
                   15189: 
                   15190: 
                   15191: 
                   15192: 
                   15193: 
                   15194: 
                   15195: 
                   15196: 
                   15197: 
                   15198: 
                   15199: 
                   15200: 
                   15201: 
                   15202: 
                   15203: 
                   15204: 
                   15205: 
                   15206: 
                   15207: 
                   15208: 
                   15209: 
                   15210: 
                   15211: 
                   15212: 
                   15213: 
                   15214: 
                   15215: 
                   15216: 
                   15217: 
                   15218: 
                   15219: 
                   15220: 
                   15221: 
                   15222: 
                   15223: 
                   15224: 
                   15225: 
                   15226: 
                   15227: 
                   15228: 
                   15229: 
                   15230: 
                   15231: 
                   15232: 
                   15233: 
                   15234: 
                   15235: 
                   15236: 
1.150     moko     15237:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   15238: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15239: 
                   15240: library_names_spec=
                   15241: libname_spec='lib$name'
                   15242: soname_spec=
                   15243: shrext_cmds=".so"
                   15244: postinstall_cmds=
                   15245: postuninstall_cmds=
                   15246: finish_cmds=
                   15247: finish_eval=
                   15248: shlibpath_var=
                   15249: shlibpath_overrides_runpath=unknown
                   15250: version_type=none
                   15251: dynamic_linker="$host_os ld.so"
                   15252: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15253: need_lib_prefix=unknown
                   15254: hardcode_into_libs=no
                   15255: 
                   15256: # when you set need_version to no, make sure it does not cause -set_version
                   15257: # flags to be left without arguments
                   15258: need_version=unknown
                   15259: 
                   15260: case $host_os in
                   15261: aix3*)
                   15262:   version_type=linux # correct to gnu/linux during the next big refactor
                   15263:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15264:   shlibpath_var=LIBPATH
                   15265: 
                   15266:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15267:   soname_spec='${libname}${release}${shared_ext}$major'
                   15268:   ;;
                   15269: 
                   15270: aix[4-9]*)
                   15271:   version_type=linux # correct to gnu/linux during the next big refactor
                   15272:   need_lib_prefix=no
                   15273:   need_version=no
                   15274:   hardcode_into_libs=yes
                   15275:   if test "$host_cpu" = ia64; then
                   15276:     # AIX 5 supports IA64
                   15277:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15278:     shlibpath_var=LD_LIBRARY_PATH
                   15279:   else
                   15280:     # With GCC up to 2.95.x, collect2 would create an import file
                   15281:     # for dependence libraries.  The import file would start with
                   15282:     # the line `#! .'.  This would cause the generated library to
                   15283:     # depend on `.', always an invalid library.  This was fixed in
                   15284:     # development snapshots of GCC prior to 3.0.
                   15285:     case $host_os in
                   15286:       aix4 | aix4.[01] | aix4.[01].*)
                   15287:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15288:           echo ' yes '
                   15289:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15290:        :
                   15291:       else
                   15292:        can_build_shared=no
                   15293:       fi
                   15294:       ;;
                   15295:     esac
                   15296:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15297:     # soname into executable. Probably we can add versioning support to
                   15298:     # collect2, so additional links can be useful in future.
                   15299:     if test "$aix_use_runtimelinking" = yes; then
                   15300:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15301:       # instead of lib<name>.a to let people know that these are not
                   15302:       # typical AIX shared libraries.
                   15303:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15304:     else
                   15305:       # We preserve .a as extension for shared libraries through AIX4.2
                   15306:       # and later when we are not doing run time linking.
                   15307:       library_names_spec='${libname}${release}.a $libname.a'
                   15308:       soname_spec='${libname}${release}${shared_ext}$major'
                   15309:     fi
                   15310:     shlibpath_var=LIBPATH
                   15311:   fi
                   15312:   ;;
                   15313: 
                   15314: amigaos*)
                   15315:   case $host_cpu in
                   15316:   powerpc)
                   15317:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15318:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15319:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15320:     ;;
                   15321:   m68k)
                   15322:     library_names_spec='$libname.ixlibrary $libname.a'
                   15323:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15324:     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'
                   15325:     ;;
                   15326:   esac
                   15327:   ;;
                   15328: 
                   15329: beos*)
                   15330:   library_names_spec='${libname}${shared_ext}'
                   15331:   dynamic_linker="$host_os ld.so"
                   15332:   shlibpath_var=LIBRARY_PATH
                   15333:   ;;
                   15334: 
                   15335: bsdi[45]*)
                   15336:   version_type=linux # correct to gnu/linux during the next big refactor
                   15337:   need_version=no
                   15338:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15339:   soname_spec='${libname}${release}${shared_ext}$major'
                   15340:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15341:   shlibpath_var=LD_LIBRARY_PATH
                   15342:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15343:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15344:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15345:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15346:   # libtool to hard-code these into programs
                   15347:   ;;
                   15348: 
                   15349: cygwin* | mingw* | pw32* | cegcc*)
                   15350:   version_type=windows
                   15351:   shrext_cmds=".dll"
                   15352:   need_version=no
                   15353:   need_lib_prefix=no
                   15354: 
                   15355:   case $GCC,$cc_basename in
                   15356:   yes,*)
                   15357:     # gcc
                   15358:     library_names_spec='$libname.dll.a'
                   15359:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15360:     postinstall_cmds='base_file=`basename \${file}`~
                   15361:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15362:       dldir=$destdir/`dirname \$dlpath`~
                   15363:       test -d \$dldir || mkdir -p \$dldir~
                   15364:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15365:       chmod a+x \$dldir/$dlname~
                   15366:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15367:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15368:       fi'
                   15369:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15370:       dlpath=$dir/\$dldll~
                   15371:        $RM \$dlpath'
                   15372:     shlibpath_overrides_runpath=yes
                   15373: 
                   15374:     case $host_os in
                   15375:     cygwin*)
                   15376:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15377:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15378: 
                   15379:       ;;
                   15380:     mingw* | cegcc*)
                   15381:       # MinGW DLLs use traditional 'lib' prefix
                   15382:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15383:       ;;
                   15384:     pw32*)
                   15385:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15386:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15387:       ;;
                   15388:     esac
                   15389:     dynamic_linker='Win32 ld.exe'
                   15390:     ;;
                   15391: 
                   15392:   *,cl*)
                   15393:     # Native MSVC
                   15394:     libname_spec='$name'
                   15395:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15396:     library_names_spec='${libname}.dll.lib'
                   15397: 
                   15398:     case $build_os in
                   15399:     mingw*)
                   15400:       sys_lib_search_path_spec=
                   15401:       lt_save_ifs=$IFS
                   15402:       IFS=';'
                   15403:       for lt_path in $LIB
                   15404:       do
                   15405:         IFS=$lt_save_ifs
                   15406:         # Let DOS variable expansion print the short 8.3 style file name.
                   15407:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15408:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15409:       done
                   15410:       IFS=$lt_save_ifs
                   15411:       # Convert to MSYS style.
                   15412:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15413:       ;;
                   15414:     cygwin*)
                   15415:       # Convert to unix form, then to dos form, then back to unix form
                   15416:       # but this time dos style (no spaces!) so that the unix form looks
                   15417:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15418:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15419:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15420:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15421:       ;;
                   15422:     *)
                   15423:       sys_lib_search_path_spec="$LIB"
                   15424:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15425:         # It is most probably a Windows format PATH.
                   15426:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15427:       else
                   15428:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15429:       fi
                   15430:       # FIXME: find the short name or the path components, as spaces are
                   15431:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15432:       ;;
                   15433:     esac
                   15434: 
                   15435:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15436:     postinstall_cmds='base_file=`basename \${file}`~
                   15437:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15438:       dldir=$destdir/`dirname \$dlpath`~
                   15439:       test -d \$dldir || mkdir -p \$dldir~
                   15440:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15441:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15442:       dlpath=$dir/\$dldll~
                   15443:        $RM \$dlpath'
                   15444:     shlibpath_overrides_runpath=yes
                   15445:     dynamic_linker='Win32 link.exe'
                   15446:     ;;
                   15447: 
                   15448:   *)
                   15449:     # Assume MSVC wrapper
                   15450:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15451:     dynamic_linker='Win32 ld.exe'
                   15452:     ;;
                   15453:   esac
                   15454:   # FIXME: first we should search . and the directory the executable is in
                   15455:   shlibpath_var=PATH
                   15456:   ;;
                   15457: 
                   15458: darwin* | rhapsody*)
                   15459:   dynamic_linker="$host_os dyld"
                   15460:   version_type=darwin
                   15461:   need_lib_prefix=no
                   15462:   need_version=no
                   15463:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15464:   soname_spec='${libname}${release}${major}$shared_ext'
                   15465:   shlibpath_overrides_runpath=yes
                   15466:   shlibpath_var=DYLD_LIBRARY_PATH
                   15467:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15468: 
                   15469:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15470:   ;;
                   15471: 
                   15472: dgux*)
                   15473:   version_type=linux # correct to gnu/linux during the next big refactor
                   15474:   need_lib_prefix=no
                   15475:   need_version=no
                   15476:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15477:   soname_spec='${libname}${release}${shared_ext}$major'
                   15478:   shlibpath_var=LD_LIBRARY_PATH
                   15479:   ;;
                   15480: 
                   15481: freebsd* | dragonfly*)
                   15482:   # DragonFly does not have aout.  When/if they implement a new
                   15483:   # versioning mechanism, adjust this.
                   15484:   if test -x /usr/bin/objformat; then
                   15485:     objformat=`/usr/bin/objformat`
                   15486:   else
                   15487:     case $host_os in
                   15488:     freebsd[23].*) objformat=aout ;;
                   15489:     *) objformat=elf ;;
                   15490:     esac
                   15491:   fi
                   15492:   version_type=freebsd-$objformat
                   15493:   case $version_type in
                   15494:     freebsd-elf*)
                   15495:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15496:       need_version=no
                   15497:       need_lib_prefix=no
                   15498:       ;;
                   15499:     freebsd-*)
                   15500:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15501:       need_version=yes
                   15502:       ;;
                   15503:   esac
                   15504:   shlibpath_var=LD_LIBRARY_PATH
                   15505:   case $host_os in
                   15506:   freebsd2.*)
                   15507:     shlibpath_overrides_runpath=yes
                   15508:     ;;
                   15509:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15510:     shlibpath_overrides_runpath=yes
                   15511:     hardcode_into_libs=yes
                   15512:     ;;
                   15513:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15514:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15515:     shlibpath_overrides_runpath=no
                   15516:     hardcode_into_libs=yes
                   15517:     ;;
                   15518:   *) # from 4.6 on, and DragonFly
                   15519:     shlibpath_overrides_runpath=yes
                   15520:     hardcode_into_libs=yes
                   15521:     ;;
                   15522:   esac
                   15523:   ;;
                   15524: 
                   15525: gnu*)
                   15526:   version_type=linux # correct to gnu/linux during the next big refactor
                   15527:   need_lib_prefix=no
                   15528:   need_version=no
                   15529:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15530:   soname_spec='${libname}${release}${shared_ext}$major'
                   15531:   shlibpath_var=LD_LIBRARY_PATH
                   15532:   shlibpath_overrides_runpath=no
                   15533:   hardcode_into_libs=yes
                   15534:   ;;
                   15535: 
                   15536: haiku*)
                   15537:   version_type=linux # correct to gnu/linux during the next big refactor
                   15538:   need_lib_prefix=no
                   15539:   need_version=no
                   15540:   dynamic_linker="$host_os runtime_loader"
                   15541:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15542:   soname_spec='${libname}${release}${shared_ext}$major'
                   15543:   shlibpath_var=LIBRARY_PATH
                   15544:   shlibpath_overrides_runpath=yes
                   15545:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15546:   hardcode_into_libs=yes
                   15547:   ;;
                   15548: 
                   15549: hpux9* | hpux10* | hpux11*)
                   15550:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15551:   # link against other versions.
                   15552:   version_type=sunos
                   15553:   need_lib_prefix=no
                   15554:   need_version=no
                   15555:   case $host_cpu in
                   15556:   ia64*)
                   15557:     shrext_cmds='.so'
                   15558:     hardcode_into_libs=yes
                   15559:     dynamic_linker="$host_os dld.so"
                   15560:     shlibpath_var=LD_LIBRARY_PATH
                   15561:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15562:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15563:     soname_spec='${libname}${release}${shared_ext}$major'
                   15564:     if test "X$HPUX_IA64_MODE" = X32; then
                   15565:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15566:     else
                   15567:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15568:     fi
                   15569:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15570:     ;;
                   15571:   hppa*64*)
                   15572:     shrext_cmds='.sl'
                   15573:     hardcode_into_libs=yes
                   15574:     dynamic_linker="$host_os dld.sl"
                   15575:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15576:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15577:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15578:     soname_spec='${libname}${release}${shared_ext}$major'
                   15579:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15580:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15581:     ;;
                   15582:   *)
                   15583:     shrext_cmds='.sl'
                   15584:     dynamic_linker="$host_os dld.sl"
                   15585:     shlibpath_var=SHLIB_PATH
                   15586:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15587:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15588:     soname_spec='${libname}${release}${shared_ext}$major'
                   15589:     ;;
                   15590:   esac
                   15591:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15592:   postinstall_cmds='chmod 555 $lib'
                   15593:   # or fails outright, so override atomically:
                   15594:   install_override_mode=555
                   15595:   ;;
                   15596: 
                   15597: interix[3-9]*)
                   15598:   version_type=linux # correct to gnu/linux during the next big refactor
                   15599:   need_lib_prefix=no
                   15600:   need_version=no
                   15601:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15602:   soname_spec='${libname}${release}${shared_ext}$major'
                   15603:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15604:   shlibpath_var=LD_LIBRARY_PATH
                   15605:   shlibpath_overrides_runpath=no
                   15606:   hardcode_into_libs=yes
                   15607:   ;;
                   15608: 
                   15609: irix5* | irix6* | nonstopux*)
                   15610:   case $host_os in
                   15611:     nonstopux*) version_type=nonstopux ;;
                   15612:     *)
                   15613:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15614:                version_type=linux # correct to gnu/linux during the next big refactor
                   15615:        else
                   15616:                version_type=irix
                   15617:        fi ;;
                   15618:   esac
                   15619:   need_lib_prefix=no
                   15620:   need_version=no
                   15621:   soname_spec='${libname}${release}${shared_ext}$major'
                   15622:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15623:   case $host_os in
                   15624:   irix5* | nonstopux*)
                   15625:     libsuff= shlibsuff=
                   15626:     ;;
                   15627:   *)
                   15628:     case $LD in # libtool.m4 will add one of these switches to LD
                   15629:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15630:       libsuff= shlibsuff= libmagic=32-bit;;
                   15631:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15632:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15633:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15634:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15635:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15636:     esac
                   15637:     ;;
                   15638:   esac
                   15639:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15640:   shlibpath_overrides_runpath=no
                   15641:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15642:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15643:   hardcode_into_libs=yes
                   15644:   ;;
                   15645: 
                   15646: # No shared lib support for Linux oldld, aout, or coff.
                   15647: linux*oldld* | linux*aout* | linux*coff*)
                   15648:   dynamic_linker=no
                   15649:   ;;
                   15650: 
                   15651: # This must be glibc/ELF.
                   15652: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15653:   version_type=linux # correct to gnu/linux during the next big refactor
                   15654:   need_lib_prefix=no
                   15655:   need_version=no
                   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:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15659:   shlibpath_var=LD_LIBRARY_PATH
                   15660:   shlibpath_overrides_runpath=no
                   15661: 
                   15662:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     15663:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   15664:   $as_echo_n "(cached) " >&6
1.128     moko     15665: else
                   15666:   lt_cv_shlibpath_overrides_runpath=no
                   15667:     save_LDFLAGS=$LDFLAGS
                   15668:     save_libdir=$libdir
                   15669:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15670:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     15671:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15672: /* end confdefs.h.  */
                   15673: 
                   15674: int
                   15675: main ()
                   15676: {
                   15677: 
                   15678:   ;
                   15679:   return 0;
                   15680: }
                   15681: _ACEOF
1.150     moko     15682: if ac_fn_cxx_try_link "$LINENO"; then :
                   15683:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     15684:   lt_cv_shlibpath_overrides_runpath=yes
                   15685: fi
                   15686: fi
1.150     moko     15687: rm -f core conftest.err conftest.$ac_objext \
                   15688:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     15689:     LDFLAGS=$save_LDFLAGS
                   15690:     libdir=$save_libdir
                   15691: 
                   15692: fi
                   15693: 
                   15694:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15695: 
                   15696:   # This implies no fast_install, which is unacceptable.
                   15697:   # Some rework will be needed to allow for fast_install
                   15698:   # before this can be enabled.
                   15699:   hardcode_into_libs=yes
                   15700: 
                   15701:   # Append ld.so.conf contents to the search path
                   15702:   if test -f /etc/ld.so.conf; then
                   15703:     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' ' '`
                   15704:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15705:   fi
                   15706: 
                   15707:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15708:   # powerpc, because MkLinux only supported shared libraries with the
                   15709:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15710:   # most powerpc-linux boxes support dynamic linking these days and
                   15711:   # people can always --disable-shared, the test was removed, and we
                   15712:   # assume the GNU/Linux dynamic linker is in use.
                   15713:   dynamic_linker='GNU/Linux ld.so'
                   15714:   ;;
                   15715: 
                   15716: netbsd*)
                   15717:   version_type=sunos
                   15718:   need_lib_prefix=no
                   15719:   need_version=no
                   15720:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15721:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15722:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15723:     dynamic_linker='NetBSD (a.out) ld.so'
                   15724:   else
                   15725:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15726:     soname_spec='${libname}${release}${shared_ext}$major'
                   15727:     dynamic_linker='NetBSD ld.elf_so'
                   15728:   fi
                   15729:   shlibpath_var=LD_LIBRARY_PATH
                   15730:   shlibpath_overrides_runpath=yes
                   15731:   hardcode_into_libs=yes
                   15732:   ;;
                   15733: 
                   15734: newsos6)
                   15735:   version_type=linux # correct to gnu/linux during the next big refactor
                   15736:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15737:   shlibpath_var=LD_LIBRARY_PATH
                   15738:   shlibpath_overrides_runpath=yes
                   15739:   ;;
                   15740: 
                   15741: *nto* | *qnx*)
                   15742:   version_type=qnx
                   15743:   need_lib_prefix=no
                   15744:   need_version=no
                   15745:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15746:   soname_spec='${libname}${release}${shared_ext}$major'
                   15747:   shlibpath_var=LD_LIBRARY_PATH
                   15748:   shlibpath_overrides_runpath=no
                   15749:   hardcode_into_libs=yes
                   15750:   dynamic_linker='ldqnx.so'
                   15751:   ;;
                   15752: 
                   15753: openbsd*)
                   15754:   version_type=sunos
                   15755:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15756:   need_lib_prefix=no
                   15757:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15758:   case $host_os in
                   15759:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15760:     *)                         need_version=no  ;;
                   15761:   esac
                   15762:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15763:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15764:   shlibpath_var=LD_LIBRARY_PATH
                   15765:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15766:     case $host_os in
                   15767:       openbsd2.[89] | openbsd2.[89].*)
                   15768:        shlibpath_overrides_runpath=no
                   15769:        ;;
                   15770:       *)
                   15771:        shlibpath_overrides_runpath=yes
                   15772:        ;;
                   15773:       esac
                   15774:   else
                   15775:     shlibpath_overrides_runpath=yes
                   15776:   fi
                   15777:   ;;
                   15778: 
                   15779: os2*)
                   15780:   libname_spec='$name'
                   15781:   shrext_cmds=".dll"
                   15782:   need_lib_prefix=no
                   15783:   library_names_spec='$libname${shared_ext} $libname.a'
                   15784:   dynamic_linker='OS/2 ld.exe'
                   15785:   shlibpath_var=LIBPATH
                   15786:   ;;
                   15787: 
                   15788: osf3* | osf4* | osf5*)
                   15789:   version_type=osf
                   15790:   need_lib_prefix=no
                   15791:   need_version=no
                   15792:   soname_spec='${libname}${release}${shared_ext}$major'
                   15793:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15794:   shlibpath_var=LD_LIBRARY_PATH
                   15795:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15796:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15797:   ;;
                   15798: 
                   15799: rdos*)
                   15800:   dynamic_linker=no
                   15801:   ;;
                   15802: 
                   15803: solaris*)
                   15804:   version_type=linux # correct to gnu/linux during the next big refactor
                   15805:   need_lib_prefix=no
                   15806:   need_version=no
                   15807:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15808:   soname_spec='${libname}${release}${shared_ext}$major'
                   15809:   shlibpath_var=LD_LIBRARY_PATH
                   15810:   shlibpath_overrides_runpath=yes
                   15811:   hardcode_into_libs=yes
                   15812:   # ldd complains unless libraries are executable
                   15813:   postinstall_cmds='chmod +x $lib'
                   15814:   ;;
                   15815: 
                   15816: sunos4*)
                   15817:   version_type=sunos
                   15818:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15819:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15820:   shlibpath_var=LD_LIBRARY_PATH
                   15821:   shlibpath_overrides_runpath=yes
                   15822:   if test "$with_gnu_ld" = yes; then
                   15823:     need_lib_prefix=no
                   15824:   fi
                   15825:   need_version=yes
                   15826:   ;;
                   15827: 
                   15828: sysv4 | sysv4.3*)
                   15829:   version_type=linux # correct to gnu/linux during the next big refactor
                   15830:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15831:   soname_spec='${libname}${release}${shared_ext}$major'
                   15832:   shlibpath_var=LD_LIBRARY_PATH
                   15833:   case $host_vendor in
                   15834:     sni)
                   15835:       shlibpath_overrides_runpath=no
                   15836:       need_lib_prefix=no
                   15837:       runpath_var=LD_RUN_PATH
                   15838:       ;;
                   15839:     siemens)
                   15840:       need_lib_prefix=no
                   15841:       ;;
                   15842:     motorola)
                   15843:       need_lib_prefix=no
                   15844:       need_version=no
                   15845:       shlibpath_overrides_runpath=no
                   15846:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15847:       ;;
                   15848:   esac
                   15849:   ;;
                   15850: 
                   15851: sysv4*MP*)
                   15852:   if test -d /usr/nec ;then
                   15853:     version_type=linux # correct to gnu/linux during the next big refactor
                   15854:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15855:     soname_spec='$libname${shared_ext}.$major'
                   15856:     shlibpath_var=LD_LIBRARY_PATH
                   15857:   fi
                   15858:   ;;
                   15859: 
                   15860: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15861:   version_type=freebsd-elf
                   15862:   need_lib_prefix=no
                   15863:   need_version=no
                   15864:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15865:   soname_spec='${libname}${release}${shared_ext}$major'
                   15866:   shlibpath_var=LD_LIBRARY_PATH
                   15867:   shlibpath_overrides_runpath=yes
                   15868:   hardcode_into_libs=yes
                   15869:   if test "$with_gnu_ld" = yes; then
                   15870:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15871:   else
                   15872:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15873:     case $host_os in
                   15874:       sco3.2v5*)
                   15875:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15876:        ;;
                   15877:     esac
                   15878:   fi
                   15879:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15880:   ;;
                   15881: 
                   15882: tpf*)
                   15883:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15884:   version_type=linux # correct to gnu/linux during the next big refactor
                   15885:   need_lib_prefix=no
                   15886:   need_version=no
                   15887:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15888:   shlibpath_var=LD_LIBRARY_PATH
                   15889:   shlibpath_overrides_runpath=no
                   15890:   hardcode_into_libs=yes
                   15891:   ;;
                   15892: 
                   15893: uts4*)
                   15894:   version_type=linux # correct to gnu/linux during the next big refactor
                   15895:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15896:   soname_spec='${libname}${release}${shared_ext}$major'
                   15897:   shlibpath_var=LD_LIBRARY_PATH
                   15898:   ;;
                   15899: 
                   15900: *)
                   15901:   dynamic_linker=no
                   15902:   ;;
                   15903: esac
1.150     moko     15904: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   15905: $as_echo "$dynamic_linker" >&6; }
1.128     moko     15906: test "$dynamic_linker" = no && can_build_shared=no
                   15907: 
                   15908: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15909: if test "$GCC" = yes; then
                   15910:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15911: fi
                   15912: 
                   15913: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15914:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15915: fi
                   15916: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15917:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15918: fi
                   15919: 
                   15920: 
                   15921: 
                   15922: 
                   15923: 
                   15924: 
                   15925: 
                   15926: 
                   15927: 
                   15928: 
                   15929: 
                   15930: 
                   15931: 
                   15932: 
                   15933: 
                   15934: 
                   15935: 
                   15936: 
                   15937: 
                   15938: 
                   15939: 
                   15940: 
                   15941: 
                   15942: 
                   15943: 
                   15944: 
                   15945: 
                   15946: 
                   15947: 
                   15948: 
                   15949: 
                   15950: 
                   15951: 
                   15952: 
                   15953: 
                   15954: 
                   15955: 
                   15956: 
1.150     moko     15957:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   15958: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     15959: hardcode_action_CXX=
                   15960: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15961:    test -n "$runpath_var_CXX" ||
                   15962:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15963: 
                   15964:   # We can hardcode non-existent directories.
                   15965:   if test "$hardcode_direct_CXX" != no &&
                   15966:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15967:      # have to relink, otherwise we might link with an installed library
                   15968:      # when we should be linking with a yet-to-be-installed one
                   15969:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15970:      test "$hardcode_minus_L_CXX" != no; then
                   15971:     # Linking always hardcodes the temporary library directory.
                   15972:     hardcode_action_CXX=relink
                   15973:   else
                   15974:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15975:     hardcode_action_CXX=immediate
                   15976:   fi
                   15977: else
                   15978:   # We cannot hardcode anything, or else we can only hardcode existing
                   15979:   # directories.
                   15980:   hardcode_action_CXX=unsupported
                   15981: fi
1.150     moko     15982: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   15983: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     15984: 
                   15985: if test "$hardcode_action_CXX" = relink ||
                   15986:    test "$inherit_rpath_CXX" = yes; then
                   15987:   # Fast installation is not supported
                   15988:   enable_fast_install=no
                   15989: elif test "$shlibpath_overrides_runpath" = yes ||
                   15990:      test "$enable_shared" = no; then
                   15991:   # Fast installation is not necessary
                   15992:   enable_fast_install=needless
                   15993: fi
                   15994: 
                   15995: 
                   15996: 
                   15997: 
                   15998: 
                   15999: 
                   16000: 
                   16001:   fi # test -n "$compiler"
                   16002: 
                   16003:   CC=$lt_save_CC
                   16004:   CFLAGS=$lt_save_CFLAGS
                   16005:   LDCXX=$LD
                   16006:   LD=$lt_save_LD
                   16007:   GCC=$lt_save_GCC
                   16008:   with_gnu_ld=$lt_save_with_gnu_ld
                   16009:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   16010:   lt_cv_path_LD=$lt_save_path_LD
                   16011:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   16012:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   16013: fi # test "$_lt_caught_CXX_error" != yes
                   16014: 
                   16015: ac_ext=c
                   16016: ac_cpp='$CPP $CPPFLAGS'
                   16017: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16018: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16019: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16020: 
                   16021: 
                   16022: 
                   16023: 
                   16024: 
                   16025: 
                   16026: 
                   16027: 
                   16028: 
                   16029: 
                   16030: 
                   16031: 
                   16032: 
                   16033: 
                   16034: 
1.150     moko     16035:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16036: 
                   16037: 
                   16038: 
                   16039: 
                   16040: # Only expand once:
                   16041: 
                   16042: 
1.150     moko     16043: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   16044: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   16045: if ${libltdl_cv_shlibext+:} false; then :
                   16046:   $as_echo_n "(cached) " >&6
1.128     moko     16047: else
                   16048: 
                   16049: module=yes
                   16050: eval libltdl_cv_shlibext=$shrext_cmds
                   16051: module=no
                   16052: eval libltdl_cv_shrext=$shrext_cmds
                   16053: 
                   16054: fi
1.150     moko     16055: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   16056: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16057: if test -n "$libltdl_cv_shlibext"; then
                   16058: 
                   16059: cat >>confdefs.h <<_ACEOF
                   16060: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16061: _ACEOF
                   16062: 
                   16063: fi
                   16064: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16065: 
                   16066: cat >>confdefs.h <<_ACEOF
                   16067: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16068: _ACEOF
                   16069: 
                   16070: fi
                   16071: 
1.150     moko     16072: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   16073: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   16074: if ${lt_cv_module_path_var+:} false; then :
                   16075:   $as_echo_n "(cached) " >&6
1.128     moko     16076: else
                   16077:   lt_cv_module_path_var="$shlibpath_var"
                   16078: fi
1.150     moko     16079: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   16080: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16081: if test -n "$lt_cv_module_path_var"; then
                   16082: 
                   16083: cat >>confdefs.h <<_ACEOF
                   16084: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16085: _ACEOF
                   16086: 
                   16087: fi
                   16088: 
1.150     moko     16089: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   16090: $as_echo_n "checking for the default library search path... " >&6; }
                   16091: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   16092:   $as_echo_n "(cached) " >&6
1.128     moko     16093: else
                   16094:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16095: fi
1.150     moko     16096: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   16097: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16098: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16099:   sys_dlsearch_path=
                   16100:   for dir in $lt_cv_sys_dlsearch_path; do
                   16101:     if test -z "$sys_dlsearch_path"; then
                   16102:       sys_dlsearch_path="$dir"
                   16103:     else
                   16104:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16105:     fi
                   16106:   done
                   16107: 
                   16108: cat >>confdefs.h <<_ACEOF
                   16109: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16110: _ACEOF
                   16111: 
                   16112: fi
                   16113: 
                   16114: 
                   16115: LT_DLLOADERS=
                   16116: 
                   16117: 
                   16118: ac_ext=c
                   16119: ac_cpp='$CPP $CPPFLAGS'
                   16120: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16121: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16122: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16123: 
                   16124: 
                   16125: LIBADD_DLOPEN=
1.150     moko     16126: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   16127: $as_echo_n "checking for library containing dlopen... " >&6; }
                   16128: if ${ac_cv_search_dlopen+:} false; then :
                   16129:   $as_echo_n "(cached) " >&6
1.128     moko     16130: else
                   16131:   ac_func_search_save_LIBS=$LIBS
1.150     moko     16132: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16133: /* end confdefs.h.  */
                   16134: 
1.150     moko     16135: /* Override any GCC internal prototype to avoid an error.
                   16136:    Use char because int might match the return type of a GCC
                   16137:    builtin and then its argument prototype would still apply.  */
1.128     moko     16138: #ifdef __cplusplus
                   16139: extern "C"
                   16140: #endif
                   16141: char dlopen ();
                   16142: int
                   16143: main ()
                   16144: {
1.150     moko     16145: return dlopen ();
1.128     moko     16146:   ;
                   16147:   return 0;
                   16148: }
                   16149: _ACEOF
1.150     moko     16150: for ac_lib in '' dl; do
                   16151:   if test -z "$ac_lib"; then
                   16152:     ac_res="none required"
                   16153:   else
                   16154:     ac_res=-l$ac_lib
                   16155:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16156:   fi
                   16157:   if ac_fn_c_try_link "$LINENO"; then :
                   16158:   ac_cv_search_dlopen=$ac_res
                   16159: fi
                   16160: rm -f core conftest.err conftest.$ac_objext \
                   16161:     conftest$ac_exeext
                   16162:   if ${ac_cv_search_dlopen+:} false; then :
                   16163:   break
1.128     moko     16164: fi
1.150     moko     16165: done
                   16166: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16167: 
                   16168: else
1.150     moko     16169:   ac_cv_search_dlopen=no
1.128     moko     16170: fi
1.150     moko     16171: rm conftest.$ac_ext
1.128     moko     16172: LIBS=$ac_func_search_save_LIBS
                   16173: fi
1.150     moko     16174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   16175: $as_echo "$ac_cv_search_dlopen" >&6; }
                   16176: ac_res=$ac_cv_search_dlopen
                   16177: if test "$ac_res" != no; then :
                   16178:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16179: 
1.150     moko     16180: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16181: 
                   16182:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16183:          LIBADD_DLOPEN="-ldl"
                   16184:        fi
                   16185:        libltdl_cv_lib_dl_dlopen="yes"
                   16186:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16187: else
1.150     moko     16188:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16189: /* end confdefs.h.  */
                   16190: #if HAVE_DLFCN_H
                   16191: #  include <dlfcn.h>
                   16192: #endif
                   16193: 
                   16194: int
                   16195: main ()
                   16196: {
                   16197: dlopen(0, 0);
                   16198:   ;
                   16199:   return 0;
                   16200: }
                   16201: _ACEOF
1.150     moko     16202: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16203: 
1.150     moko     16204: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16205: 
                   16206:            libltdl_cv_func_dlopen="yes"
                   16207:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16208: else
1.150     moko     16209:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   16210: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   16211: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   16212:   $as_echo_n "(cached) " >&6
1.128     moko     16213: else
                   16214:   ac_check_lib_save_LIBS=$LIBS
                   16215: LIBS="-lsvld  $LIBS"
1.150     moko     16216: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16217: /* end confdefs.h.  */
                   16218: 
1.150     moko     16219: /* Override any GCC internal prototype to avoid an error.
                   16220:    Use char because int might match the return type of a GCC
                   16221:    builtin and then its argument prototype would still apply.  */
1.128     moko     16222: #ifdef __cplusplus
                   16223: extern "C"
                   16224: #endif
                   16225: char dlopen ();
                   16226: int
                   16227: main ()
                   16228: {
1.150     moko     16229: return dlopen ();
1.128     moko     16230:   ;
                   16231:   return 0;
                   16232: }
                   16233: _ACEOF
1.150     moko     16234: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16235:   ac_cv_lib_svld_dlopen=yes
                   16236: else
1.150     moko     16237:   ac_cv_lib_svld_dlopen=no
1.128     moko     16238: fi
1.150     moko     16239: rm -f core conftest.err conftest.$ac_objext \
                   16240:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16241: LIBS=$ac_check_lib_save_LIBS
                   16242: fi
1.150     moko     16243: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16244: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   16245: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16246: 
1.150     moko     16247: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16248: 
                   16249:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16250:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16251: fi
                   16252: 
                   16253: fi
1.150     moko     16254: rm -f core conftest.err conftest.$ac_objext \
                   16255:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16256: fi
                   16257: 
                   16258: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16259: then
                   16260:   lt_save_LIBS="$LIBS"
                   16261:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     16262:   for ac_func in dlerror
                   16263: do :
                   16264:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   16265: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16266:   cat >>confdefs.h <<_ACEOF
1.150     moko     16267: #define HAVE_DLERROR 1
1.128     moko     16268: _ACEOF
                   16269: 
                   16270: fi
                   16271: done
                   16272: 
                   16273:   LIBS="$lt_save_LIBS"
                   16274: fi
                   16275: 
                   16276: 
                   16277: LIBADD_SHL_LOAD=
1.150     moko     16278: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   16279: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16280: 
1.150     moko     16281: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16282: 
                   16283:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16284: else
1.150     moko     16285:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   16286: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   16287: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   16288:   $as_echo_n "(cached) " >&6
1.66      paf      16289: else
                   16290:   ac_check_lib_save_LIBS=$LIBS
                   16291: LIBS="-ldld  $LIBS"
1.150     moko     16292: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16293: /* end confdefs.h.  */
1.10      paf      16294: 
1.150     moko     16295: /* Override any GCC internal prototype to avoid an error.
                   16296:    Use char because int might match the return type of a GCC
                   16297:    builtin and then its argument prototype would still apply.  */
1.66      paf      16298: #ifdef __cplusplus
                   16299: extern "C"
                   16300: #endif
                   16301: char shl_load ();
                   16302: int
                   16303: main ()
                   16304: {
1.150     moko     16305: return shl_load ();
1.66      paf      16306:   ;
                   16307:   return 0;
                   16308: }
                   16309: _ACEOF
1.150     moko     16310: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16311:   ac_cv_lib_dld_shl_load=yes
                   16312: else
1.150     moko     16313:   ac_cv_lib_dld_shl_load=no
1.66      paf      16314: fi
1.150     moko     16315: rm -f core conftest.err conftest.$ac_objext \
                   16316:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16317: LIBS=$ac_check_lib_save_LIBS
                   16318: fi
1.150     moko     16319: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   16320: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   16321: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16322: 
1.150     moko     16323: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16324: 
1.128     moko     16325:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16326:            LIBADD_SHL_LOAD="-ldld"
                   16327: fi
                   16328: 
                   16329: fi
                   16330: 
                   16331: 
                   16332: 
                   16333: case $host_os in
                   16334: darwin[1567].*)
                   16335: # We only want this for pre-Mac OS X 10.4.
1.150     moko     16336:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   16337: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   16338: 
                   16339: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16340: 
1.150     moko     16341:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16342: fi
1.128     moko     16343: 
1.150     moko     16344:   ;;
                   16345: beos*)
1.128     moko     16346:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16347:   ;;
                   16348: cygwin* | mingw* | os2* | pw32*)
1.150     moko     16349:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   16350: "
                   16351: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   16352:   ac_have_decl=1
1.128     moko     16353: else
1.150     moko     16354:   ac_have_decl=0
1.128     moko     16355: fi
                   16356: 
                   16357: cat >>confdefs.h <<_ACEOF
1.150     moko     16358: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16359: _ACEOF
                   16360: 
                   16361:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16362:   ;;
                   16363: esac
                   16364: 
1.150     moko     16365: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16366: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   16367: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   16368:   $as_echo_n "(cached) " >&6
1.66      paf      16369: else
                   16370:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16371: LIBS="-ldld  $LIBS"
1.150     moko     16372: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16373: /* end confdefs.h.  */
1.62      paf      16374: 
1.150     moko     16375: /* Override any GCC internal prototype to avoid an error.
                   16376:    Use char because int might match the return type of a GCC
                   16377:    builtin and then its argument prototype would still apply.  */
1.66      paf      16378: #ifdef __cplusplus
                   16379: extern "C"
                   16380: #endif
1.128     moko     16381: char dld_link ();
1.66      paf      16382: int
                   16383: main ()
                   16384: {
1.150     moko     16385: return dld_link ();
1.66      paf      16386:   ;
                   16387:   return 0;
                   16388: }
                   16389: _ACEOF
1.150     moko     16390: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16391:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16392: else
1.150     moko     16393:   ac_cv_lib_dld_dld_link=no
1.128     moko     16394: fi
1.150     moko     16395: rm -f core conftest.err conftest.$ac_objext \
                   16396:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16397: LIBS=$ac_check_lib_save_LIBS
                   16398: fi
1.150     moko     16399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16400: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   16401: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16402: 
1.150     moko     16403: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16404: 
                   16405:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16406: fi
                   16407: 
                   16408: 
                   16409: 
                   16410: 
                   16411: LT_DLPREOPEN=
                   16412: if test -n "$LT_DLLOADERS"
                   16413: then
                   16414:   for lt_loader in $LT_DLLOADERS; do
                   16415:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16416:   done
                   16417: 
1.150     moko     16418: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16419: 
                   16420: fi
                   16421: 
                   16422: 
                   16423: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16424: 
                   16425: 
                   16426: ac_ext=c
                   16427: ac_cpp='$CPP $CPPFLAGS'
                   16428: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16429: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16430: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16431: 
                   16432: 
1.150     moko     16433: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   16434: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   16435: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   16436:   $as_echo_n "(cached) " >&6
1.128     moko     16437: else
                   16438:   lt_cv_sys_symbol_underscore=no
                   16439:   cat > conftest.$ac_ext <<_LT_EOF
                   16440: void nm_test_func(){}
                   16441: int main(){nm_test_func;return 0;}
                   16442: _LT_EOF
1.150     moko     16443:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16444:   (eval $ac_compile) 2>&5
                   16445:   ac_status=$?
1.150     moko     16446:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16447:   test $ac_status = 0; }; then
1.128     moko     16448:     # Now try to grab the symbols.
                   16449:     ac_nlist=conftest.nm
1.150     moko     16450:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16451:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16452:   ac_status=$?
1.150     moko     16453:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16454:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16455:       # See whether the symbols have a leading underscore.
                   16456:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16457:         lt_cv_sys_symbol_underscore=yes
                   16458:       else
                   16459:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16460:          :
                   16461:         else
                   16462:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16463:         fi
                   16464:       fi
                   16465:     else
                   16466:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16467:     fi
                   16468:   else
                   16469:     echo "configure: failed program was:" >&5
                   16470:     cat conftest.c >&5
                   16471:   fi
                   16472:   rm -rf conftest*
1.29      paf      16473: 
1.66      paf      16474: fi
1.150     moko     16475: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   16476: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     16477:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16478: 
1.62      paf      16479: 
1.128     moko     16480: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16481:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16482:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150     moko     16483:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   16484: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   16485: if ${libltdl_cv_need_uscore+:} false; then :
                   16486:   $as_echo_n "(cached) " >&6
1.66      paf      16487: else
1.128     moko     16488:   libltdl_cv_need_uscore=unknown
                   16489:           save_LIBS="$LIBS"
                   16490:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16491:          if test "$cross_compiling" = yes; then :
                   16492:   libltdl_cv_need_uscore=cross
                   16493: else
                   16494:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16495:   lt_status=$lt_dlunknown
                   16496:   cat > conftest.$ac_ext <<_LT_EOF
                   16497: #line $LINENO "configure"
                   16498: #include "confdefs.h"
                   16499: 
1.66      paf      16500: #if HAVE_DLFCN_H
1.128     moko     16501: #include <dlfcn.h>
                   16502: #endif
                   16503: 
                   16504: #include <stdio.h>
                   16505: 
                   16506: #ifdef RTLD_GLOBAL
                   16507: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16508: #else
                   16509: #  ifdef DL_GLOBAL
                   16510: #    define LT_DLGLOBAL                DL_GLOBAL
                   16511: #  else
                   16512: #    define LT_DLGLOBAL                0
                   16513: #  endif
                   16514: #endif
                   16515: 
                   16516: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16517:    find out it does not work in some platform. */
                   16518: #ifndef LT_DLLAZY_OR_NOW
                   16519: #  ifdef RTLD_LAZY
                   16520: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16521: #  else
                   16522: #    ifdef DL_LAZY
                   16523: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16524: #    else
                   16525: #      ifdef RTLD_NOW
                   16526: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16527: #      else
                   16528: #        ifdef DL_NOW
                   16529: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16530: #        else
                   16531: #          define LT_DLLAZY_OR_NOW     0
                   16532: #        endif
                   16533: #      endif
                   16534: #    endif
                   16535: #  endif
                   16536: #endif
                   16537: 
                   16538: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16539:    correspondingly for the symbols needed.  */
                   16540: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16541: int fnord () __attribute__((visibility("default")));
1.66      paf      16542: #endif
1.62      paf      16543: 
1.128     moko     16544: int fnord () { return 42; }
                   16545: int main ()
1.66      paf      16546: {
1.128     moko     16547:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16548:   int status = $lt_dlunknown;
                   16549: 
                   16550:   if (self)
                   16551:     {
                   16552:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16553:       else
                   16554:         {
                   16555:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16556:           else puts (dlerror ());
                   16557:        }
                   16558:       /* dlclose (self); */
                   16559:     }
                   16560:   else
                   16561:     puts (dlerror ());
                   16562: 
                   16563:   return status;
1.66      paf      16564: }
1.128     moko     16565: _LT_EOF
1.150     moko     16566:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16567:   (eval $ac_link) 2>&5
1.66      paf      16568:   ac_status=$?
1.150     moko     16569:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16570:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     16571:     (./conftest; exit; ) >&5 2>/dev/null
                   16572:     lt_status=$?
                   16573:     case x$lt_status in
                   16574:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16575:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16576:       x$lt_dlunknown|x*)  ;;
                   16577:     esac
                   16578:   else :
                   16579:     # compilation failed
                   16580: 
                   16581:   fi
                   16582: fi
                   16583: rm -fr conftest*
                   16584: 
                   16585:          LIBS="$save_LIBS"
                   16586: 
                   16587: fi
1.150     moko     16588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16589: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     16590:   fi
                   16591: fi
                   16592: 
                   16593: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16594: 
1.150     moko     16595: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      16596: 
1.128     moko     16597: fi
                   16598: 
1.150     moko     16599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16600: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16601: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16602:   $as_echo_n "(cached) " >&6
1.66      paf      16603: else
1.128     moko     16604:   # PORTME does your system automatically load deplibs for dlopen?
                   16605:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16606:   # For now, we just catch OSes we know something about -- in the
                   16607:   # future, we'll try test this programmatically.
                   16608:   lt_cv_sys_dlopen_deplibs=unknown
                   16609:   case $host_os in
                   16610:   aix3*|aix4.1.*|aix4.2.*)
                   16611:     # Unknown whether this is true for these versions of AIX, but
                   16612:     # we want this `case' here to explicitly catch those versions.
                   16613:     lt_cv_sys_dlopen_deplibs=unknown
                   16614:     ;;
                   16615:   aix[4-9]*)
                   16616:     lt_cv_sys_dlopen_deplibs=yes
                   16617:     ;;
                   16618:   amigaos*)
                   16619:     case $host_cpu in
                   16620:     powerpc)
                   16621:       lt_cv_sys_dlopen_deplibs=no
                   16622:       ;;
                   16623:     esac
                   16624:     ;;
                   16625:   darwin*)
                   16626:     # Assuming the user has installed a libdl from somewhere, this is true
                   16627:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16628:     lt_cv_sys_dlopen_deplibs=yes
                   16629:     ;;
                   16630:   freebsd* | dragonfly*)
                   16631:     lt_cv_sys_dlopen_deplibs=yes
                   16632:     ;;
                   16633:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16634:     # GNU and its variants, using gnu ld.so (Glibc)
                   16635:     lt_cv_sys_dlopen_deplibs=yes
                   16636:     ;;
                   16637:   hpux10*|hpux11*)
                   16638:     lt_cv_sys_dlopen_deplibs=yes
                   16639:     ;;
                   16640:   interix*)
                   16641:     lt_cv_sys_dlopen_deplibs=yes
                   16642:     ;;
                   16643:   irix[12345]*|irix6.[01]*)
                   16644:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16645:     # know how it worked for any of those versions.
                   16646:     lt_cv_sys_dlopen_deplibs=unknown
                   16647:     ;;
                   16648:   irix*)
                   16649:     # The case above catches anything before 6.2, and it's known that
                   16650:     # at 6.2 and later dlopen does load deplibs.
                   16651:     lt_cv_sys_dlopen_deplibs=yes
                   16652:     ;;
                   16653:   netbsd*)
                   16654:     lt_cv_sys_dlopen_deplibs=yes
                   16655:     ;;
                   16656:   openbsd*)
                   16657:     lt_cv_sys_dlopen_deplibs=yes
                   16658:     ;;
                   16659:   osf[1234]*)
                   16660:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16661:     # it did *not* use an RPATH in a shared library to find objects the
                   16662:     # library depends on, so we explicitly say `no'.
                   16663:     lt_cv_sys_dlopen_deplibs=no
                   16664:     ;;
                   16665:   osf5.0|osf5.0a|osf5.1)
                   16666:     # dlopen *does* load deplibs and with the right loader patch applied
                   16667:     # it even uses RPATH in a shared library to search for shared objects
                   16668:     # that the library depends on, but there's no easy way to know if that
                   16669:     # patch is installed.  Since this is the case, all we can really
                   16670:     # say is unknown -- it depends on the patch being installed.  If
                   16671:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16672:     lt_cv_sys_dlopen_deplibs=unknown
                   16673:     ;;
                   16674:   osf*)
                   16675:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16676:     # the comments above for what we know about them.
                   16677:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16678:     # is used to find them so we can finally say `yes'.
                   16679:     lt_cv_sys_dlopen_deplibs=yes
                   16680:     ;;
                   16681:   qnx*)
                   16682:     lt_cv_sys_dlopen_deplibs=yes
                   16683:     ;;
                   16684:   solaris*)
                   16685:     lt_cv_sys_dlopen_deplibs=yes
                   16686:     ;;
                   16687:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16688:     libltdl_cv_sys_dlopen_deplibs=yes
                   16689:     ;;
                   16690:   esac
                   16691: 
                   16692: fi
1.150     moko     16693: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16694: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     16695: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16696: 
1.150     moko     16697: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     16698: 
                   16699: fi
                   16700: 
                   16701: :
                   16702: 
                   16703: for ac_header in argz.h
1.150     moko     16704: do :
                   16705:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   16706: "
                   16707: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     16708:   cat >>confdefs.h <<_ACEOF
1.150     moko     16709: #define HAVE_ARGZ_H 1
1.128     moko     16710: _ACEOF
                   16711: 
1.66      paf      16712: fi
1.62      paf      16713: 
1.128     moko     16714: done
                   16715: 
1.29      paf      16716: 
1.150     moko     16717: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     16718: #  include <argz.h>
                   16719: #endif
1.150     moko     16720: "
                   16721: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      16722: 
1.128     moko     16723: cat >>confdefs.h <<_ACEOF
                   16724: #define HAVE_ERROR_T 1
1.62      paf      16725: _ACEOF
1.16      paf      16726: 
                   16727: 
1.128     moko     16728: else
1.16      paf      16729: 
1.150     moko     16730: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      16731: 
1.12      paf      16732: 
1.150     moko     16733: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      16734: 
1.66      paf      16735: fi
1.12      paf      16736: 
1.128     moko     16737: 
                   16738: ARGZ_H=
                   16739: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16740:        argz_next argz_stringify
1.150     moko     16741: do :
                   16742:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16743: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16744: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     16745:   cat >>confdefs.h <<_ACEOF
1.150     moko     16746: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     16747: _ACEOF
                   16748: 
                   16749: else
                   16750:   ARGZ_H=argz.h;
                   16751: 
                   16752:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16753: 
                   16754: fi
                   16755: done
                   16756: 
                   16757: 
1.150     moko     16758: if test -z "$ARGZ_H"; then :
                   16759:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   16760: $as_echo_n "checking if argz actually works... " >&6; }
                   16761: if ${lt_cv_sys_argz_works+:} false; then :
                   16762:   $as_echo_n "(cached) " >&6
1.128     moko     16763: else
                   16764:   case $host_os in #(
                   16765:         *cygwin*)
                   16766:           lt_cv_sys_argz_works=no
                   16767:           if test "$cross_compiling" != no; then
                   16768:             lt_cv_sys_argz_works="guessing no"
                   16769:           else
                   16770:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16771:             save_IFS=$IFS
                   16772:             IFS=-.
                   16773:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16774:             IFS=$save_IFS
                   16775:             lt_os_major=${2-0}
                   16776:             lt_os_minor=${3-0}
                   16777:             lt_os_micro=${4-0}
                   16778:             if test "$lt_os_major" -gt 1 \
                   16779:                || { test "$lt_os_major" -eq 1 \
                   16780:                  && { test "$lt_os_minor" -gt 5 \
                   16781:                    || { test "$lt_os_minor" -eq 5 \
                   16782:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16783:               lt_cv_sys_argz_works=yes
                   16784:             fi
                   16785:           fi
                   16786:           ;; #(
                   16787:         *) lt_cv_sys_argz_works=yes ;;
                   16788:         esac
                   16789: fi
1.150     moko     16790: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   16791: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   16792:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     16793: 
1.150     moko     16794: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     16795: 
1.62      paf      16796: else
1.128     moko     16797:   ARGZ_H=argz.h
                   16798: 
                   16799: 
                   16800:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16801: 
                   16802: fi
1.62      paf      16803: fi
1.128     moko     16804: 
                   16805: 
                   16806: 
1.150     moko     16807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16808: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   16809: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   16810:   $as_echo_n "(cached) " >&6
1.128     moko     16811: else
                   16812:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16813:     libltdl_cv_preloaded_symbols=yes
                   16814:   else
                   16815:     libltdl_cv_preloaded_symbols=no
                   16816:   fi
                   16817: 
1.62      paf      16818: fi
1.150     moko     16819: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   16820: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     16821: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16822: 
1.150     moko     16823: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      16824: 
                   16825: fi
                   16826: 
1.150     moko     16827: 
                   16828: 
1.128     moko     16829: # Set options
                   16830: 
                   16831: 
                   16832: 
                   16833: 
                   16834: 
                   16835: 
                   16836: 
                   16837: 
                   16838: 
                   16839: 
1.66      paf      16840: 
                   16841: 
1.150     moko     16842: # Check whether --with-included_ltdl was given.
                   16843: if test "${with_included_ltdl+set}" = set; then :
                   16844:   withval=$with_included_ltdl;
                   16845: fi
1.64      paf      16846: 
                   16847: 
1.128     moko     16848: if test "x$with_included_ltdl" != xyes; then
                   16849:   # We are not being forced to use the included libltdl sources, so
                   16850:   # decide whether there is a useful installed version we can use.
1.150     moko     16851:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     16852: 
1.150     moko     16853: "
                   16854: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   16855:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     16856:            #include <ltdl.h>
1.150     moko     16857: "
                   16858: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   16859:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   16860: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   16861: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   16862:   $as_echo_n "(cached) " >&6
1.79      paf      16863: else
1.128     moko     16864:   ac_check_lib_save_LIBS=$LIBS
                   16865: LIBS="-lltdl  $LIBS"
1.150     moko     16866: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      16867: /* end confdefs.h.  */
1.128     moko     16868: 
1.150     moko     16869: /* Override any GCC internal prototype to avoid an error.
                   16870:    Use char because int might match the return type of a GCC
                   16871:    builtin and then its argument prototype would still apply.  */
1.128     moko     16872: #ifdef __cplusplus
                   16873: extern "C"
                   16874: #endif
                   16875: char lt_dladvise_preload ();
1.79      paf      16876: int
                   16877: main ()
                   16878: {
1.150     moko     16879: return lt_dladvise_preload ();
1.79      paf      16880:   ;
                   16881:   return 0;
                   16882: }
                   16883: _ACEOF
1.150     moko     16884: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16885:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      16886: else
1.150     moko     16887:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     16888: fi
1.150     moko     16889: rm -f core conftest.err conftest.$ac_objext \
                   16890:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16891: LIBS=$ac_check_lib_save_LIBS
1.79      paf      16892: fi
1.150     moko     16893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16894: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   16895: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     16896:   with_included_ltdl=no
1.79      paf      16897: else
1.128     moko     16898:   with_included_ltdl=yes
                   16899: fi
                   16900: 
1.79      paf      16901: else
1.128     moko     16902:   with_included_ltdl=yes
                   16903: fi
1.79      paf      16904: 
1.128     moko     16905: else
                   16906:   with_included_ltdl=yes
1.79      paf      16907: fi
1.128     moko     16908: 
                   16909: 
1.79      paf      16910: fi
1.128     moko     16911: 
                   16912: 
                   16913: 
                   16914: 
1.150     moko     16915: # Check whether --with-ltdl_include was given.
                   16916: if test "${with_ltdl_include+set}" = set; then :
                   16917:   withval=$with_ltdl_include;
                   16918: fi
1.128     moko     16919: 
                   16920: 
                   16921: if test -n "$with_ltdl_include"; then
                   16922:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16923:   else
1.150     moko     16924:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     16925:   fi
                   16926: else
                   16927:   with_ltdl_include=no
1.79      paf      16928: fi
1.128     moko     16929: 
                   16930: 
1.150     moko     16931: # Check whether --with-ltdl_lib was given.
                   16932: if test "${with_ltdl_lib+set}" = set; then :
                   16933:   withval=$with_ltdl_lib;
                   16934: fi
1.128     moko     16935: 
                   16936: 
                   16937: if test -n "$with_ltdl_lib"; then
                   16938:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16939:   else
1.150     moko     16940:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     16941:   fi
                   16942: else
                   16943:   with_ltdl_lib=no
1.79      paf      16944: fi
                   16945: 
1.128     moko     16946: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   16947:   ,yes,no,no,)
                   16948:        case $enable_ltdl_convenience in
1.150     moko     16949:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     16950:   "") enable_ltdl_convenience=yes
                   16951:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   16952: esac
1.150     moko     16953: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     16954: LTDLDEPS=$LIBLTDL
                   16955: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   16956: 
                   16957: 
                   16958: 
                   16959: 
                   16960: 
                   16961: # For backwards non-gettext consistent compatibility...
                   16962: INCLTDL="$LTDLINCL"
                   16963: 
1.79      paf      16964: 
1.128     moko     16965:        ;;
                   16966:   ,no,no,no,)
                   16967:        # If the included ltdl is not to be used, then use the
                   16968:        # preinstalled libltdl we found.
1.79      paf      16969: 
1.150     moko     16970: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      16971: 
1.128     moko     16972:        LIBLTDL=-lltdl
                   16973:        LTDLDEPS=
                   16974:        LTDLINCL=
                   16975:        ;;
                   16976:   ,no*,no,*)
1.150     moko     16977:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     16978:        ;;
                   16979:   *)   with_included_ltdl=no
                   16980:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   16981:        LTDLDEPS=
                   16982:        LTDLINCL="-I$with_ltdl_include"
                   16983:        ;;
                   16984: esac
                   16985: INCLTDL="$LTDLINCL"
                   16986: 
                   16987: # Report our decision...
1.150     moko     16988: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   16989: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   16990: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   16991: $as_echo "$LTDLINCL" >&6; }
                   16992: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   16993: $as_echo_n "checking where to find libltdl library... " >&6; }
                   16994: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   16995: $as_echo "$LIBLTDL" >&6; }
1.128     moko     16996: 
                   16997: 
                   16998: 
1.150     moko     16999: # Check whether --enable-ltdl-install was given.
                   17000: if test "${enable_ltdl_install+set}" = set; then :
                   17001:   enableval=$enable_ltdl_install;
                   17002: fi
1.128     moko     17003: 
                   17004: 
                   17005: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17006:   *yes*) ;;
                   17007:   *) enable_ltdl_convenience=yes ;;
                   17008: esac
                   17009: 
1.150     moko     17010:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     17011:   INSTALL_LTDL_TRUE=
                   17012:   INSTALL_LTDL_FALSE='#'
                   17013: else
                   17014:   INSTALL_LTDL_TRUE='#'
                   17015:   INSTALL_LTDL_FALSE=
                   17016: fi
                   17017: 
1.150     moko     17018:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     17019:   CONVENIENCE_LTDL_TRUE=
                   17020:   CONVENIENCE_LTDL_FALSE='#'
                   17021: else
                   17022:   CONVENIENCE_LTDL_TRUE='#'
                   17023:   CONVENIENCE_LTDL_FALSE=
                   17024: fi
                   17025: 
                   17026: 
                   17027: 
1.150     moko     17028:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     17029: 
                   17030: 
                   17031: 
                   17032: 
                   17033: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17034: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17035: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17036: # definitions required by ltdl.c.
                   17037: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17038: 
                   17039: 
                   17040: 
1.150     moko     17041: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17042: do :
                   17043:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17044: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   17045: "
                   17046: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17047:   cat >>confdefs.h <<_ACEOF
                   17048: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17049: _ACEOF
1.128     moko     17050: 
1.150     moko     17051: fi
1.128     moko     17052: 
1.150     moko     17053: done
1.128     moko     17054: 
                   17055: 
1.150     moko     17056: for ac_func in closedir opendir readdir
                   17057: do :
                   17058:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17059: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17060: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17061:   cat >>confdefs.h <<_ACEOF
                   17062: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17063: _ACEOF
1.66      paf      17064: 
                   17065: else
1.64      paf      17066: 
1.66      paf      17067: 
1.128     moko     17068:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17069: 
1.66      paf      17070: fi
1.128     moko     17071: done
                   17072: 
                   17073: for ac_func in strlcat strlcpy
1.150     moko     17074: do :
                   17075:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17076: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17077: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17078:   cat >>confdefs.h <<_ACEOF
1.150     moko     17079: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17080: _ACEOF
                   17081: 
                   17082: else
                   17083: 
                   17084: 
                   17085:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17086: 
1.62      paf      17087: fi
1.128     moko     17088: done
                   17089: 
                   17090: 
1.64      paf      17091: 
1.128     moko     17092: cat >>confdefs.h <<_ACEOF
                   17093: #define LT_LIBEXT "$libext"
1.62      paf      17094: _ACEOF
1.64      paf      17095: 
1.128     moko     17096: 
                   17097: name=
                   17098: eval "lt_libprefix=\"$libname_spec\""
                   17099: 
                   17100: cat >>confdefs.h <<_ACEOF
                   17101: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17102: _ACEOF
1.128     moko     17103: 
                   17104: 
                   17105: name=ltdl
                   17106: eval "LTDLOPEN=\"$libname_spec\""
                   17107: 
                   17108: 
                   17109: 
                   17110: 
                   17111: 
                   17112: 
                   17113: 
                   17114: 
                   17115: # Only expand once:
                   17116: 
                   17117: 
                   17118: 
                   17119: 
1.150     moko     17120:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17121: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17122: if ${ac_cv_c_bigendian+:} false; then :
                   17123:   $as_echo_n "(cached) " >&6
                   17124: else
                   17125:   ac_cv_c_bigendian=unknown
                   17126:     # See if we're dealing with a universal compiler.
                   17127:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17128: /* end confdefs.h.  */
                   17129: #ifndef __APPLE_CC__
                   17130:               not a universal capable compiler
                   17131:             #endif
                   17132:             typedef int dummy;
                   17133: 
                   17134: _ACEOF
                   17135: if ac_fn_c_try_compile "$LINENO"; then :
                   17136: 
                   17137:        # Check for potential -arch flags.  It is not universal unless
                   17138:        # there are at least two -arch flags with different values.
                   17139:        ac_arch=
                   17140:        ac_prev=
                   17141:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17142:         if test -n "$ac_prev"; then
                   17143:           case $ac_word in
                   17144:             i?86 | x86_64 | ppc | ppc64)
                   17145:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17146:                 ac_arch=$ac_word
                   17147:               else
                   17148:                 ac_cv_c_bigendian=universal
                   17149:                 break
                   17150:               fi
                   17151:               ;;
                   17152:           esac
                   17153:           ac_prev=
                   17154:         elif test "x$ac_word" = "x-arch"; then
                   17155:           ac_prev=arch
                   17156:         fi
                   17157:        done
                   17158: fi
                   17159: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17160:     if test $ac_cv_c_bigendian = unknown; then
                   17161:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17162:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17163: /* end confdefs.h.  */
1.128     moko     17164: #include <sys/types.h>
1.150     moko     17165:             #include <sys/param.h>
1.128     moko     17166: 
                   17167: int
                   17168: main ()
                   17169: {
1.150     moko     17170: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17171:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17172:                     && LITTLE_ENDIAN)
                   17173:              bogus endian macros
                   17174:             #endif
1.64      paf      17175: 
1.128     moko     17176:   ;
                   17177:   return 0;
                   17178: }
1.66      paf      17179: _ACEOF
1.150     moko     17180: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17181:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     17182:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17183: /* end confdefs.h.  */
1.128     moko     17184: #include <sys/types.h>
1.150     moko     17185:                #include <sys/param.h>
1.64      paf      17186: 
                   17187: int
                   17188: main ()
1.128     moko     17189: {
                   17190: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     17191:                 not big endian
                   17192:                #endif
1.128     moko     17193: 
                   17194:   ;
                   17195:   return 0;
1.64      paf      17196: }
                   17197: _ACEOF
1.150     moko     17198: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17199:   ac_cv_c_bigendian=yes
1.64      paf      17200: else
1.150     moko     17201:   ac_cv_c_bigendian=no
                   17202: fi
                   17203: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17204: fi
                   17205: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17206:     fi
                   17207:     if test $ac_cv_c_bigendian = unknown; then
                   17208:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17209:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17210: /* end confdefs.h.  */
                   17211: #include <limits.h>
1.64      paf      17212: 
1.150     moko     17213: int
                   17214: main ()
                   17215: {
                   17216: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17217:              bogus endian macros
                   17218:             #endif
1.66      paf      17219: 
1.150     moko     17220:   ;
                   17221:   return 0;
                   17222: }
1.62      paf      17223: _ACEOF
1.150     moko     17224: if ac_fn_c_try_compile "$LINENO"; then :
                   17225:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17226:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17227: /* end confdefs.h.  */
1.150     moko     17228: #include <limits.h>
                   17229: 
1.128     moko     17230: int
                   17231: main ()
                   17232: {
1.150     moko     17233: #ifndef _BIG_ENDIAN
                   17234:                 not big endian
                   17235:                #endif
                   17236: 
1.128     moko     17237:   ;
                   17238:   return 0;
                   17239: }
1.62      paf      17240: _ACEOF
1.150     moko     17241: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17242:   ac_cv_c_bigendian=yes
1.150     moko     17243: else
                   17244:   ac_cv_c_bigendian=no
1.128     moko     17245: fi
1.150     moko     17246: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17247: fi
1.150     moko     17248: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17249:     fi
                   17250:     if test $ac_cv_c_bigendian = unknown; then
                   17251:       # Compile a test program.
                   17252:       if test "$cross_compiling" = yes; then :
                   17253:   # Try to guess by grepping values from an object file.
                   17254:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17255: /* end confdefs.h.  */
                   17256: short int ascii_mm[] =
                   17257:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17258:                short int ascii_ii[] =
                   17259:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17260:                int use_ascii (int i) {
                   17261:                  return ascii_mm[i] + ascii_ii[i];
                   17262:                }
                   17263:                short int ebcdic_ii[] =
                   17264:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17265:                short int ebcdic_mm[] =
                   17266:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17267:                int use_ebcdic (int i) {
                   17268:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17269:                }
                   17270:                extern int foo;
1.62      paf      17271: 
1.150     moko     17272: int
                   17273: main ()
                   17274: {
                   17275: return use_ascii (foo) == use_ebcdic (foo);
                   17276:   ;
                   17277:   return 0;
                   17278: }
                   17279: _ACEOF
                   17280: if ac_fn_c_try_compile "$LINENO"; then :
                   17281:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17282:              ac_cv_c_bigendian=yes
                   17283:            fi
                   17284:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17285:              if test "$ac_cv_c_bigendian" = unknown; then
                   17286:                ac_cv_c_bigendian=no
                   17287:              else
                   17288:                # finding both strings is unlikely to happen, but who knows?
                   17289:                ac_cv_c_bigendian=unknown
                   17290:              fi
                   17291:            fi
1.128     moko     17292: fi
1.150     moko     17293: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17294: else
1.150     moko     17295:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17296: /* end confdefs.h.  */
1.150     moko     17297: $ac_includes_default
1.128     moko     17298: int
                   17299: main ()
                   17300: {
1.150     moko     17301: 
                   17302:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17303:             union
                   17304:             {
                   17305:               long int l;
                   17306:               char c[sizeof (long int)];
                   17307:             } u;
                   17308:             u.l = 1;
                   17309:             return u.c[sizeof (long int) - 1] == 1;
                   17310: 
                   17311:   ;
                   17312:   return 0;
1.128     moko     17313: }
                   17314: _ACEOF
1.150     moko     17315: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17316:   ac_cv_c_bigendian=no
                   17317: else
1.150     moko     17318:   ac_cv_c_bigendian=yes
1.128     moko     17319: fi
1.150     moko     17320: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17321:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17322: fi
1.150     moko     17323: 
                   17324:     fi
1.66      paf      17325: fi
1.150     moko     17326: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17327: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17328:  case $ac_cv_c_bigendian in #(
                   17329:    yes)
                   17330: 
                   17331: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   17332: 
                   17333: ;; #(
                   17334:    no)
1.128     moko     17335: 
1.150     moko     17336: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17337: 
1.150     moko     17338:  ;; #(
                   17339:    universal)
1.128     moko     17340: 
1.150     moko     17341: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17342: 
1.150     moko     17343:      ;; #(
                   17344:    *)
                   17345:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17346:  ;;
1.150     moko     17347:  esac
1.66      paf      17348: 
                   17349: 
1.150     moko     17350: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17351: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17352: 
1.66      paf      17353: else
1.1       paf      17354: 
1.66      paf      17355: cat >>confdefs.h <<_ACEOF
1.150     moko     17356: #define size_t unsigned int
1.66      paf      17357: _ACEOF
1.62      paf      17358: 
                   17359: fi
1.66      paf      17360: 
1.128     moko     17361: 
                   17362: 
1.150     moko     17363: ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
                   17364: if test "x$ac_cv_type_off_t" = xyes; then :
1.66      paf      17365: 
1.62      paf      17366: else
1.1       paf      17367: 
1.66      paf      17368: cat >>confdefs.h <<_ACEOF
                   17369: #define off_t long
                   17370: _ACEOF
                   17371: 
1.62      paf      17372: fi
1.1       paf      17373: 
1.150     moko     17374: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
                   17375: if test "x$ac_cv_type_ssize_t" = xyes; then :
1.62      paf      17376: 
1.1       paf      17377: else
1.66      paf      17378: 
                   17379: cat >>confdefs.h <<_ACEOF
                   17380: #define ssize_t int
                   17381: _ACEOF
                   17382: 
1.1       paf      17383: fi
1.62      paf      17384: 
                   17385: 
                   17386: 
1.150     moko     17387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   17388: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   17389: if ${ac_cv_header_time+:} false; then :
                   17390:   $as_echo_n "(cached) " >&6
1.62      paf      17391: else
1.150     moko     17392:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17393: /* end confdefs.h.  */
1.66      paf      17394: #include <sys/types.h>
                   17395: #include <sys/time.h>
                   17396: #include <time.h>
1.62      paf      17397: 
                   17398: int
                   17399: main ()
                   17400: {
1.66      paf      17401: if ((struct tm *) 0)
                   17402: return 0;
1.62      paf      17403:   ;
                   17404:   return 0;
                   17405: }
                   17406: _ACEOF
1.150     moko     17407: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      17408:   ac_cv_header_time=yes
1.1       paf      17409: else
1.150     moko     17410:   ac_cv_header_time=no
1.1       paf      17411: fi
1.150     moko     17412: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17413: fi
1.150     moko     17414: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   17415: $as_echo "$ac_cv_header_time" >&6; }
1.66      paf      17416: if test $ac_cv_header_time = yes; then
1.1       paf      17417: 
1.150     moko     17418: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.66      paf      17419: 
1.1       paf      17420: fi
1.66      paf      17421: 
1.1       paf      17422: 
1.150     moko     17423: for ac_header in assert.h \
                   17424: signal.h \
                   17425: unistd.h \
                   17426: process.h \
                   17427: stddef.h \
                   17428: stdarg.h \
                   17429: fcntl.h \
                   17430: sys/stat.h \
                   17431: io.h \
                   17432: stdio.h \
                   17433: errno.h \
                   17434: ctype.h \
                   17435: math.h \
                   17436: crypt.h \
                   17437: time.h sys/time.h \
                   17438: string.h \
                   17439: direct.h \
                   17440: setjmp.h \
                   17441: memory.h \
                   17442: limits.h \
                   17443: sys/file.h \
                   17444: sys/locking.h \
                   17445: sys/types.h \
                   17446: sys/select.h \
                   17447: sys/resource.h \
                   17448: winsock.h \
                   17449: sys/socket.h \
                   17450: netinet/in.h \
                   17451: arpa/inet.h \
                   17452: netdb.h
                   17453: 
                   17454: do :
                   17455:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17456: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17457: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      17458:   cat >>confdefs.h <<_ACEOF
1.150     moko     17459: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      17460: _ACEOF
                   17461: 
                   17462: fi
                   17463: 
1.66      paf      17464: done
1.62      paf      17465: 
                   17466: 
                   17467: 
1.128     moko     17468: 
                   17469: 
1.66      paf      17470: case "$host" in
1.107     misha    17471:   *-freebsd4*)
                   17472: 
1.150     moko     17473: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    17474: 
                   17475:   ;;
1.66      paf      17476:   *-sunos5.6* | *-solaris2.6*)
1.150     moko     17477:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   17478: $as_echo_n "checking for main in -lxnet... " >&6; }
                   17479: if ${ac_cv_lib_xnet_main+:} false; then :
                   17480:   $as_echo_n "(cached) " >&6
1.62      paf      17481: else
1.66      paf      17482:   ac_check_lib_save_LIBS=$LIBS
                   17483: LIBS="-lxnet  $LIBS"
1.150     moko     17484: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17485: /* end confdefs.h.  */
                   17486: 
1.66      paf      17487: 
                   17488: int
                   17489: main ()
                   17490: {
1.150     moko     17491: return main ();
1.66      paf      17492:   ;
                   17493:   return 0;
                   17494: }
1.62      paf      17495: _ACEOF
1.150     moko     17496: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17497:   ac_cv_lib_xnet_main=yes
1.62      paf      17498: else
1.150     moko     17499:   ac_cv_lib_xnet_main=no
1.62      paf      17500: fi
1.150     moko     17501: rm -f core conftest.err conftest.$ac_objext \
                   17502:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17503: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17504: fi
1.150     moko     17505: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   17506: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   17507: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      17508:   cat >>confdefs.h <<_ACEOF
1.66      paf      17509: #define HAVE_LIBXNET 1
1.62      paf      17510: _ACEOF
1.1       paf      17511: 
1.66      paf      17512:   LIBS="-lxnet $LIBS"
                   17513: 
1.1       paf      17514: fi
                   17515: 
1.66      paf      17516:   ;;
                   17517:   *-sunos5* | *-solaris2*)
1.150     moko     17518:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   17519: $as_echo_n "checking for main in -lsocket... " >&6; }
                   17520: if ${ac_cv_lib_socket_main+:} false; then :
                   17521:   $as_echo_n "(cached) " >&6
1.62      paf      17522: else
1.66      paf      17523:   ac_check_lib_save_LIBS=$LIBS
                   17524: LIBS="-lsocket  $LIBS"
1.150     moko     17525: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17526: /* end confdefs.h.  */
1.66      paf      17527: 
                   17528: 
1.62      paf      17529: int
                   17530: main ()
                   17531: {
1.150     moko     17532: return main ();
1.62      paf      17533:   ;
                   17534:   return 0;
                   17535: }
                   17536: _ACEOF
1.150     moko     17537: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17538:   ac_cv_lib_socket_main=yes
1.1       paf      17539: else
1.150     moko     17540:   ac_cv_lib_socket_main=no
1.1       paf      17541: fi
1.150     moko     17542: rm -f core conftest.err conftest.$ac_objext \
                   17543:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17544: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17545: fi
1.150     moko     17546: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   17547: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   17548: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      17549:   cat >>confdefs.h <<_ACEOF
                   17550: #define HAVE_LIBSOCKET 1
                   17551: _ACEOF
1.1       paf      17552: 
1.66      paf      17553:   LIBS="-lsocket $LIBS"
1.1       paf      17554: 
                   17555: fi
                   17556: 
1.150     moko     17557:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   17558: $as_echo_n "checking for main in -lnsl... " >&6; }
                   17559: if ${ac_cv_lib_nsl_main+:} false; then :
                   17560:   $as_echo_n "(cached) " >&6
1.62      paf      17561: else
1.66      paf      17562:   ac_check_lib_save_LIBS=$LIBS
                   17563: LIBS="-lnsl  $LIBS"
1.150     moko     17564: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17565: /* end confdefs.h.  */
1.66      paf      17566: 
                   17567: 
1.62      paf      17568: int
                   17569: main ()
                   17570: {
1.150     moko     17571: return main ();
1.62      paf      17572:   ;
                   17573:   return 0;
                   17574: }
                   17575: _ACEOF
1.150     moko     17576: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17577:   ac_cv_lib_nsl_main=yes
1.30      paf      17578: else
1.150     moko     17579:   ac_cv_lib_nsl_main=no
1.30      paf      17580: fi
1.150     moko     17581: rm -f core conftest.err conftest.$ac_objext \
                   17582:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17583: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17584: fi
1.150     moko     17585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   17586: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   17587: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      17588:   cat >>confdefs.h <<_ACEOF
                   17589: #define HAVE_LIBNSL 1
                   17590: _ACEOF
1.30      paf      17591: 
1.66      paf      17592:   LIBS="-lnsl $LIBS"
1.30      paf      17593: 
                   17594: fi
                   17595: 
1.66      paf      17596:   ;;
                   17597:   *-nec-sysv4*)
1.150     moko     17598:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   17599: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   17600: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   17601:   $as_echo_n "(cached) " >&6
1.62      paf      17602: else
1.66      paf      17603:   ac_check_lib_save_LIBS=$LIBS
                   17604: LIBS="-lnsl  $LIBS"
1.150     moko     17605: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17606: /* end confdefs.h.  */
1.66      paf      17607: 
1.150     moko     17608: /* Override any GCC internal prototype to avoid an error.
                   17609:    Use char because int might match the return type of a GCC
                   17610:    builtin and then its argument prototype would still apply.  */
1.66      paf      17611: #ifdef __cplusplus
                   17612: extern "C"
                   17613: #endif
                   17614: char gethostbyname ();
1.62      paf      17615: int
                   17616: main ()
                   17617: {
1.150     moko     17618: return gethostbyname ();
1.62      paf      17619:   ;
                   17620:   return 0;
                   17621: }
                   17622: _ACEOF
1.150     moko     17623: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17624:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      17625: else
1.150     moko     17626:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      17627: fi
1.150     moko     17628: rm -f core conftest.err conftest.$ac_objext \
                   17629:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17630: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17631: fi
1.150     moko     17632: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   17633: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   17634: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      17635:   cat >>confdefs.h <<_ACEOF
                   17636: #define HAVE_LIBNSL 1
                   17637: _ACEOF
1.30      paf      17638: 
1.66      paf      17639:   LIBS="-lnsl $LIBS"
1.30      paf      17640: 
                   17641: fi
                   17642: 
1.150     moko     17643:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   17644: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   17645: if ${ac_cv_lib_socket_socket+:} false; then :
                   17646:   $as_echo_n "(cached) " >&6
1.8       paf      17647: else
1.66      paf      17648:   ac_check_lib_save_LIBS=$LIBS
                   17649: LIBS="-lsocket  $LIBS"
1.150     moko     17650: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17651: /* end confdefs.h.  */
                   17652: 
1.150     moko     17653: /* Override any GCC internal prototype to avoid an error.
                   17654:    Use char because int might match the return type of a GCC
                   17655:    builtin and then its argument prototype would still apply.  */
1.66      paf      17656: #ifdef __cplusplus
                   17657: extern "C"
                   17658: #endif
                   17659: char socket ();
1.62      paf      17660: int
                   17661: main ()
                   17662: {
1.150     moko     17663: return socket ();
1.62      paf      17664:   ;
                   17665:   return 0;
                   17666: }
                   17667: _ACEOF
1.150     moko     17668: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17669:   ac_cv_lib_socket_socket=yes
1.8       paf      17670: else
1.150     moko     17671:   ac_cv_lib_socket_socket=no
1.8       paf      17672: fi
1.150     moko     17673: rm -f core conftest.err conftest.$ac_objext \
                   17674:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17675: LIBS=$ac_check_lib_save_LIBS
1.8       paf      17676: fi
1.150     moko     17677: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   17678: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   17679: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      17680:   cat >>confdefs.h <<_ACEOF
1.128     moko     17681: #define HAVE_LIBSOCKET 1
1.66      paf      17682: _ACEOF
                   17683: 
1.128     moko     17684:   LIBS="-lsocket $LIBS"
1.66      paf      17685: 
1.62      paf      17686: fi
                   17687: 
1.66      paf      17688:   ;;
1.128     moko     17689:   *-cygwin*)
                   17690: 
1.150     moko     17691: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     17692: 
1.150     moko     17693:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lwsock32" >&5
                   17694: $as_echo_n "checking for socket in -lwsock32... " >&6; }
                   17695: if ${ac_cv_lib_wsock32_socket+:} false; then :
                   17696:   $as_echo_n "(cached) " >&6
1.66      paf      17697: else
                   17698:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     17699: LIBS="-lwsock32  $LIBS"
1.150     moko     17700: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17701: /* end confdefs.h.  */
1.66      paf      17702: 
1.150     moko     17703: /* Override any GCC internal prototype to avoid an error.
                   17704:    Use char because int might match the return type of a GCC
                   17705:    builtin and then its argument prototype would still apply.  */
1.128     moko     17706: #ifdef __cplusplus
                   17707: extern "C"
                   17708: #endif
                   17709: char socket ();
1.66      paf      17710: int
                   17711: main ()
                   17712: {
1.150     moko     17713: return socket ();
1.66      paf      17714:   ;
                   17715:   return 0;
                   17716: }
1.62      paf      17717: _ACEOF
1.150     moko     17718: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     17719:   ac_cv_lib_wsock32_socket=yes
1.62      paf      17720: else
1.150     moko     17721:   ac_cv_lib_wsock32_socket=no
1.62      paf      17722: fi
1.150     moko     17723: rm -f core conftest.err conftest.$ac_objext \
                   17724:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17725: LIBS=$ac_check_lib_save_LIBS
1.1       paf      17726: fi
1.150     moko     17727: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_socket" >&5
                   17728: $as_echo "$ac_cv_lib_wsock32_socket" >&6; }
                   17729: if test "x$ac_cv_lib_wsock32_socket" = xyes; then :
1.62      paf      17730:   cat >>confdefs.h <<_ACEOF
1.128     moko     17731: #define HAVE_LIBWSOCK32 1
1.62      paf      17732: _ACEOF
                   17733: 
1.128     moko     17734:   LIBS="-lwsock32 $LIBS"
1.66      paf      17735: 
1.1       paf      17736: fi
1.62      paf      17737: 
1.66      paf      17738:   ;;
                   17739: esac
1.1       paf      17740: 
1.150     moko     17741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   17742: $as_echo_n "checking for sin in -lm... " >&6; }
                   17743: if ${ac_cv_lib_m_sin+:} false; then :
                   17744:   $as_echo_n "(cached) " >&6
1.1       paf      17745: else
1.62      paf      17746:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      17747: LIBS="-lm  $LIBS"
1.150     moko     17748: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17749: /* end confdefs.h.  */
                   17750: 
1.150     moko     17751: /* Override any GCC internal prototype to avoid an error.
                   17752:    Use char because int might match the return type of a GCC
                   17753:    builtin and then its argument prototype would still apply.  */
1.66      paf      17754: #ifdef __cplusplus
                   17755: extern "C"
                   17756: #endif
                   17757: char sin ();
1.62      paf      17758: int
                   17759: main ()
                   17760: {
1.150     moko     17761: return sin ();
1.62      paf      17762:   ;
                   17763:   return 0;
                   17764: }
                   17765: _ACEOF
1.150     moko     17766: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17767:   ac_cv_lib_m_sin=yes
1.62      paf      17768: else
1.150     moko     17769:   ac_cv_lib_m_sin=no
1.62      paf      17770: fi
1.150     moko     17771: rm -f core conftest.err conftest.$ac_objext \
                   17772:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      17773: LIBS=$ac_check_lib_save_LIBS
                   17774: fi
1.150     moko     17775: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   17776: $as_echo "$ac_cv_lib_m_sin" >&6; }
                   17777: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      17778:   cat >>confdefs.h <<_ACEOF
1.66      paf      17779: #define HAVE_LIBM 1
1.62      paf      17780: _ACEOF
1.1       paf      17781: 
1.66      paf      17782:   LIBS="-lm $LIBS"
1.1       paf      17783: 
                   17784: fi
                   17785: 
1.150     moko     17786: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   17787: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   17788: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   17789:   $as_echo_n "(cached) " >&6
1.1       paf      17790: else
1.62      paf      17791:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      17792: LIBS="-lcrypt  $LIBS"
1.150     moko     17793: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17794: /* end confdefs.h.  */
                   17795: 
1.150     moko     17796: /* Override any GCC internal prototype to avoid an error.
                   17797:    Use char because int might match the return type of a GCC
                   17798:    builtin and then its argument prototype would still apply.  */
1.66      paf      17799: #ifdef __cplusplus
                   17800: extern "C"
                   17801: #endif
                   17802: char crypt ();
1.62      paf      17803: int
                   17804: main ()
                   17805: {
1.150     moko     17806: return crypt ();
1.62      paf      17807:   ;
                   17808:   return 0;
                   17809: }
                   17810: _ACEOF
1.150     moko     17811: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17812:   ac_cv_lib_crypt_crypt=yes
1.62      paf      17813: else
1.150     moko     17814:   ac_cv_lib_crypt_crypt=no
1.62      paf      17815: fi
1.150     moko     17816: rm -f core conftest.err conftest.$ac_objext \
                   17817:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      17818: LIBS=$ac_check_lib_save_LIBS
                   17819: fi
1.150     moko     17820: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   17821: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   17822: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      17823:   cat >>confdefs.h <<_ACEOF
1.66      paf      17824: #define HAVE_LIBCRYPT 1
1.62      paf      17825: _ACEOF
1.1       paf      17826: 
1.66      paf      17827:   LIBS="-lcrypt $LIBS"
                   17828: 
                   17829: fi
                   17830: 
                   17831: 
                   17832: 
1.67      paf      17833: for ac_func in flock \
1.66      paf      17834: _locking \
                   17835: fcntl \
                   17836: lockf \
                   17837: ftruncate \
1.112     misha    17838: fchmod \
1.66      paf      17839: getrusage \
                   17840: gettimeofday \
                   17841: crypt \
1.80      paf      17842: sigsetjmp \
1.92      misha    17843: siglongjmp \
                   17844: unsetenv
1.66      paf      17845: 
1.150     moko     17846: do :
                   17847:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17848: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17849: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      17850:   cat >>confdefs.h <<_ACEOF
1.150     moko     17851: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      17852: _ACEOF
1.1       paf      17853: 
1.66      paf      17854: fi
                   17855: done
                   17856: 
1.1       paf      17857: 
                   17858: 
1.67      paf      17859: pa_func=sigsetjmp
1.150     moko     17860: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   17861: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
                   17862: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      17863: /* end confdefs.h.  */
                   17864: 
                   17865: #ifdef HAVE_SETJMP_H
                   17866: #      include <setjmp.h>
                   17867: #endif
                   17868: 
                   17869: int
                   17870: main ()
                   17871: {
                   17872: 
                   17873:         $pa_func(0,0);
                   17874: 
                   17875:   ;
                   17876:   return 0;
                   17877: }
                   17878: _ACEOF
1.150     moko     17879: if ac_fn_c_try_compile "$LINENO"; then :
                   17880:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17881: $as_echo "yes" >&6; }
1.67      paf      17882: cat >>confdefs.h <<_ACEOF
1.150     moko     17883: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      17884: _ACEOF
                   17885: 
                   17886: 
                   17887: else
1.150     moko     17888:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17889: $as_echo "no" >&6; }
1.67      paf      17890: 
                   17891: fi
1.150     moko     17892: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      17893: 
                   17894: 
                   17895: 
1.150     moko     17896: ac_ext=cpp
1.67      paf      17897: ac_cpp='$CXXCPP $CPPFLAGS'
                   17898: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   17899: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   17900: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   17901: 
                   17902: 
                   17903: 
                   17904: for pa_func in trunc \
                   17905: round \
                   17906: sign
                   17907: 
                   17908: do
                   17909: 
1.150     moko     17910: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   17911: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
                   17912: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      17913: /* end confdefs.h.  */
                   17914: 
                   17915: #ifdef HAVE_MATH_H
                   17916: #       include <math.h>
                   17917: #endif
                   17918: 
                   17919: int
                   17920: main ()
                   17921: {
                   17922: 
                   17923:         double result=$pa_func(1.6);
                   17924: 
                   17925:   ;
                   17926:   return 0;
                   17927: }
                   17928: _ACEOF
1.150     moko     17929: if ac_fn_cxx_try_compile "$LINENO"; then :
                   17930:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17931: $as_echo "yes" >&6; }
1.67      paf      17932: cat >>confdefs.h <<_ACEOF
1.150     moko     17933: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      17934: _ACEOF
1.66      paf      17935: 
1.62      paf      17936: else
1.150     moko     17937:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17938: $as_echo "no" >&6; }
1.62      paf      17939: 
                   17940: fi
1.150     moko     17941: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17942: 
                   17943: done
                   17944: 
                   17945: ac_ext=c
                   17946: ac_cpp='$CPP $CPPFLAGS'
                   17947: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   17948: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   17949: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   17950: 
                   17951: 
                   17952: 
                   17953: for ac_func in qsort
                   17954: do :
                   17955:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
                   17956: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      17957:   cat >>confdefs.h <<_ACEOF
1.150     moko     17958: #define HAVE_QSORT 1
1.62      paf      17959: _ACEOF
1.1       paf      17960: 
1.66      paf      17961: else
1.150     moko     17962:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      17963: fi
1.66      paf      17964: done
1.1       paf      17965: 
                   17966: 
1.62      paf      17967: 
1.150     moko     17968: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   17969: $as_echo_n "checking for timezone variable... " >&6; }
                   17970: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17971: /* end confdefs.h.  */
1.66      paf      17972: #include <time.h>
1.62      paf      17973: int
                   17974: main ()
                   17975: {
1.66      paf      17976: 
                   17977: time_t test=timezone;
                   17978: 
1.62      paf      17979:   ;
                   17980:   return 0;
                   17981: }
                   17982: _ACEOF
1.150     moko     17983: if ac_fn_c_try_compile "$LINENO"; then :
                   17984:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.66      paf      17985: 
1.150     moko     17986: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17987: $as_echo "yes" >&6; }
1.62      paf      17988: else
1.150     moko     17989:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17990: $as_echo "no" >&6; }
1.62      paf      17991: fi
1.150     moko     17992: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      17993: 
1.150     moko     17994: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
                   17995: $as_echo_n "checking for daylight variable... " >&6; }
                   17996: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17997: /* end confdefs.h.  */
1.66      paf      17998: #include <time.h>
1.62      paf      17999: int
                   18000: main ()
                   18001: {
1.66      paf      18002: 
                   18003: int test=daylight;
                   18004: 
1.62      paf      18005:   ;
                   18006:   return 0;
                   18007: }
                   18008: _ACEOF
1.150     moko     18009: if ac_fn_c_try_compile "$LINENO"; then :
                   18010:   $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
1.66      paf      18011: 
1.150     moko     18012: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18013: $as_echo "yes" >&6; }
1.62      paf      18014: else
1.150     moko     18015:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18016: $as_echo "no" >&6; }
1.62      paf      18017: fi
1.150     moko     18018: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18019: 
1.150     moko     18020: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   18021: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
                   18022: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18023: /* end confdefs.h.  */
1.66      paf      18024: #include <time.h>
1.62      paf      18025: int
                   18026: main ()
                   18027: {
1.66      paf      18028: struct tm tm;
                   18029: tm.tm_gmtoff=0;
                   18030: 
1.62      paf      18031:   ;
                   18032:   return 0;
                   18033: }
                   18034: _ACEOF
1.150     moko     18035: if ac_fn_c_try_compile "$LINENO"; then :
                   18036:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.66      paf      18037: 
1.150     moko     18038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18039: $as_echo "yes" >&6; }
1.62      paf      18040: else
1.150     moko     18041:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18042: $as_echo "no" >&6; }
1.62      paf      18043: fi
1.150     moko     18044: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18045: 
1.150     moko     18046: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   18047: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
                   18048: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18049: /* end confdefs.h.  */
1.66      paf      18050: #include <time.h>
1.62      paf      18051: int
                   18052: main ()
                   18053: {
1.66      paf      18054: struct tm tm;
                   18055: tm.tm_tzadj=0;
                   18056: 
1.62      paf      18057:   ;
                   18058:   return 0;
                   18059: }
                   18060: _ACEOF
1.150     moko     18061: if ac_fn_c_try_compile "$LINENO"; then :
                   18062:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.66      paf      18063: 
1.150     moko     18064: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18065: $as_echo "yes" >&6; }
1.62      paf      18066: else
1.150     moko     18067:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18068: $as_echo "no" >&6; }
1.62      paf      18069: fi
1.150     moko     18070: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      18071: 
1.1       paf      18072: 
                   18073: 
                   18074: 
1.62      paf      18075: 
                   18076: 
                   18077: 
                   18078: 
                   18079: 
                   18080: 
                   18081: 
                   18082: 
                   18083: 
                   18084: 
                   18085: 
                   18086: 
                   18087: 
                   18088: 
                   18089: 
                   18090: 
                   18091: 
                   18092: 
1.150     moko     18093: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      18094: 
                   18095: 
1.150     moko     18096: 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      18097: 
                   18098: cat >confcache <<\_ACEOF
1.1       paf      18099: # This file is a shell script that caches the results of configure
                   18100: # tests run on this system so they can be shared between configure
1.62      paf      18101: # scripts and configure runs, see configure's option --config-cache.
                   18102: # It is not useful on other systems.  If it contains results you don't
                   18103: # want to keep, you may remove or edit it.
1.1       paf      18104: #
1.62      paf      18105: # config.status only pays attention to the cache file if you give it
                   18106: # the --recheck option to rerun configure.
1.1       paf      18107: #
1.62      paf      18108: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   18109: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   18110: # following values.
                   18111: 
                   18112: _ACEOF
                   18113: 
1.1       paf      18114: # The following way of writing the cache mishandles newlines in values,
                   18115: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     18116: # So, we kill variables containing newlines.
1.1       paf      18117: # Ultrix sh set writes to stderr and can't be redirected directly,
                   18118: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     18119: (
                   18120:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   18121:     eval ac_val=\$$ac_var
                   18122:     case $ac_val in #(
                   18123:     *${as_nl}*)
                   18124:       case $ac_var in #(
                   18125:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   18126: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   18127:       esac
                   18128:       case $ac_var in #(
                   18129:       _ | IFS | as_nl) ;; #(
                   18130:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   18131:       *) { eval $ac_var=; unset $ac_var;} ;;
                   18132:       esac ;;
                   18133:     esac
                   18134:   done
                   18135: 
1.62      paf      18136:   (set) 2>&1 |
1.150     moko     18137:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   18138:     *${as_nl}ac_space=\ *)
                   18139:       # `set' does not quote correctly, so add quotes: double-quote
                   18140:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      18141:       sed -n \
1.86      paf      18142:        "s/'/'\\\\''/g;
                   18143:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     18144:       ;; #(
1.62      paf      18145:     *)
                   18146:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     18147:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      18148:       ;;
1.150     moko     18149:     esac |
                   18150:     sort
                   18151: ) |
1.62      paf      18152:   sed '
1.150     moko     18153:      /^ac_cv_env_/b end
1.62      paf      18154:      t clear
1.150     moko     18155:      :clear
1.62      paf      18156:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   18157:      t end
1.150     moko     18158:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   18159:      :end' >>confcache
                   18160: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   18161:   if test -w "$cache_file"; then
                   18162:     if test "x$cache_file" != "x/dev/null"; then
                   18163:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   18164: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   18165:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   18166:        cat confcache >"$cache_file"
                   18167:       else
                   18168:         case $cache_file in #(
                   18169:         */* | ?:*)
                   18170:          mv -f confcache "$cache_file"$$ &&
                   18171:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   18172:         *)
                   18173:          mv -f confcache "$cache_file" ;;
                   18174:        esac
                   18175:       fi
                   18176:     fi
1.1       paf      18177:   else
1.150     moko     18178:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   18179: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      18180:   fi
                   18181: fi
                   18182: rm -f confcache
                   18183: 
                   18184: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   18185: # Let make expand exec_prefix.
                   18186: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   18187: 
1.62      paf      18188: DEFS=-DHAVE_CONFIG_H
                   18189: 
                   18190: ac_libobjs=
                   18191: ac_ltlibobjs=
1.150     moko     18192: U=
1.62      paf      18193: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   18194:   # 1. Remove the extension, and $U if already installed.
1.150     moko     18195:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   18196:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   18197:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   18198:   #    will be set to the directory where LIBOBJS objects are built.
                   18199:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   18200:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      18201: done
                   18202: LIBOBJS=$ac_libobjs
                   18203: 
                   18204: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      18205: 
                   18206: 
1.150     moko     18207:  if test -n "$EXEEXT"; then
                   18208:   am__EXEEXT_TRUE=
                   18209:   am__EXEEXT_FALSE='#'
                   18210: else
                   18211:   am__EXEEXT_TRUE='#'
                   18212:   am__EXEEXT_FALSE=
                   18213: fi
                   18214: 
1.62      paf      18215: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     18216:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   18217: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18218: fi
1.66      paf      18219: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     18220:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   18221: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18222: fi
1.66      paf      18223: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     18224:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   18225: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18226: fi
1.122     moko     18227: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     18228:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   18229: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18230: fi
1.128     moko     18231: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     18232:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   18233: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18234: fi
                   18235: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     18236:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   18237: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18238: fi
1.150     moko     18239: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     18240: 
                   18241:     _ltdl_libobjs=
                   18242:     _ltdl_ltlibobjs=
                   18243:     if test -n "$_LT_LIBOBJS"; then
                   18244:       # Remove the extension.
                   18245:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   18246:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   18247:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   18248:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   18249:       done
                   18250:     fi
                   18251:     ltdl_LIBOBJS=$_ltdl_libobjs
                   18252: 
                   18253:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   18254: 
                   18255: 
1.62      paf      18256: 
1.150     moko     18257: 
                   18258: : "${CONFIG_STATUS=./config.status}"
                   18259: ac_write_fail=0
1.62      paf      18260: ac_clean_files_save=$ac_clean_files
                   18261: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150     moko     18262: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   18263: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   18264: as_write_fail=0
                   18265: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      18266: #! $SHELL
                   18267: # Generated by $as_me.
                   18268: # Run this file to recreate the current configuration.
                   18269: # Compiler output produced by configure, useful for debugging
                   18270: # configure, is in config.log if it exists.
                   18271: 
                   18272: debug=false
                   18273: ac_cs_recheck=false
                   18274: ac_cs_silent=false
1.150     moko     18275: 
1.62      paf      18276: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     18277: export SHELL
                   18278: _ASEOF
                   18279: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   18280: ## -------------------- ##
                   18281: ## M4sh Initialization. ##
                   18282: ## -------------------- ##
1.62      paf      18283: 
1.150     moko     18284: # Be more Bourne compatible
                   18285: DUALCASE=1; export DUALCASE # for MKS sh
                   18286: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      18287:   emulate sh
                   18288:   NULLCMD=:
1.150     moko     18289:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      18290:   # is contrary to our usage.  Disable this feature.
                   18291:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     18292:   setopt NO_GLOB_SUBST
                   18293: else
                   18294:   case `(set -o) 2>/dev/null` in #(
                   18295:   *posix*) :
                   18296:     set -o posix ;; #(
                   18297:   *) :
                   18298:      ;;
                   18299: esac
                   18300: fi
                   18301: 
                   18302: 
                   18303: as_nl='
                   18304: '
                   18305: export as_nl
                   18306: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   18307: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   18308: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   18309: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   18310: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   18311: # but without wasting forks for bash or zsh.
                   18312: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   18313:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18314:   as_echo='print -r --'
                   18315:   as_echo_n='print -rn --'
                   18316: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18317:   as_echo='printf %s\n'
                   18318:   as_echo_n='printf %s'
                   18319: else
                   18320:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   18321:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   18322:     as_echo_n='/usr/ucb/echo -n'
                   18323:   else
                   18324:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   18325:     as_echo_n_body='eval
                   18326:       arg=$1;
                   18327:       case $arg in #(
                   18328:       *"$as_nl"*)
                   18329:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   18330:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   18331:       esac;
                   18332:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   18333:     '
                   18334:     export as_echo_n_body
                   18335:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   18336:   fi
                   18337:   export as_echo_body
                   18338:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      18339: fi
                   18340: 
1.150     moko     18341: # The user is always right.
                   18342: if test "${PATH_SEPARATOR+set}" != set; then
                   18343:   PATH_SEPARATOR=:
                   18344:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   18345:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   18346:       PATH_SEPARATOR=';'
                   18347:   }
1.62      paf      18348: fi
                   18349: 
                   18350: 
1.150     moko     18351: # IFS
                   18352: # We need space, tab and new line, in precisely that order.  Quoting is
                   18353: # there to prevent editors from complaining about space-tab.
                   18354: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   18355: # splitting by setting IFS to empty value.)
                   18356: IFS=" ""       $as_nl"
                   18357: 
                   18358: # Find who we are.  Look in the path if we contain no directory separator.
                   18359: as_myself=
                   18360: case $0 in #((
                   18361:   *[\\/]* ) as_myself=$0 ;;
                   18362:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   18363: for as_dir in $PATH
                   18364: do
                   18365:   IFS=$as_save_IFS
                   18366:   test -z "$as_dir" && as_dir=.
                   18367:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   18368:   done
                   18369: IFS=$as_save_IFS
                   18370: 
                   18371:      ;;
                   18372: esac
                   18373: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   18374: # in which case we are not to be found in the path.
                   18375: if test "x$as_myself" = x; then
                   18376:   as_myself=$0
                   18377: fi
                   18378: if test ! -f "$as_myself"; then
                   18379:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   18380:   exit 1
                   18381: fi
                   18382: 
                   18383: # Unset variables that we do not need and which cause bugs (e.g. in
                   18384: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   18385: # suppresses any "Segmentation fault" message there.  '((' could
                   18386: # trigger a bug in pdksh 5.2.14.
                   18387: for as_var in BASH_ENV ENV MAIL MAILPATH
                   18388: do eval test x\${$as_var+set} = xset \
                   18389:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   18390: done
1.62      paf      18391: PS1='$ '
                   18392: PS2='> '
                   18393: PS4='+ '
                   18394: 
                   18395: # NLS nuisances.
1.150     moko     18396: LC_ALL=C
                   18397: export LC_ALL
                   18398: LANGUAGE=C
                   18399: export LANGUAGE
                   18400: 
                   18401: # CDPATH.
                   18402: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18403: 
                   18404: 
                   18405: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   18406: # ----------------------------------------
                   18407: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   18408: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   18409: # script with STATUS, using 1 if that was 0.
                   18410: as_fn_error ()
                   18411: {
                   18412:   as_status=$1; test $as_status -eq 0 && as_status=1
                   18413:   if test "$4"; then
                   18414:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   18415:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   18416:   fi
                   18417:   $as_echo "$as_me: error: $2" >&2
                   18418:   as_fn_exit $as_status
                   18419: } # as_fn_error
                   18420: 
                   18421: 
                   18422: # as_fn_set_status STATUS
                   18423: # -----------------------
                   18424: # Set $? to STATUS, without forking.
                   18425: as_fn_set_status ()
                   18426: {
                   18427:   return $1
                   18428: } # as_fn_set_status
                   18429: 
                   18430: # as_fn_exit STATUS
                   18431: # -----------------
                   18432: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   18433: as_fn_exit ()
                   18434: {
                   18435:   set +e
                   18436:   as_fn_set_status $1
                   18437:   exit $1
                   18438: } # as_fn_exit
                   18439: 
                   18440: # as_fn_unset VAR
                   18441: # ---------------
                   18442: # Portably unset VAR.
                   18443: as_fn_unset ()
                   18444: {
                   18445:   { eval $1=; unset $1;}
                   18446: }
                   18447: as_unset=as_fn_unset
                   18448: # as_fn_append VAR VALUE
                   18449: # ----------------------
                   18450: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   18451: # advantage of any shell optimizations that allow amortized linear growth over
                   18452: # repeated appends, instead of the typical quadratic growth present in naive
                   18453: # implementations.
                   18454: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   18455:   eval 'as_fn_append ()
                   18456:   {
                   18457:     eval $1+=\$2
                   18458:   }'
                   18459: else
                   18460:   as_fn_append ()
                   18461:   {
                   18462:     eval $1=\$$1\$2
                   18463:   }
                   18464: fi # as_fn_append
                   18465: 
                   18466: # as_fn_arith ARG...
                   18467: # ------------------
                   18468: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   18469: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   18470: # must be portable across $(()) and expr.
                   18471: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   18472:   eval 'as_fn_arith ()
                   18473:   {
                   18474:     as_val=$(( $* ))
                   18475:   }'
                   18476: else
                   18477:   as_fn_arith ()
                   18478:   {
                   18479:     as_val=`expr "$@" || test $? -eq 1`
                   18480:   }
                   18481: fi # as_fn_arith
                   18482: 
1.1       paf      18483: 
1.150     moko     18484: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   18485:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      18486:   as_expr=expr
                   18487: else
                   18488:   as_expr=false
                   18489: fi
                   18490: 
1.150     moko     18491: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      18492:   as_basename=basename
                   18493: else
                   18494:   as_basename=false
                   18495: fi
                   18496: 
1.150     moko     18497: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   18498:   as_dirname=dirname
                   18499: else
                   18500:   as_dirname=false
                   18501: fi
1.62      paf      18502: 
1.150     moko     18503: as_me=`$as_basename -- "$0" ||
1.62      paf      18504: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   18505:         X"$0" : 'X\(//\)$' \| \
1.150     moko     18506:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   18507: $as_echo X/"$0" |
                   18508:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   18509:            s//\1/
                   18510:            q
                   18511:          }
                   18512:          /^X\/\(\/\/\)$/{
                   18513:            s//\1/
                   18514:            q
                   18515:          }
                   18516:          /^X\/\(\/\).*/{
                   18517:            s//\1/
                   18518:            q
                   18519:          }
                   18520:          s/.*/./; q'`
1.62      paf      18521: 
                   18522: # Avoid depending upon Character Ranges.
                   18523: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   18524: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   18525: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   18526: as_cr_digits='0123456789'
                   18527: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   18528: 
1.150     moko     18529: ECHO_C= ECHO_N= ECHO_T=
                   18530: case `echo -n x` in #(((((
                   18531: -n*)
                   18532:   case `echo 'xy\c'` in
                   18533:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   18534:   xy)  ECHO_C='\c';;
                   18535:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   18536:        ECHO_T='        ';;
                   18537:   esac;;
                   18538: *)
                   18539:   ECHO_N='-n';;
1.62      paf      18540: esac
                   18541: 
1.150     moko     18542: rm -f conf$$ conf$$.exe conf$$.file
                   18543: if test -d conf$$.dir; then
                   18544:   rm -f conf$$.dir/conf$$.file
1.62      paf      18545: else
1.150     moko     18546:   rm -f conf$$.dir
                   18547:   mkdir conf$$.dir 2>/dev/null
1.62      paf      18548: fi
1.150     moko     18549: if (echo >conf$$.file) 2>/dev/null; then
                   18550:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   18551:     as_ln_s='ln -s'
                   18552:     # ... but there are two gotchas:
                   18553:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   18554:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   18555:     # In both cases, we have to default to `cp -p'.
                   18556:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   18557:       as_ln_s='cp -p'
                   18558:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   18559:     as_ln_s=ln
                   18560:   else
1.62      paf      18561:     as_ln_s='cp -p'
                   18562:   fi
                   18563: else
                   18564:   as_ln_s='cp -p'
                   18565: fi
1.150     moko     18566: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   18567: rmdir conf$$.dir 2>/dev/null
                   18568: 
                   18569: 
                   18570: # as_fn_mkdir_p
                   18571: # -------------
                   18572: # Create "$as_dir" as a directory, including parents if necessary.
                   18573: as_fn_mkdir_p ()
                   18574: {
                   18575: 
                   18576:   case $as_dir in #(
                   18577:   -*) as_dir=./$as_dir;;
                   18578:   esac
                   18579:   test -d "$as_dir" || eval $as_mkdir_p || {
                   18580:     as_dirs=
                   18581:     while :; do
                   18582:       case $as_dir in #(
                   18583:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   18584:       *) as_qdir=$as_dir;;
                   18585:       esac
                   18586:       as_dirs="'$as_qdir' $as_dirs"
                   18587:       as_dir=`$as_dirname -- "$as_dir" ||
                   18588: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18589:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   18590:         X"$as_dir" : 'X\(//\)$' \| \
                   18591:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   18592: $as_echo X"$as_dir" |
                   18593:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18594:            s//\1/
                   18595:            q
                   18596:          }
                   18597:          /^X\(\/\/\)[^/].*/{
                   18598:            s//\1/
                   18599:            q
                   18600:          }
                   18601:          /^X\(\/\/\)$/{
                   18602:            s//\1/
                   18603:            q
                   18604:          }
                   18605:          /^X\(\/\).*/{
                   18606:            s//\1/
                   18607:            q
                   18608:          }
                   18609:          s/.*/./; q'`
                   18610:       test -d "$as_dir" && break
                   18611:     done
                   18612:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   18613:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   18614: 
1.62      paf      18615: 
1.150     moko     18616: } # as_fn_mkdir_p
1.62      paf      18617: if mkdir -p . 2>/dev/null; then
1.150     moko     18618:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      18619: else
1.86      paf      18620:   test -d ./-p && rmdir ./-p
1.62      paf      18621:   as_mkdir_p=false
                   18622: fi
                   18623: 
1.150     moko     18624: if test -x / >/dev/null 2>&1; then
                   18625:   as_test_x='test -x'
                   18626: else
                   18627:   if ls -dL / >/dev/null 2>&1; then
                   18628:     as_ls_L_option=L
                   18629:   else
                   18630:     as_ls_L_option=
                   18631:   fi
                   18632:   as_test_x='
                   18633:     eval sh -c '\''
                   18634:       if test -d "$1"; then
                   18635:        test -d "$1/.";
                   18636:       else
                   18637:        case $1 in #(
                   18638:        -*)set "./$1";;
                   18639:        esac;
                   18640:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                   18641:        ???[sx]*):;;*)false;;esac;fi
                   18642:     '\'' sh
                   18643:   '
                   18644: fi
                   18645: as_executable_p=$as_test_x
1.62      paf      18646: 
                   18647: # Sed expression to map a string onto a valid CPP name.
1.86      paf      18648: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      18649: 
                   18650: # Sed expression to map a string onto a valid variable name.
1.86      paf      18651: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      18652: 
                   18653: 
                   18654: exec 6>&1
1.150     moko     18655: ## ----------------------------------- ##
                   18656: ## Main body of $CONFIG_STATUS script. ##
                   18657: ## ----------------------------------- ##
                   18658: _ASEOF
                   18659: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      18660: 
1.150     moko     18661: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18662: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      18663: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     18664: # values after options handling.
                   18665: ac_log="
1.152   ! moko     18666: This file was extended by parser $as_me 3.4.2 RC, which was
1.150     moko     18667: generated by GNU Autoconf 2.68.  Invocation command line was
1.62      paf      18668: 
                   18669:   CONFIG_FILES    = $CONFIG_FILES
                   18670:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   18671:   CONFIG_LINKS    = $CONFIG_LINKS
                   18672:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   18673:   $ $0 $@
                   18674: 
1.150     moko     18675: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   18676: "
                   18677: 
1.62      paf      18678: _ACEOF
                   18679: 
1.150     moko     18680: case $ac_config_files in *"
                   18681: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   18682: esac
1.62      paf      18683: 
1.150     moko     18684: case $ac_config_headers in *"
                   18685: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   18686: esac
1.62      paf      18687: 
                   18688: 
1.150     moko     18689: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18690: # Files that config.status was made for.
                   18691: config_files="$ac_config_files"
                   18692: config_headers="$ac_config_headers"
                   18693: config_commands="$ac_config_commands"
1.62      paf      18694: 
1.150     moko     18695: _ACEOF
1.62      paf      18696: 
1.150     moko     18697: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      18698: ac_cs_usage="\
1.150     moko     18699: \`$as_me' instantiates files and other configuration actions
                   18700: from templates according to the current configuration.  Unless the files
                   18701: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      18702: 
1.150     moko     18703: Usage: $0 [OPTION]... [TAG]...
1.62      paf      18704: 
                   18705:   -h, --help       print this help, then exit
1.150     moko     18706:   -V, --version    print version number and configuration settings, then exit
                   18707:       --config     print configuration, then exit
                   18708:   -q, --quiet, --silent
                   18709:                    do not print progress messages
1.62      paf      18710:   -d, --debug      don't remove temporary files
                   18711:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     18712:       --file=FILE[:TEMPLATE]
                   18713:                    instantiate the configuration file FILE
                   18714:       --header=FILE[:TEMPLATE]
                   18715:                    instantiate the configuration header FILE
1.62      paf      18716: 
                   18717: Configuration files:
                   18718: $config_files
                   18719: 
                   18720: Configuration headers:
                   18721: $config_headers
                   18722: 
                   18723: Configuration commands:
                   18724: $config_commands
                   18725: 
1.150     moko     18726: Report bugs to the package provider."
                   18727: 
1.62      paf      18728: _ACEOF
1.150     moko     18729: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18730: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      18731: ac_cs_version="\\
1.152   ! moko     18732: parser config.status 3.4.2 RC
1.150     moko     18733: configured by $0, generated by GNU Autoconf 2.68,
                   18734:   with options \\"\$ac_cs_config\\"
1.62      paf      18735: 
1.150     moko     18736: Copyright (C) 2010 Free Software Foundation, Inc.
1.62      paf      18737: This config.status script is free software; the Free Software Foundation
                   18738: gives unlimited permission to copy, distribute and modify it."
1.150     moko     18739: 
                   18740: ac_pwd='$ac_pwd'
                   18741: srcdir='$srcdir'
                   18742: INSTALL='$INSTALL'
                   18743: MKDIR_P='$MKDIR_P'
                   18744: AWK='$AWK'
                   18745: test -n "\$AWK" || AWK=awk
1.62      paf      18746: _ACEOF
                   18747: 
1.150     moko     18748: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18749: # The default lists apply if the user does not specify any file.
1.62      paf      18750: ac_need_defaults=:
                   18751: while test $# != 0
                   18752: do
                   18753:   case $1 in
1.150     moko     18754:   --*=?*)
                   18755:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   18756:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      18757:     ac_shift=:
                   18758:     ;;
1.150     moko     18759:   --*=)
                   18760:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   18761:     ac_optarg=
                   18762:     ac_shift=:
                   18763:     ;;
                   18764:   *)
1.62      paf      18765:     ac_option=$1
                   18766:     ac_optarg=$2
                   18767:     ac_shift=shift
                   18768:     ;;
                   18769:   esac
                   18770: 
                   18771:   case $ac_option in
                   18772:   # Handling of the options.
                   18773:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   18774:     ac_cs_recheck=: ;;
1.150     moko     18775:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   18776:     $as_echo "$ac_cs_version"; exit ;;
                   18777:   --config | --confi | --conf | --con | --co | --c )
                   18778:     $as_echo "$ac_cs_config"; exit ;;
                   18779:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      18780:     debug=: ;;
                   18781:   --file | --fil | --fi | --f )
                   18782:     $ac_shift
1.150     moko     18783:     case $ac_optarg in
                   18784:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   18785:     '') as_fn_error $? "missing file argument" ;;
                   18786:     esac
                   18787:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      18788:     ac_need_defaults=false;;
                   18789:   --header | --heade | --head | --hea )
                   18790:     $ac_shift
1.150     moko     18791:     case $ac_optarg in
                   18792:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   18793:     esac
                   18794:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      18795:     ac_need_defaults=false;;
1.150     moko     18796:   --he | --h)
                   18797:     # Conflict between --help and --header
                   18798:     as_fn_error $? "ambiguous option: \`$1'
                   18799: Try \`$0 --help' for more information.";;
                   18800:   --help | --hel | -h )
                   18801:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      18802:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   18803:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   18804:     ac_cs_silent=: ;;
                   18805: 
                   18806:   # This is an error.
1.150     moko     18807:   -*) as_fn_error $? "unrecognized option: \`$1'
                   18808: Try \`$0 --help' for more information." ;;
1.62      paf      18809: 
1.150     moko     18810:   *) as_fn_append ac_config_targets " $1"
                   18811:      ac_need_defaults=false ;;
1.62      paf      18812: 
                   18813:   esac
                   18814:   shift
                   18815: done
                   18816: 
                   18817: ac_configure_extra_args=
                   18818: 
                   18819: if $ac_cs_silent; then
                   18820:   exec 6>/dev/null
1.150     moko     18821:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   18822: fi
                   18823: 
                   18824: _ACEOF
                   18825: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18826: if \$ac_cs_recheck; then
                   18827:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   18828:   shift
                   18829:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   18830:   CONFIG_SHELL='$SHELL'
                   18831:   export CONFIG_SHELL
                   18832:   exec "\$@"
                   18833: fi
                   18834: 
                   18835: _ACEOF
                   18836: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18837: exec 5>>config.log
                   18838: {
                   18839:   echo
                   18840:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   18841: ## Running $as_me. ##
                   18842: _ASBOX
                   18843:   $as_echo "$ac_log"
                   18844: } >&5
1.62      paf      18845: 
                   18846: _ACEOF
1.150     moko     18847: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      18848: #
1.150     moko     18849: # INIT-COMMANDS
1.1       paf      18850: #
1.62      paf      18851: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   18852: 
1.128     moko     18853: 
                   18854: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   18855: # if CDPATH is set.
                   18856: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18857: 
                   18858: sed_quote_subst='$sed_quote_subst'
                   18859: double_quote_subst='$double_quote_subst'
                   18860: delay_variable_subst='$delay_variable_subst'
                   18861: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   18862: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   18863: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   18864: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   18865: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     18866: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     18867: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     18868: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     18869: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   18870: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   18871: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   18872: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   18873: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   18874: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   18875: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   18876: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   18877: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   18878: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   18879: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   18880: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   18881: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   18882: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   18883: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   18884: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   18885: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   18886: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   18887: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   18888: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   18889: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   18890: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   18891: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   18892: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   18893: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18894: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18895: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   18896: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   18897: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   18898: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   18899: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   18900: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   18901: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   18902: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   18903: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   18904: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   18905: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   18906: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   18907: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18908: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18909: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18910: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   18911: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   18912: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   18913: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   18914: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   18915: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   18916: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   18917: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   18918: 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"`'
                   18919: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18920: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   18921: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   18922: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   18923: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   18924: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   18925: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   18926: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   18927: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   18928: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   18929: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   18930: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   18931: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   18932: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   18933: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   18934: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   18935: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   18936: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   18937: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18938: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   18939: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   18940: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18941: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18942: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   18943: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   18944: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18945: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18946: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18947: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   18948: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18949: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   18950: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18951: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18952: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18953: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   18954: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   18955: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   18956: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   18957: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18958: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   18959: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   18960: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   18961: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   18962: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   18963: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   18964: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   18965: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   18966: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   18967: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18968: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   18969: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   18970: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   18971: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   18972: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   18973: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18974: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   18975: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   18976: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   18977: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   18978: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   18979: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18980: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18981: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   18982: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   18983: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   18984: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   18985: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   18986: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   18987: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   18988: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   18989: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   18990: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   18991: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   18992: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   18993: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   18994: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   18995: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   18996: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   18997: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   18998: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   18999: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19000: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19001: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19002: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   19003: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   19004: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19005: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   19006: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   19007: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   19008: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   19009: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   19010: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   19011: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19012: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19013: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   19014: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19015: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19016: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19017: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19018: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19019: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19020: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   19021: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19022: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19023: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19024: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   19025: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   19026: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   19027: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   19028: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   19029: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   19030: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   19031: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   19032: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   19033: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19034: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19035: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19036: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19037: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19038: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19039: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   19040: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   19041: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19042: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19043: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19044: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19045: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   19046: 
                   19047: LTCC='$LTCC'
                   19048: LTCFLAGS='$LTCFLAGS'
                   19049: compiler='$compiler_DEFAULT'
                   19050: 
                   19051: # A function that is used when there is no print builtin or printf.
                   19052: func_fallback_echo ()
                   19053: {
                   19054:   eval 'cat <<_LTECHO_EOF
                   19055: \$1
                   19056: _LTECHO_EOF'
                   19057: }
                   19058: 
                   19059: # Quote evaled strings.
                   19060: for var in AS \
                   19061: DLLTOOL \
                   19062: OBJDUMP \
                   19063: SHELL \
                   19064: ECHO \
                   19065: PATH_SEPARATOR \
                   19066: SED \
                   19067: GREP \
                   19068: EGREP \
                   19069: FGREP \
                   19070: LD \
                   19071: NM \
                   19072: LN_S \
                   19073: lt_SP2NL \
                   19074: lt_NL2SP \
                   19075: reload_flag \
                   19076: deplibs_check_method \
                   19077: file_magic_cmd \
                   19078: file_magic_glob \
                   19079: want_nocaseglob \
                   19080: sharedlib_from_linklib_cmd \
                   19081: AR \
                   19082: AR_FLAGS \
                   19083: archiver_list_spec \
                   19084: STRIP \
                   19085: RANLIB \
                   19086: CC \
                   19087: CFLAGS \
                   19088: compiler \
                   19089: lt_cv_sys_global_symbol_pipe \
                   19090: lt_cv_sys_global_symbol_to_cdecl \
                   19091: lt_cv_sys_global_symbol_to_c_name_address \
                   19092: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   19093: nm_file_list_spec \
                   19094: lt_prog_compiler_no_builtin_flag \
                   19095: lt_prog_compiler_pic \
                   19096: lt_prog_compiler_wl \
                   19097: lt_prog_compiler_static \
                   19098: lt_cv_prog_compiler_c_o \
                   19099: need_locks \
                   19100: MANIFEST_TOOL \
                   19101: DSYMUTIL \
                   19102: NMEDIT \
                   19103: LIPO \
                   19104: OTOOL \
                   19105: OTOOL64 \
                   19106: shrext_cmds \
                   19107: export_dynamic_flag_spec \
                   19108: whole_archive_flag_spec \
                   19109: compiler_needs_object \
                   19110: with_gnu_ld \
                   19111: allow_undefined_flag \
                   19112: no_undefined_flag \
                   19113: hardcode_libdir_flag_spec \
                   19114: hardcode_libdir_separator \
                   19115: exclude_expsyms \
                   19116: include_expsyms \
                   19117: file_list_spec \
                   19118: variables_saved_for_relink \
                   19119: libname_spec \
                   19120: library_names_spec \
                   19121: soname_spec \
                   19122: install_override_mode \
                   19123: finish_eval \
                   19124: old_striplib \
                   19125: striplib \
                   19126: compiler_lib_search_dirs \
                   19127: predep_objects \
                   19128: postdep_objects \
                   19129: predeps \
                   19130: postdeps \
                   19131: compiler_lib_search_path \
                   19132: LD_CXX \
                   19133: reload_flag_CXX \
                   19134: compiler_CXX \
                   19135: lt_prog_compiler_no_builtin_flag_CXX \
                   19136: lt_prog_compiler_pic_CXX \
                   19137: lt_prog_compiler_wl_CXX \
                   19138: lt_prog_compiler_static_CXX \
                   19139: lt_cv_prog_compiler_c_o_CXX \
                   19140: export_dynamic_flag_spec_CXX \
                   19141: whole_archive_flag_spec_CXX \
                   19142: compiler_needs_object_CXX \
                   19143: with_gnu_ld_CXX \
                   19144: allow_undefined_flag_CXX \
                   19145: no_undefined_flag_CXX \
                   19146: hardcode_libdir_flag_spec_CXX \
                   19147: hardcode_libdir_separator_CXX \
                   19148: exclude_expsyms_CXX \
                   19149: include_expsyms_CXX \
                   19150: file_list_spec_CXX \
                   19151: compiler_lib_search_dirs_CXX \
                   19152: predep_objects_CXX \
                   19153: postdep_objects_CXX \
                   19154: predeps_CXX \
                   19155: postdeps_CXX \
                   19156: compiler_lib_search_path_CXX; do
                   19157:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19158:     *[\\\\\\\`\\"\\\$]*)
                   19159:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   19160:       ;;
                   19161:     *)
                   19162:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19163:       ;;
                   19164:     esac
                   19165: done
                   19166: 
                   19167: # Double-quote double-evaled strings.
                   19168: for var in reload_cmds \
                   19169: old_postinstall_cmds \
                   19170: old_postuninstall_cmds \
                   19171: old_archive_cmds \
                   19172: extract_expsyms_cmds \
                   19173: old_archive_from_new_cmds \
                   19174: old_archive_from_expsyms_cmds \
                   19175: archive_cmds \
                   19176: archive_expsym_cmds \
                   19177: module_cmds \
                   19178: module_expsym_cmds \
                   19179: export_symbols_cmds \
                   19180: prelink_cmds \
                   19181: postlink_cmds \
                   19182: postinstall_cmds \
                   19183: postuninstall_cmds \
                   19184: finish_cmds \
                   19185: sys_lib_search_path_spec \
                   19186: sys_lib_dlsearch_path_spec \
                   19187: reload_cmds_CXX \
                   19188: old_archive_cmds_CXX \
                   19189: old_archive_from_new_cmds_CXX \
                   19190: old_archive_from_expsyms_cmds_CXX \
                   19191: archive_cmds_CXX \
                   19192: archive_expsym_cmds_CXX \
                   19193: module_cmds_CXX \
                   19194: module_expsym_cmds_CXX \
                   19195: export_symbols_cmds_CXX \
                   19196: prelink_cmds_CXX \
                   19197: postlink_cmds_CXX; do
                   19198:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19199:     *[\\\\\\\`\\"\\\$]*)
                   19200:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   19201:       ;;
                   19202:     *)
                   19203:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19204:       ;;
                   19205:     esac
                   19206: done
                   19207: 
                   19208: ac_aux_dir='$ac_aux_dir'
                   19209: xsi_shell='$xsi_shell'
                   19210: lt_shell_append='$lt_shell_append'
                   19211: 
                   19212: # See if we are running on zsh, and set the options which allow our
                   19213: # commands through without removal of \ escapes INIT.
                   19214: if test -n "\${ZSH_VERSION+set}" ; then
                   19215:    setopt NO_GLOB_SUBST
                   19216: fi
                   19217: 
                   19218: 
                   19219:     PACKAGE='$PACKAGE'
                   19220:     VERSION='$VERSION'
                   19221:     TIMESTAMP='$TIMESTAMP'
                   19222:     RM='$RM'
                   19223:     ofile='$ofile'
                   19224: 
                   19225: 
                   19226: 
                   19227: 
                   19228: 
                   19229: 
1.62      paf      19230: _ACEOF
                   19231: 
1.150     moko     19232: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19233: 
1.150     moko     19234: # Handling of arguments.
1.62      paf      19235: for ac_config_target in $ac_config_targets
1.1       paf      19236: do
1.150     moko     19237:   case $ac_config_target in
                   19238:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   19239:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   19240:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   19241:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   19242:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   19243:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   19244:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   19245:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   19246:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   19247:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   19248:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   19249:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   19250:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   19251:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   19252:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   19253:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   19254:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   19255:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   19256:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   19257:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   19258:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   19259:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   19260:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
                   19261:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   19262:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   19263:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   19264:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   19265:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   19266:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   19267:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   19268:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   19269:     "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   19270:     "bin/auto.p.dist") CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   19271: 
                   19272:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      19273:   esac
                   19274: done
                   19275: 
1.150     moko     19276: 
1.62      paf      19277: # If the user did not use the arguments to specify the items to instantiate,
                   19278: # then the envvar interface is used.  Set only those that are not.
                   19279: # We use the long form for the default assignment because of an extremely
                   19280: # bizarre bug on SunOS 4.1.3.
                   19281: if $ac_need_defaults; then
                   19282:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   19283:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   19284:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   19285: fi
                   19286: 
                   19287: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     19288: # simply because there is no reason against having it here, and in addition,
1.62      paf      19289: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     19290: # Hook for its removal unless debugging.
                   19291: # Note that there is a small window in which the directory will not be cleaned:
                   19292: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      19293: $debug ||
                   19294: {
1.150     moko     19295:   tmp= ac_tmp=
                   19296:   trap 'exit_status=$?
                   19297:   : "${ac_tmp:=$tmp}"
                   19298:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   19299: ' 0
                   19300:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      19301: }
                   19302: # Create a (secure) tmp directory for tmp files.
                   19303: 
                   19304: {
1.150     moko     19305:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   19306:   test -d "$tmp"
1.62      paf      19307: }  ||
                   19308: {
1.150     moko     19309:   tmp=./conf$$-$RANDOM
                   19310:   (umask 077 && mkdir "$tmp")
                   19311: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   19312: ac_tmp=$tmp
                   19313: 
                   19314: # Set up the scripts for CONFIG_FILES section.
                   19315: # No need to generate them if there are no CONFIG_FILES.
                   19316: # This happens for instance with `./config.status config.h'.
                   19317: if test -n "$CONFIG_FILES"; then
                   19318: 
                   19319: 
                   19320: ac_cr=`echo X | tr X '\015'`
                   19321: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   19322: # But we know of no other shell where ac_cr would be empty at this
                   19323: # point, so we can use a bashism as a fallback.
                   19324: if test "x$ac_cr" = x; then
                   19325:   eval ac_cr=\$\'\\r\'
                   19326: fi
                   19327: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   19328: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   19329:   ac_cs_awk_cr='\\r'
                   19330: else
                   19331:   ac_cs_awk_cr=$ac_cr
                   19332: fi
                   19333: 
                   19334: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   19335: _ACEOF
                   19336: 
                   19337: 
1.62      paf      19338: {
1.150     moko     19339:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   19340:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   19341:   echo "_ACEOF"
                   19342: } >conf$$subs.sh ||
                   19343:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19344: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   19345: ac_delim='%!_!# '
                   19346: for ac_last_try in false false false false false :; do
                   19347:   . ./conf$$subs.sh ||
                   19348:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19349: 
                   19350:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   19351:   if test $ac_delim_n = $ac_delim_num; then
                   19352:     break
                   19353:   elif $ac_last_try; then
                   19354:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19355:   else
                   19356:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   19357:   fi
                   19358: done
                   19359: rm -f conf$$subs.sh
                   19360: 
                   19361: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19362: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   19363: _ACEOF
                   19364: sed -n '
                   19365: h
                   19366: s/^/S["/; s/!.*/"]=/
                   19367: p
                   19368: g
                   19369: s/^[^!]*!//
                   19370: :repl
                   19371: t repl
                   19372: s/'"$ac_delim"'$//
                   19373: t delim
                   19374: :nl
                   19375: h
                   19376: s/\(.\{148\}\)..*/\1/
                   19377: t more1
                   19378: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   19379: p
                   19380: n
                   19381: b repl
                   19382: :more1
                   19383: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   19384: p
                   19385: g
                   19386: s/.\{148\}//
                   19387: t nl
                   19388: :delim
                   19389: h
                   19390: s/\(.\{148\}\)..*/\1/
                   19391: t more2
                   19392: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   19393: p
                   19394: b
                   19395: :more2
                   19396: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   19397: p
                   19398: g
                   19399: s/.\{148\}//
                   19400: t delim
                   19401: ' <conf$$subs.awk | sed '
                   19402: /^[^""]/{
                   19403:   N
                   19404:   s/\n//
                   19405: }
                   19406: ' >>$CONFIG_STATUS || ac_write_fail=1
                   19407: rm -f conf$$subs.awk
                   19408: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19409: _ACAWK
                   19410: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   19411:   for (key in S) S_is_set[key] = 1
                   19412:   FS = ""
                   19413: 
                   19414: }
                   19415: {
                   19416:   line = $ 0
                   19417:   nfields = split(line, field, "@")
                   19418:   substed = 0
                   19419:   len = length(field[1])
                   19420:   for (i = 2; i < nfields; i++) {
                   19421:     key = field[i]
                   19422:     keylen = length(key)
                   19423:     if (S_is_set[key]) {
                   19424:       value = S[key]
                   19425:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   19426:       len += length(value) + length(field[++i])
                   19427:       substed = 1
                   19428:     } else
                   19429:       len += 1 + keylen
                   19430:   }
                   19431: 
                   19432:   print line
1.62      paf      19433: }
                   19434: 
1.150     moko     19435: _ACAWK
                   19436: _ACEOF
                   19437: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19438: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   19439:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   19440: else
                   19441:   cat
                   19442: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   19443:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      19444: _ACEOF
1.1       paf      19445: 
1.150     moko     19446: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   19447: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   19448: # trailing colons and then remove the whole line if VPATH becomes empty
                   19449: # (actually we leave an empty line to preserve line numbers).
                   19450: if test "x$srcdir" = x.; then
                   19451:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   19452: h
                   19453: s///
                   19454: s/^/:/
                   19455: s/[     ]*$/:/
                   19456: s/:\$(srcdir):/:/g
                   19457: s/:\${srcdir}:/:/g
                   19458: s/:@srcdir@:/:/g
                   19459: s/^:*//
                   19460: s/:*$//
                   19461: x
                   19462: s/\(=[  ]*\).*/\1/
                   19463: G
                   19464: s/\n//
                   19465: s/^[^=]*=[      ]*$//
                   19466: }'
                   19467: fi
1.62      paf      19468: 
1.150     moko     19469: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19470: fi # test -n "$CONFIG_FILES"
1.1       paf      19471: 
1.150     moko     19472: # Set up the scripts for CONFIG_HEADERS section.
                   19473: # No need to generate them if there are no CONFIG_HEADERS.
                   19474: # This happens for instance with `./config.status Makefile'.
                   19475: if test -n "$CONFIG_HEADERS"; then
                   19476: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   19477: BEGIN {
                   19478: _ACEOF
                   19479: 
                   19480: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   19481: # here-document in config.status, that substitutes the proper values into
                   19482: # config.h.in to produce config.h.
                   19483: 
                   19484: # Create a delimiter string that does not exist in confdefs.h, to ease
                   19485: # handling of long lines.
                   19486: ac_delim='%!_!# '
                   19487: for ac_last_try in false false :; do
                   19488:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   19489:   if test -z "$ac_tt"; then
                   19490:     break
                   19491:   elif $ac_last_try; then
                   19492:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   19493:   else
                   19494:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      19495:   fi
1.150     moko     19496: done
1.1       paf      19497: 
1.150     moko     19498: # For the awk script, D is an array of macro values keyed by name,
                   19499: # likewise P contains macro parameters if any.  Preserve backslash
                   19500: # newline sequences.
                   19501: 
                   19502: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   19503: sed -n '
                   19504: s/.\{148\}/&'"$ac_delim"'/g
                   19505: t rset
                   19506: :rset
                   19507: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   19508: t def
                   19509: d
                   19510: :def
                   19511: s/\\$//
                   19512: t bsnl
                   19513: s/["\\]/\\&/g
                   19514: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   19515: D["\1"]=" \3"/p
                   19516: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   19517: d
                   19518: :bsnl
                   19519: s/["\\]/\\&/g
                   19520: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   19521: D["\1"]=" \3\\\\\\n"\\/p
                   19522: t cont
                   19523: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   19524: t cont
                   19525: d
                   19526: :cont
                   19527: n
                   19528: s/.\{148\}/&'"$ac_delim"'/g
                   19529: t clear
                   19530: :clear
                   19531: s/\\$//
                   19532: t bsnlc
                   19533: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   19534: d
                   19535: :bsnlc
                   19536: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   19537: b cont
                   19538: ' <confdefs.h | sed '
                   19539: s/'"$ac_delim"'/"\\\
                   19540: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   19541: 
                   19542: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19543:   for (key in D) D_is_set[key] = 1
                   19544:   FS = ""
                   19545: }
                   19546: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   19547:   line = \$ 0
                   19548:   split(line, arg, " ")
                   19549:   if (arg[1] == "#") {
                   19550:     defundef = arg[2]
                   19551:     mac1 = arg[3]
                   19552:   } else {
                   19553:     defundef = substr(arg[1], 2)
                   19554:     mac1 = arg[2]
                   19555:   }
                   19556:   split(mac1, mac2, "(") #)
                   19557:   macro = mac2[1]
                   19558:   prefix = substr(line, 1, index(line, defundef) - 1)
                   19559:   if (D_is_set[macro]) {
                   19560:     # Preserve the white space surrounding the "#".
                   19561:     print prefix "define", macro P[macro] D[macro]
                   19562:     next
                   19563:   } else {
                   19564:     # Replace #undef with comments.  This is necessary, for example,
                   19565:     # in the case of _POSIX_SOURCE, which is predefined and required
                   19566:     # on some systems where configure will not decide to define it.
                   19567:     if (defundef == "undef") {
                   19568:       print "/*", prefix defundef, macro, "*/"
                   19569:       next
                   19570:     }
                   19571:   }
                   19572: }
                   19573: { print }
                   19574: _ACAWK
1.62      paf      19575: _ACEOF
1.150     moko     19576: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19577:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   19578: fi # test -n "$CONFIG_HEADERS"
                   19579: 
                   19580: 
                   19581: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   19582: shift
                   19583: for ac_tag
                   19584: do
                   19585:   case $ac_tag in
                   19586:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   19587:   esac
                   19588:   case $ac_mode$ac_tag in
                   19589:   :[FHL]*:*);;
                   19590:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   19591:   :[FH]-) ac_tag=-:-;;
                   19592:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   19593:   esac
                   19594:   ac_save_IFS=$IFS
                   19595:   IFS=:
                   19596:   set x $ac_tag
                   19597:   IFS=$ac_save_IFS
                   19598:   shift
                   19599:   ac_file=$1
                   19600:   shift
                   19601: 
                   19602:   case $ac_mode in
                   19603:   :L) ac_source=$1;;
                   19604:   :[FH])
                   19605:     ac_file_inputs=
                   19606:     for ac_f
                   19607:     do
                   19608:       case $ac_f in
                   19609:       -) ac_f="$ac_tmp/stdin";;
                   19610:       *) # Look for the file first in the build tree, then in the source tree
                   19611:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   19612:         # because $ac_f cannot contain `:'.
                   19613:         test -f "$ac_f" ||
                   19614:           case $ac_f in
                   19615:           [\\/$]*) false;;
                   19616:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   19617:           esac ||
                   19618:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   19619:       esac
                   19620:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   19621:       as_fn_append ac_file_inputs " '$ac_f'"
                   19622:     done
                   19623: 
                   19624:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   19625:     # use $as_me), people would be surprised to read:
                   19626:     #    /* config.h.  Generated by config.status.  */
                   19627:     configure_input='Generated from '`
                   19628:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   19629:        `' by configure.'
                   19630:     if test x"$ac_file" != x-; then
                   19631:       configure_input="$ac_file.  $configure_input"
                   19632:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   19633: $as_echo "$as_me: creating $ac_file" >&6;}
                   19634:     fi
                   19635:     # Neutralize special characters interpreted by sed in replacement strings.
                   19636:     case $configure_input in #(
                   19637:     *\&* | *\|* | *\\* )
                   19638:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   19639:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   19640:     *) ac_sed_conf_input=$configure_input;;
                   19641:     esac
                   19642: 
                   19643:     case $ac_tag in
                   19644:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   19645:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   19646:     esac
                   19647:     ;;
1.1       paf      19648:   esac
                   19649: 
1.150     moko     19650:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      19651: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19652:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   19653:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     19654:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   19655: $as_echo X"$ac_file" |
                   19656:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19657:            s//\1/
                   19658:            q
                   19659:          }
                   19660:          /^X\(\/\/\)[^/].*/{
                   19661:            s//\1/
                   19662:            q
                   19663:          }
                   19664:          /^X\(\/\/\)$/{
                   19665:            s//\1/
                   19666:            q
                   19667:          }
                   19668:          /^X\(\/\).*/{
                   19669:            s//\1/
                   19670:            q
                   19671:          }
                   19672:          s/.*/./; q'`
                   19673:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      19674:   ac_builddir=.
                   19675: 
1.150     moko     19676: case "$ac_dir" in
                   19677: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19678: *)
                   19679:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   19680:   # A ".." for each directory in $ac_dir_suffix.
                   19681:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   19682:   case $ac_top_builddir_sub in
                   19683:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19684:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   19685:   esac ;;
                   19686: esac
                   19687: ac_abs_top_builddir=$ac_pwd
                   19688: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   19689: # for backward compatibility:
                   19690: ac_top_builddir=$ac_top_build_prefix
1.62      paf      19691: 
                   19692: case $srcdir in
1.150     moko     19693:   .)  # We are building in place.
1.62      paf      19694:     ac_srcdir=.
1.150     moko     19695:     ac_top_srcdir=$ac_top_builddir_sub
                   19696:     ac_abs_top_srcdir=$ac_pwd ;;
                   19697:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      19698:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     19699:     ac_top_srcdir=$srcdir
                   19700:     ac_abs_top_srcdir=$srcdir ;;
                   19701:   *) # Relative name.
                   19702:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   19703:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   19704:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      19705: esac
1.150     moko     19706: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      19707: 
1.62      paf      19708: 
1.150     moko     19709:   case $ac_mode in
                   19710:   :F)
                   19711:   #
                   19712:   # CONFIG_FILE
                   19713:   #
1.1       paf      19714: 
1.62      paf      19715:   case $INSTALL in
                   19716:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     19717:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      19718:   esac
1.150     moko     19719:   ac_MKDIR_P=$MKDIR_P
                   19720:   case $MKDIR_P in
                   19721:   [\\/$]* | ?:[\\/]* ) ;;
                   19722:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   19723:   esac
                   19724: _ACEOF
1.1       paf      19725: 
1.150     moko     19726: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19727: # If the template does not know about datarootdir, expand it.
                   19728: # FIXME: This hack should be removed a few years after 2.60.
                   19729: ac_datarootdir_hack=; ac_datarootdir_seen=
                   19730: ac_sed_dataroot='
                   19731: /datarootdir/ {
                   19732:   p
                   19733:   q
                   19734: }
                   19735: /@datadir@/p
                   19736: /@docdir@/p
                   19737: /@infodir@/p
                   19738: /@localedir@/p
                   19739: /@mandir@/p'
                   19740: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   19741: *datarootdir*) ac_datarootdir_seen=yes;;
                   19742: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   19743:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   19744: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   19745: _ACEOF
                   19746: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19747:   ac_datarootdir_hack='
                   19748:   s&@datadir@&$datadir&g
                   19749:   s&@docdir@&$docdir&g
                   19750:   s&@infodir@&$infodir&g
                   19751:   s&@localedir@&$localedir&g
                   19752:   s&@mandir@&$mandir&g
                   19753:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   19754: esac
                   19755: _ACEOF
1.62      paf      19756: 
1.150     moko     19757: # Neutralize VPATH when `$srcdir' = `.'.
                   19758: # Shell code in configure.ac might set extrasub.
                   19759: # FIXME: do we really want to maintain this feature?
                   19760: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19761: ac_sed_extra="$ac_vpsub
1.62      paf      19762: $extrasub
                   19763: _ACEOF
1.150     moko     19764: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19765: :t
                   19766: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     19767: s|@configure_input@|$ac_sed_conf_input|;t t
                   19768: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   19769: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   19770: s&@srcdir@&$ac_srcdir&;t t
                   19771: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   19772: s&@top_srcdir@&$ac_top_srcdir&;t t
                   19773: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   19774: s&@builddir@&$ac_builddir&;t t
                   19775: s&@abs_builddir@&$ac_abs_builddir&;t t
                   19776: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   19777: s&@INSTALL@&$ac_INSTALL&;t t
                   19778: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   19779: $ac_datarootdir_hack
                   19780: "
                   19781: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   19782:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19783: 
                   19784: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   19785:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   19786:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   19787:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   19788:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   19789: which seems to be undefined.  Please make sure it is defined" >&5
                   19790: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   19791: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      19792: 
1.150     moko     19793:   rm -f "$ac_tmp/stdin"
1.62      paf      19794:   case $ac_file in
1.150     moko     19795:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   19796:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   19797:   esac \
                   19798:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19799:  ;;
                   19800:   :H)
                   19801:   #
                   19802:   # CONFIG_HEADER
                   19803:   #
1.62      paf      19804:   if test x"$ac_file" != x-; then
1.150     moko     19805:     {
                   19806:       $as_echo "/* $configure_input  */" \
                   19807:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   19808:     } >"$ac_tmp/config.h" \
                   19809:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19810:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   19811:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   19812: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      19813:     else
1.150     moko     19814:       rm -f "$ac_file"
                   19815:       mv "$ac_tmp/config.h" "$ac_file" \
                   19816:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      19817:     fi
                   19818:   else
1.150     moko     19819:     $as_echo "/* $configure_input  */" \
                   19820:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   19821:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      19822:   fi
1.150     moko     19823: # Compute "$ac_file"'s index in $config_headers.
                   19824: _am_arg="$ac_file"
1.86      paf      19825: _am_stamp_count=1
                   19826: for _am_header in $config_headers :; do
                   19827:   case $_am_header in
1.150     moko     19828:     $_am_arg | $_am_arg:* )
1.86      paf      19829:       break ;;
                   19830:     * )
                   19831:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   19832:   esac
                   19833: done
1.150     moko     19834: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   19835: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19836:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   19837:         X"$_am_arg" : 'X\(//\)$' \| \
                   19838:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   19839: $as_echo X"$_am_arg" |
                   19840:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19841:            s//\1/
                   19842:            q
                   19843:          }
                   19844:          /^X\(\/\/\)[^/].*/{
                   19845:            s//\1/
                   19846:            q
                   19847:          }
                   19848:          /^X\(\/\/\)$/{
                   19849:            s//\1/
                   19850:            q
                   19851:          }
                   19852:          /^X\(\/\).*/{
                   19853:            s//\1/
                   19854:            q
                   19855:          }
                   19856:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   19857:  ;;
1.62      paf      19858: 
1.150     moko     19859:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   19860: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   19861:  ;;
                   19862:   esac
1.86      paf      19863: 
1.62      paf      19864: 
1.150     moko     19865:   case $ac_file$ac_mode in
                   19866:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   19867:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   19868:   # are listed without --file.  Let's play safe and only enable the eval
                   19869:   # if we detect the quoting.
                   19870:   case $CONFIG_FILES in
                   19871:   *\'*) eval set x "$CONFIG_FILES" ;;
                   19872:   *)   set x $CONFIG_FILES ;;
                   19873:   esac
                   19874:   shift
                   19875:   for mf
                   19876:   do
                   19877:     # Strip MF so we end up with the name of the file.
                   19878:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   19879:     # Check whether this is an Automake generated Makefile or not.
                   19880:     # We used to match only the files named `Makefile.in', but
                   19881:     # some people rename them; so instead we look at the file content.
                   19882:     # Grep'ing the first line is not enough: some people post-process
                   19883:     # each Makefile.in and add a new line on top of each file to say so.
                   19884:     # Grep'ing the whole file is not good either: AIX grep has a line
                   19885:     # limit of 2048, but all sed's we know have understand at least 4000.
                   19886:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   19887:       dirpart=`$as_dirname -- "$mf" ||
1.62      paf      19888: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19889:         X"$mf" : 'X\(//\)[^/]' \| \
                   19890:         X"$mf" : 'X\(//\)$' \| \
1.150     moko     19891:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   19892: $as_echo X"$mf" |
                   19893:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19894:            s//\1/
                   19895:            q
                   19896:          }
                   19897:          /^X\(\/\/\)[^/].*/{
                   19898:            s//\1/
                   19899:            q
                   19900:          }
                   19901:          /^X\(\/\/\)$/{
                   19902:            s//\1/
                   19903:            q
                   19904:          }
                   19905:          /^X\(\/\).*/{
                   19906:            s//\1/
                   19907:            q
                   19908:          }
                   19909:          s/.*/./; q'`
                   19910:     else
                   19911:       continue
                   19912:     fi
                   19913:     # Extract the definition of DEPDIR, am__include, and am__quote
                   19914:     # from the Makefile without running `make'.
                   19915:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   19916:     test -z "$DEPDIR" && continue
                   19917:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   19918:     test -z "am__include" && continue
                   19919:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   19920:     # When using ansi2knr, U may be empty or an underscore; expand it
                   19921:     U=`sed -n 's/^U = //p' < "$mf"`
                   19922:     # Find all dependency output files, they are included files with
                   19923:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   19924:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   19925:     # expansion.
                   19926:     for file in `sed -n "
                   19927:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   19928:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   19929:       # Make sure the directory exists.
                   19930:       test -f "$dirpart/$file" && continue
                   19931:       fdir=`$as_dirname -- "$file" ||
1.62      paf      19932: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19933:         X"$file" : 'X\(//\)[^/]' \| \
                   19934:         X"$file" : 'X\(//\)$' \| \
1.150     moko     19935:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   19936: $as_echo X"$file" |
                   19937:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19938:            s//\1/
                   19939:            q
                   19940:          }
                   19941:          /^X\(\/\/\)[^/].*/{
                   19942:            s//\1/
                   19943:            q
                   19944:          }
                   19945:          /^X\(\/\/\)$/{
                   19946:            s//\1/
                   19947:            q
                   19948:          }
                   19949:          /^X\(\/\).*/{
                   19950:            s//\1/
                   19951:            q
                   19952:          }
                   19953:          s/.*/./; q'`
                   19954:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   19955:       # echo "creating $dirpart/$file"
                   19956:       echo '# dummy' > "$dirpart/$file"
1.62      paf      19957:     done
                   19958:   done
1.150     moko     19959: }
1.62      paf      19960:  ;;
1.150     moko     19961:     "libtool":C)
1.128     moko     19962: 
                   19963:     # See if we are running on zsh, and set the options which allow our
                   19964:     # commands through without removal of \ escapes.
                   19965:     if test -n "${ZSH_VERSION+set}" ; then
                   19966:       setopt NO_GLOB_SUBST
                   19967:     fi
                   19968: 
                   19969:     cfgfile="${ofile}T"
                   19970:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   19971:     $RM "$cfgfile"
                   19972: 
                   19973:     cat <<_LT_EOF >> "$cfgfile"
                   19974: #! $SHELL
                   19975: 
                   19976: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   19977: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   19978: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   19979: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   19980: #
                   19981: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   19982: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   19983: #                 Foundation, Inc.
                   19984: #   Written by Gordon Matzigkeit, 1996
                   19985: #
                   19986: #   This file is part of GNU Libtool.
                   19987: #
                   19988: # GNU Libtool is free software; you can redistribute it and/or
                   19989: # modify it under the terms of the GNU General Public License as
                   19990: # published by the Free Software Foundation; either version 2 of
                   19991: # the License, or (at your option) any later version.
                   19992: #
                   19993: # As a special exception to the GNU General Public License,
                   19994: # if you distribute this file as part of a program or library that
                   19995: # is built using GNU Libtool, you may include this file under the
                   19996: # same distribution terms that you use for the rest of that program.
                   19997: #
                   19998: # GNU Libtool is distributed in the hope that it will be useful,
                   19999: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   20000: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   20001: # GNU General Public License for more details.
                   20002: #
                   20003: # You should have received a copy of the GNU General Public License
                   20004: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   20005: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   20006: # obtained by writing to the Free Software Foundation, Inc.,
                   20007: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   20008: 
                   20009: 
                   20010: # The names of the tagged configurations supported by this script.
                   20011: available_tags="CXX "
                   20012: 
                   20013: # ### BEGIN LIBTOOL CONFIG
                   20014: 
                   20015: # Which release of libtool.m4 was used?
                   20016: macro_version=$macro_version
                   20017: macro_revision=$macro_revision
                   20018: 
                   20019: # Assembler program.
                   20020: AS=$lt_AS
                   20021: 
                   20022: # DLL creation program.
                   20023: DLLTOOL=$lt_DLLTOOL
                   20024: 
                   20025: # Object dumper program.
                   20026: OBJDUMP=$lt_OBJDUMP
                   20027: 
1.145     moko     20028: # What type of objects to build.
                   20029: pic_mode=$pic_mode
                   20030: 
1.128     moko     20031: # Whether or not to build shared libraries.
                   20032: build_libtool_libs=$enable_shared
                   20033: 
1.138     moko     20034: # Whether or not to build static libraries.
                   20035: build_old_libs=$enable_static
                   20036: 
1.128     moko     20037: # Whether or not to optimize for fast installation.
                   20038: fast_install=$enable_fast_install
                   20039: 
                   20040: # Shell to use when invoking shell scripts.
                   20041: SHELL=$lt_SHELL
                   20042: 
                   20043: # An echo program that protects backslashes.
                   20044: ECHO=$lt_ECHO
                   20045: 
                   20046: # The PATH separator for the build system.
                   20047: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   20048: 
                   20049: # The host system.
                   20050: host_alias=$host_alias
                   20051: host=$host
                   20052: host_os=$host_os
                   20053: 
                   20054: # The build system.
                   20055: build_alias=$build_alias
                   20056: build=$build
                   20057: build_os=$build_os
                   20058: 
                   20059: # A sed program that does not truncate output.
                   20060: SED=$lt_SED
                   20061: 
                   20062: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   20063: Xsed="\$SED -e 1s/^X//"
                   20064: 
                   20065: # A grep program that handles long lines.
                   20066: GREP=$lt_GREP
                   20067: 
                   20068: # An ERE matcher.
                   20069: EGREP=$lt_EGREP
                   20070: 
                   20071: # A literal string matcher.
                   20072: FGREP=$lt_FGREP
                   20073: 
                   20074: # A BSD- or MS-compatible name lister.
                   20075: NM=$lt_NM
                   20076: 
                   20077: # Whether we need soft or hard links.
                   20078: LN_S=$lt_LN_S
                   20079: 
                   20080: # What is the maximum length of a command?
                   20081: max_cmd_len=$max_cmd_len
                   20082: 
                   20083: # Object file suffix (normally "o").
                   20084: objext=$ac_objext
                   20085: 
                   20086: # Executable file suffix (normally "").
                   20087: exeext=$exeext
                   20088: 
                   20089: # whether the shell understands "unset".
                   20090: lt_unset=$lt_unset
                   20091: 
                   20092: # turn spaces into newlines.
                   20093: SP2NL=$lt_lt_SP2NL
                   20094: 
                   20095: # turn newlines into spaces.
                   20096: NL2SP=$lt_lt_NL2SP
                   20097: 
                   20098: # convert \$build file names to \$host format.
                   20099: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   20100: 
                   20101: # convert \$build files to toolchain format.
                   20102: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   20103: 
                   20104: # Method to check whether dependent libraries are shared objects.
                   20105: deplibs_check_method=$lt_deplibs_check_method
                   20106: 
                   20107: # Command to use when deplibs_check_method = "file_magic".
                   20108: file_magic_cmd=$lt_file_magic_cmd
                   20109: 
                   20110: # How to find potential files when deplibs_check_method = "file_magic".
                   20111: file_magic_glob=$lt_file_magic_glob
                   20112: 
                   20113: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   20114: want_nocaseglob=$lt_want_nocaseglob
                   20115: 
                   20116: # Command to associate shared and link libraries.
                   20117: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   20118: 
                   20119: # The archiver.
                   20120: AR=$lt_AR
                   20121: 
                   20122: # Flags to create an archive.
                   20123: AR_FLAGS=$lt_AR_FLAGS
                   20124: 
                   20125: # How to feed a file listing to the archiver.
                   20126: archiver_list_spec=$lt_archiver_list_spec
                   20127: 
                   20128: # A symbol stripping program.
                   20129: STRIP=$lt_STRIP
                   20130: 
                   20131: # Commands used to install an old-style archive.
                   20132: RANLIB=$lt_RANLIB
                   20133: old_postinstall_cmds=$lt_old_postinstall_cmds
                   20134: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   20135: 
                   20136: # Whether to use a lock for old archive extraction.
                   20137: lock_old_archive_extraction=$lock_old_archive_extraction
                   20138: 
                   20139: # A C compiler.
                   20140: LTCC=$lt_CC
                   20141: 
                   20142: # LTCC compiler flags.
                   20143: LTCFLAGS=$lt_CFLAGS
                   20144: 
                   20145: # Take the output of nm and produce a listing of raw symbols and C names.
                   20146: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   20147: 
                   20148: # Transform the output of nm in a proper C declaration.
                   20149: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   20150: 
                   20151: # Transform the output of nm in a C name address pair.
                   20152: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   20153: 
                   20154: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   20155: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   20156: 
                   20157: # Specify filename containing input files for \$NM.
                   20158: nm_file_list_spec=$lt_nm_file_list_spec
                   20159: 
                   20160: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   20161: lt_sysroot=$lt_sysroot
                   20162: 
                   20163: # The name of the directory that contains temporary libtool files.
                   20164: objdir=$objdir
                   20165: 
                   20166: # Used to examine libraries when file_magic_cmd begins with "file".
                   20167: MAGIC_CMD=$MAGIC_CMD
                   20168: 
                   20169: # Must we lock files when doing compilation?
                   20170: need_locks=$lt_need_locks
                   20171: 
                   20172: # Manifest tool.
                   20173: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   20174: 
                   20175: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   20176: DSYMUTIL=$lt_DSYMUTIL
                   20177: 
                   20178: # Tool to change global to local symbols on Mac OS X.
                   20179: NMEDIT=$lt_NMEDIT
                   20180: 
                   20181: # Tool to manipulate fat objects and archives on Mac OS X.
                   20182: LIPO=$lt_LIPO
                   20183: 
                   20184: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   20185: OTOOL=$lt_OTOOL
                   20186: 
                   20187: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   20188: OTOOL64=$lt_OTOOL64
                   20189: 
                   20190: # Old archive suffix (normally "a").
                   20191: libext=$libext
                   20192: 
                   20193: # Shared library suffix (normally ".so").
                   20194: shrext_cmds=$lt_shrext_cmds
                   20195: 
                   20196: # The commands to extract the exported symbol list from a shared archive.
                   20197: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   20198: 
                   20199: # Variables whose values should be saved in libtool wrapper scripts and
                   20200: # restored at link time.
                   20201: variables_saved_for_relink=$lt_variables_saved_for_relink
                   20202: 
                   20203: # Do we need the "lib" prefix for modules?
                   20204: need_lib_prefix=$need_lib_prefix
                   20205: 
                   20206: # Do we need a version for libraries?
                   20207: need_version=$need_version
                   20208: 
                   20209: # Library versioning type.
                   20210: version_type=$version_type
                   20211: 
                   20212: # Shared library runtime path variable.
                   20213: runpath_var=$runpath_var
                   20214: 
                   20215: # Shared library path variable.
                   20216: shlibpath_var=$shlibpath_var
                   20217: 
                   20218: # Is shlibpath searched before the hard-coded library search path?
                   20219: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   20220: 
                   20221: # Format of library name prefix.
                   20222: libname_spec=$lt_libname_spec
                   20223: 
                   20224: # List of archive names.  First name is the real one, the rest are links.
                   20225: # The last name is the one that the linker finds with -lNAME
                   20226: library_names_spec=$lt_library_names_spec
                   20227: 
                   20228: # The coded name of the library, if different from the real name.
                   20229: soname_spec=$lt_soname_spec
                   20230: 
                   20231: # Permission mode override for installation of shared libraries.
                   20232: install_override_mode=$lt_install_override_mode
                   20233: 
                   20234: # Command to use after installation of a shared archive.
                   20235: postinstall_cmds=$lt_postinstall_cmds
                   20236: 
                   20237: # Command to use after uninstallation of a shared archive.
                   20238: postuninstall_cmds=$lt_postuninstall_cmds
                   20239: 
                   20240: # Commands used to finish a libtool library installation in a directory.
                   20241: finish_cmds=$lt_finish_cmds
                   20242: 
                   20243: # As "finish_cmds", except a single script fragment to be evaled but
                   20244: # not shown.
                   20245: finish_eval=$lt_finish_eval
                   20246: 
                   20247: # Whether we should hardcode library paths into libraries.
                   20248: hardcode_into_libs=$hardcode_into_libs
                   20249: 
                   20250: # Compile-time system search path for libraries.
                   20251: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   20252: 
                   20253: # Run-time system search path for libraries.
                   20254: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   20255: 
                   20256: # Whether dlopen is supported.
                   20257: dlopen_support=$enable_dlopen
                   20258: 
                   20259: # Whether dlopen of programs is supported.
                   20260: dlopen_self=$enable_dlopen_self
                   20261: 
                   20262: # Whether dlopen of statically linked programs is supported.
                   20263: dlopen_self_static=$enable_dlopen_self_static
                   20264: 
                   20265: # Commands to strip libraries.
                   20266: old_striplib=$lt_old_striplib
                   20267: striplib=$lt_striplib
                   20268: 
                   20269: 
                   20270: # The linker used to build libraries.
                   20271: LD=$lt_LD
                   20272: 
                   20273: # How to create reloadable object files.
                   20274: reload_flag=$lt_reload_flag
                   20275: reload_cmds=$lt_reload_cmds
                   20276: 
                   20277: # Commands used to build an old-style archive.
                   20278: old_archive_cmds=$lt_old_archive_cmds
                   20279: 
                   20280: # A language specific compiler.
                   20281: CC=$lt_compiler
                   20282: 
                   20283: # Is the compiler the GNU compiler?
                   20284: with_gcc=$GCC
                   20285: 
                   20286: # Compiler flag to turn off builtin functions.
                   20287: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   20288: 
                   20289: # Additional compiler flags for building library objects.
                   20290: pic_flag=$lt_lt_prog_compiler_pic
                   20291: 
                   20292: # How to pass a linker flag through the compiler.
                   20293: wl=$lt_lt_prog_compiler_wl
                   20294: 
                   20295: # Compiler flag to prevent dynamic linking.
                   20296: link_static_flag=$lt_lt_prog_compiler_static
                   20297: 
                   20298: # Does compiler simultaneously support -c and -o options?
                   20299: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   20300: 
                   20301: # Whether or not to add -lc for building shared libraries.
                   20302: build_libtool_need_lc=$archive_cmds_need_lc
                   20303: 
                   20304: # Whether or not to disallow shared libs when runtime libs are static.
                   20305: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   20306: 
                   20307: # Compiler flag to allow reflexive dlopens.
                   20308: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   20309: 
                   20310: # Compiler flag to generate shared objects directly from archives.
                   20311: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   20312: 
                   20313: # Whether the compiler copes with passing no objects directly.
                   20314: compiler_needs_object=$lt_compiler_needs_object
                   20315: 
                   20316: # Create an old-style archive from a shared archive.
                   20317: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   20318: 
                   20319: # Create a temporary old-style archive to link instead of a shared archive.
                   20320: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   20321: 
                   20322: # Commands used to build a shared archive.
                   20323: archive_cmds=$lt_archive_cmds
                   20324: archive_expsym_cmds=$lt_archive_expsym_cmds
                   20325: 
                   20326: # Commands used to build a loadable module if different from building
                   20327: # a shared archive.
                   20328: module_cmds=$lt_module_cmds
                   20329: module_expsym_cmds=$lt_module_expsym_cmds
                   20330: 
                   20331: # Whether we are building with GNU ld or not.
                   20332: with_gnu_ld=$lt_with_gnu_ld
                   20333: 
                   20334: # Flag that allows shared libraries with undefined symbols to be built.
                   20335: allow_undefined_flag=$lt_allow_undefined_flag
                   20336: 
                   20337: # Flag that enforces no undefined symbols.
                   20338: no_undefined_flag=$lt_no_undefined_flag
                   20339: 
                   20340: # Flag to hardcode \$libdir into a binary during linking.
                   20341: # This must work even if \$libdir does not exist
                   20342: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   20343: 
                   20344: # Whether we need a single "-rpath" flag with a separated argument.
                   20345: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   20346: 
                   20347: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20348: # DIR into the resulting binary.
                   20349: hardcode_direct=$hardcode_direct
                   20350: 
                   20351: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20352: # DIR into the resulting binary and the resulting library dependency is
                   20353: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20354: # library is relocated.
                   20355: hardcode_direct_absolute=$hardcode_direct_absolute
                   20356: 
                   20357: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20358: # into the resulting binary.
                   20359: hardcode_minus_L=$hardcode_minus_L
                   20360: 
                   20361: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20362: # into the resulting binary.
                   20363: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   20364: 
                   20365: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20366: # into the library and all subsequent libraries and executables linked
                   20367: # against it.
                   20368: hardcode_automatic=$hardcode_automatic
                   20369: 
                   20370: # Set to yes if linker adds runtime paths of dependent libraries
                   20371: # to runtime path list.
                   20372: inherit_rpath=$inherit_rpath
                   20373: 
                   20374: # Whether libtool must link a program against all its dependency libraries.
                   20375: link_all_deplibs=$link_all_deplibs
                   20376: 
                   20377: # Set to "yes" if exported symbols are required.
                   20378: always_export_symbols=$always_export_symbols
                   20379: 
                   20380: # The commands to list exported symbols.
                   20381: export_symbols_cmds=$lt_export_symbols_cmds
                   20382: 
                   20383: # Symbols that should not be listed in the preloaded symbols.
                   20384: exclude_expsyms=$lt_exclude_expsyms
                   20385: 
                   20386: # Symbols that must always be exported.
                   20387: include_expsyms=$lt_include_expsyms
                   20388: 
                   20389: # Commands necessary for linking programs (against libraries) with templates.
                   20390: prelink_cmds=$lt_prelink_cmds
                   20391: 
                   20392: # Commands necessary for finishing linking programs.
                   20393: postlink_cmds=$lt_postlink_cmds
                   20394: 
                   20395: # Specify filename containing input files.
                   20396: file_list_spec=$lt_file_list_spec
                   20397: 
                   20398: # How to hardcode a shared library path into an executable.
                   20399: hardcode_action=$hardcode_action
                   20400: 
                   20401: # The directories searched by this compiler when creating a shared library.
                   20402: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   20403: 
                   20404: # Dependencies to place before and after the objects being linked to
                   20405: # create a shared library.
                   20406: predep_objects=$lt_predep_objects
                   20407: postdep_objects=$lt_postdep_objects
                   20408: predeps=$lt_predeps
                   20409: postdeps=$lt_postdeps
                   20410: 
                   20411: # The library search path used internally by the compiler when linking
                   20412: # a shared library.
                   20413: compiler_lib_search_path=$lt_compiler_lib_search_path
                   20414: 
                   20415: # ### END LIBTOOL CONFIG
                   20416: 
                   20417: _LT_EOF
                   20418: 
                   20419:   case $host_os in
                   20420:   aix3*)
                   20421:     cat <<\_LT_EOF >> "$cfgfile"
                   20422: # AIX sometimes has problems with the GCC collect2 program.  For some
                   20423: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   20424: # vanish in a puff of smoke.
                   20425: if test "X${COLLECT_NAMES+set}" != Xset; then
                   20426:   COLLECT_NAMES=
                   20427:   export COLLECT_NAMES
                   20428: fi
                   20429: _LT_EOF
                   20430:     ;;
                   20431:   esac
                   20432: 
                   20433: 
                   20434: ltmain="$ac_aux_dir/ltmain.sh"
                   20435: 
                   20436: 
                   20437:   # We use sed instead of cat because bash on DJGPP gets confused if
                   20438:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   20439:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   20440:   # is reportedly fixed, but why not run on old versions too?
                   20441:   sed '$q' "$ltmain" >> "$cfgfile" \
                   20442:      || (rm -f "$cfgfile"; exit 1)
                   20443: 
                   20444:   if test x"$xsi_shell" = xyes; then
                   20445:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   20446: func_dirname ()\
                   20447: {\
                   20448: \    case ${1} in\
                   20449: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20450: \      *  ) func_dirname_result="${3}" ;;\
                   20451: \    esac\
                   20452: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   20453:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20454:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20455: test 0 -eq $? || _lt_function_replace_fail=:
                   20456: 
                   20457: 
                   20458:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   20459: func_basename ()\
                   20460: {\
                   20461: \    func_basename_result="${1##*/}"\
                   20462: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20463:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20464:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20465: test 0 -eq $? || _lt_function_replace_fail=:
                   20466: 
                   20467: 
                   20468:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   20469: func_dirname_and_basename ()\
                   20470: {\
                   20471: \    case ${1} in\
                   20472: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20473: \      *  ) func_dirname_result="${3}" ;;\
                   20474: \    esac\
                   20475: \    func_basename_result="${1##*/}"\
                   20476: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20477:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20478:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20479: test 0 -eq $? || _lt_function_replace_fail=:
                   20480: 
                   20481: 
                   20482:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   20483: func_stripname ()\
                   20484: {\
                   20485: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   20486: \    # positional parameters, so assign one to ordinary parameter first.\
                   20487: \    func_stripname_result=${3}\
                   20488: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   20489: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   20490: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   20491:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20492:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20493: test 0 -eq $? || _lt_function_replace_fail=:
                   20494: 
                   20495: 
                   20496:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   20497: func_split_long_opt ()\
                   20498: {\
                   20499: \    func_split_long_opt_name=${1%%=*}\
                   20500: \    func_split_long_opt_arg=${1#*=}\
                   20501: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20502:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20503:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20504: test 0 -eq $? || _lt_function_replace_fail=:
                   20505: 
                   20506: 
                   20507:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   20508: func_split_short_opt ()\
                   20509: {\
                   20510: \    func_split_short_opt_arg=${1#??}\
                   20511: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   20512: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20513:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20514:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20515: test 0 -eq $? || _lt_function_replace_fail=:
                   20516: 
                   20517: 
                   20518:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   20519: func_lo2o ()\
                   20520: {\
                   20521: \    case ${1} in\
                   20522: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   20523: \      *)    func_lo2o_result=${1} ;;\
                   20524: \    esac\
                   20525: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   20526:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20527:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20528: test 0 -eq $? || _lt_function_replace_fail=:
                   20529: 
                   20530: 
                   20531:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   20532: func_xform ()\
                   20533: {\
                   20534:     func_xform_result=${1%.*}.lo\
                   20535: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   20536:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20537:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20538: test 0 -eq $? || _lt_function_replace_fail=:
                   20539: 
                   20540: 
                   20541:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   20542: func_arith ()\
                   20543: {\
                   20544:     func_arith_result=$(( $* ))\
                   20545: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   20546:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20547:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20548: test 0 -eq $? || _lt_function_replace_fail=:
                   20549: 
                   20550: 
                   20551:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   20552: func_len ()\
                   20553: {\
                   20554:     func_len_result=${#1}\
                   20555: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   20556:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20557:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20558: test 0 -eq $? || _lt_function_replace_fail=:
                   20559: 
                   20560: fi
                   20561: 
                   20562: if test x"$lt_shell_append" = xyes; then
                   20563:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   20564: func_append ()\
                   20565: {\
                   20566:     eval "${1}+=\\${2}"\
                   20567: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   20568:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20569:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20570: test 0 -eq $? || _lt_function_replace_fail=:
                   20571: 
                   20572: 
                   20573:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   20574: func_append_quoted ()\
                   20575: {\
                   20576: \    func_quote_for_eval "${2}"\
                   20577: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   20578: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   20579:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20580:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20581: test 0 -eq $? || _lt_function_replace_fail=:
                   20582: 
                   20583: 
                   20584:   # Save a `func_append' function call where possible by direct use of '+='
                   20585:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   20586:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20587:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20588:   test 0 -eq $? || _lt_function_replace_fail=:
                   20589: else
                   20590:   # Save a `func_append' function call even when '+=' is not available
                   20591:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   20592:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20593:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20594:   test 0 -eq $? || _lt_function_replace_fail=:
                   20595: fi
                   20596: 
                   20597: if test x"$_lt_function_replace_fail" = x":"; then
1.150     moko     20598:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   20599: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     20600: fi
                   20601: 
                   20602: 
                   20603:    mv -f "$cfgfile" "$ofile" ||
                   20604:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   20605:   chmod +x "$ofile"
                   20606: 
                   20607: 
                   20608:     cat <<_LT_EOF >> "$ofile"
                   20609: 
                   20610: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   20611: 
                   20612: # The linker used to build libraries.
                   20613: LD=$lt_LD_CXX
                   20614: 
                   20615: # How to create reloadable object files.
                   20616: reload_flag=$lt_reload_flag_CXX
                   20617: reload_cmds=$lt_reload_cmds_CXX
                   20618: 
                   20619: # Commands used to build an old-style archive.
                   20620: old_archive_cmds=$lt_old_archive_cmds_CXX
                   20621: 
                   20622: # A language specific compiler.
                   20623: CC=$lt_compiler_CXX
                   20624: 
                   20625: # Is the compiler the GNU compiler?
                   20626: with_gcc=$GCC_CXX
                   20627: 
                   20628: # Compiler flag to turn off builtin functions.
                   20629: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   20630: 
                   20631: # Additional compiler flags for building library objects.
                   20632: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   20633: 
                   20634: # How to pass a linker flag through the compiler.
                   20635: wl=$lt_lt_prog_compiler_wl_CXX
                   20636: 
                   20637: # Compiler flag to prevent dynamic linking.
                   20638: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   20639: 
                   20640: # Does compiler simultaneously support -c and -o options?
                   20641: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   20642: 
                   20643: # Whether or not to add -lc for building shared libraries.
                   20644: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   20645: 
                   20646: # Whether or not to disallow shared libs when runtime libs are static.
                   20647: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   20648: 
                   20649: # Compiler flag to allow reflexive dlopens.
                   20650: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   20651: 
                   20652: # Compiler flag to generate shared objects directly from archives.
                   20653: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   20654: 
                   20655: # Whether the compiler copes with passing no objects directly.
                   20656: compiler_needs_object=$lt_compiler_needs_object_CXX
                   20657: 
                   20658: # Create an old-style archive from a shared archive.
                   20659: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   20660: 
                   20661: # Create a temporary old-style archive to link instead of a shared archive.
                   20662: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   20663: 
                   20664: # Commands used to build a shared archive.
                   20665: archive_cmds=$lt_archive_cmds_CXX
                   20666: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   20667: 
                   20668: # Commands used to build a loadable module if different from building
                   20669: # a shared archive.
                   20670: module_cmds=$lt_module_cmds_CXX
                   20671: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   20672: 
                   20673: # Whether we are building with GNU ld or not.
                   20674: with_gnu_ld=$lt_with_gnu_ld_CXX
                   20675: 
                   20676: # Flag that allows shared libraries with undefined symbols to be built.
                   20677: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   20678: 
                   20679: # Flag that enforces no undefined symbols.
                   20680: no_undefined_flag=$lt_no_undefined_flag_CXX
                   20681: 
                   20682: # Flag to hardcode \$libdir into a binary during linking.
                   20683: # This must work even if \$libdir does not exist
                   20684: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   20685: 
                   20686: # Whether we need a single "-rpath" flag with a separated argument.
                   20687: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   20688: 
                   20689: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20690: # DIR into the resulting binary.
                   20691: hardcode_direct=$hardcode_direct_CXX
                   20692: 
                   20693: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20694: # DIR into the resulting binary and the resulting library dependency is
                   20695: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20696: # library is relocated.
                   20697: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   20698: 
                   20699: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20700: # into the resulting binary.
                   20701: hardcode_minus_L=$hardcode_minus_L_CXX
                   20702: 
                   20703: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20704: # into the resulting binary.
                   20705: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   20706: 
                   20707: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20708: # into the library and all subsequent libraries and executables linked
                   20709: # against it.
                   20710: hardcode_automatic=$hardcode_automatic_CXX
                   20711: 
                   20712: # Set to yes if linker adds runtime paths of dependent libraries
                   20713: # to runtime path list.
                   20714: inherit_rpath=$inherit_rpath_CXX
                   20715: 
                   20716: # Whether libtool must link a program against all its dependency libraries.
                   20717: link_all_deplibs=$link_all_deplibs_CXX
                   20718: 
                   20719: # Set to "yes" if exported symbols are required.
                   20720: always_export_symbols=$always_export_symbols_CXX
                   20721: 
                   20722: # The commands to list exported symbols.
                   20723: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   20724: 
                   20725: # Symbols that should not be listed in the preloaded symbols.
                   20726: exclude_expsyms=$lt_exclude_expsyms_CXX
                   20727: 
                   20728: # Symbols that must always be exported.
                   20729: include_expsyms=$lt_include_expsyms_CXX
                   20730: 
                   20731: # Commands necessary for linking programs (against libraries) with templates.
                   20732: prelink_cmds=$lt_prelink_cmds_CXX
                   20733: 
                   20734: # Commands necessary for finishing linking programs.
                   20735: postlink_cmds=$lt_postlink_cmds_CXX
                   20736: 
                   20737: # Specify filename containing input files.
                   20738: file_list_spec=$lt_file_list_spec_CXX
                   20739: 
                   20740: # How to hardcode a shared library path into an executable.
                   20741: hardcode_action=$hardcode_action_CXX
                   20742: 
                   20743: # The directories searched by this compiler when creating a shared library.
                   20744: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   20745: 
                   20746: # Dependencies to place before and after the objects being linked to
                   20747: # create a shared library.
                   20748: predep_objects=$lt_predep_objects_CXX
                   20749: postdep_objects=$lt_postdep_objects_CXX
                   20750: predeps=$lt_predeps_CXX
                   20751: postdeps=$lt_postdeps_CXX
                   20752: 
                   20753: # The library search path used internally by the compiler when linking
                   20754: # a shared library.
                   20755: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   20756: 
                   20757: # ### END LIBTOOL TAG CONFIG: CXX
                   20758: _LT_EOF
                   20759: 
                   20760:  ;;
1.150     moko     20761: 
1.62      paf      20762:   esac
1.150     moko     20763: done # for ac_tag
1.62      paf      20764: 
                   20765: 
1.150     moko     20766: as_fn_exit 0
1.62      paf      20767: _ACEOF
                   20768: ac_clean_files=$ac_clean_files_save
                   20769: 
1.150     moko     20770: test $ac_write_fail = 0 ||
                   20771:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   20772: 
1.1       paf      20773: 
1.62      paf      20774: # configure is writing to config.log, and then calls config.status.
                   20775: # config.status does its own redirection, appending to config.log.
                   20776: # Unfortunately, on DOS this fails, as config.log is still kept open
                   20777: # by configure, so config.status won't be able to write to it; its
                   20778: # output is simply discarded.  So we exec the FD to /dev/null,
                   20779: # effectively closing config.log, so it can be properly (re)opened and
                   20780: # appended to by config.status.  When coming back to configure, we
                   20781: # need to make the FD available again.
                   20782: if test "$no_create" != yes; then
                   20783:   ac_cs_success=:
                   20784:   ac_config_status_args=
                   20785:   test "$silent" = yes &&
                   20786:     ac_config_status_args="$ac_config_status_args --quiet"
                   20787:   exec 5>/dev/null
                   20788:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   20789:   exec 5>>config.log
                   20790:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   20791:   # would make configure fail if this is the last instruction.
1.150     moko     20792:   $ac_cs_success || as_fn_exit 1
1.62      paf      20793: fi
                   20794: 
                   20795: #
                   20796: # CONFIG_SUBDIRS section.
                   20797: #
1.1       paf      20798: if test "$no_recursion" != yes; then
                   20799: 
1.150     moko     20800:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   20801:   # so they do not pile up.
1.1       paf      20802:   ac_sub_configure_args=
                   20803:   ac_prev=
1.150     moko     20804:   eval "set x $ac_configure_args"
                   20805:   shift
                   20806:   for ac_arg
                   20807:   do
1.1       paf      20808:     if test -n "$ac_prev"; then
                   20809:       ac_prev=
                   20810:       continue
                   20811:     fi
1.62      paf      20812:     case $ac_arg in
1.1       paf      20813:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   20814:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   20815:       ac_prev=cache_file ;;
                   20816:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      20817:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   20818:     | --c=*)
                   20819:       ;;
                   20820:     --config-cache | -C)
1.1       paf      20821:       ;;
                   20822:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   20823:       ac_prev=srcdir ;;
                   20824:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   20825:       ;;
1.62      paf      20826:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   20827:       ac_prev=prefix ;;
                   20828:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   20829:       ;;
1.150     moko     20830:     --disable-option-checking)
                   20831:       ;;
                   20832:     *)
                   20833:       case $ac_arg in
                   20834:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   20835:       esac
                   20836:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      20837:     esac
                   20838:   done
                   20839: 
1.62      paf      20840:   # Always prepend --prefix to ensure using the same prefix
                   20841:   # in subdir configurations.
1.150     moko     20842:   ac_arg="--prefix=$prefix"
                   20843:   case $ac_arg in
                   20844:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   20845:   esac
                   20846:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   20847: 
                   20848:   # Pass --silent
                   20849:   if test "$silent" = yes; then
                   20850:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   20851:   fi
                   20852: 
                   20853:   # Always prepend --disable-option-checking to silence warnings, since
                   20854:   # different subdirs can have different --enable and --with options.
                   20855:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      20856: 
                   20857:   ac_popdir=`pwd`
                   20858:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      20859: 
                   20860:     # Do not complain, so a configure script can configure whichever
                   20861:     # parts of a large source tree are present.
1.150     moko     20862:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      20863: 
1.150     moko     20864:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   20865:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   20866:     $as_echo "$ac_msg" >&6
                   20867:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20868:     ac_builddir=.
                   20869: 
1.150     moko     20870: case "$ac_dir" in
                   20871: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20872: *)
                   20873:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   20874:   # A ".." for each directory in $ac_dir_suffix.
                   20875:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   20876:   case $ac_top_builddir_sub in
                   20877:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20878:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   20879:   esac ;;
                   20880: esac
                   20881: ac_abs_top_builddir=$ac_pwd
                   20882: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   20883: # for backward compatibility:
                   20884: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20885: 
                   20886: case $srcdir in
1.150     moko     20887:   .)  # We are building in place.
1.62      paf      20888:     ac_srcdir=.
1.150     moko     20889:     ac_top_srcdir=$ac_top_builddir_sub
                   20890:     ac_abs_top_srcdir=$ac_pwd ;;
                   20891:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20892:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     20893:     ac_top_srcdir=$srcdir
                   20894:     ac_abs_top_srcdir=$srcdir ;;
                   20895:   *) # Relative name.
                   20896:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   20897:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   20898:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      20899: esac
1.150     moko     20900: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      20901: 
                   20902: 
1.150     moko     20903:     cd "$ac_dir"
1.1       paf      20904: 
                   20905:     # Check for guested configure; otherwise get Cygnus style configure.
1.150     moko     20906:     if test -f "$ac_srcdir/configure.gnu"; then
                   20907:       ac_sub_configure=$ac_srcdir/configure.gnu
                   20908:     elif test -f "$ac_srcdir/configure"; then
                   20909:       ac_sub_configure=$ac_srcdir/configure
                   20910:     elif test -f "$ac_srcdir/configure.in"; then
                   20911:       # This should be Cygnus configure.
                   20912:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      20913:     else
1.150     moko     20914:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   20915: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      20916:       ac_sub_configure=
                   20917:     fi
                   20918: 
                   20919:     # The recursion is here.
                   20920:     if test -n "$ac_sub_configure"; then
                   20921:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      20922:       case $cache_file in
                   20923:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     20924:       *) # Relative name.
                   20925:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      20926:       esac
                   20927: 
1.150     moko     20928:       { $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
                   20929: $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      20930:       # The eval makes quoting arguments work.
1.150     moko     20931:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   20932:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   20933:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      20934:     fi
                   20935: 
1.150     moko     20936:     cd "$ac_popdir"
1.1       paf      20937:   done
                   20938: fi
1.150     moko     20939: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   20940:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   20941: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   20942: fi
1.1       paf      20943: 

E-mail: