Annotation of parser3/configure, revision 1.154

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.153     moko        3: # Generated by GNU Autoconf 2.68 for parser 3.4.2.
1.150     moko        4: #
                      5: #
                      6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
                      7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
                      8: # Foundation, Inc.
                      9: #
1.1       paf        10: #
                     11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
1.150     moko       13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
1.62      paf        16: 
1.150     moko       17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
                     19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf        20:   emulate sh
                     21:   NULLCMD=:
1.150     moko       22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf        23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
1.150     moko       25:   setopt NO_GLOB_SUBST
                     26: else
                     27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
                     32: esac
                     33: fi
                     34: 
                     35: 
                     36: as_nl='
                     37: '
                     38: export as_nl
                     39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     43: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     44: # but without wasting forks for bash or zsh.
                     45: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     47:   as_echo='print -r --'
                     48:   as_echo_n='print -rn --'
                     49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     50:   as_echo='printf %s\n'
                     51:   as_echo_n='printf %s'
                     52: else
                     53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     55:     as_echo_n='/usr/ucb/echo -n'
                     56:   else
                     57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     58:     as_echo_n_body='eval
                     59:       arg=$1;
                     60:       case $arg in #(
                     61:       *"$as_nl"*)
                     62:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     64:       esac;
                     65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     66:     '
                     67:     export as_echo_n_body
                     68:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     69:   fi
                     70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf        72: fi
                     73: 
1.150     moko       74: # The user is always right.
                     75: if test "${PATH_SEPARATOR+set}" != set; then
                     76:   PATH_SEPARATOR=:
                     77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     79:       PATH_SEPARATOR=';'
                     80:   }
1.62      paf        81: fi
                     82: 
                     83: 
1.150     moko       84: # IFS
                     85: # We need space, tab and new line, in precisely that order.  Quoting is
                     86: # there to prevent editors from complaining about space-tab.
                     87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     88: # splitting by setting IFS to empty value.)
                     89: IFS=" ""       $as_nl"
                     90: 
                     91: # Find who we are.  Look in the path if we contain no directory separator.
                     92: as_myself=
                     93: case $0 in #((
                     94:   *[\\/]* ) as_myself=$0 ;;
                     95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     96: for as_dir in $PATH
                     97: do
                     98:   IFS=$as_save_IFS
                     99:   test -z "$as_dir" && as_dir=.
                    100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    101:   done
                    102: IFS=$as_save_IFS
                    103: 
                    104:      ;;
                    105: esac
                    106: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    107: # in which case we are not to be found in the path.
                    108: if test "x$as_myself" = x; then
                    109:   as_myself=$0
                    110: fi
                    111: if test ! -f "$as_myself"; then
                    112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    113:   exit 1
                    114: fi
                    115: 
                    116: # Unset variables that we do not need and which cause bugs (e.g. in
                    117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    118: # suppresses any "Segmentation fault" message there.  '((' could
                    119: # trigger a bug in pdksh 5.2.14.
                    120: for as_var in BASH_ENV ENV MAIL MAILPATH
                    121: do eval test x\${$as_var+set} = xset \
                    122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    123: done
1.62      paf       124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
1.150     moko      129: LC_ALL=C
                    130: export LC_ALL
                    131: LANGUAGE=C
                    132: export LANGUAGE
                    133: 
                    134: # CDPATH.
                    135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    136: 
                    137: if test "x$CONFIG_SHELL" = x; then
                    138:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    139:   emulate sh
                    140:   NULLCMD=:
                    141:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    142:   # is contrary to our usage.  Disable this feature.
                    143:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    144:   setopt NO_GLOB_SUBST
                    145: else
                    146:   case \`(set -o) 2>/dev/null\` in #(
                    147:   *posix*) :
                    148:     set -o posix ;; #(
                    149:   *) :
                    150:      ;;
                    151: esac
                    152: fi
                    153: "
                    154:   as_required="as_fn_return () { (exit \$1); }
                    155: as_fn_success () { as_fn_return 0; }
                    156: as_fn_failure () { as_fn_return 1; }
                    157: as_fn_ret_success () { return 0; }
                    158: as_fn_ret_failure () { return 1; }
                    159: 
                    160: exitcode=0
                    161: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    162: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    163: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    164: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    165: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    166: 
                    167: else
                    168:   exitcode=1; echo positional parameters were not saved.
                    169: fi
                    170: test x\$exitcode = x0 || exit 1"
                    171:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    172:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    173:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    174:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    175: 
                    176:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    177:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    178:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    179:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    180:     PATH=/empty FPATH=/empty; export PATH FPATH
                    181:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    182:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
                    183: test \$(( 1 + 1 )) = 2 || exit 1"
                    184:   if (eval "$as_required") 2>/dev/null; then :
                    185:   as_have_required=yes
                    186: else
                    187:   as_have_required=no
                    188: fi
                    189:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    190: 
                    191: else
                    192:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    193: as_found=false
                    194: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.62      paf       195: do
1.150     moko      196:   IFS=$as_save_IFS
                    197:   test -z "$as_dir" && as_dir=.
                    198:   as_found=:
                    199:   case $as_dir in #(
                    200:         /*)
                    201:           for as_base in sh bash ksh sh5; do
                    202:             # Try only shells that exist, to save several forks.
                    203:             as_shell=$as_dir/$as_base
                    204:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    205:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    206:   CONFIG_SHELL=$as_shell as_have_required=yes
                    207:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    208:   break 2
                    209: fi
                    210: fi
                    211:           done;;
                    212:        esac
                    213:   as_found=false
                    214: done
                    215: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    216:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    217:   CONFIG_SHELL=$SHELL as_have_required=yes
                    218: fi; }
                    219: IFS=$as_save_IFS
                    220: 
                    221: 
                    222:       if test "x$CONFIG_SHELL" != x; then :
                    223:   # We cannot yet assume a decent shell, so we have to provide a
                    224:        # neutralization value for shells without unset; and this also
                    225:        # works around shells that cannot unset nonexistent variables.
                    226:        # Preserve -v and -x to the replacement shell.
                    227:        BASH_ENV=/dev/null
                    228:        ENV=/dev/null
                    229:        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    230:        export CONFIG_SHELL
                    231:        case $- in # ((((
                    232:          *v*x* | *x*v* ) as_opts=-vx ;;
                    233:          *v* ) as_opts=-v ;;
                    234:          *x* ) as_opts=-x ;;
                    235:          * ) as_opts= ;;
                    236:        esac
                    237:        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
                    238: fi
                    239: 
                    240:     if test x$as_have_required = xno; then :
                    241:   $as_echo "$0: This script requires a shell more modern than all"
                    242:   $as_echo "$0: the shells that I found on your system."
                    243:   if test x${ZSH_VERSION+set} = xset ; then
                    244:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    245:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
1.62      paf       246:   else
1.150     moko      247:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    248: $0: including any error possibly output before this
                    249: $0: message. Then install a modern shell, or manually run
                    250: $0: the script under such a shell if you do have one."
1.62      paf       251:   fi
1.150     moko      252:   exit 1
                    253: fi
                    254: fi
                    255: fi
                    256: SHELL=${CONFIG_SHELL-/bin/sh}
                    257: export SHELL
                    258: # Unset more variables known to interfere with behavior of common tools.
                    259: CLICOLOR_FORCE= GREP_OPTIONS=
                    260: unset CLICOLOR_FORCE GREP_OPTIONS
                    261: 
                    262: ## --------------------- ##
                    263: ## M4sh Shell Functions. ##
                    264: ## --------------------- ##
                    265: # as_fn_unset VAR
                    266: # ---------------
                    267: # Portably unset VAR.
                    268: as_fn_unset ()
                    269: {
                    270:   { eval $1=; unset $1;}
                    271: }
                    272: as_unset=as_fn_unset
                    273: 
                    274: # as_fn_set_status STATUS
                    275: # -----------------------
                    276: # Set $? to STATUS, without forking.
                    277: as_fn_set_status ()
                    278: {
                    279:   return $1
                    280: } # as_fn_set_status
                    281: 
                    282: # as_fn_exit STATUS
                    283: # -----------------
                    284: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    285: as_fn_exit ()
                    286: {
                    287:   set +e
                    288:   as_fn_set_status $1
                    289:   exit $1
                    290: } # as_fn_exit
                    291: 
                    292: # as_fn_mkdir_p
                    293: # -------------
                    294: # Create "$as_dir" as a directory, including parents if necessary.
                    295: as_fn_mkdir_p ()
                    296: {
                    297: 
                    298:   case $as_dir in #(
                    299:   -*) as_dir=./$as_dir;;
                    300:   esac
                    301:   test -d "$as_dir" || eval $as_mkdir_p || {
                    302:     as_dirs=
                    303:     while :; do
                    304:       case $as_dir in #(
                    305:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    306:       *) as_qdir=$as_dir;;
                    307:       esac
                    308:       as_dirs="'$as_qdir' $as_dirs"
                    309:       as_dir=`$as_dirname -- "$as_dir" ||
                    310: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    311:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    312:         X"$as_dir" : 'X\(//\)$' \| \
                    313:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    314: $as_echo X"$as_dir" |
                    315:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    316:            s//\1/
                    317:            q
                    318:          }
                    319:          /^X\(\/\/\)[^/].*/{
                    320:            s//\1/
                    321:            q
                    322:          }
                    323:          /^X\(\/\/\)$/{
                    324:            s//\1/
                    325:            q
                    326:          }
                    327:          /^X\(\/\).*/{
                    328:            s//\1/
                    329:            q
                    330:          }
                    331:          s/.*/./; q'`
                    332:       test -d "$as_dir" && break
                    333:     done
                    334:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    335:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    336: 
                    337: 
                    338: } # as_fn_mkdir_p
                    339: # as_fn_append VAR VALUE
                    340: # ----------------------
                    341: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    342: # advantage of any shell optimizations that allow amortized linear growth over
                    343: # repeated appends, instead of the typical quadratic growth present in naive
                    344: # implementations.
                    345: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    346:   eval 'as_fn_append ()
                    347:   {
                    348:     eval $1+=\$2
                    349:   }'
                    350: else
                    351:   as_fn_append ()
                    352:   {
                    353:     eval $1=\$$1\$2
                    354:   }
                    355: fi # as_fn_append
                    356: 
                    357: # as_fn_arith ARG...
                    358: # ------------------
                    359: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    360: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    361: # must be portable across $(()) and expr.
                    362: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    363:   eval 'as_fn_arith ()
                    364:   {
                    365:     as_val=$(( $* ))
                    366:   }'
                    367: else
                    368:   as_fn_arith ()
                    369:   {
                    370:     as_val=`expr "$@" || test $? -eq 1`
                    371:   }
                    372: fi # as_fn_arith
                    373: 
                    374: 
                    375: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    376: # ----------------------------------------
                    377: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    378: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    379: # script with STATUS, using 1 if that was 0.
                    380: as_fn_error ()
                    381: {
                    382:   as_status=$1; test $as_status -eq 0 && as_status=1
                    383:   if test "$4"; then
                    384:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    385:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    386:   fi
                    387:   $as_echo "$as_me: error: $2" >&2
                    388:   as_fn_exit $as_status
                    389: } # as_fn_error
1.62      paf       390: 
1.150     moko      391: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    392:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf       393:   as_expr=expr
                    394: else
                    395:   as_expr=false
                    396: fi
                    397: 
1.150     moko      398: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf       399:   as_basename=basename
                    400: else
                    401:   as_basename=false
                    402: fi
                    403: 
1.150     moko      404: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    405:   as_dirname=dirname
                    406: else
                    407:   as_dirname=false
                    408: fi
1.62      paf       409: 
1.150     moko      410: as_me=`$as_basename -- "$0" ||
1.62      paf       411: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    412:         X"$0" : 'X\(//\)$' \| \
1.150     moko      413:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    414: $as_echo X/"$0" |
                    415:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    416:            s//\1/
                    417:            q
                    418:          }
                    419:          /^X\/\(\/\/\)$/{
                    420:            s//\1/
                    421:            q
                    422:          }
                    423:          /^X\/\(\/\).*/{
                    424:            s//\1/
                    425:            q
                    426:          }
                    427:          s/.*/./; q'`
1.62      paf       428: 
                    429: # Avoid depending upon Character Ranges.
                    430: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    431: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    432: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    433: as_cr_digits='0123456789'
                    434: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    435: 
                    436: 
1.150     moko      437:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    438:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    439:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    440:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    441:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    442:   sed -n '
                    443:     p
                    444:     /[$]LINENO/=
                    445:   ' <$as_myself |
1.62      paf       446:     sed '
1.150     moko      447:       s/[$]LINENO.*/&-/
                    448:       t lineno
                    449:       b
                    450:       :lineno
1.62      paf       451:       N
1.150     moko      452:       :loop
                    453:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.62      paf       454:       t loop
1.150     moko      455:       s/-\n.*//
1.62      paf       456:     ' >$as_me.lineno &&
1.150     moko      457:   chmod +x "$as_me.lineno" ||
                    458:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.62      paf       459: 
                    460:   # Don't try to exec as it changes $[0], causing all sort of problems
                    461:   # (the dirname of $[0] is not the place where we might find the
1.150     moko      462:   # original and so on.  Autoconf is especially sensitive to this).
                    463:   . "./$as_me.lineno"
1.62      paf       464:   # Exit status is that of the last command.
                    465:   exit
                    466: }
                    467: 
1.150     moko      468: ECHO_C= ECHO_N= ECHO_T=
                    469: case `echo -n x` in #(((((
                    470: -n*)
                    471:   case `echo 'xy\c'` in
                    472:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    473:   xy)  ECHO_C='\c';;
                    474:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    475:        ECHO_T='        ';;
                    476:   esac;;
                    477: *)
                    478:   ECHO_N='-n';;
1.62      paf       479: esac
                    480: 
1.150     moko      481: rm -f conf$$ conf$$.exe conf$$.file
                    482: if test -d conf$$.dir; then
                    483:   rm -f conf$$.dir/conf$$.file
1.62      paf       484: else
1.150     moko      485:   rm -f conf$$.dir
                    486:   mkdir conf$$.dir 2>/dev/null
1.62      paf       487: fi
1.150     moko      488: if (echo >conf$$.file) 2>/dev/null; then
                    489:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    490:     as_ln_s='ln -s'
                    491:     # ... but there are two gotchas:
                    492:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    493:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    494:     # In both cases, we have to default to `cp -p'.
                    495:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    496:       as_ln_s='cp -p'
                    497:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    498:     as_ln_s=ln
                    499:   else
1.62      paf       500:     as_ln_s='cp -p'
                    501:   fi
                    502: else
                    503:   as_ln_s='cp -p'
                    504: fi
1.150     moko      505: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    506: rmdir conf$$.dir 2>/dev/null
1.62      paf       507: 
                    508: if mkdir -p . 2>/dev/null; then
1.150     moko      509:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf       510: else
1.86      paf       511:   test -d ./-p && rmdir ./-p
1.62      paf       512:   as_mkdir_p=false
                    513: fi
                    514: 
1.150     moko      515: if test -x / >/dev/null 2>&1; then
                    516:   as_test_x='test -x'
                    517: else
                    518:   if ls -dL / >/dev/null 2>&1; then
                    519:     as_ls_L_option=L
                    520:   else
                    521:     as_ls_L_option=
                    522:   fi
                    523:   as_test_x='
                    524:     eval sh -c '\''
                    525:       if test -d "$1"; then
                    526:        test -d "$1/.";
                    527:       else
                    528:        case $1 in #(
                    529:        -*)set "./$1";;
                    530:        esac;
                    531:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                    532:        ???[sx]*):;;*)false;;esac;fi
                    533:     '\'' sh
                    534:   '
                    535: fi
                    536: as_executable_p=$as_test_x
1.62      paf       537: 
                    538: # Sed expression to map a string onto a valid CPP name.
1.86      paf       539: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       540: 
                    541: # Sed expression to map a string onto a valid variable name.
1.86      paf       542: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       543: 
1.128     moko      544: lt_ltdl_dir='src/lib/ltdl'
                    545: 
                    546: SHELL=${CONFIG_SHELL-/bin/sh}
                    547: 
                    548: lt_dlopen_dir="$lt_ltdl_dir"
                    549: 
1.1       paf       550: 
1.150     moko      551: test -n "$DJDIR" || exec 7<&0 </dev/null
                    552: exec 6>&1
                    553: 
1.62      paf       554: # Name of the host.
1.150     moko      555: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.62      paf       556: # so uname gets run too.
                    557: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    558: 
                    559: #
                    560: # Initializations.
                    561: #
1.1       paf       562: ac_default_prefix=/usr/local
1.150     moko      563: ac_clean_files=
1.62      paf       564: ac_config_libobj_dir=.
1.150     moko      565: LIBOBJS=
1.62      paf       566: cross_compiling=no
                    567: subdirs=
                    568: MFLAGS=
                    569: MAKEFLAGS=
                    570: 
                    571: # Identity of this package.
1.128     moko      572: PACKAGE_NAME='parser'
                    573: PACKAGE_TARNAME='parser'
1.153     moko      574: PACKAGE_VERSION='3.4.2'
                    575: PACKAGE_STRING='parser 3.4.2'
1.128     moko      576: PACKAGE_BUGREPORT=''
1.150     moko      577: PACKAGE_URL=''
1.62      paf       578: 
                    579: ac_unique_file="README"
                    580: # Factoring default headers for most tests.
                    581: ac_includes_default="\
                    582: #include <stdio.h>
1.150     moko      583: #ifdef HAVE_SYS_TYPES_H
1.62      paf       584: # include <sys/types.h>
                    585: #endif
1.150     moko      586: #ifdef HAVE_SYS_STAT_H
1.62      paf       587: # include <sys/stat.h>
                    588: #endif
1.150     moko      589: #ifdef STDC_HEADERS
1.62      paf       590: # include <stdlib.h>
                    591: # include <stddef.h>
                    592: #else
1.150     moko      593: # ifdef HAVE_STDLIB_H
1.62      paf       594: #  include <stdlib.h>
                    595: # endif
                    596: #endif
1.150     moko      597: #ifdef HAVE_STRING_H
                    598: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.62      paf       599: #  include <memory.h>
                    600: # endif
                    601: # include <string.h>
                    602: #endif
1.150     moko      603: #ifdef HAVE_STRINGS_H
1.62      paf       604: # include <strings.h>
                    605: #endif
1.150     moko      606: #ifdef HAVE_INTTYPES_H
1.62      paf       607: # include <inttypes.h>
                    608: #endif
1.150     moko      609: #ifdef HAVE_STDINT_H
                    610: # include <stdint.h>
                    611: #endif
                    612: #ifdef HAVE_UNISTD_H
1.62      paf       613: # include <unistd.h>
                    614: #endif"
                    615: 
1.150     moko      616: enable_option_checking=no
                    617: ac_subst_vars='ltdl_LTLIBOBJS
                    618: ltdl_LIBOBJS
                    619: am__EXEEXT_FALSE
                    620: am__EXEEXT_TRUE
                    621: LTLIBOBJS
                    622: LIBOBJS
                    623: LTDLOPEN
                    624: LT_CONFIG_H
                    625: subdirs
                    626: CONVENIENCE_LTDL_FALSE
                    627: CONVENIENCE_LTDL_TRUE
                    628: INSTALL_LTDL_FALSE
                    629: INSTALL_LTDL_TRUE
                    630: ARGZ_H
                    631: sys_symbol_underscore
                    632: LIBADD_DL
                    633: LT_DLPREOPEN
                    634: LIBADD_DLD_LINK
                    635: LIBADD_SHL_LOAD
                    636: LIBADD_DLOPEN
                    637: LT_DLLOADERS
                    638: INCLTDL
                    639: LTDLINCL
                    640: LTDLDEPS
                    641: LIBLTDL
                    642: CXXCPP
                    643: CPP
                    644: OTOOL64
                    645: OTOOL
                    646: LIPO
                    647: NMEDIT
                    648: DSYMUTIL
                    649: MANIFEST_TOOL
                    650: RANLIB
                    651: ac_ct_AR
                    652: AR
                    653: LN_S
                    654: NM
                    655: ac_ct_DUMPBIN
                    656: DUMPBIN
                    657: LD
                    658: FGREP
                    659: EGREP
                    660: GREP
                    661: SED
                    662: LIBTOOL
                    663: OBJDUMP
                    664: DLLTOOL
                    665: AS
                    666: COMPILE_APACHE_MODULE_FALSE
                    667: COMPILE_APACHE_MODULE_TRUE
                    668: APACHE_CFLAGS
                    669: APACHE_INC
                    670: APACHE
                    671: MIME_LIBS
                    672: MIME_INCLUDES
                    673: XML_LIBS
                    674: XML_INCLUDES
                    675: PCRE_LIBS
                    676: PCRE_INCLUDES
                    677: GC_LIBS
                    678: dll_extension
                    679: am__fastdepCC_FALSE
                    680: am__fastdepCC_TRUE
                    681: CCDEPMODE
                    682: ac_ct_CC
                    683: CFLAGS
                    684: CC
                    685: am__fastdepCXX_FALSE
                    686: am__fastdepCXX_TRUE
                    687: CXXDEPMODE
                    688: AMDEPBACKSLASH
                    689: AMDEP_FALSE
                    690: AMDEP_TRUE
                    691: am__quote
                    692: am__include
                    693: DEPDIR
                    694: OBJEXT
                    695: EXEEXT
                    696: ac_ct_CXX
                    697: CPPFLAGS
                    698: LDFLAGS
                    699: CXXFLAGS
                    700: CXX
                    701: YFLAGS
                    702: YACC
                    703: host_os
                    704: host_vendor
                    705: host_cpu
                    706: host
                    707: build_os
                    708: build_vendor
                    709: build_cpu
                    710: build
                    711: P3S
                    712: am__untar
                    713: am__tar
                    714: AMTAR
                    715: am__leading_dot
                    716: SET_MAKE
                    717: AWK
                    718: mkdir_p
                    719: MKDIR_P
                    720: INSTALL_STRIP_PROGRAM
                    721: STRIP
                    722: install_sh
                    723: MAKEINFO
                    724: AUTOHEADER
                    725: AUTOMAKE
                    726: AUTOCONF
                    727: ACLOCAL
                    728: VERSION
                    729: PACKAGE
                    730: CYGPATH_W
                    731: am__isrc
                    732: INSTALL_DATA
                    733: INSTALL_SCRIPT
                    734: INSTALL_PROGRAM
                    735: target_alias
                    736: host_alias
                    737: build_alias
                    738: LIBS
                    739: ECHO_T
                    740: ECHO_N
                    741: ECHO_C
                    742: DEFS
                    743: mandir
                    744: localedir
                    745: libdir
                    746: psdir
                    747: pdfdir
                    748: dvidir
                    749: htmldir
                    750: infodir
                    751: docdir
                    752: oldincludedir
                    753: includedir
                    754: localstatedir
                    755: sharedstatedir
                    756: sysconfdir
                    757: datadir
                    758: datarootdir
                    759: libexecdir
                    760: sbindir
                    761: bindir
                    762: program_transform_name
                    763: prefix
                    764: exec_prefix
                    765: PACKAGE_URL
                    766: PACKAGE_BUGREPORT
                    767: PACKAGE_STRING
                    768: PACKAGE_VERSION
                    769: PACKAGE_TARNAME
                    770: PACKAGE_NAME
                    771: PATH_SEPARATOR
                    772: SHELL'
1.62      paf       773: ac_subst_files=''
1.150     moko      774: ac_user_opts='
                    775: enable_option_checking
                    776: enable_dependency_tracking
                    777: with_build_warnings
                    778: with_assertions
                    779: with_sjlj_exceptions
                    780: enable_safe_mode
                    781: enable_execs
                    782: enable_stringstream
                    783: with_gc
                    784: with_pcre
                    785: with_xml
1.154   ! moko      786: with_mailreceive
1.150     moko      787: with_sendmail
                    788: with_apache
                    789: with_pic
                    790: enable_shared
                    791: enable_static
                    792: enable_fast_install
                    793: with_gnu_ld
                    794: with_sysroot
                    795: enable_libtool_lock
                    796: with_included_ltdl
                    797: with_ltdl_include
                    798: with_ltdl_lib
                    799: enable_ltdl_install
                    800: '
                    801:       ac_precious_vars='build_alias
                    802: host_alias
                    803: target_alias
                    804: YACC
                    805: YFLAGS
                    806: CXX
                    807: CXXFLAGS
                    808: LDFLAGS
                    809: LIBS
                    810: CPPFLAGS
                    811: CCC
                    812: CC
                    813: CFLAGS
                    814: CPP
                    815: CXXCPP'
                    816: ac_subdirs_all='src/lib/ltdl'
1.1       paf       817: 
                    818: # Initialize some variables set by options.
1.62      paf       819: ac_init_help=
                    820: ac_init_version=false
1.150     moko      821: ac_unrecognized_opts=
                    822: ac_unrecognized_sep=
1.1       paf       823: # The variables have the same names as the options, with
                    824: # dashes changed to underlines.
1.62      paf       825: cache_file=/dev/null
1.1       paf       826: exec_prefix=NONE
                    827: no_create=
                    828: no_recursion=
                    829: prefix=NONE
                    830: program_prefix=NONE
                    831: program_suffix=NONE
                    832: program_transform_name=s,x,x,
                    833: silent=
                    834: site=
                    835: srcdir=
                    836: verbose=
                    837: x_includes=NONE
                    838: x_libraries=NONE
1.62      paf       839: 
                    840: # Installation directory options.
                    841: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    842: # and all the variables that are supposed to be based on exec_prefix
                    843: # by default will actually change.
                    844: # Use braces instead of parens because sh, perl, etc. also accept them.
1.150     moko      845: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       846: bindir='${exec_prefix}/bin'
                    847: sbindir='${exec_prefix}/sbin'
                    848: libexecdir='${exec_prefix}/libexec'
1.150     moko      849: datarootdir='${prefix}/share'
                    850: datadir='${datarootdir}'
1.1       paf       851: sysconfdir='${prefix}/etc'
                    852: sharedstatedir='${prefix}/com'
                    853: localstatedir='${prefix}/var'
                    854: includedir='${prefix}/include'
                    855: oldincludedir='/usr/include'
1.150     moko      856: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    857: infodir='${datarootdir}/info'
                    858: htmldir='${docdir}'
                    859: dvidir='${docdir}'
                    860: pdfdir='${docdir}'
                    861: psdir='${docdir}'
                    862: libdir='${exec_prefix}/lib'
                    863: localedir='${datarootdir}/locale'
                    864: mandir='${datarootdir}/man'
1.1       paf       865: 
                    866: ac_prev=
1.150     moko      867: ac_dashdash=
1.1       paf       868: for ac_option
                    869: do
                    870:   # If the previous option needs an argument, assign it.
                    871:   if test -n "$ac_prev"; then
1.150     moko      872:     eval $ac_prev=\$ac_option
1.1       paf       873:     ac_prev=
                    874:     continue
                    875:   fi
                    876: 
1.150     moko      877:   case $ac_option in
                    878:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    879:   *=)   ac_optarg= ;;
                    880:   *)    ac_optarg=yes ;;
                    881:   esac
1.1       paf       882: 
                    883:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    884: 
1.150     moko      885:   case $ac_dashdash$ac_option in
                    886:   --)
                    887:     ac_dashdash=yes ;;
1.1       paf       888: 
                    889:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    890:     ac_prev=bindir ;;
                    891:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       892:     bindir=$ac_optarg ;;
1.1       paf       893: 
                    894:   -build | --build | --buil | --bui | --bu)
1.62      paf       895:     ac_prev=build_alias ;;
1.1       paf       896:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       897:     build_alias=$ac_optarg ;;
1.1       paf       898: 
                    899:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    900:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    901:     ac_prev=cache_file ;;
                    902:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    903:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       904:     cache_file=$ac_optarg ;;
                    905: 
                    906:   --config-cache | -C)
                    907:     cache_file=config.cache ;;
1.1       paf       908: 
1.150     moko      909:   -datadir | --datadir | --datadi | --datad)
1.1       paf       910:     ac_prev=datadir ;;
1.150     moko      911:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.62      paf       912:     datadir=$ac_optarg ;;
1.1       paf       913: 
1.150     moko      914:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    915:   | --dataroo | --dataro | --datar)
                    916:     ac_prev=datarootdir ;;
                    917:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    918:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    919:     datarootdir=$ac_optarg ;;
                    920: 
1.1       paf       921:   -disable-* | --disable-*)
1.150     moko      922:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       923:     # Reject names that are not valid shell variable names.
1.150     moko      924:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    925:       as_fn_error $? "invalid feature name: $ac_useropt"
                    926:     ac_useropt_orig=$ac_useropt
                    927:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    928:     case $ac_user_opts in
                    929:       *"
                    930: "enable_$ac_useropt"
                    931: "*) ;;
                    932:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    933:         ac_unrecognized_sep=', ';;
                    934:     esac
                    935:     eval enable_$ac_useropt=no ;;
                    936: 
                    937:   -docdir | --docdir | --docdi | --doc | --do)
                    938:     ac_prev=docdir ;;
                    939:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    940:     docdir=$ac_optarg ;;
                    941: 
                    942:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    943:     ac_prev=dvidir ;;
                    944:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    945:     dvidir=$ac_optarg ;;
1.1       paf       946: 
                    947:   -enable-* | --enable-*)
1.150     moko      948:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       949:     # Reject names that are not valid shell variable names.
1.150     moko      950:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    951:       as_fn_error $? "invalid feature name: $ac_useropt"
                    952:     ac_useropt_orig=$ac_useropt
                    953:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    954:     case $ac_user_opts in
                    955:       *"
                    956: "enable_$ac_useropt"
                    957: "*) ;;
                    958:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    959:         ac_unrecognized_sep=', ';;
1.1       paf       960:     esac
1.150     moko      961:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf       962: 
                    963:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    964:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    965:   | --exec | --exe | --ex)
                    966:     ac_prev=exec_prefix ;;
                    967:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    968:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    969:   | --exec=* | --exe=* | --ex=*)
1.62      paf       970:     exec_prefix=$ac_optarg ;;
1.1       paf       971: 
                    972:   -gas | --gas | --ga | --g)
                    973:     # Obsolete; use --with-gas.
                    974:     with_gas=yes ;;
                    975: 
1.62      paf       976:   -help | --help | --hel | --he | -h)
                    977:     ac_init_help=long ;;
                    978:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    979:     ac_init_help=recursive ;;
                    980:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    981:     ac_init_help=short ;;
1.1       paf       982: 
                    983:   -host | --host | --hos | --ho)
1.62      paf       984:     ac_prev=host_alias ;;
1.1       paf       985:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf       986:     host_alias=$ac_optarg ;;
1.1       paf       987: 
1.150     moko      988:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    989:     ac_prev=htmldir ;;
                    990:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    991:   | --ht=*)
                    992:     htmldir=$ac_optarg ;;
                    993: 
1.1       paf       994:   -includedir | --includedir | --includedi | --included | --include \
                    995:   | --includ | --inclu | --incl | --inc)
                    996:     ac_prev=includedir ;;
                    997:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    998:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf       999:     includedir=$ac_optarg ;;
1.1       paf      1000: 
                   1001:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1002:     ac_prev=infodir ;;
                   1003:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf      1004:     infodir=$ac_optarg ;;
1.1       paf      1005: 
                   1006:   -libdir | --libdir | --libdi | --libd)
                   1007:     ac_prev=libdir ;;
                   1008:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf      1009:     libdir=$ac_optarg ;;
1.1       paf      1010: 
                   1011:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1012:   | --libexe | --libex | --libe)
                   1013:     ac_prev=libexecdir ;;
                   1014:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1015:   | --libexe=* | --libex=* | --libe=*)
1.62      paf      1016:     libexecdir=$ac_optarg ;;
1.1       paf      1017: 
1.150     moko     1018:   -localedir | --localedir | --localedi | --localed | --locale)
                   1019:     ac_prev=localedir ;;
                   1020:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1021:     localedir=$ac_optarg ;;
                   1022: 
1.1       paf      1023:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.150     moko     1024:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1025:     ac_prev=localstatedir ;;
                   1026:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.150     moko     1027:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.62      paf      1028:     localstatedir=$ac_optarg ;;
1.1       paf      1029: 
                   1030:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1031:     ac_prev=mandir ;;
                   1032:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf      1033:     mandir=$ac_optarg ;;
1.1       paf      1034: 
                   1035:   -nfp | --nfp | --nf)
                   1036:     # Obsolete; use --without-fp.
                   1037:     with_fp=no ;;
                   1038: 
                   1039:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf      1040:   | --no-cr | --no-c | -n)
1.1       paf      1041:     no_create=yes ;;
                   1042: 
                   1043:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1044:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1045:     no_recursion=yes ;;
                   1046: 
                   1047:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1048:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1049:   | --oldin | --oldi | --old | --ol | --o)
                   1050:     ac_prev=oldincludedir ;;
                   1051:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1052:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1053:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf      1054:     oldincludedir=$ac_optarg ;;
1.1       paf      1055: 
                   1056:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1057:     ac_prev=prefix ;;
                   1058:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf      1059:     prefix=$ac_optarg ;;
1.1       paf      1060: 
                   1061:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1062:   | --program-pre | --program-pr | --program-p)
                   1063:     ac_prev=program_prefix ;;
                   1064:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1065:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf      1066:     program_prefix=$ac_optarg ;;
1.1       paf      1067: 
                   1068:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1069:   | --program-suf | --program-su | --program-s)
                   1070:     ac_prev=program_suffix ;;
                   1071:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1072:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf      1073:     program_suffix=$ac_optarg ;;
1.1       paf      1074: 
                   1075:   -program-transform-name | --program-transform-name \
                   1076:   | --program-transform-nam | --program-transform-na \
                   1077:   | --program-transform-n | --program-transform- \
                   1078:   | --program-transform | --program-transfor \
                   1079:   | --program-transfo | --program-transf \
                   1080:   | --program-trans | --program-tran \
                   1081:   | --progr-tra | --program-tr | --program-t)
                   1082:     ac_prev=program_transform_name ;;
                   1083:   -program-transform-name=* | --program-transform-name=* \
                   1084:   | --program-transform-nam=* | --program-transform-na=* \
                   1085:   | --program-transform-n=* | --program-transform-=* \
                   1086:   | --program-transform=* | --program-transfor=* \
                   1087:   | --program-transfo=* | --program-transf=* \
                   1088:   | --program-trans=* | --program-tran=* \
                   1089:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf      1090:     program_transform_name=$ac_optarg ;;
1.1       paf      1091: 
1.150     moko     1092:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1093:     ac_prev=pdfdir ;;
                   1094:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1095:     pdfdir=$ac_optarg ;;
                   1096: 
                   1097:   -psdir | --psdir | --psdi | --psd | --ps)
                   1098:     ac_prev=psdir ;;
                   1099:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1100:     psdir=$ac_optarg ;;
                   1101: 
1.1       paf      1102:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1103:   | -silent | --silent | --silen | --sile | --sil)
                   1104:     silent=yes ;;
                   1105: 
                   1106:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1107:     ac_prev=sbindir ;;
                   1108:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1109:   | --sbi=* | --sb=*)
1.62      paf      1110:     sbindir=$ac_optarg ;;
1.1       paf      1111: 
                   1112:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1113:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1114:   | --sharedst | --shareds | --shared | --share | --shar \
                   1115:   | --sha | --sh)
                   1116:     ac_prev=sharedstatedir ;;
                   1117:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1118:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1119:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1120:   | --sha=* | --sh=*)
1.62      paf      1121:     sharedstatedir=$ac_optarg ;;
1.1       paf      1122: 
                   1123:   -site | --site | --sit)
                   1124:     ac_prev=site ;;
                   1125:   -site=* | --site=* | --sit=*)
1.62      paf      1126:     site=$ac_optarg ;;
1.1       paf      1127: 
                   1128:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1129:     ac_prev=srcdir ;;
                   1130:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf      1131:     srcdir=$ac_optarg ;;
1.1       paf      1132: 
                   1133:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1134:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1135:     ac_prev=sysconfdir ;;
                   1136:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1137:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf      1138:     sysconfdir=$ac_optarg ;;
1.1       paf      1139: 
                   1140:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf      1141:     ac_prev=target_alias ;;
1.1       paf      1142:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf      1143:     target_alias=$ac_optarg ;;
1.1       paf      1144: 
                   1145:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1146:     verbose=yes ;;
                   1147: 
1.62      paf      1148:   -version | --version | --versio | --versi | --vers | -V)
                   1149:     ac_init_version=: ;;
1.1       paf      1150: 
                   1151:   -with-* | --with-*)
1.150     moko     1152:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1153:     # Reject names that are not valid shell variable names.
1.150     moko     1154:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1155:       as_fn_error $? "invalid package name: $ac_useropt"
                   1156:     ac_useropt_orig=$ac_useropt
                   1157:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1158:     case $ac_user_opts in
                   1159:       *"
                   1160: "with_$ac_useropt"
                   1161: "*) ;;
                   1162:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1163:         ac_unrecognized_sep=', ';;
1.1       paf      1164:     esac
1.150     moko     1165:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1166: 
                   1167:   -without-* | --without-*)
1.150     moko     1168:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1169:     # Reject names that are not valid shell variable names.
1.150     moko     1170:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1171:       as_fn_error $? "invalid package name: $ac_useropt"
                   1172:     ac_useropt_orig=$ac_useropt
                   1173:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1174:     case $ac_user_opts in
                   1175:       *"
                   1176: "with_$ac_useropt"
                   1177: "*) ;;
                   1178:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1179:         ac_unrecognized_sep=', ';;
                   1180:     esac
                   1181:     eval with_$ac_useropt=no ;;
1.1       paf      1182: 
                   1183:   --x)
                   1184:     # Obsolete; use --with-x.
                   1185:     with_x=yes ;;
                   1186: 
                   1187:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1188:   | --x-incl | --x-inc | --x-in | --x-i)
                   1189:     ac_prev=x_includes ;;
                   1190:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1191:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf      1192:     x_includes=$ac_optarg ;;
1.1       paf      1193: 
                   1194:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1195:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1196:     ac_prev=x_libraries ;;
                   1197:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1198:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf      1199:     x_libraries=$ac_optarg ;;
1.1       paf      1200: 
1.150     moko     1201:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1202: Try \`$0 --help' for more information"
1.1       paf      1203:     ;;
                   1204: 
1.62      paf      1205:   *=*)
                   1206:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1207:     # Reject names that are not valid shell variable names.
1.150     moko     1208:     case $ac_envvar in #(
                   1209:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1210:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1211:     esac
                   1212:     eval $ac_envvar=\$ac_optarg
1.62      paf      1213:     export $ac_envvar ;;
                   1214: 
1.1       paf      1215:   *)
1.62      paf      1216:     # FIXME: should be removed in autoconf 3.0.
1.150     moko     1217:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.62      paf      1218:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.150     moko     1219:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1220:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1221:     ;;
                   1222: 
                   1223:   esac
                   1224: done
                   1225: 
                   1226: if test -n "$ac_prev"; then
1.62      paf      1227:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.150     moko     1228:   as_fn_error $? "missing argument to $ac_option"
1.1       paf      1229: fi
                   1230: 
1.150     moko     1231: if test -n "$ac_unrecognized_opts"; then
                   1232:   case $enable_option_checking in
                   1233:     no) ;;
                   1234:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1235:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1236:   esac
                   1237: fi
                   1238: 
                   1239: # Check all directory arguments for consistency.
                   1240: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1241:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1242:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1243:                libdir localedir mandir
1.62      paf      1244: do
1.150     moko     1245:   eval ac_val=\$$ac_var
                   1246:   # Remove trailing slashes.
1.62      paf      1247:   case $ac_val in
1.150     moko     1248:     */ )
                   1249:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1250:       eval $ac_var=\$ac_val;;
1.62      paf      1251:   esac
1.150     moko     1252:   # Be sure to have absolute directory names.
1.62      paf      1253:   case $ac_val in
1.150     moko     1254:     [\\/$]* | ?:[\\/]* )  continue;;
                   1255:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1256:   esac
1.150     moko     1257:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1258: done
                   1259: 
1.62      paf      1260: # There might be people who depend on the old broken behavior: `$host'
                   1261: # used to hold the argument of --host etc.
                   1262: # FIXME: To remove some day.
                   1263: build=$build_alias
                   1264: host=$host_alias
                   1265: target=$target_alias
                   1266: 
                   1267: # FIXME: To remove some day.
                   1268: if test "x$host_alias" != x; then
                   1269:   if test "x$build_alias" = x; then
                   1270:     cross_compiling=maybe
1.150     moko     1271:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
                   1272:     If a cross compiler is detected then cross compile mode will be used" >&2
1.62      paf      1273:   elif test "x$build_alias" != "x$host_alias"; then
                   1274:     cross_compiling=yes
                   1275:   fi
                   1276: fi
                   1277: 
                   1278: ac_tool_prefix=
                   1279: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1280: 
1.62      paf      1281: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1282: 
                   1283: 
1.150     moko     1284: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1285: ac_ls_di=`ls -di .` &&
                   1286: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1287:   as_fn_error $? "working directory cannot be determined"
                   1288: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1289:   as_fn_error $? "pwd does not report name of working directory"
                   1290: 
                   1291: 
1.1       paf      1292: # Find the source files, if location was not specified.
                   1293: if test -z "$srcdir"; then
                   1294:   ac_srcdir_defaulted=yes
1.150     moko     1295:   # Try the directory containing this script, then the parent directory.
                   1296:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1297: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1298:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1299:         X"$as_myself" : 'X\(//\)$' \| \
                   1300:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1301: $as_echo X"$as_myself" |
                   1302:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1303:            s//\1/
                   1304:            q
                   1305:          }
                   1306:          /^X\(\/\/\)[^/].*/{
                   1307:            s//\1/
                   1308:            q
                   1309:          }
                   1310:          /^X\(\/\/\)$/{
                   1311:            s//\1/
                   1312:            q
                   1313:          }
                   1314:          /^X\(\/\).*/{
                   1315:            s//\1/
                   1316:            q
                   1317:          }
                   1318:          s/.*/./; q'`
1.1       paf      1319:   srcdir=$ac_confdir
1.150     moko     1320:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1321:     srcdir=..
                   1322:   fi
                   1323: else
                   1324:   ac_srcdir_defaulted=no
                   1325: fi
1.150     moko     1326: if test ! -r "$srcdir/$ac_unique_file"; then
                   1327:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1328:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1329: fi
                   1330: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1331: ac_abs_confdir=`(
                   1332:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1333:        pwd)`
                   1334: # When building in place, set srcdir=.
                   1335: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1336:   srcdir=.
                   1337: fi
                   1338: # Remove unnecessary trailing slashes from srcdir.
                   1339: # Double slashes in file names in object file debugging info
                   1340: # mess up M-x gdb in Emacs.
                   1341: case $srcdir in
                   1342: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1343: esac
                   1344: for ac_var in $ac_precious_vars; do
                   1345:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1346:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1347:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1348:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1349: done
1.62      paf      1350: 
                   1351: #
                   1352: # Report the --help message.
                   1353: #
                   1354: if test "$ac_init_help" = "long"; then
                   1355:   # Omit some internal or obsolete options to make the list less imposing.
                   1356:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1357:   cat <<_ACEOF
1.153     moko     1358: \`configure' configures parser 3.4.2 to adapt to many kinds of systems.
1.62      paf      1359: 
                   1360: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1361: 
                   1362: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1363: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1364: 
                   1365: Defaults for the options are specified in brackets.
                   1366: 
                   1367: Configuration:
                   1368:   -h, --help              display this help and exit
                   1369:       --help=short        display options specific to this package
                   1370:       --help=recursive    display the short help of all the included packages
                   1371:   -V, --version           display version information and exit
1.150     moko     1372:   -q, --quiet, --silent   do not print \`checking ...' messages
1.62      paf      1373:       --cache-file=FILE   cache test results in FILE [disabled]
                   1374:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1375:   -n, --no-create         do not create output files
                   1376:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1377: 
                   1378: Installation directories:
                   1379:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.150     moko     1380:                           [$ac_default_prefix]
1.62      paf      1381:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.150     moko     1382:                           [PREFIX]
1.62      paf      1383: 
                   1384: By default, \`make install' will install all the files in
                   1385: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1386: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1387: for instance \`--prefix=\$HOME'.
                   1388: 
                   1389: For better control, use the options below.
                   1390: 
                   1391: Fine tuning of the installation directories:
1.150     moko     1392:   --bindir=DIR            user executables [EPREFIX/bin]
                   1393:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1394:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1395:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1396:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1397:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1398:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1399:   --includedir=DIR        C header files [PREFIX/include]
                   1400:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1401:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1402:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1403:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1404:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1405:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1406:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser]
                   1407:   --htmldir=DIR           html documentation [DOCDIR]
                   1408:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1409:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1410:   --psdir=DIR             ps documentation [DOCDIR]
1.62      paf      1411: _ACEOF
                   1412: 
                   1413:   cat <<\_ACEOF
                   1414: 
                   1415: Program names:
                   1416:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1417:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1418:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1419: 
                   1420: System types:
                   1421:   --build=BUILD     configure for building on BUILD [guessed]
                   1422:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1423: _ACEOF
                   1424: fi
                   1425: 
                   1426: if test -n "$ac_init_help"; then
1.128     moko     1427:   case $ac_init_help in
1.153     moko     1428:      short | recursive ) echo "Configuration of parser 3.4.2:";;
1.128     moko     1429:    esac
1.62      paf      1430:   cat <<\_ACEOF
                   1431: 
                   1432: Optional Features:
1.150     moko     1433:   --disable-option-checking  ignore unrecognized --enable/--with options
1.62      paf      1434:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1435:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.86      paf      1436:   --disable-dependency-tracking  speeds up one-time build
                   1437:   --enable-dependency-tracking   do not reject slow dependency extractors
1.67      paf      1438:   --disable-safe-mode    to enable reading and executing
1.62      paf      1439:                           files belonging to group+user other then effective
1.146     moko     1440:   --disable-execs        to disable any execs
1.62      paf      1441:                           (file::exec, file::cgi, unix mail:send)
1.94      misha    1442:   --disable-stringstream  to disable stringstream usage.
                   1443:                           when disabled table.save use more memory but it's safer on freebsd 4.x
1.150     moko     1444:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1445:   --enable-static[=PKGS]  build static libraries [default=yes]
1.128     moko     1446:   --enable-fast-install[=PKGS]
                   1447:                           optimize for fast installation [default=yes]
                   1448:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1449:   --enable-ltdl-install   install libltdl
1.62      paf      1450: 
                   1451: Optional Packages:
                   1452:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1453:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf      1454:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.67      paf      1455:   --with-assertions       to enable assertions
1.128     moko     1456:   --with-sjlj-exceptions  enable simple 'throw' from dynamic library
1.146     moko     1457:   --with-gc=D             D is the directory where
1.142     moko     1458:                           Boehm garbage collecting library is installed
1.146     moko     1459:   --with-pcre=D           D is the directory where
1.142     moko     1460:                           PCRE library is installed
1.146     moko     1461:   --with-xml=D            D is the directory where
1.142     moko     1462:                           Gnome XML libraries are installed
1.154   ! moko     1463:   --with-mailreceive=D is the directory where
        !          1464:                           Gnome MIME library is installed
1.62      paf      1465:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                   1466:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                   1467:                           (makes parser ignore user-defined sendmail commands)
1.146     moko     1468:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko     1469:                           builds apache DSO module using apxs
1.150     moko     1470:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.128     moko     1471:                           both]
                   1472:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1473:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1474:                         (or the compiler's sysroot if not specified).
                   1475:   --with-included-ltdl    use the GNU ltdl sources included here
                   1476:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1477:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf      1478: 
                   1479: Some influential environment variables:
1.150     moko     1480:   YACC        The `Yet Another Compiler Compiler' implementation to use.
                   1481:               Defaults to the first program found out of: `bison -y', `byacc',
                   1482:               `yacc'.
                   1483:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1484:               This script will default YFLAGS to the empty string to avoid a
                   1485:               default value of `-d' given by some make applications.
1.66      paf      1486:   CXX         C++ compiler command
                   1487:   CXXFLAGS    C++ compiler flags
1.62      paf      1488:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1489:               nonstandard directory <lib dir>
1.150     moko     1490:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1491:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1492:               you have headers in a nonstandard directory <include dir>
1.66      paf      1493:   CC          C compiler command
                   1494:   CFLAGS      C compiler flags
                   1495:   CPP         C preprocessor
1.128     moko     1496:   CXXCPP      C++ preprocessor
1.62      paf      1497: 
                   1498: Use these variables to override the choices made by `configure' or to help
                   1499: it to find libraries and programs with nonstandard names/locations.
                   1500: 
1.150     moko     1501: Report bugs to the package provider.
1.62      paf      1502: _ACEOF
1.150     moko     1503: ac_status=$?
1.62      paf      1504: fi
                   1505: 
                   1506: if test "$ac_init_help" = "recursive"; then
                   1507:   # If there are subdirs, report their specific --help.
                   1508:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.150     moko     1509:     test -d "$ac_dir" ||
                   1510:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1511:       continue
1.62      paf      1512:     ac_builddir=.
                   1513: 
1.150     moko     1514: case "$ac_dir" in
                   1515: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1516: *)
                   1517:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1518:   # A ".." for each directory in $ac_dir_suffix.
                   1519:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1520:   case $ac_top_builddir_sub in
                   1521:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1522:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1523:   esac ;;
                   1524: esac
                   1525: ac_abs_top_builddir=$ac_pwd
                   1526: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1527: # for backward compatibility:
                   1528: ac_top_builddir=$ac_top_build_prefix
1.62      paf      1529: 
                   1530: case $srcdir in
1.150     moko     1531:   .)  # We are building in place.
1.62      paf      1532:     ac_srcdir=.
1.150     moko     1533:     ac_top_srcdir=$ac_top_builddir_sub
                   1534:     ac_abs_top_srcdir=$ac_pwd ;;
                   1535:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      1536:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     1537:     ac_top_srcdir=$srcdir
                   1538:     ac_abs_top_srcdir=$srcdir ;;
                   1539:   *) # Relative name.
                   1540:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1541:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1542:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      1543: esac
1.150     moko     1544: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.62      paf      1545: 
1.150     moko     1546:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1547:     # Check for guested configure.
                   1548:     if test -f "$ac_srcdir/configure.gnu"; then
                   1549:       echo &&
                   1550:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1551:     elif test -f "$ac_srcdir/configure"; then
                   1552:       echo &&
                   1553:       $SHELL "$ac_srcdir/configure" --help=recursive
1.62      paf      1554:     else
1.150     moko     1555:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1556:     fi || ac_status=$?
                   1557:     cd "$ac_pwd" || { ac_status=$?; break; }
1.62      paf      1558:   done
                   1559: fi
                   1560: 
1.150     moko     1561: test -n "$ac_init_help" && exit $ac_status
1.62      paf      1562: if $ac_init_version; then
                   1563:   cat <<\_ACEOF
1.153     moko     1564: parser configure 3.4.2
1.150     moko     1565: generated by GNU Autoconf 2.68
1.62      paf      1566: 
1.150     moko     1567: Copyright (C) 2010 Free Software Foundation, Inc.
1.62      paf      1568: This configure script is free software; the Free Software Foundation
                   1569: gives unlimited permission to copy, distribute and modify it.
                   1570: _ACEOF
1.150     moko     1571:   exit
1.62      paf      1572: fi
                   1573: 
1.150     moko     1574: ## ------------------------ ##
                   1575: ## Autoconf initialization. ##
                   1576: ## ------------------------ ##
                   1577: 
                   1578: # ac_fn_cxx_try_compile LINENO
                   1579: # ----------------------------
                   1580: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1581: ac_fn_cxx_try_compile ()
1.62      paf      1582: {
1.150     moko     1583:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1584:   rm -f conftest.$ac_objext
                   1585:   if { { ac_try="$ac_compile"
                   1586: case "(($ac_try" in
                   1587:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1588:   *) ac_try_echo=$ac_try;;
                   1589: esac
                   1590: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1591: $as_echo "$ac_try_echo"; } >&5
                   1592:   (eval "$ac_compile") 2>conftest.err
                   1593:   ac_status=$?
                   1594:   if test -s conftest.err; then
                   1595:     grep -v '^ *+' conftest.err >conftest.er1
                   1596:     cat conftest.er1 >&5
                   1597:     mv -f conftest.er1 conftest.err
                   1598:   fi
                   1599:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1600:   test $ac_status = 0; } && {
                   1601:         test -z "$ac_cxx_werror_flag" ||
                   1602:         test ! -s conftest.err
                   1603:        } && test -s conftest.$ac_objext; then :
                   1604:   ac_retval=0
                   1605: else
                   1606:   $as_echo "$as_me: failed program was:" >&5
                   1607: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      1608: 
1.150     moko     1609:        ac_retval=1
                   1610: fi
                   1611:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1612:   as_fn_set_status $ac_retval
1.62      paf      1613: 
1.150     moko     1614: } # ac_fn_cxx_try_compile
                   1615: 
                   1616: # ac_fn_c_try_compile LINENO
                   1617: # --------------------------
                   1618: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1619: ac_fn_c_try_compile ()
                   1620: {
                   1621:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1622:   rm -f conftest.$ac_objext
                   1623:   if { { ac_try="$ac_compile"
                   1624: case "(($ac_try" in
                   1625:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1626:   *) ac_try_echo=$ac_try;;
                   1627: esac
                   1628: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1629: $as_echo "$ac_try_echo"; } >&5
                   1630:   (eval "$ac_compile") 2>conftest.err
                   1631:   ac_status=$?
                   1632:   if test -s conftest.err; then
                   1633:     grep -v '^ *+' conftest.err >conftest.er1
                   1634:     cat conftest.er1 >&5
                   1635:     mv -f conftest.er1 conftest.err
                   1636:   fi
                   1637:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1638:   test $ac_status = 0; } && {
                   1639:         test -z "$ac_c_werror_flag" ||
                   1640:         test ! -s conftest.err
                   1641:        } && test -s conftest.$ac_objext; then :
                   1642:   ac_retval=0
                   1643: else
                   1644:   $as_echo "$as_me: failed program was:" >&5
                   1645: sed 's/^/| /' conftest.$ac_ext >&5
                   1646: 
                   1647:        ac_retval=1
                   1648: fi
                   1649:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1650:   as_fn_set_status $ac_retval
                   1651: 
                   1652: } # ac_fn_c_try_compile
                   1653: 
                   1654: # ac_fn_c_try_link LINENO
                   1655: # -----------------------
                   1656: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1657: ac_fn_c_try_link ()
                   1658: {
                   1659:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1660:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1661:   if { { ac_try="$ac_link"
                   1662: case "(($ac_try" in
                   1663:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1664:   *) ac_try_echo=$ac_try;;
                   1665: esac
                   1666: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1667: $as_echo "$ac_try_echo"; } >&5
                   1668:   (eval "$ac_link") 2>conftest.err
                   1669:   ac_status=$?
                   1670:   if test -s conftest.err; then
                   1671:     grep -v '^ *+' conftest.err >conftest.er1
                   1672:     cat conftest.er1 >&5
                   1673:     mv -f conftest.er1 conftest.err
                   1674:   fi
                   1675:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1676:   test $ac_status = 0; } && {
                   1677:         test -z "$ac_c_werror_flag" ||
                   1678:         test ! -s conftest.err
                   1679:        } && test -s conftest$ac_exeext && {
                   1680:         test "$cross_compiling" = yes ||
                   1681:         $as_test_x conftest$ac_exeext
                   1682:        }; then :
                   1683:   ac_retval=0
                   1684: else
                   1685:   $as_echo "$as_me: failed program was:" >&5
                   1686: sed 's/^/| /' conftest.$ac_ext >&5
                   1687: 
                   1688:        ac_retval=1
                   1689: fi
                   1690:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1691:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1692:   # interfere with the next link command; also delete a directory that is
                   1693:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1694:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1695:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1696:   as_fn_set_status $ac_retval
                   1697: 
                   1698: } # ac_fn_c_try_link
                   1699: 
                   1700: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1701: # -------------------------------------------------------
                   1702: # Tests whether HEADER exists and can be compiled using the include files in
                   1703: # INCLUDES, setting the cache variable VAR accordingly.
                   1704: ac_fn_c_check_header_compile ()
                   1705: {
                   1706:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1707:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1708: $as_echo_n "checking for $2... " >&6; }
                   1709: if eval \${$3+:} false; then :
                   1710:   $as_echo_n "(cached) " >&6
                   1711: else
                   1712:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1713: /* end confdefs.h.  */
                   1714: $4
                   1715: #include <$2>
                   1716: _ACEOF
                   1717: if ac_fn_c_try_compile "$LINENO"; then :
                   1718:   eval "$3=yes"
                   1719: else
                   1720:   eval "$3=no"
                   1721: fi
                   1722: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1723: fi
                   1724: eval ac_res=\$$3
                   1725:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1726: $as_echo "$ac_res" >&6; }
                   1727:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1728: 
                   1729: } # ac_fn_c_check_header_compile
                   1730: 
                   1731: # ac_fn_c_try_cpp LINENO
                   1732: # ----------------------
                   1733: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1734: ac_fn_c_try_cpp ()
                   1735: {
                   1736:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1737:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1738: case "(($ac_try" in
                   1739:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1740:   *) ac_try_echo=$ac_try;;
                   1741: esac
                   1742: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1743: $as_echo "$ac_try_echo"; } >&5
                   1744:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1745:   ac_status=$?
                   1746:   if test -s conftest.err; then
                   1747:     grep -v '^ *+' conftest.err >conftest.er1
                   1748:     cat conftest.er1 >&5
                   1749:     mv -f conftest.er1 conftest.err
                   1750:   fi
                   1751:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1752:   test $ac_status = 0; } > conftest.i && {
                   1753:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1754:         test ! -s conftest.err
                   1755:        }; then :
                   1756:   ac_retval=0
                   1757: else
                   1758:   $as_echo "$as_me: failed program was:" >&5
                   1759: sed 's/^/| /' conftest.$ac_ext >&5
                   1760: 
                   1761:     ac_retval=1
                   1762: fi
                   1763:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1764:   as_fn_set_status $ac_retval
                   1765: 
                   1766: } # ac_fn_c_try_cpp
                   1767: 
                   1768: # ac_fn_c_try_run LINENO
                   1769: # ----------------------
                   1770: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1771: # that executables *can* be run.
                   1772: ac_fn_c_try_run ()
                   1773: {
                   1774:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1775:   if { { ac_try="$ac_link"
                   1776: case "(($ac_try" in
                   1777:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1778:   *) ac_try_echo=$ac_try;;
                   1779: esac
                   1780: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1781: $as_echo "$ac_try_echo"; } >&5
                   1782:   (eval "$ac_link") 2>&5
                   1783:   ac_status=$?
                   1784:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1785:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1786:   { { case "(($ac_try" in
                   1787:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1788:   *) ac_try_echo=$ac_try;;
                   1789: esac
                   1790: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1791: $as_echo "$ac_try_echo"; } >&5
                   1792:   (eval "$ac_try") 2>&5
                   1793:   ac_status=$?
                   1794:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1795:   test $ac_status = 0; }; }; then :
                   1796:   ac_retval=0
                   1797: else
                   1798:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1799:        $as_echo "$as_me: failed program was:" >&5
                   1800: sed 's/^/| /' conftest.$ac_ext >&5
                   1801: 
                   1802:        ac_retval=$ac_status
                   1803: fi
                   1804:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1805:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1806:   as_fn_set_status $ac_retval
                   1807: 
                   1808: } # ac_fn_c_try_run
                   1809: 
                   1810: # ac_fn_c_check_func LINENO FUNC VAR
                   1811: # ----------------------------------
                   1812: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1813: ac_fn_c_check_func ()
                   1814: {
                   1815:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1816:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1817: $as_echo_n "checking for $2... " >&6; }
                   1818: if eval \${$3+:} false; then :
                   1819:   $as_echo_n "(cached) " >&6
                   1820: else
                   1821:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1822: /* end confdefs.h.  */
                   1823: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1824:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1825: #define $2 innocuous_$2
                   1826: 
                   1827: /* System header to define __stub macros and hopefully few prototypes,
                   1828:     which can conflict with char $2 (); below.
                   1829:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1830:     <limits.h> exists even on freestanding compilers.  */
                   1831: 
                   1832: #ifdef __STDC__
                   1833: # include <limits.h>
                   1834: #else
                   1835: # include <assert.h>
                   1836: #endif
                   1837: 
                   1838: #undef $2
                   1839: 
                   1840: /* Override any GCC internal prototype to avoid an error.
                   1841:    Use char because int might match the return type of a GCC
                   1842:    builtin and then its argument prototype would still apply.  */
                   1843: #ifdef __cplusplus
                   1844: extern "C"
                   1845: #endif
                   1846: char $2 ();
                   1847: /* The GNU C library defines this for functions which it implements
                   1848:     to always fail with ENOSYS.  Some functions are actually named
                   1849:     something starting with __ and the normal name is an alias.  */
                   1850: #if defined __stub_$2 || defined __stub___$2
                   1851: choke me
                   1852: #endif
                   1853: 
                   1854: int
                   1855: main ()
                   1856: {
                   1857: return $2 ();
                   1858:   ;
                   1859:   return 0;
                   1860: }
                   1861: _ACEOF
                   1862: if ac_fn_c_try_link "$LINENO"; then :
                   1863:   eval "$3=yes"
                   1864: else
                   1865:   eval "$3=no"
                   1866: fi
                   1867: rm -f core conftest.err conftest.$ac_objext \
                   1868:     conftest$ac_exeext conftest.$ac_ext
                   1869: fi
                   1870: eval ac_res=\$$3
                   1871:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1872: $as_echo "$ac_res" >&6; }
                   1873:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1874: 
                   1875: } # ac_fn_c_check_func
                   1876: 
                   1877: # ac_fn_cxx_try_cpp LINENO
                   1878: # ------------------------
                   1879: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1880: ac_fn_cxx_try_cpp ()
                   1881: {
                   1882:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1883:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1884: case "(($ac_try" in
                   1885:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1886:   *) ac_try_echo=$ac_try;;
                   1887: esac
                   1888: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1889: $as_echo "$ac_try_echo"; } >&5
                   1890:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1891:   ac_status=$?
                   1892:   if test -s conftest.err; then
                   1893:     grep -v '^ *+' conftest.err >conftest.er1
                   1894:     cat conftest.er1 >&5
                   1895:     mv -f conftest.er1 conftest.err
                   1896:   fi
                   1897:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1898:   test $ac_status = 0; } > conftest.i && {
                   1899:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1900:         test ! -s conftest.err
                   1901:        }; then :
                   1902:   ac_retval=0
                   1903: else
                   1904:   $as_echo "$as_me: failed program was:" >&5
                   1905: sed 's/^/| /' conftest.$ac_ext >&5
                   1906: 
                   1907:     ac_retval=1
                   1908: fi
                   1909:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1910:   as_fn_set_status $ac_retval
                   1911: 
                   1912: } # ac_fn_cxx_try_cpp
                   1913: 
                   1914: # ac_fn_cxx_try_link LINENO
                   1915: # -------------------------
                   1916: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1917: ac_fn_cxx_try_link ()
                   1918: {
                   1919:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1920:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1921:   if { { ac_try="$ac_link"
                   1922: case "(($ac_try" in
                   1923:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1924:   *) ac_try_echo=$ac_try;;
                   1925: esac
                   1926: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1927: $as_echo "$ac_try_echo"; } >&5
                   1928:   (eval "$ac_link") 2>conftest.err
                   1929:   ac_status=$?
                   1930:   if test -s conftest.err; then
                   1931:     grep -v '^ *+' conftest.err >conftest.er1
                   1932:     cat conftest.er1 >&5
                   1933:     mv -f conftest.er1 conftest.err
                   1934:   fi
                   1935:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1936:   test $ac_status = 0; } && {
                   1937:         test -z "$ac_cxx_werror_flag" ||
                   1938:         test ! -s conftest.err
                   1939:        } && test -s conftest$ac_exeext && {
                   1940:         test "$cross_compiling" = yes ||
                   1941:         $as_test_x conftest$ac_exeext
                   1942:        }; then :
                   1943:   ac_retval=0
                   1944: else
                   1945:   $as_echo "$as_me: failed program was:" >&5
                   1946: sed 's/^/| /' conftest.$ac_ext >&5
                   1947: 
                   1948:        ac_retval=1
                   1949: fi
                   1950:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1951:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1952:   # interfere with the next link command; also delete a directory that is
                   1953:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1954:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1955:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1956:   as_fn_set_status $ac_retval
                   1957: 
                   1958: } # ac_fn_cxx_try_link
                   1959: 
                   1960: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   1961: # ---------------------------------------------
                   1962: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   1963: # accordingly.
                   1964: ac_fn_c_check_decl ()
                   1965: {
                   1966:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1967:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   1968:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   1969:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   1970: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   1971: if eval \${$3+:} false; then :
                   1972:   $as_echo_n "(cached) " >&6
                   1973: else
                   1974:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1975: /* end confdefs.h.  */
                   1976: $4
                   1977: int
                   1978: main ()
                   1979: {
                   1980: #ifndef $as_decl_name
                   1981: #ifdef __cplusplus
                   1982:   (void) $as_decl_use;
                   1983: #else
                   1984:   (void) $as_decl_name;
                   1985: #endif
                   1986: #endif
                   1987: 
                   1988:   ;
                   1989:   return 0;
                   1990: }
                   1991: _ACEOF
                   1992: if ac_fn_c_try_compile "$LINENO"; then :
                   1993:   eval "$3=yes"
                   1994: else
                   1995:   eval "$3=no"
                   1996: fi
                   1997: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1998: fi
                   1999: eval ac_res=\$$3
                   2000:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2001: $as_echo "$ac_res" >&6; }
                   2002:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2003: 
                   2004: } # ac_fn_c_check_decl
                   2005: 
                   2006: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2007: # -------------------------------------------
                   2008: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2009: # variable VAR accordingly.
                   2010: ac_fn_c_check_type ()
                   2011: {
                   2012:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2013:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2014: $as_echo_n "checking for $2... " >&6; }
                   2015: if eval \${$3+:} false; then :
                   2016:   $as_echo_n "(cached) " >&6
                   2017: else
                   2018:   eval "$3=no"
                   2019:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2020: /* end confdefs.h.  */
                   2021: $4
                   2022: int
                   2023: main ()
                   2024: {
                   2025: if (sizeof ($2))
                   2026:         return 0;
                   2027:   ;
                   2028:   return 0;
                   2029: }
                   2030: _ACEOF
                   2031: if ac_fn_c_try_compile "$LINENO"; then :
                   2032:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2033: /* end confdefs.h.  */
                   2034: $4
                   2035: int
                   2036: main ()
                   2037: {
                   2038: if (sizeof (($2)))
                   2039:            return 0;
                   2040:   ;
                   2041:   return 0;
                   2042: }
                   2043: _ACEOF
                   2044: if ac_fn_c_try_compile "$LINENO"; then :
                   2045: 
                   2046: else
                   2047:   eval "$3=yes"
                   2048: fi
                   2049: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2050: fi
                   2051: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2052: fi
                   2053: eval ac_res=\$$3
                   2054:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2055: $as_echo "$ac_res" >&6; }
                   2056:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2057: 
                   2058: } # ac_fn_c_check_type
                   2059: 
                   2060: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2061: # -------------------------------------------------------
                   2062: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2063: # the include files in INCLUDES and setting the cache variable VAR
                   2064: # accordingly.
                   2065: ac_fn_c_check_header_mongrel ()
                   2066: {
                   2067:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2068:   if eval \${$3+:} false; then :
                   2069:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2070: $as_echo_n "checking for $2... " >&6; }
                   2071: if eval \${$3+:} false; then :
                   2072:   $as_echo_n "(cached) " >&6
                   2073: fi
                   2074: eval ac_res=\$$3
                   2075:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2076: $as_echo "$ac_res" >&6; }
                   2077: else
                   2078:   # Is the header compilable?
                   2079: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2080: $as_echo_n "checking $2 usability... " >&6; }
                   2081: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2082: /* end confdefs.h.  */
                   2083: $4
                   2084: #include <$2>
                   2085: _ACEOF
                   2086: if ac_fn_c_try_compile "$LINENO"; then :
                   2087:   ac_header_compiler=yes
                   2088: else
                   2089:   ac_header_compiler=no
                   2090: fi
                   2091: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2092: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2093: $as_echo "$ac_header_compiler" >&6; }
                   2094: 
                   2095: # Is the header present?
                   2096: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2097: $as_echo_n "checking $2 presence... " >&6; }
                   2098: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2099: /* end confdefs.h.  */
                   2100: #include <$2>
                   2101: _ACEOF
                   2102: if ac_fn_c_try_cpp "$LINENO"; then :
                   2103:   ac_header_preproc=yes
                   2104: else
                   2105:   ac_header_preproc=no
                   2106: fi
                   2107: rm -f conftest.err conftest.i conftest.$ac_ext
                   2108: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2109: $as_echo "$ac_header_preproc" >&6; }
                   2110: 
                   2111: # So?  What about this header?
                   2112: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2113:   yes:no: )
                   2114:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2115: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2116:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2117: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2118:     ;;
                   2119:   no:yes:* )
                   2120:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2121: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2122:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2123: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2124:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2125: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2126:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2127: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2128:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2129: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2130:     ;;
                   2131: esac
                   2132:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2133: $as_echo_n "checking for $2... " >&6; }
                   2134: if eval \${$3+:} false; then :
                   2135:   $as_echo_n "(cached) " >&6
                   2136: else
                   2137:   eval "$3=\$ac_header_compiler"
                   2138: fi
                   2139: eval ac_res=\$$3
                   2140:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2141: $as_echo "$ac_res" >&6; }
                   2142: fi
                   2143:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2144: 
                   2145: } # ac_fn_c_check_header_mongrel
                   2146: cat >config.log <<_ACEOF
                   2147: This file contains any messages produced by compilers while
                   2148: running configure, to aid debugging if configure makes a mistake.
                   2149: 
1.153     moko     2150: It was created by parser $as_me 3.4.2, which was
1.150     moko     2151: generated by GNU Autoconf 2.68.  Invocation command line was
                   2152: 
                   2153:   $ $0 $@
                   2154: 
                   2155: _ACEOF
                   2156: exec 5>>config.log
                   2157: {
                   2158: cat <<_ASUNAME
                   2159: ## --------- ##
                   2160: ## Platform. ##
                   2161: ## --------- ##
                   2162: 
                   2163: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2164: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2165: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2166: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2167: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2168: 
                   2169: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2170: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2171: 
                   2172: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2173: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2174: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150     moko     2175: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2176: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2177: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2178: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2179: 
                   2180: _ASUNAME
                   2181: 
                   2182: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2183: for as_dir in $PATH
                   2184: do
                   2185:   IFS=$as_save_IFS
                   2186:   test -z "$as_dir" && as_dir=.
1.150     moko     2187:     $as_echo "PATH: $as_dir"
                   2188:   done
                   2189: IFS=$as_save_IFS
1.1       paf      2190: 
1.62      paf      2191: } >&5
                   2192: 
                   2193: cat >&5 <<_ACEOF
                   2194: 
                   2195: 
                   2196: ## ----------- ##
                   2197: ## Core tests. ##
                   2198: ## ----------- ##
                   2199: 
                   2200: _ACEOF
                   2201: 
                   2202: 
                   2203: # Keep a trace of the command line.
                   2204: # Strip out --no-create and --no-recursion so they do not pile up.
                   2205: # Strip out --silent because we don't want to record it for future runs.
                   2206: # Also quote any args containing shell meta-characters.
                   2207: # Make two passes to allow for proper duplicate-argument suppression.
                   2208: ac_configure_args=
                   2209: ac_configure_args0=
                   2210: ac_configure_args1=
                   2211: ac_must_keep_next=false
                   2212: for ac_pass in 1 2
                   2213: do
                   2214:   for ac_arg
                   2215:   do
                   2216:     case $ac_arg in
                   2217:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2218:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2219:     | -silent | --silent | --silen | --sile | --sil)
                   2220:       continue ;;
1.150     moko     2221:     *\'*)
                   2222:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2223:     esac
                   2224:     case $ac_pass in
1.150     moko     2225:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2226:     2)
1.150     moko     2227:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2228:       if test $ac_must_keep_next = true; then
1.86      paf      2229:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2230:       else
1.86      paf      2231:        case $ac_arg in
                   2232:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2233:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2234:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2235:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2236:            case "$ac_configure_args0 " in
                   2237:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2238:            esac
                   2239:            ;;
                   2240:          -* ) ac_must_keep_next=true ;;
                   2241:        esac
1.62      paf      2242:       fi
1.150     moko     2243:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2244:       ;;
                   2245:     esac
                   2246:   done
                   2247: done
1.150     moko     2248: { ac_configure_args0=; unset ac_configure_args0;}
                   2249: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2250: 
                   2251: # When interrupted or exit'd, cleanup temporary files, and complete
                   2252: # config.log.  We remove comments because anyway the quotes in there
                   2253: # would cause problems or look ugly.
1.150     moko     2254: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2255: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2256: trap 'exit_status=$?
                   2257:   # Save into config.log some information that might help in debugging.
                   2258:   {
                   2259:     echo
                   2260: 
1.150     moko     2261:     $as_echo "## ---------------- ##
1.62      paf      2262: ## Cache variables. ##
1.150     moko     2263: ## ---------------- ##"
1.62      paf      2264:     echo
                   2265:     # The following way of writing the cache mishandles newlines in values,
1.150     moko     2266: (
                   2267:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2268:     eval ac_val=\$$ac_var
                   2269:     case $ac_val in #(
                   2270:     *${as_nl}*)
                   2271:       case $ac_var in #(
                   2272:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2273: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2274:       esac
                   2275:       case $ac_var in #(
                   2276:       _ | IFS | as_nl) ;; #(
                   2277:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2278:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2279:       esac ;;
                   2280:     esac
                   2281:   done
1.62      paf      2282:   (set) 2>&1 |
1.150     moko     2283:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2284:     *${as_nl}ac_space=\ *)
1.62      paf      2285:       sed -n \
1.150     moko     2286:        "s/'\''/'\''\\\\'\'''\''/g;
                   2287:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2288:       ;; #(
1.62      paf      2289:     *)
1.150     moko     2290:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2291:       ;;
1.150     moko     2292:     esac |
                   2293:     sort
                   2294: )
1.62      paf      2295:     echo
                   2296: 
1.150     moko     2297:     $as_echo "## ----------------- ##
1.62      paf      2298: ## Output variables. ##
1.150     moko     2299: ## ----------------- ##"
1.62      paf      2300:     echo
                   2301:     for ac_var in $ac_subst_vars
                   2302:     do
1.150     moko     2303:       eval ac_val=\$$ac_var
                   2304:       case $ac_val in
                   2305:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2306:       esac
                   2307:       $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2308:     done | sort
                   2309:     echo
                   2310: 
                   2311:     if test -n "$ac_subst_files"; then
1.150     moko     2312:       $as_echo "## ------------------- ##
                   2313: ## File substitutions. ##
                   2314: ## ------------------- ##"
1.62      paf      2315:       echo
                   2316:       for ac_var in $ac_subst_files
                   2317:       do
1.150     moko     2318:        eval ac_val=\$$ac_var
                   2319:        case $ac_val in
                   2320:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2321:        esac
                   2322:        $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2323:       done | sort
                   2324:       echo
                   2325:     fi
                   2326: 
                   2327:     if test -s confdefs.h; then
1.150     moko     2328:       $as_echo "## ----------- ##
1.62      paf      2329: ## confdefs.h. ##
1.150     moko     2330: ## ----------- ##"
1.62      paf      2331:       echo
1.150     moko     2332:       cat confdefs.h
1.62      paf      2333:       echo
                   2334:     fi
                   2335:     test "$ac_signal" != 0 &&
1.150     moko     2336:       $as_echo "$as_me: caught signal $ac_signal"
                   2337:     $as_echo "$as_me: exit $exit_status"
1.62      paf      2338:   } >&5
1.150     moko     2339:   rm -f core *.core core.conftest.* &&
                   2340:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2341:     exit $exit_status
1.150     moko     2342: ' 0
1.62      paf      2343: for ac_signal in 1 2 13 15; do
1.150     moko     2344:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2345: done
                   2346: ac_signal=0
                   2347: 
                   2348: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150     moko     2349: rm -f -r conftest* confdefs.h
                   2350: 
                   2351: $as_echo "/* confdefs.h */" > confdefs.h
1.62      paf      2352: 
                   2353: # Predefined preprocessor variables.
                   2354: 
                   2355: cat >>confdefs.h <<_ACEOF
                   2356: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2357: _ACEOF
                   2358: 
                   2359: cat >>confdefs.h <<_ACEOF
                   2360: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2361: _ACEOF
                   2362: 
                   2363: cat >>confdefs.h <<_ACEOF
                   2364: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2365: _ACEOF
                   2366: 
                   2367: cat >>confdefs.h <<_ACEOF
                   2368: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2369: _ACEOF
                   2370: 
1.150     moko     2371: cat >>confdefs.h <<_ACEOF
                   2372: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2373: _ACEOF
1.62      paf      2374: 
                   2375: cat >>confdefs.h <<_ACEOF
1.150     moko     2376: #define PACKAGE_URL "$PACKAGE_URL"
1.62      paf      2377: _ACEOF
                   2378: 
                   2379: 
                   2380: # Let the site file select an alternate cache file if it wants to.
1.150     moko     2381: # Prefer an explicitly selected file to automatically selected ones.
                   2382: ac_site_file1=NONE
                   2383: ac_site_file2=NONE
                   2384: if test -n "$CONFIG_SITE"; then
                   2385:   # We do not want a PATH search for config.site.
                   2386:   case $CONFIG_SITE in #((
                   2387:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2388:     */*) ac_site_file1=$CONFIG_SITE;;
                   2389:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2390:   esac
                   2391: elif test "x$prefix" != xNONE; then
                   2392:   ac_site_file1=$prefix/share/config.site
                   2393:   ac_site_file2=$prefix/etc/config.site
                   2394: else
                   2395:   ac_site_file1=$ac_default_prefix/share/config.site
                   2396:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2397: fi
                   2398: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2399: do
                   2400:   test "x$ac_site_file" = xNONE && continue
                   2401:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2402:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2403: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2404:     sed 's/^/| /' "$ac_site_file" >&5
1.150     moko     2405:     . "$ac_site_file" \
                   2406:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2407: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2408: as_fn_error $? "failed to load site script $ac_site_file
                   2409: See \`config.log' for more details" "$LINENO" 5; }
1.1       paf      2410:   fi
                   2411: done
                   2412: 
                   2413: if test -r "$cache_file"; then
1.150     moko     2414:   # Some versions of bash will fail to source /dev/null (special files
                   2415:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2416:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2417:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2418: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2419:     case $cache_file in
1.150     moko     2420:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2421:       *)                      . "./$cache_file";;
1.62      paf      2422:     esac
                   2423:   fi
1.1       paf      2424: else
1.150     moko     2425:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2426: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2427:   >$cache_file
                   2428: fi
                   2429: 
                   2430: # Check that the precious variables saved in the cache have kept the same
                   2431: # value.
                   2432: ac_cache_corrupted=false
1.150     moko     2433: for ac_var in $ac_precious_vars; do
1.62      paf      2434:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2435:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150     moko     2436:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2437:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      2438:   case $ac_old_set,$ac_new_set in
                   2439:     set,)
1.150     moko     2440:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2441: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.62      paf      2442:       ac_cache_corrupted=: ;;
                   2443:     ,set)
1.150     moko     2444:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2445: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.62      paf      2446:       ac_cache_corrupted=: ;;
                   2447:     ,);;
                   2448:     *)
                   2449:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150     moko     2450:        # differences in whitespace do not lead to failure.
                   2451:        ac_old_val_w=`echo x $ac_old_val`
                   2452:        ac_new_val_w=`echo x $ac_new_val`
                   2453:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2454:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2455: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2456:          ac_cache_corrupted=:
                   2457:        else
                   2458:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2459: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2460:          eval $ac_var=\$ac_old_val
                   2461:        fi
                   2462:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2463: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2464:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2465: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.62      paf      2466:       fi;;
                   2467:   esac
                   2468:   # Pass precious variables to config.status.
                   2469:   if test "$ac_new_set" = set; then
                   2470:     case $ac_new_val in
1.150     moko     2471:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2472:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2473:     esac
                   2474:     case " $ac_configure_args " in
                   2475:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150     moko     2476:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      2477:     esac
                   2478:   fi
                   2479: done
                   2480: if $ac_cache_corrupted; then
1.150     moko     2481:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2482: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2483:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2484: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2485:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2486: fi
                   2487: ## -------------------- ##
                   2488: ## Main body of script. ##
                   2489: ## -------------------- ##
1.1       paf      2490: 
                   2491: ac_ext=c
                   2492: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      2493: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2494: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2495: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2496: 
                   2497: 
                   2498: 
                   2499: 
                   2500: 
1.150     moko     2501: am__api_version='1.11'
1.62      paf      2502: 
1.1       paf      2503: ac_aux_dir=
1.150     moko     2504: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2505:   if test -f "$ac_dir/install-sh"; then
1.1       paf      2506:     ac_aux_dir=$ac_dir
                   2507:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2508:     break
1.150     moko     2509:   elif test -f "$ac_dir/install.sh"; then
1.1       paf      2510:     ac_aux_dir=$ac_dir
                   2511:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2512:     break
1.150     moko     2513:   elif test -f "$ac_dir/shtool"; then
1.62      paf      2514:     ac_aux_dir=$ac_dir
                   2515:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2516:     break
1.1       paf      2517:   fi
                   2518: done
                   2519: if test -z "$ac_aux_dir"; then
1.150     moko     2520:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2521: fi
                   2522: 
                   2523: # These three variables are undocumented and unsupported,
                   2524: # and are intended to be withdrawn in a future Autoconf release.
                   2525: # They can cause serious problems if a builder's source tree is in a directory
                   2526: # whose full name contains unusual characters.
                   2527: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2528: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2529: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2530: 
1.1       paf      2531: 
                   2532: # Find a good install program.  We prefer a C program (faster),
                   2533: # so one script is as good as another.  But avoid the broken or
                   2534: # incompatible versions:
                   2535: # SysV /etc/install, /usr/sbin/install
                   2536: # SunOS /usr/etc/install
                   2537: # IRIX /sbin/install
                   2538: # AIX /bin/install
1.62      paf      2539: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2540: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2541: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2542: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      2543: # OS/2's system install, which has a completely different semantic
1.1       paf      2544: # ./install, which can be erroneously created by make from ./install.sh.
1.150     moko     2545: # Reject install programs that cannot install multiple files.
                   2546: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2547: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       paf      2548: if test -z "$INSTALL"; then
1.150     moko     2549: if ${ac_cv_path_install+:} false; then :
                   2550:   $as_echo_n "(cached) " >&6
1.1       paf      2551: else
1.62      paf      2552:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2553: for as_dir in $PATH
                   2554: do
                   2555:   IFS=$as_save_IFS
                   2556:   test -z "$as_dir" && as_dir=.
1.150     moko     2557:     # Account for people who put trailing slashes in PATH elements.
                   2558: case $as_dir/ in #((
                   2559:   ./ | .// | /[cC]/* | \
1.62      paf      2560:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150     moko     2561:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      2562:   /usr/ucb/* ) ;;
                   2563:   *)
                   2564:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2565:     # Don't use installbsd from OSF since it installs stuff as root
                   2566:     # by default.
                   2567:     for ac_prog in ginstall scoinst install; do
                   2568:       for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     2569:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1.86      paf      2570:          if test $ac_prog = install &&
                   2571:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2572:            # AIX install.  It has an incompatible calling convention.
                   2573:            :
                   2574:          elif test $ac_prog = install &&
                   2575:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2576:            # program-specific install script used by HP pwplus--don't use.
                   2577:            :
                   2578:          else
1.150     moko     2579:            rm -rf conftest.one conftest.two conftest.dir
                   2580:            echo one > conftest.one
                   2581:            echo two > conftest.two
                   2582:            mkdir conftest.dir
                   2583:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2584:              test -s conftest.one && test -s conftest.two &&
                   2585:              test -s conftest.dir/conftest.one &&
                   2586:              test -s conftest.dir/conftest.two
                   2587:            then
                   2588:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2589:              break 3
                   2590:            fi
1.86      paf      2591:          fi
                   2592:        fi
1.1       paf      2593:       done
1.62      paf      2594:     done
                   2595:     ;;
                   2596: esac
                   2597: 
1.150     moko     2598:   done
                   2599: IFS=$as_save_IFS
                   2600: 
                   2601: rm -rf conftest.one conftest.two conftest.dir
1.1       paf      2602: 
                   2603: fi
                   2604:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      2605:     INSTALL=$ac_cv_path_install
1.1       paf      2606:   else
1.150     moko     2607:     # As a last resort, use the slow shell script.  Don't cache a
                   2608:     # value for INSTALL within a source directory, because that will
1.1       paf      2609:     # break other packages using the cache if that directory is
1.150     moko     2610:     # removed, or if the value is a relative name.
1.62      paf      2611:     INSTALL=$ac_install_sh
1.1       paf      2612:   fi
                   2613: fi
1.150     moko     2614: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2615: $as_echo "$INSTALL" >&6; }
1.1       paf      2616: 
                   2617: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2618: # It thinks the first close brace ends the variable substitution.
                   2619: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2620: 
1.62      paf      2621: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2622: 
                   2623: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2624: 
1.150     moko     2625: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2626: $as_echo_n "checking whether build environment is sane... " >&6; }
1.1       paf      2627: # Just in case
                   2628: sleep 1
1.62      paf      2629: echo timestamp > conftest.file
1.150     moko     2630: # Reject unsafe characters in $srcdir or the absolute working directory
                   2631: # name.  Accept space and tab only in the latter.
                   2632: am_lf='
                   2633: '
                   2634: case `pwd` in
                   2635:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2636:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2637: esac
                   2638: case $srcdir in
                   2639:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2640:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
                   2641: esac
                   2642: 
1.1       paf      2643: # Do `set' in a subshell so we don't clobber the current shell's
                   2644: # arguments.  Must try -L first in case configure is actually a
                   2645: # symlink; some systems play weird games with the mod time of symlinks
                   2646: # (eg FreeBSD returns the mod time of the symlink's containing
                   2647: # directory).
                   2648: if (
1.150     moko     2649:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1.1       paf      2650:    if test "$*" = "X"; then
                   2651:       # -L didn't work.
1.150     moko     2652:       set X `ls -t "$srcdir/configure" conftest.file`
1.1       paf      2653:    fi
1.62      paf      2654:    rm -f conftest.file
                   2655:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2656:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      2657: 
                   2658:       # If neither matched, then we have a broken ls.  This can happen
                   2659:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2660:       # broken ls alias from the environment.  This has actually
                   2661:       # happened.  Such a system could not be considered "sane".
1.150     moko     2662:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2663: alias in your environment" "$LINENO" 5
1.1       paf      2664:    fi
                   2665: 
1.62      paf      2666:    test "$2" = conftest.file
1.1       paf      2667:    )
                   2668: then
                   2669:    # Ok.
                   2670:    :
                   2671: else
1.150     moko     2672:    as_fn_error $? "newly created file is older than distributed files!
                   2673: Check your system clock" "$LINENO" 5
1.1       paf      2674: fi
1.150     moko     2675: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2676: $as_echo "yes" >&6; }
1.1       paf      2677: test "$program_prefix" != NONE &&
1.150     moko     2678:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      2679: # Use a double $ so make ignores it.
                   2680: test "$program_suffix" != NONE &&
1.150     moko     2681:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2682: # Double any \ or $.
1.62      paf      2683: # By default was `s,x,x', remove it if useless.
1.150     moko     2684: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2685: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.62      paf      2686: 
                   2687: # expand $ac_aux_dir to an absolute path
                   2688: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2689: 
1.150     moko     2690: if test x"${MISSING+set}" != xset; then
                   2691:   case $am_aux_dir in
                   2692:   *\ * | *\    *)
                   2693:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2694:   *)
                   2695:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2696:   esac
                   2697: fi
1.62      paf      2698: # Use eval to expand $SHELL
                   2699: if eval "$MISSING --run true"; then
                   2700:   am_missing_run="$MISSING --run "
                   2701: else
                   2702:   am_missing_run=
1.150     moko     2703:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2704: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.62      paf      2705: fi
                   2706: 
1.150     moko     2707: if test x"${install_sh}" != xset; then
                   2708:   case $am_aux_dir in
                   2709:   *\ * | *\    *)
                   2710:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2711:   *)
                   2712:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2713:   esac
1.86      paf      2714: fi
                   2715: 
1.150     moko     2716: # Installed binaries are usually stripped using `strip' when the user
                   2717: # run `make install-strip'.  However `strip' might not be the right
                   2718: # tool to use in cross-compilation environments, therefore Automake
                   2719: # will honor the `STRIP' environment variable to overrule this program.
                   2720: if test "$cross_compiling" != no; then
                   2721:   if test -n "$ac_tool_prefix"; then
                   2722:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2723: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2725: $as_echo_n "checking for $ac_word... " >&6; }
                   2726: if ${ac_cv_prog_STRIP+:} false; then :
                   2727:   $as_echo_n "(cached) " >&6
                   2728: else
                   2729:   if test -n "$STRIP"; then
                   2730:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2731: else
                   2732: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2733: for as_dir in $PATH
                   2734: do
                   2735:   IFS=$as_save_IFS
                   2736:   test -z "$as_dir" && as_dir=.
                   2737:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2738:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2739:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2740:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2741:     break 2
                   2742:   fi
                   2743: done
                   2744:   done
                   2745: IFS=$as_save_IFS
                   2746: 
                   2747: fi
                   2748: fi
                   2749: STRIP=$ac_cv_prog_STRIP
                   2750: if test -n "$STRIP"; then
                   2751:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2752: $as_echo "$STRIP" >&6; }
                   2753: else
                   2754:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2755: $as_echo "no" >&6; }
                   2756: fi
                   2757: 
                   2758: 
                   2759: fi
                   2760: if test -z "$ac_cv_prog_STRIP"; then
                   2761:   ac_ct_STRIP=$STRIP
                   2762:   # Extract the first word of "strip", so it can be a program name with args.
                   2763: set dummy strip; ac_word=$2
                   2764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2765: $as_echo_n "checking for $ac_word... " >&6; }
                   2766: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2767:   $as_echo_n "(cached) " >&6
                   2768: else
                   2769:   if test -n "$ac_ct_STRIP"; then
                   2770:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2771: else
                   2772: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2773: for as_dir in $PATH
                   2774: do
                   2775:   IFS=$as_save_IFS
                   2776:   test -z "$as_dir" && as_dir=.
                   2777:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2778:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2779:     ac_cv_prog_ac_ct_STRIP="strip"
                   2780:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2781:     break 2
                   2782:   fi
                   2783: done
                   2784:   done
                   2785: IFS=$as_save_IFS
                   2786: 
                   2787: fi
                   2788: fi
                   2789: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2790: if test -n "$ac_ct_STRIP"; then
                   2791:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2792: $as_echo "$ac_ct_STRIP" >&6; }
                   2793: else
                   2794:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2795: $as_echo "no" >&6; }
                   2796: fi
                   2797: 
                   2798:   if test "x$ac_ct_STRIP" = x; then
                   2799:     STRIP=":"
                   2800:   else
                   2801:     case $cross_compiling:$ac_tool_warned in
                   2802: yes:)
                   2803: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2804: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2805: ac_tool_warned=yes ;;
                   2806: esac
                   2807:     STRIP=$ac_ct_STRIP
                   2808:   fi
                   2809: else
                   2810:   STRIP="$ac_cv_prog_STRIP"
                   2811: fi
                   2812: 
                   2813: fi
                   2814: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2815: 
                   2816: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2817: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2818: if test -z "$MKDIR_P"; then
                   2819:   if ${ac_cv_path_mkdir+:} false; then :
                   2820:   $as_echo_n "(cached) " >&6
                   2821: else
                   2822:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2823: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2824: do
                   2825:   IFS=$as_save_IFS
                   2826:   test -z "$as_dir" && as_dir=.
                   2827:     for ac_prog in mkdir gmkdir; do
                   2828:         for ac_exec_ext in '' $ac_executable_extensions; do
                   2829:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
                   2830:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2831:             'mkdir (GNU coreutils) '* | \
                   2832:             'mkdir (coreutils) '* | \
                   2833:             'mkdir (fileutils) '4.1*)
                   2834:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2835:               break 3;;
                   2836:           esac
                   2837:         done
                   2838:        done
                   2839:   done
                   2840: IFS=$as_save_IFS
                   2841: 
                   2842: fi
                   2843: 
                   2844:   test -d ./--version && rmdir ./--version
                   2845:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2846:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2847:   else
                   2848:     # As a last resort, use the slow shell script.  Don't cache a
                   2849:     # value for MKDIR_P within a source directory, because that will
                   2850:     # break other packages using the cache if that directory is
                   2851:     # removed, or if the value is a relative name.
                   2852:     MKDIR_P="$ac_install_sh -d"
                   2853:   fi
                   2854: fi
                   2855: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2856: $as_echo "$MKDIR_P" >&6; }
                   2857: 
                   2858: mkdir_p="$MKDIR_P"
                   2859: case $mkdir_p in
                   2860:   [\\/$]* | ?:[\\/]*) ;;
                   2861:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   2862: esac
                   2863: 
                   2864: for ac_prog in gawk mawk nawk awk
1.62      paf      2865: do
                   2866:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2867: set dummy $ac_prog; ac_word=$2
1.150     moko     2868: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2869: $as_echo_n "checking for $ac_word... " >&6; }
                   2870: if ${ac_cv_prog_AWK+:} false; then :
                   2871:   $as_echo_n "(cached) " >&6
1.62      paf      2872: else
                   2873:   if test -n "$AWK"; then
                   2874:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2875: else
                   2876: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2877: for as_dir in $PATH
                   2878: do
                   2879:   IFS=$as_save_IFS
                   2880:   test -z "$as_dir" && as_dir=.
1.150     moko     2881:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2882:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      2883:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     2884:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      2885:     break 2
                   2886:   fi
                   2887: done
1.150     moko     2888:   done
                   2889: IFS=$as_save_IFS
1.62      paf      2890: 
                   2891: fi
                   2892: fi
                   2893: AWK=$ac_cv_prog_AWK
                   2894: if test -n "$AWK"; then
1.150     moko     2895:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2896: $as_echo "$AWK" >&6; }
1.62      paf      2897: else
1.150     moko     2898:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2899: $as_echo "no" >&6; }
1.62      paf      2900: fi
1.1       paf      2901: 
1.150     moko     2902: 
1.62      paf      2903:   test -n "$AWK" && break
                   2904: done
1.1       paf      2905: 
1.150     moko     2906: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2907: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2908: set x ${MAKE-make}
                   2909: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   2910: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   2911:   $as_echo_n "(cached) " >&6
1.1       paf      2912: else
1.62      paf      2913:   cat >conftest.make <<\_ACEOF
1.150     moko     2914: SHELL = /bin/sh
1.1       paf      2915: all:
1.150     moko     2916:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      2917: _ACEOF
1.150     moko     2918: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2919: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2920:   *@@@%%%=?*=@@@%%%*)
                   2921:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2922:   *)
                   2923:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2924: esac
1.62      paf      2925: rm -f conftest.make
1.1       paf      2926: fi
1.150     moko     2927: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2928:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2929: $as_echo "yes" >&6; }
1.1       paf      2930:   SET_MAKE=
                   2931: else
1.150     moko     2932:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2933: $as_echo "no" >&6; }
1.1       paf      2934:   SET_MAKE="MAKE=${MAKE-make}"
                   2935: fi
                   2936: 
1.86      paf      2937: rm -rf .tst 2>/dev/null
                   2938: mkdir .tst 2>/dev/null
                   2939: if test -d .tst; then
                   2940:   am__leading_dot=.
                   2941: else
                   2942:   am__leading_dot=_
                   2943: fi
                   2944: rmdir .tst 2>/dev/null
                   2945: 
1.150     moko     2946: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2947:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2948:   # is not polluted with repeated "-I."
                   2949:   am__isrc=' -I$(srcdir)'
                   2950:   # test to see if srcdir already configured
                   2951:   if test -f $srcdir/config.status; then
                   2952:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   2953:   fi
1.62      paf      2954: fi
                   2955: 
                   2956: # test whether we have cygpath
                   2957: if test -z "$CYGPATH_W"; then
                   2958:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2959:     CYGPATH_W='cygpath -w'
                   2960:   else
                   2961:     CYGPATH_W=echo
                   2962:   fi
                   2963: fi
                   2964: 
                   2965: 
                   2966: # Define the identity of the package.
1.128     moko     2967:  PACKAGE='parser'
1.153     moko     2968:  VERSION='3.4.2'
1.128     moko     2969: 
                   2970: 
                   2971: cat >>confdefs.h <<_ACEOF
                   2972: #define PACKAGE "$PACKAGE"
                   2973: _ACEOF
1.1       paf      2974: 
                   2975: 
1.128     moko     2976: cat >>confdefs.h <<_ACEOF
                   2977: #define VERSION "$VERSION"
                   2978: _ACEOF
                   2979: 
1.62      paf      2980: # Some tools Automake needs.
                   2981: 
                   2982: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2983: 
                   2984: 
                   2985: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2986: 
                   2987: 
                   2988: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2989: 
                   2990: 
                   2991: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   2992: 
                   2993: 
                   2994: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      2995: 
1.62      paf      2996: # We need awk for the "check" target.  The system "awk" is bad on
                   2997: # some platforms.
1.86      paf      2998: # Always define AMTAR for backward compatibility.
                   2999: 
                   3000: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   3001: 
                   3002: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   3003: 
                   3004: 
1.62      paf      3005: 
1.1       paf      3006: 
                   3007: 
                   3008: 
1.128     moko     3009: 
1.12      paf      3010: P3S=`cd $srcdir/src ; pwd`
1.1       paf      3011: 
                   3012: 
1.128     moko     3013: 
1.41      paf      3014: # Make sure we can run config.sub.
1.150     moko     3015: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3016:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.62      paf      3017: 
1.150     moko     3018: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3019: $as_echo_n "checking build system type... " >&6; }
                   3020: if ${ac_cv_build+:} false; then :
                   3021:   $as_echo_n "(cached) " >&6
                   3022: else
                   3023:   ac_build_alias=$build_alias
                   3024: test "x$ac_build_alias" = x &&
                   3025:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3026: test "x$ac_build_alias" = x &&
                   3027:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   3028: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3029:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   3030: 
                   3031: fi
                   3032: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3033: $as_echo "$ac_cv_build" >&6; }
                   3034: case $ac_cv_build in
                   3035: *-*-*) ;;
                   3036: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3037: esac
                   3038: build=$ac_cv_build
                   3039: ac_save_IFS=$IFS; IFS='-'
                   3040: set x $ac_cv_build
                   3041: shift
                   3042: build_cpu=$1
                   3043: build_vendor=$2
                   3044: shift; shift
                   3045: # Remember, the first character of IFS is used to create $*,
                   3046: # except with old shells:
                   3047: build_os=$*
                   3048: IFS=$ac_save_IFS
                   3049: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3050: 
                   3051: 
                   3052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3053: $as_echo_n "checking host system type... " >&6; }
                   3054: if ${ac_cv_host+:} false; then :
                   3055:   $as_echo_n "(cached) " >&6
                   3056: else
                   3057:   if test "x$host_alias" = x; then
                   3058:   ac_cv_host=$ac_cv_build
                   3059: else
                   3060:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3061:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.62      paf      3062: fi
                   3063: 
                   3064: fi
1.150     moko     3065: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3066: $as_echo "$ac_cv_host" >&6; }
                   3067: case $ac_cv_host in
                   3068: *-*-*) ;;
                   3069: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3070: esac
1.62      paf      3071: host=$ac_cv_host
1.150     moko     3072: ac_save_IFS=$IFS; IFS='-'
                   3073: set x $ac_cv_host
                   3074: shift
                   3075: host_cpu=$1
                   3076: host_vendor=$2
                   3077: shift; shift
                   3078: # Remember, the first character of IFS is used to create $*,
                   3079: # except with old shells:
                   3080: host_os=$*
                   3081: IFS=$ac_save_IFS
                   3082: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      3083: 
                   3084: 
                   3085: 
1.148     moko     3086: cat >>confdefs.h <<_ACEOF
                   3087: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     3088: _ACEOF
                   3089: 
                   3090: 
1.41      paf      3091: 
1.67      paf      3092: case $host_os in
                   3093:   *cygwin* )
1.150     moko     3094: $as_echo "#define CYGWIN /**/" >>confdefs.h
1.67      paf      3095: ;;
                   3096: esac
1.41      paf      3097: 
1.128     moko     3098: 
1.1       paf      3099: 
1.62      paf      3100: for ac_prog in gawk mawk nawk awk
1.41      paf      3101: do
1.62      paf      3102:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3103: set dummy $ac_prog; ac_word=$2
1.150     moko     3104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3105: $as_echo_n "checking for $ac_word... " >&6; }
                   3106: if ${ac_cv_prog_AWK+:} false; then :
                   3107:   $as_echo_n "(cached) " >&6
1.41      paf      3108: else
                   3109:   if test -n "$AWK"; then
                   3110:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3111: else
1.62      paf      3112: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3113: for as_dir in $PATH
                   3114: do
                   3115:   IFS=$as_save_IFS
                   3116:   test -z "$as_dir" && as_dir=.
1.150     moko     3117:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3118:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      3119:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3120:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3121:     break 2
                   3122:   fi
                   3123: done
1.150     moko     3124:   done
                   3125: IFS=$as_save_IFS
1.62      paf      3126: 
1.41      paf      3127: fi
                   3128: fi
1.62      paf      3129: AWK=$ac_cv_prog_AWK
1.41      paf      3130: if test -n "$AWK"; then
1.150     moko     3131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3132: $as_echo "$AWK" >&6; }
1.41      paf      3133: else
1.150     moko     3134:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3135: $as_echo "no" >&6; }
1.41      paf      3136: fi
                   3137: 
1.150     moko     3138: 
1.62      paf      3139:   test -n "$AWK" && break
1.41      paf      3140: done
                   3141: 
                   3142: 
                   3143: for ac_prog in 'bison -y' byacc
                   3144: do
1.62      paf      3145:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3146: set dummy $ac_prog; ac_word=$2
1.150     moko     3147: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3148: $as_echo_n "checking for $ac_word... " >&6; }
                   3149: if ${ac_cv_prog_YACC+:} false; then :
                   3150:   $as_echo_n "(cached) " >&6
1.41      paf      3151: else
                   3152:   if test -n "$YACC"; then
                   3153:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3154: else
1.62      paf      3155: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3156: for as_dir in $PATH
                   3157: do
                   3158:   IFS=$as_save_IFS
                   3159:   test -z "$as_dir" && as_dir=.
1.150     moko     3160:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3161:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      3162:     ac_cv_prog_YACC="$ac_prog"
1.150     moko     3163:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3164:     break 2
                   3165:   fi
                   3166: done
1.150     moko     3167:   done
                   3168: IFS=$as_save_IFS
1.62      paf      3169: 
1.41      paf      3170: fi
                   3171: fi
1.62      paf      3172: YACC=$ac_cv_prog_YACC
1.41      paf      3173: if test -n "$YACC"; then
1.150     moko     3174:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   3175: $as_echo "$YACC" >&6; }
1.41      paf      3176: else
1.150     moko     3177:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3178: $as_echo "no" >&6; }
1.41      paf      3179: fi
                   3180: 
1.150     moko     3181: 
1.62      paf      3182:   test -n "$YACC" && break
1.41      paf      3183: done
                   3184: test -n "$YACC" || YACC="yacc"
                   3185: 
                   3186: if test "$YACC" != "bison -y"; then
1.150     moko     3187:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   3188: $as_echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      3189: else
1.150     moko     3190:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
                   3191: $as_echo_n "checking bison version... " >&6; }
1.67      paf      3192:        oldIFS=$IFS; IFS=.
                   3193:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   3194:        IFS=$oldIFS
                   3195:        if test "$1" = "1" -a "$2" -lt "25"; then
1.150     moko     3196:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   3197: $as_echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      3198:        fi
1.150     moko     3199:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
                   3200: $as_echo "$1.$2 (ok)" >&6; }
1.62      paf      3201: fi
                   3202: 
1.150     moko     3203: ac_ext=cpp
1.66      paf      3204: ac_cpp='$CXXCPP $CPPFLAGS'
                   3205: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3206: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3207: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     3208: if test -z "$CXX"; then
                   3209:   if test -n "$CCC"; then
                   3210:     CXX=$CCC
                   3211:   else
                   3212:     if test -n "$ac_tool_prefix"; then
                   3213:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3214:   do
                   3215:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3216: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     3217: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3218: $as_echo_n "checking for $ac_word... " >&6; }
                   3219: if ${ac_cv_prog_CXX+:} false; then :
                   3220:   $as_echo_n "(cached) " >&6
1.62      paf      3221: else
1.66      paf      3222:   if test -n "$CXX"; then
                   3223:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      3224: else
                   3225: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3226: for as_dir in $PATH
                   3227: do
                   3228:   IFS=$as_save_IFS
                   3229:   test -z "$as_dir" && as_dir=.
1.150     moko     3230:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3231:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3232:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.150     moko     3233:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3234:     break 2
                   3235:   fi
                   3236: done
1.150     moko     3237:   done
                   3238: IFS=$as_save_IFS
1.62      paf      3239: 
                   3240: fi
                   3241: fi
1.66      paf      3242: CXX=$ac_cv_prog_CXX
                   3243: if test -n "$CXX"; then
1.150     moko     3244:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3245: $as_echo "$CXX" >&6; }
1.62      paf      3246: else
1.150     moko     3247:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3248: $as_echo "no" >&6; }
1.41      paf      3249: fi
                   3250: 
1.150     moko     3251: 
1.66      paf      3252:     test -n "$CXX" && break
                   3253:   done
1.62      paf      3254: fi
1.66      paf      3255: if test -z "$CXX"; then
                   3256:   ac_ct_CXX=$CXX
1.150     moko     3257:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3258: do
                   3259:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3260: set dummy $ac_prog; ac_word=$2
1.150     moko     3261: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3262: $as_echo_n "checking for $ac_word... " >&6; }
                   3263: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3264:   $as_echo_n "(cached) " >&6
1.62      paf      3265: else
1.66      paf      3266:   if test -n "$ac_ct_CXX"; then
                   3267:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      3268: else
                   3269: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3270: for as_dir in $PATH
                   3271: do
                   3272:   IFS=$as_save_IFS
                   3273:   test -z "$as_dir" && as_dir=.
1.150     moko     3274:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3275:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3276:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.150     moko     3277:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3278:     break 2
                   3279:   fi
                   3280: done
1.150     moko     3281:   done
                   3282: IFS=$as_save_IFS
1.62      paf      3283: 
                   3284: fi
                   3285: fi
1.66      paf      3286: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3287: if test -n "$ac_ct_CXX"; then
1.150     moko     3288:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3289: $as_echo "$ac_ct_CXX" >&6; }
1.62      paf      3290: else
1.150     moko     3291:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3292: $as_echo "no" >&6; }
1.62      paf      3293: fi
                   3294: 
1.150     moko     3295: 
1.66      paf      3296:   test -n "$ac_ct_CXX" && break
                   3297: done
                   3298: 
1.150     moko     3299:   if test "x$ac_ct_CXX" = x; then
                   3300:     CXX="g++"
                   3301:   else
                   3302:     case $cross_compiling:$ac_tool_warned in
                   3303: yes:)
                   3304: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3305: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3306: ac_tool_warned=yes ;;
                   3307: esac
                   3308:     CXX=$ac_ct_CXX
                   3309:   fi
1.62      paf      3310: fi
                   3311: 
1.150     moko     3312:   fi
                   3313: fi
1.66      paf      3314: # Provide some information about the compiler.
1.150     moko     3315: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3316: set X $ac_compile
                   3317: ac_compiler=$2
                   3318: for ac_option in --version -v -V -qversion; do
                   3319:   { { ac_try="$ac_compiler $ac_option >&5"
                   3320: case "(($ac_try" in
                   3321:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3322:   *) ac_try_echo=$ac_try;;
                   3323: esac
                   3324: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3325: $as_echo "$ac_try_echo"; } >&5
                   3326:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      3327:   ac_status=$?
1.150     moko     3328:   if test -s conftest.err; then
                   3329:     sed '10a\
                   3330: ... rest of stderr output deleted ...
                   3331:          10q' conftest.err >conftest.er1
                   3332:     cat conftest.er1 >&5
                   3333:   fi
                   3334:   rm -f conftest.er1 conftest.err
                   3335:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3336:   test $ac_status = 0; }
                   3337: done
1.66      paf      3338: 
1.150     moko     3339: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3340: /* end confdefs.h.  */
                   3341: 
                   3342: int
                   3343: main ()
                   3344: {
                   3345: 
                   3346:   ;
                   3347:   return 0;
                   3348: }
                   3349: _ACEOF
                   3350: ac_clean_files_save=$ac_clean_files
1.150     moko     3351: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      3352: # Try to create an executable without -o first, disregard a.out.
                   3353: # It will help us diagnose broken compilers, and finding out an intuition
                   3354: # of exeext.
1.150     moko     3355: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3356: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3357: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3358: 
                   3359: # The possible output files:
                   3360: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3361: 
                   3362: ac_rmfiles=
                   3363: for ac_file in $ac_files
                   3364: do
                   3365:   case $ac_file in
                   3366:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3367:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3368:   esac
                   3369: done
                   3370: rm -f $ac_rmfiles
                   3371: 
                   3372: if { { ac_try="$ac_link_default"
                   3373: case "(($ac_try" in
                   3374:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3375:   *) ac_try_echo=$ac_try;;
                   3376: esac
                   3377: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3378: $as_echo "$ac_try_echo"; } >&5
                   3379:   (eval "$ac_link_default") 2>&5
                   3380:   ac_status=$?
                   3381:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3382:   test $ac_status = 0; }; then :
                   3383:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3384: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3385: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3386: # so that the user can short-circuit this test for compilers unknown to
                   3387: # Autoconf.
                   3388: for ac_file in $ac_files ''
1.62      paf      3389: do
1.66      paf      3390:   test -f "$ac_file" || continue
                   3391:   case $ac_file in
1.150     moko     3392:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      3393:        ;;
1.66      paf      3394:     [ab].out )
1.86      paf      3395:        # We found the default executable, but exeext='' is most
                   3396:        # certainly right.
                   3397:        break;;
1.66      paf      3398:     *.* )
1.150     moko     3399:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3400:        then :; else
                   3401:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3402:        fi
                   3403:        # We set ac_cv_exeext here because the later test for it is not
                   3404:        # safe: cross compilers may not add the suffix if given an `-o'
                   3405:        # argument, so we may need to know it at that point already.
                   3406:        # Even if this section looks crufty: it has the advantage of
                   3407:        # actually working.
1.86      paf      3408:        break;;
1.66      paf      3409:     * )
1.86      paf      3410:        break;;
1.66      paf      3411:   esac
1.62      paf      3412: done
1.150     moko     3413: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3414: 
1.66      paf      3415: else
1.150     moko     3416:   ac_file=''
                   3417: fi
                   3418: if test -z "$ac_file"; then :
                   3419:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3420: $as_echo "no" >&6; }
                   3421: $as_echo "$as_me: failed program was:" >&5
1.66      paf      3422: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3423: 
1.150     moko     3424: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3425: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3426: as_fn_error 77 "C++ compiler cannot create executables
                   3427: See \`config.log' for more details" "$LINENO" 5; }
                   3428: else
                   3429:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3430: $as_echo "yes" >&6; }
1.1       paf      3431: fi
1.150     moko     3432: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3433: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3435: $as_echo "$ac_file" >&6; }
1.66      paf      3436: ac_exeext=$ac_cv_exeext
1.62      paf      3437: 
1.150     moko     3438: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      3439: ac_clean_files=$ac_clean_files_save
1.150     moko     3440: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3441: $as_echo_n "checking for suffix of executables... " >&6; }
                   3442: if { { ac_try="$ac_link"
                   3443: case "(($ac_try" in
                   3444:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3445:   *) ac_try_echo=$ac_try;;
                   3446: esac
                   3447: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3448: $as_echo "$ac_try_echo"; } >&5
                   3449:   (eval "$ac_link") 2>&5
1.62      paf      3450:   ac_status=$?
1.150     moko     3451:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3452:   test $ac_status = 0; }; then :
1.62      paf      3453:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3454: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3455: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3456: # `rm'.
                   3457: for ac_file in conftest.exe conftest conftest.*; do
                   3458:   test -f "$ac_file" || continue
                   3459:   case $ac_file in
1.150     moko     3460:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      3461:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      3462:          break;;
1.62      paf      3463:     * ) break;;
                   3464:   esac
                   3465: done
                   3466: else
1.150     moko     3467:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3468: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3469: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3470: See \`config.log' for more details" "$LINENO" 5; }
                   3471: fi
                   3472: rm -f conftest conftest$ac_cv_exeext
                   3473: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3474: $as_echo "$ac_cv_exeext" >&6; }
1.62      paf      3475: 
                   3476: rm -f conftest.$ac_ext
                   3477: EXEEXT=$ac_cv_exeext
                   3478: ac_exeext=$EXEEXT
1.150     moko     3479: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3480: /* end confdefs.h.  */
                   3481: #include <stdio.h>
                   3482: int
                   3483: main ()
                   3484: {
                   3485: FILE *f = fopen ("conftest.out", "w");
                   3486:  return ferror (f) || fclose (f) != 0;
                   3487: 
                   3488:   ;
                   3489:   return 0;
                   3490: }
                   3491: _ACEOF
                   3492: ac_clean_files="$ac_clean_files conftest.out"
                   3493: # Check that the compiler produces executables we can run.  If not, either
                   3494: # the compiler is broken, or we cross compile.
                   3495: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3496: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3497: if test "$cross_compiling" != yes; then
                   3498:   { { ac_try="$ac_link"
                   3499: case "(($ac_try" in
                   3500:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3501:   *) ac_try_echo=$ac_try;;
                   3502: esac
                   3503: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3504: $as_echo "$ac_try_echo"; } >&5
                   3505:   (eval "$ac_link") 2>&5
                   3506:   ac_status=$?
                   3507:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3508:   test $ac_status = 0; }
                   3509:   if { ac_try='./conftest$ac_cv_exeext'
                   3510:   { { case "(($ac_try" in
                   3511:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3512:   *) ac_try_echo=$ac_try;;
                   3513: esac
                   3514: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3515: $as_echo "$ac_try_echo"; } >&5
                   3516:   (eval "$ac_try") 2>&5
                   3517:   ac_status=$?
                   3518:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3519:   test $ac_status = 0; }; }; then
                   3520:     cross_compiling=no
                   3521:   else
                   3522:     if test "$cross_compiling" = maybe; then
                   3523:        cross_compiling=yes
                   3524:     else
                   3525:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3526: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3527: as_fn_error $? "cannot run C++ compiled programs.
                   3528: If you meant to cross compile, use \`--host'.
                   3529: See \`config.log' for more details" "$LINENO" 5; }
                   3530:     fi
                   3531:   fi
                   3532: fi
                   3533: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3534: $as_echo "$cross_compiling" >&6; }
                   3535: 
                   3536: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3537: ac_clean_files=$ac_clean_files_save
                   3538: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3539: $as_echo_n "checking for suffix of object files... " >&6; }
                   3540: if ${ac_cv_objext+:} false; then :
                   3541:   $as_echo_n "(cached) " >&6
1.62      paf      3542: else
1.150     moko     3543:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3544: /* end confdefs.h.  */
                   3545: 
                   3546: int
                   3547: main ()
                   3548: {
                   3549: 
                   3550:   ;
                   3551:   return 0;
                   3552: }
                   3553: _ACEOF
                   3554: rm -f conftest.o conftest.obj
1.150     moko     3555: if { { ac_try="$ac_compile"
                   3556: case "(($ac_try" in
                   3557:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3558:   *) ac_try_echo=$ac_try;;
                   3559: esac
                   3560: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3561: $as_echo "$ac_try_echo"; } >&5
                   3562:   (eval "$ac_compile") 2>&5
                   3563:   ac_status=$?
                   3564:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3565:   test $ac_status = 0; }; then :
                   3566:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3567:   test -f "$ac_file" || continue;
1.62      paf      3568:   case $ac_file in
1.150     moko     3569:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      3570:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3571:        break;;
                   3572:   esac
                   3573: done
                   3574: else
1.150     moko     3575:   $as_echo "$as_me: failed program was:" >&5
1.62      paf      3576: sed 's/^/| /' conftest.$ac_ext >&5
                   3577: 
1.150     moko     3578: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3579: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3580: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3581: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      3582: fi
                   3583: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3584: fi
1.150     moko     3585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3586: $as_echo "$ac_cv_objext" >&6; }
1.66      paf      3587: OBJEXT=$ac_cv_objext
                   3588: ac_objext=$OBJEXT
1.150     moko     3589: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3590: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3591: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3592:   $as_echo_n "(cached) " >&6
1.62      paf      3593: else
1.150     moko     3594:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3595: /* end confdefs.h.  */
1.66      paf      3596: 
1.62      paf      3597: int
                   3598: main ()
                   3599: {
1.66      paf      3600: #ifndef __GNUC__
                   3601:        choke me
                   3602: #endif
                   3603: 
1.62      paf      3604:   ;
                   3605:   return 0;
                   3606: }
                   3607: _ACEOF
1.150     moko     3608: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3609:   ac_compiler_gnu=yes
1.62      paf      3610: else
1.150     moko     3611:   ac_compiler_gnu=no
1.1       paf      3612: fi
1.150     moko     3613: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3614: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      3615: 
                   3616: fi
1.150     moko     3617: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3618: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3619: if test $ac_compiler_gnu = yes; then
                   3620:   GXX=yes
                   3621: else
                   3622:   GXX=
                   3623: fi
1.66      paf      3624: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3625: ac_save_CXXFLAGS=$CXXFLAGS
1.150     moko     3626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3627: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3628: if ${ac_cv_prog_cxx_g+:} false; then :
                   3629:   $as_echo_n "(cached) " >&6
                   3630: else
                   3631:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3632:    ac_cxx_werror_flag=yes
                   3633:    ac_cv_prog_cxx_g=no
                   3634:    CXXFLAGS="-g"
                   3635:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3636: /* end confdefs.h.  */
1.1       paf      3637: 
1.66      paf      3638: int
                   3639: main ()
                   3640: {
1.1       paf      3641: 
1.66      paf      3642:   ;
                   3643:   return 0;
                   3644: }
1.62      paf      3645: _ACEOF
1.150     moko     3646: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3647:   ac_cv_prog_cxx_g=yes
                   3648: else
1.150     moko     3649:   CXXFLAGS=""
                   3650:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3651: /* end confdefs.h.  */
1.66      paf      3652: 
1.62      paf      3653: int
                   3654: main ()
                   3655: {
1.150     moko     3656: 
1.62      paf      3657:   ;
                   3658:   return 0;
                   3659: }
                   3660: _ACEOF
1.150     moko     3661: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3662: 
1.1       paf      3663: else
1.150     moko     3664:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3665:         CXXFLAGS="-g"
                   3666:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3667: /* end confdefs.h.  */
1.62      paf      3668: 
                   3669: int
                   3670: main ()
                   3671: {
1.150     moko     3672: 
1.62      paf      3673:   ;
                   3674:   return 0;
                   3675: }
                   3676: _ACEOF
1.150     moko     3677: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3678:   ac_cv_prog_cxx_g=yes
                   3679: fi
                   3680: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3681: fi
                   3682: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3683: fi
                   3684: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3685:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3686: fi
                   3687: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3688: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3689: if test "$ac_test_CXXFLAGS" = set; then
                   3690:   CXXFLAGS=$ac_save_CXXFLAGS
                   3691: elif test $ac_cv_prog_cxx_g = yes; then
                   3692:   if test "$GXX" = yes; then
                   3693:     CXXFLAGS="-g -O2"
                   3694:   else
                   3695:     CXXFLAGS="-g"
                   3696:   fi
1.1       paf      3697: else
1.150     moko     3698:   if test "$GXX" = yes; then
                   3699:     CXXFLAGS="-O2"
                   3700:   else
                   3701:     CXXFLAGS=
                   3702:   fi
1.1       paf      3703: fi
1.62      paf      3704: ac_ext=c
                   3705: ac_cpp='$CPP $CPPFLAGS'
                   3706: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3707: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3708: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      3709: DEPDIR="${am__leading_dot}deps"
1.62      paf      3710: 
1.150     moko     3711: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      3712: 
                   3713: 
                   3714: am_make=${MAKE-make}
                   3715: cat > confinc << 'END'
1.86      paf      3716: am__doit:
1.150     moko     3717:        @echo this is the am__doit target
1.86      paf      3718: .PHONY: am__doit
1.62      paf      3719: END
                   3720: # If we don't find an include directive, just comment out the code.
1.150     moko     3721: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3722: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.62      paf      3723: am__include="#"
                   3724: am__quote=
                   3725: _am_result=none
                   3726: # First try GNU make style include.
                   3727: echo "include confinc" > confmf
1.150     moko     3728: # Ignore all kinds of additional output from `make'.
                   3729: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3730: *the\ am__doit\ target*)
                   3731:   am__include=include
                   3732:   am__quote=
                   3733:   _am_result=GNU
                   3734:   ;;
                   3735: esac
1.62      paf      3736: # Now try BSD make style include.
                   3737: if test "$am__include" = "#"; then
                   3738:    echo '.include "confinc"' > confmf
1.150     moko     3739:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3740:    *the\ am__doit\ target*)
                   3741:      am__include=.include
                   3742:      am__quote="\""
                   3743:      _am_result=BSD
                   3744:      ;;
                   3745:    esac
1.62      paf      3746: fi
                   3747: 
                   3748: 
1.150     moko     3749: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3750: $as_echo "$_am_result" >&6; }
1.62      paf      3751: rm -f confinc confmf
                   3752: 
1.150     moko     3753: # Check whether --enable-dependency-tracking was given.
                   3754: if test "${enable_dependency_tracking+set}" = set; then :
                   3755:   enableval=$enable_dependency_tracking;
                   3756: fi
1.62      paf      3757: 
                   3758: if test "x$enable_dependency_tracking" != xno; then
                   3759:   am_depcomp="$ac_aux_dir/depcomp"
                   3760:   AMDEPBACKSLASH='\'
1.1       paf      3761: fi
1.150     moko     3762:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      3763:   AMDEP_TRUE=
                   3764:   AMDEP_FALSE='#'
                   3765: else
                   3766:   AMDEP_TRUE='#'
                   3767:   AMDEP_FALSE=
                   3768: fi
1.1       paf      3769: 
                   3770: 
                   3771: 
1.66      paf      3772: depcc="$CXX"  am_compiler_list=
1.1       paf      3773: 
1.150     moko     3774: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3775: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3776: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   3777:   $as_echo_n "(cached) " >&6
1.62      paf      3778: else
                   3779:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3780:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3781:   # making bogus files that we don't know about and never remove.  For
                   3782:   # instance it was reported that on HP-UX the gcc test will end up
                   3783:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3784:   # in D'.
                   3785:   mkdir conftest.dir
                   3786:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3787:   # using a relative directory.
                   3788:   cp "$am_depcomp" conftest.dir
                   3789:   cd conftest.dir
1.86      paf      3790:   # We will build objects and dependencies in a subdirectory because
                   3791:   # it helps to detect inapplicable dependency modes.  For instance
                   3792:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3793:   # side effect of compilation, but ICC will put the dependencies in
                   3794:   # the current directory while Tru64 will put them in the object
                   3795:   # directory.
                   3796:   mkdir sub
1.1       paf      3797: 
1.66      paf      3798:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      3799:   if test "$am_compiler_list" = ""; then
                   3800:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      3801:   fi
1.150     moko     3802:   am__universal=false
                   3803:   case " $depcc " in #(
                   3804:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3805:      esac
                   3806: 
1.62      paf      3807:   for depmode in $am_compiler_list; do
1.86      paf      3808:     # Setup a source with many dependencies, because some compilers
                   3809:     # like to wrap large dependency lists on column 80 (with \), and
                   3810:     # we should not choose a depcomp mode which is confused by this.
                   3811:     #
1.62      paf      3812:     # We need to recreate these files for each test, as the compiler may
                   3813:     # overwrite some of them when testing with obscure command lines.
                   3814:     # This happens at least with the AIX C compiler.
1.86      paf      3815:     : > sub/conftest.c
                   3816:     for i in 1 2 3 4 5 6; do
                   3817:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3818:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3819:       # Solaris 8's {/usr,}/bin/sh.
                   3820:       touch sub/conftst$i.h
                   3821:     done
                   3822:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      3823: 
1.150     moko     3824:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3825:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3826:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3827:     # versions had trouble with output in subdirs
                   3828:     am__obj=sub/conftest.${OBJEXT-o}
                   3829:     am__minus_obj="-o $am__obj"
1.62      paf      3830:     case $depmode in
1.150     moko     3831:     gcc)
                   3832:       # This depmode causes a compiler race in universal mode.
                   3833:       test "$am__universal" = false || continue
                   3834:       ;;
1.62      paf      3835:     nosideeffect)
                   3836:       # after this tag, mechanisms are not by side-effect, so they'll
                   3837:       # only be used when explicitly requested
                   3838:       if test "x$enable_dependency_tracking" = xyes; then
                   3839:        continue
                   3840:       else
                   3841:        break
                   3842:       fi
                   3843:       ;;
1.150     moko     3844:     msvisualcpp | msvcmsys)
                   3845:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3846:       # not run yet.  These depmodes are late enough in the game, and
                   3847:       # so weak that their functioning should not be impacted.
                   3848:       am__obj=conftest.${OBJEXT-o}
                   3849:       am__minus_obj=
                   3850:       ;;
1.62      paf      3851:     none) break ;;
                   3852:     esac
                   3853:     if depmode=$depmode \
1.150     moko     3854:        source=sub/conftest.c object=$am__obj \
1.86      paf      3855:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     3856:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      3857:          >/dev/null 2>conftest.err &&
1.150     moko     3858:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      3859:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     3860:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      3861:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      3862:       # icc doesn't choke on unknown options, it will just issue warnings
                   3863:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3864:       # that says an option was ignored or not supported.
                   3865:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3866:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3867:       # The diagnosis changed in icc 8.0:
                   3868:       #   icc: Command line remark: option '-MP' not supported
                   3869:       if (grep 'ignoring option' conftest.err ||
                   3870:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3871:         am_cv_CXX_dependencies_compiler_type=$depmode
                   3872:         break
                   3873:       fi
1.66      paf      3874:     fi
                   3875:   done
                   3876: 
                   3877:   cd ..
                   3878:   rm -rf conftest.dir
                   3879: else
                   3880:   am_cv_CXX_dependencies_compiler_type=none
                   3881: fi
                   3882: 
                   3883: fi
1.150     moko     3884: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   3885: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      3886: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   3887: 
1.150     moko     3888:  if
1.66      paf      3889:   test "x$enable_dependency_tracking" != xno \
                   3890:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   3891:   am__fastdepCXX_TRUE=
                   3892:   am__fastdepCXX_FALSE='#'
                   3893: else
                   3894:   am__fastdepCXX_TRUE='#'
                   3895:   am__fastdepCXX_FALSE=
                   3896: fi
                   3897: 
                   3898: 
                   3899: ac_ext=c
                   3900: ac_cpp='$CPP $CPPFLAGS'
                   3901: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3902: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3903: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3904: if test -n "$ac_tool_prefix"; then
                   3905:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3906: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.150     moko     3907: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3908: $as_echo_n "checking for $ac_word... " >&6; }
                   3909: if ${ac_cv_prog_CC+:} false; then :
                   3910:   $as_echo_n "(cached) " >&6
1.66      paf      3911: else
                   3912:   if test -n "$CC"; then
                   3913:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3914: else
                   3915: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3916: for as_dir in $PATH
                   3917: do
                   3918:   IFS=$as_save_IFS
                   3919:   test -z "$as_dir" && as_dir=.
1.150     moko     3920:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3921:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3922:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.150     moko     3923:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      3924:     break 2
                   3925:   fi
                   3926: done
1.150     moko     3927:   done
                   3928: IFS=$as_save_IFS
1.66      paf      3929: 
                   3930: fi
                   3931: fi
                   3932: CC=$ac_cv_prog_CC
                   3933: if test -n "$CC"; then
1.150     moko     3934:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3935: $as_echo "$CC" >&6; }
1.66      paf      3936: else
1.150     moko     3937:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3938: $as_echo "no" >&6; }
1.66      paf      3939: fi
                   3940: 
1.150     moko     3941: 
1.66      paf      3942: fi
                   3943: if test -z "$ac_cv_prog_CC"; then
                   3944:   ac_ct_CC=$CC
                   3945:   # Extract the first word of "gcc", so it can be a program name with args.
                   3946: set dummy gcc; ac_word=$2
1.150     moko     3947: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3948: $as_echo_n "checking for $ac_word... " >&6; }
                   3949: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3950:   $as_echo_n "(cached) " >&6
1.66      paf      3951: else
                   3952:   if test -n "$ac_ct_CC"; then
                   3953:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3954: else
                   3955: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3956: for as_dir in $PATH
                   3957: do
                   3958:   IFS=$as_save_IFS
                   3959:   test -z "$as_dir" && as_dir=.
1.150     moko     3960:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3961:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3962:     ac_cv_prog_ac_ct_CC="gcc"
1.150     moko     3963:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      3964:     break 2
                   3965:   fi
                   3966: done
1.150     moko     3967:   done
                   3968: IFS=$as_save_IFS
1.66      paf      3969: 
                   3970: fi
                   3971: fi
                   3972: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3973: if test -n "$ac_ct_CC"; then
1.150     moko     3974:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3975: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      3976: else
1.150     moko     3977:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3978: $as_echo "no" >&6; }
1.62      paf      3979: fi
                   3980: 
1.150     moko     3981:   if test "x$ac_ct_CC" = x; then
                   3982:     CC=""
                   3983:   else
                   3984:     case $cross_compiling:$ac_tool_warned in
                   3985: yes:)
                   3986: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3987: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3988: ac_tool_warned=yes ;;
                   3989: esac
                   3990:     CC=$ac_ct_CC
                   3991:   fi
1.66      paf      3992: else
                   3993:   CC="$ac_cv_prog_CC"
1.1       paf      3994: fi
1.62      paf      3995: 
1.66      paf      3996: if test -z "$CC"; then
1.150     moko     3997:           if test -n "$ac_tool_prefix"; then
                   3998:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      3999: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.150     moko     4000: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4001: $as_echo_n "checking for $ac_word... " >&6; }
                   4002: if ${ac_cv_prog_CC+:} false; then :
                   4003:   $as_echo_n "(cached) " >&6
1.66      paf      4004: else
                   4005:   if test -n "$CC"; then
                   4006:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4007: else
                   4008: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4009: for as_dir in $PATH
                   4010: do
                   4011:   IFS=$as_save_IFS
                   4012:   test -z "$as_dir" && as_dir=.
1.150     moko     4013:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4014:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4015:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.150     moko     4016:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4017:     break 2
                   4018:   fi
                   4019: done
1.150     moko     4020:   done
                   4021: IFS=$as_save_IFS
1.62      paf      4022: 
1.66      paf      4023: fi
                   4024: fi
                   4025: CC=$ac_cv_prog_CC
                   4026: if test -n "$CC"; then
1.150     moko     4027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4028: $as_echo "$CC" >&6; }
1.62      paf      4029: else
1.150     moko     4030:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4031: $as_echo "no" >&6; }
1.1       paf      4032: fi
                   4033: 
1.150     moko     4034: 
1.66      paf      4035:   fi
1.1       paf      4036: fi
1.66      paf      4037: if test -z "$CC"; then
                   4038:   # Extract the first word of "cc", so it can be a program name with args.
                   4039: set dummy cc; ac_word=$2
1.150     moko     4040: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4041: $as_echo_n "checking for $ac_word... " >&6; }
                   4042: if ${ac_cv_prog_CC+:} false; then :
                   4043:   $as_echo_n "(cached) " >&6
1.66      paf      4044: else
                   4045:   if test -n "$CC"; then
                   4046:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4047: else
                   4048:   ac_prog_rejected=no
                   4049: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4050: for as_dir in $PATH
                   4051: do
                   4052:   IFS=$as_save_IFS
                   4053:   test -z "$as_dir" && as_dir=.
1.150     moko     4054:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4055:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4056:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4057:        ac_prog_rejected=yes
                   4058:        continue
                   4059:      fi
                   4060:     ac_cv_prog_CC="cc"
1.150     moko     4061:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4062:     break 2
                   4063:   fi
                   4064: done
1.150     moko     4065:   done
                   4066: IFS=$as_save_IFS
1.62      paf      4067: 
1.66      paf      4068: if test $ac_prog_rejected = yes; then
                   4069:   # We found a bogon in the path, so make sure we never use it.
                   4070:   set dummy $ac_cv_prog_CC
                   4071:   shift
                   4072:   if test $# != 0; then
                   4073:     # We chose a different compiler from the bogus one.
                   4074:     # However, it has the same basename, so the bogon will be chosen
                   4075:     # first if we set CC to just the basename; use the full file name.
                   4076:     shift
                   4077:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4078:   fi
                   4079: fi
                   4080: fi
                   4081: fi
                   4082: CC=$ac_cv_prog_CC
                   4083: if test -n "$CC"; then
1.150     moko     4084:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4085: $as_echo "$CC" >&6; }
1.66      paf      4086: else
1.150     moko     4087:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4088: $as_echo "no" >&6; }
1.1       paf      4089: fi
                   4090: 
1.150     moko     4091: 
1.66      paf      4092: fi
                   4093: if test -z "$CC"; then
                   4094:   if test -n "$ac_tool_prefix"; then
1.150     moko     4095:   for ac_prog in cl.exe
1.62      paf      4096:   do
                   4097:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4098: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     4099: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4100: $as_echo_n "checking for $ac_word... " >&6; }
                   4101: if ${ac_cv_prog_CC+:} false; then :
                   4102:   $as_echo_n "(cached) " >&6
1.62      paf      4103: else
1.66      paf      4104:   if test -n "$CC"; then
                   4105:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      4106: else
                   4107: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4108: for as_dir in $PATH
                   4109: do
                   4110:   IFS=$as_save_IFS
                   4111:   test -z "$as_dir" && as_dir=.
1.150     moko     4112:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4113:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4114:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.150     moko     4115:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4116:     break 2
                   4117:   fi
                   4118: done
1.150     moko     4119:   done
                   4120: IFS=$as_save_IFS
1.1       paf      4121: 
1.62      paf      4122: fi
                   4123: fi
1.66      paf      4124: CC=$ac_cv_prog_CC
                   4125: if test -n "$CC"; then
1.150     moko     4126:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4127: $as_echo "$CC" >&6; }
1.1       paf      4128: else
1.150     moko     4129:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4130: $as_echo "no" >&6; }
1.1       paf      4131: fi
                   4132: 
1.150     moko     4133: 
1.66      paf      4134:     test -n "$CC" && break
1.62      paf      4135:   done
                   4136: fi
1.66      paf      4137: if test -z "$CC"; then
                   4138:   ac_ct_CC=$CC
1.150     moko     4139:   for ac_prog in cl.exe
1.62      paf      4140: do
                   4141:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4142: set dummy $ac_prog; ac_word=$2
1.150     moko     4143: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4144: $as_echo_n "checking for $ac_word... " >&6; }
                   4145: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4146:   $as_echo_n "(cached) " >&6
1.62      paf      4147: else
1.66      paf      4148:   if test -n "$ac_ct_CC"; then
                   4149:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      4150: else
1.62      paf      4151: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4152: for as_dir in $PATH
                   4153: do
                   4154:   IFS=$as_save_IFS
                   4155:   test -z "$as_dir" && as_dir=.
1.150     moko     4156:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4157:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4158:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.150     moko     4159:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4160:     break 2
                   4161:   fi
                   4162: done
1.150     moko     4163:   done
                   4164: IFS=$as_save_IFS
1.62      paf      4165: 
                   4166: fi
                   4167: fi
1.66      paf      4168: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4169: if test -n "$ac_ct_CC"; then
1.150     moko     4170:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4171: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4172: else
1.150     moko     4173:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4174: $as_echo "no" >&6; }
1.1       paf      4175: fi
                   4176: 
1.150     moko     4177: 
1.66      paf      4178:   test -n "$ac_ct_CC" && break
                   4179: done
                   4180: 
1.150     moko     4181:   if test "x$ac_ct_CC" = x; then
                   4182:     CC=""
                   4183:   else
                   4184:     case $cross_compiling:$ac_tool_warned in
                   4185: yes:)
                   4186: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4187: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4188: ac_tool_warned=yes ;;
                   4189: esac
                   4190:     CC=$ac_ct_CC
                   4191:   fi
1.66      paf      4192: fi
                   4193: 
                   4194: fi
1.62      paf      4195: 
1.1       paf      4196: 
1.150     moko     4197: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4198: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4199: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4200: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      4201: 
                   4202: # Provide some information about the compiler.
1.150     moko     4203: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4204: set X $ac_compile
                   4205: ac_compiler=$2
                   4206: for ac_option in --version -v -V -qversion; do
                   4207:   { { ac_try="$ac_compiler $ac_option >&5"
                   4208: case "(($ac_try" in
                   4209:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4210:   *) ac_try_echo=$ac_try;;
                   4211: esac
                   4212: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4213: $as_echo "$ac_try_echo"; } >&5
                   4214:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      4215:   ac_status=$?
1.150     moko     4216:   if test -s conftest.err; then
                   4217:     sed '10a\
                   4218: ... rest of stderr output deleted ...
                   4219:          10q' conftest.err >conftest.er1
                   4220:     cat conftest.er1 >&5
                   4221:   fi
                   4222:   rm -f conftest.er1 conftest.err
                   4223:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4224:   test $ac_status = 0; }
                   4225: done
                   4226: 
                   4227: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4228: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4229: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4230:   $as_echo_n "(cached) " >&6
1.62      paf      4231: else
1.150     moko     4232:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4233: /* end confdefs.h.  */
                   4234: 
                   4235: int
                   4236: main ()
                   4237: {
                   4238: #ifndef __GNUC__
                   4239:        choke me
                   4240: #endif
                   4241: 
                   4242:   ;
                   4243:   return 0;
                   4244: }
                   4245: _ACEOF
1.150     moko     4246: if ac_fn_c_try_compile "$LINENO"; then :
1.62      paf      4247:   ac_compiler_gnu=yes
                   4248: else
1.150     moko     4249:   ac_compiler_gnu=no
1.62      paf      4250: fi
1.150     moko     4251: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      4252: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      4253: 
                   4254: fi
1.150     moko     4255: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4256: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4257: if test $ac_compiler_gnu = yes; then
                   4258:   GCC=yes
                   4259: else
                   4260:   GCC=
                   4261: fi
1.66      paf      4262: ac_test_CFLAGS=${CFLAGS+set}
                   4263: ac_save_CFLAGS=$CFLAGS
1.150     moko     4264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4265: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4266: if ${ac_cv_prog_cc_g+:} false; then :
                   4267:   $as_echo_n "(cached) " >&6
                   4268: else
                   4269:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4270:    ac_c_werror_flag=yes
                   4271:    ac_cv_prog_cc_g=no
                   4272:    CFLAGS="-g"
                   4273:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4274: /* end confdefs.h.  */
                   4275: 
                   4276: int
                   4277: main ()
                   4278: {
                   4279: 
                   4280:   ;
                   4281:   return 0;
                   4282: }
                   4283: _ACEOF
1.150     moko     4284: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      4285:   ac_cv_prog_cc_g=yes
1.62      paf      4286: else
1.150     moko     4287:   CFLAGS=""
                   4288:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4289: /* end confdefs.h.  */
                   4290: 
                   4291: int
                   4292: main ()
                   4293: {
1.62      paf      4294: 
1.150     moko     4295:   ;
                   4296:   return 0;
                   4297: }
                   4298: _ACEOF
                   4299: if ac_fn_c_try_compile "$LINENO"; then :
                   4300: 
                   4301: else
                   4302:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4303:         CFLAGS="-g"
                   4304:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4305: /* end confdefs.h.  */
                   4306: 
                   4307: int
                   4308: main ()
                   4309: {
                   4310: 
                   4311:   ;
                   4312:   return 0;
                   4313: }
                   4314: _ACEOF
                   4315: if ac_fn_c_try_compile "$LINENO"; then :
                   4316:   ac_cv_prog_cc_g=yes
                   4317: fi
                   4318: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4319: fi
1.150     moko     4320: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4321: fi
1.150     moko     4322: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4323:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4324: fi
                   4325: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4326: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.66      paf      4327: if test "$ac_test_CFLAGS" = set; then
                   4328:   CFLAGS=$ac_save_CFLAGS
                   4329: elif test $ac_cv_prog_cc_g = yes; then
                   4330:   if test "$GCC" = yes; then
                   4331:     CFLAGS="-g -O2"
1.1       paf      4332:   else
1.66      paf      4333:     CFLAGS="-g"
1.1       paf      4334:   fi
                   4335: else
1.66      paf      4336:   if test "$GCC" = yes; then
                   4337:     CFLAGS="-O2"
1.1       paf      4338:   else
1.66      paf      4339:     CFLAGS=
1.1       paf      4340:   fi
                   4341: fi
1.150     moko     4342: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4343: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4344: if ${ac_cv_prog_cc_c89+:} false; then :
                   4345:   $as_echo_n "(cached) " >&6
1.66      paf      4346: else
1.150     moko     4347:   ac_cv_prog_cc_c89=no
1.66      paf      4348: ac_save_CC=$CC
1.150     moko     4349: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4350: /* end confdefs.h.  */
                   4351: #include <stdarg.h>
                   4352: #include <stdio.h>
                   4353: #include <sys/types.h>
                   4354: #include <sys/stat.h>
                   4355: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4356: struct buf { int x; };
                   4357: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4358: static char *e (p, i)
                   4359:      char **p;
                   4360:      int i;
                   4361: {
                   4362:   return p[i];
                   4363: }
                   4364: static char *f (char * (*g) (char **, int), char **p, ...)
                   4365: {
                   4366:   char *s;
                   4367:   va_list v;
                   4368:   va_start (v,p);
                   4369:   s = g (p, va_arg (v,int));
                   4370:   va_end (v);
                   4371:   return s;
                   4372: }
1.86      paf      4373: 
                   4374: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4375:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4376:    These don't provoke an error unfortunately, instead are silently treated
1.150     moko     4377:    as 'x'.  The following induces an error, until -std is added to get
1.86      paf      4378:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4379:    array size at least.  It's necessary to write '\x00'==0 to get something
1.150     moko     4380:    that's true only with -std.  */
1.86      paf      4381: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4382: 
1.150     moko     4383: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4384:    inside strings and character constants.  */
                   4385: #define FOO(x) 'x'
                   4386: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4387: 
1.66      paf      4388: int test (int i, double x);
                   4389: struct s1 {int (*f) (int a);};
                   4390: struct s2 {int (*f) (double a);};
                   4391: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4392: int argc;
                   4393: char **argv;
                   4394: int
                   4395: main ()
                   4396: {
                   4397: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4398:   ;
                   4399:   return 0;
                   4400: }
                   4401: _ACEOF
1.150     moko     4402: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4403:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      4404: do
                   4405:   CC="$ac_save_CC $ac_arg"
1.150     moko     4406:   if ac_fn_c_try_compile "$LINENO"; then :
                   4407:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      4408: fi
1.150     moko     4409: rm -f core conftest.err conftest.$ac_objext
                   4410:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      4411: done
1.150     moko     4412: rm -f conftest.$ac_ext
1.66      paf      4413: CC=$ac_save_CC
                   4414: 
                   4415: fi
1.150     moko     4416: # AC_CACHE_VAL
                   4417: case "x$ac_cv_prog_cc_c89" in
                   4418:   x)
                   4419:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4420: $as_echo "none needed" >&6; } ;;
                   4421:   xno)
                   4422:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4423: $as_echo "unsupported" >&6; } ;;
1.66      paf      4424:   *)
1.150     moko     4425:     CC="$CC $ac_cv_prog_cc_c89"
                   4426:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4427: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.66      paf      4428: esac
1.150     moko     4429: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.62      paf      4430: 
                   4431: fi
1.66      paf      4432: 
1.62      paf      4433: ac_ext=c
                   4434: ac_cpp='$CPP $CPPFLAGS'
                   4435: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4436: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4437: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4438: 
1.66      paf      4439: depcc="$CC"   am_compiler_list=
1.62      paf      4440: 
1.150     moko     4441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4442: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4443: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4444:   $as_echo_n "(cached) " >&6
1.62      paf      4445: else
                   4446:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4447:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4448:   # making bogus files that we don't know about and never remove.  For
                   4449:   # instance it was reported that on HP-UX the gcc test will end up
                   4450:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4451:   # in D'.
                   4452:   mkdir conftest.dir
                   4453:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4454:   # using a relative directory.
                   4455:   cp "$am_depcomp" conftest.dir
                   4456:   cd conftest.dir
1.86      paf      4457:   # We will build objects and dependencies in a subdirectory because
                   4458:   # it helps to detect inapplicable dependency modes.  For instance
                   4459:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4460:   # side effect of compilation, but ICC will put the dependencies in
                   4461:   # the current directory while Tru64 will put them in the object
                   4462:   # directory.
                   4463:   mkdir sub
1.62      paf      4464: 
1.66      paf      4465:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      4466:   if test "$am_compiler_list" = ""; then
                   4467:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4468:   fi
1.150     moko     4469:   am__universal=false
                   4470:   case " $depcc " in #(
                   4471:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4472:      esac
                   4473: 
1.62      paf      4474:   for depmode in $am_compiler_list; do
1.86      paf      4475:     # Setup a source with many dependencies, because some compilers
                   4476:     # like to wrap large dependency lists on column 80 (with \), and
                   4477:     # we should not choose a depcomp mode which is confused by this.
                   4478:     #
1.62      paf      4479:     # We need to recreate these files for each test, as the compiler may
                   4480:     # overwrite some of them when testing with obscure command lines.
                   4481:     # This happens at least with the AIX C compiler.
1.86      paf      4482:     : > sub/conftest.c
                   4483:     for i in 1 2 3 4 5 6; do
                   4484:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4485:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4486:       # Solaris 8's {/usr,}/bin/sh.
                   4487:       touch sub/conftst$i.h
                   4488:     done
                   4489:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4490: 
1.150     moko     4491:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4492:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4493:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4494:     # versions had trouble with output in subdirs
                   4495:     am__obj=sub/conftest.${OBJEXT-o}
                   4496:     am__minus_obj="-o $am__obj"
1.62      paf      4497:     case $depmode in
1.150     moko     4498:     gcc)
                   4499:       # This depmode causes a compiler race in universal mode.
                   4500:       test "$am__universal" = false || continue
                   4501:       ;;
1.62      paf      4502:     nosideeffect)
                   4503:       # after this tag, mechanisms are not by side-effect, so they'll
                   4504:       # only be used when explicitly requested
                   4505:       if test "x$enable_dependency_tracking" = xyes; then
                   4506:        continue
                   4507:       else
                   4508:        break
                   4509:       fi
                   4510:       ;;
1.150     moko     4511:     msvisualcpp | msvcmsys)
                   4512:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4513:       # not run yet.  These depmodes are late enough in the game, and
                   4514:       # so weak that their functioning should not be impacted.
                   4515:       am__obj=conftest.${OBJEXT-o}
                   4516:       am__minus_obj=
                   4517:       ;;
1.62      paf      4518:     none) break ;;
                   4519:     esac
1.66      paf      4520:     if depmode=$depmode \
1.150     moko     4521:        source=sub/conftest.c object=$am__obj \
1.86      paf      4522:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4523:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4524:          >/dev/null 2>conftest.err &&
1.150     moko     4525:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4526:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4527:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      4528:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4529:       # icc doesn't choke on unknown options, it will just issue warnings
                   4530:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4531:       # that says an option was ignored or not supported.
                   4532:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4533:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4534:       # The diagnosis changed in icc 8.0:
                   4535:       #   icc: Command line remark: option '-MP' not supported
                   4536:       if (grep 'ignoring option' conftest.err ||
                   4537:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4538:         am_cv_CC_dependencies_compiler_type=$depmode
                   4539:         break
                   4540:       fi
1.66      paf      4541:     fi
                   4542:   done
                   4543: 
                   4544:   cd ..
                   4545:   rm -rf conftest.dir
                   4546: else
                   4547:   am_cv_CC_dependencies_compiler_type=none
                   4548: fi
                   4549: 
                   4550: fi
1.150     moko     4551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4552: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      4553: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4554: 
1.150     moko     4555:  if
1.66      paf      4556:   test "x$enable_dependency_tracking" != xno \
                   4557:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4558:   am__fastdepCC_TRUE=
                   4559:   am__fastdepCC_FALSE='#'
                   4560: else
                   4561:   am__fastdepCC_TRUE='#'
                   4562:   am__fastdepCC_FALSE=
                   4563: fi
                   4564: 
                   4565: 
1.128     moko     4566: 
1.66      paf      4567: ac_ext=c
                   4568: ac_cpp='$CPP $CPPFLAGS'
                   4569: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4570: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4571: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4572: 
1.67      paf      4573: 
1.62      paf      4574: 
1.150     moko     4575: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
                   4576: $as_echo_n "checking for dynamic-link library extension... " >&6; }
1.128     moko     4577: case "$host_os" in
                   4578: cygwin)
                   4579:        dll_extension=dll
                   4580:        ;;
                   4581: *)
                   4582:        dll_extension=so
1.66      paf      4583: esac
1.150     moko     4584: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
                   4585: $as_echo "$dll_extension" >&6; }
1.1       paf      4586: 
1.71      paf      4587: 
                   4588: 
                   4589: 
1.150     moko     4590: # Check whether --with-build-warnings was given.
                   4591: if test "${with_build_warnings+set}" = set; then :
                   4592:   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   4593: $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
1.71      paf      4594:        CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
                   4595: 
1.150     moko     4596: fi
                   4597: 
1.1       paf      4598: 
                   4599: 
1.150     moko     4600: # Check whether --with-assertions was given.
                   4601: if test "${with_assertions+set}" = set; then :
                   4602:   withval=$with_assertions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   4603: $as_echo "$as_me: WARNING: enabling assertions" >&2;}
1.67      paf      4604: 
                   4605: else
                   4606: 
1.150     moko     4607: $as_echo "#define NDEBUG /**/" >>confdefs.h
                   4608: 
1.67      paf      4609: 
1.150     moko     4610: fi
1.67      paf      4611: 
                   4612: 
1.94      misha    4613: 
1.150     moko     4614: # Check whether --with-sjlj-exceptions was given.
                   4615: if test "${with_sjlj_exceptions+set}" = set; then :
                   4616:   withval=$with_sjlj_exceptions;
                   4617: $as_echo "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     4618: 
                   4619: 
1.150     moko     4620: fi
1.128     moko     4621: 
                   4622: 
1.62      paf      4623: 
1.150     moko     4624: # Check whether --enable-safe-mode was given.
                   4625: if test "${enable_safe_mode+set}" = set; then :
                   4626:   enableval=$enable_safe_mode;
1.67      paf      4627:        SAFE_MODE=$enableval
1.60      paf      4628: 
1.1       paf      4629: 
1.150     moko     4630: fi
                   4631: 
1.128     moko     4632: 
1.60      paf      4633: if test "$SAFE_MODE" = "no"; then
1.150     moko     4634:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   4635: $as_echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      4636: else
1.62      paf      4637: 
1.150     moko     4638: $as_echo "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      4639: 
                   4640: fi
                   4641: 
1.94      misha    4642: 
1.150     moko     4643: # Check whether --enable-execs was given.
                   4644: if test "${enable_execs+set}" = set; then :
                   4645:   enableval=$enable_execs;
1.13      paf      4646: if test "$enableval" = "no"; then
1.150     moko     4647:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   4648: $as_echo "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      4649: 
1.150     moko     4650: $as_echo "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      4651: 
                   4652: fi
                   4653: 
                   4654: 
1.150     moko     4655: fi
1.13      paf      4656: 
1.60      paf      4657: 
1.94      misha    4658: 
1.150     moko     4659: # Check whether --enable-stringstream was given.
                   4660: if test "${enable_stringstream+set}" = set; then :
                   4661:   enableval=$enable_stringstream;
1.94      misha    4662: if test "$enableval" = "no"; then
1.150     moko     4663:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   4664: $as_echo "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    4665: 
1.150     moko     4666: $as_echo "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    4667: 
                   4668: fi
                   4669: 
                   4670: 
1.150     moko     4671: fi
1.94      misha    4672: 
                   4673: 
1.62      paf      4674: 
1.17      paf      4675: 
1.150     moko     4676: # Check whether --with-gc was given.
                   4677: if test "${with_gc+set}" = set; then :
                   4678:   withval=$with_gc;
1.17      paf      4679: 
1.142     moko     4680:        GC=$withval
                   4681:        GC_LIBS="$GC/libgc.la"
                   4682: 
                   4683:        if test -f $GC_LIBS; then
                   4684:                GC_OK="yes"
                   4685:        else
                   4686:                GC_LIBS="-L$GC -lgc"
                   4687:        fi
1.62      paf      4688: 
1.151     moko     4689:        if test "$GC" = "yes"; then
                   4690:                GC=""
                   4691:                GC_LIBS="-lgc"
                   4692:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   4693: $as_echo "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
                   4694:        fi
                   4695: 
1.142     moko     4696: else
1.17      paf      4697: 
1.142     moko     4698:        GC_LIBS="-lgc"
1.150     moko     4699:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   4700: $as_echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   4701: 
                   4702: fi
1.17      paf      4703: 
                   4704: 
1.142     moko     4705: if test -z "$GC_OK"; then
1.150     moko     4706:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   4707: $as_echo_n "checking for libgc... " >&6; }
1.138     moko     4708:        SAVE_LIBS=$LIBS
                   4709:        LIBS="$LIBS $GC_LIBS"
1.128     moko     4710: 
1.150     moko     4711: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      4712: /* end confdefs.h.  */
1.142     moko     4713:  extern int GC_dont_gc;
1.67      paf      4714: int
                   4715: main ()
                   4716: {
1.142     moko     4717:  GC_dont_gc=0;
1.67      paf      4718:   ;
                   4719:   return 0;
                   4720: }
                   4721: _ACEOF
1.150     moko     4722: if ac_fn_c_try_link "$LINENO"; then :
                   4723:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4724: $as_echo "yes" >&6; }
1.67      paf      4725: 
                   4726: else
1.150     moko     4727:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4728: $as_echo "no" >&6; }
1.142     moko     4729:                if test -z "$GC"; then
1.151     moko     4730:                        as_fn_error $? "please specify path to libgc: --with-gc=D" "$LINENO" 5
1.142     moko     4731:                else
1.150     moko     4732:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     4733:                fi
1.67      paf      4734: 
                   4735: fi
1.150     moko     4736: rm -f core conftest.err conftest.$ac_objext \
                   4737:     conftest$ac_exeext conftest.$ac_ext
1.138     moko     4738:        LIBS=$SAVE_LIBS
                   4739: fi
1.67      paf      4740: 
                   4741: 
1.1       paf      4742: 
1.15      paf      4743: 
1.142     moko     4744: 
1.150     moko     4745: # Check whether --with-pcre was given.
                   4746: if test "${with_pcre+set}" = set; then :
                   4747:   withval=$with_pcre;
1.100     misha    4748:        PCRE=$withval
1.142     moko     4749:        PCRE_INCLUDES="-I$PCRE/include"
                   4750:        PCRE_LIBS="$PCRE/lib/libpcre.la"
1.100     misha    4751: 
1.142     moko     4752:        if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then
                   4753:                PCRE_OK="yes"
                   4754:        else
                   4755:                PCRE_LIBS="-L$PCRE -lpcre"
1.100     misha    4756:        fi
                   4757: 
1.151     moko     4758:        if test "$PCRE" = "yes"; then
                   4759:                PCRE=""
                   4760:                PCRE_LIBS="-lpcre"
                   4761:                PCRE_INCLUDES=""
                   4762:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   4763: $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
                   4764:        fi
1.142     moko     4765: 
                   4766: else
                   4767: 
                   4768:        PCRE_LIBS="-lpcre"
1.149     moko     4769:        PCRE_INCLUDES=""
1.150     moko     4770:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   4771: $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   4772: 
                   4773: fi
1.100     misha    4774: 
                   4775: 
1.142     moko     4776: if test -z "$PCRE_OK"; then
1.150     moko     4777:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prce" >&5
                   4778: $as_echo_n "checking for prce... " >&6; }
1.142     moko     4779:        SAVE_LIBS=$LIBS
                   4780:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.150     moko     4781:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     4782: /* end confdefs.h.  */
                   4783:  #include <pcre.h>
                   4784: int
                   4785: main ()
                   4786: {
                   4787:  const char *v=pcre_version();
                   4788:   ;
                   4789:   return 0;
                   4790: }
                   4791: _ACEOF
1.150     moko     4792: if ac_fn_c_try_link "$LINENO"; then :
                   4793:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4794: $as_echo "yes" >&6; }
1.142     moko     4795: 
                   4796: else
1.150     moko     4797:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4798: $as_echo "no" >&6; }
1.142     moko     4799:                if test -z "$PCRE"; then
1.151     moko     4800:                        as_fn_error $? "please specify path to PCRE: --with-pcre=D" "$LINENO" 5
1.142     moko     4801:                else
1.150     moko     4802:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     4803:                fi
                   4804: 
                   4805: fi
1.150     moko     4806: rm -f core conftest.err conftest.$ac_objext \
                   4807:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     4808:        LIBS=$SAVE_LIBS
                   4809: fi
1.100     misha    4810: 
                   4811: 
                   4812: 
                   4813: 
1.66      paf      4814: 
                   4815: 
1.150     moko     4816: # Check whether --with-xml was given.
                   4817: if test "${with_xml+set}" = set; then :
                   4818:   withval=$with_xml;
1.66      paf      4819: 
1.142     moko     4820:        XML=$withval
                   4821:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   4822: 
                   4823:        if test -z "$XML" -o "$XML" = "yes"; then
                   4824:                XML=""
                   4825:                XML_INCLUDES="-I/usr/include/libxml2"
1.150     moko     4826:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   4827: $as_echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     4828:        else
                   4829:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.67      paf      4830: 
1.142     moko     4831:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   4832:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   4833:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   4834:                        XML_OK="yes"
                   4835:                fi
1.67      paf      4836:        fi
1.66      paf      4837: 
1.142     moko     4838:        if test -z "$XML_OK"; then
1.150     moko     4839:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   4840: $as_echo_n "checking for xml... " >&6; }
1.142     moko     4841:                SAVE_LIBS=$LIBS
                   4842:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.150     moko     4843:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     4844: /* end confdefs.h.  */
                   4845:  #include <libxslt/xslt.h>
                   4846: int
                   4847: main ()
                   4848: {
                   4849:  const char *v=xsltEngineVersion;
                   4850:   ;
                   4851:   return 0;
                   4852: }
                   4853: _ACEOF
1.150     moko     4854: if ac_fn_c_try_link "$LINENO"; then :
                   4855:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4856: $as_echo "yes" >&6; }
1.142     moko     4857: 
                   4858: else
1.150     moko     4859:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4860: $as_echo "no" >&6; }
1.142     moko     4861:                        if test -z "$XML"; then
1.151     moko     4862:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=D" "$LINENO" 5
1.142     moko     4863:                        else
1.150     moko     4864:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     4865:                        fi
                   4866: 
                   4867: fi
1.150     moko     4868: rm -f core conftest.err conftest.$ac_objext \
                   4869:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     4870:                LIBS=$SAVE_LIBS
1.67      paf      4871:        fi
1.66      paf      4872: 
1.150     moko     4873: $as_echo "#define XML /**/" >>confdefs.h
                   4874: 
1.66      paf      4875: 
1.150     moko     4876: fi
1.66      paf      4877: 
1.90      paf      4878: 
1.66      paf      4879: 
                   4880: 
                   4881: 
                   4882: 
1.90      paf      4883: 
1.154   ! moko     4884: # Check whether --with-mailreceive was given.
        !          4885: if test "${with_mailreceive+set}" = set; then :
        !          4886:   withval=$with_mailreceive;
        !          4887:        MIME=$withval
        !          4888:        GMIME="gmime-2.4"
        !          4889: 
        !          4890:        if test -z "$MIME" -o "$MIME" = "yes"; then
        !          4891:                MIME=""
        !          4892:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
        !          4893:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
        !          4894:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
        !          4895: $as_echo "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
        !          4896:        else
        !          4897:                MIME_INCLUDES="-I$MIME/include/$GMIME -I$MIME/include/glib-2.0"
        !          4898:                MIME_LIBS="-l$GMIME"
        !          4899:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
        !          4900:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
        !          4901:                        MIME_OK="yes"
        !          4902:                fi
1.67      paf      4903:        fi
1.66      paf      4904: 
1.154   ! moko     4905:        if test -z "$MIME_OK"; then
        !          4906:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
        !          4907: $as_echo_n "checking for mime... " >&6; }
        !          4908:                SAVE_LIBS=$LIBS
        !          4909:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
        !          4910:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4911: /* end confdefs.h.  */
        !          4912:  #include <gmime/gmime.h>
        !          4913: int
        !          4914: main ()
        !          4915: {
        !          4916:  guint v=gmime_major_version;
        !          4917:   ;
        !          4918:   return 0;
        !          4919: }
        !          4920: _ACEOF
        !          4921: if ac_fn_c_try_link "$LINENO"; then :
        !          4922:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          4923: $as_echo "yes" >&6; }
1.66      paf      4924: 
1.154   ! moko     4925: else
        !          4926:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4927: $as_echo "no" >&6; }
        !          4928:                        if test -z "$MIME"; then
        !          4929:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=D" "$LINENO" 5
        !          4930:                        else
        !          4931:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
1.90      paf      4932:                        fi
1.66      paf      4933: 
1.150     moko     4934: fi
1.154   ! moko     4935: rm -f core conftest.err conftest.$ac_objext \
        !          4936:     conftest$ac_exeext conftest.$ac_ext
        !          4937:                LIBS=$SAVE_LIBS
1.67      paf      4938:        fi
1.66      paf      4939: 
1.150     moko     4940: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      4941: 
                   4942: 
1.154   ! moko     4943: fi
1.66      paf      4944: 
                   4945: 
                   4946: 
                   4947: 
                   4948: 
                   4949: 
                   4950: 
1.150     moko     4951: # Check whether --with-sendmail was given.
                   4952: if test "${with_sendmail+set}" = set; then :
                   4953:   withval=$with_sendmail;
1.66      paf      4954: cat >>confdefs.h <<_ACEOF
                   4955: #define PA_FORCED_SENDMAIL "$withval"
                   4956: _ACEOF
                   4957: 
                   4958: 
1.150     moko     4959: fi
1.66      paf      4960: 
                   4961: 
                   4962: 
1.122     moko     4963: 
1.150     moko     4964: # Check whether --with-apache was given.
                   4965: if test "${with_apache+set}" = set; then :
                   4966:   withval=$with_apache;
1.122     moko     4967:        APXS=$withval
                   4968: 
                   4969:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   4970:                APXS=`which apxs 2>/dev/null`
1.142     moko     4971:                if test -z "$APXS"; then
                   4972:                        APXS=`which apxs2 2>/dev/null`
                   4973:                fi
                   4974:        fi
1.122     moko     4975: 
                   4976:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   4977: 
                   4978:        if test -z "$APACHE"; then
1.150     moko     4979:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      4980:        fi
1.7       paf      4981: 
1.122     moko     4982:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   4983:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   4984:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   4985:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   4986: 
1.150     moko     4987: fi
1.7       paf      4988: 
                   4989: 
1.62      paf      4990: 
1.122     moko     4991: 
1.150     moko     4992:  if test -n "$APACHE"; then
1.122     moko     4993:   COMPILE_APACHE_MODULE_TRUE=
                   4994:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      4995: else
1.122     moko     4996:   COMPILE_APACHE_MODULE_TRUE='#'
                   4997:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      4998: fi
1.1       paf      4999: 
                   5000: 
                   5001: 
1.62      paf      5002: 
                   5003: 
1.7       paf      5004: 
1.1       paf      5005: 
                   5006: 
                   5007: 
1.62      paf      5008: 
1.128     moko     5009: case `pwd` in
                   5010:   *\ * | *\    *)
1.150     moko     5011:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5012: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5013: esac
                   5014: 
                   5015: 
                   5016: 
                   5017: macro_version='2.4.2'
                   5018: macro_revision='1.3337'
                   5019: 
                   5020: 
                   5021: 
                   5022: 
                   5023: 
                   5024: 
                   5025: 
                   5026: 
                   5027: 
                   5028: 
                   5029: 
                   5030: 
                   5031: 
                   5032: ltmain="$ac_aux_dir/ltmain.sh"
                   5033: 
                   5034: # Backslashify metacharacters that are still active within
                   5035: # double-quoted strings.
                   5036: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5037: 
1.128     moko     5038: # Same as above, but do not quote variable references.
                   5039: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5040: 
1.128     moko     5041: # Sed substitution to delay expansion of an escaped shell variable in a
                   5042: # double_quote_subst'ed string.
                   5043: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5044: 
1.128     moko     5045: # Sed substitution to delay expansion of an escaped single quote.
                   5046: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5047: 
1.128     moko     5048: # Sed substitution to avoid accidental globbing in evaled expressions
                   5049: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5050: 
1.128     moko     5051: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5052: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5053: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5054: 
1.150     moko     5055: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5056: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5057: # Test print first, because it will be a builtin if present.
                   5058: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5059:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5060:   ECHO='print -r --'
                   5061: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5062:   ECHO='printf %s\n'
                   5063: else
                   5064:   # Use this function as a fallback that always works.
                   5065:   func_fallback_echo ()
                   5066:   {
                   5067:     eval 'cat <<_LTECHO_EOF
                   5068: $1
                   5069: _LTECHO_EOF'
                   5070:   }
                   5071:   ECHO='func_fallback_echo'
                   5072: fi
1.86      paf      5073: 
1.128     moko     5074: # func_echo_all arg...
                   5075: # Invoke $ECHO with all args, space-separated.
                   5076: func_echo_all ()
1.66      paf      5077: {
1.128     moko     5078:     $ECHO ""
1.66      paf      5079: }
1.10      paf      5080: 
1.128     moko     5081: case "$ECHO" in
1.150     moko     5082:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5083: $as_echo "printf" >&6; } ;;
                   5084:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5085: $as_echo "print -r" >&6; } ;;
                   5086:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5087: $as_echo "cat" >&6; } ;;
1.128     moko     5088: esac
                   5089: 
                   5090: 
                   5091: 
                   5092: 
                   5093: 
                   5094: 
                   5095: 
                   5096: 
                   5097: 
                   5098: 
                   5099: 
                   5100: 
                   5101: 
                   5102: 
1.150     moko     5103: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5104: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5105: if ${ac_cv_path_SED+:} false; then :
                   5106:   $as_echo_n "(cached) " >&6
                   5107: else
                   5108:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5109:      for ac_i in 1 2 3 4 5 6 7; do
                   5110:        ac_script="$ac_script$as_nl$ac_script"
                   5111:      done
                   5112:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5113:      { ac_script=; unset ac_script;}
                   5114:      if test -z "$SED"; then
                   5115:   ac_path_SED_found=false
                   5116:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5117:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5118: for as_dir in $PATH
                   5119: do
                   5120:   IFS=$as_save_IFS
                   5121:   test -z "$as_dir" && as_dir=.
1.150     moko     5122:     for ac_prog in sed gsed; do
1.128     moko     5123:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     5124:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
                   5125:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
                   5126: # Check for GNU ac_path_SED and select it if it is found.
                   5127:   # Check for GNU $ac_path_SED
                   5128: case `"$ac_path_SED" --version 2>&1` in
                   5129: *GNU*)
                   5130:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5131: *)
                   5132:   ac_count=0
                   5133:   $as_echo_n 0123456789 >"conftest.in"
                   5134:   while :
                   5135:   do
                   5136:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5137:     mv "conftest.tmp" "conftest.in"
                   5138:     cp "conftest.in" "conftest.nl"
                   5139:     $as_echo '' >> "conftest.nl"
                   5140:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5141:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5142:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5143:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5144:       # Best one so far, save it but keep looking for a better one
                   5145:       ac_cv_path_SED="$ac_path_SED"
                   5146:       ac_path_SED_max=$ac_count
                   5147:     fi
                   5148:     # 10*(2^10) chars as input seems more than enough
                   5149:     test $ac_count -gt 10 && break
                   5150:   done
                   5151:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5152: esac
                   5153: 
                   5154:       $ac_path_SED_found && break 3
1.128     moko     5155:     done
                   5156:   done
1.150     moko     5157:   done
1.128     moko     5158: IFS=$as_save_IFS
1.150     moko     5159:   if test -z "$ac_cv_path_SED"; then
                   5160:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5161:   fi
1.150     moko     5162: else
                   5163:   ac_cv_path_SED=$SED
                   5164: fi
1.10      paf      5165: 
1.66      paf      5166: fi
1.150     moko     5167: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5168: $as_echo "$ac_cv_path_SED" >&6; }
                   5169:  SED="$ac_cv_path_SED"
                   5170:   rm -f conftest.sed
1.128     moko     5171: 
                   5172: test -z "$SED" && SED=sed
                   5173: Xsed="$SED -e 1s/^X//"
1.10      paf      5174: 
1.128     moko     5175: 
                   5176: 
                   5177: 
                   5178: 
                   5179: 
                   5180: 
                   5181: 
                   5182: 
                   5183: 
                   5184: 
1.150     moko     5185: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5186: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5187: if ${ac_cv_path_GREP+:} false; then :
                   5188:   $as_echo_n "(cached) " >&6
                   5189: else
                   5190:   if test -z "$GREP"; then
                   5191:   ac_path_GREP_found=false
                   5192:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5193:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5194: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5195: do
                   5196:   IFS=$as_save_IFS
                   5197:   test -z "$as_dir" && as_dir=.
                   5198:     for ac_prog in grep ggrep; do
                   5199:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5200:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   5201:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   5202: # Check for GNU ac_path_GREP and select it if it is found.
                   5203:   # Check for GNU $ac_path_GREP
                   5204: case `"$ac_path_GREP" --version 2>&1` in
                   5205: *GNU*)
                   5206:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5207: *)
                   5208:   ac_count=0
                   5209:   $as_echo_n 0123456789 >"conftest.in"
                   5210:   while :
                   5211:   do
                   5212:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5213:     mv "conftest.tmp" "conftest.in"
                   5214:     cp "conftest.in" "conftest.nl"
                   5215:     $as_echo 'GREP' >> "conftest.nl"
                   5216:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5217:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5218:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5219:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5220:       # Best one so far, save it but keep looking for a better one
                   5221:       ac_cv_path_GREP="$ac_path_GREP"
                   5222:       ac_path_GREP_max=$ac_count
1.128     moko     5223:     fi
1.150     moko     5224:     # 10*(2^10) chars as input seems more than enough
                   5225:     test $ac_count -gt 10 && break
                   5226:   done
                   5227:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5228: esac
                   5229: 
                   5230:       $ac_path_GREP_found && break 3
                   5231:     done
                   5232:   done
                   5233:   done
                   5234: IFS=$as_save_IFS
                   5235:   if test -z "$ac_cv_path_GREP"; then
                   5236:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5237:   fi
                   5238: else
                   5239:   ac_cv_path_GREP=$GREP
                   5240: fi
                   5241: 
1.128     moko     5242: fi
1.150     moko     5243: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5244: $as_echo "$ac_cv_path_GREP" >&6; }
                   5245:  GREP="$ac_cv_path_GREP"
                   5246: 
                   5247: 
                   5248: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5249: $as_echo_n "checking for egrep... " >&6; }
                   5250: if ${ac_cv_path_EGREP+:} false; then :
                   5251:   $as_echo_n "(cached) " >&6
                   5252: else
                   5253:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5254:    then ac_cv_path_EGREP="$GREP -E"
                   5255:    else
                   5256:      if test -z "$EGREP"; then
                   5257:   ac_path_EGREP_found=false
                   5258:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5259:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5260: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5261: do
                   5262:   IFS=$as_save_IFS
                   5263:   test -z "$as_dir" && as_dir=.
                   5264:     for ac_prog in egrep; do
                   5265:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5266:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5267:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   5268: # Check for GNU ac_path_EGREP and select it if it is found.
                   5269:   # Check for GNU $ac_path_EGREP
                   5270: case `"$ac_path_EGREP" --version 2>&1` in
                   5271: *GNU*)
                   5272:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5273: *)
                   5274:   ac_count=0
                   5275:   $as_echo_n 0123456789 >"conftest.in"
                   5276:   while :
                   5277:   do
                   5278:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5279:     mv "conftest.tmp" "conftest.in"
                   5280:     cp "conftest.in" "conftest.nl"
                   5281:     $as_echo 'EGREP' >> "conftest.nl"
                   5282:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5283:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5284:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5285:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5286:       # Best one so far, save it but keep looking for a better one
                   5287:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5288:       ac_path_EGREP_max=$ac_count
                   5289:     fi
                   5290:     # 10*(2^10) chars as input seems more than enough
                   5291:     test $ac_count -gt 10 && break
                   5292:   done
                   5293:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5294: esac
1.128     moko     5295: 
1.150     moko     5296:       $ac_path_EGREP_found && break 3
                   5297:     done
                   5298:   done
                   5299:   done
                   5300: IFS=$as_save_IFS
                   5301:   if test -z "$ac_cv_path_EGREP"; then
                   5302:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5303:   fi
                   5304: else
                   5305:   ac_cv_path_EGREP=$EGREP
                   5306: fi
1.128     moko     5307: 
1.150     moko     5308:    fi
                   5309: fi
                   5310: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5311: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5312:  EGREP="$ac_cv_path_EGREP"
                   5313: 
                   5314: 
                   5315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5316: $as_echo_n "checking for fgrep... " >&6; }
                   5317: if ${ac_cv_path_FGREP+:} false; then :
                   5318:   $as_echo_n "(cached) " >&6
                   5319: else
                   5320:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5321:    then ac_cv_path_FGREP="$GREP -F"
                   5322:    else
                   5323:      if test -z "$FGREP"; then
                   5324:   ac_path_FGREP_found=false
                   5325:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5326:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5327: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5328: do
                   5329:   IFS=$as_save_IFS
                   5330:   test -z "$as_dir" && as_dir=.
                   5331:     for ac_prog in fgrep; do
                   5332:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5333:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5334:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
                   5335: # Check for GNU ac_path_FGREP and select it if it is found.
                   5336:   # Check for GNU $ac_path_FGREP
                   5337: case `"$ac_path_FGREP" --version 2>&1` in
                   5338: *GNU*)
                   5339:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5340: *)
                   5341:   ac_count=0
                   5342:   $as_echo_n 0123456789 >"conftest.in"
                   5343:   while :
                   5344:   do
                   5345:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5346:     mv "conftest.tmp" "conftest.in"
                   5347:     cp "conftest.in" "conftest.nl"
                   5348:     $as_echo 'FGREP' >> "conftest.nl"
                   5349:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5350:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5351:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5352:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5353:       # Best one so far, save it but keep looking for a better one
                   5354:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5355:       ac_path_FGREP_max=$ac_count
1.128     moko     5356:     fi
1.150     moko     5357:     # 10*(2^10) chars as input seems more than enough
                   5358:     test $ac_count -gt 10 && break
                   5359:   done
                   5360:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5361: esac
                   5362: 
                   5363:       $ac_path_FGREP_found && break 3
                   5364:     done
                   5365:   done
                   5366:   done
                   5367: IFS=$as_save_IFS
                   5368:   if test -z "$ac_cv_path_FGREP"; then
                   5369:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5370:   fi
                   5371: else
                   5372:   ac_cv_path_FGREP=$FGREP
                   5373: fi
                   5374: 
                   5375:    fi
1.128     moko     5376: fi
1.150     moko     5377: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5378: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5379:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5380: 
                   5381: 
                   5382: test -z "$GREP" && GREP=grep
                   5383: 
                   5384: 
                   5385: 
                   5386: 
                   5387: 
                   5388: 
                   5389: 
                   5390: 
                   5391: 
                   5392: 
                   5393: 
                   5394: 
                   5395: 
                   5396: 
                   5397: 
                   5398: 
                   5399: 
                   5400: 
                   5401: 
1.150     moko     5402: # Check whether --with-gnu-ld was given.
                   5403: if test "${with_gnu_ld+set}" = set; then :
                   5404:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5405: else
                   5406:   with_gnu_ld=no
1.150     moko     5407: fi
                   5408: 
1.128     moko     5409: ac_prog=ld
                   5410: if test "$GCC" = yes; then
                   5411:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     5412:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5413: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5414:   case $host in
                   5415:   *-*-mingw*)
                   5416:     # gcc leaves a trailing carriage return which upsets mingw
                   5417:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5418:   *)
                   5419:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5420:   esac
                   5421:   case $ac_prog in
                   5422:     # Accept absolute paths.
                   5423:     [\\/]* | ?:[\\/]*)
                   5424:       re_direlt='/[^/][^/]*/\.\./'
                   5425:       # Canonicalize the pathname of ld
                   5426:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5427:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5428:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5429:       done
                   5430:       test -z "$LD" && LD="$ac_prog"
                   5431:       ;;
                   5432:   "")
                   5433:     # If it fails, then pretend we aren't using GCC.
                   5434:     ac_prog=ld
                   5435:     ;;
                   5436:   *)
                   5437:     # If it is relative, then search for the first ld in PATH.
                   5438:     with_gnu_ld=unknown
                   5439:     ;;
                   5440:   esac
                   5441: elif test "$with_gnu_ld" = yes; then
1.150     moko     5442:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5443: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     5444: else
1.150     moko     5445:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5446: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     5447: fi
1.150     moko     5448: if ${lt_cv_path_LD+:} false; then :
                   5449:   $as_echo_n "(cached) " >&6
1.128     moko     5450: else
                   5451:   if test -z "$LD"; then
                   5452:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5453:   for ac_dir in $PATH; do
                   5454:     IFS="$lt_save_ifs"
                   5455:     test -z "$ac_dir" && ac_dir=.
                   5456:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5457:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5458:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5459:       # but apparently some variants of GNU ld only accept -v.
                   5460:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5461:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5462:       *GNU* | *'with BFD'*)
                   5463:        test "$with_gnu_ld" != no && break
                   5464:        ;;
                   5465:       *)
                   5466:        test "$with_gnu_ld" != yes && break
                   5467:        ;;
                   5468:       esac
                   5469:     fi
                   5470:   done
                   5471:   IFS="$lt_save_ifs"
                   5472: else
                   5473:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5474: fi
                   5475: fi
                   5476: 
                   5477: LD="$lt_cv_path_LD"
                   5478: if test -n "$LD"; then
1.150     moko     5479:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5480: $as_echo "$LD" >&6; }
1.128     moko     5481: else
1.150     moko     5482:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5483: $as_echo "no" >&6; }
1.128     moko     5484: fi
1.150     moko     5485: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5486: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5487: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5488: if ${lt_cv_prog_gnu_ld+:} false; then :
                   5489:   $as_echo_n "(cached) " >&6
1.128     moko     5490: else
                   5491:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5492: case `$LD -v 2>&1 </dev/null` in
                   5493: *GNU* | *'with BFD'*)
                   5494:   lt_cv_prog_gnu_ld=yes
                   5495:   ;;
                   5496: *)
                   5497:   lt_cv_prog_gnu_ld=no
                   5498:   ;;
                   5499: esac
                   5500: fi
1.150     moko     5501: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5502: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     5503: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5504: 
                   5505: 
                   5506: 
                   5507: 
                   5508: 
                   5509: 
                   5510: 
                   5511: 
                   5512: 
1.150     moko     5513: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5514: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5515: if ${lt_cv_path_NM+:} false; then :
                   5516:   $as_echo_n "(cached) " >&6
1.128     moko     5517: else
                   5518:   if test -n "$NM"; then
                   5519:   # Let the user override the test.
                   5520:   lt_cv_path_NM="$NM"
                   5521: else
                   5522:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5523:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5524:     lt_nm_to_check="$lt_nm_to_check nm"
                   5525:   fi
                   5526:   for lt_tmp_nm in $lt_nm_to_check; do
                   5527:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5528:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5529:       IFS="$lt_save_ifs"
                   5530:       test -z "$ac_dir" && ac_dir=.
                   5531:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5532:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5533:        # Check to see if the nm accepts a BSD-compat flag.
                   5534:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5535:        #   nm: unknown option "B" ignored
                   5536:        # Tru64's nm complains that /dev/null is an invalid object file
                   5537:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5538:        */dev/null* | *'Invalid file or object type'*)
                   5539:          lt_cv_path_NM="$tmp_nm -B"
                   5540:          break
                   5541:          ;;
                   5542:        *)
                   5543:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5544:          */dev/null*)
                   5545:            lt_cv_path_NM="$tmp_nm -p"
                   5546:            break
                   5547:            ;;
                   5548:          *)
                   5549:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5550:            continue # so that we can try to find one that supports BSD flags
                   5551:            ;;
                   5552:          esac
                   5553:          ;;
                   5554:        esac
                   5555:       fi
                   5556:     done
                   5557:     IFS="$lt_save_ifs"
                   5558:   done
                   5559:   : ${lt_cv_path_NM=no}
                   5560: fi
                   5561: fi
1.150     moko     5562: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5563: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     5564: if test "$lt_cv_path_NM" != "no"; then
                   5565:   NM="$lt_cv_path_NM"
                   5566: else
                   5567:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5568:   if test -n "$DUMPBIN"; then :
                   5569:     # Let the user override the test.
                   5570:   else
                   5571:     if test -n "$ac_tool_prefix"; then
                   5572:   for ac_prog in dumpbin "link -dump"
                   5573:   do
                   5574:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5575: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     5576: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5577: $as_echo_n "checking for $ac_word... " >&6; }
                   5578: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5579:   $as_echo_n "(cached) " >&6
1.128     moko     5580: else
                   5581:   if test -n "$DUMPBIN"; then
                   5582:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5583: else
                   5584: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5585: for as_dir in $PATH
                   5586: do
                   5587:   IFS=$as_save_IFS
                   5588:   test -z "$as_dir" && as_dir=.
1.150     moko     5589:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5590:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5591:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150     moko     5592:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5593:     break 2
                   5594:   fi
                   5595: done
1.150     moko     5596:   done
                   5597: IFS=$as_save_IFS
1.128     moko     5598: 
                   5599: fi
                   5600: fi
                   5601: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5602: if test -n "$DUMPBIN"; then
1.150     moko     5603:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5604: $as_echo "$DUMPBIN" >&6; }
1.128     moko     5605: else
1.150     moko     5606:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5607: $as_echo "no" >&6; }
1.128     moko     5608: fi
                   5609: 
1.150     moko     5610: 
1.128     moko     5611:     test -n "$DUMPBIN" && break
                   5612:   done
                   5613: fi
                   5614: if test -z "$DUMPBIN"; then
                   5615:   ac_ct_DUMPBIN=$DUMPBIN
                   5616:   for ac_prog in dumpbin "link -dump"
                   5617: do
                   5618:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5619: set dummy $ac_prog; ac_word=$2
1.150     moko     5620: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5621: $as_echo_n "checking for $ac_word... " >&6; }
                   5622: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5623:   $as_echo_n "(cached) " >&6
1.128     moko     5624: else
                   5625:   if test -n "$ac_ct_DUMPBIN"; then
                   5626:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5627: else
                   5628: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5629: for as_dir in $PATH
                   5630: do
                   5631:   IFS=$as_save_IFS
                   5632:   test -z "$as_dir" && as_dir=.
1.150     moko     5633:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5634:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5635:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150     moko     5636:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5637:     break 2
                   5638:   fi
                   5639: done
1.150     moko     5640:   done
                   5641: IFS=$as_save_IFS
1.128     moko     5642: 
                   5643: fi
                   5644: fi
                   5645: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5646: if test -n "$ac_ct_DUMPBIN"; then
1.150     moko     5647:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5648: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     5649: else
1.150     moko     5650:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5651: $as_echo "no" >&6; }
1.128     moko     5652: fi
                   5653: 
1.150     moko     5654: 
1.128     moko     5655:   test -n "$ac_ct_DUMPBIN" && break
                   5656: done
                   5657: 
1.150     moko     5658:   if test "x$ac_ct_DUMPBIN" = x; then
                   5659:     DUMPBIN=":"
                   5660:   else
                   5661:     case $cross_compiling:$ac_tool_warned in
                   5662: yes:)
                   5663: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5664: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5665: ac_tool_warned=yes ;;
                   5666: esac
                   5667:     DUMPBIN=$ac_ct_DUMPBIN
                   5668:   fi
1.128     moko     5669: fi
                   5670: 
                   5671:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   5672:     *COFF*)
                   5673:       DUMPBIN="$DUMPBIN -symbols"
                   5674:       ;;
                   5675:     *)
                   5676:       DUMPBIN=:
                   5677:       ;;
                   5678:     esac
                   5679:   fi
                   5680: 
                   5681:   if test "$DUMPBIN" != ":"; then
                   5682:     NM="$DUMPBIN"
                   5683:   fi
                   5684: fi
                   5685: test -z "$NM" && NM=nm
                   5686: 
                   5687: 
                   5688: 
                   5689: 
                   5690: 
                   5691: 
1.150     moko     5692: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5693: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5694: if ${lt_cv_nm_interface+:} false; then :
                   5695:   $as_echo_n "(cached) " >&6
1.128     moko     5696: else
                   5697:   lt_cv_nm_interface="BSD nm"
                   5698:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5699:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5700:   (eval "$ac_compile" 2>conftest.err)
                   5701:   cat conftest.err >&5
                   5702:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5703:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5704:   cat conftest.err >&5
                   5705:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5706:   cat conftest.out >&5
                   5707:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5708:     lt_cv_nm_interface="MS dumpbin"
                   5709:   fi
                   5710:   rm -f conftest*
                   5711: fi
1.150     moko     5712: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5713: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     5714: 
1.150     moko     5715: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5716: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     5717: LN_S=$as_ln_s
                   5718: if test "$LN_S" = "ln -s"; then
1.150     moko     5719:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5720: $as_echo "yes" >&6; }
1.128     moko     5721: else
1.150     moko     5722:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5723: $as_echo "no, using $LN_S" >&6; }
1.128     moko     5724: fi
                   5725: 
                   5726: # find the maximum length of command line arguments
1.150     moko     5727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5728: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5729: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   5730:   $as_echo_n "(cached) " >&6
1.128     moko     5731: else
                   5732:     i=0
                   5733:   teststring="ABCD"
                   5734: 
                   5735:   case $build_os in
                   5736:   msdosdjgpp*)
                   5737:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5738:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5739:     # during glob expansion).  Even if it were fixed, the result of this
                   5740:     # check would be larger than it should be.
                   5741:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5742:     ;;
                   5743: 
                   5744:   gnu*)
                   5745:     # Under GNU Hurd, this test is not required because there is
                   5746:     # no limit to the length of command line arguments.
                   5747:     # Libtool will interpret -1 as no limit whatsoever
                   5748:     lt_cv_sys_max_cmd_len=-1;
                   5749:     ;;
                   5750: 
                   5751:   cygwin* | mingw* | cegcc*)
                   5752:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5753:     # about 5 minutes as the teststring grows exponentially.
                   5754:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5755:     # you end up with a "frozen" computer, even though with patience
                   5756:     # the test eventually succeeds (with a max line length of 256k).
                   5757:     # Instead, let's just punt: use the minimum linelength reported by
                   5758:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5759:     lt_cv_sys_max_cmd_len=8192;
                   5760:     ;;
                   5761: 
                   5762:   mint*)
                   5763:     # On MiNT this can take a long time and run out of memory.
                   5764:     lt_cv_sys_max_cmd_len=8192;
                   5765:     ;;
                   5766: 
                   5767:   amigaos*)
                   5768:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5769:     # So we just punt and use a minimum line length of 8192.
                   5770:     lt_cv_sys_max_cmd_len=8192;
                   5771:     ;;
                   5772: 
                   5773:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5774:     # This has been around since 386BSD, at least.  Likely further.
                   5775:     if test -x /sbin/sysctl; then
                   5776:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5777:     elif test -x /usr/sbin/sysctl; then
                   5778:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5779:     else
                   5780:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5781:     fi
                   5782:     # And add a safety zone
                   5783:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5784:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5785:     ;;
                   5786: 
                   5787:   interix*)
                   5788:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5789:     lt_cv_sys_max_cmd_len=196608
                   5790:     ;;
                   5791: 
                   5792:   os2*)
                   5793:     # The test takes a long time on OS/2.
                   5794:     lt_cv_sys_max_cmd_len=8192
                   5795:     ;;
                   5796: 
                   5797:   osf*)
                   5798:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5799:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5800:     # nice to cause kernel panics so lets avoid the loop below.
                   5801:     # First set a reasonable default.
                   5802:     lt_cv_sys_max_cmd_len=16384
                   5803:     #
                   5804:     if test -x /sbin/sysconfig; then
                   5805:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5806:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5807:       esac
                   5808:     fi
                   5809:     ;;
                   5810:   sco3.2v5*)
                   5811:     lt_cv_sys_max_cmd_len=102400
                   5812:     ;;
                   5813:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5814:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5815:     if test -n "$kargmax"; then
                   5816:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5817:     else
                   5818:       lt_cv_sys_max_cmd_len=32768
                   5819:     fi
                   5820:     ;;
                   5821:   *)
                   5822:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5823:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5824:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5825:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5826:     else
                   5827:       # Make teststring a little bigger before we do anything with it.
                   5828:       # a 1K string should be a reasonable start.
                   5829:       for i in 1 2 3 4 5 6 7 8 ; do
                   5830:         teststring=$teststring$teststring
                   5831:       done
                   5832:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5833:       # If test is not a shell built-in, we'll probably end up computing a
                   5834:       # maximum length that is only half of the actual maximum length, but
                   5835:       # we can't tell.
                   5836:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   5837:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   5838:              test $i != 17 # 1/2 MB should be enough
                   5839:       do
                   5840:         i=`expr $i + 1`
                   5841:         teststring=$teststring$teststring
                   5842:       done
                   5843:       # Only check the string length outside the loop.
                   5844:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5845:       teststring=
                   5846:       # Add a significant safety factor because C++ compilers can tack on
                   5847:       # massive amounts of additional arguments before passing them to the
                   5848:       # linker.  It appears as though 1/2 is a usable value.
                   5849:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5850:     fi
                   5851:     ;;
                   5852:   esac
                   5853: 
                   5854: fi
                   5855: 
                   5856: if test -n $lt_cv_sys_max_cmd_len ; then
1.150     moko     5857:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5858: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     5859: else
1.150     moko     5860:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5861: $as_echo "none" >&6; }
1.128     moko     5862: fi
                   5863: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5864: 
                   5865: 
                   5866: 
                   5867: 
                   5868: 
                   5869: 
                   5870: : ${CP="cp -f"}
                   5871: : ${MV="mv -f"}
                   5872: : ${RM="rm -f"}
                   5873: 
1.150     moko     5874: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5875: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     5876: # Try some XSI features
                   5877: xsi_shell=no
                   5878: ( _lt_dummy="a/b/c"
                   5879:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   5880:       = c,a/b,b/c, \
                   5881:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5882:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5883:   && xsi_shell=yes
1.150     moko     5884: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5885: $as_echo "$xsi_shell" >&6; }
1.128     moko     5886: 
                   5887: 
1.150     moko     5888: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   5889: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     5890: lt_shell_append=no
                   5891: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5892:     >/dev/null 2>&1 \
                   5893:   && lt_shell_append=yes
1.150     moko     5894: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   5895: $as_echo "$lt_shell_append" >&6; }
1.128     moko     5896: 
                   5897: 
                   5898: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5899:   lt_unset=unset
                   5900: else
                   5901:   lt_unset=false
                   5902: fi
                   5903: 
                   5904: 
                   5905: 
                   5906: 
                   5907: 
                   5908: # test EBCDIC or ASCII
                   5909: case `echo X|tr X '\101'` in
                   5910:  A) # ASCII based system
                   5911:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5912:   lt_SP2NL='tr \040 \012'
                   5913:   lt_NL2SP='tr \015\012 \040\040'
                   5914:   ;;
                   5915:  *) # EBCDIC based system
                   5916:   lt_SP2NL='tr \100 \n'
                   5917:   lt_NL2SP='tr \r\n \100\100'
                   5918:   ;;
                   5919: esac
                   5920: 
                   5921: 
                   5922: 
                   5923: 
                   5924: 
                   5925: 
                   5926: 
                   5927: 
                   5928: 
1.150     moko     5929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   5930: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   5931: if ${lt_cv_to_host_file_cmd+:} false; then :
                   5932:   $as_echo_n "(cached) " >&6
1.128     moko     5933: else
                   5934:   case $host in
                   5935:   *-*-mingw* )
                   5936:     case $build in
                   5937:       *-*-mingw* ) # actually msys
                   5938:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5939:         ;;
                   5940:       *-*-cygwin* )
                   5941:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5942:         ;;
                   5943:       * ) # otherwise, assume *nix
                   5944:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5945:         ;;
                   5946:     esac
                   5947:     ;;
                   5948:   *-*-cygwin* )
                   5949:     case $build in
                   5950:       *-*-mingw* ) # actually msys
                   5951:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5952:         ;;
                   5953:       *-*-cygwin* )
                   5954:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5955:         ;;
                   5956:       * ) # otherwise, assume *nix
                   5957:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5958:         ;;
                   5959:     esac
                   5960:     ;;
                   5961:   * ) # unhandled hosts (and "normal" native builds)
                   5962:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5963:     ;;
                   5964: esac
                   5965: 
                   5966: fi
                   5967: 
                   5968: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150     moko     5969: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   5970: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     5971: 
                   5972: 
                   5973: 
                   5974: 
                   5975: 
1.150     moko     5976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   5977: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   5978: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   5979:   $as_echo_n "(cached) " >&6
1.128     moko     5980: else
                   5981:   #assume ordinary cross tools, or native build.
                   5982: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5983: case $host in
                   5984:   *-*-mingw* )
                   5985:     case $build in
                   5986:       *-*-mingw* ) # actually msys
                   5987:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5988:         ;;
                   5989:     esac
                   5990:     ;;
                   5991: esac
                   5992: 
                   5993: fi
                   5994: 
                   5995: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150     moko     5996: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   5997: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     5998: 
                   5999: 
                   6000: 
                   6001: 
                   6002: 
1.150     moko     6003: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   6004: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   6005: if ${lt_cv_ld_reload_flag+:} false; then :
                   6006:   $as_echo_n "(cached) " >&6
1.128     moko     6007: else
                   6008:   lt_cv_ld_reload_flag='-r'
                   6009: fi
1.150     moko     6010: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   6011: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6012: reload_flag=$lt_cv_ld_reload_flag
                   6013: case $reload_flag in
                   6014: "" | " "*) ;;
                   6015: *) reload_flag=" $reload_flag" ;;
                   6016: esac
                   6017: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6018: case $host_os in
                   6019:   cygwin* | mingw* | pw32* | cegcc*)
                   6020:     if test "$GCC" != yes; then
                   6021:       reload_cmds=false
                   6022:     fi
                   6023:     ;;
                   6024:   darwin*)
                   6025:     if test "$GCC" = yes; then
                   6026:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6027:     else
                   6028:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6029:     fi
                   6030:     ;;
                   6031: esac
                   6032: 
                   6033: 
                   6034: 
                   6035: 
                   6036: 
                   6037: 
                   6038: 
                   6039: 
                   6040: 
                   6041: if test -n "$ac_tool_prefix"; then
                   6042:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6043: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     6044: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6045: $as_echo_n "checking for $ac_word... " >&6; }
                   6046: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6047:   $as_echo_n "(cached) " >&6
1.128     moko     6048: else
                   6049:   if test -n "$OBJDUMP"; then
                   6050:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6051: else
                   6052: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6053: for as_dir in $PATH
                   6054: do
                   6055:   IFS=$as_save_IFS
                   6056:   test -z "$as_dir" && as_dir=.
1.150     moko     6057:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6058:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6059:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     6060:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6061:     break 2
                   6062:   fi
                   6063: done
1.150     moko     6064:   done
                   6065: IFS=$as_save_IFS
1.128     moko     6066: 
                   6067: fi
                   6068: fi
                   6069: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6070: if test -n "$OBJDUMP"; then
1.150     moko     6071:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6072: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6073: else
1.150     moko     6074:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6075: $as_echo "no" >&6; }
1.128     moko     6076: fi
                   6077: 
1.150     moko     6078: 
1.128     moko     6079: fi
                   6080: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6081:   ac_ct_OBJDUMP=$OBJDUMP
                   6082:   # Extract the first word of "objdump", so it can be a program name with args.
                   6083: set dummy objdump; ac_word=$2
1.150     moko     6084: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6085: $as_echo_n "checking for $ac_word... " >&6; }
                   6086: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6087:   $as_echo_n "(cached) " >&6
1.128     moko     6088: else
                   6089:   if test -n "$ac_ct_OBJDUMP"; then
                   6090:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6091: else
                   6092: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6093: for as_dir in $PATH
                   6094: do
                   6095:   IFS=$as_save_IFS
                   6096:   test -z "$as_dir" && as_dir=.
1.150     moko     6097:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6098:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6099:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     6100:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6101:     break 2
                   6102:   fi
                   6103: done
1.150     moko     6104:   done
                   6105: IFS=$as_save_IFS
1.128     moko     6106: 
                   6107: fi
                   6108: fi
                   6109: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6110: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     6111:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6112: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6113: else
1.150     moko     6114:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6115: $as_echo "no" >&6; }
1.128     moko     6116: fi
                   6117: 
1.150     moko     6118:   if test "x$ac_ct_OBJDUMP" = x; then
                   6119:     OBJDUMP="false"
                   6120:   else
                   6121:     case $cross_compiling:$ac_tool_warned in
                   6122: yes:)
                   6123: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6124: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6125: ac_tool_warned=yes ;;
                   6126: esac
                   6127:     OBJDUMP=$ac_ct_OBJDUMP
                   6128:   fi
1.128     moko     6129: else
                   6130:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6131: fi
                   6132: 
                   6133: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6134: 
                   6135: 
                   6136: 
                   6137: 
                   6138: 
                   6139: 
1.150     moko     6140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6141: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6142: if ${lt_cv_deplibs_check_method+:} false; then :
                   6143:   $as_echo_n "(cached) " >&6
1.128     moko     6144: else
                   6145:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6146: lt_cv_file_magic_test_file=
                   6147: lt_cv_deplibs_check_method='unknown'
                   6148: # Need to set the preceding variable on all platforms that support
                   6149: # interlibrary dependencies.
                   6150: # 'none' -- dependencies not supported.
                   6151: # `unknown' -- same as none, but documents that we really don't know.
                   6152: # 'pass_all' -- all dependencies passed with no checks.
                   6153: # 'test_compile' -- check by making test program.
                   6154: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6155: # which responds to the $file_magic_cmd with a given extended regex.
                   6156: # If you have `file' or equivalent on your system and you're not sure
                   6157: # whether `pass_all' will *always* work, you probably want this one.
                   6158: 
                   6159: case $host_os in
                   6160: aix[4-9]*)
                   6161:   lt_cv_deplibs_check_method=pass_all
                   6162:   ;;
                   6163: 
                   6164: beos*)
                   6165:   lt_cv_deplibs_check_method=pass_all
                   6166:   ;;
                   6167: 
                   6168: bsdi[45]*)
                   6169:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6170:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6171:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6172:   ;;
                   6173: 
                   6174: cygwin*)
                   6175:   # func_win32_libid is a shell function defined in ltmain.sh
                   6176:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6177:   lt_cv_file_magic_cmd='func_win32_libid'
                   6178:   ;;
                   6179: 
                   6180: mingw* | pw32*)
                   6181:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6182:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6183:   # unless we find 'file', for example because we are cross-compiling.
                   6184:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6185:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6186:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6187:     lt_cv_file_magic_cmd='func_win32_libid'
                   6188:   else
                   6189:     # Keep this pattern in sync with the one in func_win32_libid.
                   6190:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6191:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6192:   fi
                   6193:   ;;
                   6194: 
                   6195: cegcc*)
                   6196:   # use the weaker test based on 'objdump'. See mingw*.
                   6197:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6198:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6199:   ;;
                   6200: 
                   6201: darwin* | rhapsody*)
                   6202:   lt_cv_deplibs_check_method=pass_all
                   6203:   ;;
                   6204: 
                   6205: freebsd* | dragonfly*)
                   6206:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6207:     case $host_cpu in
                   6208:     i*86 )
                   6209:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6210:       # Let's accept both of them until this is cleared up.
                   6211:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6212:       lt_cv_file_magic_cmd=/usr/bin/file
                   6213:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6214:       ;;
                   6215:     esac
                   6216:   else
                   6217:     lt_cv_deplibs_check_method=pass_all
                   6218:   fi
                   6219:   ;;
                   6220: 
                   6221: gnu*)
                   6222:   lt_cv_deplibs_check_method=pass_all
                   6223:   ;;
                   6224: 
                   6225: haiku*)
                   6226:   lt_cv_deplibs_check_method=pass_all
                   6227:   ;;
                   6228: 
                   6229: hpux10.20* | hpux11*)
                   6230:   lt_cv_file_magic_cmd=/usr/bin/file
                   6231:   case $host_cpu in
                   6232:   ia64*)
                   6233:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6234:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6235:     ;;
                   6236:   hppa*64*)
                   6237:     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]'
                   6238:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6239:     ;;
                   6240:   *)
                   6241:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6242:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6243:     ;;
                   6244:   esac
                   6245:   ;;
                   6246: 
                   6247: interix[3-9]*)
                   6248:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6249:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6250:   ;;
                   6251: 
                   6252: irix5* | irix6* | nonstopux*)
                   6253:   case $LD in
                   6254:   *-32|*"-32 ") libmagic=32-bit;;
                   6255:   *-n32|*"-n32 ") libmagic=N32;;
                   6256:   *-64|*"-64 ") libmagic=64-bit;;
                   6257:   *) libmagic=never-match;;
                   6258:   esac
                   6259:   lt_cv_deplibs_check_method=pass_all
                   6260:   ;;
                   6261: 
                   6262: # This must be glibc/ELF.
                   6263: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6264:   lt_cv_deplibs_check_method=pass_all
                   6265:   ;;
                   6266: 
                   6267: netbsd*)
                   6268:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6269:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6270:   else
                   6271:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6272:   fi
                   6273:   ;;
                   6274: 
                   6275: newos6*)
                   6276:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6277:   lt_cv_file_magic_cmd=/usr/bin/file
                   6278:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6279:   ;;
                   6280: 
                   6281: *nto* | *qnx*)
                   6282:   lt_cv_deplibs_check_method=pass_all
                   6283:   ;;
                   6284: 
                   6285: openbsd*)
                   6286:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6287:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6288:   else
                   6289:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6290:   fi
                   6291:   ;;
                   6292: 
                   6293: osf3* | osf4* | osf5*)
                   6294:   lt_cv_deplibs_check_method=pass_all
                   6295:   ;;
                   6296: 
                   6297: rdos*)
                   6298:   lt_cv_deplibs_check_method=pass_all
                   6299:   ;;
                   6300: 
                   6301: solaris*)
                   6302:   lt_cv_deplibs_check_method=pass_all
                   6303:   ;;
                   6304: 
                   6305: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6306:   lt_cv_deplibs_check_method=pass_all
                   6307:   ;;
                   6308: 
                   6309: sysv4 | sysv4.3*)
                   6310:   case $host_vendor in
                   6311:   motorola)
                   6312:     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]'
                   6313:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6314:     ;;
                   6315:   ncr)
                   6316:     lt_cv_deplibs_check_method=pass_all
                   6317:     ;;
                   6318:   sequent)
                   6319:     lt_cv_file_magic_cmd='/bin/file'
                   6320:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6321:     ;;
                   6322:   sni)
                   6323:     lt_cv_file_magic_cmd='/bin/file'
                   6324:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6325:     lt_cv_file_magic_test_file=/lib/libc.so
                   6326:     ;;
                   6327:   siemens)
                   6328:     lt_cv_deplibs_check_method=pass_all
                   6329:     ;;
                   6330:   pc)
                   6331:     lt_cv_deplibs_check_method=pass_all
                   6332:     ;;
                   6333:   esac
                   6334:   ;;
                   6335: 
                   6336: tpf*)
                   6337:   lt_cv_deplibs_check_method=pass_all
                   6338:   ;;
                   6339: esac
                   6340: 
                   6341: fi
1.150     moko     6342: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6343: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6344: 
                   6345: file_magic_glob=
                   6346: want_nocaseglob=no
                   6347: if test "$build" = "$host"; then
                   6348:   case $host_os in
                   6349:   mingw* | pw32*)
                   6350:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6351:       want_nocaseglob=yes
                   6352:     else
                   6353:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6354:     fi
                   6355:     ;;
                   6356:   esac
                   6357: fi
                   6358: 
                   6359: file_magic_cmd=$lt_cv_file_magic_cmd
                   6360: deplibs_check_method=$lt_cv_deplibs_check_method
                   6361: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6362: 
                   6363: 
                   6364: 
                   6365: 
                   6366: 
                   6367: 
                   6368: 
                   6369: 
                   6370: 
                   6371: 
                   6372: 
                   6373: 
                   6374: 
                   6375: 
                   6376: 
                   6377: 
                   6378: 
                   6379: 
                   6380: 
                   6381: 
                   6382: 
                   6383: 
                   6384: if test -n "$ac_tool_prefix"; then
                   6385:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6386: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     6387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6388: $as_echo_n "checking for $ac_word... " >&6; }
                   6389: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6390:   $as_echo_n "(cached) " >&6
1.128     moko     6391: else
                   6392:   if test -n "$DLLTOOL"; then
                   6393:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6394: else
                   6395: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6396: for as_dir in $PATH
                   6397: do
                   6398:   IFS=$as_save_IFS
                   6399:   test -z "$as_dir" && as_dir=.
1.150     moko     6400:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6401:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6402:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     6403:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6404:     break 2
                   6405:   fi
                   6406: done
1.150     moko     6407:   done
                   6408: IFS=$as_save_IFS
1.128     moko     6409: 
                   6410: fi
                   6411: fi
                   6412: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6413: if test -n "$DLLTOOL"; then
1.150     moko     6414:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6415: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6416: else
1.150     moko     6417:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6418: $as_echo "no" >&6; }
1.128     moko     6419: fi
                   6420: 
1.150     moko     6421: 
1.128     moko     6422: fi
                   6423: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6424:   ac_ct_DLLTOOL=$DLLTOOL
                   6425:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6426: set dummy dlltool; ac_word=$2
1.150     moko     6427: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6428: $as_echo_n "checking for $ac_word... " >&6; }
                   6429: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6430:   $as_echo_n "(cached) " >&6
1.128     moko     6431: else
                   6432:   if test -n "$ac_ct_DLLTOOL"; then
                   6433:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6434: else
                   6435: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6436: for as_dir in $PATH
                   6437: do
                   6438:   IFS=$as_save_IFS
                   6439:   test -z "$as_dir" && as_dir=.
1.150     moko     6440:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6441:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6442:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     6443:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6444:     break 2
                   6445:   fi
                   6446: done
1.150     moko     6447:   done
                   6448: IFS=$as_save_IFS
1.128     moko     6449: 
                   6450: fi
                   6451: fi
                   6452: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6453: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     6454:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6455: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     6456: else
1.150     moko     6457:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6458: $as_echo "no" >&6; }
1.128     moko     6459: fi
                   6460: 
1.150     moko     6461:   if test "x$ac_ct_DLLTOOL" = x; then
                   6462:     DLLTOOL="false"
                   6463:   else
                   6464:     case $cross_compiling:$ac_tool_warned in
                   6465: yes:)
                   6466: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6467: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6468: ac_tool_warned=yes ;;
                   6469: esac
                   6470:     DLLTOOL=$ac_ct_DLLTOOL
                   6471:   fi
1.128     moko     6472: else
                   6473:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6474: fi
                   6475: 
                   6476: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6477: 
                   6478: 
                   6479: 
                   6480: 
                   6481: 
                   6482: 
                   6483: 
1.150     moko     6484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   6485: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   6486: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   6487:   $as_echo_n "(cached) " >&6
1.128     moko     6488: else
                   6489:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6490: 
                   6491: case $host_os in
                   6492: cygwin* | mingw* | pw32* | cegcc*)
                   6493:   # two different shell functions defined in ltmain.sh
                   6494:   # decide which to use based on capabilities of $DLLTOOL
                   6495:   case `$DLLTOOL --help 2>&1` in
                   6496:   *--identify-strict*)
                   6497:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6498:     ;;
                   6499:   *)
                   6500:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6501:     ;;
                   6502:   esac
                   6503:   ;;
                   6504: *)
                   6505:   # fallback: assume linklib IS sharedlib
                   6506:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6507:   ;;
                   6508: esac
                   6509: 
                   6510: fi
1.150     moko     6511: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   6512: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     6513: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6514: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6515: 
                   6516: 
                   6517: 
                   6518: 
                   6519: 
                   6520: 
                   6521: 
                   6522: if test -n "$ac_tool_prefix"; then
                   6523:   for ac_prog in ar
                   6524:   do
                   6525:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6526: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     6527: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6528: $as_echo_n "checking for $ac_word... " >&6; }
                   6529: if ${ac_cv_prog_AR+:} false; then :
                   6530:   $as_echo_n "(cached) " >&6
1.128     moko     6531: else
                   6532:   if test -n "$AR"; then
                   6533:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6534: else
                   6535: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6536: for as_dir in $PATH
                   6537: do
                   6538:   IFS=$as_save_IFS
                   6539:   test -z "$as_dir" && as_dir=.
1.150     moko     6540:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6541:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6542:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150     moko     6543:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6544:     break 2
                   6545:   fi
                   6546: done
1.150     moko     6547:   done
                   6548: IFS=$as_save_IFS
1.128     moko     6549: 
                   6550: fi
                   6551: fi
                   6552: AR=$ac_cv_prog_AR
                   6553: if test -n "$AR"; then
1.150     moko     6554:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6555: $as_echo "$AR" >&6; }
1.128     moko     6556: else
1.150     moko     6557:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6558: $as_echo "no" >&6; }
1.128     moko     6559: fi
                   6560: 
1.150     moko     6561: 
1.128     moko     6562:     test -n "$AR" && break
                   6563:   done
                   6564: fi
                   6565: if test -z "$AR"; then
                   6566:   ac_ct_AR=$AR
                   6567:   for ac_prog in ar
                   6568: do
                   6569:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6570: set dummy $ac_prog; ac_word=$2
1.150     moko     6571: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6572: $as_echo_n "checking for $ac_word... " >&6; }
                   6573: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6574:   $as_echo_n "(cached) " >&6
1.128     moko     6575: else
                   6576:   if test -n "$ac_ct_AR"; then
                   6577:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6578: else
                   6579: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6580: for as_dir in $PATH
                   6581: do
                   6582:   IFS=$as_save_IFS
                   6583:   test -z "$as_dir" && as_dir=.
1.150     moko     6584:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6585:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6586:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150     moko     6587:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6588:     break 2
                   6589:   fi
                   6590: done
1.150     moko     6591:   done
                   6592: IFS=$as_save_IFS
1.128     moko     6593: 
                   6594: fi
                   6595: fi
                   6596: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6597: if test -n "$ac_ct_AR"; then
1.150     moko     6598:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6599: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     6600: else
1.150     moko     6601:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6602: $as_echo "no" >&6; }
1.128     moko     6603: fi
                   6604: 
1.150     moko     6605: 
1.128     moko     6606:   test -n "$ac_ct_AR" && break
                   6607: done
                   6608: 
1.150     moko     6609:   if test "x$ac_ct_AR" = x; then
                   6610:     AR="false"
                   6611:   else
                   6612:     case $cross_compiling:$ac_tool_warned in
                   6613: yes:)
                   6614: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6615: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6616: ac_tool_warned=yes ;;
                   6617: esac
                   6618:     AR=$ac_ct_AR
                   6619:   fi
1.128     moko     6620: fi
                   6621: 
                   6622: : ${AR=ar}
                   6623: : ${AR_FLAGS=cru}
                   6624: 
                   6625: 
                   6626: 
                   6627: 
                   6628: 
                   6629: 
                   6630: 
                   6631: 
                   6632: 
                   6633: 
                   6634: 
1.150     moko     6635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   6636: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   6637: if ${lt_cv_ar_at_file+:} false; then :
                   6638:   $as_echo_n "(cached) " >&6
1.128     moko     6639: else
                   6640:   lt_cv_ar_at_file=no
1.150     moko     6641:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     6642: /* end confdefs.h.  */
                   6643: 
                   6644: int
                   6645: main ()
                   6646: {
                   6647: 
                   6648:   ;
                   6649:   return 0;
                   6650: }
                   6651: _ACEOF
1.150     moko     6652: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     6653:   echo conftest.$ac_objext > conftest.lst
                   6654:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     6655:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6656:   (eval $lt_ar_try) 2>&5
                   6657:   ac_status=$?
1.150     moko     6658:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6659:   test $ac_status = 0; }
1.128     moko     6660:       if test "$ac_status" -eq 0; then
                   6661:        # Ensure the archiver fails upon bogus file names.
                   6662:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     6663:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6664:   (eval $lt_ar_try) 2>&5
                   6665:   ac_status=$?
1.150     moko     6666:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6667:   test $ac_status = 0; }
1.128     moko     6668:        if test "$ac_status" -ne 0; then
                   6669:           lt_cv_ar_at_file=@
                   6670:         fi
                   6671:       fi
                   6672:       rm -f conftest.* libconftest.a
                   6673: 
                   6674: fi
1.150     moko     6675: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     6676: 
                   6677: fi
1.150     moko     6678: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   6679: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     6680: 
                   6681: if test "x$lt_cv_ar_at_file" = xno; then
                   6682:   archiver_list_spec=
                   6683: else
                   6684:   archiver_list_spec=$lt_cv_ar_at_file
                   6685: fi
                   6686: 
                   6687: 
                   6688: 
                   6689: 
                   6690: 
                   6691: 
                   6692: 
                   6693: if test -n "$ac_tool_prefix"; then
                   6694:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6695: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150     moko     6696: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6697: $as_echo_n "checking for $ac_word... " >&6; }
                   6698: if ${ac_cv_prog_STRIP+:} false; then :
                   6699:   $as_echo_n "(cached) " >&6
1.128     moko     6700: else
                   6701:   if test -n "$STRIP"; then
                   6702:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6703: else
                   6704: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6705: for as_dir in $PATH
                   6706: do
                   6707:   IFS=$as_save_IFS
                   6708:   test -z "$as_dir" && as_dir=.
1.150     moko     6709:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6710:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6711:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150     moko     6712:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6713:     break 2
                   6714:   fi
                   6715: done
1.150     moko     6716:   done
                   6717: IFS=$as_save_IFS
1.128     moko     6718: 
                   6719: fi
                   6720: fi
                   6721: STRIP=$ac_cv_prog_STRIP
                   6722: if test -n "$STRIP"; then
1.150     moko     6723:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6724: $as_echo "$STRIP" >&6; }
1.128     moko     6725: else
1.150     moko     6726:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6727: $as_echo "no" >&6; }
1.128     moko     6728: fi
                   6729: 
1.150     moko     6730: 
1.128     moko     6731: fi
                   6732: if test -z "$ac_cv_prog_STRIP"; then
                   6733:   ac_ct_STRIP=$STRIP
                   6734:   # Extract the first word of "strip", so it can be a program name with args.
                   6735: set dummy strip; ac_word=$2
1.150     moko     6736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6737: $as_echo_n "checking for $ac_word... " >&6; }
                   6738: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   6739:   $as_echo_n "(cached) " >&6
1.128     moko     6740: else
                   6741:   if test -n "$ac_ct_STRIP"; then
                   6742:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6743: else
                   6744: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6745: for as_dir in $PATH
                   6746: do
                   6747:   IFS=$as_save_IFS
                   6748:   test -z "$as_dir" && as_dir=.
1.150     moko     6749:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6750:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6751:     ac_cv_prog_ac_ct_STRIP="strip"
1.150     moko     6752:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6753:     break 2
                   6754:   fi
                   6755: done
1.150     moko     6756:   done
                   6757: IFS=$as_save_IFS
1.128     moko     6758: 
                   6759: fi
                   6760: fi
                   6761: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6762: if test -n "$ac_ct_STRIP"; then
1.150     moko     6763:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6764: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     6765: else
1.150     moko     6766:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6767: $as_echo "no" >&6; }
1.128     moko     6768: fi
                   6769: 
1.150     moko     6770:   if test "x$ac_ct_STRIP" = x; then
                   6771:     STRIP=":"
                   6772:   else
                   6773:     case $cross_compiling:$ac_tool_warned in
                   6774: yes:)
                   6775: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6776: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6777: ac_tool_warned=yes ;;
                   6778: esac
                   6779:     STRIP=$ac_ct_STRIP
                   6780:   fi
1.128     moko     6781: else
                   6782:   STRIP="$ac_cv_prog_STRIP"
                   6783: fi
                   6784: 
                   6785: test -z "$STRIP" && STRIP=:
                   6786: 
                   6787: 
                   6788: 
                   6789: 
                   6790: 
                   6791: 
                   6792: if test -n "$ac_tool_prefix"; then
                   6793:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6794: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150     moko     6795: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6796: $as_echo_n "checking for $ac_word... " >&6; }
                   6797: if ${ac_cv_prog_RANLIB+:} false; then :
                   6798:   $as_echo_n "(cached) " >&6
1.128     moko     6799: else
                   6800:   if test -n "$RANLIB"; then
                   6801:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6802: else
                   6803: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6804: for as_dir in $PATH
                   6805: do
                   6806:   IFS=$as_save_IFS
                   6807:   test -z "$as_dir" && as_dir=.
1.150     moko     6808:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6809:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6810:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150     moko     6811:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6812:     break 2
                   6813:   fi
                   6814: done
1.150     moko     6815:   done
                   6816: IFS=$as_save_IFS
1.128     moko     6817: 
                   6818: fi
                   6819: fi
                   6820: RANLIB=$ac_cv_prog_RANLIB
                   6821: if test -n "$RANLIB"; then
1.150     moko     6822:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6823: $as_echo "$RANLIB" >&6; }
1.128     moko     6824: else
1.150     moko     6825:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6826: $as_echo "no" >&6; }
1.128     moko     6827: fi
                   6828: 
1.150     moko     6829: 
1.128     moko     6830: fi
                   6831: if test -z "$ac_cv_prog_RANLIB"; then
                   6832:   ac_ct_RANLIB=$RANLIB
                   6833:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6834: set dummy ranlib; ac_word=$2
1.150     moko     6835: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6836: $as_echo_n "checking for $ac_word... " >&6; }
                   6837: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   6838:   $as_echo_n "(cached) " >&6
1.128     moko     6839: else
                   6840:   if test -n "$ac_ct_RANLIB"; then
                   6841:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6842: else
                   6843: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6844: for as_dir in $PATH
                   6845: do
                   6846:   IFS=$as_save_IFS
                   6847:   test -z "$as_dir" && as_dir=.
1.150     moko     6848:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6849:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6850:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150     moko     6851:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6852:     break 2
                   6853:   fi
                   6854: done
1.150     moko     6855:   done
                   6856: IFS=$as_save_IFS
1.128     moko     6857: 
                   6858: fi
                   6859: fi
                   6860: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6861: if test -n "$ac_ct_RANLIB"; then
1.150     moko     6862:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6863: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     6864: else
1.150     moko     6865:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6866: $as_echo "no" >&6; }
1.128     moko     6867: fi
                   6868: 
1.150     moko     6869:   if test "x$ac_ct_RANLIB" = x; then
                   6870:     RANLIB=":"
                   6871:   else
                   6872:     case $cross_compiling:$ac_tool_warned in
                   6873: yes:)
                   6874: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6875: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6876: ac_tool_warned=yes ;;
                   6877: esac
                   6878:     RANLIB=$ac_ct_RANLIB
                   6879:   fi
1.128     moko     6880: else
                   6881:   RANLIB="$ac_cv_prog_RANLIB"
                   6882: fi
                   6883: 
                   6884: test -z "$RANLIB" && RANLIB=:
                   6885: 
                   6886: 
                   6887: 
                   6888: 
                   6889: 
                   6890: 
                   6891: # Determine commands to create old-style static archives.
                   6892: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6893: old_postinstall_cmds='chmod 644 $oldlib'
                   6894: old_postuninstall_cmds=
                   6895: 
                   6896: if test -n "$RANLIB"; then
                   6897:   case $host_os in
                   6898:   openbsd*)
                   6899:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   6900:     ;;
                   6901:   *)
                   6902:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   6903:     ;;
                   6904:   esac
                   6905:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   6906: fi
                   6907: 
                   6908: case $host_os in
                   6909:   darwin*)
                   6910:     lock_old_archive_extraction=yes ;;
                   6911:   *)
                   6912:     lock_old_archive_extraction=no ;;
                   6913: esac
                   6914: 
                   6915: 
                   6916: 
                   6917: 
                   6918: 
                   6919: 
                   6920: 
                   6921: 
                   6922: 
                   6923: 
                   6924: 
                   6925: 
                   6926: 
                   6927: 
                   6928: 
                   6929: 
                   6930: 
                   6931: 
                   6932: 
                   6933: 
                   6934: 
                   6935: 
                   6936: 
                   6937: 
                   6938: 
                   6939: 
                   6940: 
                   6941: 
                   6942: 
                   6943: 
                   6944: 
                   6945: 
                   6946: 
                   6947: 
                   6948: 
                   6949: 
                   6950: 
                   6951: 
                   6952: 
                   6953: # If no C compiler was specified, use CC.
                   6954: LTCC=${LTCC-"$CC"}
                   6955: 
                   6956: # If no C compiler flags were specified, use CFLAGS.
                   6957: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6958: 
                   6959: # Allow CC to be a program name with arguments.
                   6960: compiler=$CC
                   6961: 
                   6962: 
                   6963: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150     moko     6964: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6965: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   6966: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   6967:   $as_echo_n "(cached) " >&6
1.128     moko     6968: else
                   6969: 
                   6970: # These are sane defaults that work on at least a few old systems.
                   6971: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   6972: 
                   6973: # Character class describing NM global symbol codes.
                   6974: symcode='[BCDEGRST]'
                   6975: 
                   6976: # Regexp to match symbols that can be accessed directly from C.
                   6977: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   6978: 
                   6979: # Define system-specific variables.
                   6980: case $host_os in
                   6981: aix*)
                   6982:   symcode='[BCDT]'
                   6983:   ;;
                   6984: cygwin* | mingw* | pw32* | cegcc*)
                   6985:   symcode='[ABCDGISTW]'
                   6986:   ;;
                   6987: hpux*)
                   6988:   if test "$host_cpu" = ia64; then
                   6989:     symcode='[ABCDEGRST]'
                   6990:   fi
                   6991:   ;;
                   6992: irix* | nonstopux*)
                   6993:   symcode='[BCDEGRST]'
                   6994:   ;;
                   6995: osf*)
                   6996:   symcode='[BCDEGQRST]'
                   6997:   ;;
                   6998: solaris*)
                   6999:   symcode='[BDRT]'
                   7000:   ;;
                   7001: sco3.2v5*)
                   7002:   symcode='[DT]'
                   7003:   ;;
                   7004: sysv4.2uw2*)
                   7005:   symcode='[DT]'
                   7006:   ;;
                   7007: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7008:   symcode='[ABDT]'
                   7009:   ;;
                   7010: sysv4)
                   7011:   symcode='[DFNSTU]'
                   7012:   ;;
                   7013: esac
                   7014: 
                   7015: # If we're using GNU nm, then use its standard symbol codes.
                   7016: case `$NM -V 2>&1` in
                   7017: *GNU* | *'with BFD'*)
                   7018:   symcode='[ABCDGIRSTW]' ;;
                   7019: esac
                   7020: 
                   7021: # Transform an extracted symbol line into a proper C declaration.
                   7022: # Some systems (esp. on ia64) link data and code symbols differently,
                   7023: # so use this general approach.
                   7024: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7025: 
                   7026: # Transform an extracted symbol line into symbol name and symbol address
                   7027: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7028: 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'"
                   7029: 
                   7030: # Handle CRLF in mingw tool chain
                   7031: opt_cr=
                   7032: case $build_os in
                   7033: mingw*)
                   7034:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7035:   ;;
                   7036: esac
                   7037: 
                   7038: # Try without a prefix underscore, then with it.
                   7039: for ac_symprfx in "" "_"; do
                   7040: 
                   7041:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7042:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7043: 
                   7044:   # Write the raw and C identifiers.
                   7045:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7046:     # Fake it for dumpbin and say T for any non-static function
                   7047:     # and D for any global variable.
                   7048:     # Also find C++ and __fastcall symbols from MSVC++,
                   7049:     # which start with @ or ?.
                   7050:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7051: "     {last_section=section; section=\$ 3};"\
                   7052: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7053: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7054: "     \$ 0!~/External *\|/{next};"\
                   7055: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7056: "     {if(hide[section]) next};"\
                   7057: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7058: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7059: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7060: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7061: "     ' prfx=^$ac_symprfx"
                   7062:   else
                   7063:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7064:   fi
                   7065:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7066: 
                   7067:   # Check to see that the pipe works correctly.
                   7068:   pipe_works=no
                   7069: 
                   7070:   rm -f conftest*
                   7071:   cat > conftest.$ac_ext <<_LT_EOF
                   7072: #ifdef __cplusplus
                   7073: extern "C" {
                   7074: #endif
                   7075: char nm_test_var;
                   7076: void nm_test_func(void);
                   7077: void nm_test_func(void){}
                   7078: #ifdef __cplusplus
                   7079: }
                   7080: #endif
                   7081: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7082: _LT_EOF
                   7083: 
1.150     moko     7084:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7085:   (eval $ac_compile) 2>&5
                   7086:   ac_status=$?
1.150     moko     7087:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7088:   test $ac_status = 0; }; then
1.128     moko     7089:     # Now try to grab the symbols.
                   7090:     nlist=conftest.nm
1.150     moko     7091:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7092:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7093:   ac_status=$?
1.150     moko     7094:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7095:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7096:       # Try sorting and uniquifying the output.
                   7097:       if sort "$nlist" | uniq > "$nlist"T; then
                   7098:        mv -f "$nlist"T "$nlist"
                   7099:       else
                   7100:        rm -f "$nlist"T
                   7101:       fi
                   7102: 
                   7103:       # Make sure that we snagged all the symbols we need.
                   7104:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7105:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7106:          cat <<_LT_EOF > conftest.$ac_ext
                   7107: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7108: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7109: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7110:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7111: # define LT_DLSYM_CONST
                   7112: #elif defined(__osf__)
                   7113: /* This system does not cope well with relocations in const data.  */
                   7114: # define LT_DLSYM_CONST
                   7115: #else
                   7116: # define LT_DLSYM_CONST const
                   7117: #endif
                   7118: 
                   7119: #ifdef __cplusplus
                   7120: extern "C" {
                   7121: #endif
                   7122: 
                   7123: _LT_EOF
                   7124:          # Now generate the symbol file.
                   7125:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7126: 
                   7127:          cat <<_LT_EOF >> conftest.$ac_ext
                   7128: 
                   7129: /* The mapping between symbol names and symbols.  */
                   7130: LT_DLSYM_CONST struct {
                   7131:   const char *name;
                   7132:   void       *address;
                   7133: }
                   7134: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7135: {
                   7136:   { "@PROGRAM@", (void *) 0 },
                   7137: _LT_EOF
                   7138:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7139:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7140:   {0, (void *) 0}
                   7141: };
                   7142: 
                   7143: /* This works around a problem in FreeBSD linker */
                   7144: #ifdef FREEBSD_WORKAROUND
                   7145: static const void *lt_preloaded_setup() {
                   7146:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7147: }
                   7148: #endif
                   7149: 
                   7150: #ifdef __cplusplus
                   7151: }
                   7152: #endif
                   7153: _LT_EOF
                   7154:          # Now try linking the two files.
                   7155:          mv conftest.$ac_objext conftstm.$ac_objext
                   7156:          lt_globsym_save_LIBS=$LIBS
                   7157:          lt_globsym_save_CFLAGS=$CFLAGS
                   7158:          LIBS="conftstm.$ac_objext"
                   7159:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     7160:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7161:   (eval $ac_link) 2>&5
                   7162:   ac_status=$?
1.150     moko     7163:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7164:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7165:            pipe_works=yes
                   7166:          fi
                   7167:          LIBS=$lt_globsym_save_LIBS
                   7168:          CFLAGS=$lt_globsym_save_CFLAGS
                   7169:        else
                   7170:          echo "cannot find nm_test_func in $nlist" >&5
                   7171:        fi
                   7172:       else
                   7173:        echo "cannot find nm_test_var in $nlist" >&5
                   7174:       fi
                   7175:     else
                   7176:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7177:     fi
                   7178:   else
                   7179:     echo "$progname: failed program was:" >&5
                   7180:     cat conftest.$ac_ext >&5
                   7181:   fi
                   7182:   rm -rf conftest* conftst*
                   7183: 
                   7184:   # Do not use the global_symbol_pipe unless it works.
                   7185:   if test "$pipe_works" = yes; then
                   7186:     break
                   7187:   else
                   7188:     lt_cv_sys_global_symbol_pipe=
                   7189:   fi
                   7190: done
                   7191: 
                   7192: fi
                   7193: 
                   7194: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7195:   lt_cv_sys_global_symbol_to_cdecl=
                   7196: fi
                   7197: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150     moko     7198:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7199: $as_echo "failed" >&6; }
1.128     moko     7200: else
1.150     moko     7201:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7202: $as_echo "ok" >&6; }
1.128     moko     7203: fi
                   7204: 
                   7205: # Response file support.
                   7206: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7207:   nm_file_list_spec='@'
                   7208: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7209:   nm_file_list_spec='@'
                   7210: fi
                   7211: 
                   7212: 
                   7213: 
                   7214: 
                   7215: 
                   7216: 
                   7217: 
                   7218: 
                   7219: 
                   7220: 
                   7221: 
                   7222: 
                   7223: 
                   7224: 
                   7225: 
                   7226: 
                   7227: 
                   7228: 
                   7229: 
                   7230: 
                   7231: 
                   7232: 
                   7233: 
                   7234: 
                   7235: 
                   7236: 
                   7237: 
1.150     moko     7238: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7239: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7240: 
1.150     moko     7241: # Check whether --with-sysroot was given.
                   7242: if test "${with_sysroot+set}" = set; then :
                   7243:   withval=$with_sysroot;
1.128     moko     7244: else
                   7245:   with_sysroot=no
1.150     moko     7246: fi
                   7247: 
1.128     moko     7248: 
                   7249: lt_sysroot=
                   7250: case ${with_sysroot} in #(
                   7251:  yes)
                   7252:    if test "$GCC" = yes; then
                   7253:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7254:    fi
                   7255:    ;; #(
                   7256:  /*)
                   7257:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7258:    ;; #(
                   7259:  no|'')
                   7260:    ;; #(
                   7261:  *)
1.150     moko     7262:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7263: $as_echo "${with_sysroot}" >&6; }
                   7264:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7265:    ;;
                   7266: esac
                   7267: 
1.150     moko     7268:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7269: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7270: 
                   7271: 
                   7272: 
                   7273: 
                   7274: 
1.150     moko     7275: # Check whether --enable-libtool-lock was given.
                   7276: if test "${enable_libtool_lock+set}" = set; then :
                   7277:   enableval=$enable_libtool_lock;
                   7278: fi
1.128     moko     7279: 
                   7280: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7281: 
                   7282: # Some flags need to be propagated to the compiler or linker for good
                   7283: # libtool support.
                   7284: case $host in
                   7285: ia64-*-hpux*)
                   7286:   # Find out which ABI we are using.
                   7287:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7288:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7289:   (eval $ac_compile) 2>&5
                   7290:   ac_status=$?
1.150     moko     7291:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7292:   test $ac_status = 0; }; then
1.128     moko     7293:     case `/usr/bin/file conftest.$ac_objext` in
                   7294:       *ELF-32*)
                   7295:        HPUX_IA64_MODE="32"
                   7296:        ;;
                   7297:       *ELF-64*)
                   7298:        HPUX_IA64_MODE="64"
                   7299:        ;;
                   7300:     esac
                   7301:   fi
                   7302:   rm -rf conftest*
                   7303:   ;;
                   7304: *-*-irix6*)
                   7305:   # Find out which ABI we are using.
                   7306:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     7307:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7308:   (eval $ac_compile) 2>&5
                   7309:   ac_status=$?
1.150     moko     7310:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7311:   test $ac_status = 0; }; then
1.128     moko     7312:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7313:       case `/usr/bin/file conftest.$ac_objext` in
                   7314:        *32-bit*)
                   7315:          LD="${LD-ld} -melf32bsmip"
                   7316:          ;;
                   7317:        *N32*)
                   7318:          LD="${LD-ld} -melf32bmipn32"
                   7319:          ;;
                   7320:        *64-bit*)
                   7321:          LD="${LD-ld} -melf64bmip"
                   7322:        ;;
                   7323:       esac
                   7324:     else
                   7325:       case `/usr/bin/file conftest.$ac_objext` in
                   7326:        *32-bit*)
                   7327:          LD="${LD-ld} -32"
                   7328:          ;;
                   7329:        *N32*)
                   7330:          LD="${LD-ld} -n32"
                   7331:          ;;
                   7332:        *64-bit*)
                   7333:          LD="${LD-ld} -64"
                   7334:          ;;
                   7335:       esac
                   7336:     fi
                   7337:   fi
                   7338:   rm -rf conftest*
                   7339:   ;;
                   7340: 
                   7341: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7342: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7343:   # Find out which ABI we are using.
                   7344:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7345:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7346:   (eval $ac_compile) 2>&5
                   7347:   ac_status=$?
1.150     moko     7348:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7349:   test $ac_status = 0; }; then
1.128     moko     7350:     case `/usr/bin/file conftest.o` in
                   7351:       *32-bit*)
                   7352:        case $host in
                   7353:          x86_64-*kfreebsd*-gnu)
                   7354:            LD="${LD-ld} -m elf_i386_fbsd"
                   7355:            ;;
                   7356:          x86_64-*linux*)
                   7357:            LD="${LD-ld} -m elf_i386"
                   7358:            ;;
                   7359:          ppc64-*linux*|powerpc64-*linux*)
                   7360:            LD="${LD-ld} -m elf32ppclinux"
                   7361:            ;;
                   7362:          s390x-*linux*)
                   7363:            LD="${LD-ld} -m elf_s390"
                   7364:            ;;
                   7365:          sparc64-*linux*)
                   7366:            LD="${LD-ld} -m elf32_sparc"
                   7367:            ;;
                   7368:        esac
                   7369:        ;;
                   7370:       *64-bit*)
                   7371:        case $host in
                   7372:          x86_64-*kfreebsd*-gnu)
                   7373:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7374:            ;;
                   7375:          x86_64-*linux*)
                   7376:            LD="${LD-ld} -m elf_x86_64"
                   7377:            ;;
                   7378:          ppc*-*linux*|powerpc*-*linux*)
                   7379:            LD="${LD-ld} -m elf64ppc"
                   7380:            ;;
                   7381:          s390*-*linux*|s390*-*tpf*)
                   7382:            LD="${LD-ld} -m elf64_s390"
                   7383:            ;;
                   7384:          sparc*-*linux*)
                   7385:            LD="${LD-ld} -m elf64_sparc"
                   7386:            ;;
                   7387:        esac
                   7388:        ;;
                   7389:     esac
                   7390:   fi
                   7391:   rm -rf conftest*
                   7392:   ;;
                   7393: 
                   7394: *-*-sco3.2v5*)
                   7395:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7396:   SAVE_CFLAGS="$CFLAGS"
                   7397:   CFLAGS="$CFLAGS -belf"
1.150     moko     7398:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7399: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7400: if ${lt_cv_cc_needs_belf+:} false; then :
                   7401:   $as_echo_n "(cached) " >&6
1.128     moko     7402: else
                   7403:   ac_ext=c
                   7404: ac_cpp='$CPP $CPPFLAGS'
                   7405: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7406: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7407: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7408: 
1.150     moko     7409:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7410: /* end confdefs.h.  */
                   7411: 
                   7412: int
                   7413: main ()
                   7414: {
                   7415: 
                   7416:   ;
                   7417:   return 0;
                   7418: }
                   7419: _ACEOF
1.150     moko     7420: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7421:   lt_cv_cc_needs_belf=yes
                   7422: else
1.150     moko     7423:   lt_cv_cc_needs_belf=no
1.128     moko     7424: fi
1.150     moko     7425: rm -f core conftest.err conftest.$ac_objext \
                   7426:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7427:      ac_ext=c
                   7428: ac_cpp='$CPP $CPPFLAGS'
                   7429: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7430: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7431: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7432: 
                   7433: fi
1.150     moko     7434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7435: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     7436:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7437:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7438:     CFLAGS="$SAVE_CFLAGS"
                   7439:   fi
                   7440:   ;;
                   7441: *-*solaris*)
                   7442:   # Find out which ABI we are using.
                   7443:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7444:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7445:   (eval $ac_compile) 2>&5
                   7446:   ac_status=$?
1.150     moko     7447:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7448:   test $ac_status = 0; }; then
1.128     moko     7449:     case `/usr/bin/file conftest.o` in
                   7450:     *64-bit*)
                   7451:       case $lt_cv_prog_gnu_ld in
                   7452:       yes*)
                   7453:         case $host in
                   7454:         i?86-*-solaris*)
                   7455:           LD="${LD-ld} -m elf_x86_64"
                   7456:           ;;
                   7457:         sparc*-*-solaris*)
                   7458:           LD="${LD-ld} -m elf64_sparc"
                   7459:           ;;
                   7460:         esac
                   7461:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7462:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   7463:           LD="${LD-ld}_sol2"
                   7464:         fi
                   7465:         ;;
                   7466:       *)
                   7467:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7468:          LD="${LD-ld} -64"
                   7469:        fi
                   7470:        ;;
                   7471:       esac
                   7472:       ;;
                   7473:     esac
                   7474:   fi
                   7475:   rm -rf conftest*
                   7476:   ;;
                   7477: esac
                   7478: 
                   7479: need_locks="$enable_libtool_lock"
                   7480: 
                   7481: if test -n "$ac_tool_prefix"; then
                   7482:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7483: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150     moko     7484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7485: $as_echo_n "checking for $ac_word... " >&6; }
                   7486: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7487:   $as_echo_n "(cached) " >&6
1.128     moko     7488: else
                   7489:   if test -n "$MANIFEST_TOOL"; then
                   7490:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7491: else
                   7492: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7493: for as_dir in $PATH
                   7494: do
                   7495:   IFS=$as_save_IFS
                   7496:   test -z "$as_dir" && as_dir=.
1.150     moko     7497:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7498:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7499:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150     moko     7500:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7501:     break 2
                   7502:   fi
                   7503: done
1.150     moko     7504:   done
                   7505: IFS=$as_save_IFS
1.128     moko     7506: 
                   7507: fi
                   7508: fi
                   7509: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7510: if test -n "$MANIFEST_TOOL"; then
1.150     moko     7511:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   7512: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     7513: else
1.150     moko     7514:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7515: $as_echo "no" >&6; }
1.128     moko     7516: fi
                   7517: 
1.150     moko     7518: 
1.128     moko     7519: fi
                   7520: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7521:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7522:   # Extract the first word of "mt", so it can be a program name with args.
                   7523: set dummy mt; ac_word=$2
1.150     moko     7524: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7525: $as_echo_n "checking for $ac_word... " >&6; }
                   7526: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   7527:   $as_echo_n "(cached) " >&6
1.128     moko     7528: else
                   7529:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7530:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7531: else
                   7532: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7533: for as_dir in $PATH
                   7534: do
                   7535:   IFS=$as_save_IFS
                   7536:   test -z "$as_dir" && as_dir=.
1.150     moko     7537:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7538:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7539:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150     moko     7540:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7541:     break 2
                   7542:   fi
                   7543: done
1.150     moko     7544:   done
                   7545: IFS=$as_save_IFS
1.128     moko     7546: 
                   7547: fi
                   7548: fi
                   7549: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7550: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150     moko     7551:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7552: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     7553: else
1.150     moko     7554:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7555: $as_echo "no" >&6; }
1.128     moko     7556: fi
                   7557: 
1.150     moko     7558:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7559:     MANIFEST_TOOL=":"
                   7560:   else
                   7561:     case $cross_compiling:$ac_tool_warned in
                   7562: yes:)
                   7563: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7564: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7565: ac_tool_warned=yes ;;
                   7566: esac
                   7567:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7568:   fi
1.128     moko     7569: else
                   7570:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7571: fi
                   7572: 
                   7573: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150     moko     7574: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7575: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7576: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7577:   $as_echo_n "(cached) " >&6
1.128     moko     7578: else
                   7579:   lt_cv_path_mainfest_tool=no
                   7580:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7581:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7582:   cat conftest.err >&5
                   7583:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7584:     lt_cv_path_mainfest_tool=yes
                   7585:   fi
                   7586:   rm -f conftest*
                   7587: fi
1.150     moko     7588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7589: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     7590: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7591:   MANIFEST_TOOL=:
                   7592: fi
                   7593: 
                   7594: 
                   7595: 
                   7596: 
                   7597: 
                   7598: 
                   7599:   case $host_os in
                   7600:     rhapsody* | darwin*)
                   7601:     if test -n "$ac_tool_prefix"; then
                   7602:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7603: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150     moko     7604: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7605: $as_echo_n "checking for $ac_word... " >&6; }
                   7606: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7607:   $as_echo_n "(cached) " >&6
1.128     moko     7608: else
                   7609:   if test -n "$DSYMUTIL"; then
                   7610:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7611: else
                   7612: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7613: for as_dir in $PATH
                   7614: do
                   7615:   IFS=$as_save_IFS
                   7616:   test -z "$as_dir" && as_dir=.
1.150     moko     7617:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7618:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7619:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150     moko     7620:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7621:     break 2
                   7622:   fi
                   7623: done
1.150     moko     7624:   done
                   7625: IFS=$as_save_IFS
1.128     moko     7626: 
                   7627: fi
                   7628: fi
                   7629: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7630: if test -n "$DSYMUTIL"; then
1.150     moko     7631:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7632: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     7633: else
1.150     moko     7634:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7635: $as_echo "no" >&6; }
1.128     moko     7636: fi
                   7637: 
1.150     moko     7638: 
1.128     moko     7639: fi
                   7640: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7641:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7642:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7643: set dummy dsymutil; ac_word=$2
1.150     moko     7644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7645: $as_echo_n "checking for $ac_word... " >&6; }
                   7646: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   7647:   $as_echo_n "(cached) " >&6
1.128     moko     7648: else
                   7649:   if test -n "$ac_ct_DSYMUTIL"; then
                   7650:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7651: else
                   7652: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7653: for as_dir in $PATH
                   7654: do
                   7655:   IFS=$as_save_IFS
                   7656:   test -z "$as_dir" && as_dir=.
1.150     moko     7657:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7658:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7659:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150     moko     7660:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7661:     break 2
                   7662:   fi
                   7663: done
1.150     moko     7664:   done
                   7665: IFS=$as_save_IFS
1.128     moko     7666: 
                   7667: fi
                   7668: fi
                   7669: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7670: if test -n "$ac_ct_DSYMUTIL"; then
1.150     moko     7671:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7672: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     7673: else
1.150     moko     7674:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7675: $as_echo "no" >&6; }
1.128     moko     7676: fi
                   7677: 
1.150     moko     7678:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7679:     DSYMUTIL=":"
                   7680:   else
                   7681:     case $cross_compiling:$ac_tool_warned in
                   7682: yes:)
                   7683: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7684: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7685: ac_tool_warned=yes ;;
                   7686: esac
                   7687:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7688:   fi
1.128     moko     7689: else
                   7690:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7691: fi
                   7692: 
                   7693:     if test -n "$ac_tool_prefix"; then
                   7694:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7695: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150     moko     7696: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7697: $as_echo_n "checking for $ac_word... " >&6; }
                   7698: if ${ac_cv_prog_NMEDIT+:} false; then :
                   7699:   $as_echo_n "(cached) " >&6
1.128     moko     7700: else
                   7701:   if test -n "$NMEDIT"; then
                   7702:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7703: else
                   7704: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7705: for as_dir in $PATH
                   7706: do
                   7707:   IFS=$as_save_IFS
                   7708:   test -z "$as_dir" && as_dir=.
1.150     moko     7709:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7710:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7711:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150     moko     7712:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7713:     break 2
                   7714:   fi
                   7715: done
1.150     moko     7716:   done
                   7717: IFS=$as_save_IFS
1.128     moko     7718: 
                   7719: fi
                   7720: fi
                   7721: NMEDIT=$ac_cv_prog_NMEDIT
                   7722: if test -n "$NMEDIT"; then
1.150     moko     7723:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7724: $as_echo "$NMEDIT" >&6; }
1.128     moko     7725: else
1.150     moko     7726:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7727: $as_echo "no" >&6; }
1.128     moko     7728: fi
                   7729: 
1.150     moko     7730: 
1.128     moko     7731: fi
                   7732: if test -z "$ac_cv_prog_NMEDIT"; then
                   7733:   ac_ct_NMEDIT=$NMEDIT
                   7734:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7735: set dummy nmedit; ac_word=$2
1.150     moko     7736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7737: $as_echo_n "checking for $ac_word... " >&6; }
                   7738: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   7739:   $as_echo_n "(cached) " >&6
1.128     moko     7740: else
                   7741:   if test -n "$ac_ct_NMEDIT"; then
                   7742:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7743: else
                   7744: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7745: for as_dir in $PATH
                   7746: do
                   7747:   IFS=$as_save_IFS
                   7748:   test -z "$as_dir" && as_dir=.
1.150     moko     7749:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7750:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7751:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150     moko     7752:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7753:     break 2
                   7754:   fi
                   7755: done
1.150     moko     7756:   done
                   7757: IFS=$as_save_IFS
1.128     moko     7758: 
                   7759: fi
                   7760: fi
                   7761: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7762: if test -n "$ac_ct_NMEDIT"; then
1.150     moko     7763:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7764: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     7765: else
1.150     moko     7766:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7767: $as_echo "no" >&6; }
1.128     moko     7768: fi
                   7769: 
1.150     moko     7770:   if test "x$ac_ct_NMEDIT" = x; then
                   7771:     NMEDIT=":"
                   7772:   else
                   7773:     case $cross_compiling:$ac_tool_warned in
                   7774: yes:)
                   7775: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7776: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7777: ac_tool_warned=yes ;;
                   7778: esac
                   7779:     NMEDIT=$ac_ct_NMEDIT
                   7780:   fi
1.128     moko     7781: else
                   7782:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7783: fi
                   7784: 
                   7785:     if test -n "$ac_tool_prefix"; then
                   7786:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7787: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150     moko     7788: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7789: $as_echo_n "checking for $ac_word... " >&6; }
                   7790: if ${ac_cv_prog_LIPO+:} false; then :
                   7791:   $as_echo_n "(cached) " >&6
1.128     moko     7792: else
                   7793:   if test -n "$LIPO"; then
                   7794:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7795: else
                   7796: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7797: for as_dir in $PATH
                   7798: do
                   7799:   IFS=$as_save_IFS
                   7800:   test -z "$as_dir" && as_dir=.
1.150     moko     7801:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7802:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7803:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150     moko     7804:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7805:     break 2
                   7806:   fi
                   7807: done
1.150     moko     7808:   done
                   7809: IFS=$as_save_IFS
1.128     moko     7810: 
                   7811: fi
                   7812: fi
                   7813: LIPO=$ac_cv_prog_LIPO
                   7814: if test -n "$LIPO"; then
1.150     moko     7815:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7816: $as_echo "$LIPO" >&6; }
1.128     moko     7817: else
1.150     moko     7818:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7819: $as_echo "no" >&6; }
1.128     moko     7820: fi
                   7821: 
1.150     moko     7822: 
1.128     moko     7823: fi
                   7824: if test -z "$ac_cv_prog_LIPO"; then
                   7825:   ac_ct_LIPO=$LIPO
                   7826:   # Extract the first word of "lipo", so it can be a program name with args.
                   7827: set dummy lipo; ac_word=$2
1.150     moko     7828: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7829: $as_echo_n "checking for $ac_word... " >&6; }
                   7830: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7831:   $as_echo_n "(cached) " >&6
1.128     moko     7832: else
                   7833:   if test -n "$ac_ct_LIPO"; then
                   7834:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7835: else
                   7836: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7837: for as_dir in $PATH
                   7838: do
                   7839:   IFS=$as_save_IFS
                   7840:   test -z "$as_dir" && as_dir=.
1.150     moko     7841:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7842:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7843:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150     moko     7844:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7845:     break 2
                   7846:   fi
                   7847: done
1.150     moko     7848:   done
                   7849: IFS=$as_save_IFS
1.128     moko     7850: 
                   7851: fi
                   7852: fi
                   7853: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7854: if test -n "$ac_ct_LIPO"; then
1.150     moko     7855:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7856: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     7857: else
1.150     moko     7858:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7859: $as_echo "no" >&6; }
1.128     moko     7860: fi
                   7861: 
1.150     moko     7862:   if test "x$ac_ct_LIPO" = x; then
                   7863:     LIPO=":"
                   7864:   else
                   7865:     case $cross_compiling:$ac_tool_warned in
                   7866: yes:)
                   7867: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7868: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7869: ac_tool_warned=yes ;;
                   7870: esac
                   7871:     LIPO=$ac_ct_LIPO
                   7872:   fi
1.128     moko     7873: else
                   7874:   LIPO="$ac_cv_prog_LIPO"
                   7875: fi
                   7876: 
                   7877:     if test -n "$ac_tool_prefix"; then
                   7878:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7879: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150     moko     7880: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7881: $as_echo_n "checking for $ac_word... " >&6; }
                   7882: if ${ac_cv_prog_OTOOL+:} false; then :
                   7883:   $as_echo_n "(cached) " >&6
1.128     moko     7884: else
                   7885:   if test -n "$OTOOL"; then
                   7886:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7887: else
                   7888: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7889: for as_dir in $PATH
                   7890: do
                   7891:   IFS=$as_save_IFS
                   7892:   test -z "$as_dir" && as_dir=.
1.150     moko     7893:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7894:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7895:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150     moko     7896:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7897:     break 2
                   7898:   fi
                   7899: done
1.150     moko     7900:   done
                   7901: IFS=$as_save_IFS
1.128     moko     7902: 
                   7903: fi
                   7904: fi
                   7905: OTOOL=$ac_cv_prog_OTOOL
                   7906: if test -n "$OTOOL"; then
1.150     moko     7907:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7908: $as_echo "$OTOOL" >&6; }
1.128     moko     7909: else
1.150     moko     7910:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7911: $as_echo "no" >&6; }
1.128     moko     7912: fi
                   7913: 
1.150     moko     7914: 
1.128     moko     7915: fi
                   7916: if test -z "$ac_cv_prog_OTOOL"; then
                   7917:   ac_ct_OTOOL=$OTOOL
                   7918:   # Extract the first word of "otool", so it can be a program name with args.
                   7919: set dummy otool; ac_word=$2
1.150     moko     7920: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7921: $as_echo_n "checking for $ac_word... " >&6; }
                   7922: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   7923:   $as_echo_n "(cached) " >&6
1.128     moko     7924: else
                   7925:   if test -n "$ac_ct_OTOOL"; then
                   7926:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7927: else
                   7928: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7929: for as_dir in $PATH
                   7930: do
                   7931:   IFS=$as_save_IFS
                   7932:   test -z "$as_dir" && as_dir=.
1.150     moko     7933:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7934:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7935:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150     moko     7936:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7937:     break 2
                   7938:   fi
                   7939: done
1.150     moko     7940:   done
                   7941: IFS=$as_save_IFS
1.128     moko     7942: 
                   7943: fi
                   7944: fi
                   7945: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7946: if test -n "$ac_ct_OTOOL"; then
1.150     moko     7947:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7948: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     7949: else
1.150     moko     7950:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7951: $as_echo "no" >&6; }
1.128     moko     7952: fi
                   7953: 
1.150     moko     7954:   if test "x$ac_ct_OTOOL" = x; then
                   7955:     OTOOL=":"
                   7956:   else
                   7957:     case $cross_compiling:$ac_tool_warned in
                   7958: yes:)
                   7959: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7960: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7961: ac_tool_warned=yes ;;
                   7962: esac
                   7963:     OTOOL=$ac_ct_OTOOL
                   7964:   fi
1.128     moko     7965: else
                   7966:   OTOOL="$ac_cv_prog_OTOOL"
                   7967: fi
                   7968: 
                   7969:     if test -n "$ac_tool_prefix"; then
                   7970:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7971: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150     moko     7972: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7973: $as_echo_n "checking for $ac_word... " >&6; }
                   7974: if ${ac_cv_prog_OTOOL64+:} false; then :
                   7975:   $as_echo_n "(cached) " >&6
1.128     moko     7976: else
                   7977:   if test -n "$OTOOL64"; then
                   7978:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7979: else
                   7980: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7981: for as_dir in $PATH
                   7982: do
                   7983:   IFS=$as_save_IFS
                   7984:   test -z "$as_dir" && as_dir=.
1.150     moko     7985:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7986:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7987:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150     moko     7988:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7989:     break 2
                   7990:   fi
                   7991: done
1.150     moko     7992:   done
                   7993: IFS=$as_save_IFS
1.128     moko     7994: 
                   7995: fi
                   7996: fi
                   7997: OTOOL64=$ac_cv_prog_OTOOL64
                   7998: if test -n "$OTOOL64"; then
1.150     moko     7999:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   8000: $as_echo "$OTOOL64" >&6; }
1.128     moko     8001: else
1.150     moko     8002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8003: $as_echo "no" >&6; }
1.128     moko     8004: fi
                   8005: 
1.150     moko     8006: 
1.128     moko     8007: fi
                   8008: if test -z "$ac_cv_prog_OTOOL64"; then
                   8009:   ac_ct_OTOOL64=$OTOOL64
                   8010:   # Extract the first word of "otool64", so it can be a program name with args.
                   8011: set dummy otool64; ac_word=$2
1.150     moko     8012: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8013: $as_echo_n "checking for $ac_word... " >&6; }
                   8014: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   8015:   $as_echo_n "(cached) " >&6
1.128     moko     8016: else
                   8017:   if test -n "$ac_ct_OTOOL64"; then
                   8018:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8019: else
                   8020: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8021: for as_dir in $PATH
                   8022: do
                   8023:   IFS=$as_save_IFS
                   8024:   test -z "$as_dir" && as_dir=.
1.150     moko     8025:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8026:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8027:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150     moko     8028:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8029:     break 2
                   8030:   fi
                   8031: done
1.150     moko     8032:   done
                   8033: IFS=$as_save_IFS
1.128     moko     8034: 
                   8035: fi
                   8036: fi
                   8037: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8038: if test -n "$ac_ct_OTOOL64"; then
1.150     moko     8039:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   8040: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8041: else
1.150     moko     8042:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8043: $as_echo "no" >&6; }
1.128     moko     8044: fi
                   8045: 
1.150     moko     8046:   if test "x$ac_ct_OTOOL64" = x; then
                   8047:     OTOOL64=":"
                   8048:   else
                   8049:     case $cross_compiling:$ac_tool_warned in
                   8050: yes:)
                   8051: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8052: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8053: ac_tool_warned=yes ;;
                   8054: esac
                   8055:     OTOOL64=$ac_ct_OTOOL64
                   8056:   fi
1.128     moko     8057: else
                   8058:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8059: fi
                   8060: 
                   8061: 
                   8062: 
                   8063: 
                   8064: 
                   8065: 
                   8066: 
                   8067: 
                   8068: 
                   8069: 
                   8070: 
                   8071: 
                   8072: 
                   8073: 
                   8074: 
                   8075: 
                   8076: 
                   8077: 
                   8078: 
                   8079: 
                   8080: 
                   8081: 
                   8082: 
                   8083: 
                   8084: 
                   8085: 
                   8086: 
1.150     moko     8087:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   8088: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   8089: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   8090:   $as_echo_n "(cached) " >&6
1.128     moko     8091: else
                   8092:   lt_cv_apple_cc_single_mod=no
                   8093:       if test -z "${LT_MULTI_MODULE}"; then
                   8094:        # By default we will add the -single_module flag. You can override
                   8095:        # by either setting the environment variable LT_MULTI_MODULE
                   8096:        # non-empty at configure time, or by adding -multi_module to the
                   8097:        # link flags.
                   8098:        rm -rf libconftest.dylib*
                   8099:        echo "int foo(void){return 1;}" > conftest.c
                   8100:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8101: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8102:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8103:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8104:         _lt_result=$?
                   8105:        # If there is a non-empty error log, and "single_module"
                   8106:        # appears in it, assume the flag caused a linker warning
                   8107:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8108:          cat conftest.err >&5
                   8109:        # Otherwise, if the output was created with a 0 exit code from
                   8110:        # the compiler, it worked.
                   8111:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8112:          lt_cv_apple_cc_single_mod=yes
                   8113:        else
                   8114:          cat conftest.err >&5
                   8115:        fi
                   8116:        rm -rf libconftest.dylib*
                   8117:        rm -f conftest.*
                   8118:       fi
                   8119: fi
1.150     moko     8120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8121: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8122: 
1.150     moko     8123:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8124: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8125: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8126:   $as_echo_n "(cached) " >&6
1.128     moko     8127: else
                   8128:   lt_cv_ld_exported_symbols_list=no
                   8129:       save_LDFLAGS=$LDFLAGS
                   8130:       echo "_main" > conftest.sym
                   8131:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     8132:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8133: /* end confdefs.h.  */
                   8134: 
                   8135: int
                   8136: main ()
                   8137: {
                   8138: 
                   8139:   ;
                   8140:   return 0;
                   8141: }
                   8142: _ACEOF
1.150     moko     8143: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8144:   lt_cv_ld_exported_symbols_list=yes
                   8145: else
1.150     moko     8146:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8147: fi
1.150     moko     8148: rm -f core conftest.err conftest.$ac_objext \
                   8149:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8150:        LDFLAGS="$save_LDFLAGS"
                   8151: 
                   8152: fi
1.150     moko     8153: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8154: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8155: 
1.150     moko     8156:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8157: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8158: if ${lt_cv_ld_force_load+:} false; then :
                   8159:   $as_echo_n "(cached) " >&6
1.128     moko     8160: else
                   8161:   lt_cv_ld_force_load=no
                   8162:       cat > conftest.c << _LT_EOF
                   8163: int forced_loaded() { return 2;}
                   8164: _LT_EOF
                   8165:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8166:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8167:       echo "$AR cru libconftest.a conftest.o" >&5
                   8168:       $AR cru libconftest.a conftest.o 2>&5
                   8169:       echo "$RANLIB libconftest.a" >&5
                   8170:       $RANLIB libconftest.a 2>&5
                   8171:       cat > conftest.c << _LT_EOF
                   8172: int main() { return 0;}
                   8173: _LT_EOF
                   8174:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8175:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8176:       _lt_result=$?
                   8177:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8178:        cat conftest.err >&5
                   8179:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8180:        lt_cv_ld_force_load=yes
                   8181:       else
                   8182:        cat conftest.err >&5
                   8183:       fi
                   8184:         rm -f conftest.err libconftest.a conftest conftest.c
                   8185:         rm -rf conftest.dSYM
                   8186: 
                   8187: fi
1.150     moko     8188: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8189: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8190:     case $host_os in
                   8191:     rhapsody* | darwin1.[012])
                   8192:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8193:     darwin1.*)
                   8194:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8195:     darwin*) # darwin 5.x on
                   8196:       # if running on 10.5 or later, the deployment target defaults
                   8197:       # to the OS version, if on x86, and 10.4, the deployment
                   8198:       # target defaults to 10.4. Don't you love it?
                   8199:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8200:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8201:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8202:        10.[012]*)
                   8203:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8204:        10.*)
                   8205:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8206:       esac
                   8207:     ;;
                   8208:   esac
                   8209:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8210:       _lt_dar_single_mod='$single_module'
                   8211:     fi
                   8212:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8213:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8214:     else
                   8215:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8216:     fi
                   8217:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8218:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8219:     else
                   8220:       _lt_dsymutil=
                   8221:     fi
                   8222:     ;;
                   8223:   esac
                   8224: 
                   8225: ac_ext=c
                   8226: ac_cpp='$CPP $CPPFLAGS'
                   8227: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8228: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8229: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150     moko     8230: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   8231: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8232: # On Suns, sometimes $CPP names a directory.
                   8233: if test -n "$CPP" && test -d "$CPP"; then
                   8234:   CPP=
                   8235: fi
                   8236: if test -z "$CPP"; then
1.150     moko     8237:   if ${ac_cv_prog_CPP+:} false; then :
                   8238:   $as_echo_n "(cached) " >&6
1.128     moko     8239: else
                   8240:       # Double quotes because CPP needs to be expanded
                   8241:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8242:     do
                   8243:       ac_preproc_ok=false
                   8244: for ac_c_preproc_warn_flag in '' yes
                   8245: do
                   8246:   # Use a header file that comes with gcc, so configuring glibc
                   8247:   # with a fresh cross-compiler works.
                   8248:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8249:   # <limits.h> exists even on freestanding compilers.
                   8250:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8251:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8252:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8253: /* end confdefs.h.  */
                   8254: #ifdef __STDC__
                   8255: # include <limits.h>
                   8256: #else
                   8257: # include <assert.h>
                   8258: #endif
                   8259:                     Syntax error
                   8260: _ACEOF
1.150     moko     8261: if ac_fn_c_try_cpp "$LINENO"; then :
                   8262: 
1.128     moko     8263: else
                   8264:   # Broken: fails on valid input.
                   8265: continue
                   8266: fi
1.150     moko     8267: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8268: 
1.150     moko     8269:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8270:   # can be detected and how.
1.150     moko     8271:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8272: /* end confdefs.h.  */
                   8273: #include <ac_nonexistent.h>
                   8274: _ACEOF
1.150     moko     8275: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8276:   # Broken: success on invalid input.
                   8277: continue
                   8278: else
                   8279:   # Passes both tests.
                   8280: ac_preproc_ok=:
                   8281: break
                   8282: fi
1.150     moko     8283: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8284: 
                   8285: done
                   8286: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8287: rm -f conftest.i conftest.err conftest.$ac_ext
                   8288: if $ac_preproc_ok; then :
1.128     moko     8289:   break
                   8290: fi
                   8291: 
                   8292:     done
                   8293:     ac_cv_prog_CPP=$CPP
                   8294: 
                   8295: fi
                   8296:   CPP=$ac_cv_prog_CPP
                   8297: else
                   8298:   ac_cv_prog_CPP=$CPP
                   8299: fi
1.150     moko     8300: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   8301: $as_echo "$CPP" >&6; }
1.128     moko     8302: ac_preproc_ok=false
                   8303: for ac_c_preproc_warn_flag in '' yes
                   8304: do
                   8305:   # Use a header file that comes with gcc, so configuring glibc
                   8306:   # with a fresh cross-compiler works.
                   8307:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8308:   # <limits.h> exists even on freestanding compilers.
                   8309:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8310:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8311:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8312: /* end confdefs.h.  */
                   8313: #ifdef __STDC__
                   8314: # include <limits.h>
                   8315: #else
                   8316: # include <assert.h>
                   8317: #endif
                   8318:                     Syntax error
                   8319: _ACEOF
1.150     moko     8320: if ac_fn_c_try_cpp "$LINENO"; then :
                   8321: 
1.128     moko     8322: else
                   8323:   # Broken: fails on valid input.
                   8324: continue
                   8325: fi
1.150     moko     8326: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8327: 
1.150     moko     8328:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8329:   # can be detected and how.
1.150     moko     8330:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8331: /* end confdefs.h.  */
                   8332: #include <ac_nonexistent.h>
                   8333: _ACEOF
1.150     moko     8334: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8335:   # Broken: success on invalid input.
                   8336: continue
                   8337: else
                   8338:   # Passes both tests.
                   8339: ac_preproc_ok=:
                   8340: break
                   8341: fi
1.150     moko     8342: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8343: 
                   8344: done
                   8345: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8346: rm -f conftest.i conftest.err conftest.$ac_ext
                   8347: if $ac_preproc_ok; then :
                   8348: 
1.128     moko     8349: else
1.150     moko     8350:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8351: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   8352: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   8353: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8354: fi
                   8355: 
                   8356: ac_ext=c
                   8357: ac_cpp='$CPP $CPPFLAGS'
                   8358: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8359: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8360: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8361: 
                   8362: 
1.150     moko     8363: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8364: $as_echo_n "checking for ANSI C header files... " >&6; }
                   8365: if ${ac_cv_header_stdc+:} false; then :
                   8366:   $as_echo_n "(cached) " >&6
1.128     moko     8367: else
1.150     moko     8368:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8369: /* end confdefs.h.  */
                   8370: #include <stdlib.h>
                   8371: #include <stdarg.h>
                   8372: #include <string.h>
                   8373: #include <float.h>
                   8374: 
                   8375: int
                   8376: main ()
                   8377: {
                   8378: 
                   8379:   ;
                   8380:   return 0;
                   8381: }
                   8382: _ACEOF
1.150     moko     8383: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8384:   ac_cv_header_stdc=yes
                   8385: else
1.150     moko     8386:   ac_cv_header_stdc=no
1.128     moko     8387: fi
1.150     moko     8388: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8389: 
                   8390: if test $ac_cv_header_stdc = yes; then
                   8391:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150     moko     8392:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8393: /* end confdefs.h.  */
                   8394: #include <string.h>
                   8395: 
                   8396: _ACEOF
                   8397: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8398:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8399: 
1.128     moko     8400: else
                   8401:   ac_cv_header_stdc=no
                   8402: fi
                   8403: rm -f conftest*
                   8404: 
                   8405: fi
                   8406: 
                   8407: if test $ac_cv_header_stdc = yes; then
                   8408:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150     moko     8409:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8410: /* end confdefs.h.  */
                   8411: #include <stdlib.h>
                   8412: 
                   8413: _ACEOF
                   8414: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8415:   $EGREP "free" >/dev/null 2>&1; then :
                   8416: 
1.128     moko     8417: else
                   8418:   ac_cv_header_stdc=no
                   8419: fi
                   8420: rm -f conftest*
                   8421: 
                   8422: fi
                   8423: 
                   8424: if test $ac_cv_header_stdc = yes; then
                   8425:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150     moko     8426:   if test "$cross_compiling" = yes; then :
1.128     moko     8427:   :
                   8428: else
1.150     moko     8429:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8430: /* end confdefs.h.  */
                   8431: #include <ctype.h>
1.150     moko     8432: #include <stdlib.h>
1.128     moko     8433: #if ((' ' & 0x0FF) == 0x020)
                   8434: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8435: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8436: #else
                   8437: # define ISLOWER(c) \
                   8438:                   (('a' <= (c) && (c) <= 'i') \
                   8439:                     || ('j' <= (c) && (c) <= 'r') \
                   8440:                     || ('s' <= (c) && (c) <= 'z'))
                   8441: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8442: #endif
                   8443: 
                   8444: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8445: int
                   8446: main ()
                   8447: {
                   8448:   int i;
                   8449:   for (i = 0; i < 256; i++)
                   8450:     if (XOR (islower (i), ISLOWER (i))
                   8451:        || toupper (i) != TOUPPER (i))
1.150     moko     8452:       return 2;
                   8453:   return 0;
1.128     moko     8454: }
                   8455: _ACEOF
1.150     moko     8456: if ac_fn_c_try_run "$LINENO"; then :
                   8457: 
1.128     moko     8458: else
1.150     moko     8459:   ac_cv_header_stdc=no
1.128     moko     8460: fi
1.150     moko     8461: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8462:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     8463: fi
1.150     moko     8464: 
1.128     moko     8465: fi
                   8466: fi
1.150     moko     8467: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8468: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     8469: if test $ac_cv_header_stdc = yes; then
                   8470: 
1.150     moko     8471: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     8472: 
                   8473: fi
                   8474: 
                   8475: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150     moko     8476: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8477:                  inttypes.h stdint.h unistd.h
                   8478: do :
                   8479:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8480: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8481: "
                   8482: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   8483:   cat >>confdefs.h <<_ACEOF
                   8484: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8485: _ACEOF
1.128     moko     8486: 
1.150     moko     8487: fi
1.128     moko     8488: 
1.150     moko     8489: done
1.128     moko     8490: 
                   8491: 
1.150     moko     8492: for ac_header in dlfcn.h
                   8493: do :
                   8494:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8495: "
                   8496: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   8497:   cat >>confdefs.h <<_ACEOF
                   8498: #define HAVE_DLFCN_H 1
                   8499: _ACEOF
1.128     moko     8500: 
1.150     moko     8501: fi
1.128     moko     8502: 
1.150     moko     8503: done
1.128     moko     8504: 
                   8505: 
                   8506: 
                   8507: 
1.150     moko     8508: func_stripname_cnf ()
                   8509: {
                   8510:   case ${2} in
                   8511:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   8512:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   8513:   esac
                   8514: } # func_stripname_cnf
1.128     moko     8515: 
                   8516: 
                   8517: 
                   8518: 
                   8519: 
                   8520: # Set options
                   8521: enable_dlopen=yes
                   8522: enable_win32_dll=yes
                   8523: 
                   8524: case $host in
                   8525: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8526:   if test -n "$ac_tool_prefix"; then
                   8527:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8528: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150     moko     8529: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8530: $as_echo_n "checking for $ac_word... " >&6; }
                   8531: if ${ac_cv_prog_AS+:} false; then :
                   8532:   $as_echo_n "(cached) " >&6
1.128     moko     8533: else
                   8534:   if test -n "$AS"; then
                   8535:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8536: else
                   8537: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8538: for as_dir in $PATH
                   8539: do
                   8540:   IFS=$as_save_IFS
                   8541:   test -z "$as_dir" && as_dir=.
1.150     moko     8542:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8543:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8544:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150     moko     8545:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8546:     break 2
                   8547:   fi
                   8548: done
1.150     moko     8549:   done
                   8550: IFS=$as_save_IFS
1.128     moko     8551: 
                   8552: fi
                   8553: fi
                   8554: AS=$ac_cv_prog_AS
                   8555: if test -n "$AS"; then
1.150     moko     8556:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8557: $as_echo "$AS" >&6; }
1.128     moko     8558: else
1.150     moko     8559:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8560: $as_echo "no" >&6; }
1.128     moko     8561: fi
                   8562: 
1.150     moko     8563: 
1.128     moko     8564: fi
                   8565: if test -z "$ac_cv_prog_AS"; then
                   8566:   ac_ct_AS=$AS
                   8567:   # Extract the first word of "as", so it can be a program name with args.
                   8568: set dummy as; ac_word=$2
1.150     moko     8569: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8570: $as_echo_n "checking for $ac_word... " >&6; }
                   8571: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8572:   $as_echo_n "(cached) " >&6
1.128     moko     8573: else
                   8574:   if test -n "$ac_ct_AS"; then
                   8575:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8576: else
                   8577: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8578: for as_dir in $PATH
                   8579: do
                   8580:   IFS=$as_save_IFS
                   8581:   test -z "$as_dir" && as_dir=.
1.150     moko     8582:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8583:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8584:     ac_cv_prog_ac_ct_AS="as"
1.150     moko     8585:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8586:     break 2
                   8587:   fi
                   8588: done
1.150     moko     8589:   done
                   8590: IFS=$as_save_IFS
1.128     moko     8591: 
                   8592: fi
                   8593: fi
                   8594: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8595: if test -n "$ac_ct_AS"; then
1.150     moko     8596:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   8597: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     8598: else
1.150     moko     8599:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8600: $as_echo "no" >&6; }
1.128     moko     8601: fi
                   8602: 
1.150     moko     8603:   if test "x$ac_ct_AS" = x; then
                   8604:     AS="false"
                   8605:   else
                   8606:     case $cross_compiling:$ac_tool_warned in
                   8607: yes:)
                   8608: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8609: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8610: ac_tool_warned=yes ;;
                   8611: esac
                   8612:     AS=$ac_ct_AS
                   8613:   fi
1.128     moko     8614: else
                   8615:   AS="$ac_cv_prog_AS"
                   8616: fi
                   8617: 
                   8618:   if test -n "$ac_tool_prefix"; then
                   8619:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8620: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     8621: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8622: $as_echo_n "checking for $ac_word... " >&6; }
                   8623: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   8624:   $as_echo_n "(cached) " >&6
1.128     moko     8625: else
                   8626:   if test -n "$DLLTOOL"; then
                   8627:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   8628: else
                   8629: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8630: for as_dir in $PATH
                   8631: do
                   8632:   IFS=$as_save_IFS
                   8633:   test -z "$as_dir" && as_dir=.
1.150     moko     8634:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8635:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8636:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     8637:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8638:     break 2
                   8639:   fi
                   8640: done
1.150     moko     8641:   done
                   8642: IFS=$as_save_IFS
1.128     moko     8643: 
                   8644: fi
                   8645: fi
                   8646: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8647: if test -n "$DLLTOOL"; then
1.150     moko     8648:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   8649: $as_echo "$DLLTOOL" >&6; }
1.128     moko     8650: else
1.150     moko     8651:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8652: $as_echo "no" >&6; }
1.128     moko     8653: fi
                   8654: 
1.150     moko     8655: 
1.128     moko     8656: fi
                   8657: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8658:   ac_ct_DLLTOOL=$DLLTOOL
                   8659:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8660: set dummy dlltool; ac_word=$2
1.150     moko     8661: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8662: $as_echo_n "checking for $ac_word... " >&6; }
                   8663: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   8664:   $as_echo_n "(cached) " >&6
1.128     moko     8665: else
                   8666:   if test -n "$ac_ct_DLLTOOL"; then
                   8667:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8668: else
                   8669: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8670: for as_dir in $PATH
                   8671: do
                   8672:   IFS=$as_save_IFS
                   8673:   test -z "$as_dir" && as_dir=.
1.150     moko     8674:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8675:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8676:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     8677:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8678:     break 2
                   8679:   fi
                   8680: done
1.150     moko     8681:   done
                   8682: IFS=$as_save_IFS
1.128     moko     8683: 
                   8684: fi
                   8685: fi
                   8686: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8687: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     8688:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   8689: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     8690: else
1.150     moko     8691:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8692: $as_echo "no" >&6; }
1.128     moko     8693: fi
                   8694: 
1.150     moko     8695:   if test "x$ac_ct_DLLTOOL" = x; then
                   8696:     DLLTOOL="false"
                   8697:   else
                   8698:     case $cross_compiling:$ac_tool_warned in
                   8699: yes:)
                   8700: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8701: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8702: ac_tool_warned=yes ;;
                   8703: esac
                   8704:     DLLTOOL=$ac_ct_DLLTOOL
                   8705:   fi
1.128     moko     8706: else
                   8707:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8708: fi
                   8709: 
                   8710:   if test -n "$ac_tool_prefix"; then
                   8711:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8712: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     8713: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8714: $as_echo_n "checking for $ac_word... " >&6; }
                   8715: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   8716:   $as_echo_n "(cached) " >&6
1.128     moko     8717: else
                   8718:   if test -n "$OBJDUMP"; then
                   8719:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8720: else
                   8721: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8722: for as_dir in $PATH
                   8723: do
                   8724:   IFS=$as_save_IFS
                   8725:   test -z "$as_dir" && as_dir=.
1.150     moko     8726:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8727:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8728:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     8729:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8730:     break 2
                   8731:   fi
                   8732: done
1.150     moko     8733:   done
                   8734: IFS=$as_save_IFS
1.128     moko     8735: 
                   8736: fi
                   8737: fi
                   8738: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8739: if test -n "$OBJDUMP"; then
1.150     moko     8740:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8741: $as_echo "$OBJDUMP" >&6; }
1.128     moko     8742: else
1.150     moko     8743:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8744: $as_echo "no" >&6; }
1.128     moko     8745: fi
                   8746: 
1.150     moko     8747: 
1.128     moko     8748: fi
                   8749: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8750:   ac_ct_OBJDUMP=$OBJDUMP
                   8751:   # Extract the first word of "objdump", so it can be a program name with args.
                   8752: set dummy objdump; ac_word=$2
1.150     moko     8753: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8754: $as_echo_n "checking for $ac_word... " >&6; }
                   8755: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   8756:   $as_echo_n "(cached) " >&6
1.128     moko     8757: else
                   8758:   if test -n "$ac_ct_OBJDUMP"; then
                   8759:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8760: else
                   8761: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8762: for as_dir in $PATH
                   8763: do
                   8764:   IFS=$as_save_IFS
                   8765:   test -z "$as_dir" && as_dir=.
1.150     moko     8766:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8767:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8768:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     8769:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8770:     break 2
                   8771:   fi
                   8772: done
1.150     moko     8773:   done
                   8774: IFS=$as_save_IFS
1.128     moko     8775: 
                   8776: fi
                   8777: fi
                   8778: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8779: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     8780:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8781: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     8782: else
1.150     moko     8783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8784: $as_echo "no" >&6; }
1.128     moko     8785: fi
                   8786: 
1.150     moko     8787:   if test "x$ac_ct_OBJDUMP" = x; then
                   8788:     OBJDUMP="false"
                   8789:   else
                   8790:     case $cross_compiling:$ac_tool_warned in
                   8791: yes:)
                   8792: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8793: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8794: ac_tool_warned=yes ;;
                   8795: esac
                   8796:     OBJDUMP=$ac_ct_OBJDUMP
                   8797:   fi
1.128     moko     8798: else
                   8799:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8800: fi
                   8801: 
                   8802:   ;;
                   8803: esac
                   8804: 
                   8805: test -z "$AS" && AS=as
                   8806: 
                   8807: 
                   8808: 
                   8809: 
                   8810: 
                   8811: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8812: 
                   8813: 
                   8814: 
                   8815: 
                   8816: 
                   8817: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8818: 
                   8819: 
                   8820: 
                   8821: 
                   8822: 
1.150     moko     8823: # Check whether --with-pic was given.
                   8824: if test "${with_pic+set}" = set; then :
                   8825:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     8826:     case $withval in
                   8827:     yes|no) pic_mode=$withval ;;
                   8828:     *)
                   8829:       pic_mode=default
                   8830:       # Look at the argument we got.  We use all the common list separators.
                   8831:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8832:       for lt_pkg in $withval; do
                   8833:        IFS="$lt_save_ifs"
                   8834:        if test "X$lt_pkg" = "X$lt_p"; then
                   8835:          pic_mode=yes
                   8836:        fi
                   8837:       done
                   8838:       IFS="$lt_save_ifs"
                   8839:       ;;
                   8840:     esac
                   8841: else
                   8842:   pic_mode=default
1.150     moko     8843: fi
                   8844: 
1.145     moko     8845: 
                   8846: test -z "$pic_mode" && pic_mode=no
                   8847: 
                   8848: 
                   8849: 
                   8850: 
                   8851: 
                   8852: 
1.128     moko     8853: 
                   8854: 
                   8855: 
                   8856: 
1.150     moko     8857:             # Check whether --enable-shared was given.
                   8858: if test "${enable_shared+set}" = set; then :
                   8859:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     8860:     case $enableval in
                   8861:     yes) enable_shared=yes ;;
                   8862:     no) enable_shared=no ;;
                   8863:     *)
                   8864:       enable_shared=no
                   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 pkg in $enableval; do
                   8868:        IFS="$lt_save_ifs"
                   8869:        if test "X$pkg" = "X$p"; then
                   8870:          enable_shared=yes
                   8871:        fi
                   8872:       done
                   8873:       IFS="$lt_save_ifs"
                   8874:       ;;
                   8875:     esac
                   8876: else
                   8877:   enable_shared=yes
1.150     moko     8878: fi
                   8879: 
1.128     moko     8880: 
                   8881: 
                   8882: 
                   8883: 
                   8884: 
                   8885: 
                   8886: 
                   8887: 
1.150     moko     8888:   # Check whether --enable-static was given.
                   8889: if test "${enable_static+set}" = set; then :
                   8890:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     8891:     case $enableval in
                   8892:     yes) enable_static=yes ;;
                   8893:     no) enable_static=no ;;
                   8894:     *)
                   8895:      enable_static=no
                   8896:       # Look at the argument we got.  We use all the common list separators.
                   8897:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8898:       for pkg in $enableval; do
                   8899:        IFS="$lt_save_ifs"
                   8900:        if test "X$pkg" = "X$p"; then
                   8901:          enable_static=yes
                   8902:        fi
                   8903:       done
                   8904:       IFS="$lt_save_ifs"
                   8905:       ;;
                   8906:     esac
                   8907: else
                   8908:   enable_static=yes
1.150     moko     8909: fi
                   8910: 
1.138     moko     8911: 
                   8912: 
                   8913: 
                   8914: 
                   8915: 
                   8916: 
                   8917: 
1.128     moko     8918: 
                   8919: 
1.150     moko     8920:   # Check whether --enable-fast-install was given.
                   8921: if test "${enable_fast_install+set}" = set; then :
                   8922:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     8923:     case $enableval in
                   8924:     yes) enable_fast_install=yes ;;
                   8925:     no) enable_fast_install=no ;;
                   8926:     *)
                   8927:       enable_fast_install=no
                   8928:       # Look at the argument we got.  We use all the common list separators.
                   8929:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8930:       for pkg in $enableval; do
                   8931:        IFS="$lt_save_ifs"
                   8932:        if test "X$pkg" = "X$p"; then
                   8933:          enable_fast_install=yes
                   8934:        fi
                   8935:       done
                   8936:       IFS="$lt_save_ifs"
                   8937:       ;;
                   8938:     esac
                   8939: else
                   8940:   enable_fast_install=yes
1.150     moko     8941: fi
                   8942: 
1.128     moko     8943: 
                   8944: 
                   8945: 
                   8946: 
                   8947: 
                   8948: 
                   8949: 
                   8950: 
                   8951: 
                   8952: 
                   8953: # This can be used to rebuild libtool when needed
                   8954: LIBTOOL_DEPS="$ltmain"
                   8955: 
                   8956: # Always use our own libtool.
                   8957: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8958: 
                   8959: 
                   8960: 
                   8961: 
                   8962: 
                   8963: 
                   8964: 
                   8965: 
                   8966: 
                   8967: 
                   8968: 
                   8969: 
                   8970: 
                   8971: 
                   8972: 
                   8973: 
                   8974: 
                   8975: 
                   8976: 
                   8977: 
                   8978: 
                   8979: 
                   8980: 
                   8981: 
                   8982: 
                   8983: 
                   8984: 
                   8985: 
                   8986: 
                   8987: 
                   8988: test -z "$LN_S" && LN_S="ln -s"
                   8989: 
                   8990: 
                   8991: 
                   8992: 
                   8993: 
                   8994: 
                   8995: 
                   8996: 
                   8997: 
                   8998: 
                   8999: 
                   9000: 
                   9001: 
                   9002: 
                   9003: if test -n "${ZSH_VERSION+set}" ; then
                   9004:    setopt NO_GLOB_SUBST
                   9005: fi
                   9006: 
1.150     moko     9007: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9008: $as_echo_n "checking for objdir... " >&6; }
                   9009: if ${lt_cv_objdir+:} false; then :
                   9010:   $as_echo_n "(cached) " >&6
1.128     moko     9011: else
                   9012:   rm -f .libs 2>/dev/null
                   9013: mkdir .libs 2>/dev/null
                   9014: if test -d .libs; then
                   9015:   lt_cv_objdir=.libs
                   9016: else
                   9017:   # MS-DOS does not allow filenames that begin with a dot.
                   9018:   lt_cv_objdir=_libs
                   9019: fi
                   9020: rmdir .libs 2>/dev/null
                   9021: fi
1.150     moko     9022: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9023: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9024: objdir=$lt_cv_objdir
                   9025: 
                   9026: 
                   9027: 
                   9028: 
                   9029: 
                   9030: cat >>confdefs.h <<_ACEOF
                   9031: #define LT_OBJDIR "$lt_cv_objdir/"
                   9032: _ACEOF
                   9033: 
                   9034: 
                   9035: 
                   9036: 
                   9037: case $host_os in
                   9038: aix3*)
                   9039:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9040:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9041:   # vanish in a puff of smoke.
                   9042:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9043:     COLLECT_NAMES=
                   9044:     export COLLECT_NAMES
                   9045:   fi
                   9046:   ;;
                   9047: esac
                   9048: 
                   9049: # Global variables:
                   9050: ofile=libtool
                   9051: can_build_shared=yes
                   9052: 
                   9053: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9054: # which needs '.lib').
                   9055: libext=a
                   9056: 
                   9057: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9058: 
                   9059: old_CC="$CC"
                   9060: old_CFLAGS="$CFLAGS"
                   9061: 
                   9062: # Set sane defaults for various variables
                   9063: test -z "$CC" && CC=cc
                   9064: test -z "$LTCC" && LTCC=$CC
                   9065: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9066: test -z "$LD" && LD=ld
                   9067: test -z "$ac_objext" && ac_objext=o
                   9068: 
                   9069: for cc_temp in $compiler""; do
                   9070:   case $cc_temp in
                   9071:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9072:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9073:     \-*) ;;
                   9074:     *) break;;
                   9075:   esac
                   9076: done
                   9077: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9078: 
                   9079: 
                   9080: # Only perform the check for file, if the check method requires it
                   9081: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9082: case $deplibs_check_method in
                   9083: file_magic*)
                   9084:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150     moko     9085:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9086: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9087: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9088:   $as_echo_n "(cached) " >&6
1.128     moko     9089: else
                   9090:   case $MAGIC_CMD in
                   9091: [\\/*] |  ?:[\\/]*)
                   9092:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9093:   ;;
                   9094: *)
                   9095:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9096:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9097:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9098:   for ac_dir in $ac_dummy; do
                   9099:     IFS="$lt_save_ifs"
                   9100:     test -z "$ac_dir" && ac_dir=.
                   9101:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9102:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9103:       if test -n "$file_magic_test_file"; then
                   9104:        case $deplibs_check_method in
                   9105:        "file_magic "*)
                   9106:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9107:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9108:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9109:            $EGREP "$file_magic_regex" > /dev/null; then
                   9110:            :
                   9111:          else
                   9112:            cat <<_LT_EOF 1>&2
                   9113: 
                   9114: *** Warning: the command libtool uses to detect shared libraries,
                   9115: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9116: *** The result is that libtool may fail to recognize shared libraries
                   9117: *** as such.  This will affect the creation of libtool libraries that
                   9118: *** depend on shared libraries, but programs linked with such libtool
                   9119: *** libraries will work regardless of this problem.  Nevertheless, you
                   9120: *** may want to report the problem to your system manager and/or to
                   9121: *** bug-libtool@gnu.org
                   9122: 
                   9123: _LT_EOF
                   9124:          fi ;;
                   9125:        esac
                   9126:       fi
                   9127:       break
                   9128:     fi
                   9129:   done
                   9130:   IFS="$lt_save_ifs"
                   9131:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9132:   ;;
                   9133: esac
                   9134: fi
                   9135: 
                   9136: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9137: if test -n "$MAGIC_CMD"; then
1.150     moko     9138:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9139: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9140: else
1.150     moko     9141:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9142: $as_echo "no" >&6; }
1.128     moko     9143: fi
                   9144: 
                   9145: 
                   9146: 
                   9147: 
                   9148: 
                   9149: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9150:   if test -n "$ac_tool_prefix"; then
1.150     moko     9151:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9152: $as_echo_n "checking for file... " >&6; }
                   9153: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9154:   $as_echo_n "(cached) " >&6
1.128     moko     9155: else
                   9156:   case $MAGIC_CMD in
                   9157: [\\/*] |  ?:[\\/]*)
                   9158:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9159:   ;;
                   9160: *)
                   9161:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9162:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9163:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9164:   for ac_dir in $ac_dummy; do
                   9165:     IFS="$lt_save_ifs"
                   9166:     test -z "$ac_dir" && ac_dir=.
                   9167:     if test -f $ac_dir/file; then
                   9168:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9169:       if test -n "$file_magic_test_file"; then
                   9170:        case $deplibs_check_method in
                   9171:        "file_magic "*)
                   9172:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9173:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9174:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9175:            $EGREP "$file_magic_regex" > /dev/null; then
                   9176:            :
                   9177:          else
                   9178:            cat <<_LT_EOF 1>&2
                   9179: 
                   9180: *** Warning: the command libtool uses to detect shared libraries,
                   9181: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9182: *** The result is that libtool may fail to recognize shared libraries
                   9183: *** as such.  This will affect the creation of libtool libraries that
                   9184: *** depend on shared libraries, but programs linked with such libtool
                   9185: *** libraries will work regardless of this problem.  Nevertheless, you
                   9186: *** may want to report the problem to your system manager and/or to
                   9187: *** bug-libtool@gnu.org
                   9188: 
                   9189: _LT_EOF
                   9190:          fi ;;
                   9191:        esac
                   9192:       fi
                   9193:       break
                   9194:     fi
                   9195:   done
                   9196:   IFS="$lt_save_ifs"
                   9197:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9198:   ;;
                   9199: esac
                   9200: fi
                   9201: 
                   9202: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9203: if test -n "$MAGIC_CMD"; then
1.150     moko     9204:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9205: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9206: else
1.150     moko     9207:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9208: $as_echo "no" >&6; }
1.128     moko     9209: fi
                   9210: 
                   9211: 
                   9212:   else
                   9213:     MAGIC_CMD=:
                   9214:   fi
                   9215: fi
                   9216: 
                   9217:   fi
                   9218:   ;;
                   9219: esac
                   9220: 
                   9221: # Use C for the default configuration in the libtool script
                   9222: 
                   9223: lt_save_CC="$CC"
                   9224: ac_ext=c
                   9225: ac_cpp='$CPP $CPPFLAGS'
                   9226: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9227: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9228: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9229: 
                   9230: 
                   9231: # Source file extension for C test sources.
                   9232: ac_ext=c
                   9233: 
                   9234: # Object file extension for compiled C test sources.
                   9235: objext=o
                   9236: objext=$objext
                   9237: 
                   9238: # Code to be used in simple compile tests
                   9239: lt_simple_compile_test_code="int some_variable = 0;"
                   9240: 
                   9241: # Code to be used in simple link tests
                   9242: lt_simple_link_test_code='int main(){return(0);}'
                   9243: 
                   9244: 
                   9245: 
                   9246: 
                   9247: 
                   9248: 
                   9249: 
                   9250: # If no C compiler was specified, use CC.
                   9251: LTCC=${LTCC-"$CC"}
                   9252: 
                   9253: # If no C compiler flags were specified, use CFLAGS.
                   9254: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9255: 
                   9256: # Allow CC to be a program name with arguments.
                   9257: compiler=$CC
                   9258: 
                   9259: # Save the default compiler, since it gets overwritten when the other
                   9260: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9261: compiler_DEFAULT=$CC
                   9262: 
                   9263: # save warnings/boilerplate of simple test code
                   9264: ac_outfile=conftest.$ac_objext
                   9265: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9266: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9267: _lt_compiler_boilerplate=`cat conftest.err`
                   9268: $RM conftest*
                   9269: 
                   9270: ac_outfile=conftest.$ac_objext
                   9271: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9272: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9273: _lt_linker_boilerplate=`cat conftest.err`
                   9274: $RM -r conftest*
                   9275: 
                   9276: 
                   9277: ## CAVEAT EMPTOR:
                   9278: ## There is no encapsulation within the following macros, do not change
                   9279: ## the running order or otherwise move them around unless you know exactly
                   9280: ## what you are doing...
                   9281: if test -n "$compiler"; then
                   9282: 
                   9283: lt_prog_compiler_no_builtin_flag=
                   9284: 
                   9285: if test "$GCC" = yes; then
                   9286:   case $cc_basename in
                   9287:   nvcc*)
                   9288:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9289:   *)
                   9290:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9291:   esac
                   9292: 
1.150     moko     9293:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9294: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9295: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9296:   $as_echo_n "(cached) " >&6
1.128     moko     9297: else
                   9298:   lt_cv_prog_compiler_rtti_exceptions=no
                   9299:    ac_outfile=conftest.$ac_objext
                   9300:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9301:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9302:    # Insert the option either (1) after the last *FLAGS variable, or
                   9303:    # (2) before a word containing "conftest.", or (3) at the end.
                   9304:    # Note that $ac_compile itself does not contain backslashes and begins
                   9305:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9306:    # The option is referenced via a variable to avoid confusing sed.
                   9307:    lt_compile=`echo "$ac_compile" | $SED \
                   9308:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9309:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9310:    -e 's:$: $lt_compiler_flag:'`
                   9311:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9312:    (eval "$lt_compile" 2>conftest.err)
                   9313:    ac_status=$?
                   9314:    cat conftest.err >&5
                   9315:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9316:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9317:      # The compiler can only warn and ignore the option if not recognized
                   9318:      # So say no if there are warnings other than the usual output.
                   9319:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9320:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9321:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9322:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9323:      fi
                   9324:    fi
                   9325:    $RM conftest*
                   9326: 
                   9327: fi
1.150     moko     9328: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   9329: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9330: 
                   9331: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9332:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9333: else
                   9334:     :
                   9335: fi
                   9336: 
                   9337: fi
                   9338: 
                   9339: 
                   9340: 
                   9341: 
                   9342: 
                   9343: 
                   9344:   lt_prog_compiler_wl=
                   9345: lt_prog_compiler_pic=
                   9346: lt_prog_compiler_static=
                   9347: 
                   9348: 
                   9349:   if test "$GCC" = yes; then
                   9350:     lt_prog_compiler_wl='-Wl,'
                   9351:     lt_prog_compiler_static='-static'
                   9352: 
                   9353:     case $host_os in
                   9354:       aix*)
                   9355:       # All AIX code is PIC.
                   9356:       if test "$host_cpu" = ia64; then
                   9357:        # AIX 5 now supports IA64 processor
                   9358:        lt_prog_compiler_static='-Bstatic'
                   9359:       fi
                   9360:       ;;
                   9361: 
                   9362:     amigaos*)
                   9363:       case $host_cpu in
                   9364:       powerpc)
                   9365:             # see comment about AmigaOS4 .so support
                   9366:             lt_prog_compiler_pic='-fPIC'
                   9367:         ;;
                   9368:       m68k)
                   9369:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9370:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9371:             # like `-m68040'.
                   9372:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9373:         ;;
                   9374:       esac
                   9375:       ;;
                   9376: 
                   9377:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9378:       # PIC is the default for these OSes.
                   9379:       ;;
                   9380: 
                   9381:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9382:       # This hack is so that the source file can tell whether it is being
                   9383:       # built for inclusion in a dll (and should export symbols for example).
                   9384:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9385:       # (--disable-auto-import) libraries
                   9386:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9387:       ;;
                   9388: 
                   9389:     darwin* | rhapsody*)
                   9390:       # PIC is the default on this platform
                   9391:       # Common symbols not allowed in MH_DYLIB files
                   9392:       lt_prog_compiler_pic='-fno-common'
                   9393:       ;;
                   9394: 
                   9395:     haiku*)
                   9396:       # PIC is the default for Haiku.
                   9397:       # The "-static" flag exists, but is broken.
                   9398:       lt_prog_compiler_static=
                   9399:       ;;
                   9400: 
                   9401:     hpux*)
                   9402:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9403:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9404:       # sets the default TLS model and affects inlining.
                   9405:       case $host_cpu in
                   9406:       hppa*64*)
                   9407:        # +Z the default
                   9408:        ;;
                   9409:       *)
                   9410:        lt_prog_compiler_pic='-fPIC'
                   9411:        ;;
                   9412:       esac
                   9413:       ;;
                   9414: 
                   9415:     interix[3-9]*)
                   9416:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9417:       # Instead, we relocate shared libraries at runtime.
                   9418:       ;;
                   9419: 
                   9420:     msdosdjgpp*)
                   9421:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9422:       # on systems that don't support them.
                   9423:       lt_prog_compiler_can_build_shared=no
                   9424:       enable_shared=no
                   9425:       ;;
                   9426: 
                   9427:     *nto* | *qnx*)
                   9428:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9429:       # it will coredump.
                   9430:       lt_prog_compiler_pic='-fPIC -shared'
                   9431:       ;;
                   9432: 
                   9433:     sysv4*MP*)
                   9434:       if test -d /usr/nec; then
                   9435:        lt_prog_compiler_pic=-Kconform_pic
                   9436:       fi
                   9437:       ;;
                   9438: 
                   9439:     *)
                   9440:       lt_prog_compiler_pic='-fPIC'
                   9441:       ;;
                   9442:     esac
                   9443: 
                   9444:     case $cc_basename in
                   9445:     nvcc*) # Cuda Compiler Driver 2.2
                   9446:       lt_prog_compiler_wl='-Xlinker '
                   9447:       if test -n "$lt_prog_compiler_pic"; then
                   9448:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9449:       fi
                   9450:       ;;
                   9451:     esac
                   9452:   else
                   9453:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9454:     case $host_os in
                   9455:     aix*)
                   9456:       lt_prog_compiler_wl='-Wl,'
                   9457:       if test "$host_cpu" = ia64; then
                   9458:        # AIX 5 now supports IA64 processor
                   9459:        lt_prog_compiler_static='-Bstatic'
                   9460:       else
                   9461:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9462:       fi
                   9463:       ;;
                   9464: 
                   9465:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9466:       # This hack is so that the source file can tell whether it is being
                   9467:       # built for inclusion in a dll (and should export symbols for example).
                   9468:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9469:       ;;
                   9470: 
                   9471:     hpux9* | hpux10* | hpux11*)
                   9472:       lt_prog_compiler_wl='-Wl,'
                   9473:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9474:       # not for PA HP-UX.
                   9475:       case $host_cpu in
                   9476:       hppa*64*|ia64*)
                   9477:        # +Z the default
                   9478:        ;;
                   9479:       *)
                   9480:        lt_prog_compiler_pic='+Z'
                   9481:        ;;
                   9482:       esac
                   9483:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   9484:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   9485:       ;;
                   9486: 
                   9487:     irix5* | irix6* | nonstopux*)
                   9488:       lt_prog_compiler_wl='-Wl,'
                   9489:       # PIC (with -KPIC) is the default.
                   9490:       lt_prog_compiler_static='-non_shared'
                   9491:       ;;
                   9492: 
                   9493:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9494:       case $cc_basename in
                   9495:       # old Intel for x86_64 which still supported -KPIC.
                   9496:       ecc*)
                   9497:        lt_prog_compiler_wl='-Wl,'
                   9498:        lt_prog_compiler_pic='-KPIC'
                   9499:        lt_prog_compiler_static='-static'
                   9500:         ;;
                   9501:       # icc used to be incompatible with GCC.
                   9502:       # ICC 10 doesn't accept -KPIC any more.
                   9503:       icc* | ifort*)
                   9504:        lt_prog_compiler_wl='-Wl,'
                   9505:        lt_prog_compiler_pic='-fPIC'
                   9506:        lt_prog_compiler_static='-static'
                   9507:         ;;
                   9508:       # Lahey Fortran 8.1.
                   9509:       lf95*)
                   9510:        lt_prog_compiler_wl='-Wl,'
                   9511:        lt_prog_compiler_pic='--shared'
                   9512:        lt_prog_compiler_static='--static'
                   9513:        ;;
                   9514:       nagfor*)
                   9515:        # NAG Fortran compiler
                   9516:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   9517:        lt_prog_compiler_pic='-PIC'
                   9518:        lt_prog_compiler_static='-Bstatic'
                   9519:        ;;
                   9520:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   9521:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9522:        # which looks to be a dead project)
                   9523:        lt_prog_compiler_wl='-Wl,'
                   9524:        lt_prog_compiler_pic='-fpic'
                   9525:        lt_prog_compiler_static='-Bstatic'
                   9526:         ;;
                   9527:       ccc*)
                   9528:         lt_prog_compiler_wl='-Wl,'
                   9529:         # All Alpha code is PIC.
                   9530:         lt_prog_compiler_static='-non_shared'
                   9531:         ;;
                   9532:       xl* | bgxl* | bgf* | mpixl*)
                   9533:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   9534:        lt_prog_compiler_wl='-Wl,'
                   9535:        lt_prog_compiler_pic='-qpic'
                   9536:        lt_prog_compiler_static='-qstaticlink'
                   9537:        ;;
                   9538:       *)
                   9539:        case `$CC -V 2>&1 | sed 5q` in
                   9540:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   9541:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   9542:          lt_prog_compiler_pic='-KPIC'
                   9543:          lt_prog_compiler_static='-Bstatic'
                   9544:          lt_prog_compiler_wl=''
                   9545:          ;;
                   9546:        *Sun\ F* | *Sun*Fortran*)
                   9547:          lt_prog_compiler_pic='-KPIC'
                   9548:          lt_prog_compiler_static='-Bstatic'
                   9549:          lt_prog_compiler_wl='-Qoption ld '
                   9550:          ;;
                   9551:        *Sun\ C*)
                   9552:          # Sun C 5.9
                   9553:          lt_prog_compiler_pic='-KPIC'
                   9554:          lt_prog_compiler_static='-Bstatic'
                   9555:          lt_prog_compiler_wl='-Wl,'
                   9556:          ;;
                   9557:         *Intel*\ [CF]*Compiler*)
                   9558:          lt_prog_compiler_wl='-Wl,'
                   9559:          lt_prog_compiler_pic='-fPIC'
                   9560:          lt_prog_compiler_static='-static'
                   9561:          ;;
                   9562:        *Portland\ Group*)
                   9563:          lt_prog_compiler_wl='-Wl,'
                   9564:          lt_prog_compiler_pic='-fpic'
                   9565:          lt_prog_compiler_static='-Bstatic'
                   9566:          ;;
                   9567:        esac
                   9568:        ;;
                   9569:       esac
                   9570:       ;;
                   9571: 
                   9572:     newsos6)
                   9573:       lt_prog_compiler_pic='-KPIC'
                   9574:       lt_prog_compiler_static='-Bstatic'
                   9575:       ;;
                   9576: 
                   9577:     *nto* | *qnx*)
                   9578:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9579:       # it will coredump.
                   9580:       lt_prog_compiler_pic='-fPIC -shared'
                   9581:       ;;
                   9582: 
                   9583:     osf3* | osf4* | osf5*)
                   9584:       lt_prog_compiler_wl='-Wl,'
                   9585:       # All OSF/1 code is PIC.
                   9586:       lt_prog_compiler_static='-non_shared'
                   9587:       ;;
                   9588: 
                   9589:     rdos*)
                   9590:       lt_prog_compiler_static='-non_shared'
                   9591:       ;;
                   9592: 
                   9593:     solaris*)
                   9594:       lt_prog_compiler_pic='-KPIC'
                   9595:       lt_prog_compiler_static='-Bstatic'
                   9596:       case $cc_basename in
                   9597:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9598:        lt_prog_compiler_wl='-Qoption ld ';;
                   9599:       *)
                   9600:        lt_prog_compiler_wl='-Wl,';;
                   9601:       esac
                   9602:       ;;
                   9603: 
                   9604:     sunos4*)
                   9605:       lt_prog_compiler_wl='-Qoption ld '
                   9606:       lt_prog_compiler_pic='-PIC'
                   9607:       lt_prog_compiler_static='-Bstatic'
                   9608:       ;;
                   9609: 
                   9610:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9611:       lt_prog_compiler_wl='-Wl,'
                   9612:       lt_prog_compiler_pic='-KPIC'
                   9613:       lt_prog_compiler_static='-Bstatic'
                   9614:       ;;
                   9615: 
                   9616:     sysv4*MP*)
                   9617:       if test -d /usr/nec ;then
                   9618:        lt_prog_compiler_pic='-Kconform_pic'
                   9619:        lt_prog_compiler_static='-Bstatic'
                   9620:       fi
                   9621:       ;;
                   9622: 
                   9623:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9624:       lt_prog_compiler_wl='-Wl,'
                   9625:       lt_prog_compiler_pic='-KPIC'
                   9626:       lt_prog_compiler_static='-Bstatic'
                   9627:       ;;
                   9628: 
                   9629:     unicos*)
                   9630:       lt_prog_compiler_wl='-Wl,'
                   9631:       lt_prog_compiler_can_build_shared=no
                   9632:       ;;
                   9633: 
                   9634:     uts4*)
                   9635:       lt_prog_compiler_pic='-pic'
                   9636:       lt_prog_compiler_static='-Bstatic'
                   9637:       ;;
                   9638: 
                   9639:     *)
                   9640:       lt_prog_compiler_can_build_shared=no
                   9641:       ;;
                   9642:     esac
                   9643:   fi
                   9644: 
                   9645: case $host_os in
                   9646:   # For platforms which do not support PIC, -DPIC is meaningless:
                   9647:   *djgpp*)
                   9648:     lt_prog_compiler_pic=
                   9649:     ;;
                   9650:   *)
                   9651:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9652:     ;;
                   9653: esac
                   9654: 
1.150     moko     9655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   9656: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   9657: if ${lt_cv_prog_compiler_pic+:} false; then :
                   9658:   $as_echo_n "(cached) " >&6
1.128     moko     9659: else
                   9660:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   9661: fi
1.150     moko     9662: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   9663: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     9664: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   9665: 
                   9666: #
                   9667: # Check to make sure the PIC flag actually works.
                   9668: #
                   9669: if test -n "$lt_prog_compiler_pic"; then
1.150     moko     9670:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   9671: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   9672: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   9673:   $as_echo_n "(cached) " >&6
1.128     moko     9674: else
                   9675:   lt_cv_prog_compiler_pic_works=no
                   9676:    ac_outfile=conftest.$ac_objext
                   9677:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9678:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   9679:    # Insert the option either (1) after the last *FLAGS variable, or
                   9680:    # (2) before a word containing "conftest.", or (3) at the end.
                   9681:    # Note that $ac_compile itself does not contain backslashes and begins
                   9682:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9683:    # The option is referenced via a variable to avoid confusing sed.
                   9684:    lt_compile=`echo "$ac_compile" | $SED \
                   9685:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9686:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9687:    -e 's:$: $lt_compiler_flag:'`
                   9688:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9689:    (eval "$lt_compile" 2>conftest.err)
                   9690:    ac_status=$?
                   9691:    cat conftest.err >&5
                   9692:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9693:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9694:      # The compiler can only warn and ignore the option if not recognized
                   9695:      # So say no if there are warnings other than the usual output.
                   9696:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9697:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9698:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9699:        lt_cv_prog_compiler_pic_works=yes
                   9700:      fi
                   9701:    fi
                   9702:    $RM conftest*
                   9703: 
                   9704: fi
1.150     moko     9705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   9706: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     9707: 
                   9708: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   9709:     case $lt_prog_compiler_pic in
                   9710:      "" | " "*) ;;
                   9711:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9712:      esac
                   9713: else
                   9714:     lt_prog_compiler_pic=
                   9715:      lt_prog_compiler_can_build_shared=no
                   9716: fi
                   9717: 
                   9718: fi
                   9719: 
                   9720: 
                   9721: 
                   9722: 
                   9723: 
                   9724: 
                   9725: 
                   9726: 
                   9727: 
                   9728: 
                   9729: 
                   9730: #
                   9731: # Check to make sure the static flag actually works.
                   9732: #
                   9733: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150     moko     9734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   9735: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   9736: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   9737:   $as_echo_n "(cached) " >&6
1.128     moko     9738: else
                   9739:   lt_cv_prog_compiler_static_works=no
                   9740:    save_LDFLAGS="$LDFLAGS"
                   9741:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9742:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9743:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9744:      # The linker can only warn and ignore the option if not recognized
                   9745:      # So say no if there are warnings
                   9746:      if test -s conftest.err; then
                   9747:        # Append any errors to the config.log.
                   9748:        cat conftest.err 1>&5
                   9749:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9750:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9751:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9752:          lt_cv_prog_compiler_static_works=yes
                   9753:        fi
                   9754:      else
                   9755:        lt_cv_prog_compiler_static_works=yes
                   9756:      fi
                   9757:    fi
                   9758:    $RM -r conftest*
                   9759:    LDFLAGS="$save_LDFLAGS"
                   9760: 
                   9761: fi
1.150     moko     9762: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   9763: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     9764: 
                   9765: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   9766:     :
                   9767: else
                   9768:     lt_prog_compiler_static=
                   9769: fi
                   9770: 
                   9771: 
                   9772: 
                   9773: 
                   9774: 
                   9775: 
                   9776: 
1.150     moko     9777:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9778: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9779: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9780:   $as_echo_n "(cached) " >&6
1.128     moko     9781: else
                   9782:   lt_cv_prog_compiler_c_o=no
                   9783:    $RM -r conftest 2>/dev/null
                   9784:    mkdir conftest
                   9785:    cd conftest
                   9786:    mkdir out
                   9787:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9788: 
                   9789:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9790:    # Insert the option either (1) after the last *FLAGS variable, or
                   9791:    # (2) before a word containing "conftest.", or (3) at the end.
                   9792:    # Note that $ac_compile itself does not contain backslashes and begins
                   9793:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9794:    lt_compile=`echo "$ac_compile" | $SED \
                   9795:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9796:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9797:    -e 's:$: $lt_compiler_flag:'`
                   9798:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9799:    (eval "$lt_compile" 2>out/conftest.err)
                   9800:    ac_status=$?
                   9801:    cat out/conftest.err >&5
                   9802:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9803:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9804:    then
                   9805:      # The compiler can only warn and ignore the option if not recognized
                   9806:      # So say no if there are warnings
                   9807:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9808:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9809:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9810:        lt_cv_prog_compiler_c_o=yes
                   9811:      fi
                   9812:    fi
                   9813:    chmod u+w . 2>&5
                   9814:    $RM conftest*
                   9815:    # SGI C++ compiler will create directory out/ii_files/ for
                   9816:    # template instantiation
                   9817:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9818:    $RM out/* && rmdir out
                   9819:    cd ..
                   9820:    $RM -r conftest
                   9821:    $RM conftest*
                   9822: 
                   9823: fi
1.150     moko     9824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9825: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9826: 
                   9827: 
                   9828: 
                   9829: 
                   9830: 
                   9831: 
1.150     moko     9832:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9833: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9834: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9835:   $as_echo_n "(cached) " >&6
1.128     moko     9836: else
                   9837:   lt_cv_prog_compiler_c_o=no
                   9838:    $RM -r conftest 2>/dev/null
                   9839:    mkdir conftest
                   9840:    cd conftest
                   9841:    mkdir out
                   9842:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9843: 
                   9844:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9845:    # Insert the option either (1) after the last *FLAGS variable, or
                   9846:    # (2) before a word containing "conftest.", or (3) at the end.
                   9847:    # Note that $ac_compile itself does not contain backslashes and begins
                   9848:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9849:    lt_compile=`echo "$ac_compile" | $SED \
                   9850:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9851:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9852:    -e 's:$: $lt_compiler_flag:'`
                   9853:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9854:    (eval "$lt_compile" 2>out/conftest.err)
                   9855:    ac_status=$?
                   9856:    cat out/conftest.err >&5
                   9857:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9858:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9859:    then
                   9860:      # The compiler can only warn and ignore the option if not recognized
                   9861:      # So say no if there are warnings
                   9862:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9863:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9864:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9865:        lt_cv_prog_compiler_c_o=yes
                   9866:      fi
                   9867:    fi
                   9868:    chmod u+w . 2>&5
                   9869:    $RM conftest*
                   9870:    # SGI C++ compiler will create directory out/ii_files/ for
                   9871:    # template instantiation
                   9872:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9873:    $RM out/* && rmdir out
                   9874:    cd ..
                   9875:    $RM -r conftest
                   9876:    $RM conftest*
                   9877: 
                   9878: fi
1.150     moko     9879: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9880: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9881: 
                   9882: 
                   9883: 
                   9884: 
                   9885: hard_links="nottested"
                   9886: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9887:   # do not overwrite the value of need_locks provided by the user
1.150     moko     9888:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   9889: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     9890:   hard_links=yes
                   9891:   $RM conftest*
                   9892:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9893:   touch conftest.a
                   9894:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9895:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     9896:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   9897: $as_echo "$hard_links" >&6; }
1.128     moko     9898:   if test "$hard_links" = no; then
1.150     moko     9899:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9900: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     9901:     need_locks=warn
                   9902:   fi
                   9903: else
                   9904:   need_locks=no
                   9905: fi
                   9906: 
                   9907: 
                   9908: 
                   9909: 
                   9910: 
                   9911: 
1.150     moko     9912:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9913: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     9914: 
                   9915:   runpath_var=
                   9916:   allow_undefined_flag=
                   9917:   always_export_symbols=no
                   9918:   archive_cmds=
                   9919:   archive_expsym_cmds=
                   9920:   compiler_needs_object=no
                   9921:   enable_shared_with_static_runtimes=no
                   9922:   export_dynamic_flag_spec=
                   9923:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9924:   hardcode_automatic=no
                   9925:   hardcode_direct=no
                   9926:   hardcode_direct_absolute=no
                   9927:   hardcode_libdir_flag_spec=
                   9928:   hardcode_libdir_separator=
                   9929:   hardcode_minus_L=no
                   9930:   hardcode_shlibpath_var=unsupported
                   9931:   inherit_rpath=no
                   9932:   link_all_deplibs=unknown
                   9933:   module_cmds=
                   9934:   module_expsym_cmds=
                   9935:   old_archive_from_new_cmds=
                   9936:   old_archive_from_expsyms_cmds=
                   9937:   thread_safe_flag_spec=
                   9938:   whole_archive_flag_spec=
                   9939:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9940:   # included in the symbol list
                   9941:   include_expsyms=
                   9942:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9943:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9944:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9945:   # as well as any symbol that contains `d'.
                   9946:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9947:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9948:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9949:   # the symbol is explicitly referenced.  Since portable code cannot
                   9950:   # rely on this symbol name, it's probably fine to never include it in
                   9951:   # preloaded symbol tables.
                   9952:   # Exclude shared library initialization/finalization symbols.
                   9953:   extract_expsyms_cmds=
                   9954: 
                   9955:   case $host_os in
                   9956:   cygwin* | mingw* | pw32* | cegcc*)
                   9957:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9958:     # When not using gcc, we currently assume that we are using
                   9959:     # Microsoft Visual C++.
                   9960:     if test "$GCC" != yes; then
                   9961:       with_gnu_ld=no
                   9962:     fi
                   9963:     ;;
                   9964:   interix*)
                   9965:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9966:     with_gnu_ld=yes
                   9967:     ;;
                   9968:   openbsd*)
                   9969:     with_gnu_ld=no
                   9970:     ;;
                   9971:   esac
                   9972: 
                   9973:   ld_shlibs=yes
                   9974: 
                   9975:   # On some targets, GNU ld is compatible enough with the native linker
                   9976:   # that we're better off using the native interface for both.
                   9977:   lt_use_gnu_ld_interface=no
                   9978:   if test "$with_gnu_ld" = yes; then
                   9979:     case $host_os in
                   9980:       aix*)
                   9981:        # The AIX port of GNU ld has always aspired to compatibility
                   9982:        # with the native linker.  However, as the warning in the GNU ld
                   9983:        # block says, versions before 2.19.5* couldn't really create working
                   9984:        # shared libraries, regardless of the interface used.
                   9985:        case `$LD -v 2>&1` in
                   9986:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9987:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9988:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9989:          *)
                   9990:            lt_use_gnu_ld_interface=yes
                   9991:            ;;
                   9992:        esac
                   9993:        ;;
                   9994:       *)
                   9995:        lt_use_gnu_ld_interface=yes
                   9996:        ;;
                   9997:     esac
                   9998:   fi
                   9999: 
                   10000:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10001:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10002:     wlarc='${wl}'
                   10003: 
                   10004:     # Set some defaults for GNU ld with shared library support. These
                   10005:     # are reset later if shared libraries are not supported. Putting them
                   10006:     # here allows them to be overridden if necessary.
                   10007:     runpath_var=LD_RUN_PATH
                   10008:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10009:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10010:     # ancient GNU ld didn't support --whole-archive et. al.
                   10011:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10012:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10013:     else
                   10014:       whole_archive_flag_spec=
                   10015:     fi
                   10016:     supports_anon_versioning=no
                   10017:     case `$LD -v 2>&1` in
                   10018:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10019:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10020:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10021:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10022:       *\ 2.11.*) ;; # other 2.11 versions
                   10023:       *) supports_anon_versioning=yes ;;
                   10024:     esac
                   10025: 
                   10026:     # See if GNU ld supports shared libraries.
                   10027:     case $host_os in
                   10028:     aix[3-9]*)
                   10029:       # On AIX/PPC, the GNU linker is very broken
                   10030:       if test "$host_cpu" != ia64; then
                   10031:        ld_shlibs=no
                   10032:        cat <<_LT_EOF 1>&2
                   10033: 
                   10034: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10035: *** to be unable to reliably create shared libraries on AIX.
                   10036: *** Therefore, libtool is disabling shared libraries support.  If you
                   10037: *** really care for shared libraries, you may want to install binutils
                   10038: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10039: *** You will then need to restart the configuration process.
                   10040: 
                   10041: _LT_EOF
                   10042:       fi
                   10043:       ;;
                   10044: 
                   10045:     amigaos*)
                   10046:       case $host_cpu in
                   10047:       powerpc)
                   10048:             # see comment about AmigaOS4 .so support
                   10049:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10050:             archive_expsym_cmds=''
                   10051:         ;;
                   10052:       m68k)
                   10053:             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)'
                   10054:             hardcode_libdir_flag_spec='-L$libdir'
                   10055:             hardcode_minus_L=yes
                   10056:         ;;
                   10057:       esac
                   10058:       ;;
                   10059: 
                   10060:     beos*)
                   10061:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10062:        allow_undefined_flag=unsupported
                   10063:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10064:        # support --undefined.  This deserves some investigation.  FIXME
                   10065:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10066:       else
                   10067:        ld_shlibs=no
                   10068:       fi
                   10069:       ;;
                   10070: 
                   10071:     cygwin* | mingw* | pw32* | cegcc*)
                   10072:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10073:       # as there is no search path for DLLs.
                   10074:       hardcode_libdir_flag_spec='-L$libdir'
                   10075:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10076:       allow_undefined_flag=unsupported
                   10077:       always_export_symbols=no
                   10078:       enable_shared_with_static_runtimes=yes
                   10079:       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'
                   10080:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10081: 
                   10082:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10083:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10084:        # If the export-symbols file already is a .def file (1st line
                   10085:        # is EXPORTS), use it as is; otherwise, prepend...
                   10086:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10087:          cp $export_symbols $output_objdir/$soname.def;
                   10088:        else
                   10089:          echo EXPORTS > $output_objdir/$soname.def;
                   10090:          cat $export_symbols >> $output_objdir/$soname.def;
                   10091:        fi~
                   10092:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10093:       else
                   10094:        ld_shlibs=no
                   10095:       fi
                   10096:       ;;
                   10097: 
                   10098:     haiku*)
                   10099:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10100:       link_all_deplibs=yes
                   10101:       ;;
                   10102: 
                   10103:     interix[3-9]*)
                   10104:       hardcode_direct=no
                   10105:       hardcode_shlibpath_var=no
                   10106:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10107:       export_dynamic_flag_spec='${wl}-E'
                   10108:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10109:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10110:       # default) and relocated if they conflict, which is a slow very memory
                   10111:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10112:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10113:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10114:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10115:       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'
                   10116:       ;;
                   10117: 
                   10118:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10119:       tmp_diet=no
                   10120:       if test "$host_os" = linux-dietlibc; then
                   10121:        case $cc_basename in
                   10122:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10123:        esac
                   10124:       fi
                   10125:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10126:         && test "$tmp_diet" = no
                   10127:       then
                   10128:        tmp_addflag=' $pic_flag'
                   10129:        tmp_sharedflag='-shared'
                   10130:        case $cc_basename,$host_cpu in
                   10131:         pgcc*)                         # Portland Group C compiler
                   10132:          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'
                   10133:          tmp_addflag=' $pic_flag'
                   10134:          ;;
                   10135:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10136:                                        # Portland Group f77 and f90 compilers
                   10137:          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'
                   10138:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10139:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10140:          tmp_addflag=' -i_dynamic' ;;
                   10141:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10142:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10143:        ifc* | ifort*)                  # Intel Fortran compiler
                   10144:          tmp_addflag=' -nofor_main' ;;
                   10145:        lf95*)                          # Lahey Fortran 8.1
                   10146:          whole_archive_flag_spec=
                   10147:          tmp_sharedflag='--shared' ;;
                   10148:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10149:          tmp_sharedflag='-qmkshrobj'
                   10150:          tmp_addflag= ;;
                   10151:        nvcc*)  # Cuda Compiler Driver 2.2
                   10152:          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'
                   10153:          compiler_needs_object=yes
                   10154:          ;;
                   10155:        esac
                   10156:        case `$CC -V 2>&1 | sed 5q` in
                   10157:        *Sun\ C*)                       # Sun C 5.9
                   10158:          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'
                   10159:          compiler_needs_object=yes
                   10160:          tmp_sharedflag='-G' ;;
                   10161:        *Sun\ F*)                       # Sun Fortran 8.3
                   10162:          tmp_sharedflag='-G' ;;
                   10163:        esac
                   10164:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10165: 
                   10166:         if test "x$supports_anon_versioning" = xyes; then
                   10167:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10168:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10169:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10170:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10171:         fi
                   10172: 
                   10173:        case $cc_basename in
                   10174:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10175:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10176:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10177:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10178:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10179:          if test "x$supports_anon_versioning" = xyes; then
                   10180:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10181:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10182:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10183:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10184:          fi
                   10185:          ;;
                   10186:        esac
                   10187:       else
                   10188:         ld_shlibs=no
                   10189:       fi
                   10190:       ;;
                   10191: 
                   10192:     netbsd*)
                   10193:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10194:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10195:        wlarc=
                   10196:       else
                   10197:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10198:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10199:       fi
                   10200:       ;;
                   10201: 
                   10202:     solaris*)
                   10203:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10204:        ld_shlibs=no
                   10205:        cat <<_LT_EOF 1>&2
                   10206: 
                   10207: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10208: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10209: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10210: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10211: *** your PATH or compiler configuration so that the native linker is
                   10212: *** used, and then restart.
                   10213: 
                   10214: _LT_EOF
                   10215:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10216:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10217:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10218:       else
                   10219:        ld_shlibs=no
                   10220:       fi
                   10221:       ;;
                   10222: 
                   10223:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10224:       case `$LD -v 2>&1` in
                   10225:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10226:        ld_shlibs=no
                   10227:        cat <<_LT_EOF 1>&2
                   10228: 
                   10229: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10230: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10231: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10232: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10233: *** your PATH or compiler configuration so that the native linker is
                   10234: *** used, and then restart.
                   10235: 
                   10236: _LT_EOF
                   10237:        ;;
                   10238:        *)
                   10239:          # For security reasons, it is highly recommended that you always
                   10240:          # use absolute paths for naming shared libraries, and exclude the
                   10241:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10242:          # requires that you compile everything twice, which is a pain.
                   10243:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10244:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10245:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10246:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10247:          else
                   10248:            ld_shlibs=no
                   10249:          fi
                   10250:        ;;
                   10251:       esac
                   10252:       ;;
                   10253: 
                   10254:     sunos4*)
                   10255:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10256:       wlarc=
                   10257:       hardcode_direct=yes
                   10258:       hardcode_shlibpath_var=no
                   10259:       ;;
                   10260: 
                   10261:     *)
                   10262:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10263:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10264:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10265:       else
                   10266:        ld_shlibs=no
                   10267:       fi
                   10268:       ;;
                   10269:     esac
                   10270: 
                   10271:     if test "$ld_shlibs" = no; then
                   10272:       runpath_var=
                   10273:       hardcode_libdir_flag_spec=
                   10274:       export_dynamic_flag_spec=
                   10275:       whole_archive_flag_spec=
                   10276:     fi
                   10277:   else
                   10278:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10279:     case $host_os in
                   10280:     aix3*)
                   10281:       allow_undefined_flag=unsupported
                   10282:       always_export_symbols=yes
                   10283:       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'
                   10284:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10285:       # are no directories specified by -L.
                   10286:       hardcode_minus_L=yes
                   10287:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10288:        # Neither direct hardcoding nor static linking is supported with a
                   10289:        # broken collect2.
                   10290:        hardcode_direct=unsupported
                   10291:       fi
                   10292:       ;;
                   10293: 
                   10294:     aix[4-9]*)
                   10295:       if test "$host_cpu" = ia64; then
                   10296:        # On IA64, the linker does run time linking by default, so we don't
                   10297:        # have to do anything special.
                   10298:        aix_use_runtimelinking=no
                   10299:        exp_sym_flag='-Bexport'
                   10300:        no_entry_flag=""
                   10301:       else
                   10302:        # If we're using GNU nm, then we don't want the "-C" option.
                   10303:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10304:        # Also, AIX nm treats weak defined symbols like other global
                   10305:        # defined symbols, whereas GNU nm marks them as "W".
                   10306:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10307:          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'
                   10308:        else
                   10309:          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'
                   10310:        fi
                   10311:        aix_use_runtimelinking=no
                   10312: 
                   10313:        # Test if we are trying to use run time linking or normal
                   10314:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10315:        # need to do runtime linking.
                   10316:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10317:          for ld_flag in $LDFLAGS; do
                   10318:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10319:            aix_use_runtimelinking=yes
                   10320:            break
                   10321:          fi
                   10322:          done
                   10323:          ;;
                   10324:        esac
                   10325: 
                   10326:        exp_sym_flag='-bexport'
                   10327:        no_entry_flag='-bnoentry'
                   10328:       fi
                   10329: 
                   10330:       # When large executables or shared objects are built, AIX ld can
                   10331:       # have problems creating the table of contents.  If linking a library
                   10332:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10333:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10334:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10335: 
                   10336:       archive_cmds=''
                   10337:       hardcode_direct=yes
                   10338:       hardcode_direct_absolute=yes
                   10339:       hardcode_libdir_separator=':'
                   10340:       link_all_deplibs=yes
                   10341:       file_list_spec='${wl}-f,'
                   10342: 
                   10343:       if test "$GCC" = yes; then
                   10344:        case $host_os in aix4.[012]|aix4.[012].*)
                   10345:        # We only want to do this on AIX 4.2 and lower, the check
                   10346:        # below for broken collect2 doesn't work under 4.3+
                   10347:          collect2name=`${CC} -print-prog-name=collect2`
                   10348:          if test -f "$collect2name" &&
                   10349:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10350:          then
                   10351:          # We have reworked collect2
                   10352:          :
                   10353:          else
                   10354:          # We have old collect2
                   10355:          hardcode_direct=unsupported
                   10356:          # It fails to find uninstalled libraries when the uninstalled
                   10357:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10358:          # to unsupported forces relinking
                   10359:          hardcode_minus_L=yes
                   10360:          hardcode_libdir_flag_spec='-L$libdir'
                   10361:          hardcode_libdir_separator=
                   10362:          fi
                   10363:          ;;
                   10364:        esac
                   10365:        shared_flag='-shared'
                   10366:        if test "$aix_use_runtimelinking" = yes; then
                   10367:          shared_flag="$shared_flag "'${wl}-G'
                   10368:        fi
                   10369:       else
                   10370:        # not using gcc
                   10371:        if test "$host_cpu" = ia64; then
                   10372:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10373:        # chokes on -Wl,-G. The following line is correct:
                   10374:          shared_flag='-G'
                   10375:        else
                   10376:          if test "$aix_use_runtimelinking" = yes; then
                   10377:            shared_flag='${wl}-G'
                   10378:          else
                   10379:            shared_flag='${wl}-bM:SRE'
                   10380:          fi
                   10381:        fi
                   10382:       fi
                   10383: 
                   10384:       export_dynamic_flag_spec='${wl}-bexpall'
                   10385:       # It seems that -bexpall does not export symbols beginning with
                   10386:       # underscore (_), so it is better to generate a list of symbols to export.
                   10387:       always_export_symbols=yes
                   10388:       if test "$aix_use_runtimelinking" = yes; then
                   10389:        # Warning - without using the other runtime loading flags (-brtl),
                   10390:        # -berok will link without error, but may produce a broken library.
                   10391:        allow_undefined_flag='-berok'
                   10392:         # Determine the default libpath from the value encoded in an
                   10393:         # empty executable.
                   10394:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10395:   aix_libpath=$lt_cv_aix_libpath
                   10396: else
1.150     moko     10397:   if ${lt_cv_aix_libpath_+:} false; then :
                   10398:   $as_echo_n "(cached) " >&6
1.128     moko     10399: else
1.150     moko     10400:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10401: /* end confdefs.h.  */
                   10402: 
                   10403: int
                   10404: main ()
                   10405: {
                   10406: 
                   10407:   ;
                   10408:   return 0;
                   10409: }
                   10410: _ACEOF
1.150     moko     10411: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10412: 
                   10413:   lt_aix_libpath_sed='
                   10414:       /Import File Strings/,/^$/ {
                   10415:          /^0/ {
                   10416:              s/^0  *\([^ ]*\) *$/\1/
                   10417:              p
                   10418:          }
                   10419:       }'
                   10420:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10421:   # Check for a 64-bit object if we didn't find anything.
                   10422:   if test -z "$lt_cv_aix_libpath_"; then
                   10423:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10424:   fi
                   10425: fi
1.150     moko     10426: rm -f core conftest.err conftest.$ac_objext \
                   10427:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10428:   if test -z "$lt_cv_aix_libpath_"; then
                   10429:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10430:   fi
                   10431: 
                   10432: fi
                   10433: 
                   10434:   aix_libpath=$lt_cv_aix_libpath_
                   10435: fi
                   10436: 
                   10437:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10438:         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"
                   10439:       else
                   10440:        if test "$host_cpu" = ia64; then
                   10441:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   10442:          allow_undefined_flag="-z nodefs"
                   10443:          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"
                   10444:        else
                   10445:         # Determine the default libpath from the value encoded in an
                   10446:         # empty executable.
                   10447:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10448:   aix_libpath=$lt_cv_aix_libpath
                   10449: else
1.150     moko     10450:   if ${lt_cv_aix_libpath_+:} false; then :
                   10451:   $as_echo_n "(cached) " >&6
1.128     moko     10452: else
1.150     moko     10453:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10454: /* end confdefs.h.  */
                   10455: 
                   10456: int
                   10457: main ()
                   10458: {
                   10459: 
                   10460:   ;
                   10461:   return 0;
                   10462: }
                   10463: _ACEOF
1.150     moko     10464: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10465: 
                   10466:   lt_aix_libpath_sed='
                   10467:       /Import File Strings/,/^$/ {
                   10468:          /^0/ {
                   10469:              s/^0  *\([^ ]*\) *$/\1/
                   10470:              p
                   10471:          }
                   10472:       }'
                   10473:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10474:   # Check for a 64-bit object if we didn't find anything.
                   10475:   if test -z "$lt_cv_aix_libpath_"; then
                   10476:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10477:   fi
                   10478: fi
1.150     moko     10479: rm -f core conftest.err conftest.$ac_objext \
                   10480:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10481:   if test -z "$lt_cv_aix_libpath_"; then
                   10482:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10483:   fi
                   10484: 
                   10485: fi
                   10486: 
                   10487:   aix_libpath=$lt_cv_aix_libpath_
                   10488: fi
                   10489: 
                   10490:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10491:          # Warning - without using the other run time loading flags,
                   10492:          # -berok will link without error, but may produce a broken library.
                   10493:          no_undefined_flag=' ${wl}-bernotok'
                   10494:          allow_undefined_flag=' ${wl}-berok'
                   10495:          if test "$with_gnu_ld" = yes; then
                   10496:            # We only use this code for GNU lds that support --whole-archive.
                   10497:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   10498:          else
                   10499:            # Exported symbols can be pulled into shared objects from archives
                   10500:            whole_archive_flag_spec='$convenience'
                   10501:          fi
                   10502:          archive_cmds_need_lc=yes
                   10503:          # This is similar to how AIX traditionally builds its shared libraries.
                   10504:          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'
                   10505:        fi
                   10506:       fi
                   10507:       ;;
                   10508: 
                   10509:     amigaos*)
                   10510:       case $host_cpu in
                   10511:       powerpc)
                   10512:             # see comment about AmigaOS4 .so support
                   10513:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10514:             archive_expsym_cmds=''
                   10515:         ;;
                   10516:       m68k)
                   10517:             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)'
                   10518:             hardcode_libdir_flag_spec='-L$libdir'
                   10519:             hardcode_minus_L=yes
                   10520:         ;;
                   10521:       esac
                   10522:       ;;
                   10523: 
                   10524:     bsdi[45]*)
                   10525:       export_dynamic_flag_spec=-rdynamic
                   10526:       ;;
                   10527: 
                   10528:     cygwin* | mingw* | pw32* | cegcc*)
                   10529:       # When not using gcc, we currently assume that we are using
                   10530:       # Microsoft Visual C++.
                   10531:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10532:       # no search path for DLLs.
                   10533:       case $cc_basename in
                   10534:       cl*)
                   10535:        # Native MSVC
                   10536:        hardcode_libdir_flag_spec=' '
                   10537:        allow_undefined_flag=unsupported
                   10538:        always_export_symbols=yes
                   10539:        file_list_spec='@'
                   10540:        # Tell ltmain to make .lib files, not .a files.
                   10541:        libext=lib
                   10542:        # Tell ltmain to make .dll files, not .so files.
                   10543:        shrext_cmds=".dll"
                   10544:        # FIXME: Setting linknames here is a bad hack.
                   10545:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   10546:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10547:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   10548:          else
                   10549:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   10550:          fi~
                   10551:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10552:          linknames='
                   10553:        # The linker will not automatically build a static lib if we build a DLL.
                   10554:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10555:        enable_shared_with_static_runtimes=yes
                   10556:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10557:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10558:        # Don't use ranlib
                   10559:        old_postinstall_cmds='chmod 644 $oldlib'
                   10560:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10561:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10562:          case $lt_outputfile in
                   10563:            *.exe|*.EXE) ;;
                   10564:            *)
                   10565:              lt_outputfile="$lt_outputfile.exe"
                   10566:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10567:              ;;
                   10568:          esac~
                   10569:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10570:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10571:            $RM "$lt_outputfile.manifest";
                   10572:          fi'
                   10573:        ;;
                   10574:       *)
                   10575:        # Assume MSVC wrapper
                   10576:        hardcode_libdir_flag_spec=' '
                   10577:        allow_undefined_flag=unsupported
                   10578:        # Tell ltmain to make .lib files, not .a files.
                   10579:        libext=lib
                   10580:        # Tell ltmain to make .dll files, not .so files.
                   10581:        shrext_cmds=".dll"
                   10582:        # FIXME: Setting linknames here is a bad hack.
                   10583:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10584:        # The linker will automatically build a .lib file if we build a DLL.
                   10585:        old_archive_from_new_cmds='true'
                   10586:        # FIXME: Should let the user specify the lib program.
                   10587:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10588:        enable_shared_with_static_runtimes=yes
                   10589:        ;;
                   10590:       esac
                   10591:       ;;
                   10592: 
                   10593:     darwin* | rhapsody*)
                   10594: 
                   10595: 
                   10596:   archive_cmds_need_lc=no
                   10597:   hardcode_direct=no
                   10598:   hardcode_automatic=yes
                   10599:   hardcode_shlibpath_var=unsupported
                   10600:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10601:     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\"`'
                   10602: 
                   10603:   else
                   10604:     whole_archive_flag_spec=''
                   10605:   fi
                   10606:   link_all_deplibs=yes
                   10607:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10608:   case $cc_basename in
                   10609:      ifort*) _lt_dar_can_shared=yes ;;
                   10610:      *) _lt_dar_can_shared=$GCC ;;
                   10611:   esac
                   10612:   if test "$_lt_dar_can_shared" = "yes"; then
                   10613:     output_verbose_link_cmd=func_echo_all
                   10614:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10615:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   10616:     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}"
                   10617:     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}"
                   10618: 
                   10619:   else
                   10620:   ld_shlibs=no
                   10621:   fi
                   10622: 
                   10623:       ;;
                   10624: 
                   10625:     dgux*)
                   10626:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10627:       hardcode_libdir_flag_spec='-L$libdir'
                   10628:       hardcode_shlibpath_var=no
                   10629:       ;;
                   10630: 
                   10631:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   10632:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   10633:     # does not break anything, and helps significantly (at the cost of a little
                   10634:     # extra space).
                   10635:     freebsd2.2*)
                   10636:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   10637:       hardcode_libdir_flag_spec='-R$libdir'
                   10638:       hardcode_direct=yes
                   10639:       hardcode_shlibpath_var=no
                   10640:       ;;
                   10641: 
                   10642:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   10643:     freebsd2.*)
                   10644:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10645:       hardcode_direct=yes
                   10646:       hardcode_minus_L=yes
                   10647:       hardcode_shlibpath_var=no
                   10648:       ;;
                   10649: 
                   10650:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   10651:     freebsd* | dragonfly*)
                   10652:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10653:       hardcode_libdir_flag_spec='-R$libdir'
                   10654:       hardcode_direct=yes
                   10655:       hardcode_shlibpath_var=no
                   10656:       ;;
                   10657: 
                   10658:     hpux9*)
                   10659:       if test "$GCC" = yes; then
                   10660:        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'
                   10661:       else
                   10662:        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'
                   10663:       fi
                   10664:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10665:       hardcode_libdir_separator=:
                   10666:       hardcode_direct=yes
                   10667: 
                   10668:       # hardcode_minus_L: Not really in the search PATH,
                   10669:       # but as the default location of the library.
                   10670:       hardcode_minus_L=yes
                   10671:       export_dynamic_flag_spec='${wl}-E'
                   10672:       ;;
                   10673: 
                   10674:     hpux10*)
                   10675:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10676:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10677:       else
                   10678:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10679:       fi
                   10680:       if test "$with_gnu_ld" = no; then
                   10681:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10682:        hardcode_libdir_separator=:
                   10683:        hardcode_direct=yes
                   10684:        hardcode_direct_absolute=yes
                   10685:        export_dynamic_flag_spec='${wl}-E'
                   10686:        # hardcode_minus_L: Not really in the search PATH,
                   10687:        # but as the default location of the library.
                   10688:        hardcode_minus_L=yes
                   10689:       fi
                   10690:       ;;
                   10691: 
                   10692:     hpux11*)
                   10693:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10694:        case $host_cpu in
                   10695:        hppa*64*)
                   10696:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10697:          ;;
                   10698:        ia64*)
                   10699:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10700:          ;;
                   10701:        *)
                   10702:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10703:          ;;
                   10704:        esac
                   10705:       else
                   10706:        case $host_cpu in
                   10707:        hppa*64*)
                   10708:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10709:          ;;
                   10710:        ia64*)
                   10711:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10712:          ;;
                   10713:        *)
                   10714: 
                   10715:          # Older versions of the 11.00 compiler do not understand -b yet
                   10716:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150     moko     10717:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   10718: $as_echo_n "checking if $CC understands -b... " >&6; }
                   10719: if ${lt_cv_prog_compiler__b+:} false; then :
                   10720:   $as_echo_n "(cached) " >&6
1.128     moko     10721: else
                   10722:   lt_cv_prog_compiler__b=no
                   10723:    save_LDFLAGS="$LDFLAGS"
                   10724:    LDFLAGS="$LDFLAGS -b"
                   10725:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10726:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10727:      # The linker can only warn and ignore the option if not recognized
                   10728:      # So say no if there are warnings
                   10729:      if test -s conftest.err; then
                   10730:        # Append any errors to the config.log.
                   10731:        cat conftest.err 1>&5
                   10732:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10733:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10734:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10735:          lt_cv_prog_compiler__b=yes
                   10736:        fi
                   10737:      else
                   10738:        lt_cv_prog_compiler__b=yes
                   10739:      fi
                   10740:    fi
                   10741:    $RM -r conftest*
                   10742:    LDFLAGS="$save_LDFLAGS"
                   10743: 
                   10744: fi
1.150     moko     10745: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   10746: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     10747: 
                   10748: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10749:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10750: else
                   10751:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10752: fi
                   10753: 
                   10754:          ;;
                   10755:        esac
                   10756:       fi
                   10757:       if test "$with_gnu_ld" = no; then
                   10758:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10759:        hardcode_libdir_separator=:
                   10760: 
                   10761:        case $host_cpu in
                   10762:        hppa*64*|ia64*)
                   10763:          hardcode_direct=no
                   10764:          hardcode_shlibpath_var=no
                   10765:          ;;
                   10766:        *)
                   10767:          hardcode_direct=yes
                   10768:          hardcode_direct_absolute=yes
                   10769:          export_dynamic_flag_spec='${wl}-E'
                   10770: 
                   10771:          # hardcode_minus_L: Not really in the search PATH,
                   10772:          # but as the default location of the library.
                   10773:          hardcode_minus_L=yes
                   10774:          ;;
                   10775:        esac
                   10776:       fi
                   10777:       ;;
                   10778: 
                   10779:     irix5* | irix6* | nonstopux*)
                   10780:       if test "$GCC" = yes; then
                   10781:        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'
                   10782:        # Try to use the -exported_symbol ld option, if it does not
                   10783:        # work, assume that -exports_file does not work either and
                   10784:        # implicitly export all symbols.
                   10785:        # This should be the same for all languages, so no per-tag cache variable.
1.150     moko     10786:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10787: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   10788: if ${lt_cv_irix_exported_symbol+:} false; then :
                   10789:   $as_echo_n "(cached) " >&6
1.128     moko     10790: else
                   10791:   save_LDFLAGS="$LDFLAGS"
                   10792:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150     moko     10793:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10794: /* end confdefs.h.  */
                   10795: int foo (void) { return 0; }
                   10796: _ACEOF
1.150     moko     10797: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10798:   lt_cv_irix_exported_symbol=yes
                   10799: else
1.150     moko     10800:   lt_cv_irix_exported_symbol=no
1.128     moko     10801: fi
1.150     moko     10802: rm -f core conftest.err conftest.$ac_objext \
                   10803:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10804:            LDFLAGS="$save_LDFLAGS"
                   10805: fi
1.150     moko     10806: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   10807: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     10808:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10809:           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'
                   10810:        fi
                   10811:       else
                   10812:        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'
                   10813:        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'
                   10814:       fi
                   10815:       archive_cmds_need_lc='no'
                   10816:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10817:       hardcode_libdir_separator=:
                   10818:       inherit_rpath=yes
                   10819:       link_all_deplibs=yes
                   10820:       ;;
                   10821: 
                   10822:     netbsd*)
                   10823:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10824:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10825:       else
                   10826:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10827:       fi
                   10828:       hardcode_libdir_flag_spec='-R$libdir'
                   10829:       hardcode_direct=yes
                   10830:       hardcode_shlibpath_var=no
                   10831:       ;;
                   10832: 
                   10833:     newsos6)
                   10834:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10835:       hardcode_direct=yes
                   10836:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10837:       hardcode_libdir_separator=:
                   10838:       hardcode_shlibpath_var=no
                   10839:       ;;
                   10840: 
                   10841:     *nto* | *qnx*)
                   10842:       ;;
                   10843: 
                   10844:     openbsd*)
                   10845:       if test -f /usr/libexec/ld.so; then
                   10846:        hardcode_direct=yes
                   10847:        hardcode_shlibpath_var=no
                   10848:        hardcode_direct_absolute=yes
                   10849:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10850:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10851:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10852:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10853:          export_dynamic_flag_spec='${wl}-E'
                   10854:        else
                   10855:          case $host_os in
                   10856:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10857:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10858:             hardcode_libdir_flag_spec='-R$libdir'
                   10859:             ;;
                   10860:           *)
                   10861:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10862:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10863:             ;;
                   10864:          esac
                   10865:        fi
                   10866:       else
                   10867:        ld_shlibs=no
                   10868:       fi
                   10869:       ;;
                   10870: 
                   10871:     os2*)
                   10872:       hardcode_libdir_flag_spec='-L$libdir'
                   10873:       hardcode_minus_L=yes
                   10874:       allow_undefined_flag=unsupported
                   10875:       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'
                   10876:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10877:       ;;
                   10878: 
                   10879:     osf3*)
                   10880:       if test "$GCC" = yes; then
                   10881:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10882:        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'
                   10883:       else
                   10884:        allow_undefined_flag=' -expect_unresolved \*'
                   10885:        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'
                   10886:       fi
                   10887:       archive_cmds_need_lc='no'
                   10888:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10889:       hardcode_libdir_separator=:
                   10890:       ;;
                   10891: 
                   10892:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10893:       if test "$GCC" = yes; then
                   10894:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10895:        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'
                   10896:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10897:       else
                   10898:        allow_undefined_flag=' -expect_unresolved \*'
                   10899:        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'
                   10900:        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~
                   10901:        $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'
                   10902: 
                   10903:        # Both c and cxx compiler support -rpath directly
                   10904:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10905:       fi
                   10906:       archive_cmds_need_lc='no'
                   10907:       hardcode_libdir_separator=:
                   10908:       ;;
                   10909: 
                   10910:     solaris*)
                   10911:       no_undefined_flag=' -z defs'
                   10912:       if test "$GCC" = yes; then
                   10913:        wlarc='${wl}'
                   10914:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10915:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10916:          $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'
                   10917:       else
                   10918:        case `$CC -V 2>&1` in
                   10919:        *"Compilers 5.0"*)
                   10920:          wlarc=''
                   10921:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10922:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10923:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10924:          ;;
                   10925:        *)
                   10926:          wlarc='${wl}'
                   10927:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10928:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10929:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10930:          ;;
                   10931:        esac
                   10932:       fi
                   10933:       hardcode_libdir_flag_spec='-R$libdir'
                   10934:       hardcode_shlibpath_var=no
                   10935:       case $host_os in
                   10936:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10937:       *)
                   10938:        # The compiler driver will combine and reorder linker options,
                   10939:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10940:        # but is careful enough not to reorder.
                   10941:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10942:        if test "$GCC" = yes; then
                   10943:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10944:        else
                   10945:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10946:        fi
                   10947:        ;;
                   10948:       esac
                   10949:       link_all_deplibs=yes
                   10950:       ;;
                   10951: 
                   10952:     sunos4*)
                   10953:       if test "x$host_vendor" = xsequent; then
                   10954:        # Use $CC to link under sequent, because it throws in some extra .o
                   10955:        # files that make .init and .fini sections work.
                   10956:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10957:       else
                   10958:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10959:       fi
                   10960:       hardcode_libdir_flag_spec='-L$libdir'
                   10961:       hardcode_direct=yes
                   10962:       hardcode_minus_L=yes
                   10963:       hardcode_shlibpath_var=no
                   10964:       ;;
                   10965: 
                   10966:     sysv4)
                   10967:       case $host_vendor in
                   10968:        sni)
                   10969:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10970:          hardcode_direct=yes # is this really true???
                   10971:        ;;
                   10972:        siemens)
                   10973:          ## LD is ld it makes a PLAMLIB
                   10974:          ## CC just makes a GrossModule.
                   10975:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10976:          reload_cmds='$CC -r -o $output$reload_objs'
                   10977:          hardcode_direct=no
                   10978:         ;;
                   10979:        motorola)
                   10980:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10981:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10982:        ;;
                   10983:       esac
                   10984:       runpath_var='LD_RUN_PATH'
                   10985:       hardcode_shlibpath_var=no
                   10986:       ;;
                   10987: 
                   10988:     sysv4.3*)
                   10989:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10990:       hardcode_shlibpath_var=no
                   10991:       export_dynamic_flag_spec='-Bexport'
                   10992:       ;;
                   10993: 
                   10994:     sysv4*MP*)
                   10995:       if test -d /usr/nec; then
                   10996:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10997:        hardcode_shlibpath_var=no
                   10998:        runpath_var=LD_RUN_PATH
                   10999:        hardcode_runpath_var=yes
                   11000:        ld_shlibs=yes
                   11001:       fi
                   11002:       ;;
                   11003: 
                   11004:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11005:       no_undefined_flag='${wl}-z,text'
                   11006:       archive_cmds_need_lc=no
                   11007:       hardcode_shlibpath_var=no
                   11008:       runpath_var='LD_RUN_PATH'
                   11009: 
                   11010:       if test "$GCC" = yes; then
                   11011:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11012:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11013:       else
                   11014:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11015:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11016:       fi
                   11017:       ;;
                   11018: 
                   11019:     sysv5* | sco3.2v5* | sco5v6*)
                   11020:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11021:       # link with -lc, and that would cause any symbols used from libc to
                   11022:       # always be unresolved, which means just about no library would
                   11023:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11024:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11025:       # as -z defs.
                   11026:       no_undefined_flag='${wl}-z,text'
                   11027:       allow_undefined_flag='${wl}-z,nodefs'
                   11028:       archive_cmds_need_lc=no
                   11029:       hardcode_shlibpath_var=no
                   11030:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11031:       hardcode_libdir_separator=':'
                   11032:       link_all_deplibs=yes
                   11033:       export_dynamic_flag_spec='${wl}-Bexport'
                   11034:       runpath_var='LD_RUN_PATH'
                   11035: 
                   11036:       if test "$GCC" = yes; then
                   11037:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11038:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11039:       else
                   11040:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11041:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11042:       fi
                   11043:       ;;
                   11044: 
                   11045:     uts4*)
                   11046:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11047:       hardcode_libdir_flag_spec='-L$libdir'
                   11048:       hardcode_shlibpath_var=no
                   11049:       ;;
                   11050: 
                   11051:     *)
                   11052:       ld_shlibs=no
                   11053:       ;;
                   11054:     esac
                   11055: 
                   11056:     if test x$host_vendor = xsni; then
                   11057:       case $host in
                   11058:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11059:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11060:        ;;
                   11061:       esac
                   11062:     fi
                   11063:   fi
                   11064: 
1.150     moko     11065: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11066: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11067: test "$ld_shlibs" = no && can_build_shared=no
                   11068: 
                   11069: with_gnu_ld=$with_gnu_ld
                   11070: 
                   11071: 
                   11072: 
                   11073: 
                   11074: 
                   11075: 
                   11076: 
                   11077: 
                   11078: 
                   11079: 
                   11080: 
                   11081: 
                   11082: 
                   11083: 
                   11084: 
                   11085: #
                   11086: # Do we need to explicitly link libc?
                   11087: #
                   11088: case "x$archive_cmds_need_lc" in
                   11089: x|xyes)
                   11090:   # Assume -lc should be added
                   11091:   archive_cmds_need_lc=yes
                   11092: 
                   11093:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11094:     case $archive_cmds in
                   11095:     *'~'*)
                   11096:       # FIXME: we may have to deal with multi-command sequences.
                   11097:       ;;
                   11098:     '$CC '*)
                   11099:       # Test whether the compiler implicitly links with -lc since on some
                   11100:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11101:       # to ld, don't add -lc before -lgcc.
1.150     moko     11102:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11103: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11104: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11105:   $as_echo_n "(cached) " >&6
1.128     moko     11106: else
                   11107:   $RM conftest*
                   11108:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11109: 
1.150     moko     11110:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11111:   (eval $ac_compile) 2>&5
                   11112:   ac_status=$?
1.150     moko     11113:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11114:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11115:          soname=conftest
                   11116:          lib=conftest
                   11117:          libobjs=conftest.$ac_objext
                   11118:          deplibs=
                   11119:          wl=$lt_prog_compiler_wl
                   11120:          pic_flag=$lt_prog_compiler_pic
                   11121:          compiler_flags=-v
                   11122:          linker_flags=-v
                   11123:          verstring=
                   11124:          output_objdir=.
                   11125:          libname=conftest
                   11126:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11127:          allow_undefined_flag=
1.150     moko     11128:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11129:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11130:   ac_status=$?
1.150     moko     11131:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11132:   test $ac_status = 0; }
1.128     moko     11133:          then
                   11134:            lt_cv_archive_cmds_need_lc=no
                   11135:          else
                   11136:            lt_cv_archive_cmds_need_lc=yes
                   11137:          fi
                   11138:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11139:        else
                   11140:          cat conftest.err 1>&5
                   11141:        fi
                   11142:        $RM conftest*
                   11143: 
                   11144: fi
1.150     moko     11145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11146: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11147:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11148:       ;;
                   11149:     esac
                   11150:   fi
                   11151:   ;;
                   11152: esac
                   11153: 
                   11154: 
                   11155: 
                   11156: 
                   11157: 
                   11158: 
                   11159: 
                   11160: 
                   11161: 
                   11162: 
                   11163: 
                   11164: 
                   11165: 
                   11166: 
                   11167: 
                   11168: 
                   11169: 
                   11170: 
                   11171: 
                   11172: 
                   11173: 
                   11174: 
                   11175: 
                   11176: 
                   11177: 
                   11178: 
                   11179: 
                   11180: 
                   11181: 
                   11182: 
                   11183: 
                   11184: 
                   11185: 
                   11186: 
                   11187: 
                   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: 
1.150     moko     11305:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11306: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11307: 
                   11308: if test "$GCC" = yes; then
                   11309:   case $host_os in
                   11310:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11311:     *) lt_awk_arg="/^libraries:/" ;;
                   11312:   esac
                   11313:   case $host_os in
                   11314:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11315:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11316:   esac
                   11317:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11318:   case $lt_search_path_spec in
                   11319:   *\;*)
                   11320:     # if the path contains ";" then we assume it to be the separator
                   11321:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11322:     # assumed that no part of a normal pathname contains ";" but that should
                   11323:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11324:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11325:     ;;
                   11326:   *)
                   11327:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11328:     ;;
                   11329:   esac
                   11330:   # Ok, now we have the path, separated by spaces, we can step through it
                   11331:   # and add multilib dir if necessary.
                   11332:   lt_tmp_lt_search_path_spec=
                   11333:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11334:   for lt_sys_path in $lt_search_path_spec; do
                   11335:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11336:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11337:     else
                   11338:       test -d "$lt_sys_path" && \
                   11339:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11340:     fi
                   11341:   done
                   11342:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11343: BEGIN {RS=" "; FS="/|\n";} {
                   11344:   lt_foo="";
                   11345:   lt_count=0;
                   11346:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11347:     if ($lt_i != "" && $lt_i != ".") {
                   11348:       if ($lt_i == "..") {
                   11349:         lt_count++;
                   11350:       } else {
                   11351:         if (lt_count == 0) {
                   11352:           lt_foo="/" $lt_i lt_foo;
                   11353:         } else {
                   11354:           lt_count--;
                   11355:         }
                   11356:       }
                   11357:     }
                   11358:   }
                   11359:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11360:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11361: }'`
                   11362:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11363:   # for these hosts.
                   11364:   case $host_os in
                   11365:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11366:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11367:   esac
                   11368:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11369: else
                   11370:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11371: fi
                   11372: library_names_spec=
                   11373: libname_spec='lib$name'
                   11374: soname_spec=
                   11375: shrext_cmds=".so"
                   11376: postinstall_cmds=
                   11377: postuninstall_cmds=
                   11378: finish_cmds=
                   11379: finish_eval=
                   11380: shlibpath_var=
                   11381: shlibpath_overrides_runpath=unknown
                   11382: version_type=none
                   11383: dynamic_linker="$host_os ld.so"
                   11384: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11385: need_lib_prefix=unknown
                   11386: hardcode_into_libs=no
                   11387: 
                   11388: # when you set need_version to no, make sure it does not cause -set_version
                   11389: # flags to be left without arguments
                   11390: need_version=unknown
                   11391: 
                   11392: case $host_os in
                   11393: aix3*)
                   11394:   version_type=linux # correct to gnu/linux during the next big refactor
                   11395:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11396:   shlibpath_var=LIBPATH
                   11397: 
                   11398:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11399:   soname_spec='${libname}${release}${shared_ext}$major'
                   11400:   ;;
                   11401: 
                   11402: aix[4-9]*)
                   11403:   version_type=linux # correct to gnu/linux during the next big refactor
                   11404:   need_lib_prefix=no
                   11405:   need_version=no
                   11406:   hardcode_into_libs=yes
                   11407:   if test "$host_cpu" = ia64; then
                   11408:     # AIX 5 supports IA64
                   11409:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11410:     shlibpath_var=LD_LIBRARY_PATH
                   11411:   else
                   11412:     # With GCC up to 2.95.x, collect2 would create an import file
                   11413:     # for dependence libraries.  The import file would start with
                   11414:     # the line `#! .'.  This would cause the generated library to
                   11415:     # depend on `.', always an invalid library.  This was fixed in
                   11416:     # development snapshots of GCC prior to 3.0.
                   11417:     case $host_os in
                   11418:       aix4 | aix4.[01] | aix4.[01].*)
                   11419:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11420:           echo ' yes '
                   11421:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11422:        :
                   11423:       else
                   11424:        can_build_shared=no
                   11425:       fi
                   11426:       ;;
                   11427:     esac
                   11428:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11429:     # soname into executable. Probably we can add versioning support to
                   11430:     # collect2, so additional links can be useful in future.
                   11431:     if test "$aix_use_runtimelinking" = yes; then
                   11432:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11433:       # instead of lib<name>.a to let people know that these are not
                   11434:       # typical AIX shared libraries.
                   11435:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11436:     else
                   11437:       # We preserve .a as extension for shared libraries through AIX4.2
                   11438:       # and later when we are not doing run time linking.
                   11439:       library_names_spec='${libname}${release}.a $libname.a'
                   11440:       soname_spec='${libname}${release}${shared_ext}$major'
                   11441:     fi
                   11442:     shlibpath_var=LIBPATH
                   11443:   fi
                   11444:   ;;
                   11445: 
                   11446: amigaos*)
                   11447:   case $host_cpu in
                   11448:   powerpc)
                   11449:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11450:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   11451:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11452:     ;;
                   11453:   m68k)
                   11454:     library_names_spec='$libname.ixlibrary $libname.a'
                   11455:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   11456:     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'
                   11457:     ;;
                   11458:   esac
                   11459:   ;;
                   11460: 
                   11461: beos*)
                   11462:   library_names_spec='${libname}${shared_ext}'
                   11463:   dynamic_linker="$host_os ld.so"
                   11464:   shlibpath_var=LIBRARY_PATH
                   11465:   ;;
                   11466: 
                   11467: bsdi[45]*)
                   11468:   version_type=linux # correct to gnu/linux during the next big refactor
                   11469:   need_version=no
                   11470:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11471:   soname_spec='${libname}${release}${shared_ext}$major'
                   11472:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11473:   shlibpath_var=LD_LIBRARY_PATH
                   11474:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11475:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11476:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11477:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11478:   # libtool to hard-code these into programs
                   11479:   ;;
                   11480: 
                   11481: cygwin* | mingw* | pw32* | cegcc*)
                   11482:   version_type=windows
                   11483:   shrext_cmds=".dll"
                   11484:   need_version=no
                   11485:   need_lib_prefix=no
                   11486: 
                   11487:   case $GCC,$cc_basename in
                   11488:   yes,*)
                   11489:     # gcc
                   11490:     library_names_spec='$libname.dll.a'
                   11491:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11492:     postinstall_cmds='base_file=`basename \${file}`~
                   11493:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11494:       dldir=$destdir/`dirname \$dlpath`~
                   11495:       test -d \$dldir || mkdir -p \$dldir~
                   11496:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11497:       chmod a+x \$dldir/$dlname~
                   11498:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11499:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11500:       fi'
                   11501:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11502:       dlpath=$dir/\$dldll~
                   11503:        $RM \$dlpath'
                   11504:     shlibpath_overrides_runpath=yes
                   11505: 
                   11506:     case $host_os in
                   11507:     cygwin*)
                   11508:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   11509:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11510: 
                   11511:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   11512:       ;;
                   11513:     mingw* | cegcc*)
                   11514:       # MinGW DLLs use traditional 'lib' prefix
                   11515:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11516:       ;;
                   11517:     pw32*)
                   11518:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   11519:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11520:       ;;
                   11521:     esac
                   11522:     dynamic_linker='Win32 ld.exe'
                   11523:     ;;
                   11524: 
                   11525:   *,cl*)
                   11526:     # Native MSVC
                   11527:     libname_spec='$name'
                   11528:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11529:     library_names_spec='${libname}.dll.lib'
                   11530: 
                   11531:     case $build_os in
                   11532:     mingw*)
                   11533:       sys_lib_search_path_spec=
                   11534:       lt_save_ifs=$IFS
                   11535:       IFS=';'
                   11536:       for lt_path in $LIB
                   11537:       do
                   11538:         IFS=$lt_save_ifs
                   11539:         # Let DOS variable expansion print the short 8.3 style file name.
                   11540:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   11541:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   11542:       done
                   11543:       IFS=$lt_save_ifs
                   11544:       # Convert to MSYS style.
                   11545:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   11546:       ;;
                   11547:     cygwin*)
                   11548:       # Convert to unix form, then to dos form, then back to unix form
                   11549:       # but this time dos style (no spaces!) so that the unix form looks
                   11550:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   11551:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11552:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11553:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11554:       ;;
                   11555:     *)
                   11556:       sys_lib_search_path_spec="$LIB"
                   11557:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11558:         # It is most probably a Windows format PATH.
                   11559:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11560:       else
                   11561:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11562:       fi
                   11563:       # FIXME: find the short name or the path components, as spaces are
                   11564:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11565:       ;;
                   11566:     esac
                   11567: 
                   11568:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11569:     postinstall_cmds='base_file=`basename \${file}`~
                   11570:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11571:       dldir=$destdir/`dirname \$dlpath`~
                   11572:       test -d \$dldir || mkdir -p \$dldir~
                   11573:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11574:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11575:       dlpath=$dir/\$dldll~
                   11576:        $RM \$dlpath'
                   11577:     shlibpath_overrides_runpath=yes
                   11578:     dynamic_linker='Win32 link.exe'
                   11579:     ;;
                   11580: 
                   11581:   *)
                   11582:     # Assume MSVC wrapper
                   11583:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11584:     dynamic_linker='Win32 ld.exe'
                   11585:     ;;
                   11586:   esac
                   11587:   # FIXME: first we should search . and the directory the executable is in
                   11588:   shlibpath_var=PATH
                   11589:   ;;
                   11590: 
                   11591: darwin* | rhapsody*)
                   11592:   dynamic_linker="$host_os dyld"
                   11593:   version_type=darwin
                   11594:   need_lib_prefix=no
                   11595:   need_version=no
                   11596:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11597:   soname_spec='${libname}${release}${major}$shared_ext'
                   11598:   shlibpath_overrides_runpath=yes
                   11599:   shlibpath_var=DYLD_LIBRARY_PATH
                   11600:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11601: 
                   11602:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11603:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11604:   ;;
                   11605: 
                   11606: dgux*)
                   11607:   version_type=linux # correct to gnu/linux during the next big refactor
                   11608:   need_lib_prefix=no
                   11609:   need_version=no
                   11610:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11611:   soname_spec='${libname}${release}${shared_ext}$major'
                   11612:   shlibpath_var=LD_LIBRARY_PATH
                   11613:   ;;
                   11614: 
                   11615: freebsd* | dragonfly*)
                   11616:   # DragonFly does not have aout.  When/if they implement a new
                   11617:   # versioning mechanism, adjust this.
                   11618:   if test -x /usr/bin/objformat; then
                   11619:     objformat=`/usr/bin/objformat`
                   11620:   else
                   11621:     case $host_os in
                   11622:     freebsd[23].*) objformat=aout ;;
                   11623:     *) objformat=elf ;;
                   11624:     esac
                   11625:   fi
                   11626:   version_type=freebsd-$objformat
                   11627:   case $version_type in
                   11628:     freebsd-elf*)
                   11629:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11630:       need_version=no
                   11631:       need_lib_prefix=no
                   11632:       ;;
                   11633:     freebsd-*)
                   11634:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   11635:       need_version=yes
                   11636:       ;;
                   11637:   esac
                   11638:   shlibpath_var=LD_LIBRARY_PATH
                   11639:   case $host_os in
                   11640:   freebsd2.*)
                   11641:     shlibpath_overrides_runpath=yes
                   11642:     ;;
                   11643:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11644:     shlibpath_overrides_runpath=yes
                   11645:     hardcode_into_libs=yes
                   11646:     ;;
                   11647:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11648:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11649:     shlibpath_overrides_runpath=no
                   11650:     hardcode_into_libs=yes
                   11651:     ;;
                   11652:   *) # from 4.6 on, and DragonFly
                   11653:     shlibpath_overrides_runpath=yes
                   11654:     hardcode_into_libs=yes
                   11655:     ;;
                   11656:   esac
                   11657:   ;;
                   11658: 
                   11659: gnu*)
                   11660:   version_type=linux # correct to gnu/linux during the next big refactor
                   11661:   need_lib_prefix=no
                   11662:   need_version=no
                   11663:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11664:   soname_spec='${libname}${release}${shared_ext}$major'
                   11665:   shlibpath_var=LD_LIBRARY_PATH
                   11666:   shlibpath_overrides_runpath=no
                   11667:   hardcode_into_libs=yes
                   11668:   ;;
                   11669: 
                   11670: haiku*)
                   11671:   version_type=linux # correct to gnu/linux during the next big refactor
                   11672:   need_lib_prefix=no
                   11673:   need_version=no
                   11674:   dynamic_linker="$host_os runtime_loader"
                   11675:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11676:   soname_spec='${libname}${release}${shared_ext}$major'
                   11677:   shlibpath_var=LIBRARY_PATH
                   11678:   shlibpath_overrides_runpath=yes
                   11679:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   11680:   hardcode_into_libs=yes
                   11681:   ;;
                   11682: 
                   11683: hpux9* | hpux10* | hpux11*)
                   11684:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11685:   # link against other versions.
                   11686:   version_type=sunos
                   11687:   need_lib_prefix=no
                   11688:   need_version=no
                   11689:   case $host_cpu in
                   11690:   ia64*)
                   11691:     shrext_cmds='.so'
                   11692:     hardcode_into_libs=yes
                   11693:     dynamic_linker="$host_os dld.so"
                   11694:     shlibpath_var=LD_LIBRARY_PATH
                   11695:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11696:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11697:     soname_spec='${libname}${release}${shared_ext}$major'
                   11698:     if test "X$HPUX_IA64_MODE" = X32; then
                   11699:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11700:     else
                   11701:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11702:     fi
                   11703:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11704:     ;;
                   11705:   hppa*64*)
                   11706:     shrext_cmds='.sl'
                   11707:     hardcode_into_libs=yes
                   11708:     dynamic_linker="$host_os dld.sl"
                   11709:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11710:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11711:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11712:     soname_spec='${libname}${release}${shared_ext}$major'
                   11713:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11714:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11715:     ;;
                   11716:   *)
                   11717:     shrext_cmds='.sl'
                   11718:     dynamic_linker="$host_os dld.sl"
                   11719:     shlibpath_var=SHLIB_PATH
                   11720:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11721:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11722:     soname_spec='${libname}${release}${shared_ext}$major'
                   11723:     ;;
                   11724:   esac
                   11725:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11726:   postinstall_cmds='chmod 555 $lib'
                   11727:   # or fails outright, so override atomically:
                   11728:   install_override_mode=555
                   11729:   ;;
                   11730: 
                   11731: interix[3-9]*)
                   11732:   version_type=linux # correct to gnu/linux during the next big refactor
                   11733:   need_lib_prefix=no
                   11734:   need_version=no
                   11735:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11736:   soname_spec='${libname}${release}${shared_ext}$major'
                   11737:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11738:   shlibpath_var=LD_LIBRARY_PATH
                   11739:   shlibpath_overrides_runpath=no
                   11740:   hardcode_into_libs=yes
                   11741:   ;;
                   11742: 
                   11743: irix5* | irix6* | nonstopux*)
                   11744:   case $host_os in
                   11745:     nonstopux*) version_type=nonstopux ;;
                   11746:     *)
                   11747:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11748:                version_type=linux # correct to gnu/linux during the next big refactor
                   11749:        else
                   11750:                version_type=irix
                   11751:        fi ;;
                   11752:   esac
                   11753:   need_lib_prefix=no
                   11754:   need_version=no
                   11755:   soname_spec='${libname}${release}${shared_ext}$major'
                   11756:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11757:   case $host_os in
                   11758:   irix5* | nonstopux*)
                   11759:     libsuff= shlibsuff=
                   11760:     ;;
                   11761:   *)
                   11762:     case $LD in # libtool.m4 will add one of these switches to LD
                   11763:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11764:       libsuff= shlibsuff= libmagic=32-bit;;
                   11765:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11766:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11767:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11768:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11769:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11770:     esac
                   11771:     ;;
                   11772:   esac
                   11773:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11774:   shlibpath_overrides_runpath=no
                   11775:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11776:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11777:   hardcode_into_libs=yes
                   11778:   ;;
                   11779: 
                   11780: # No shared lib support for Linux oldld, aout, or coff.
                   11781: linux*oldld* | linux*aout* | linux*coff*)
                   11782:   dynamic_linker=no
                   11783:   ;;
                   11784: 
                   11785: # This must be glibc/ELF.
                   11786: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11787:   version_type=linux # correct to gnu/linux during the next big refactor
                   11788:   need_lib_prefix=no
                   11789:   need_version=no
                   11790:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11791:   soname_spec='${libname}${release}${shared_ext}$major'
                   11792:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11793:   shlibpath_var=LD_LIBRARY_PATH
                   11794:   shlibpath_overrides_runpath=no
                   11795: 
                   11796:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     11797:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   11798:   $as_echo_n "(cached) " >&6
1.128     moko     11799: else
                   11800:   lt_cv_shlibpath_overrides_runpath=no
                   11801:     save_LDFLAGS=$LDFLAGS
                   11802:     save_libdir=$libdir
                   11803:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11804:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     11805:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11806: /* end confdefs.h.  */
                   11807: 
                   11808: int
                   11809: main ()
                   11810: {
                   11811: 
                   11812:   ;
                   11813:   return 0;
                   11814: }
                   11815: _ACEOF
1.150     moko     11816: if ac_fn_c_try_link "$LINENO"; then :
                   11817:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     11818:   lt_cv_shlibpath_overrides_runpath=yes
                   11819: fi
                   11820: fi
1.150     moko     11821: rm -f core conftest.err conftest.$ac_objext \
                   11822:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11823:     LDFLAGS=$save_LDFLAGS
                   11824:     libdir=$save_libdir
                   11825: 
                   11826: fi
                   11827: 
                   11828:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11829: 
                   11830:   # This implies no fast_install, which is unacceptable.
                   11831:   # Some rework will be needed to allow for fast_install
                   11832:   # before this can be enabled.
                   11833:   hardcode_into_libs=yes
                   11834: 
                   11835:   # Append ld.so.conf contents to the search path
                   11836:   if test -f /etc/ld.so.conf; then
                   11837:     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' ' '`
                   11838:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11839:   fi
                   11840: 
                   11841:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11842:   # powerpc, because MkLinux only supported shared libraries with the
                   11843:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11844:   # most powerpc-linux boxes support dynamic linking these days and
                   11845:   # people can always --disable-shared, the test was removed, and we
                   11846:   # assume the GNU/Linux dynamic linker is in use.
                   11847:   dynamic_linker='GNU/Linux ld.so'
                   11848:   ;;
                   11849: 
                   11850: netbsd*)
                   11851:   version_type=sunos
                   11852:   need_lib_prefix=no
                   11853:   need_version=no
                   11854:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11855:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11856:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11857:     dynamic_linker='NetBSD (a.out) ld.so'
                   11858:   else
                   11859:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11860:     soname_spec='${libname}${release}${shared_ext}$major'
                   11861:     dynamic_linker='NetBSD ld.elf_so'
                   11862:   fi
                   11863:   shlibpath_var=LD_LIBRARY_PATH
                   11864:   shlibpath_overrides_runpath=yes
                   11865:   hardcode_into_libs=yes
                   11866:   ;;
                   11867: 
                   11868: newsos6)
                   11869:   version_type=linux # correct to gnu/linux during the next big refactor
                   11870:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11871:   shlibpath_var=LD_LIBRARY_PATH
                   11872:   shlibpath_overrides_runpath=yes
                   11873:   ;;
                   11874: 
                   11875: *nto* | *qnx*)
                   11876:   version_type=qnx
                   11877:   need_lib_prefix=no
                   11878:   need_version=no
                   11879:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11880:   soname_spec='${libname}${release}${shared_ext}$major'
                   11881:   shlibpath_var=LD_LIBRARY_PATH
                   11882:   shlibpath_overrides_runpath=no
                   11883:   hardcode_into_libs=yes
                   11884:   dynamic_linker='ldqnx.so'
                   11885:   ;;
                   11886: 
                   11887: openbsd*)
                   11888:   version_type=sunos
                   11889:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11890:   need_lib_prefix=no
                   11891:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11892:   case $host_os in
                   11893:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11894:     *)                         need_version=no  ;;
                   11895:   esac
                   11896:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11897:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11898:   shlibpath_var=LD_LIBRARY_PATH
                   11899:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11900:     case $host_os in
                   11901:       openbsd2.[89] | openbsd2.[89].*)
                   11902:        shlibpath_overrides_runpath=no
                   11903:        ;;
                   11904:       *)
                   11905:        shlibpath_overrides_runpath=yes
                   11906:        ;;
                   11907:       esac
                   11908:   else
                   11909:     shlibpath_overrides_runpath=yes
                   11910:   fi
                   11911:   ;;
                   11912: 
                   11913: os2*)
                   11914:   libname_spec='$name'
                   11915:   shrext_cmds=".dll"
                   11916:   need_lib_prefix=no
                   11917:   library_names_spec='$libname${shared_ext} $libname.a'
                   11918:   dynamic_linker='OS/2 ld.exe'
                   11919:   shlibpath_var=LIBPATH
                   11920:   ;;
                   11921: 
                   11922: osf3* | osf4* | osf5*)
                   11923:   version_type=osf
                   11924:   need_lib_prefix=no
                   11925:   need_version=no
                   11926:   soname_spec='${libname}${release}${shared_ext}$major'
                   11927:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11928:   shlibpath_var=LD_LIBRARY_PATH
                   11929:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11930:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11931:   ;;
                   11932: 
                   11933: rdos*)
                   11934:   dynamic_linker=no
                   11935:   ;;
                   11936: 
                   11937: solaris*)
                   11938:   version_type=linux # correct to gnu/linux during the next big refactor
                   11939:   need_lib_prefix=no
                   11940:   need_version=no
                   11941:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11942:   soname_spec='${libname}${release}${shared_ext}$major'
                   11943:   shlibpath_var=LD_LIBRARY_PATH
                   11944:   shlibpath_overrides_runpath=yes
                   11945:   hardcode_into_libs=yes
                   11946:   # ldd complains unless libraries are executable
                   11947:   postinstall_cmds='chmod +x $lib'
                   11948:   ;;
                   11949: 
                   11950: sunos4*)
                   11951:   version_type=sunos
                   11952:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11953:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11954:   shlibpath_var=LD_LIBRARY_PATH
                   11955:   shlibpath_overrides_runpath=yes
                   11956:   if test "$with_gnu_ld" = yes; then
                   11957:     need_lib_prefix=no
                   11958:   fi
                   11959:   need_version=yes
                   11960:   ;;
                   11961: 
                   11962: sysv4 | sysv4.3*)
                   11963:   version_type=linux # correct to gnu/linux during the next big refactor
                   11964:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11965:   soname_spec='${libname}${release}${shared_ext}$major'
                   11966:   shlibpath_var=LD_LIBRARY_PATH
                   11967:   case $host_vendor in
                   11968:     sni)
                   11969:       shlibpath_overrides_runpath=no
                   11970:       need_lib_prefix=no
                   11971:       runpath_var=LD_RUN_PATH
                   11972:       ;;
                   11973:     siemens)
                   11974:       need_lib_prefix=no
                   11975:       ;;
                   11976:     motorola)
                   11977:       need_lib_prefix=no
                   11978:       need_version=no
                   11979:       shlibpath_overrides_runpath=no
                   11980:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11981:       ;;
                   11982:   esac
                   11983:   ;;
                   11984: 
                   11985: sysv4*MP*)
                   11986:   if test -d /usr/nec ;then
                   11987:     version_type=linux # correct to gnu/linux during the next big refactor
                   11988:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   11989:     soname_spec='$libname${shared_ext}.$major'
                   11990:     shlibpath_var=LD_LIBRARY_PATH
                   11991:   fi
                   11992:   ;;
                   11993: 
                   11994: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   11995:   version_type=freebsd-elf
                   11996:   need_lib_prefix=no
                   11997:   need_version=no
                   11998:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11999:   soname_spec='${libname}${release}${shared_ext}$major'
                   12000:   shlibpath_var=LD_LIBRARY_PATH
                   12001:   shlibpath_overrides_runpath=yes
                   12002:   hardcode_into_libs=yes
                   12003:   if test "$with_gnu_ld" = yes; then
                   12004:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12005:   else
                   12006:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12007:     case $host_os in
                   12008:       sco3.2v5*)
                   12009:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12010:        ;;
                   12011:     esac
                   12012:   fi
                   12013:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12014:   ;;
                   12015: 
                   12016: tpf*)
                   12017:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12018:   version_type=linux # correct to gnu/linux during the next big refactor
                   12019:   need_lib_prefix=no
                   12020:   need_version=no
                   12021:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12022:   shlibpath_var=LD_LIBRARY_PATH
                   12023:   shlibpath_overrides_runpath=no
                   12024:   hardcode_into_libs=yes
                   12025:   ;;
                   12026: 
                   12027: uts4*)
                   12028:   version_type=linux # correct to gnu/linux during the next big refactor
                   12029:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12030:   soname_spec='${libname}${release}${shared_ext}$major'
                   12031:   shlibpath_var=LD_LIBRARY_PATH
                   12032:   ;;
                   12033: 
                   12034: *)
                   12035:   dynamic_linker=no
                   12036:   ;;
                   12037: esac
1.150     moko     12038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12039: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12040: test "$dynamic_linker" = no && can_build_shared=no
                   12041: 
                   12042: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12043: if test "$GCC" = yes; then
                   12044:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12045: fi
                   12046: 
                   12047: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12048:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12049: fi
                   12050: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12051:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12052: fi
                   12053: 
                   12054: 
                   12055: 
                   12056: 
                   12057: 
                   12058: 
                   12059: 
                   12060: 
                   12061: 
                   12062: 
                   12063: 
                   12064: 
                   12065: 
                   12066: 
                   12067: 
                   12068: 
                   12069: 
                   12070: 
                   12071: 
                   12072: 
                   12073: 
                   12074: 
                   12075: 
                   12076: 
                   12077: 
                   12078: 
                   12079: 
                   12080: 
                   12081: 
                   12082: 
                   12083: 
                   12084: 
                   12085: 
                   12086: 
                   12087: 
                   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: 
1.150     moko     12145:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12146: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12147: hardcode_action=
                   12148: if test -n "$hardcode_libdir_flag_spec" ||
                   12149:    test -n "$runpath_var" ||
                   12150:    test "X$hardcode_automatic" = "Xyes" ; then
                   12151: 
                   12152:   # We can hardcode non-existent directories.
                   12153:   if test "$hardcode_direct" != no &&
                   12154:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12155:      # have to relink, otherwise we might link with an installed library
                   12156:      # when we should be linking with a yet-to-be-installed one
                   12157:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12158:      test "$hardcode_minus_L" != no; then
                   12159:     # Linking always hardcodes the temporary library directory.
                   12160:     hardcode_action=relink
                   12161:   else
                   12162:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12163:     hardcode_action=immediate
                   12164:   fi
                   12165: else
                   12166:   # We cannot hardcode anything, or else we can only hardcode existing
                   12167:   # directories.
                   12168:   hardcode_action=unsupported
                   12169: fi
1.150     moko     12170: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12171: $as_echo "$hardcode_action" >&6; }
1.128     moko     12172: 
                   12173: if test "$hardcode_action" = relink ||
                   12174:    test "$inherit_rpath" = yes; then
                   12175:   # Fast installation is not supported
                   12176:   enable_fast_install=no
                   12177: elif test "$shlibpath_overrides_runpath" = yes ||
                   12178:      test "$enable_shared" = no; then
                   12179:   # Fast installation is not necessary
                   12180:   enable_fast_install=needless
                   12181: fi
                   12182: 
                   12183: 
                   12184: 
                   12185: 
                   12186: 
                   12187: 
                   12188:   if test "x$enable_dlopen" != xyes; then
                   12189:   enable_dlopen=unknown
                   12190:   enable_dlopen_self=unknown
                   12191:   enable_dlopen_self_static=unknown
                   12192: else
                   12193:   lt_cv_dlopen=no
                   12194:   lt_cv_dlopen_libs=
                   12195: 
                   12196:   case $host_os in
                   12197:   beos*)
                   12198:     lt_cv_dlopen="load_add_on"
                   12199:     lt_cv_dlopen_libs=
                   12200:     lt_cv_dlopen_self=yes
                   12201:     ;;
                   12202: 
                   12203:   mingw* | pw32* | cegcc*)
                   12204:     lt_cv_dlopen="LoadLibrary"
                   12205:     lt_cv_dlopen_libs=
                   12206:     ;;
                   12207: 
                   12208:   cygwin*)
                   12209:     lt_cv_dlopen="dlopen"
                   12210:     lt_cv_dlopen_libs=
                   12211:     ;;
                   12212: 
                   12213:   darwin*)
                   12214:   # if libdl is installed we need to link against it
1.150     moko     12215:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12216: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12217: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12218:   $as_echo_n "(cached) " >&6
1.128     moko     12219: else
                   12220:   ac_check_lib_save_LIBS=$LIBS
                   12221: LIBS="-ldl  $LIBS"
1.150     moko     12222: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12223: /* end confdefs.h.  */
                   12224: 
1.150     moko     12225: /* Override any GCC internal prototype to avoid an error.
                   12226:    Use char because int might match the return type of a GCC
                   12227:    builtin and then its argument prototype would still apply.  */
1.128     moko     12228: #ifdef __cplusplus
                   12229: extern "C"
                   12230: #endif
                   12231: char dlopen ();
                   12232: int
                   12233: main ()
                   12234: {
1.150     moko     12235: return dlopen ();
1.128     moko     12236:   ;
                   12237:   return 0;
                   12238: }
                   12239: _ACEOF
1.150     moko     12240: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12241:   ac_cv_lib_dl_dlopen=yes
                   12242: else
1.150     moko     12243:   ac_cv_lib_dl_dlopen=no
1.128     moko     12244: fi
1.150     moko     12245: rm -f core conftest.err conftest.$ac_objext \
                   12246:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12247: LIBS=$ac_check_lib_save_LIBS
                   12248: fi
1.150     moko     12249: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12250: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12251: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12252:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12253: else
                   12254: 
                   12255:     lt_cv_dlopen="dyld"
                   12256:     lt_cv_dlopen_libs=
                   12257:     lt_cv_dlopen_self=yes
                   12258: 
                   12259: fi
                   12260: 
                   12261:     ;;
                   12262: 
                   12263:   *)
1.150     moko     12264:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12265: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12266:   lt_cv_dlopen="shl_load"
                   12267: else
1.150     moko     12268:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12269: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12270: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12271:   $as_echo_n "(cached) " >&6
1.128     moko     12272: else
                   12273:   ac_check_lib_save_LIBS=$LIBS
                   12274: LIBS="-ldld  $LIBS"
1.150     moko     12275: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12276: /* end confdefs.h.  */
                   12277: 
1.150     moko     12278: /* Override any GCC internal prototype to avoid an error.
                   12279:    Use char because int might match the return type of a GCC
                   12280:    builtin and then its argument prototype would still apply.  */
1.128     moko     12281: #ifdef __cplusplus
                   12282: extern "C"
                   12283: #endif
                   12284: char shl_load ();
                   12285: int
                   12286: main ()
                   12287: {
1.150     moko     12288: return shl_load ();
1.128     moko     12289:   ;
                   12290:   return 0;
                   12291: }
                   12292: _ACEOF
1.150     moko     12293: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12294:   ac_cv_lib_dld_shl_load=yes
                   12295: else
1.150     moko     12296:   ac_cv_lib_dld_shl_load=no
1.128     moko     12297: fi
1.150     moko     12298: rm -f core conftest.err conftest.$ac_objext \
                   12299:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12300: LIBS=$ac_check_lib_save_LIBS
                   12301: fi
1.150     moko     12302: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12303: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   12304: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12305:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12306: else
1.150     moko     12307:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   12308: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12309:   lt_cv_dlopen="dlopen"
                   12310: else
1.150     moko     12311:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12312: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12313: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12314:   $as_echo_n "(cached) " >&6
1.128     moko     12315: else
                   12316:   ac_check_lib_save_LIBS=$LIBS
                   12317: LIBS="-ldl  $LIBS"
1.150     moko     12318: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12319: /* end confdefs.h.  */
                   12320: 
1.150     moko     12321: /* Override any GCC internal prototype to avoid an error.
                   12322:    Use char because int might match the return type of a GCC
                   12323:    builtin and then its argument prototype would still apply.  */
1.128     moko     12324: #ifdef __cplusplus
                   12325: extern "C"
                   12326: #endif
                   12327: char dlopen ();
                   12328: int
                   12329: main ()
                   12330: {
1.150     moko     12331: return dlopen ();
1.128     moko     12332:   ;
                   12333:   return 0;
                   12334: }
                   12335: _ACEOF
1.150     moko     12336: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12337:   ac_cv_lib_dl_dlopen=yes
                   12338: else
1.150     moko     12339:   ac_cv_lib_dl_dlopen=no
1.128     moko     12340: fi
1.150     moko     12341: rm -f core conftest.err conftest.$ac_objext \
                   12342:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12343: LIBS=$ac_check_lib_save_LIBS
                   12344: fi
1.150     moko     12345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12346: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12347: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12348:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12349: else
1.150     moko     12350:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12351: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   12352: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   12353:   $as_echo_n "(cached) " >&6
1.128     moko     12354: else
                   12355:   ac_check_lib_save_LIBS=$LIBS
                   12356: LIBS="-lsvld  $LIBS"
1.150     moko     12357: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12358: /* end confdefs.h.  */
                   12359: 
1.150     moko     12360: /* Override any GCC internal prototype to avoid an error.
                   12361:    Use char because int might match the return type of a GCC
                   12362:    builtin and then its argument prototype would still apply.  */
1.128     moko     12363: #ifdef __cplusplus
                   12364: extern "C"
                   12365: #endif
                   12366: char dlopen ();
                   12367: int
                   12368: main ()
                   12369: {
1.150     moko     12370: return dlopen ();
1.128     moko     12371:   ;
                   12372:   return 0;
                   12373: }
                   12374: _ACEOF
1.150     moko     12375: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12376:   ac_cv_lib_svld_dlopen=yes
                   12377: else
1.150     moko     12378:   ac_cv_lib_svld_dlopen=no
1.128     moko     12379: fi
1.150     moko     12380: rm -f core conftest.err conftest.$ac_objext \
                   12381:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12382: LIBS=$ac_check_lib_save_LIBS
                   12383: fi
1.150     moko     12384: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12385: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   12386: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12387:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12388: else
1.150     moko     12389:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12390: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   12391: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   12392:   $as_echo_n "(cached) " >&6
1.128     moko     12393: else
                   12394:   ac_check_lib_save_LIBS=$LIBS
                   12395: LIBS="-ldld  $LIBS"
1.150     moko     12396: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12397: /* end confdefs.h.  */
                   12398: 
1.150     moko     12399: /* Override any GCC internal prototype to avoid an error.
                   12400:    Use char because int might match the return type of a GCC
                   12401:    builtin and then its argument prototype would still apply.  */
1.128     moko     12402: #ifdef __cplusplus
                   12403: extern "C"
                   12404: #endif
                   12405: char dld_link ();
                   12406: int
                   12407: main ()
                   12408: {
1.150     moko     12409: return dld_link ();
1.128     moko     12410:   ;
                   12411:   return 0;
                   12412: }
                   12413: _ACEOF
1.150     moko     12414: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12415:   ac_cv_lib_dld_dld_link=yes
                   12416: else
1.150     moko     12417:   ac_cv_lib_dld_dld_link=no
                   12418: fi
                   12419: rm -f core conftest.err conftest.$ac_objext \
                   12420:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12421: LIBS=$ac_check_lib_save_LIBS
                   12422: fi
1.150     moko     12423: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12424: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   12425: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12426:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12427: fi
                   12428: 
                   12429: 
                   12430: fi
                   12431: 
                   12432: 
                   12433: fi
                   12434: 
                   12435: 
                   12436: fi
                   12437: 
                   12438: 
                   12439: fi
                   12440: 
                   12441: 
                   12442: fi
                   12443: 
                   12444:     ;;
                   12445:   esac
                   12446: 
                   12447:   if test "x$lt_cv_dlopen" != xno; then
                   12448:     enable_dlopen=yes
                   12449:   else
                   12450:     enable_dlopen=no
                   12451:   fi
                   12452: 
                   12453:   case $lt_cv_dlopen in
                   12454:   dlopen)
                   12455:     save_CPPFLAGS="$CPPFLAGS"
                   12456:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12457: 
                   12458:     save_LDFLAGS="$LDFLAGS"
                   12459:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12460: 
                   12461:     save_LIBS="$LIBS"
                   12462:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12463: 
1.150     moko     12464:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   12465: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   12466: if ${lt_cv_dlopen_self+:} false; then :
                   12467:   $as_echo_n "(cached) " >&6
1.128     moko     12468: else
                   12469:          if test "$cross_compiling" = yes; then :
                   12470:   lt_cv_dlopen_self=cross
                   12471: else
                   12472:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12473:   lt_status=$lt_dlunknown
                   12474:   cat > conftest.$ac_ext <<_LT_EOF
                   12475: #line $LINENO "configure"
                   12476: #include "confdefs.h"
                   12477: 
                   12478: #if HAVE_DLFCN_H
                   12479: #include <dlfcn.h>
                   12480: #endif
                   12481: 
                   12482: #include <stdio.h>
                   12483: 
                   12484: #ifdef RTLD_GLOBAL
                   12485: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12486: #else
                   12487: #  ifdef DL_GLOBAL
                   12488: #    define LT_DLGLOBAL                DL_GLOBAL
                   12489: #  else
                   12490: #    define LT_DLGLOBAL                0
                   12491: #  endif
                   12492: #endif
                   12493: 
                   12494: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12495:    find out it does not work in some platform. */
                   12496: #ifndef LT_DLLAZY_OR_NOW
                   12497: #  ifdef RTLD_LAZY
                   12498: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12499: #  else
                   12500: #    ifdef DL_LAZY
                   12501: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12502: #    else
                   12503: #      ifdef RTLD_NOW
                   12504: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12505: #      else
                   12506: #        ifdef DL_NOW
                   12507: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12508: #        else
                   12509: #          define LT_DLLAZY_OR_NOW     0
                   12510: #        endif
                   12511: #      endif
                   12512: #    endif
                   12513: #  endif
                   12514: #endif
                   12515: 
                   12516: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12517:    correspondingly for the symbols needed.  */
                   12518: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12519: int fnord () __attribute__((visibility("default")));
                   12520: #endif
                   12521: 
                   12522: int fnord () { return 42; }
                   12523: int main ()
                   12524: {
                   12525:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12526:   int status = $lt_dlunknown;
                   12527: 
                   12528:   if (self)
                   12529:     {
                   12530:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12531:       else
                   12532:         {
                   12533:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12534:           else puts (dlerror ());
                   12535:        }
                   12536:       /* dlclose (self); */
                   12537:     }
                   12538:   else
                   12539:     puts (dlerror ());
                   12540: 
                   12541:   return status;
                   12542: }
                   12543: _LT_EOF
1.150     moko     12544:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12545:   (eval $ac_link) 2>&5
                   12546:   ac_status=$?
1.150     moko     12547:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12548:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12549:     (./conftest; exit; ) >&5 2>/dev/null
                   12550:     lt_status=$?
                   12551:     case x$lt_status in
                   12552:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12553:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12554:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12555:     esac
                   12556:   else :
                   12557:     # compilation failed
                   12558:     lt_cv_dlopen_self=no
                   12559:   fi
                   12560: fi
                   12561: rm -fr conftest*
                   12562: 
                   12563: 
                   12564: fi
1.150     moko     12565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12566: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     12567: 
                   12568:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12569:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150     moko     12570:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12571: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12572: if ${lt_cv_dlopen_self_static+:} false; then :
                   12573:   $as_echo_n "(cached) " >&6
1.128     moko     12574: else
                   12575:          if test "$cross_compiling" = yes; then :
                   12576:   lt_cv_dlopen_self_static=cross
                   12577: else
                   12578:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12579:   lt_status=$lt_dlunknown
                   12580:   cat > conftest.$ac_ext <<_LT_EOF
                   12581: #line $LINENO "configure"
                   12582: #include "confdefs.h"
                   12583: 
                   12584: #if HAVE_DLFCN_H
                   12585: #include <dlfcn.h>
                   12586: #endif
                   12587: 
                   12588: #include <stdio.h>
                   12589: 
                   12590: #ifdef RTLD_GLOBAL
                   12591: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12592: #else
                   12593: #  ifdef DL_GLOBAL
                   12594: #    define LT_DLGLOBAL                DL_GLOBAL
                   12595: #  else
                   12596: #    define LT_DLGLOBAL                0
                   12597: #  endif
                   12598: #endif
                   12599: 
                   12600: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12601:    find out it does not work in some platform. */
                   12602: #ifndef LT_DLLAZY_OR_NOW
                   12603: #  ifdef RTLD_LAZY
                   12604: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12605: #  else
                   12606: #    ifdef DL_LAZY
                   12607: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12608: #    else
                   12609: #      ifdef RTLD_NOW
                   12610: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12611: #      else
                   12612: #        ifdef DL_NOW
                   12613: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12614: #        else
                   12615: #          define LT_DLLAZY_OR_NOW     0
                   12616: #        endif
                   12617: #      endif
                   12618: #    endif
                   12619: #  endif
                   12620: #endif
                   12621: 
                   12622: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12623:    correspondingly for the symbols needed.  */
                   12624: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12625: int fnord () __attribute__((visibility("default")));
                   12626: #endif
                   12627: 
                   12628: int fnord () { return 42; }
                   12629: int main ()
                   12630: {
                   12631:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12632:   int status = $lt_dlunknown;
                   12633: 
                   12634:   if (self)
                   12635:     {
                   12636:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12637:       else
                   12638:         {
                   12639:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12640:           else puts (dlerror ());
                   12641:        }
                   12642:       /* dlclose (self); */
                   12643:     }
                   12644:   else
                   12645:     puts (dlerror ());
                   12646: 
                   12647:   return status;
                   12648: }
                   12649: _LT_EOF
1.150     moko     12650:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12651:   (eval $ac_link) 2>&5
                   12652:   ac_status=$?
1.150     moko     12653:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12654:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12655:     (./conftest; exit; ) >&5 2>/dev/null
                   12656:     lt_status=$?
                   12657:     case x$lt_status in
                   12658:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12659:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12660:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12661:     esac
                   12662:   else :
                   12663:     # compilation failed
                   12664:     lt_cv_dlopen_self_static=no
                   12665:   fi
                   12666: fi
                   12667: rm -fr conftest*
                   12668: 
                   12669: 
                   12670: fi
1.150     moko     12671: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   12672: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     12673:     fi
                   12674: 
                   12675:     CPPFLAGS="$save_CPPFLAGS"
                   12676:     LDFLAGS="$save_LDFLAGS"
                   12677:     LIBS="$save_LIBS"
                   12678:     ;;
                   12679:   esac
                   12680: 
                   12681:   case $lt_cv_dlopen_self in
                   12682:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12683:   *) enable_dlopen_self=unknown ;;
                   12684:   esac
                   12685: 
                   12686:   case $lt_cv_dlopen_self_static in
                   12687:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12688:   *) enable_dlopen_self_static=unknown ;;
                   12689:   esac
                   12690: fi
                   12691: 
                   12692: 
                   12693: 
                   12694: 
                   12695: 
                   12696: 
                   12697: 
                   12698: 
                   12699: 
                   12700: 
                   12701: 
                   12702: 
                   12703: 
                   12704: 
                   12705: 
                   12706: 
                   12707: 
                   12708: striplib=
                   12709: old_striplib=
1.150     moko     12710: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12711: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     12712: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12713:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12714:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150     moko     12715:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12716: $as_echo "yes" >&6; }
1.128     moko     12717: else
                   12718: # FIXME - insert some real tests, host_os isn't really good enough
                   12719:   case $host_os in
                   12720:   darwin*)
                   12721:     if test -n "$STRIP" ; then
                   12722:       striplib="$STRIP -x"
                   12723:       old_striplib="$STRIP -S"
1.150     moko     12724:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12725: $as_echo "yes" >&6; }
1.128     moko     12726:     else
1.150     moko     12727:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12728: $as_echo "no" >&6; }
1.128     moko     12729:     fi
                   12730:     ;;
                   12731:   *)
1.150     moko     12732:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12733: $as_echo "no" >&6; }
1.128     moko     12734:     ;;
                   12735:   esac
                   12736: fi
                   12737: 
                   12738: 
                   12739: 
                   12740: 
                   12741: 
                   12742: 
                   12743: 
                   12744: 
                   12745: 
                   12746: 
                   12747: 
                   12748: 
                   12749:   # Report which library types will actually be built
1.150     moko     12750:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12751: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12752:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12753: $as_echo "$can_build_shared" >&6; }
1.128     moko     12754: 
1.150     moko     12755:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12756: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     12757:   test "$can_build_shared" = "no" && enable_shared=no
                   12758: 
                   12759:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12760:   # are all built from PIC.
                   12761:   case $host_os in
                   12762:   aix3*)
                   12763:     test "$enable_shared" = yes && enable_static=no
                   12764:     if test -n "$RANLIB"; then
                   12765:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12766:       postinstall_cmds='$RANLIB $lib'
                   12767:     fi
                   12768:     ;;
                   12769: 
                   12770:   aix[4-9]*)
                   12771:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12772:       test "$enable_shared" = yes && enable_static=no
                   12773:     fi
                   12774:     ;;
                   12775:   esac
1.150     moko     12776:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12777: $as_echo "$enable_shared" >&6; }
1.128     moko     12778: 
1.150     moko     12779:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12780: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     12781:   # Make sure either enable_shared or enable_static is yes.
                   12782:   test "$enable_shared" = yes || enable_static=yes
1.150     moko     12783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12784: $as_echo "$enable_static" >&6; }
1.128     moko     12785: 
                   12786: 
                   12787: 
                   12788: 
                   12789: fi
                   12790: ac_ext=c
                   12791: ac_cpp='$CPP $CPPFLAGS'
                   12792: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12793: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12794: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12795: 
                   12796: CC="$lt_save_CC"
                   12797: 
                   12798:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12799:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12800:     (test "X$CXX" != "Xg++"))) ; then
1.150     moko     12801:   ac_ext=cpp
1.128     moko     12802: ac_cpp='$CXXCPP $CPPFLAGS'
                   12803: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12804: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12805: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     12806: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   12807: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     12808: if test -z "$CXXCPP"; then
1.150     moko     12809:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   12810:   $as_echo_n "(cached) " >&6
1.128     moko     12811: else
                   12812:       # Double quotes because CXXCPP needs to be expanded
                   12813:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12814:     do
                   12815:       ac_preproc_ok=false
                   12816: for ac_cxx_preproc_warn_flag in '' yes
                   12817: do
                   12818:   # Use a header file that comes with gcc, so configuring glibc
                   12819:   # with a fresh cross-compiler works.
                   12820:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12821:   # <limits.h> exists even on freestanding compilers.
                   12822:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12823:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     12824:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12825: /* end confdefs.h.  */
                   12826: #ifdef __STDC__
                   12827: # include <limits.h>
                   12828: #else
                   12829: # include <assert.h>
                   12830: #endif
                   12831:                     Syntax error
                   12832: _ACEOF
1.150     moko     12833: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12834: 
1.128     moko     12835: else
                   12836:   # Broken: fails on valid input.
                   12837: continue
                   12838: fi
1.150     moko     12839: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12840: 
1.150     moko     12841:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     12842:   # can be detected and how.
1.150     moko     12843:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12844: /* end confdefs.h.  */
                   12845: #include <ac_nonexistent.h>
                   12846: _ACEOF
1.150     moko     12847: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     12848:   # Broken: success on invalid input.
                   12849: continue
                   12850: else
                   12851:   # Passes both tests.
                   12852: ac_preproc_ok=:
                   12853: break
                   12854: fi
1.150     moko     12855: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12856: 
                   12857: done
                   12858: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     12859: rm -f conftest.i conftest.err conftest.$ac_ext
                   12860: if $ac_preproc_ok; then :
1.128     moko     12861:   break
                   12862: fi
                   12863: 
                   12864:     done
                   12865:     ac_cv_prog_CXXCPP=$CXXCPP
                   12866: 
                   12867: fi
                   12868:   CXXCPP=$ac_cv_prog_CXXCPP
                   12869: else
                   12870:   ac_cv_prog_CXXCPP=$CXXCPP
                   12871: fi
1.150     moko     12872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   12873: $as_echo "$CXXCPP" >&6; }
1.128     moko     12874: ac_preproc_ok=false
                   12875: for ac_cxx_preproc_warn_flag in '' yes
                   12876: do
                   12877:   # Use a header file that comes with gcc, so configuring glibc
                   12878:   # with a fresh cross-compiler works.
                   12879:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12880:   # <limits.h> exists even on freestanding compilers.
                   12881:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12882:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     12883:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12884: /* end confdefs.h.  */
                   12885: #ifdef __STDC__
                   12886: # include <limits.h>
                   12887: #else
                   12888: # include <assert.h>
                   12889: #endif
                   12890:                     Syntax error
                   12891: _ACEOF
1.150     moko     12892: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12893: 
1.128     moko     12894: else
                   12895:   # Broken: fails on valid input.
                   12896: continue
                   12897: fi
1.150     moko     12898: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12899: 
1.150     moko     12900:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     12901:   # can be detected and how.
1.150     moko     12902:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12903: /* end confdefs.h.  */
                   12904: #include <ac_nonexistent.h>
                   12905: _ACEOF
1.150     moko     12906: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     12907:   # Broken: success on invalid input.
                   12908: continue
                   12909: else
                   12910:   # Passes both tests.
                   12911: ac_preproc_ok=:
                   12912: break
                   12913: fi
1.150     moko     12914: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12915: 
                   12916: done
                   12917: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     12918: rm -f conftest.i conftest.err conftest.$ac_ext
                   12919: if $ac_preproc_ok; then :
                   12920: 
1.128     moko     12921: else
1.150     moko     12922:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   12923: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   12924: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   12925: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     12926: fi
                   12927: 
                   12928: ac_ext=c
                   12929: ac_cpp='$CPP $CPPFLAGS'
                   12930: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12931: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12932: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12933: 
                   12934: else
                   12935:   _lt_caught_CXX_error=yes
                   12936: fi
                   12937: 
1.150     moko     12938: ac_ext=cpp
1.128     moko     12939: ac_cpp='$CXXCPP $CPPFLAGS'
                   12940: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12941: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12942: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12943: 
                   12944: archive_cmds_need_lc_CXX=no
                   12945: allow_undefined_flag_CXX=
                   12946: always_export_symbols_CXX=no
                   12947: archive_expsym_cmds_CXX=
                   12948: compiler_needs_object_CXX=no
                   12949: export_dynamic_flag_spec_CXX=
                   12950: hardcode_direct_CXX=no
                   12951: hardcode_direct_absolute_CXX=no
                   12952: hardcode_libdir_flag_spec_CXX=
                   12953: hardcode_libdir_separator_CXX=
                   12954: hardcode_minus_L_CXX=no
                   12955: hardcode_shlibpath_var_CXX=unsupported
                   12956: hardcode_automatic_CXX=no
                   12957: inherit_rpath_CXX=no
                   12958: module_cmds_CXX=
                   12959: module_expsym_cmds_CXX=
                   12960: link_all_deplibs_CXX=unknown
                   12961: old_archive_cmds_CXX=$old_archive_cmds
                   12962: reload_flag_CXX=$reload_flag
                   12963: reload_cmds_CXX=$reload_cmds
                   12964: no_undefined_flag_CXX=
                   12965: whole_archive_flag_spec_CXX=
                   12966: enable_shared_with_static_runtimes_CXX=no
                   12967: 
                   12968: # Source file extension for C++ test sources.
                   12969: ac_ext=cpp
                   12970: 
                   12971: # Object file extension for compiled C++ test sources.
                   12972: objext=o
                   12973: objext_CXX=$objext
                   12974: 
                   12975: # No sense in running all these tests if we already determined that
                   12976: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12977: # are currently assumed to apply to all compilers on this platform,
                   12978: # and will be corrupted by setting them based on a non-working compiler.
                   12979: if test "$_lt_caught_CXX_error" != yes; then
                   12980:   # Code to be used in simple compile tests
                   12981:   lt_simple_compile_test_code="int some_variable = 0;"
                   12982: 
                   12983:   # Code to be used in simple link tests
                   12984:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12985: 
                   12986:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12987: 
                   12988: 
                   12989: 
                   12990: 
                   12991: 
                   12992: 
                   12993: # If no C compiler was specified, use CC.
                   12994: LTCC=${LTCC-"$CC"}
                   12995: 
                   12996: # If no C compiler flags were specified, use CFLAGS.
                   12997: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12998: 
                   12999: # Allow CC to be a program name with arguments.
                   13000: compiler=$CC
                   13001: 
                   13002: 
                   13003:   # save warnings/boilerplate of simple test code
                   13004:   ac_outfile=conftest.$ac_objext
                   13005: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13006: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13007: _lt_compiler_boilerplate=`cat conftest.err`
                   13008: $RM conftest*
                   13009: 
                   13010:   ac_outfile=conftest.$ac_objext
                   13011: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13012: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13013: _lt_linker_boilerplate=`cat conftest.err`
                   13014: $RM -r conftest*
                   13015: 
                   13016: 
                   13017:   # Allow CC to be a program name with arguments.
                   13018:   lt_save_CC=$CC
                   13019:   lt_save_CFLAGS=$CFLAGS
                   13020:   lt_save_LD=$LD
                   13021:   lt_save_GCC=$GCC
                   13022:   GCC=$GXX
                   13023:   lt_save_with_gnu_ld=$with_gnu_ld
                   13024:   lt_save_path_LD=$lt_cv_path_LD
                   13025:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13026:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13027:   else
                   13028:     $as_unset lt_cv_prog_gnu_ld
                   13029:   fi
                   13030:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13031:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13032:   else
                   13033:     $as_unset lt_cv_path_LD
                   13034:   fi
                   13035:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13036:   CC=${CXX-"c++"}
                   13037:   CFLAGS=$CXXFLAGS
                   13038:   compiler=$CC
                   13039:   compiler_CXX=$CC
                   13040:   for cc_temp in $compiler""; do
                   13041:   case $cc_temp in
                   13042:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13043:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13044:     \-*) ;;
                   13045:     *) break;;
                   13046:   esac
                   13047: done
                   13048: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13049: 
                   13050: 
                   13051:   if test -n "$compiler"; then
                   13052:     # We don't want -fno-exception when compiling C++ code, so set the
                   13053:     # no_builtin_flag separately
                   13054:     if test "$GXX" = yes; then
                   13055:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13056:     else
                   13057:       lt_prog_compiler_no_builtin_flag_CXX=
                   13058:     fi
                   13059: 
                   13060:     if test "$GXX" = yes; then
                   13061:       # Set up default GNU C++ configuration
                   13062: 
                   13063: 
                   13064: 
1.150     moko     13065: # Check whether --with-gnu-ld was given.
                   13066: if test "${with_gnu_ld+set}" = set; then :
                   13067:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13068: else
                   13069:   with_gnu_ld=no
1.150     moko     13070: fi
                   13071: 
1.128     moko     13072: ac_prog=ld
                   13073: if test "$GCC" = yes; then
                   13074:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     13075:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13076: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13077:   case $host in
                   13078:   *-*-mingw*)
                   13079:     # gcc leaves a trailing carriage return which upsets mingw
                   13080:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13081:   *)
                   13082:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13083:   esac
                   13084:   case $ac_prog in
                   13085:     # Accept absolute paths.
                   13086:     [\\/]* | ?:[\\/]*)
                   13087:       re_direlt='/[^/][^/]*/\.\./'
                   13088:       # Canonicalize the pathname of ld
                   13089:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13090:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13091:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13092:       done
                   13093:       test -z "$LD" && LD="$ac_prog"
                   13094:       ;;
                   13095:   "")
                   13096:     # If it fails, then pretend we aren't using GCC.
                   13097:     ac_prog=ld
                   13098:     ;;
                   13099:   *)
                   13100:     # If it is relative, then search for the first ld in PATH.
                   13101:     with_gnu_ld=unknown
                   13102:     ;;
                   13103:   esac
                   13104: elif test "$with_gnu_ld" = yes; then
1.150     moko     13105:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13106: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13107: else
1.150     moko     13108:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13109: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13110: fi
1.150     moko     13111: if ${lt_cv_path_LD+:} false; then :
                   13112:   $as_echo_n "(cached) " >&6
1.128     moko     13113: else
                   13114:   if test -z "$LD"; then
                   13115:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13116:   for ac_dir in $PATH; do
                   13117:     IFS="$lt_save_ifs"
                   13118:     test -z "$ac_dir" && ac_dir=.
                   13119:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13120:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13121:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13122:       # but apparently some variants of GNU ld only accept -v.
                   13123:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13124:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13125:       *GNU* | *'with BFD'*)
                   13126:        test "$with_gnu_ld" != no && break
                   13127:        ;;
                   13128:       *)
                   13129:        test "$with_gnu_ld" != yes && break
                   13130:        ;;
                   13131:       esac
                   13132:     fi
                   13133:   done
                   13134:   IFS="$lt_save_ifs"
                   13135: else
                   13136:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13137: fi
                   13138: fi
                   13139: 
                   13140: LD="$lt_cv_path_LD"
                   13141: if test -n "$LD"; then
1.150     moko     13142:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13143: $as_echo "$LD" >&6; }
1.128     moko     13144: else
1.150     moko     13145:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13146: $as_echo "no" >&6; }
1.128     moko     13147: fi
1.150     moko     13148: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   13149: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13150: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   13151: if ${lt_cv_prog_gnu_ld+:} false; then :
                   13152:   $as_echo_n "(cached) " >&6
1.128     moko     13153: else
                   13154:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13155: case `$LD -v 2>&1 </dev/null` in
                   13156: *GNU* | *'with BFD'*)
                   13157:   lt_cv_prog_gnu_ld=yes
                   13158:   ;;
                   13159: *)
                   13160:   lt_cv_prog_gnu_ld=no
                   13161:   ;;
                   13162: esac
                   13163: fi
1.150     moko     13164: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   13165: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13166: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13167: 
                   13168: 
                   13169: 
                   13170: 
                   13171: 
                   13172: 
                   13173: 
                   13174:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13175:       # archiving commands below assume that GNU ld is being used.
                   13176:       if test "$with_gnu_ld" = yes; then
                   13177:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13178:         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'
                   13179: 
                   13180:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13181:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13182: 
                   13183:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13184:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13185:         #     investigate it a little bit more. (MM)
                   13186:         wlarc='${wl}'
                   13187: 
                   13188:         # ancient GNU ld didn't support --whole-archive et. al.
                   13189:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13190:          $GREP 'no-whole-archive' > /dev/null; then
                   13191:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13192:         else
                   13193:           whole_archive_flag_spec_CXX=
                   13194:         fi
                   13195:       else
                   13196:         with_gnu_ld=no
                   13197:         wlarc=
                   13198: 
                   13199:         # A generic and very simple default shared library creation
                   13200:         # command for GNU C++ for the case where it uses the native
                   13201:         # linker, instead of GNU ld.  If possible, this setting should
                   13202:         # overridden to take advantage of the native linker features on
                   13203:         # the platform it is being used on.
                   13204:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13205:       fi
                   13206: 
                   13207:       # Commands to make compiler produce verbose output that lists
                   13208:       # what "hidden" libraries, object files and flags are used when
                   13209:       # linking a shared library.
                   13210:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13211: 
                   13212:     else
                   13213:       GXX=no
                   13214:       with_gnu_ld=no
                   13215:       wlarc=
                   13216:     fi
                   13217: 
                   13218:     # PORTME: fill in a description of your system's C++ link characteristics
1.150     moko     13219:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13220: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13221:     ld_shlibs_CXX=yes
                   13222:     case $host_os in
                   13223:       aix3*)
                   13224:         # FIXME: insert proper C++ library support
                   13225:         ld_shlibs_CXX=no
                   13226:         ;;
                   13227:       aix[4-9]*)
                   13228:         if test "$host_cpu" = ia64; then
                   13229:           # On IA64, the linker does run time linking by default, so we don't
                   13230:           # have to do anything special.
                   13231:           aix_use_runtimelinking=no
                   13232:           exp_sym_flag='-Bexport'
                   13233:           no_entry_flag=""
                   13234:         else
                   13235:           aix_use_runtimelinking=no
                   13236: 
                   13237:           # Test if we are trying to use run time linking or normal
                   13238:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13239:           # need to do runtime linking.
                   13240:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13241:            for ld_flag in $LDFLAGS; do
                   13242:              case $ld_flag in
                   13243:              *-brtl*)
                   13244:                aix_use_runtimelinking=yes
                   13245:                break
                   13246:                ;;
                   13247:              esac
                   13248:            done
                   13249:            ;;
                   13250:           esac
                   13251: 
                   13252:           exp_sym_flag='-bexport'
                   13253:           no_entry_flag='-bnoentry'
                   13254:         fi
                   13255: 
                   13256:         # When large executables or shared objects are built, AIX ld can
                   13257:         # have problems creating the table of contents.  If linking a library
                   13258:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13259:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13260:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13261: 
                   13262:         archive_cmds_CXX=''
                   13263:         hardcode_direct_CXX=yes
                   13264:         hardcode_direct_absolute_CXX=yes
                   13265:         hardcode_libdir_separator_CXX=':'
                   13266:         link_all_deplibs_CXX=yes
                   13267:         file_list_spec_CXX='${wl}-f,'
                   13268: 
                   13269:         if test "$GXX" = yes; then
                   13270:           case $host_os in aix4.[012]|aix4.[012].*)
                   13271:           # We only want to do this on AIX 4.2 and lower, the check
                   13272:           # below for broken collect2 doesn't work under 4.3+
                   13273:          collect2name=`${CC} -print-prog-name=collect2`
                   13274:          if test -f "$collect2name" &&
                   13275:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13276:          then
                   13277:            # We have reworked collect2
                   13278:            :
                   13279:          else
                   13280:            # We have old collect2
                   13281:            hardcode_direct_CXX=unsupported
                   13282:            # It fails to find uninstalled libraries when the uninstalled
                   13283:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13284:            # to unsupported forces relinking
                   13285:            hardcode_minus_L_CXX=yes
                   13286:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13287:            hardcode_libdir_separator_CXX=
                   13288:          fi
                   13289:           esac
                   13290:           shared_flag='-shared'
                   13291:          if test "$aix_use_runtimelinking" = yes; then
                   13292:            shared_flag="$shared_flag "'${wl}-G'
                   13293:          fi
                   13294:         else
                   13295:           # not using gcc
                   13296:           if test "$host_cpu" = ia64; then
                   13297:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13298:          # chokes on -Wl,-G. The following line is correct:
                   13299:          shared_flag='-G'
                   13300:           else
                   13301:            if test "$aix_use_runtimelinking" = yes; then
                   13302:              shared_flag='${wl}-G'
                   13303:            else
                   13304:              shared_flag='${wl}-bM:SRE'
                   13305:            fi
                   13306:           fi
                   13307:         fi
                   13308: 
                   13309:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13310:         # It seems that -bexpall does not export symbols beginning with
                   13311:         # underscore (_), so it is better to generate a list of symbols to
                   13312:        # export.
                   13313:         always_export_symbols_CXX=yes
                   13314:         if test "$aix_use_runtimelinking" = yes; then
                   13315:           # Warning - without using the other runtime loading flags (-brtl),
                   13316:           # -berok will link without error, but may produce a broken library.
                   13317:           allow_undefined_flag_CXX='-berok'
                   13318:           # Determine the default libpath from the value encoded in an empty
                   13319:           # executable.
                   13320:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13321:   aix_libpath=$lt_cv_aix_libpath
                   13322: else
1.150     moko     13323:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13324:   $as_echo_n "(cached) " >&6
1.128     moko     13325: else
1.150     moko     13326:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13327: /* end confdefs.h.  */
                   13328: 
                   13329: int
                   13330: main ()
                   13331: {
                   13332: 
                   13333:   ;
                   13334:   return 0;
                   13335: }
                   13336: _ACEOF
1.150     moko     13337: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13338: 
                   13339:   lt_aix_libpath_sed='
                   13340:       /Import File Strings/,/^$/ {
                   13341:          /^0/ {
                   13342:              s/^0  *\([^ ]*\) *$/\1/
                   13343:              p
                   13344:          }
                   13345:       }'
                   13346:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13347:   # Check for a 64-bit object if we didn't find anything.
                   13348:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13349:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13350:   fi
                   13351: fi
1.150     moko     13352: rm -f core conftest.err conftest.$ac_objext \
                   13353:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13354:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13355:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13356:   fi
                   13357: 
                   13358: fi
                   13359: 
                   13360:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13361: fi
                   13362: 
                   13363:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13364: 
                   13365:           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"
                   13366:         else
                   13367:           if test "$host_cpu" = ia64; then
                   13368:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13369:            allow_undefined_flag_CXX="-z nodefs"
                   13370:            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"
                   13371:           else
                   13372:            # Determine the default libpath from the value encoded in an
                   13373:            # empty executable.
                   13374:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13375:   aix_libpath=$lt_cv_aix_libpath
                   13376: else
1.150     moko     13377:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13378:   $as_echo_n "(cached) " >&6
1.128     moko     13379: else
1.150     moko     13380:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13381: /* end confdefs.h.  */
                   13382: 
                   13383: int
                   13384: main ()
                   13385: {
                   13386: 
                   13387:   ;
                   13388:   return 0;
                   13389: }
                   13390: _ACEOF
1.150     moko     13391: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13392: 
                   13393:   lt_aix_libpath_sed='
                   13394:       /Import File Strings/,/^$/ {
                   13395:          /^0/ {
                   13396:              s/^0  *\([^ ]*\) *$/\1/
                   13397:              p
                   13398:          }
                   13399:       }'
                   13400:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13401:   # Check for a 64-bit object if we didn't find anything.
                   13402:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13403:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13404:   fi
                   13405: fi
1.150     moko     13406: rm -f core conftest.err conftest.$ac_objext \
                   13407:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13408:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13409:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13410:   fi
                   13411: 
                   13412: fi
                   13413: 
                   13414:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13415: fi
                   13416: 
                   13417:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13418:            # Warning - without using the other run time loading flags,
                   13419:            # -berok will link without error, but may produce a broken library.
                   13420:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13421:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13422:            if test "$with_gnu_ld" = yes; then
                   13423:              # We only use this code for GNU lds that support --whole-archive.
                   13424:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13425:            else
                   13426:              # Exported symbols can be pulled into shared objects from archives
                   13427:              whole_archive_flag_spec_CXX='$convenience'
                   13428:            fi
                   13429:            archive_cmds_need_lc_CXX=yes
                   13430:            # This is similar to how AIX traditionally builds its shared
                   13431:            # libraries.
                   13432:            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'
                   13433:           fi
                   13434:         fi
                   13435:         ;;
                   13436: 
                   13437:       beos*)
                   13438:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13439:          allow_undefined_flag_CXX=unsupported
                   13440:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13441:          # support --undefined.  This deserves some investigation.  FIXME
                   13442:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13443:        else
                   13444:          ld_shlibs_CXX=no
                   13445:        fi
                   13446:        ;;
                   13447: 
                   13448:       chorus*)
                   13449:         case $cc_basename in
                   13450:           *)
                   13451:          # FIXME: insert proper C++ library support
                   13452:          ld_shlibs_CXX=no
                   13453:          ;;
                   13454:         esac
                   13455:         ;;
                   13456: 
                   13457:       cygwin* | mingw* | pw32* | cegcc*)
                   13458:        case $GXX,$cc_basename in
                   13459:        ,cl* | no,cl*)
                   13460:          # Native MSVC
                   13461:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13462:          # no search path for DLLs.
                   13463:          hardcode_libdir_flag_spec_CXX=' '
                   13464:          allow_undefined_flag_CXX=unsupported
                   13465:          always_export_symbols_CXX=yes
                   13466:          file_list_spec_CXX='@'
                   13467:          # Tell ltmain to make .lib files, not .a files.
                   13468:          libext=lib
                   13469:          # Tell ltmain to make .dll files, not .so files.
                   13470:          shrext_cmds=".dll"
                   13471:          # FIXME: Setting linknames here is a bad hack.
                   13472:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13473:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13474:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13475:            else
                   13476:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13477:            fi~
                   13478:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13479:            linknames='
                   13480:          # The linker will not automatically build a static lib if we build a DLL.
                   13481:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13482:          enable_shared_with_static_runtimes_CXX=yes
                   13483:          # Don't use ranlib
                   13484:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13485:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13486:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13487:            case $lt_outputfile in
                   13488:              *.exe|*.EXE) ;;
                   13489:              *)
                   13490:                lt_outputfile="$lt_outputfile.exe"
                   13491:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13492:                ;;
                   13493:            esac~
                   13494:            func_to_tool_file "$lt_outputfile"~
                   13495:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13496:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13497:              $RM "$lt_outputfile.manifest";
                   13498:            fi'
                   13499:          ;;
                   13500:        *)
                   13501:          # g++
                   13502:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13503:          # as there is no search path for DLLs.
                   13504:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13505:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13506:          allow_undefined_flag_CXX=unsupported
                   13507:          always_export_symbols_CXX=no
                   13508:          enable_shared_with_static_runtimes_CXX=yes
                   13509: 
                   13510:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13511:            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'
                   13512:            # If the export-symbols file already is a .def file (1st line
                   13513:            # is EXPORTS), use it as is; otherwise, prepend...
                   13514:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13515:              cp $export_symbols $output_objdir/$soname.def;
                   13516:            else
                   13517:              echo EXPORTS > $output_objdir/$soname.def;
                   13518:              cat $export_symbols >> $output_objdir/$soname.def;
                   13519:            fi~
                   13520:            $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'
                   13521:          else
                   13522:            ld_shlibs_CXX=no
                   13523:          fi
                   13524:          ;;
                   13525:        esac
                   13526:        ;;
                   13527:       darwin* | rhapsody*)
                   13528: 
                   13529: 
                   13530:   archive_cmds_need_lc_CXX=no
                   13531:   hardcode_direct_CXX=no
                   13532:   hardcode_automatic_CXX=yes
                   13533:   hardcode_shlibpath_var_CXX=unsupported
                   13534:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13535:     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\"`'
                   13536: 
                   13537:   else
                   13538:     whole_archive_flag_spec_CXX=''
                   13539:   fi
                   13540:   link_all_deplibs_CXX=yes
                   13541:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13542:   case $cc_basename in
                   13543:      ifort*) _lt_dar_can_shared=yes ;;
                   13544:      *) _lt_dar_can_shared=$GCC ;;
                   13545:   esac
                   13546:   if test "$_lt_dar_can_shared" = "yes"; then
                   13547:     output_verbose_link_cmd=func_echo_all
                   13548:     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}"
                   13549:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13550:     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}"
                   13551:     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}"
                   13552:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13553:       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}"
                   13554:       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}"
                   13555:     fi
                   13556: 
                   13557:   else
                   13558:   ld_shlibs_CXX=no
                   13559:   fi
                   13560: 
                   13561:        ;;
                   13562: 
                   13563:       dgux*)
                   13564:         case $cc_basename in
                   13565:           ec++*)
                   13566:            # FIXME: insert proper C++ library support
                   13567:            ld_shlibs_CXX=no
                   13568:            ;;
                   13569:           ghcx*)
                   13570:            # Green Hills C++ Compiler
                   13571:            # FIXME: insert proper C++ library support
                   13572:            ld_shlibs_CXX=no
                   13573:            ;;
                   13574:           *)
                   13575:            # FIXME: insert proper C++ library support
                   13576:            ld_shlibs_CXX=no
                   13577:            ;;
                   13578:         esac
                   13579:         ;;
                   13580: 
                   13581:       freebsd2.*)
                   13582:         # C++ shared libraries reported to be fairly broken before
                   13583:        # switch to ELF
                   13584:         ld_shlibs_CXX=no
                   13585:         ;;
                   13586: 
                   13587:       freebsd-elf*)
                   13588:         archive_cmds_need_lc_CXX=no
                   13589:         ;;
                   13590: 
                   13591:       freebsd* | dragonfly*)
                   13592:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13593:         # conventions
                   13594:         ld_shlibs_CXX=yes
                   13595:         ;;
                   13596: 
                   13597:       gnu*)
                   13598:         ;;
                   13599: 
                   13600:       haiku*)
                   13601:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13602:         link_all_deplibs_CXX=yes
                   13603:         ;;
                   13604: 
                   13605:       hpux9*)
                   13606:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13607:         hardcode_libdir_separator_CXX=:
                   13608:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13609:         hardcode_direct_CXX=yes
                   13610:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13611:                                             # but as the default
                   13612:                                             # location of the library.
                   13613: 
                   13614:         case $cc_basename in
                   13615:           CC*)
                   13616:             # FIXME: insert proper C++ library support
                   13617:             ld_shlibs_CXX=no
                   13618:             ;;
                   13619:           aCC*)
                   13620:             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'
                   13621:             # Commands to make compiler produce verbose output that lists
                   13622:             # what "hidden" libraries, object files and flags are used when
                   13623:             # linking a shared library.
                   13624:             #
                   13625:             # There doesn't appear to be a way to prevent this compiler from
                   13626:             # explicitly linking system object files so we need to strip them
                   13627:             # from the output so that they don't get included in the library
                   13628:             # dependencies.
                   13629:             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"'
                   13630:             ;;
                   13631:           *)
                   13632:             if test "$GXX" = yes; then
                   13633:               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'
                   13634:             else
                   13635:               # FIXME: insert proper C++ library support
                   13636:               ld_shlibs_CXX=no
                   13637:             fi
                   13638:             ;;
                   13639:         esac
                   13640:         ;;
                   13641: 
                   13642:       hpux10*|hpux11*)
                   13643:         if test $with_gnu_ld = no; then
                   13644:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13645:          hardcode_libdir_separator_CXX=:
                   13646: 
                   13647:           case $host_cpu in
                   13648:             hppa*64*|ia64*)
                   13649:               ;;
                   13650:             *)
                   13651:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13652:               ;;
                   13653:           esac
                   13654:         fi
                   13655:         case $host_cpu in
                   13656:           hppa*64*|ia64*)
                   13657:             hardcode_direct_CXX=no
                   13658:             hardcode_shlibpath_var_CXX=no
                   13659:             ;;
                   13660:           *)
                   13661:             hardcode_direct_CXX=yes
                   13662:             hardcode_direct_absolute_CXX=yes
                   13663:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13664:                                                 # but as the default
                   13665:                                                 # location of the library.
                   13666:             ;;
                   13667:         esac
                   13668: 
                   13669:         case $cc_basename in
                   13670:           CC*)
                   13671:            # FIXME: insert proper C++ library support
                   13672:            ld_shlibs_CXX=no
                   13673:            ;;
                   13674:           aCC*)
                   13675:            case $host_cpu in
                   13676:              hppa*64*)
                   13677:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13678:                ;;
                   13679:              ia64*)
                   13680:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13681:                ;;
                   13682:              *)
                   13683:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13684:                ;;
                   13685:            esac
                   13686:            # Commands to make compiler produce verbose output that lists
                   13687:            # what "hidden" libraries, object files and flags are used when
                   13688:            # linking a shared library.
                   13689:            #
                   13690:            # There doesn't appear to be a way to prevent this compiler from
                   13691:            # explicitly linking system object files so we need to strip them
                   13692:            # from the output so that they don't get included in the library
                   13693:            # dependencies.
                   13694:            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"'
                   13695:            ;;
                   13696:           *)
                   13697:            if test "$GXX" = yes; then
                   13698:              if test $with_gnu_ld = no; then
                   13699:                case $host_cpu in
                   13700:                  hppa*64*)
                   13701:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13702:                    ;;
                   13703:                  ia64*)
                   13704:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13705:                    ;;
                   13706:                  *)
                   13707:                    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'
                   13708:                    ;;
                   13709:                esac
                   13710:              fi
                   13711:            else
                   13712:              # FIXME: insert proper C++ library support
                   13713:              ld_shlibs_CXX=no
                   13714:            fi
                   13715:            ;;
                   13716:         esac
                   13717:         ;;
                   13718: 
                   13719:       interix[3-9]*)
                   13720:        hardcode_direct_CXX=no
                   13721:        hardcode_shlibpath_var_CXX=no
                   13722:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13723:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13724:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13725:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13726:        # default) and relocated if they conflict, which is a slow very memory
                   13727:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13728:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13729:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13730:        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'
                   13731:        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'
                   13732:        ;;
                   13733:       irix5* | irix6*)
                   13734:         case $cc_basename in
                   13735:           CC*)
                   13736:            # SGI C++
                   13737:            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'
                   13738: 
                   13739:            # Archives containing C++ object files must be created using
                   13740:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13741:            # necessary to make sure instantiated templates are included
                   13742:            # in the archive.
                   13743:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13744:            ;;
                   13745:           *)
                   13746:            if test "$GXX" = yes; then
                   13747:              if test "$with_gnu_ld" = no; then
                   13748:                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'
                   13749:              else
                   13750:                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'
                   13751:              fi
                   13752:            fi
                   13753:            link_all_deplibs_CXX=yes
                   13754:            ;;
                   13755:         esac
                   13756:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13757:         hardcode_libdir_separator_CXX=:
                   13758:         inherit_rpath_CXX=yes
                   13759:         ;;
                   13760: 
                   13761:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13762:         case $cc_basename in
                   13763:           KCC*)
                   13764:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13765: 
                   13766:            # KCC will only create a shared library if the output file
                   13767:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13768:            # to its proper name (with version) after linking.
                   13769:            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'
                   13770:            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'
                   13771:            # Commands to make compiler produce verbose output that lists
                   13772:            # what "hidden" libraries, object files and flags are used when
                   13773:            # linking a shared library.
                   13774:            #
                   13775:            # There doesn't appear to be a way to prevent this compiler from
                   13776:            # explicitly linking system object files so we need to strip them
                   13777:            # from the output so that they don't get included in the library
                   13778:            # dependencies.
                   13779:            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"'
                   13780: 
                   13781:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13782:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13783: 
                   13784:            # Archives containing C++ object files must be created using
                   13785:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13786:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13787:            ;;
                   13788:          icpc* | ecpc* )
                   13789:            # Intel C++
                   13790:            with_gnu_ld=yes
                   13791:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13792:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13793:            # earlier do not add the objects themselves.
                   13794:            case `$CC -V 2>&1` in
                   13795:              *"Version 7."*)
                   13796:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13797:                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'
                   13798:                ;;
                   13799:              *)  # Version 8.0 or newer
                   13800:                tmp_idyn=
                   13801:                case $host_cpu in
                   13802:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13803:                esac
                   13804:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13805:                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'
                   13806:                ;;
                   13807:            esac
                   13808:            archive_cmds_need_lc_CXX=no
                   13809:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13810:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13811:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13812:            ;;
                   13813:           pgCC* | pgcpp*)
                   13814:             # Portland Group C++ compiler
                   13815:            case `$CC -V` in
                   13816:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13817:              prelink_cmds_CXX='tpldir=Template.dir~
                   13818:                rm -rf $tpldir~
                   13819:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13820:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13821:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13822:                rm -rf $tpldir~
                   13823:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13824:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13825:                $RANLIB $oldlib'
                   13826:              archive_cmds_CXX='tpldir=Template.dir~
                   13827:                rm -rf $tpldir~
                   13828:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13829:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13830:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13831:                rm -rf $tpldir~
                   13832:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13833:                $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'
                   13834:              ;;
                   13835:            *) # Version 6 and above use weak symbols
                   13836:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13837:              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'
                   13838:              ;;
                   13839:            esac
                   13840: 
                   13841:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13842:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13843:            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'
                   13844:             ;;
                   13845:          cxx*)
                   13846:            # Compaq C++
                   13847:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13848:            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'
                   13849: 
                   13850:            runpath_var=LD_RUN_PATH
                   13851:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13852:            hardcode_libdir_separator_CXX=:
                   13853: 
                   13854:            # Commands to make compiler produce verbose output that lists
                   13855:            # what "hidden" libraries, object files and flags are used when
                   13856:            # linking a shared library.
                   13857:            #
                   13858:            # There doesn't appear to be a way to prevent this compiler from
                   13859:            # explicitly linking system object files so we need to strip them
                   13860:            # from the output so that they don't get included in the library
                   13861:            # dependencies.
                   13862:            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'
                   13863:            ;;
                   13864:          xl* | mpixl* | bgxl*)
                   13865:            # IBM XL 8.0 on PPC, with GNU ld
                   13866:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13867:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13868:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13869:            if test "x$supports_anon_versioning" = xyes; then
                   13870:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13871:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13872:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13873:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13874:            fi
                   13875:            ;;
                   13876:          *)
                   13877:            case `$CC -V 2>&1 | sed 5q` in
                   13878:            *Sun\ C*)
                   13879:              # Sun C++ 5.9
                   13880:              no_undefined_flag_CXX=' -zdefs'
                   13881:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13882:              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'
                   13883:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13884:              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'
                   13885:              compiler_needs_object_CXX=yes
                   13886: 
                   13887:              # Not sure whether something based on
                   13888:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13889:              # would be better.
                   13890:              output_verbose_link_cmd='func_echo_all'
                   13891: 
                   13892:              # Archives containing C++ object files must be created using
                   13893:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13894:              # necessary to make sure instantiated templates are included
                   13895:              # in the archive.
                   13896:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13897:              ;;
                   13898:            esac
                   13899:            ;;
                   13900:        esac
                   13901:        ;;
                   13902: 
                   13903:       lynxos*)
                   13904:         # FIXME: insert proper C++ library support
                   13905:        ld_shlibs_CXX=no
                   13906:        ;;
                   13907: 
                   13908:       m88k*)
                   13909:         # FIXME: insert proper C++ library support
                   13910:         ld_shlibs_CXX=no
                   13911:        ;;
                   13912: 
                   13913:       mvs*)
                   13914:         case $cc_basename in
                   13915:           cxx*)
                   13916:            # FIXME: insert proper C++ library support
                   13917:            ld_shlibs_CXX=no
                   13918:            ;;
                   13919:          *)
                   13920:            # FIXME: insert proper C++ library support
                   13921:            ld_shlibs_CXX=no
                   13922:            ;;
                   13923:        esac
                   13924:        ;;
                   13925: 
                   13926:       netbsd*)
                   13927:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13928:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13929:          wlarc=
                   13930:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13931:          hardcode_direct_CXX=yes
                   13932:          hardcode_shlibpath_var_CXX=no
                   13933:        fi
                   13934:        # Workaround some broken pre-1.5 toolchains
                   13935:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13936:        ;;
                   13937: 
                   13938:       *nto* | *qnx*)
                   13939:         ld_shlibs_CXX=yes
                   13940:        ;;
                   13941: 
                   13942:       openbsd2*)
                   13943:         # C++ shared libraries are fairly broken
                   13944:        ld_shlibs_CXX=no
                   13945:        ;;
                   13946: 
                   13947:       openbsd*)
                   13948:        if test -f /usr/libexec/ld.so; then
                   13949:          hardcode_direct_CXX=yes
                   13950:          hardcode_shlibpath_var_CXX=no
                   13951:          hardcode_direct_absolute_CXX=yes
                   13952:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13953:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13954:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13955:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13956:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13957:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13958:          fi
                   13959:          output_verbose_link_cmd=func_echo_all
                   13960:        else
                   13961:          ld_shlibs_CXX=no
                   13962:        fi
                   13963:        ;;
                   13964: 
                   13965:       osf3* | osf4* | osf5*)
                   13966:         case $cc_basename in
                   13967:           KCC*)
                   13968:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13969: 
                   13970:            # KCC will only create a shared library if the output file
                   13971:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13972:            # to its proper name (with version) after linking.
                   13973:            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'
                   13974: 
                   13975:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13976:            hardcode_libdir_separator_CXX=:
                   13977: 
                   13978:            # Archives containing C++ object files must be created using
                   13979:            # the KAI C++ compiler.
                   13980:            case $host in
                   13981:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13982:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13983:            esac
                   13984:            ;;
                   13985:           RCC*)
                   13986:            # Rational C++ 2.4.1
                   13987:            # FIXME: insert proper C++ library support
                   13988:            ld_shlibs_CXX=no
                   13989:            ;;
                   13990:           cxx*)
                   13991:            case $host in
                   13992:              osf3*)
                   13993:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13994:                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'
                   13995:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13996:                ;;
                   13997:              *)
                   13998:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13999:                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'
                   14000:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14001:                  echo "-hidden">> $lib.exp~
                   14002:                  $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~
                   14003:                  $RM $lib.exp'
                   14004:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14005:                ;;
                   14006:            esac
                   14007: 
                   14008:            hardcode_libdir_separator_CXX=:
                   14009: 
                   14010:            # Commands to make compiler produce verbose output that lists
                   14011:            # what "hidden" libraries, object files and flags are used when
                   14012:            # linking a shared library.
                   14013:            #
                   14014:            # There doesn't appear to be a way to prevent this compiler from
                   14015:            # explicitly linking system object files so we need to strip them
                   14016:            # from the output so that they don't get included in the library
                   14017:            # dependencies.
                   14018:            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"'
                   14019:            ;;
                   14020:          *)
                   14021:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14022:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14023:              case $host in
                   14024:                osf3*)
                   14025:                  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'
                   14026:                  ;;
                   14027:                *)
                   14028:                  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'
                   14029:                  ;;
                   14030:              esac
                   14031: 
                   14032:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14033:              hardcode_libdir_separator_CXX=:
                   14034: 
                   14035:              # Commands to make compiler produce verbose output that lists
                   14036:              # what "hidden" libraries, object files and flags are used when
                   14037:              # linking a shared library.
                   14038:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14039: 
                   14040:            else
                   14041:              # FIXME: insert proper C++ library support
                   14042:              ld_shlibs_CXX=no
                   14043:            fi
                   14044:            ;;
                   14045:         esac
                   14046:         ;;
                   14047: 
                   14048:       psos*)
                   14049:         # FIXME: insert proper C++ library support
                   14050:         ld_shlibs_CXX=no
                   14051:         ;;
                   14052: 
                   14053:       sunos4*)
                   14054:         case $cc_basename in
                   14055:           CC*)
                   14056:            # Sun C++ 4.x
                   14057:            # FIXME: insert proper C++ library support
                   14058:            ld_shlibs_CXX=no
                   14059:            ;;
                   14060:           lcc*)
                   14061:            # Lucid
                   14062:            # FIXME: insert proper C++ library support
                   14063:            ld_shlibs_CXX=no
                   14064:            ;;
                   14065:           *)
                   14066:            # FIXME: insert proper C++ library support
                   14067:            ld_shlibs_CXX=no
                   14068:            ;;
                   14069:         esac
                   14070:         ;;
                   14071: 
                   14072:       solaris*)
                   14073:         case $cc_basename in
                   14074:           CC* | sunCC*)
                   14075:            # Sun C++ 4.2, 5.x and Centerline C++
                   14076:             archive_cmds_need_lc_CXX=yes
                   14077:            no_undefined_flag_CXX=' -zdefs'
                   14078:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14079:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14080:              $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'
                   14081: 
                   14082:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14083:            hardcode_shlibpath_var_CXX=no
                   14084:            case $host_os in
                   14085:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14086:              *)
                   14087:                # The compiler driver will combine and reorder linker options,
                   14088:                # but understands `-z linker_flag'.
                   14089:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14090:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14091:                ;;
                   14092:            esac
                   14093:            link_all_deplibs_CXX=yes
                   14094: 
                   14095:            output_verbose_link_cmd='func_echo_all'
                   14096: 
                   14097:            # Archives containing C++ object files must be created using
                   14098:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14099:            # necessary to make sure instantiated templates are included
                   14100:            # in the archive.
                   14101:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14102:            ;;
                   14103:           gcx*)
                   14104:            # Green Hills C++ Compiler
                   14105:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14106: 
                   14107:            # The C++ compiler must be used to create the archive.
                   14108:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14109:            ;;
                   14110:           *)
                   14111:            # GNU C++ compiler with Solaris linker
                   14112:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14113:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14114:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14115:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14116:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14117:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14118: 
                   14119:                # Commands to make compiler produce verbose output that lists
                   14120:                # what "hidden" libraries, object files and flags are used when
                   14121:                # linking a shared library.
                   14122:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14123:              else
                   14124:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14125:                # platform.
                   14126:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14127:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14128:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14129: 
                   14130:                # Commands to make compiler produce verbose output that lists
                   14131:                # what "hidden" libraries, object files and flags are used when
                   14132:                # linking a shared library.
                   14133:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14134:              fi
                   14135: 
                   14136:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14137:              case $host_os in
                   14138:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14139:                *)
                   14140:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14141:                  ;;
                   14142:              esac
                   14143:            fi
                   14144:            ;;
                   14145:         esac
                   14146:         ;;
                   14147: 
                   14148:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14149:       no_undefined_flag_CXX='${wl}-z,text'
                   14150:       archive_cmds_need_lc_CXX=no
                   14151:       hardcode_shlibpath_var_CXX=no
                   14152:       runpath_var='LD_RUN_PATH'
                   14153: 
                   14154:       case $cc_basename in
                   14155:         CC*)
                   14156:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14157:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14158:          ;;
                   14159:        *)
                   14160:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14161:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14162:          ;;
                   14163:       esac
                   14164:       ;;
                   14165: 
                   14166:       sysv5* | sco3.2v5* | sco5v6*)
                   14167:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14168:        # link with -lc, and that would cause any symbols used from libc to
                   14169:        # always be unresolved, which means just about no library would
                   14170:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14171:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14172:        # as -z defs.
                   14173:        no_undefined_flag_CXX='${wl}-z,text'
                   14174:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14175:        archive_cmds_need_lc_CXX=no
                   14176:        hardcode_shlibpath_var_CXX=no
                   14177:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14178:        hardcode_libdir_separator_CXX=':'
                   14179:        link_all_deplibs_CXX=yes
                   14180:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14181:        runpath_var='LD_RUN_PATH'
                   14182: 
                   14183:        case $cc_basename in
                   14184:           CC*)
                   14185:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14186:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14187:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14188:              '"$old_archive_cmds_CXX"
                   14189:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14190:              '"$reload_cmds_CXX"
                   14191:            ;;
                   14192:          *)
                   14193:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14194:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14195:            ;;
                   14196:        esac
                   14197:       ;;
                   14198: 
                   14199:       tandem*)
                   14200:         case $cc_basename in
                   14201:           NCC*)
                   14202:            # NonStop-UX NCC 3.20
                   14203:            # FIXME: insert proper C++ library support
                   14204:            ld_shlibs_CXX=no
                   14205:            ;;
                   14206:           *)
                   14207:            # FIXME: insert proper C++ library support
                   14208:            ld_shlibs_CXX=no
                   14209:            ;;
                   14210:         esac
                   14211:         ;;
                   14212: 
                   14213:       vxworks*)
                   14214:         # FIXME: insert proper C++ library support
                   14215:         ld_shlibs_CXX=no
                   14216:         ;;
                   14217: 
                   14218:       *)
                   14219:         # FIXME: insert proper C++ library support
                   14220:         ld_shlibs_CXX=no
                   14221:         ;;
                   14222:     esac
                   14223: 
1.150     moko     14224:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14225: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14226:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14227: 
                   14228:     GCC_CXX="$GXX"
                   14229:     LD_CXX="$LD"
                   14230: 
                   14231:     ## CAVEAT EMPTOR:
                   14232:     ## There is no encapsulation within the following macros, do not change
                   14233:     ## the running order or otherwise move them around unless you know exactly
                   14234:     ## what you are doing...
                   14235:     # Dependencies to place before and after the object being linked:
                   14236: predep_objects_CXX=
                   14237: postdep_objects_CXX=
                   14238: predeps_CXX=
                   14239: postdeps_CXX=
                   14240: compiler_lib_search_path_CXX=
                   14241: 
                   14242: cat > conftest.$ac_ext <<_LT_EOF
                   14243: class Foo
                   14244: {
                   14245: public:
                   14246:   Foo (void) { a = 0; }
                   14247: private:
                   14248:   int a;
                   14249: };
                   14250: _LT_EOF
                   14251: 
                   14252: 
                   14253: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14254: case "$CC $CFLAGS " in #(
                   14255: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14256: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14257: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14258: esac
                   14259: 
1.150     moko     14260: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14261:   (eval $ac_compile) 2>&5
                   14262:   ac_status=$?
1.150     moko     14263:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14264:   test $ac_status = 0; }; then
1.128     moko     14265:   # Parse the compiler output and extract the necessary
                   14266:   # objects, libraries and library flags.
                   14267: 
                   14268:   # Sentinel used to keep track of whether or not we are before
                   14269:   # the conftest object file.
                   14270:   pre_test_object_deps_done=no
                   14271: 
                   14272:   for p in `eval "$output_verbose_link_cmd"`; do
                   14273:     case ${prev}${p} in
                   14274: 
                   14275:     -L* | -R* | -l*)
                   14276:        # Some compilers place space between "-{L,R}" and the path.
                   14277:        # Remove the space.
                   14278:        if test $p = "-L" ||
                   14279:           test $p = "-R"; then
                   14280:         prev=$p
                   14281:         continue
                   14282:        fi
                   14283: 
                   14284:        # Expand the sysroot to ease extracting the directories later.
                   14285:        if test -z "$prev"; then
                   14286:          case $p in
                   14287:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14288:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14289:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14290:          esac
                   14291:        fi
                   14292:        case $p in
                   14293:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14294:        esac
                   14295:        if test "$pre_test_object_deps_done" = no; then
                   14296:         case ${prev} in
                   14297:         -L | -R)
                   14298:           # Internal compiler library paths should come after those
                   14299:           # provided the user.  The postdeps already come after the
                   14300:           # user supplied libs so there is no need to process them.
                   14301:           if test -z "$compiler_lib_search_path_CXX"; then
                   14302:             compiler_lib_search_path_CXX="${prev}${p}"
                   14303:           else
                   14304:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14305:           fi
                   14306:           ;;
                   14307:         # The "-l" case would never come before the object being
                   14308:         # linked, so don't bother handling this case.
                   14309:         esac
                   14310:        else
                   14311:         if test -z "$postdeps_CXX"; then
                   14312:           postdeps_CXX="${prev}${p}"
                   14313:         else
                   14314:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14315:         fi
                   14316:        fi
                   14317:        prev=
                   14318:        ;;
                   14319: 
                   14320:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14321:     *.$objext)
                   14322:        # This assumes that the test object file only shows up
                   14323:        # once in the compiler output.
                   14324:        if test "$p" = "conftest.$objext"; then
                   14325:         pre_test_object_deps_done=yes
                   14326:         continue
                   14327:        fi
                   14328: 
                   14329:        if test "$pre_test_object_deps_done" = no; then
                   14330:         if test -z "$predep_objects_CXX"; then
                   14331:           predep_objects_CXX="$p"
                   14332:         else
                   14333:           predep_objects_CXX="$predep_objects_CXX $p"
                   14334:         fi
                   14335:        else
                   14336:         if test -z "$postdep_objects_CXX"; then
                   14337:           postdep_objects_CXX="$p"
                   14338:         else
                   14339:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14340:         fi
                   14341:        fi
                   14342:        ;;
                   14343: 
                   14344:     *) ;; # Ignore the rest.
                   14345: 
                   14346:     esac
                   14347:   done
                   14348: 
                   14349:   # Clean up.
                   14350:   rm -f a.out a.exe
                   14351: else
                   14352:   echo "libtool.m4: error: problem compiling CXX test program"
                   14353: fi
                   14354: 
                   14355: $RM -f confest.$objext
                   14356: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14357: 
                   14358: # PORTME: override above test on systems where it is broken
                   14359: case $host_os in
                   14360: interix[3-9]*)
                   14361:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14362:   # hack all around it, let's just trust "g++" to DTRT.
                   14363:   predep_objects_CXX=
                   14364:   postdep_objects_CXX=
                   14365:   postdeps_CXX=
                   14366:   ;;
                   14367: 
                   14368: linux*)
                   14369:   case `$CC -V 2>&1 | sed 5q` in
                   14370:   *Sun\ C*)
                   14371:     # Sun C++ 5.9
                   14372: 
                   14373:     # The more standards-conforming stlport4 library is
                   14374:     # incompatible with the Cstd library. Avoid specifying
                   14375:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14376:     # -library=stlport4 depends on it.
                   14377:     case " $CXX $CXXFLAGS " in
                   14378:     *" -library=stlport4 "*)
                   14379:       solaris_use_stlport4=yes
                   14380:       ;;
                   14381:     esac
                   14382: 
                   14383:     if test "$solaris_use_stlport4" != yes; then
                   14384:       postdeps_CXX='-library=Cstd -library=Crun'
                   14385:     fi
                   14386:     ;;
                   14387:   esac
                   14388:   ;;
                   14389: 
                   14390: solaris*)
                   14391:   case $cc_basename in
                   14392:   CC* | sunCC*)
                   14393:     # The more standards-conforming stlport4 library is
                   14394:     # incompatible with the Cstd library. Avoid specifying
                   14395:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14396:     # -library=stlport4 depends on it.
                   14397:     case " $CXX $CXXFLAGS " in
                   14398:     *" -library=stlport4 "*)
                   14399:       solaris_use_stlport4=yes
                   14400:       ;;
                   14401:     esac
                   14402: 
                   14403:     # Adding this requires a known-good setup of shared libraries for
                   14404:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14405:     # archive will be linked into the output, leading to subtle bugs.
                   14406:     if test "$solaris_use_stlport4" != yes; then
                   14407:       postdeps_CXX='-library=Cstd -library=Crun'
                   14408:     fi
                   14409:     ;;
                   14410:   esac
                   14411:   ;;
                   14412: esac
                   14413: 
                   14414: 
                   14415: case " $postdeps_CXX " in
                   14416: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14417: esac
                   14418:  compiler_lib_search_dirs_CXX=
                   14419: if test -n "${compiler_lib_search_path_CXX}"; then
                   14420:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14421: fi
                   14422: 
                   14423: 
                   14424: 
                   14425: 
                   14426: 
                   14427: 
                   14428: 
                   14429: 
                   14430: 
                   14431: 
                   14432: 
                   14433: 
                   14434: 
                   14435: 
                   14436: 
                   14437: 
                   14438: 
                   14439: 
                   14440: 
                   14441: 
                   14442: 
                   14443: 
                   14444: 
                   14445: 
                   14446: 
                   14447: 
                   14448: 
                   14449: 
                   14450: 
                   14451: 
                   14452: 
                   14453:     lt_prog_compiler_wl_CXX=
                   14454: lt_prog_compiler_pic_CXX=
                   14455: lt_prog_compiler_static_CXX=
                   14456: 
                   14457: 
                   14458:   # C++ specific cases for pic, static, wl, etc.
                   14459:   if test "$GXX" = yes; then
                   14460:     lt_prog_compiler_wl_CXX='-Wl,'
                   14461:     lt_prog_compiler_static_CXX='-static'
                   14462: 
                   14463:     case $host_os in
                   14464:     aix*)
                   14465:       # All AIX code is PIC.
                   14466:       if test "$host_cpu" = ia64; then
                   14467:        # AIX 5 now supports IA64 processor
                   14468:        lt_prog_compiler_static_CXX='-Bstatic'
                   14469:       fi
                   14470:       ;;
                   14471: 
                   14472:     amigaos*)
                   14473:       case $host_cpu in
                   14474:       powerpc)
                   14475:             # see comment about AmigaOS4 .so support
                   14476:             lt_prog_compiler_pic_CXX='-fPIC'
                   14477:         ;;
                   14478:       m68k)
                   14479:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14480:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14481:             # like `-m68040'.
                   14482:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14483:         ;;
                   14484:       esac
                   14485:       ;;
                   14486: 
                   14487:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14488:       # PIC is the default for these OSes.
                   14489:       ;;
                   14490:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14491:       # This hack is so that the source file can tell whether it is being
                   14492:       # built for inclusion in a dll (and should export symbols for example).
                   14493:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14494:       # (--disable-auto-import) libraries
                   14495:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14496:       ;;
                   14497:     darwin* | rhapsody*)
                   14498:       # PIC is the default on this platform
                   14499:       # Common symbols not allowed in MH_DYLIB files
                   14500:       lt_prog_compiler_pic_CXX='-fno-common'
                   14501:       ;;
                   14502:     *djgpp*)
                   14503:       # DJGPP does not support shared libraries at all
                   14504:       lt_prog_compiler_pic_CXX=
                   14505:       ;;
                   14506:     haiku*)
                   14507:       # PIC is the default for Haiku.
                   14508:       # The "-static" flag exists, but is broken.
                   14509:       lt_prog_compiler_static_CXX=
                   14510:       ;;
                   14511:     interix[3-9]*)
                   14512:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14513:       # Instead, we relocate shared libraries at runtime.
                   14514:       ;;
                   14515:     sysv4*MP*)
                   14516:       if test -d /usr/nec; then
                   14517:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14518:       fi
                   14519:       ;;
                   14520:     hpux*)
                   14521:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14522:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14523:       # sets the default TLS model and affects inlining.
                   14524:       case $host_cpu in
                   14525:       hppa*64*)
                   14526:        ;;
                   14527:       *)
                   14528:        lt_prog_compiler_pic_CXX='-fPIC'
                   14529:        ;;
                   14530:       esac
                   14531:       ;;
                   14532:     *qnx* | *nto*)
                   14533:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14534:       # it will coredump.
                   14535:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14536:       ;;
                   14537:     *)
                   14538:       lt_prog_compiler_pic_CXX='-fPIC'
                   14539:       ;;
                   14540:     esac
                   14541:   else
                   14542:     case $host_os in
                   14543:       aix[4-9]*)
                   14544:        # All AIX code is PIC.
                   14545:        if test "$host_cpu" = ia64; then
                   14546:          # AIX 5 now supports IA64 processor
                   14547:          lt_prog_compiler_static_CXX='-Bstatic'
                   14548:        else
                   14549:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14550:        fi
                   14551:        ;;
                   14552:       chorus*)
                   14553:        case $cc_basename in
                   14554:        cxch68*)
                   14555:          # Green Hills C++ Compiler
                   14556:          # _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"
                   14557:          ;;
                   14558:        esac
                   14559:        ;;
                   14560:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14561:        # This hack is so that the source file can tell whether it is being
                   14562:        # built for inclusion in a dll (and should export symbols for example).
                   14563:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14564:        ;;
                   14565:       dgux*)
                   14566:        case $cc_basename in
                   14567:          ec++*)
                   14568:            lt_prog_compiler_pic_CXX='-KPIC'
                   14569:            ;;
                   14570:          ghcx*)
                   14571:            # Green Hills C++ Compiler
                   14572:            lt_prog_compiler_pic_CXX='-pic'
                   14573:            ;;
                   14574:          *)
                   14575:            ;;
                   14576:        esac
                   14577:        ;;
                   14578:       freebsd* | dragonfly*)
                   14579:        # FreeBSD uses GNU C++
                   14580:        ;;
                   14581:       hpux9* | hpux10* | hpux11*)
                   14582:        case $cc_basename in
                   14583:          CC*)
                   14584:            lt_prog_compiler_wl_CXX='-Wl,'
                   14585:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14586:            if test "$host_cpu" != ia64; then
                   14587:              lt_prog_compiler_pic_CXX='+Z'
                   14588:            fi
                   14589:            ;;
                   14590:          aCC*)
                   14591:            lt_prog_compiler_wl_CXX='-Wl,'
                   14592:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14593:            case $host_cpu in
                   14594:            hppa*64*|ia64*)
                   14595:              # +Z the default
                   14596:              ;;
                   14597:            *)
                   14598:              lt_prog_compiler_pic_CXX='+Z'
                   14599:              ;;
                   14600:            esac
                   14601:            ;;
                   14602:          *)
                   14603:            ;;
                   14604:        esac
                   14605:        ;;
                   14606:       interix*)
                   14607:        # This is c89, which is MS Visual C++ (no shared libs)
                   14608:        # Anyone wants to do a port?
                   14609:        ;;
                   14610:       irix5* | irix6* | nonstopux*)
                   14611:        case $cc_basename in
                   14612:          CC*)
                   14613:            lt_prog_compiler_wl_CXX='-Wl,'
                   14614:            lt_prog_compiler_static_CXX='-non_shared'
                   14615:            # CC pic flag -KPIC is the default.
                   14616:            ;;
                   14617:          *)
                   14618:            ;;
                   14619:        esac
                   14620:        ;;
                   14621:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14622:        case $cc_basename in
                   14623:          KCC*)
                   14624:            # KAI C++ Compiler
                   14625:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14626:            lt_prog_compiler_pic_CXX='-fPIC'
                   14627:            ;;
                   14628:          ecpc* )
                   14629:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14630:            lt_prog_compiler_wl_CXX='-Wl,'
                   14631:            lt_prog_compiler_pic_CXX='-KPIC'
                   14632:            lt_prog_compiler_static_CXX='-static'
                   14633:            ;;
                   14634:          icpc* )
                   14635:            # Intel C++, used to be incompatible with GCC.
                   14636:            # ICC 10 doesn't accept -KPIC any more.
                   14637:            lt_prog_compiler_wl_CXX='-Wl,'
                   14638:            lt_prog_compiler_pic_CXX='-fPIC'
                   14639:            lt_prog_compiler_static_CXX='-static'
                   14640:            ;;
                   14641:          pgCC* | pgcpp*)
                   14642:            # Portland Group C++ compiler
                   14643:            lt_prog_compiler_wl_CXX='-Wl,'
                   14644:            lt_prog_compiler_pic_CXX='-fpic'
                   14645:            lt_prog_compiler_static_CXX='-Bstatic'
                   14646:            ;;
                   14647:          cxx*)
                   14648:            # Compaq C++
                   14649:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14650:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14651:            lt_prog_compiler_pic_CXX=
                   14652:            lt_prog_compiler_static_CXX='-non_shared'
                   14653:            ;;
                   14654:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14655:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14656:            lt_prog_compiler_wl_CXX='-Wl,'
                   14657:            lt_prog_compiler_pic_CXX='-qpic'
                   14658:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14659:            ;;
                   14660:          *)
                   14661:            case `$CC -V 2>&1 | sed 5q` in
                   14662:            *Sun\ C*)
                   14663:              # Sun C++ 5.9
                   14664:              lt_prog_compiler_pic_CXX='-KPIC'
                   14665:              lt_prog_compiler_static_CXX='-Bstatic'
                   14666:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14667:              ;;
                   14668:            esac
                   14669:            ;;
                   14670:        esac
                   14671:        ;;
                   14672:       lynxos*)
                   14673:        ;;
                   14674:       m88k*)
                   14675:        ;;
                   14676:       mvs*)
                   14677:        case $cc_basename in
                   14678:          cxx*)
                   14679:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14680:            ;;
                   14681:          *)
                   14682:            ;;
                   14683:        esac
                   14684:        ;;
                   14685:       netbsd*)
                   14686:        ;;
                   14687:       *qnx* | *nto*)
                   14688:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14689:         # it will coredump.
                   14690:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14691:         ;;
                   14692:       osf3* | osf4* | osf5*)
                   14693:        case $cc_basename in
                   14694:          KCC*)
                   14695:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14696:            ;;
                   14697:          RCC*)
                   14698:            # Rational C++ 2.4.1
                   14699:            lt_prog_compiler_pic_CXX='-pic'
                   14700:            ;;
                   14701:          cxx*)
                   14702:            # Digital/Compaq C++
                   14703:            lt_prog_compiler_wl_CXX='-Wl,'
                   14704:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14705:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14706:            lt_prog_compiler_pic_CXX=
                   14707:            lt_prog_compiler_static_CXX='-non_shared'
                   14708:            ;;
                   14709:          *)
                   14710:            ;;
                   14711:        esac
                   14712:        ;;
                   14713:       psos*)
                   14714:        ;;
                   14715:       solaris*)
                   14716:        case $cc_basename in
                   14717:          CC* | sunCC*)
                   14718:            # Sun C++ 4.2, 5.x and Centerline C++
                   14719:            lt_prog_compiler_pic_CXX='-KPIC'
                   14720:            lt_prog_compiler_static_CXX='-Bstatic'
                   14721:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14722:            ;;
                   14723:          gcx*)
                   14724:            # Green Hills C++ Compiler
                   14725:            lt_prog_compiler_pic_CXX='-PIC'
                   14726:            ;;
                   14727:          *)
                   14728:            ;;
                   14729:        esac
                   14730:        ;;
                   14731:       sunos4*)
                   14732:        case $cc_basename in
                   14733:          CC*)
                   14734:            # Sun C++ 4.x
                   14735:            lt_prog_compiler_pic_CXX='-pic'
                   14736:            lt_prog_compiler_static_CXX='-Bstatic'
                   14737:            ;;
                   14738:          lcc*)
                   14739:            # Lucid
                   14740:            lt_prog_compiler_pic_CXX='-pic'
                   14741:            ;;
                   14742:          *)
                   14743:            ;;
                   14744:        esac
                   14745:        ;;
                   14746:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14747:        case $cc_basename in
                   14748:          CC*)
                   14749:            lt_prog_compiler_wl_CXX='-Wl,'
                   14750:            lt_prog_compiler_pic_CXX='-KPIC'
                   14751:            lt_prog_compiler_static_CXX='-Bstatic'
                   14752:            ;;
                   14753:        esac
                   14754:        ;;
                   14755:       tandem*)
                   14756:        case $cc_basename in
                   14757:          NCC*)
                   14758:            # NonStop-UX NCC 3.20
                   14759:            lt_prog_compiler_pic_CXX='-KPIC'
                   14760:            ;;
                   14761:          *)
                   14762:            ;;
                   14763:        esac
                   14764:        ;;
                   14765:       vxworks*)
                   14766:        ;;
                   14767:       *)
                   14768:        lt_prog_compiler_can_build_shared_CXX=no
                   14769:        ;;
                   14770:     esac
                   14771:   fi
                   14772: 
                   14773: case $host_os in
                   14774:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14775:   *djgpp*)
                   14776:     lt_prog_compiler_pic_CXX=
                   14777:     ;;
                   14778:   *)
                   14779:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14780:     ;;
                   14781: esac
                   14782: 
1.150     moko     14783: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   14784: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   14785: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   14786:   $as_echo_n "(cached) " >&6
1.128     moko     14787: else
                   14788:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14789: fi
1.150     moko     14790: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14791: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     14792: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14793: 
                   14794: #
                   14795: # Check to make sure the PIC flag actually works.
                   14796: #
                   14797: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150     moko     14798:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14799: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   14800: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   14801:   $as_echo_n "(cached) " >&6
1.128     moko     14802: else
                   14803:   lt_cv_prog_compiler_pic_works_CXX=no
                   14804:    ac_outfile=conftest.$ac_objext
                   14805:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14806:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14807:    # Insert the option either (1) after the last *FLAGS variable, or
                   14808:    # (2) before a word containing "conftest.", or (3) at the end.
                   14809:    # Note that $ac_compile itself does not contain backslashes and begins
                   14810:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14811:    # The option is referenced via a variable to avoid confusing sed.
                   14812:    lt_compile=`echo "$ac_compile" | $SED \
                   14813:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14814:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14815:    -e 's:$: $lt_compiler_flag:'`
                   14816:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14817:    (eval "$lt_compile" 2>conftest.err)
                   14818:    ac_status=$?
                   14819:    cat conftest.err >&5
                   14820:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14821:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14822:      # The compiler can only warn and ignore the option if not recognized
                   14823:      # So say no if there are warnings other than the usual output.
                   14824:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14825:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14826:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14827:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14828:      fi
                   14829:    fi
                   14830:    $RM conftest*
                   14831: 
                   14832: fi
1.150     moko     14833: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14834: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     14835: 
                   14836: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14837:     case $lt_prog_compiler_pic_CXX in
                   14838:      "" | " "*) ;;
                   14839:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14840:      esac
                   14841: else
                   14842:     lt_prog_compiler_pic_CXX=
                   14843:      lt_prog_compiler_can_build_shared_CXX=no
                   14844: fi
                   14845: 
                   14846: fi
                   14847: 
                   14848: 
                   14849: 
                   14850: 
                   14851: 
                   14852: #
                   14853: # Check to make sure the static flag actually works.
                   14854: #
                   14855: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150     moko     14856: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14857: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   14858: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   14859:   $as_echo_n "(cached) " >&6
1.128     moko     14860: else
                   14861:   lt_cv_prog_compiler_static_works_CXX=no
                   14862:    save_LDFLAGS="$LDFLAGS"
                   14863:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14864:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14865:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14866:      # The linker can only warn and ignore the option if not recognized
                   14867:      # So say no if there are warnings
                   14868:      if test -s conftest.err; then
                   14869:        # Append any errors to the config.log.
                   14870:        cat conftest.err 1>&5
                   14871:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14872:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14873:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14874:          lt_cv_prog_compiler_static_works_CXX=yes
                   14875:        fi
                   14876:      else
                   14877:        lt_cv_prog_compiler_static_works_CXX=yes
                   14878:      fi
                   14879:    fi
                   14880:    $RM -r conftest*
                   14881:    LDFLAGS="$save_LDFLAGS"
                   14882: 
                   14883: fi
1.150     moko     14884: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14885: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     14886: 
                   14887: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14888:     :
                   14889: else
                   14890:     lt_prog_compiler_static_CXX=
                   14891: fi
                   14892: 
                   14893: 
                   14894: 
                   14895: 
1.150     moko     14896:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14897: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14898: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14899:   $as_echo_n "(cached) " >&6
1.128     moko     14900: else
                   14901:   lt_cv_prog_compiler_c_o_CXX=no
                   14902:    $RM -r conftest 2>/dev/null
                   14903:    mkdir conftest
                   14904:    cd conftest
                   14905:    mkdir out
                   14906:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14907: 
                   14908:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14909:    # Insert the option either (1) after the last *FLAGS variable, or
                   14910:    # (2) before a word containing "conftest.", or (3) at the end.
                   14911:    # Note that $ac_compile itself does not contain backslashes and begins
                   14912:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14913:    lt_compile=`echo "$ac_compile" | $SED \
                   14914:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14915:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14916:    -e 's:$: $lt_compiler_flag:'`
                   14917:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14918:    (eval "$lt_compile" 2>out/conftest.err)
                   14919:    ac_status=$?
                   14920:    cat out/conftest.err >&5
                   14921:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14922:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14923:    then
                   14924:      # The compiler can only warn and ignore the option if not recognized
                   14925:      # So say no if there are warnings
                   14926:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14927:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14928:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14929:        lt_cv_prog_compiler_c_o_CXX=yes
                   14930:      fi
                   14931:    fi
                   14932:    chmod u+w . 2>&5
                   14933:    $RM conftest*
                   14934:    # SGI C++ compiler will create directory out/ii_files/ for
                   14935:    # template instantiation
                   14936:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14937:    $RM out/* && rmdir out
                   14938:    cd ..
                   14939:    $RM -r conftest
                   14940:    $RM conftest*
                   14941: 
                   14942: fi
1.150     moko     14943: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14944: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     14945: 
                   14946: 
                   14947: 
1.150     moko     14948:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14949: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14950: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14951:   $as_echo_n "(cached) " >&6
1.128     moko     14952: else
                   14953:   lt_cv_prog_compiler_c_o_CXX=no
                   14954:    $RM -r conftest 2>/dev/null
                   14955:    mkdir conftest
                   14956:    cd conftest
                   14957:    mkdir out
                   14958:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14959: 
                   14960:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14961:    # Insert the option either (1) after the last *FLAGS variable, or
                   14962:    # (2) before a word containing "conftest.", or (3) at the end.
                   14963:    # Note that $ac_compile itself does not contain backslashes and begins
                   14964:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14965:    lt_compile=`echo "$ac_compile" | $SED \
                   14966:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14967:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14968:    -e 's:$: $lt_compiler_flag:'`
                   14969:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14970:    (eval "$lt_compile" 2>out/conftest.err)
                   14971:    ac_status=$?
                   14972:    cat out/conftest.err >&5
                   14973:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14974:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14975:    then
                   14976:      # The compiler can only warn and ignore the option if not recognized
                   14977:      # So say no if there are warnings
                   14978:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14979:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14980:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14981:        lt_cv_prog_compiler_c_o_CXX=yes
                   14982:      fi
                   14983:    fi
                   14984:    chmod u+w . 2>&5
                   14985:    $RM conftest*
                   14986:    # SGI C++ compiler will create directory out/ii_files/ for
                   14987:    # template instantiation
                   14988:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14989:    $RM out/* && rmdir out
                   14990:    cd ..
                   14991:    $RM -r conftest
                   14992:    $RM conftest*
                   14993: 
                   14994: fi
1.150     moko     14995: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14996: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     14997: 
                   14998: 
                   14999: 
                   15000: 
                   15001: hard_links="nottested"
                   15002: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15003:   # do not overwrite the value of need_locks provided by the user
1.150     moko     15004:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15005: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15006:   hard_links=yes
                   15007:   $RM conftest*
                   15008:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15009:   touch conftest.a
                   15010:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15011:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     15012:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15013: $as_echo "$hard_links" >&6; }
1.128     moko     15014:   if test "$hard_links" = no; then
1.150     moko     15015:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15016: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15017:     need_locks=warn
                   15018:   fi
                   15019: else
                   15020:   need_locks=no
                   15021: fi
                   15022: 
                   15023: 
                   15024: 
1.150     moko     15025:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15026: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15027: 
                   15028:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15029:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15030:   case $host_os in
                   15031:   aix[4-9]*)
                   15032:     # If we're using GNU nm, then we don't want the "-C" option.
                   15033:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15034:     # Also, AIX nm treats weak defined symbols like other global defined
                   15035:     # symbols, whereas GNU nm marks them as "W".
                   15036:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15037:       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'
                   15038:     else
                   15039:       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'
                   15040:     fi
                   15041:     ;;
                   15042:   pw32*)
                   15043:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15044:     ;;
                   15045:   cygwin* | mingw* | cegcc*)
                   15046:     case $cc_basename in
                   15047:     cl*)
                   15048:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15049:       ;;
                   15050:     *)
                   15051:       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'
                   15052:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15053:       ;;
                   15054:     esac
                   15055:     ;;
                   15056:   *)
                   15057:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15058:     ;;
                   15059:   esac
                   15060: 
1.150     moko     15061: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15062: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15063: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15064: 
                   15065: with_gnu_ld_CXX=$with_gnu_ld
                   15066: 
                   15067: 
                   15068: 
                   15069: 
                   15070: 
                   15071: 
                   15072: #
                   15073: # Do we need to explicitly link libc?
                   15074: #
                   15075: case "x$archive_cmds_need_lc_CXX" in
                   15076: x|xyes)
                   15077:   # Assume -lc should be added
                   15078:   archive_cmds_need_lc_CXX=yes
                   15079: 
                   15080:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15081:     case $archive_cmds_CXX in
                   15082:     *'~'*)
                   15083:       # FIXME: we may have to deal with multi-command sequences.
                   15084:       ;;
                   15085:     '$CC '*)
                   15086:       # Test whether the compiler implicitly links with -lc since on some
                   15087:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15088:       # to ld, don't add -lc before -lgcc.
1.150     moko     15089:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15090: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15091: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15092:   $as_echo_n "(cached) " >&6
1.128     moko     15093: else
                   15094:   $RM conftest*
                   15095:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15096: 
1.150     moko     15097:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15098:   (eval $ac_compile) 2>&5
                   15099:   ac_status=$?
1.150     moko     15100:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15101:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15102:          soname=conftest
                   15103:          lib=conftest
                   15104:          libobjs=conftest.$ac_objext
                   15105:          deplibs=
                   15106:          wl=$lt_prog_compiler_wl_CXX
                   15107:          pic_flag=$lt_prog_compiler_pic_CXX
                   15108:          compiler_flags=-v
                   15109:          linker_flags=-v
                   15110:          verstring=
                   15111:          output_objdir=.
                   15112:          libname=conftest
                   15113:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15114:          allow_undefined_flag_CXX=
1.150     moko     15115:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15116:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15117:   ac_status=$?
1.150     moko     15118:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15119:   test $ac_status = 0; }
1.128     moko     15120:          then
                   15121:            lt_cv_archive_cmds_need_lc_CXX=no
                   15122:          else
                   15123:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15124:          fi
                   15125:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15126:        else
                   15127:          cat conftest.err 1>&5
                   15128:        fi
                   15129:        $RM conftest*
                   15130: 
                   15131: fi
1.150     moko     15132: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   15133: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15134:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15135:       ;;
                   15136:     esac
                   15137:   fi
                   15138:   ;;
                   15139: esac
                   15140: 
                   15141: 
                   15142: 
                   15143: 
                   15144: 
                   15145: 
                   15146: 
                   15147: 
                   15148: 
                   15149: 
                   15150: 
                   15151: 
                   15152: 
                   15153: 
                   15154: 
                   15155: 
                   15156: 
                   15157: 
                   15158: 
                   15159: 
                   15160: 
                   15161: 
                   15162: 
                   15163: 
                   15164: 
                   15165: 
                   15166: 
                   15167: 
                   15168: 
                   15169: 
                   15170: 
                   15171: 
                   15172: 
                   15173: 
                   15174: 
                   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: 
1.150     moko     15202:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   15203: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15204: 
                   15205: library_names_spec=
                   15206: libname_spec='lib$name'
                   15207: soname_spec=
                   15208: shrext_cmds=".so"
                   15209: postinstall_cmds=
                   15210: postuninstall_cmds=
                   15211: finish_cmds=
                   15212: finish_eval=
                   15213: shlibpath_var=
                   15214: shlibpath_overrides_runpath=unknown
                   15215: version_type=none
                   15216: dynamic_linker="$host_os ld.so"
                   15217: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15218: need_lib_prefix=unknown
                   15219: hardcode_into_libs=no
                   15220: 
                   15221: # when you set need_version to no, make sure it does not cause -set_version
                   15222: # flags to be left without arguments
                   15223: need_version=unknown
                   15224: 
                   15225: case $host_os in
                   15226: aix3*)
                   15227:   version_type=linux # correct to gnu/linux during the next big refactor
                   15228:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15229:   shlibpath_var=LIBPATH
                   15230: 
                   15231:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15232:   soname_spec='${libname}${release}${shared_ext}$major'
                   15233:   ;;
                   15234: 
                   15235: aix[4-9]*)
                   15236:   version_type=linux # correct to gnu/linux during the next big refactor
                   15237:   need_lib_prefix=no
                   15238:   need_version=no
                   15239:   hardcode_into_libs=yes
                   15240:   if test "$host_cpu" = ia64; then
                   15241:     # AIX 5 supports IA64
                   15242:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15243:     shlibpath_var=LD_LIBRARY_PATH
                   15244:   else
                   15245:     # With GCC up to 2.95.x, collect2 would create an import file
                   15246:     # for dependence libraries.  The import file would start with
                   15247:     # the line `#! .'.  This would cause the generated library to
                   15248:     # depend on `.', always an invalid library.  This was fixed in
                   15249:     # development snapshots of GCC prior to 3.0.
                   15250:     case $host_os in
                   15251:       aix4 | aix4.[01] | aix4.[01].*)
                   15252:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15253:           echo ' yes '
                   15254:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15255:        :
                   15256:       else
                   15257:        can_build_shared=no
                   15258:       fi
                   15259:       ;;
                   15260:     esac
                   15261:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15262:     # soname into executable. Probably we can add versioning support to
                   15263:     # collect2, so additional links can be useful in future.
                   15264:     if test "$aix_use_runtimelinking" = yes; then
                   15265:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15266:       # instead of lib<name>.a to let people know that these are not
                   15267:       # typical AIX shared libraries.
                   15268:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15269:     else
                   15270:       # We preserve .a as extension for shared libraries through AIX4.2
                   15271:       # and later when we are not doing run time linking.
                   15272:       library_names_spec='${libname}${release}.a $libname.a'
                   15273:       soname_spec='${libname}${release}${shared_ext}$major'
                   15274:     fi
                   15275:     shlibpath_var=LIBPATH
                   15276:   fi
                   15277:   ;;
                   15278: 
                   15279: amigaos*)
                   15280:   case $host_cpu in
                   15281:   powerpc)
                   15282:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15283:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15284:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15285:     ;;
                   15286:   m68k)
                   15287:     library_names_spec='$libname.ixlibrary $libname.a'
                   15288:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15289:     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'
                   15290:     ;;
                   15291:   esac
                   15292:   ;;
                   15293: 
                   15294: beos*)
                   15295:   library_names_spec='${libname}${shared_ext}'
                   15296:   dynamic_linker="$host_os ld.so"
                   15297:   shlibpath_var=LIBRARY_PATH
                   15298:   ;;
                   15299: 
                   15300: bsdi[45]*)
                   15301:   version_type=linux # correct to gnu/linux during the next big refactor
                   15302:   need_version=no
                   15303:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15304:   soname_spec='${libname}${release}${shared_ext}$major'
                   15305:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15306:   shlibpath_var=LD_LIBRARY_PATH
                   15307:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15308:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15309:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15310:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15311:   # libtool to hard-code these into programs
                   15312:   ;;
                   15313: 
                   15314: cygwin* | mingw* | pw32* | cegcc*)
                   15315:   version_type=windows
                   15316:   shrext_cmds=".dll"
                   15317:   need_version=no
                   15318:   need_lib_prefix=no
                   15319: 
                   15320:   case $GCC,$cc_basename in
                   15321:   yes,*)
                   15322:     # gcc
                   15323:     library_names_spec='$libname.dll.a'
                   15324:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15325:     postinstall_cmds='base_file=`basename \${file}`~
                   15326:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15327:       dldir=$destdir/`dirname \$dlpath`~
                   15328:       test -d \$dldir || mkdir -p \$dldir~
                   15329:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15330:       chmod a+x \$dldir/$dlname~
                   15331:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15332:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15333:       fi'
                   15334:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15335:       dlpath=$dir/\$dldll~
                   15336:        $RM \$dlpath'
                   15337:     shlibpath_overrides_runpath=yes
                   15338: 
                   15339:     case $host_os in
                   15340:     cygwin*)
                   15341:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15342:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15343: 
                   15344:       ;;
                   15345:     mingw* | cegcc*)
                   15346:       # MinGW DLLs use traditional 'lib' prefix
                   15347:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15348:       ;;
                   15349:     pw32*)
                   15350:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15351:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15352:       ;;
                   15353:     esac
                   15354:     dynamic_linker='Win32 ld.exe'
                   15355:     ;;
                   15356: 
                   15357:   *,cl*)
                   15358:     # Native MSVC
                   15359:     libname_spec='$name'
                   15360:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15361:     library_names_spec='${libname}.dll.lib'
                   15362: 
                   15363:     case $build_os in
                   15364:     mingw*)
                   15365:       sys_lib_search_path_spec=
                   15366:       lt_save_ifs=$IFS
                   15367:       IFS=';'
                   15368:       for lt_path in $LIB
                   15369:       do
                   15370:         IFS=$lt_save_ifs
                   15371:         # Let DOS variable expansion print the short 8.3 style file name.
                   15372:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15373:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15374:       done
                   15375:       IFS=$lt_save_ifs
                   15376:       # Convert to MSYS style.
                   15377:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15378:       ;;
                   15379:     cygwin*)
                   15380:       # Convert to unix form, then to dos form, then back to unix form
                   15381:       # but this time dos style (no spaces!) so that the unix form looks
                   15382:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15383:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15384:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15385:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15386:       ;;
                   15387:     *)
                   15388:       sys_lib_search_path_spec="$LIB"
                   15389:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15390:         # It is most probably a Windows format PATH.
                   15391:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15392:       else
                   15393:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15394:       fi
                   15395:       # FIXME: find the short name or the path components, as spaces are
                   15396:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15397:       ;;
                   15398:     esac
                   15399: 
                   15400:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15401:     postinstall_cmds='base_file=`basename \${file}`~
                   15402:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15403:       dldir=$destdir/`dirname \$dlpath`~
                   15404:       test -d \$dldir || mkdir -p \$dldir~
                   15405:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15406:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15407:       dlpath=$dir/\$dldll~
                   15408:        $RM \$dlpath'
                   15409:     shlibpath_overrides_runpath=yes
                   15410:     dynamic_linker='Win32 link.exe'
                   15411:     ;;
                   15412: 
                   15413:   *)
                   15414:     # Assume MSVC wrapper
                   15415:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15416:     dynamic_linker='Win32 ld.exe'
                   15417:     ;;
                   15418:   esac
                   15419:   # FIXME: first we should search . and the directory the executable is in
                   15420:   shlibpath_var=PATH
                   15421:   ;;
                   15422: 
                   15423: darwin* | rhapsody*)
                   15424:   dynamic_linker="$host_os dyld"
                   15425:   version_type=darwin
                   15426:   need_lib_prefix=no
                   15427:   need_version=no
                   15428:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15429:   soname_spec='${libname}${release}${major}$shared_ext'
                   15430:   shlibpath_overrides_runpath=yes
                   15431:   shlibpath_var=DYLD_LIBRARY_PATH
                   15432:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15433: 
                   15434:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15435:   ;;
                   15436: 
                   15437: dgux*)
                   15438:   version_type=linux # correct to gnu/linux during the next big refactor
                   15439:   need_lib_prefix=no
                   15440:   need_version=no
                   15441:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15442:   soname_spec='${libname}${release}${shared_ext}$major'
                   15443:   shlibpath_var=LD_LIBRARY_PATH
                   15444:   ;;
                   15445: 
                   15446: freebsd* | dragonfly*)
                   15447:   # DragonFly does not have aout.  When/if they implement a new
                   15448:   # versioning mechanism, adjust this.
                   15449:   if test -x /usr/bin/objformat; then
                   15450:     objformat=`/usr/bin/objformat`
                   15451:   else
                   15452:     case $host_os in
                   15453:     freebsd[23].*) objformat=aout ;;
                   15454:     *) objformat=elf ;;
                   15455:     esac
                   15456:   fi
                   15457:   version_type=freebsd-$objformat
                   15458:   case $version_type in
                   15459:     freebsd-elf*)
                   15460:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15461:       need_version=no
                   15462:       need_lib_prefix=no
                   15463:       ;;
                   15464:     freebsd-*)
                   15465:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15466:       need_version=yes
                   15467:       ;;
                   15468:   esac
                   15469:   shlibpath_var=LD_LIBRARY_PATH
                   15470:   case $host_os in
                   15471:   freebsd2.*)
                   15472:     shlibpath_overrides_runpath=yes
                   15473:     ;;
                   15474:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15475:     shlibpath_overrides_runpath=yes
                   15476:     hardcode_into_libs=yes
                   15477:     ;;
                   15478:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15479:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15480:     shlibpath_overrides_runpath=no
                   15481:     hardcode_into_libs=yes
                   15482:     ;;
                   15483:   *) # from 4.6 on, and DragonFly
                   15484:     shlibpath_overrides_runpath=yes
                   15485:     hardcode_into_libs=yes
                   15486:     ;;
                   15487:   esac
                   15488:   ;;
                   15489: 
                   15490: gnu*)
                   15491:   version_type=linux # correct to gnu/linux during the next big refactor
                   15492:   need_lib_prefix=no
                   15493:   need_version=no
                   15494:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15495:   soname_spec='${libname}${release}${shared_ext}$major'
                   15496:   shlibpath_var=LD_LIBRARY_PATH
                   15497:   shlibpath_overrides_runpath=no
                   15498:   hardcode_into_libs=yes
                   15499:   ;;
                   15500: 
                   15501: haiku*)
                   15502:   version_type=linux # correct to gnu/linux during the next big refactor
                   15503:   need_lib_prefix=no
                   15504:   need_version=no
                   15505:   dynamic_linker="$host_os runtime_loader"
                   15506:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15507:   soname_spec='${libname}${release}${shared_ext}$major'
                   15508:   shlibpath_var=LIBRARY_PATH
                   15509:   shlibpath_overrides_runpath=yes
                   15510:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15511:   hardcode_into_libs=yes
                   15512:   ;;
                   15513: 
                   15514: hpux9* | hpux10* | hpux11*)
                   15515:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15516:   # link against other versions.
                   15517:   version_type=sunos
                   15518:   need_lib_prefix=no
                   15519:   need_version=no
                   15520:   case $host_cpu in
                   15521:   ia64*)
                   15522:     shrext_cmds='.so'
                   15523:     hardcode_into_libs=yes
                   15524:     dynamic_linker="$host_os dld.so"
                   15525:     shlibpath_var=LD_LIBRARY_PATH
                   15526:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15527:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15528:     soname_spec='${libname}${release}${shared_ext}$major'
                   15529:     if test "X$HPUX_IA64_MODE" = X32; then
                   15530:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15531:     else
                   15532:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15533:     fi
                   15534:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15535:     ;;
                   15536:   hppa*64*)
                   15537:     shrext_cmds='.sl'
                   15538:     hardcode_into_libs=yes
                   15539:     dynamic_linker="$host_os dld.sl"
                   15540:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15541:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15542:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15543:     soname_spec='${libname}${release}${shared_ext}$major'
                   15544:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15545:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15546:     ;;
                   15547:   *)
                   15548:     shrext_cmds='.sl'
                   15549:     dynamic_linker="$host_os dld.sl"
                   15550:     shlibpath_var=SHLIB_PATH
                   15551:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15552:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15553:     soname_spec='${libname}${release}${shared_ext}$major'
                   15554:     ;;
                   15555:   esac
                   15556:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15557:   postinstall_cmds='chmod 555 $lib'
                   15558:   # or fails outright, so override atomically:
                   15559:   install_override_mode=555
                   15560:   ;;
                   15561: 
                   15562: interix[3-9]*)
                   15563:   version_type=linux # correct to gnu/linux during the next big refactor
                   15564:   need_lib_prefix=no
                   15565:   need_version=no
                   15566:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15567:   soname_spec='${libname}${release}${shared_ext}$major'
                   15568:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15569:   shlibpath_var=LD_LIBRARY_PATH
                   15570:   shlibpath_overrides_runpath=no
                   15571:   hardcode_into_libs=yes
                   15572:   ;;
                   15573: 
                   15574: irix5* | irix6* | nonstopux*)
                   15575:   case $host_os in
                   15576:     nonstopux*) version_type=nonstopux ;;
                   15577:     *)
                   15578:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15579:                version_type=linux # correct to gnu/linux during the next big refactor
                   15580:        else
                   15581:                version_type=irix
                   15582:        fi ;;
                   15583:   esac
                   15584:   need_lib_prefix=no
                   15585:   need_version=no
                   15586:   soname_spec='${libname}${release}${shared_ext}$major'
                   15587:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15588:   case $host_os in
                   15589:   irix5* | nonstopux*)
                   15590:     libsuff= shlibsuff=
                   15591:     ;;
                   15592:   *)
                   15593:     case $LD in # libtool.m4 will add one of these switches to LD
                   15594:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15595:       libsuff= shlibsuff= libmagic=32-bit;;
                   15596:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15597:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15598:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15599:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15600:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15601:     esac
                   15602:     ;;
                   15603:   esac
                   15604:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15605:   shlibpath_overrides_runpath=no
                   15606:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15607:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15608:   hardcode_into_libs=yes
                   15609:   ;;
                   15610: 
                   15611: # No shared lib support for Linux oldld, aout, or coff.
                   15612: linux*oldld* | linux*aout* | linux*coff*)
                   15613:   dynamic_linker=no
                   15614:   ;;
                   15615: 
                   15616: # This must be glibc/ELF.
                   15617: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15618:   version_type=linux # correct to gnu/linux during the next big refactor
                   15619:   need_lib_prefix=no
                   15620:   need_version=no
                   15621:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15622:   soname_spec='${libname}${release}${shared_ext}$major'
                   15623:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15624:   shlibpath_var=LD_LIBRARY_PATH
                   15625:   shlibpath_overrides_runpath=no
                   15626: 
                   15627:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     15628:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   15629:   $as_echo_n "(cached) " >&6
1.128     moko     15630: else
                   15631:   lt_cv_shlibpath_overrides_runpath=no
                   15632:     save_LDFLAGS=$LDFLAGS
                   15633:     save_libdir=$libdir
                   15634:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15635:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     15636:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15637: /* end confdefs.h.  */
                   15638: 
                   15639: int
                   15640: main ()
                   15641: {
                   15642: 
                   15643:   ;
                   15644:   return 0;
                   15645: }
                   15646: _ACEOF
1.150     moko     15647: if ac_fn_cxx_try_link "$LINENO"; then :
                   15648:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     15649:   lt_cv_shlibpath_overrides_runpath=yes
                   15650: fi
                   15651: fi
1.150     moko     15652: rm -f core conftest.err conftest.$ac_objext \
                   15653:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     15654:     LDFLAGS=$save_LDFLAGS
                   15655:     libdir=$save_libdir
                   15656: 
                   15657: fi
                   15658: 
                   15659:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15660: 
                   15661:   # This implies no fast_install, which is unacceptable.
                   15662:   # Some rework will be needed to allow for fast_install
                   15663:   # before this can be enabled.
                   15664:   hardcode_into_libs=yes
                   15665: 
                   15666:   # Append ld.so.conf contents to the search path
                   15667:   if test -f /etc/ld.so.conf; then
                   15668:     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' ' '`
                   15669:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15670:   fi
                   15671: 
                   15672:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15673:   # powerpc, because MkLinux only supported shared libraries with the
                   15674:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15675:   # most powerpc-linux boxes support dynamic linking these days and
                   15676:   # people can always --disable-shared, the test was removed, and we
                   15677:   # assume the GNU/Linux dynamic linker is in use.
                   15678:   dynamic_linker='GNU/Linux ld.so'
                   15679:   ;;
                   15680: 
                   15681: netbsd*)
                   15682:   version_type=sunos
                   15683:   need_lib_prefix=no
                   15684:   need_version=no
                   15685:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15686:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15687:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15688:     dynamic_linker='NetBSD (a.out) ld.so'
                   15689:   else
                   15690:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15691:     soname_spec='${libname}${release}${shared_ext}$major'
                   15692:     dynamic_linker='NetBSD ld.elf_so'
                   15693:   fi
                   15694:   shlibpath_var=LD_LIBRARY_PATH
                   15695:   shlibpath_overrides_runpath=yes
                   15696:   hardcode_into_libs=yes
                   15697:   ;;
                   15698: 
                   15699: newsos6)
                   15700:   version_type=linux # correct to gnu/linux during the next big refactor
                   15701:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15702:   shlibpath_var=LD_LIBRARY_PATH
                   15703:   shlibpath_overrides_runpath=yes
                   15704:   ;;
                   15705: 
                   15706: *nto* | *qnx*)
                   15707:   version_type=qnx
                   15708:   need_lib_prefix=no
                   15709:   need_version=no
                   15710:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15711:   soname_spec='${libname}${release}${shared_ext}$major'
                   15712:   shlibpath_var=LD_LIBRARY_PATH
                   15713:   shlibpath_overrides_runpath=no
                   15714:   hardcode_into_libs=yes
                   15715:   dynamic_linker='ldqnx.so'
                   15716:   ;;
                   15717: 
                   15718: openbsd*)
                   15719:   version_type=sunos
                   15720:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15721:   need_lib_prefix=no
                   15722:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15723:   case $host_os in
                   15724:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15725:     *)                         need_version=no  ;;
                   15726:   esac
                   15727:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15728:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15729:   shlibpath_var=LD_LIBRARY_PATH
                   15730:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15731:     case $host_os in
                   15732:       openbsd2.[89] | openbsd2.[89].*)
                   15733:        shlibpath_overrides_runpath=no
                   15734:        ;;
                   15735:       *)
                   15736:        shlibpath_overrides_runpath=yes
                   15737:        ;;
                   15738:       esac
                   15739:   else
                   15740:     shlibpath_overrides_runpath=yes
                   15741:   fi
                   15742:   ;;
                   15743: 
                   15744: os2*)
                   15745:   libname_spec='$name'
                   15746:   shrext_cmds=".dll"
                   15747:   need_lib_prefix=no
                   15748:   library_names_spec='$libname${shared_ext} $libname.a'
                   15749:   dynamic_linker='OS/2 ld.exe'
                   15750:   shlibpath_var=LIBPATH
                   15751:   ;;
                   15752: 
                   15753: osf3* | osf4* | osf5*)
                   15754:   version_type=osf
                   15755:   need_lib_prefix=no
                   15756:   need_version=no
                   15757:   soname_spec='${libname}${release}${shared_ext}$major'
                   15758:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15759:   shlibpath_var=LD_LIBRARY_PATH
                   15760:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15761:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15762:   ;;
                   15763: 
                   15764: rdos*)
                   15765:   dynamic_linker=no
                   15766:   ;;
                   15767: 
                   15768: solaris*)
                   15769:   version_type=linux # correct to gnu/linux during the next big refactor
                   15770:   need_lib_prefix=no
                   15771:   need_version=no
                   15772:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15773:   soname_spec='${libname}${release}${shared_ext}$major'
                   15774:   shlibpath_var=LD_LIBRARY_PATH
                   15775:   shlibpath_overrides_runpath=yes
                   15776:   hardcode_into_libs=yes
                   15777:   # ldd complains unless libraries are executable
                   15778:   postinstall_cmds='chmod +x $lib'
                   15779:   ;;
                   15780: 
                   15781: sunos4*)
                   15782:   version_type=sunos
                   15783:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15784:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15785:   shlibpath_var=LD_LIBRARY_PATH
                   15786:   shlibpath_overrides_runpath=yes
                   15787:   if test "$with_gnu_ld" = yes; then
                   15788:     need_lib_prefix=no
                   15789:   fi
                   15790:   need_version=yes
                   15791:   ;;
                   15792: 
                   15793: sysv4 | sysv4.3*)
                   15794:   version_type=linux # correct to gnu/linux during the next big refactor
                   15795:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15796:   soname_spec='${libname}${release}${shared_ext}$major'
                   15797:   shlibpath_var=LD_LIBRARY_PATH
                   15798:   case $host_vendor in
                   15799:     sni)
                   15800:       shlibpath_overrides_runpath=no
                   15801:       need_lib_prefix=no
                   15802:       runpath_var=LD_RUN_PATH
                   15803:       ;;
                   15804:     siemens)
                   15805:       need_lib_prefix=no
                   15806:       ;;
                   15807:     motorola)
                   15808:       need_lib_prefix=no
                   15809:       need_version=no
                   15810:       shlibpath_overrides_runpath=no
                   15811:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15812:       ;;
                   15813:   esac
                   15814:   ;;
                   15815: 
                   15816: sysv4*MP*)
                   15817:   if test -d /usr/nec ;then
                   15818:     version_type=linux # correct to gnu/linux during the next big refactor
                   15819:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15820:     soname_spec='$libname${shared_ext}.$major'
                   15821:     shlibpath_var=LD_LIBRARY_PATH
                   15822:   fi
                   15823:   ;;
                   15824: 
                   15825: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15826:   version_type=freebsd-elf
                   15827:   need_lib_prefix=no
                   15828:   need_version=no
                   15829:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15830:   soname_spec='${libname}${release}${shared_ext}$major'
                   15831:   shlibpath_var=LD_LIBRARY_PATH
                   15832:   shlibpath_overrides_runpath=yes
                   15833:   hardcode_into_libs=yes
                   15834:   if test "$with_gnu_ld" = yes; then
                   15835:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15836:   else
                   15837:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15838:     case $host_os in
                   15839:       sco3.2v5*)
                   15840:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15841:        ;;
                   15842:     esac
                   15843:   fi
                   15844:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15845:   ;;
                   15846: 
                   15847: tpf*)
                   15848:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15849:   version_type=linux # correct to gnu/linux during the next big refactor
                   15850:   need_lib_prefix=no
                   15851:   need_version=no
                   15852:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15853:   shlibpath_var=LD_LIBRARY_PATH
                   15854:   shlibpath_overrides_runpath=no
                   15855:   hardcode_into_libs=yes
                   15856:   ;;
                   15857: 
                   15858: uts4*)
                   15859:   version_type=linux # correct to gnu/linux during the next big refactor
                   15860:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15861:   soname_spec='${libname}${release}${shared_ext}$major'
                   15862:   shlibpath_var=LD_LIBRARY_PATH
                   15863:   ;;
                   15864: 
                   15865: *)
                   15866:   dynamic_linker=no
                   15867:   ;;
                   15868: esac
1.150     moko     15869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   15870: $as_echo "$dynamic_linker" >&6; }
1.128     moko     15871: test "$dynamic_linker" = no && can_build_shared=no
                   15872: 
                   15873: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15874: if test "$GCC" = yes; then
                   15875:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15876: fi
                   15877: 
                   15878: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15879:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15880: fi
                   15881: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15882:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15883: fi
                   15884: 
                   15885: 
                   15886: 
                   15887: 
                   15888: 
                   15889: 
                   15890: 
                   15891: 
                   15892: 
                   15893: 
                   15894: 
                   15895: 
                   15896: 
                   15897: 
                   15898: 
                   15899: 
                   15900: 
                   15901: 
                   15902: 
                   15903: 
                   15904: 
                   15905: 
                   15906: 
                   15907: 
                   15908: 
                   15909: 
                   15910: 
                   15911: 
                   15912: 
                   15913: 
                   15914: 
                   15915: 
                   15916: 
                   15917: 
                   15918: 
                   15919: 
                   15920: 
                   15921: 
1.150     moko     15922:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   15923: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     15924: hardcode_action_CXX=
                   15925: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15926:    test -n "$runpath_var_CXX" ||
                   15927:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15928: 
                   15929:   # We can hardcode non-existent directories.
                   15930:   if test "$hardcode_direct_CXX" != no &&
                   15931:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15932:      # have to relink, otherwise we might link with an installed library
                   15933:      # when we should be linking with a yet-to-be-installed one
                   15934:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15935:      test "$hardcode_minus_L_CXX" != no; then
                   15936:     # Linking always hardcodes the temporary library directory.
                   15937:     hardcode_action_CXX=relink
                   15938:   else
                   15939:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15940:     hardcode_action_CXX=immediate
                   15941:   fi
                   15942: else
                   15943:   # We cannot hardcode anything, or else we can only hardcode existing
                   15944:   # directories.
                   15945:   hardcode_action_CXX=unsupported
                   15946: fi
1.150     moko     15947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   15948: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     15949: 
                   15950: if test "$hardcode_action_CXX" = relink ||
                   15951:    test "$inherit_rpath_CXX" = yes; then
                   15952:   # Fast installation is not supported
                   15953:   enable_fast_install=no
                   15954: elif test "$shlibpath_overrides_runpath" = yes ||
                   15955:      test "$enable_shared" = no; then
                   15956:   # Fast installation is not necessary
                   15957:   enable_fast_install=needless
                   15958: fi
                   15959: 
                   15960: 
                   15961: 
                   15962: 
                   15963: 
                   15964: 
                   15965: 
                   15966:   fi # test -n "$compiler"
                   15967: 
                   15968:   CC=$lt_save_CC
                   15969:   CFLAGS=$lt_save_CFLAGS
                   15970:   LDCXX=$LD
                   15971:   LD=$lt_save_LD
                   15972:   GCC=$lt_save_GCC
                   15973:   with_gnu_ld=$lt_save_with_gnu_ld
                   15974:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15975:   lt_cv_path_LD=$lt_save_path_LD
                   15976:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15977:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15978: fi # test "$_lt_caught_CXX_error" != yes
                   15979: 
                   15980: ac_ext=c
                   15981: ac_cpp='$CPP $CPPFLAGS'
                   15982: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15983: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15984: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15985: 
                   15986: 
                   15987: 
                   15988: 
                   15989: 
                   15990: 
                   15991: 
                   15992: 
                   15993: 
                   15994: 
                   15995: 
                   15996: 
                   15997: 
                   15998: 
                   15999: 
1.150     moko     16000:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16001: 
                   16002: 
                   16003: 
                   16004: 
                   16005: # Only expand once:
                   16006: 
                   16007: 
1.150     moko     16008: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   16009: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   16010: if ${libltdl_cv_shlibext+:} false; then :
                   16011:   $as_echo_n "(cached) " >&6
1.128     moko     16012: else
                   16013: 
                   16014: module=yes
                   16015: eval libltdl_cv_shlibext=$shrext_cmds
                   16016: module=no
                   16017: eval libltdl_cv_shrext=$shrext_cmds
                   16018: 
                   16019: fi
1.150     moko     16020: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   16021: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16022: if test -n "$libltdl_cv_shlibext"; then
                   16023: 
                   16024: cat >>confdefs.h <<_ACEOF
                   16025: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16026: _ACEOF
                   16027: 
                   16028: fi
                   16029: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16030: 
                   16031: cat >>confdefs.h <<_ACEOF
                   16032: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16033: _ACEOF
                   16034: 
                   16035: fi
                   16036: 
1.150     moko     16037: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   16038: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   16039: if ${lt_cv_module_path_var+:} false; then :
                   16040:   $as_echo_n "(cached) " >&6
1.128     moko     16041: else
                   16042:   lt_cv_module_path_var="$shlibpath_var"
                   16043: fi
1.150     moko     16044: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   16045: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16046: if test -n "$lt_cv_module_path_var"; then
                   16047: 
                   16048: cat >>confdefs.h <<_ACEOF
                   16049: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16050: _ACEOF
                   16051: 
                   16052: fi
                   16053: 
1.150     moko     16054: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   16055: $as_echo_n "checking for the default library search path... " >&6; }
                   16056: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   16057:   $as_echo_n "(cached) " >&6
1.128     moko     16058: else
                   16059:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16060: fi
1.150     moko     16061: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   16062: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16063: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16064:   sys_dlsearch_path=
                   16065:   for dir in $lt_cv_sys_dlsearch_path; do
                   16066:     if test -z "$sys_dlsearch_path"; then
                   16067:       sys_dlsearch_path="$dir"
                   16068:     else
                   16069:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16070:     fi
                   16071:   done
                   16072: 
                   16073: cat >>confdefs.h <<_ACEOF
                   16074: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16075: _ACEOF
                   16076: 
                   16077: fi
                   16078: 
                   16079: 
                   16080: LT_DLLOADERS=
                   16081: 
                   16082: 
                   16083: ac_ext=c
                   16084: ac_cpp='$CPP $CPPFLAGS'
                   16085: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16086: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16087: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16088: 
                   16089: 
                   16090: LIBADD_DLOPEN=
1.150     moko     16091: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   16092: $as_echo_n "checking for library containing dlopen... " >&6; }
                   16093: if ${ac_cv_search_dlopen+:} false; then :
                   16094:   $as_echo_n "(cached) " >&6
1.128     moko     16095: else
                   16096:   ac_func_search_save_LIBS=$LIBS
1.150     moko     16097: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16098: /* end confdefs.h.  */
                   16099: 
1.150     moko     16100: /* Override any GCC internal prototype to avoid an error.
                   16101:    Use char because int might match the return type of a GCC
                   16102:    builtin and then its argument prototype would still apply.  */
1.128     moko     16103: #ifdef __cplusplus
                   16104: extern "C"
                   16105: #endif
                   16106: char dlopen ();
                   16107: int
                   16108: main ()
                   16109: {
1.150     moko     16110: return dlopen ();
1.128     moko     16111:   ;
                   16112:   return 0;
                   16113: }
                   16114: _ACEOF
1.150     moko     16115: for ac_lib in '' dl; do
                   16116:   if test -z "$ac_lib"; then
                   16117:     ac_res="none required"
                   16118:   else
                   16119:     ac_res=-l$ac_lib
                   16120:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16121:   fi
                   16122:   if ac_fn_c_try_link "$LINENO"; then :
                   16123:   ac_cv_search_dlopen=$ac_res
                   16124: fi
                   16125: rm -f core conftest.err conftest.$ac_objext \
                   16126:     conftest$ac_exeext
                   16127:   if ${ac_cv_search_dlopen+:} false; then :
                   16128:   break
1.128     moko     16129: fi
1.150     moko     16130: done
                   16131: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16132: 
                   16133: else
1.150     moko     16134:   ac_cv_search_dlopen=no
1.128     moko     16135: fi
1.150     moko     16136: rm conftest.$ac_ext
1.128     moko     16137: LIBS=$ac_func_search_save_LIBS
                   16138: fi
1.150     moko     16139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   16140: $as_echo "$ac_cv_search_dlopen" >&6; }
                   16141: ac_res=$ac_cv_search_dlopen
                   16142: if test "$ac_res" != no; then :
                   16143:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16144: 
1.150     moko     16145: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16146: 
                   16147:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16148:          LIBADD_DLOPEN="-ldl"
                   16149:        fi
                   16150:        libltdl_cv_lib_dl_dlopen="yes"
                   16151:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16152: else
1.150     moko     16153:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16154: /* end confdefs.h.  */
                   16155: #if HAVE_DLFCN_H
                   16156: #  include <dlfcn.h>
                   16157: #endif
                   16158: 
                   16159: int
                   16160: main ()
                   16161: {
                   16162: dlopen(0, 0);
                   16163:   ;
                   16164:   return 0;
                   16165: }
                   16166: _ACEOF
1.150     moko     16167: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16168: 
1.150     moko     16169: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16170: 
                   16171:            libltdl_cv_func_dlopen="yes"
                   16172:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16173: else
1.150     moko     16174:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   16175: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   16176: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   16177:   $as_echo_n "(cached) " >&6
1.128     moko     16178: else
                   16179:   ac_check_lib_save_LIBS=$LIBS
                   16180: LIBS="-lsvld  $LIBS"
1.150     moko     16181: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16182: /* end confdefs.h.  */
                   16183: 
1.150     moko     16184: /* Override any GCC internal prototype to avoid an error.
                   16185:    Use char because int might match the return type of a GCC
                   16186:    builtin and then its argument prototype would still apply.  */
1.128     moko     16187: #ifdef __cplusplus
                   16188: extern "C"
                   16189: #endif
                   16190: char dlopen ();
                   16191: int
                   16192: main ()
                   16193: {
1.150     moko     16194: return dlopen ();
1.128     moko     16195:   ;
                   16196:   return 0;
                   16197: }
                   16198: _ACEOF
1.150     moko     16199: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16200:   ac_cv_lib_svld_dlopen=yes
                   16201: else
1.150     moko     16202:   ac_cv_lib_svld_dlopen=no
1.128     moko     16203: fi
1.150     moko     16204: rm -f core conftest.err conftest.$ac_objext \
                   16205:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16206: LIBS=$ac_check_lib_save_LIBS
                   16207: fi
1.150     moko     16208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16209: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   16210: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16211: 
1.150     moko     16212: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16213: 
                   16214:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16215:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16216: fi
                   16217: 
                   16218: fi
1.150     moko     16219: rm -f core conftest.err conftest.$ac_objext \
                   16220:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16221: fi
                   16222: 
                   16223: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16224: then
                   16225:   lt_save_LIBS="$LIBS"
                   16226:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     16227:   for ac_func in dlerror
                   16228: do :
                   16229:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   16230: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16231:   cat >>confdefs.h <<_ACEOF
1.150     moko     16232: #define HAVE_DLERROR 1
1.128     moko     16233: _ACEOF
                   16234: 
                   16235: fi
                   16236: done
                   16237: 
                   16238:   LIBS="$lt_save_LIBS"
                   16239: fi
                   16240: 
                   16241: 
                   16242: LIBADD_SHL_LOAD=
1.150     moko     16243: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   16244: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16245: 
1.150     moko     16246: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16247: 
                   16248:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16249: else
1.150     moko     16250:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   16251: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   16252: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   16253:   $as_echo_n "(cached) " >&6
1.66      paf      16254: else
                   16255:   ac_check_lib_save_LIBS=$LIBS
                   16256: LIBS="-ldld  $LIBS"
1.150     moko     16257: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16258: /* end confdefs.h.  */
1.10      paf      16259: 
1.150     moko     16260: /* Override any GCC internal prototype to avoid an error.
                   16261:    Use char because int might match the return type of a GCC
                   16262:    builtin and then its argument prototype would still apply.  */
1.66      paf      16263: #ifdef __cplusplus
                   16264: extern "C"
                   16265: #endif
                   16266: char shl_load ();
                   16267: int
                   16268: main ()
                   16269: {
1.150     moko     16270: return shl_load ();
1.66      paf      16271:   ;
                   16272:   return 0;
                   16273: }
                   16274: _ACEOF
1.150     moko     16275: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16276:   ac_cv_lib_dld_shl_load=yes
                   16277: else
1.150     moko     16278:   ac_cv_lib_dld_shl_load=no
1.66      paf      16279: fi
1.150     moko     16280: rm -f core conftest.err conftest.$ac_objext \
                   16281:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16282: LIBS=$ac_check_lib_save_LIBS
                   16283: fi
1.150     moko     16284: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   16285: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   16286: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16287: 
1.150     moko     16288: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16289: 
1.128     moko     16290:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16291:            LIBADD_SHL_LOAD="-ldld"
                   16292: fi
                   16293: 
                   16294: fi
                   16295: 
                   16296: 
                   16297: 
                   16298: case $host_os in
                   16299: darwin[1567].*)
                   16300: # We only want this for pre-Mac OS X 10.4.
1.150     moko     16301:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   16302: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   16303: 
                   16304: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16305: 
1.150     moko     16306:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16307: fi
1.128     moko     16308: 
1.150     moko     16309:   ;;
                   16310: beos*)
1.128     moko     16311:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16312:   ;;
                   16313: cygwin* | mingw* | os2* | pw32*)
1.150     moko     16314:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   16315: "
                   16316: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   16317:   ac_have_decl=1
1.128     moko     16318: else
1.150     moko     16319:   ac_have_decl=0
1.128     moko     16320: fi
                   16321: 
                   16322: cat >>confdefs.h <<_ACEOF
1.150     moko     16323: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16324: _ACEOF
                   16325: 
                   16326:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16327:   ;;
                   16328: esac
                   16329: 
1.150     moko     16330: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16331: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   16332: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   16333:   $as_echo_n "(cached) " >&6
1.66      paf      16334: else
                   16335:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16336: LIBS="-ldld  $LIBS"
1.150     moko     16337: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16338: /* end confdefs.h.  */
1.62      paf      16339: 
1.150     moko     16340: /* Override any GCC internal prototype to avoid an error.
                   16341:    Use char because int might match the return type of a GCC
                   16342:    builtin and then its argument prototype would still apply.  */
1.66      paf      16343: #ifdef __cplusplus
                   16344: extern "C"
                   16345: #endif
1.128     moko     16346: char dld_link ();
1.66      paf      16347: int
                   16348: main ()
                   16349: {
1.150     moko     16350: return dld_link ();
1.66      paf      16351:   ;
                   16352:   return 0;
                   16353: }
                   16354: _ACEOF
1.150     moko     16355: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16356:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16357: else
1.150     moko     16358:   ac_cv_lib_dld_dld_link=no
1.128     moko     16359: fi
1.150     moko     16360: rm -f core conftest.err conftest.$ac_objext \
                   16361:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16362: LIBS=$ac_check_lib_save_LIBS
                   16363: fi
1.150     moko     16364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16365: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   16366: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16367: 
1.150     moko     16368: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16369: 
                   16370:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16371: fi
                   16372: 
                   16373: 
                   16374: 
                   16375: 
                   16376: LT_DLPREOPEN=
                   16377: if test -n "$LT_DLLOADERS"
                   16378: then
                   16379:   for lt_loader in $LT_DLLOADERS; do
                   16380:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16381:   done
                   16382: 
1.150     moko     16383: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16384: 
                   16385: fi
                   16386: 
                   16387: 
                   16388: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16389: 
                   16390: 
                   16391: ac_ext=c
                   16392: ac_cpp='$CPP $CPPFLAGS'
                   16393: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16394: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16395: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16396: 
                   16397: 
1.150     moko     16398: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   16399: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   16400: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   16401:   $as_echo_n "(cached) " >&6
1.128     moko     16402: else
                   16403:   lt_cv_sys_symbol_underscore=no
                   16404:   cat > conftest.$ac_ext <<_LT_EOF
                   16405: void nm_test_func(){}
                   16406: int main(){nm_test_func;return 0;}
                   16407: _LT_EOF
1.150     moko     16408:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16409:   (eval $ac_compile) 2>&5
                   16410:   ac_status=$?
1.150     moko     16411:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16412:   test $ac_status = 0; }; then
1.128     moko     16413:     # Now try to grab the symbols.
                   16414:     ac_nlist=conftest.nm
1.150     moko     16415:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16416:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16417:   ac_status=$?
1.150     moko     16418:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16419:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16420:       # See whether the symbols have a leading underscore.
                   16421:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16422:         lt_cv_sys_symbol_underscore=yes
                   16423:       else
                   16424:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16425:          :
                   16426:         else
                   16427:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16428:         fi
                   16429:       fi
                   16430:     else
                   16431:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16432:     fi
                   16433:   else
                   16434:     echo "configure: failed program was:" >&5
                   16435:     cat conftest.c >&5
                   16436:   fi
                   16437:   rm -rf conftest*
1.29      paf      16438: 
1.66      paf      16439: fi
1.150     moko     16440: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   16441: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     16442:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16443: 
1.62      paf      16444: 
1.128     moko     16445: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16446:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16447:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150     moko     16448:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   16449: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   16450: if ${libltdl_cv_need_uscore+:} false; then :
                   16451:   $as_echo_n "(cached) " >&6
1.66      paf      16452: else
1.128     moko     16453:   libltdl_cv_need_uscore=unknown
                   16454:           save_LIBS="$LIBS"
                   16455:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16456:          if test "$cross_compiling" = yes; then :
                   16457:   libltdl_cv_need_uscore=cross
                   16458: else
                   16459:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16460:   lt_status=$lt_dlunknown
                   16461:   cat > conftest.$ac_ext <<_LT_EOF
                   16462: #line $LINENO "configure"
                   16463: #include "confdefs.h"
                   16464: 
1.66      paf      16465: #if HAVE_DLFCN_H
1.128     moko     16466: #include <dlfcn.h>
                   16467: #endif
                   16468: 
                   16469: #include <stdio.h>
                   16470: 
                   16471: #ifdef RTLD_GLOBAL
                   16472: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16473: #else
                   16474: #  ifdef DL_GLOBAL
                   16475: #    define LT_DLGLOBAL                DL_GLOBAL
                   16476: #  else
                   16477: #    define LT_DLGLOBAL                0
                   16478: #  endif
                   16479: #endif
                   16480: 
                   16481: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16482:    find out it does not work in some platform. */
                   16483: #ifndef LT_DLLAZY_OR_NOW
                   16484: #  ifdef RTLD_LAZY
                   16485: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16486: #  else
                   16487: #    ifdef DL_LAZY
                   16488: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16489: #    else
                   16490: #      ifdef RTLD_NOW
                   16491: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16492: #      else
                   16493: #        ifdef DL_NOW
                   16494: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16495: #        else
                   16496: #          define LT_DLLAZY_OR_NOW     0
                   16497: #        endif
                   16498: #      endif
                   16499: #    endif
                   16500: #  endif
                   16501: #endif
                   16502: 
                   16503: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16504:    correspondingly for the symbols needed.  */
                   16505: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16506: int fnord () __attribute__((visibility("default")));
1.66      paf      16507: #endif
1.62      paf      16508: 
1.128     moko     16509: int fnord () { return 42; }
                   16510: int main ()
1.66      paf      16511: {
1.128     moko     16512:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16513:   int status = $lt_dlunknown;
                   16514: 
                   16515:   if (self)
                   16516:     {
                   16517:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16518:       else
                   16519:         {
                   16520:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16521:           else puts (dlerror ());
                   16522:        }
                   16523:       /* dlclose (self); */
                   16524:     }
                   16525:   else
                   16526:     puts (dlerror ());
                   16527: 
                   16528:   return status;
1.66      paf      16529: }
1.128     moko     16530: _LT_EOF
1.150     moko     16531:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16532:   (eval $ac_link) 2>&5
1.66      paf      16533:   ac_status=$?
1.150     moko     16534:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16535:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     16536:     (./conftest; exit; ) >&5 2>/dev/null
                   16537:     lt_status=$?
                   16538:     case x$lt_status in
                   16539:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16540:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16541:       x$lt_dlunknown|x*)  ;;
                   16542:     esac
                   16543:   else :
                   16544:     # compilation failed
                   16545: 
                   16546:   fi
                   16547: fi
                   16548: rm -fr conftest*
                   16549: 
                   16550:          LIBS="$save_LIBS"
                   16551: 
                   16552: fi
1.150     moko     16553: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16554: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     16555:   fi
                   16556: fi
                   16557: 
                   16558: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16559: 
1.150     moko     16560: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      16561: 
1.128     moko     16562: fi
                   16563: 
1.150     moko     16564: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16565: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16566: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16567:   $as_echo_n "(cached) " >&6
1.66      paf      16568: else
1.128     moko     16569:   # PORTME does your system automatically load deplibs for dlopen?
                   16570:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16571:   # For now, we just catch OSes we know something about -- in the
                   16572:   # future, we'll try test this programmatically.
                   16573:   lt_cv_sys_dlopen_deplibs=unknown
                   16574:   case $host_os in
                   16575:   aix3*|aix4.1.*|aix4.2.*)
                   16576:     # Unknown whether this is true for these versions of AIX, but
                   16577:     # we want this `case' here to explicitly catch those versions.
                   16578:     lt_cv_sys_dlopen_deplibs=unknown
                   16579:     ;;
                   16580:   aix[4-9]*)
                   16581:     lt_cv_sys_dlopen_deplibs=yes
                   16582:     ;;
                   16583:   amigaos*)
                   16584:     case $host_cpu in
                   16585:     powerpc)
                   16586:       lt_cv_sys_dlopen_deplibs=no
                   16587:       ;;
                   16588:     esac
                   16589:     ;;
                   16590:   darwin*)
                   16591:     # Assuming the user has installed a libdl from somewhere, this is true
                   16592:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16593:     lt_cv_sys_dlopen_deplibs=yes
                   16594:     ;;
                   16595:   freebsd* | dragonfly*)
                   16596:     lt_cv_sys_dlopen_deplibs=yes
                   16597:     ;;
                   16598:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16599:     # GNU and its variants, using gnu ld.so (Glibc)
                   16600:     lt_cv_sys_dlopen_deplibs=yes
                   16601:     ;;
                   16602:   hpux10*|hpux11*)
                   16603:     lt_cv_sys_dlopen_deplibs=yes
                   16604:     ;;
                   16605:   interix*)
                   16606:     lt_cv_sys_dlopen_deplibs=yes
                   16607:     ;;
                   16608:   irix[12345]*|irix6.[01]*)
                   16609:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16610:     # know how it worked for any of those versions.
                   16611:     lt_cv_sys_dlopen_deplibs=unknown
                   16612:     ;;
                   16613:   irix*)
                   16614:     # The case above catches anything before 6.2, and it's known that
                   16615:     # at 6.2 and later dlopen does load deplibs.
                   16616:     lt_cv_sys_dlopen_deplibs=yes
                   16617:     ;;
                   16618:   netbsd*)
                   16619:     lt_cv_sys_dlopen_deplibs=yes
                   16620:     ;;
                   16621:   openbsd*)
                   16622:     lt_cv_sys_dlopen_deplibs=yes
                   16623:     ;;
                   16624:   osf[1234]*)
                   16625:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16626:     # it did *not* use an RPATH in a shared library to find objects the
                   16627:     # library depends on, so we explicitly say `no'.
                   16628:     lt_cv_sys_dlopen_deplibs=no
                   16629:     ;;
                   16630:   osf5.0|osf5.0a|osf5.1)
                   16631:     # dlopen *does* load deplibs and with the right loader patch applied
                   16632:     # it even uses RPATH in a shared library to search for shared objects
                   16633:     # that the library depends on, but there's no easy way to know if that
                   16634:     # patch is installed.  Since this is the case, all we can really
                   16635:     # say is unknown -- it depends on the patch being installed.  If
                   16636:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16637:     lt_cv_sys_dlopen_deplibs=unknown
                   16638:     ;;
                   16639:   osf*)
                   16640:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16641:     # the comments above for what we know about them.
                   16642:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16643:     # is used to find them so we can finally say `yes'.
                   16644:     lt_cv_sys_dlopen_deplibs=yes
                   16645:     ;;
                   16646:   qnx*)
                   16647:     lt_cv_sys_dlopen_deplibs=yes
                   16648:     ;;
                   16649:   solaris*)
                   16650:     lt_cv_sys_dlopen_deplibs=yes
                   16651:     ;;
                   16652:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16653:     libltdl_cv_sys_dlopen_deplibs=yes
                   16654:     ;;
                   16655:   esac
                   16656: 
                   16657: fi
1.150     moko     16658: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16659: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     16660: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16661: 
1.150     moko     16662: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     16663: 
                   16664: fi
                   16665: 
                   16666: :
                   16667: 
                   16668: for ac_header in argz.h
1.150     moko     16669: do :
                   16670:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   16671: "
                   16672: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     16673:   cat >>confdefs.h <<_ACEOF
1.150     moko     16674: #define HAVE_ARGZ_H 1
1.128     moko     16675: _ACEOF
                   16676: 
1.66      paf      16677: fi
1.62      paf      16678: 
1.128     moko     16679: done
                   16680: 
1.29      paf      16681: 
1.150     moko     16682: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     16683: #  include <argz.h>
                   16684: #endif
1.150     moko     16685: "
                   16686: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      16687: 
1.128     moko     16688: cat >>confdefs.h <<_ACEOF
                   16689: #define HAVE_ERROR_T 1
1.62      paf      16690: _ACEOF
1.16      paf      16691: 
                   16692: 
1.128     moko     16693: else
1.16      paf      16694: 
1.150     moko     16695: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      16696: 
1.12      paf      16697: 
1.150     moko     16698: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      16699: 
1.66      paf      16700: fi
1.12      paf      16701: 
1.128     moko     16702: 
                   16703: ARGZ_H=
                   16704: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16705:        argz_next argz_stringify
1.150     moko     16706: do :
                   16707:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16708: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16709: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     16710:   cat >>confdefs.h <<_ACEOF
1.150     moko     16711: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     16712: _ACEOF
                   16713: 
                   16714: else
                   16715:   ARGZ_H=argz.h;
                   16716: 
                   16717:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16718: 
                   16719: fi
                   16720: done
                   16721: 
                   16722: 
1.150     moko     16723: if test -z "$ARGZ_H"; then :
                   16724:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   16725: $as_echo_n "checking if argz actually works... " >&6; }
                   16726: if ${lt_cv_sys_argz_works+:} false; then :
                   16727:   $as_echo_n "(cached) " >&6
1.128     moko     16728: else
                   16729:   case $host_os in #(
                   16730:         *cygwin*)
                   16731:           lt_cv_sys_argz_works=no
                   16732:           if test "$cross_compiling" != no; then
                   16733:             lt_cv_sys_argz_works="guessing no"
                   16734:           else
                   16735:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16736:             save_IFS=$IFS
                   16737:             IFS=-.
                   16738:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16739:             IFS=$save_IFS
                   16740:             lt_os_major=${2-0}
                   16741:             lt_os_minor=${3-0}
                   16742:             lt_os_micro=${4-0}
                   16743:             if test "$lt_os_major" -gt 1 \
                   16744:                || { test "$lt_os_major" -eq 1 \
                   16745:                  && { test "$lt_os_minor" -gt 5 \
                   16746:                    || { test "$lt_os_minor" -eq 5 \
                   16747:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16748:               lt_cv_sys_argz_works=yes
                   16749:             fi
                   16750:           fi
                   16751:           ;; #(
                   16752:         *) lt_cv_sys_argz_works=yes ;;
                   16753:         esac
                   16754: fi
1.150     moko     16755: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   16756: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   16757:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     16758: 
1.150     moko     16759: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     16760: 
1.62      paf      16761: else
1.128     moko     16762:   ARGZ_H=argz.h
                   16763: 
                   16764: 
                   16765:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16766: 
                   16767: fi
1.62      paf      16768: fi
1.128     moko     16769: 
                   16770: 
                   16771: 
1.150     moko     16772: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16773: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   16774: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   16775:   $as_echo_n "(cached) " >&6
1.128     moko     16776: else
                   16777:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16778:     libltdl_cv_preloaded_symbols=yes
                   16779:   else
                   16780:     libltdl_cv_preloaded_symbols=no
                   16781:   fi
                   16782: 
1.62      paf      16783: fi
1.150     moko     16784: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   16785: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     16786: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16787: 
1.150     moko     16788: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      16789: 
                   16790: fi
                   16791: 
1.150     moko     16792: 
                   16793: 
1.128     moko     16794: # Set options
                   16795: 
                   16796: 
                   16797: 
                   16798: 
                   16799: 
                   16800: 
                   16801: 
                   16802: 
                   16803: 
                   16804: 
1.66      paf      16805: 
                   16806: 
1.150     moko     16807: # Check whether --with-included_ltdl was given.
                   16808: if test "${with_included_ltdl+set}" = set; then :
                   16809:   withval=$with_included_ltdl;
                   16810: fi
1.64      paf      16811: 
                   16812: 
1.128     moko     16813: if test "x$with_included_ltdl" != xyes; then
                   16814:   # We are not being forced to use the included libltdl sources, so
                   16815:   # decide whether there is a useful installed version we can use.
1.150     moko     16816:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     16817: 
1.150     moko     16818: "
                   16819: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   16820:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     16821:            #include <ltdl.h>
1.150     moko     16822: "
                   16823: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   16824:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   16825: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   16826: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   16827:   $as_echo_n "(cached) " >&6
1.79      paf      16828: else
1.128     moko     16829:   ac_check_lib_save_LIBS=$LIBS
                   16830: LIBS="-lltdl  $LIBS"
1.150     moko     16831: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      16832: /* end confdefs.h.  */
1.128     moko     16833: 
1.150     moko     16834: /* Override any GCC internal prototype to avoid an error.
                   16835:    Use char because int might match the return type of a GCC
                   16836:    builtin and then its argument prototype would still apply.  */
1.128     moko     16837: #ifdef __cplusplus
                   16838: extern "C"
                   16839: #endif
                   16840: char lt_dladvise_preload ();
1.79      paf      16841: int
                   16842: main ()
                   16843: {
1.150     moko     16844: return lt_dladvise_preload ();
1.79      paf      16845:   ;
                   16846:   return 0;
                   16847: }
                   16848: _ACEOF
1.150     moko     16849: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16850:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      16851: else
1.150     moko     16852:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     16853: fi
1.150     moko     16854: rm -f core conftest.err conftest.$ac_objext \
                   16855:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16856: LIBS=$ac_check_lib_save_LIBS
1.79      paf      16857: fi
1.150     moko     16858: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16859: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   16860: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     16861:   with_included_ltdl=no
1.79      paf      16862: else
1.128     moko     16863:   with_included_ltdl=yes
                   16864: fi
                   16865: 
1.79      paf      16866: else
1.128     moko     16867:   with_included_ltdl=yes
                   16868: fi
1.79      paf      16869: 
1.128     moko     16870: else
                   16871:   with_included_ltdl=yes
1.79      paf      16872: fi
1.128     moko     16873: 
                   16874: 
1.79      paf      16875: fi
1.128     moko     16876: 
                   16877: 
                   16878: 
                   16879: 
1.150     moko     16880: # Check whether --with-ltdl_include was given.
                   16881: if test "${with_ltdl_include+set}" = set; then :
                   16882:   withval=$with_ltdl_include;
                   16883: fi
1.128     moko     16884: 
                   16885: 
                   16886: if test -n "$with_ltdl_include"; then
                   16887:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16888:   else
1.150     moko     16889:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     16890:   fi
                   16891: else
                   16892:   with_ltdl_include=no
1.79      paf      16893: fi
1.128     moko     16894: 
                   16895: 
1.150     moko     16896: # Check whether --with-ltdl_lib was given.
                   16897: if test "${with_ltdl_lib+set}" = set; then :
                   16898:   withval=$with_ltdl_lib;
                   16899: fi
1.128     moko     16900: 
                   16901: 
                   16902: if test -n "$with_ltdl_lib"; then
                   16903:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16904:   else
1.150     moko     16905:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     16906:   fi
                   16907: else
                   16908:   with_ltdl_lib=no
1.79      paf      16909: fi
                   16910: 
1.128     moko     16911: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   16912:   ,yes,no,no,)
                   16913:        case $enable_ltdl_convenience in
1.150     moko     16914:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     16915:   "") enable_ltdl_convenience=yes
                   16916:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   16917: esac
1.150     moko     16918: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     16919: LTDLDEPS=$LIBLTDL
                   16920: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   16921: 
                   16922: 
                   16923: 
                   16924: 
                   16925: 
                   16926: # For backwards non-gettext consistent compatibility...
                   16927: INCLTDL="$LTDLINCL"
                   16928: 
1.79      paf      16929: 
1.128     moko     16930:        ;;
                   16931:   ,no,no,no,)
                   16932:        # If the included ltdl is not to be used, then use the
                   16933:        # preinstalled libltdl we found.
1.79      paf      16934: 
1.150     moko     16935: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      16936: 
1.128     moko     16937:        LIBLTDL=-lltdl
                   16938:        LTDLDEPS=
                   16939:        LTDLINCL=
                   16940:        ;;
                   16941:   ,no*,no,*)
1.150     moko     16942:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     16943:        ;;
                   16944:   *)   with_included_ltdl=no
                   16945:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   16946:        LTDLDEPS=
                   16947:        LTDLINCL="-I$with_ltdl_include"
                   16948:        ;;
                   16949: esac
                   16950: INCLTDL="$LTDLINCL"
                   16951: 
                   16952: # Report our decision...
1.150     moko     16953: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   16954: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   16955: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   16956: $as_echo "$LTDLINCL" >&6; }
                   16957: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   16958: $as_echo_n "checking where to find libltdl library... " >&6; }
                   16959: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   16960: $as_echo "$LIBLTDL" >&6; }
1.128     moko     16961: 
                   16962: 
                   16963: 
1.150     moko     16964: # Check whether --enable-ltdl-install was given.
                   16965: if test "${enable_ltdl_install+set}" = set; then :
                   16966:   enableval=$enable_ltdl_install;
                   16967: fi
1.128     moko     16968: 
                   16969: 
                   16970: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   16971:   *yes*) ;;
                   16972:   *) enable_ltdl_convenience=yes ;;
                   16973: esac
                   16974: 
1.150     moko     16975:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     16976:   INSTALL_LTDL_TRUE=
                   16977:   INSTALL_LTDL_FALSE='#'
                   16978: else
                   16979:   INSTALL_LTDL_TRUE='#'
                   16980:   INSTALL_LTDL_FALSE=
                   16981: fi
                   16982: 
1.150     moko     16983:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     16984:   CONVENIENCE_LTDL_TRUE=
                   16985:   CONVENIENCE_LTDL_FALSE='#'
                   16986: else
                   16987:   CONVENIENCE_LTDL_TRUE='#'
                   16988:   CONVENIENCE_LTDL_FALSE=
                   16989: fi
                   16990: 
                   16991: 
                   16992: 
1.150     moko     16993:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     16994: 
                   16995: 
                   16996: 
                   16997: 
                   16998: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   16999: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17000: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17001: # definitions required by ltdl.c.
                   17002: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17003: 
                   17004: 
                   17005: 
1.150     moko     17006: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17007: do :
                   17008:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17009: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   17010: "
                   17011: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17012:   cat >>confdefs.h <<_ACEOF
                   17013: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17014: _ACEOF
1.128     moko     17015: 
1.150     moko     17016: fi
1.128     moko     17017: 
1.150     moko     17018: done
1.128     moko     17019: 
                   17020: 
1.150     moko     17021: for ac_func in closedir opendir readdir
                   17022: do :
                   17023:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17024: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17025: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17026:   cat >>confdefs.h <<_ACEOF
                   17027: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17028: _ACEOF
1.66      paf      17029: 
                   17030: else
1.64      paf      17031: 
1.66      paf      17032: 
1.128     moko     17033:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17034: 
1.66      paf      17035: fi
1.128     moko     17036: done
                   17037: 
                   17038: for ac_func in strlcat strlcpy
1.150     moko     17039: do :
                   17040:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17041: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17042: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17043:   cat >>confdefs.h <<_ACEOF
1.150     moko     17044: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17045: _ACEOF
                   17046: 
                   17047: else
                   17048: 
                   17049: 
                   17050:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17051: 
1.62      paf      17052: fi
1.128     moko     17053: done
                   17054: 
                   17055: 
1.64      paf      17056: 
1.128     moko     17057: cat >>confdefs.h <<_ACEOF
                   17058: #define LT_LIBEXT "$libext"
1.62      paf      17059: _ACEOF
1.64      paf      17060: 
1.128     moko     17061: 
                   17062: name=
                   17063: eval "lt_libprefix=\"$libname_spec\""
                   17064: 
                   17065: cat >>confdefs.h <<_ACEOF
                   17066: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17067: _ACEOF
1.128     moko     17068: 
                   17069: 
                   17070: name=ltdl
                   17071: eval "LTDLOPEN=\"$libname_spec\""
                   17072: 
                   17073: 
                   17074: 
                   17075: 
                   17076: 
                   17077: 
                   17078: 
                   17079: 
                   17080: # Only expand once:
                   17081: 
                   17082: 
                   17083: 
                   17084: 
1.150     moko     17085:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17086: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17087: if ${ac_cv_c_bigendian+:} false; then :
                   17088:   $as_echo_n "(cached) " >&6
                   17089: else
                   17090:   ac_cv_c_bigendian=unknown
                   17091:     # See if we're dealing with a universal compiler.
                   17092:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17093: /* end confdefs.h.  */
                   17094: #ifndef __APPLE_CC__
                   17095:               not a universal capable compiler
                   17096:             #endif
                   17097:             typedef int dummy;
                   17098: 
                   17099: _ACEOF
                   17100: if ac_fn_c_try_compile "$LINENO"; then :
                   17101: 
                   17102:        # Check for potential -arch flags.  It is not universal unless
                   17103:        # there are at least two -arch flags with different values.
                   17104:        ac_arch=
                   17105:        ac_prev=
                   17106:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17107:         if test -n "$ac_prev"; then
                   17108:           case $ac_word in
                   17109:             i?86 | x86_64 | ppc | ppc64)
                   17110:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17111:                 ac_arch=$ac_word
                   17112:               else
                   17113:                 ac_cv_c_bigendian=universal
                   17114:                 break
                   17115:               fi
                   17116:               ;;
                   17117:           esac
                   17118:           ac_prev=
                   17119:         elif test "x$ac_word" = "x-arch"; then
                   17120:           ac_prev=arch
                   17121:         fi
                   17122:        done
                   17123: fi
                   17124: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17125:     if test $ac_cv_c_bigendian = unknown; then
                   17126:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17127:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17128: /* end confdefs.h.  */
1.128     moko     17129: #include <sys/types.h>
1.150     moko     17130:             #include <sys/param.h>
1.128     moko     17131: 
                   17132: int
                   17133: main ()
                   17134: {
1.150     moko     17135: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17136:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17137:                     && LITTLE_ENDIAN)
                   17138:              bogus endian macros
                   17139:             #endif
1.64      paf      17140: 
1.128     moko     17141:   ;
                   17142:   return 0;
                   17143: }
1.66      paf      17144: _ACEOF
1.150     moko     17145: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17146:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     17147:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17148: /* end confdefs.h.  */
1.128     moko     17149: #include <sys/types.h>
1.150     moko     17150:                #include <sys/param.h>
1.64      paf      17151: 
                   17152: int
                   17153: main ()
1.128     moko     17154: {
                   17155: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     17156:                 not big endian
                   17157:                #endif
1.128     moko     17158: 
                   17159:   ;
                   17160:   return 0;
1.64      paf      17161: }
                   17162: _ACEOF
1.150     moko     17163: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17164:   ac_cv_c_bigendian=yes
1.64      paf      17165: else
1.150     moko     17166:   ac_cv_c_bigendian=no
                   17167: fi
                   17168: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17169: fi
                   17170: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17171:     fi
                   17172:     if test $ac_cv_c_bigendian = unknown; then
                   17173:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17174:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17175: /* end confdefs.h.  */
                   17176: #include <limits.h>
1.64      paf      17177: 
1.150     moko     17178: int
                   17179: main ()
                   17180: {
                   17181: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17182:              bogus endian macros
                   17183:             #endif
1.66      paf      17184: 
1.150     moko     17185:   ;
                   17186:   return 0;
                   17187: }
1.62      paf      17188: _ACEOF
1.150     moko     17189: if ac_fn_c_try_compile "$LINENO"; then :
                   17190:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17191:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17192: /* end confdefs.h.  */
1.150     moko     17193: #include <limits.h>
                   17194: 
1.128     moko     17195: int
                   17196: main ()
                   17197: {
1.150     moko     17198: #ifndef _BIG_ENDIAN
                   17199:                 not big endian
                   17200:                #endif
                   17201: 
1.128     moko     17202:   ;
                   17203:   return 0;
                   17204: }
1.62      paf      17205: _ACEOF
1.150     moko     17206: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17207:   ac_cv_c_bigendian=yes
1.150     moko     17208: else
                   17209:   ac_cv_c_bigendian=no
1.128     moko     17210: fi
1.150     moko     17211: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17212: fi
1.150     moko     17213: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17214:     fi
                   17215:     if test $ac_cv_c_bigendian = unknown; then
                   17216:       # Compile a test program.
                   17217:       if test "$cross_compiling" = yes; then :
                   17218:   # Try to guess by grepping values from an object file.
                   17219:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17220: /* end confdefs.h.  */
                   17221: short int ascii_mm[] =
                   17222:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17223:                short int ascii_ii[] =
                   17224:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17225:                int use_ascii (int i) {
                   17226:                  return ascii_mm[i] + ascii_ii[i];
                   17227:                }
                   17228:                short int ebcdic_ii[] =
                   17229:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17230:                short int ebcdic_mm[] =
                   17231:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17232:                int use_ebcdic (int i) {
                   17233:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17234:                }
                   17235:                extern int foo;
1.62      paf      17236: 
1.150     moko     17237: int
                   17238: main ()
                   17239: {
                   17240: return use_ascii (foo) == use_ebcdic (foo);
                   17241:   ;
                   17242:   return 0;
                   17243: }
                   17244: _ACEOF
                   17245: if ac_fn_c_try_compile "$LINENO"; then :
                   17246:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17247:              ac_cv_c_bigendian=yes
                   17248:            fi
                   17249:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17250:              if test "$ac_cv_c_bigendian" = unknown; then
                   17251:                ac_cv_c_bigendian=no
                   17252:              else
                   17253:                # finding both strings is unlikely to happen, but who knows?
                   17254:                ac_cv_c_bigendian=unknown
                   17255:              fi
                   17256:            fi
1.128     moko     17257: fi
1.150     moko     17258: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17259: else
1.150     moko     17260:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17261: /* end confdefs.h.  */
1.150     moko     17262: $ac_includes_default
1.128     moko     17263: int
                   17264: main ()
                   17265: {
1.150     moko     17266: 
                   17267:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17268:             union
                   17269:             {
                   17270:               long int l;
                   17271:               char c[sizeof (long int)];
                   17272:             } u;
                   17273:             u.l = 1;
                   17274:             return u.c[sizeof (long int) - 1] == 1;
                   17275: 
                   17276:   ;
                   17277:   return 0;
1.128     moko     17278: }
                   17279: _ACEOF
1.150     moko     17280: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17281:   ac_cv_c_bigendian=no
                   17282: else
1.150     moko     17283:   ac_cv_c_bigendian=yes
1.128     moko     17284: fi
1.150     moko     17285: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17286:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17287: fi
1.150     moko     17288: 
                   17289:     fi
1.66      paf      17290: fi
1.150     moko     17291: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17292: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17293:  case $ac_cv_c_bigendian in #(
                   17294:    yes)
                   17295: 
                   17296: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   17297: 
                   17298: ;; #(
                   17299:    no)
1.128     moko     17300: 
1.150     moko     17301: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17302: 
1.150     moko     17303:  ;; #(
                   17304:    universal)
1.128     moko     17305: 
1.150     moko     17306: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17307: 
1.150     moko     17308:      ;; #(
                   17309:    *)
                   17310:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17311:  ;;
1.150     moko     17312:  esac
1.66      paf      17313: 
                   17314: 
1.150     moko     17315: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17316: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17317: 
1.66      paf      17318: else
1.1       paf      17319: 
1.66      paf      17320: cat >>confdefs.h <<_ACEOF
1.150     moko     17321: #define size_t unsigned int
1.66      paf      17322: _ACEOF
1.62      paf      17323: 
                   17324: fi
1.66      paf      17325: 
1.128     moko     17326: 
                   17327: 
1.150     moko     17328: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   17329: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   17330: if ${ac_cv_header_time+:} false; then :
                   17331:   $as_echo_n "(cached) " >&6
1.62      paf      17332: else
1.150     moko     17333:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17334: /* end confdefs.h.  */
1.66      paf      17335: #include <sys/types.h>
                   17336: #include <sys/time.h>
                   17337: #include <time.h>
1.62      paf      17338: 
                   17339: int
                   17340: main ()
                   17341: {
1.66      paf      17342: if ((struct tm *) 0)
                   17343: return 0;
1.62      paf      17344:   ;
                   17345:   return 0;
                   17346: }
                   17347: _ACEOF
1.150     moko     17348: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      17349:   ac_cv_header_time=yes
1.1       paf      17350: else
1.150     moko     17351:   ac_cv_header_time=no
1.1       paf      17352: fi
1.150     moko     17353: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17354: fi
1.150     moko     17355: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   17356: $as_echo "$ac_cv_header_time" >&6; }
1.66      paf      17357: if test $ac_cv_header_time = yes; then
1.1       paf      17358: 
1.150     moko     17359: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.66      paf      17360: 
1.1       paf      17361: fi
1.66      paf      17362: 
1.1       paf      17363: 
1.150     moko     17364: for ac_header in assert.h \
                   17365: signal.h \
                   17366: unistd.h \
                   17367: process.h \
                   17368: stddef.h \
                   17369: stdarg.h \
                   17370: fcntl.h \
                   17371: sys/stat.h \
                   17372: io.h \
                   17373: stdio.h \
                   17374: errno.h \
                   17375: ctype.h \
                   17376: math.h \
                   17377: crypt.h \
                   17378: time.h sys/time.h \
                   17379: string.h \
                   17380: direct.h \
                   17381: setjmp.h \
                   17382: memory.h \
                   17383: limits.h \
                   17384: sys/file.h \
                   17385: sys/locking.h \
                   17386: sys/types.h \
                   17387: sys/select.h \
                   17388: sys/resource.h \
                   17389: winsock.h \
                   17390: sys/socket.h \
                   17391: netinet/in.h \
                   17392: arpa/inet.h \
                   17393: netdb.h
                   17394: 
                   17395: do :
                   17396:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17397: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17398: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      17399:   cat >>confdefs.h <<_ACEOF
1.150     moko     17400: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      17401: _ACEOF
                   17402: 
                   17403: fi
                   17404: 
1.66      paf      17405: done
1.62      paf      17406: 
                   17407: 
                   17408: 
1.128     moko     17409: 
                   17410: 
1.66      paf      17411: case "$host" in
1.107     misha    17412:   *-freebsd4*)
                   17413: 
1.150     moko     17414: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    17415: 
                   17416:   ;;
1.66      paf      17417:   *-sunos5.6* | *-solaris2.6*)
1.150     moko     17418:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   17419: $as_echo_n "checking for main in -lxnet... " >&6; }
                   17420: if ${ac_cv_lib_xnet_main+:} false; then :
                   17421:   $as_echo_n "(cached) " >&6
1.62      paf      17422: else
1.66      paf      17423:   ac_check_lib_save_LIBS=$LIBS
                   17424: LIBS="-lxnet  $LIBS"
1.150     moko     17425: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17426: /* end confdefs.h.  */
                   17427: 
1.66      paf      17428: 
                   17429: int
                   17430: main ()
                   17431: {
1.150     moko     17432: return main ();
1.66      paf      17433:   ;
                   17434:   return 0;
                   17435: }
1.62      paf      17436: _ACEOF
1.150     moko     17437: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17438:   ac_cv_lib_xnet_main=yes
1.62      paf      17439: else
1.150     moko     17440:   ac_cv_lib_xnet_main=no
1.62      paf      17441: fi
1.150     moko     17442: rm -f core conftest.err conftest.$ac_objext \
                   17443:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17444: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17445: fi
1.150     moko     17446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   17447: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   17448: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      17449:   cat >>confdefs.h <<_ACEOF
1.66      paf      17450: #define HAVE_LIBXNET 1
1.62      paf      17451: _ACEOF
1.1       paf      17452: 
1.66      paf      17453:   LIBS="-lxnet $LIBS"
                   17454: 
1.1       paf      17455: fi
                   17456: 
1.66      paf      17457:   ;;
                   17458:   *-sunos5* | *-solaris2*)
1.150     moko     17459:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   17460: $as_echo_n "checking for main in -lsocket... " >&6; }
                   17461: if ${ac_cv_lib_socket_main+:} false; then :
                   17462:   $as_echo_n "(cached) " >&6
1.62      paf      17463: else
1.66      paf      17464:   ac_check_lib_save_LIBS=$LIBS
                   17465: LIBS="-lsocket  $LIBS"
1.150     moko     17466: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17467: /* end confdefs.h.  */
1.66      paf      17468: 
                   17469: 
1.62      paf      17470: int
                   17471: main ()
                   17472: {
1.150     moko     17473: return main ();
1.62      paf      17474:   ;
                   17475:   return 0;
                   17476: }
                   17477: _ACEOF
1.150     moko     17478: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17479:   ac_cv_lib_socket_main=yes
1.1       paf      17480: else
1.150     moko     17481:   ac_cv_lib_socket_main=no
1.1       paf      17482: fi
1.150     moko     17483: rm -f core conftest.err conftest.$ac_objext \
                   17484:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17485: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17486: fi
1.150     moko     17487: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   17488: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   17489: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      17490:   cat >>confdefs.h <<_ACEOF
                   17491: #define HAVE_LIBSOCKET 1
                   17492: _ACEOF
1.1       paf      17493: 
1.66      paf      17494:   LIBS="-lsocket $LIBS"
1.1       paf      17495: 
                   17496: fi
                   17497: 
1.150     moko     17498:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   17499: $as_echo_n "checking for main in -lnsl... " >&6; }
                   17500: if ${ac_cv_lib_nsl_main+:} false; then :
                   17501:   $as_echo_n "(cached) " >&6
1.62      paf      17502: else
1.66      paf      17503:   ac_check_lib_save_LIBS=$LIBS
                   17504: LIBS="-lnsl  $LIBS"
1.150     moko     17505: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17506: /* end confdefs.h.  */
1.66      paf      17507: 
                   17508: 
1.62      paf      17509: int
                   17510: main ()
                   17511: {
1.150     moko     17512: return main ();
1.62      paf      17513:   ;
                   17514:   return 0;
                   17515: }
                   17516: _ACEOF
1.150     moko     17517: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17518:   ac_cv_lib_nsl_main=yes
1.30      paf      17519: else
1.150     moko     17520:   ac_cv_lib_nsl_main=no
1.30      paf      17521: fi
1.150     moko     17522: rm -f core conftest.err conftest.$ac_objext \
                   17523:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17524: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17525: fi
1.150     moko     17526: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   17527: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   17528: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      17529:   cat >>confdefs.h <<_ACEOF
                   17530: #define HAVE_LIBNSL 1
                   17531: _ACEOF
1.30      paf      17532: 
1.66      paf      17533:   LIBS="-lnsl $LIBS"
1.30      paf      17534: 
                   17535: fi
                   17536: 
1.66      paf      17537:   ;;
                   17538:   *-nec-sysv4*)
1.150     moko     17539:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   17540: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   17541: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   17542:   $as_echo_n "(cached) " >&6
1.62      paf      17543: else
1.66      paf      17544:   ac_check_lib_save_LIBS=$LIBS
                   17545: LIBS="-lnsl  $LIBS"
1.150     moko     17546: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17547: /* end confdefs.h.  */
1.66      paf      17548: 
1.150     moko     17549: /* Override any GCC internal prototype to avoid an error.
                   17550:    Use char because int might match the return type of a GCC
                   17551:    builtin and then its argument prototype would still apply.  */
1.66      paf      17552: #ifdef __cplusplus
                   17553: extern "C"
                   17554: #endif
                   17555: char gethostbyname ();
1.62      paf      17556: int
                   17557: main ()
                   17558: {
1.150     moko     17559: return gethostbyname ();
1.62      paf      17560:   ;
                   17561:   return 0;
                   17562: }
                   17563: _ACEOF
1.150     moko     17564: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17565:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      17566: else
1.150     moko     17567:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      17568: fi
1.150     moko     17569: rm -f core conftest.err conftest.$ac_objext \
                   17570:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17571: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17572: fi
1.150     moko     17573: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   17574: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   17575: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      17576:   cat >>confdefs.h <<_ACEOF
                   17577: #define HAVE_LIBNSL 1
                   17578: _ACEOF
1.30      paf      17579: 
1.66      paf      17580:   LIBS="-lnsl $LIBS"
1.30      paf      17581: 
                   17582: fi
                   17583: 
1.150     moko     17584:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   17585: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   17586: if ${ac_cv_lib_socket_socket+:} false; then :
                   17587:   $as_echo_n "(cached) " >&6
1.8       paf      17588: else
1.66      paf      17589:   ac_check_lib_save_LIBS=$LIBS
                   17590: LIBS="-lsocket  $LIBS"
1.150     moko     17591: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17592: /* end confdefs.h.  */
                   17593: 
1.150     moko     17594: /* Override any GCC internal prototype to avoid an error.
                   17595:    Use char because int might match the return type of a GCC
                   17596:    builtin and then its argument prototype would still apply.  */
1.66      paf      17597: #ifdef __cplusplus
                   17598: extern "C"
                   17599: #endif
                   17600: char socket ();
1.62      paf      17601: int
                   17602: main ()
                   17603: {
1.150     moko     17604: return socket ();
1.62      paf      17605:   ;
                   17606:   return 0;
                   17607: }
                   17608: _ACEOF
1.150     moko     17609: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17610:   ac_cv_lib_socket_socket=yes
1.8       paf      17611: else
1.150     moko     17612:   ac_cv_lib_socket_socket=no
1.8       paf      17613: fi
1.150     moko     17614: rm -f core conftest.err conftest.$ac_objext \
                   17615:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17616: LIBS=$ac_check_lib_save_LIBS
1.8       paf      17617: fi
1.150     moko     17618: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   17619: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   17620: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      17621:   cat >>confdefs.h <<_ACEOF
1.128     moko     17622: #define HAVE_LIBSOCKET 1
1.66      paf      17623: _ACEOF
                   17624: 
1.128     moko     17625:   LIBS="-lsocket $LIBS"
1.66      paf      17626: 
1.62      paf      17627: fi
                   17628: 
1.66      paf      17629:   ;;
1.128     moko     17630:   *-cygwin*)
                   17631: 
1.150     moko     17632: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     17633: 
1.150     moko     17634:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lwsock32" >&5
                   17635: $as_echo_n "checking for socket in -lwsock32... " >&6; }
                   17636: if ${ac_cv_lib_wsock32_socket+:} false; then :
                   17637:   $as_echo_n "(cached) " >&6
1.66      paf      17638: else
                   17639:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     17640: LIBS="-lwsock32  $LIBS"
1.150     moko     17641: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17642: /* end confdefs.h.  */
1.66      paf      17643: 
1.150     moko     17644: /* Override any GCC internal prototype to avoid an error.
                   17645:    Use char because int might match the return type of a GCC
                   17646:    builtin and then its argument prototype would still apply.  */
1.128     moko     17647: #ifdef __cplusplus
                   17648: extern "C"
                   17649: #endif
                   17650: char socket ();
1.66      paf      17651: int
                   17652: main ()
                   17653: {
1.150     moko     17654: return socket ();
1.66      paf      17655:   ;
                   17656:   return 0;
                   17657: }
1.62      paf      17658: _ACEOF
1.150     moko     17659: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     17660:   ac_cv_lib_wsock32_socket=yes
1.62      paf      17661: else
1.150     moko     17662:   ac_cv_lib_wsock32_socket=no
1.62      paf      17663: fi
1.150     moko     17664: rm -f core conftest.err conftest.$ac_objext \
                   17665:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17666: LIBS=$ac_check_lib_save_LIBS
1.1       paf      17667: fi
1.150     moko     17668: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_socket" >&5
                   17669: $as_echo "$ac_cv_lib_wsock32_socket" >&6; }
                   17670: if test "x$ac_cv_lib_wsock32_socket" = xyes; then :
1.62      paf      17671:   cat >>confdefs.h <<_ACEOF
1.128     moko     17672: #define HAVE_LIBWSOCK32 1
1.62      paf      17673: _ACEOF
                   17674: 
1.128     moko     17675:   LIBS="-lwsock32 $LIBS"
1.66      paf      17676: 
1.1       paf      17677: fi
1.62      paf      17678: 
1.66      paf      17679:   ;;
                   17680: esac
1.1       paf      17681: 
1.150     moko     17682: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   17683: $as_echo_n "checking for sin in -lm... " >&6; }
                   17684: if ${ac_cv_lib_m_sin+:} false; then :
                   17685:   $as_echo_n "(cached) " >&6
1.1       paf      17686: else
1.62      paf      17687:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      17688: LIBS="-lm  $LIBS"
1.150     moko     17689: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17690: /* end confdefs.h.  */
                   17691: 
1.150     moko     17692: /* Override any GCC internal prototype to avoid an error.
                   17693:    Use char because int might match the return type of a GCC
                   17694:    builtin and then its argument prototype would still apply.  */
1.66      paf      17695: #ifdef __cplusplus
                   17696: extern "C"
                   17697: #endif
                   17698: char sin ();
1.62      paf      17699: int
                   17700: main ()
                   17701: {
1.150     moko     17702: return sin ();
1.62      paf      17703:   ;
                   17704:   return 0;
                   17705: }
                   17706: _ACEOF
1.150     moko     17707: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17708:   ac_cv_lib_m_sin=yes
1.62      paf      17709: else
1.150     moko     17710:   ac_cv_lib_m_sin=no
1.62      paf      17711: fi
1.150     moko     17712: rm -f core conftest.err conftest.$ac_objext \
                   17713:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      17714: LIBS=$ac_check_lib_save_LIBS
                   17715: fi
1.150     moko     17716: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   17717: $as_echo "$ac_cv_lib_m_sin" >&6; }
                   17718: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      17719:   cat >>confdefs.h <<_ACEOF
1.66      paf      17720: #define HAVE_LIBM 1
1.62      paf      17721: _ACEOF
1.1       paf      17722: 
1.66      paf      17723:   LIBS="-lm $LIBS"
1.1       paf      17724: 
                   17725: fi
                   17726: 
1.150     moko     17727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   17728: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   17729: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   17730:   $as_echo_n "(cached) " >&6
1.1       paf      17731: else
1.62      paf      17732:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      17733: LIBS="-lcrypt  $LIBS"
1.150     moko     17734: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17735: /* end confdefs.h.  */
                   17736: 
1.150     moko     17737: /* Override any GCC internal prototype to avoid an error.
                   17738:    Use char because int might match the return type of a GCC
                   17739:    builtin and then its argument prototype would still apply.  */
1.66      paf      17740: #ifdef __cplusplus
                   17741: extern "C"
                   17742: #endif
                   17743: char crypt ();
1.62      paf      17744: int
                   17745: main ()
                   17746: {
1.150     moko     17747: return crypt ();
1.62      paf      17748:   ;
                   17749:   return 0;
                   17750: }
                   17751: _ACEOF
1.150     moko     17752: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17753:   ac_cv_lib_crypt_crypt=yes
1.62      paf      17754: else
1.150     moko     17755:   ac_cv_lib_crypt_crypt=no
1.62      paf      17756: fi
1.150     moko     17757: rm -f core conftest.err conftest.$ac_objext \
                   17758:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      17759: LIBS=$ac_check_lib_save_LIBS
                   17760: fi
1.150     moko     17761: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   17762: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   17763: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      17764:   cat >>confdefs.h <<_ACEOF
1.66      paf      17765: #define HAVE_LIBCRYPT 1
1.62      paf      17766: _ACEOF
1.1       paf      17767: 
1.66      paf      17768:   LIBS="-lcrypt $LIBS"
                   17769: 
                   17770: fi
                   17771: 
                   17772: 
                   17773: 
1.67      paf      17774: for ac_func in flock \
1.66      paf      17775: _locking \
                   17776: fcntl \
                   17777: lockf \
                   17778: ftruncate \
1.112     misha    17779: fchmod \
1.66      paf      17780: getrusage \
                   17781: gettimeofday \
                   17782: crypt \
1.80      paf      17783: sigsetjmp \
1.92      misha    17784: siglongjmp \
                   17785: unsetenv
1.66      paf      17786: 
1.150     moko     17787: do :
                   17788:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17789: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17790: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      17791:   cat >>confdefs.h <<_ACEOF
1.150     moko     17792: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      17793: _ACEOF
1.1       paf      17794: 
1.66      paf      17795: fi
                   17796: done
                   17797: 
1.1       paf      17798: 
                   17799: 
1.67      paf      17800: pa_func=sigsetjmp
1.150     moko     17801: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   17802: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
                   17803: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      17804: /* end confdefs.h.  */
                   17805: 
                   17806: #ifdef HAVE_SETJMP_H
                   17807: #      include <setjmp.h>
                   17808: #endif
                   17809: 
                   17810: int
                   17811: main ()
                   17812: {
                   17813: 
                   17814:         $pa_func(0,0);
                   17815: 
                   17816:   ;
                   17817:   return 0;
                   17818: }
                   17819: _ACEOF
1.150     moko     17820: if ac_fn_c_try_compile "$LINENO"; then :
                   17821:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17822: $as_echo "yes" >&6; }
1.67      paf      17823: cat >>confdefs.h <<_ACEOF
1.150     moko     17824: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      17825: _ACEOF
                   17826: 
                   17827: 
                   17828: else
1.150     moko     17829:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17830: $as_echo "no" >&6; }
1.67      paf      17831: 
                   17832: fi
1.150     moko     17833: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      17834: 
                   17835: 
                   17836: 
1.150     moko     17837: ac_ext=cpp
1.67      paf      17838: ac_cpp='$CXXCPP $CPPFLAGS'
                   17839: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   17840: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   17841: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   17842: 
                   17843: 
                   17844: 
                   17845: for pa_func in trunc \
                   17846: round \
                   17847: sign
                   17848: 
                   17849: do
                   17850: 
1.150     moko     17851: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   17852: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
                   17853: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      17854: /* end confdefs.h.  */
                   17855: 
                   17856: #ifdef HAVE_MATH_H
                   17857: #       include <math.h>
                   17858: #endif
                   17859: 
                   17860: int
                   17861: main ()
                   17862: {
                   17863: 
                   17864:         double result=$pa_func(1.6);
                   17865: 
                   17866:   ;
                   17867:   return 0;
                   17868: }
                   17869: _ACEOF
1.150     moko     17870: if ac_fn_cxx_try_compile "$LINENO"; then :
                   17871:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17872: $as_echo "yes" >&6; }
1.67      paf      17873: cat >>confdefs.h <<_ACEOF
1.150     moko     17874: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      17875: _ACEOF
1.66      paf      17876: 
1.62      paf      17877: else
1.150     moko     17878:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17879: $as_echo "no" >&6; }
1.62      paf      17880: 
                   17881: fi
1.150     moko     17882: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17883: 
                   17884: done
                   17885: 
                   17886: ac_ext=c
                   17887: ac_cpp='$CPP $CPPFLAGS'
                   17888: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   17889: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   17890: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   17891: 
                   17892: 
                   17893: 
                   17894: for ac_func in qsort
                   17895: do :
                   17896:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
                   17897: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      17898:   cat >>confdefs.h <<_ACEOF
1.150     moko     17899: #define HAVE_QSORT 1
1.62      paf      17900: _ACEOF
1.1       paf      17901: 
1.66      paf      17902: else
1.150     moko     17903:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      17904: fi
1.66      paf      17905: done
1.1       paf      17906: 
                   17907: 
1.62      paf      17908: 
1.150     moko     17909: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   17910: $as_echo_n "checking for timezone variable... " >&6; }
                   17911: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17912: /* end confdefs.h.  */
1.66      paf      17913: #include <time.h>
1.62      paf      17914: int
                   17915: main ()
                   17916: {
1.66      paf      17917: 
                   17918: time_t test=timezone;
                   17919: 
1.62      paf      17920:   ;
                   17921:   return 0;
                   17922: }
                   17923: _ACEOF
1.150     moko     17924: if ac_fn_c_try_compile "$LINENO"; then :
                   17925:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.66      paf      17926: 
1.150     moko     17927: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17928: $as_echo "yes" >&6; }
1.62      paf      17929: else
1.150     moko     17930:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17931: $as_echo "no" >&6; }
1.62      paf      17932: fi
1.150     moko     17933: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      17934: 
1.150     moko     17935: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
                   17936: $as_echo_n "checking for daylight variable... " >&6; }
                   17937: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17938: /* end confdefs.h.  */
1.66      paf      17939: #include <time.h>
1.62      paf      17940: int
                   17941: main ()
                   17942: {
1.66      paf      17943: 
                   17944: int test=daylight;
                   17945: 
1.62      paf      17946:   ;
                   17947:   return 0;
                   17948: }
                   17949: _ACEOF
1.150     moko     17950: if ac_fn_c_try_compile "$LINENO"; then :
                   17951:   $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
1.66      paf      17952: 
1.150     moko     17953: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17954: $as_echo "yes" >&6; }
1.62      paf      17955: else
1.150     moko     17956:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17957: $as_echo "no" >&6; }
1.62      paf      17958: fi
1.150     moko     17959: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      17960: 
1.150     moko     17961: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   17962: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
                   17963: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17964: /* end confdefs.h.  */
1.66      paf      17965: #include <time.h>
1.62      paf      17966: int
                   17967: main ()
                   17968: {
1.66      paf      17969: struct tm tm;
                   17970: tm.tm_gmtoff=0;
                   17971: 
1.62      paf      17972:   ;
                   17973:   return 0;
                   17974: }
                   17975: _ACEOF
1.150     moko     17976: if ac_fn_c_try_compile "$LINENO"; then :
                   17977:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.66      paf      17978: 
1.150     moko     17979: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17980: $as_echo "yes" >&6; }
1.62      paf      17981: else
1.150     moko     17982:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17983: $as_echo "no" >&6; }
1.62      paf      17984: fi
1.150     moko     17985: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      17986: 
1.150     moko     17987: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   17988: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
                   17989: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17990: /* end confdefs.h.  */
1.66      paf      17991: #include <time.h>
1.62      paf      17992: int
                   17993: main ()
                   17994: {
1.66      paf      17995: struct tm tm;
                   17996: tm.tm_tzadj=0;
                   17997: 
1.62      paf      17998:   ;
                   17999:   return 0;
                   18000: }
                   18001: _ACEOF
1.150     moko     18002: if ac_fn_c_try_compile "$LINENO"; then :
                   18003:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.66      paf      18004: 
1.150     moko     18005: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18006: $as_echo "yes" >&6; }
1.62      paf      18007: else
1.150     moko     18008:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18009: $as_echo "no" >&6; }
1.62      paf      18010: fi
1.150     moko     18011: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      18012: 
1.1       paf      18013: 
                   18014: 
                   18015: 
1.62      paf      18016: 
                   18017: 
                   18018: 
                   18019: 
                   18020: 
                   18021: 
                   18022: 
                   18023: 
                   18024: 
                   18025: 
                   18026: 
                   18027: 
                   18028: 
                   18029: 
                   18030: 
                   18031: 
                   18032: 
                   18033: 
1.150     moko     18034: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      18035: 
                   18036: 
1.150     moko     18037: 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      18038: 
                   18039: cat >confcache <<\_ACEOF
1.1       paf      18040: # This file is a shell script that caches the results of configure
                   18041: # tests run on this system so they can be shared between configure
1.62      paf      18042: # scripts and configure runs, see configure's option --config-cache.
                   18043: # It is not useful on other systems.  If it contains results you don't
                   18044: # want to keep, you may remove or edit it.
1.1       paf      18045: #
1.62      paf      18046: # config.status only pays attention to the cache file if you give it
                   18047: # the --recheck option to rerun configure.
1.1       paf      18048: #
1.62      paf      18049: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   18050: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   18051: # following values.
                   18052: 
                   18053: _ACEOF
                   18054: 
1.1       paf      18055: # The following way of writing the cache mishandles newlines in values,
                   18056: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     18057: # So, we kill variables containing newlines.
1.1       paf      18058: # Ultrix sh set writes to stderr and can't be redirected directly,
                   18059: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     18060: (
                   18061:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   18062:     eval ac_val=\$$ac_var
                   18063:     case $ac_val in #(
                   18064:     *${as_nl}*)
                   18065:       case $ac_var in #(
                   18066:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   18067: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   18068:       esac
                   18069:       case $ac_var in #(
                   18070:       _ | IFS | as_nl) ;; #(
                   18071:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   18072:       *) { eval $ac_var=; unset $ac_var;} ;;
                   18073:       esac ;;
                   18074:     esac
                   18075:   done
                   18076: 
1.62      paf      18077:   (set) 2>&1 |
1.150     moko     18078:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   18079:     *${as_nl}ac_space=\ *)
                   18080:       # `set' does not quote correctly, so add quotes: double-quote
                   18081:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      18082:       sed -n \
1.86      paf      18083:        "s/'/'\\\\''/g;
                   18084:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     18085:       ;; #(
1.62      paf      18086:     *)
                   18087:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     18088:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      18089:       ;;
1.150     moko     18090:     esac |
                   18091:     sort
                   18092: ) |
1.62      paf      18093:   sed '
1.150     moko     18094:      /^ac_cv_env_/b end
1.62      paf      18095:      t clear
1.150     moko     18096:      :clear
1.62      paf      18097:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   18098:      t end
1.150     moko     18099:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   18100:      :end' >>confcache
                   18101: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   18102:   if test -w "$cache_file"; then
                   18103:     if test "x$cache_file" != "x/dev/null"; then
                   18104:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   18105: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   18106:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   18107:        cat confcache >"$cache_file"
                   18108:       else
                   18109:         case $cache_file in #(
                   18110:         */* | ?:*)
                   18111:          mv -f confcache "$cache_file"$$ &&
                   18112:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   18113:         *)
                   18114:          mv -f confcache "$cache_file" ;;
                   18115:        esac
                   18116:       fi
                   18117:     fi
1.1       paf      18118:   else
1.150     moko     18119:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   18120: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      18121:   fi
                   18122: fi
                   18123: rm -f confcache
                   18124: 
                   18125: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   18126: # Let make expand exec_prefix.
                   18127: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   18128: 
1.62      paf      18129: DEFS=-DHAVE_CONFIG_H
                   18130: 
                   18131: ac_libobjs=
                   18132: ac_ltlibobjs=
1.150     moko     18133: U=
1.62      paf      18134: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   18135:   # 1. Remove the extension, and $U if already installed.
1.150     moko     18136:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   18137:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   18138:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   18139:   #    will be set to the directory where LIBOBJS objects are built.
                   18140:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   18141:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      18142: done
                   18143: LIBOBJS=$ac_libobjs
                   18144: 
                   18145: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      18146: 
                   18147: 
1.150     moko     18148:  if test -n "$EXEEXT"; then
                   18149:   am__EXEEXT_TRUE=
                   18150:   am__EXEEXT_FALSE='#'
                   18151: else
                   18152:   am__EXEEXT_TRUE='#'
                   18153:   am__EXEEXT_FALSE=
                   18154: fi
                   18155: 
1.62      paf      18156: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     18157:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   18158: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18159: fi
1.66      paf      18160: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     18161:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   18162: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18163: fi
1.66      paf      18164: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     18165:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   18166: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18167: fi
1.122     moko     18168: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     18169:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   18170: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18171: fi
1.128     moko     18172: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     18173:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   18174: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18175: fi
                   18176: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     18177:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   18178: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18179: fi
1.150     moko     18180: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     18181: 
                   18182:     _ltdl_libobjs=
                   18183:     _ltdl_ltlibobjs=
                   18184:     if test -n "$_LT_LIBOBJS"; then
                   18185:       # Remove the extension.
                   18186:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   18187:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   18188:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   18189:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   18190:       done
                   18191:     fi
                   18192:     ltdl_LIBOBJS=$_ltdl_libobjs
                   18193: 
                   18194:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   18195: 
                   18196: 
1.62      paf      18197: 
1.150     moko     18198: 
                   18199: : "${CONFIG_STATUS=./config.status}"
                   18200: ac_write_fail=0
1.62      paf      18201: ac_clean_files_save=$ac_clean_files
                   18202: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150     moko     18203: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   18204: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   18205: as_write_fail=0
                   18206: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      18207: #! $SHELL
                   18208: # Generated by $as_me.
                   18209: # Run this file to recreate the current configuration.
                   18210: # Compiler output produced by configure, useful for debugging
                   18211: # configure, is in config.log if it exists.
                   18212: 
                   18213: debug=false
                   18214: ac_cs_recheck=false
                   18215: ac_cs_silent=false
1.150     moko     18216: 
1.62      paf      18217: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     18218: export SHELL
                   18219: _ASEOF
                   18220: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   18221: ## -------------------- ##
                   18222: ## M4sh Initialization. ##
                   18223: ## -------------------- ##
1.62      paf      18224: 
1.150     moko     18225: # Be more Bourne compatible
                   18226: DUALCASE=1; export DUALCASE # for MKS sh
                   18227: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      18228:   emulate sh
                   18229:   NULLCMD=:
1.150     moko     18230:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      18231:   # is contrary to our usage.  Disable this feature.
                   18232:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     18233:   setopt NO_GLOB_SUBST
                   18234: else
                   18235:   case `(set -o) 2>/dev/null` in #(
                   18236:   *posix*) :
                   18237:     set -o posix ;; #(
                   18238:   *) :
                   18239:      ;;
                   18240: esac
                   18241: fi
                   18242: 
                   18243: 
                   18244: as_nl='
                   18245: '
                   18246: export as_nl
                   18247: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   18248: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   18249: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   18250: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   18251: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   18252: # but without wasting forks for bash or zsh.
                   18253: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   18254:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18255:   as_echo='print -r --'
                   18256:   as_echo_n='print -rn --'
                   18257: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18258:   as_echo='printf %s\n'
                   18259:   as_echo_n='printf %s'
                   18260: else
                   18261:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   18262:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   18263:     as_echo_n='/usr/ucb/echo -n'
                   18264:   else
                   18265:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   18266:     as_echo_n_body='eval
                   18267:       arg=$1;
                   18268:       case $arg in #(
                   18269:       *"$as_nl"*)
                   18270:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   18271:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   18272:       esac;
                   18273:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   18274:     '
                   18275:     export as_echo_n_body
                   18276:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   18277:   fi
                   18278:   export as_echo_body
                   18279:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      18280: fi
                   18281: 
1.150     moko     18282: # The user is always right.
                   18283: if test "${PATH_SEPARATOR+set}" != set; then
                   18284:   PATH_SEPARATOR=:
                   18285:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   18286:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   18287:       PATH_SEPARATOR=';'
                   18288:   }
1.62      paf      18289: fi
                   18290: 
                   18291: 
1.150     moko     18292: # IFS
                   18293: # We need space, tab and new line, in precisely that order.  Quoting is
                   18294: # there to prevent editors from complaining about space-tab.
                   18295: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   18296: # splitting by setting IFS to empty value.)
                   18297: IFS=" ""       $as_nl"
                   18298: 
                   18299: # Find who we are.  Look in the path if we contain no directory separator.
                   18300: as_myself=
                   18301: case $0 in #((
                   18302:   *[\\/]* ) as_myself=$0 ;;
                   18303:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   18304: for as_dir in $PATH
                   18305: do
                   18306:   IFS=$as_save_IFS
                   18307:   test -z "$as_dir" && as_dir=.
                   18308:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   18309:   done
                   18310: IFS=$as_save_IFS
                   18311: 
                   18312:      ;;
                   18313: esac
                   18314: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   18315: # in which case we are not to be found in the path.
                   18316: if test "x$as_myself" = x; then
                   18317:   as_myself=$0
                   18318: fi
                   18319: if test ! -f "$as_myself"; then
                   18320:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   18321:   exit 1
                   18322: fi
                   18323: 
                   18324: # Unset variables that we do not need and which cause bugs (e.g. in
                   18325: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   18326: # suppresses any "Segmentation fault" message there.  '((' could
                   18327: # trigger a bug in pdksh 5.2.14.
                   18328: for as_var in BASH_ENV ENV MAIL MAILPATH
                   18329: do eval test x\${$as_var+set} = xset \
                   18330:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   18331: done
1.62      paf      18332: PS1='$ '
                   18333: PS2='> '
                   18334: PS4='+ '
                   18335: 
                   18336: # NLS nuisances.
1.150     moko     18337: LC_ALL=C
                   18338: export LC_ALL
                   18339: LANGUAGE=C
                   18340: export LANGUAGE
                   18341: 
                   18342: # CDPATH.
                   18343: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18344: 
                   18345: 
                   18346: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   18347: # ----------------------------------------
                   18348: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   18349: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   18350: # script with STATUS, using 1 if that was 0.
                   18351: as_fn_error ()
                   18352: {
                   18353:   as_status=$1; test $as_status -eq 0 && as_status=1
                   18354:   if test "$4"; then
                   18355:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   18356:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   18357:   fi
                   18358:   $as_echo "$as_me: error: $2" >&2
                   18359:   as_fn_exit $as_status
                   18360: } # as_fn_error
                   18361: 
                   18362: 
                   18363: # as_fn_set_status STATUS
                   18364: # -----------------------
                   18365: # Set $? to STATUS, without forking.
                   18366: as_fn_set_status ()
                   18367: {
                   18368:   return $1
                   18369: } # as_fn_set_status
                   18370: 
                   18371: # as_fn_exit STATUS
                   18372: # -----------------
                   18373: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   18374: as_fn_exit ()
                   18375: {
                   18376:   set +e
                   18377:   as_fn_set_status $1
                   18378:   exit $1
                   18379: } # as_fn_exit
                   18380: 
                   18381: # as_fn_unset VAR
                   18382: # ---------------
                   18383: # Portably unset VAR.
                   18384: as_fn_unset ()
                   18385: {
                   18386:   { eval $1=; unset $1;}
                   18387: }
                   18388: as_unset=as_fn_unset
                   18389: # as_fn_append VAR VALUE
                   18390: # ----------------------
                   18391: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   18392: # advantage of any shell optimizations that allow amortized linear growth over
                   18393: # repeated appends, instead of the typical quadratic growth present in naive
                   18394: # implementations.
                   18395: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   18396:   eval 'as_fn_append ()
                   18397:   {
                   18398:     eval $1+=\$2
                   18399:   }'
                   18400: else
                   18401:   as_fn_append ()
                   18402:   {
                   18403:     eval $1=\$$1\$2
                   18404:   }
                   18405: fi # as_fn_append
                   18406: 
                   18407: # as_fn_arith ARG...
                   18408: # ------------------
                   18409: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   18410: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   18411: # must be portable across $(()) and expr.
                   18412: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   18413:   eval 'as_fn_arith ()
                   18414:   {
                   18415:     as_val=$(( $* ))
                   18416:   }'
                   18417: else
                   18418:   as_fn_arith ()
                   18419:   {
                   18420:     as_val=`expr "$@" || test $? -eq 1`
                   18421:   }
                   18422: fi # as_fn_arith
                   18423: 
1.1       paf      18424: 
1.150     moko     18425: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   18426:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      18427:   as_expr=expr
                   18428: else
                   18429:   as_expr=false
                   18430: fi
                   18431: 
1.150     moko     18432: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      18433:   as_basename=basename
                   18434: else
                   18435:   as_basename=false
                   18436: fi
                   18437: 
1.150     moko     18438: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   18439:   as_dirname=dirname
                   18440: else
                   18441:   as_dirname=false
                   18442: fi
1.62      paf      18443: 
1.150     moko     18444: as_me=`$as_basename -- "$0" ||
1.62      paf      18445: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   18446:         X"$0" : 'X\(//\)$' \| \
1.150     moko     18447:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   18448: $as_echo X/"$0" |
                   18449:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   18450:            s//\1/
                   18451:            q
                   18452:          }
                   18453:          /^X\/\(\/\/\)$/{
                   18454:            s//\1/
                   18455:            q
                   18456:          }
                   18457:          /^X\/\(\/\).*/{
                   18458:            s//\1/
                   18459:            q
                   18460:          }
                   18461:          s/.*/./; q'`
1.62      paf      18462: 
                   18463: # Avoid depending upon Character Ranges.
                   18464: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   18465: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   18466: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   18467: as_cr_digits='0123456789'
                   18468: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   18469: 
1.150     moko     18470: ECHO_C= ECHO_N= ECHO_T=
                   18471: case `echo -n x` in #(((((
                   18472: -n*)
                   18473:   case `echo 'xy\c'` in
                   18474:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   18475:   xy)  ECHO_C='\c';;
                   18476:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   18477:        ECHO_T='        ';;
                   18478:   esac;;
                   18479: *)
                   18480:   ECHO_N='-n';;
1.62      paf      18481: esac
                   18482: 
1.150     moko     18483: rm -f conf$$ conf$$.exe conf$$.file
                   18484: if test -d conf$$.dir; then
                   18485:   rm -f conf$$.dir/conf$$.file
1.62      paf      18486: else
1.150     moko     18487:   rm -f conf$$.dir
                   18488:   mkdir conf$$.dir 2>/dev/null
1.62      paf      18489: fi
1.150     moko     18490: if (echo >conf$$.file) 2>/dev/null; then
                   18491:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   18492:     as_ln_s='ln -s'
                   18493:     # ... but there are two gotchas:
                   18494:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   18495:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   18496:     # In both cases, we have to default to `cp -p'.
                   18497:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   18498:       as_ln_s='cp -p'
                   18499:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   18500:     as_ln_s=ln
                   18501:   else
1.62      paf      18502:     as_ln_s='cp -p'
                   18503:   fi
                   18504: else
                   18505:   as_ln_s='cp -p'
                   18506: fi
1.150     moko     18507: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   18508: rmdir conf$$.dir 2>/dev/null
                   18509: 
                   18510: 
                   18511: # as_fn_mkdir_p
                   18512: # -------------
                   18513: # Create "$as_dir" as a directory, including parents if necessary.
                   18514: as_fn_mkdir_p ()
                   18515: {
                   18516: 
                   18517:   case $as_dir in #(
                   18518:   -*) as_dir=./$as_dir;;
                   18519:   esac
                   18520:   test -d "$as_dir" || eval $as_mkdir_p || {
                   18521:     as_dirs=
                   18522:     while :; do
                   18523:       case $as_dir in #(
                   18524:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   18525:       *) as_qdir=$as_dir;;
                   18526:       esac
                   18527:       as_dirs="'$as_qdir' $as_dirs"
                   18528:       as_dir=`$as_dirname -- "$as_dir" ||
                   18529: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18530:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   18531:         X"$as_dir" : 'X\(//\)$' \| \
                   18532:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   18533: $as_echo X"$as_dir" |
                   18534:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18535:            s//\1/
                   18536:            q
                   18537:          }
                   18538:          /^X\(\/\/\)[^/].*/{
                   18539:            s//\1/
                   18540:            q
                   18541:          }
                   18542:          /^X\(\/\/\)$/{
                   18543:            s//\1/
                   18544:            q
                   18545:          }
                   18546:          /^X\(\/\).*/{
                   18547:            s//\1/
                   18548:            q
                   18549:          }
                   18550:          s/.*/./; q'`
                   18551:       test -d "$as_dir" && break
                   18552:     done
                   18553:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   18554:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   18555: 
1.62      paf      18556: 
1.150     moko     18557: } # as_fn_mkdir_p
1.62      paf      18558: if mkdir -p . 2>/dev/null; then
1.150     moko     18559:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      18560: else
1.86      paf      18561:   test -d ./-p && rmdir ./-p
1.62      paf      18562:   as_mkdir_p=false
                   18563: fi
                   18564: 
1.150     moko     18565: if test -x / >/dev/null 2>&1; then
                   18566:   as_test_x='test -x'
                   18567: else
                   18568:   if ls -dL / >/dev/null 2>&1; then
                   18569:     as_ls_L_option=L
                   18570:   else
                   18571:     as_ls_L_option=
                   18572:   fi
                   18573:   as_test_x='
                   18574:     eval sh -c '\''
                   18575:       if test -d "$1"; then
                   18576:        test -d "$1/.";
                   18577:       else
                   18578:        case $1 in #(
                   18579:        -*)set "./$1";;
                   18580:        esac;
                   18581:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                   18582:        ???[sx]*):;;*)false;;esac;fi
                   18583:     '\'' sh
                   18584:   '
                   18585: fi
                   18586: as_executable_p=$as_test_x
1.62      paf      18587: 
                   18588: # Sed expression to map a string onto a valid CPP name.
1.86      paf      18589: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      18590: 
                   18591: # Sed expression to map a string onto a valid variable name.
1.86      paf      18592: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      18593: 
                   18594: 
                   18595: exec 6>&1
1.150     moko     18596: ## ----------------------------------- ##
                   18597: ## Main body of $CONFIG_STATUS script. ##
                   18598: ## ----------------------------------- ##
                   18599: _ASEOF
                   18600: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      18601: 
1.150     moko     18602: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18603: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      18604: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     18605: # values after options handling.
                   18606: ac_log="
1.153     moko     18607: This file was extended by parser $as_me 3.4.2, which was
1.150     moko     18608: generated by GNU Autoconf 2.68.  Invocation command line was
1.62      paf      18609: 
                   18610:   CONFIG_FILES    = $CONFIG_FILES
                   18611:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   18612:   CONFIG_LINKS    = $CONFIG_LINKS
                   18613:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   18614:   $ $0 $@
                   18615: 
1.150     moko     18616: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   18617: "
                   18618: 
1.62      paf      18619: _ACEOF
                   18620: 
1.150     moko     18621: case $ac_config_files in *"
                   18622: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   18623: esac
1.62      paf      18624: 
1.150     moko     18625: case $ac_config_headers in *"
                   18626: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   18627: esac
1.62      paf      18628: 
                   18629: 
1.150     moko     18630: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18631: # Files that config.status was made for.
                   18632: config_files="$ac_config_files"
                   18633: config_headers="$ac_config_headers"
                   18634: config_commands="$ac_config_commands"
1.62      paf      18635: 
1.150     moko     18636: _ACEOF
1.62      paf      18637: 
1.150     moko     18638: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      18639: ac_cs_usage="\
1.150     moko     18640: \`$as_me' instantiates files and other configuration actions
                   18641: from templates according to the current configuration.  Unless the files
                   18642: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      18643: 
1.150     moko     18644: Usage: $0 [OPTION]... [TAG]...
1.62      paf      18645: 
                   18646:   -h, --help       print this help, then exit
1.150     moko     18647:   -V, --version    print version number and configuration settings, then exit
                   18648:       --config     print configuration, then exit
                   18649:   -q, --quiet, --silent
                   18650:                    do not print progress messages
1.62      paf      18651:   -d, --debug      don't remove temporary files
                   18652:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     18653:       --file=FILE[:TEMPLATE]
                   18654:                    instantiate the configuration file FILE
                   18655:       --header=FILE[:TEMPLATE]
                   18656:                    instantiate the configuration header FILE
1.62      paf      18657: 
                   18658: Configuration files:
                   18659: $config_files
                   18660: 
                   18661: Configuration headers:
                   18662: $config_headers
                   18663: 
                   18664: Configuration commands:
                   18665: $config_commands
                   18666: 
1.150     moko     18667: Report bugs to the package provider."
                   18668: 
1.62      paf      18669: _ACEOF
1.150     moko     18670: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18671: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      18672: ac_cs_version="\\
1.153     moko     18673: parser config.status 3.4.2
1.150     moko     18674: configured by $0, generated by GNU Autoconf 2.68,
                   18675:   with options \\"\$ac_cs_config\\"
1.62      paf      18676: 
1.150     moko     18677: Copyright (C) 2010 Free Software Foundation, Inc.
1.62      paf      18678: This config.status script is free software; the Free Software Foundation
                   18679: gives unlimited permission to copy, distribute and modify it."
1.150     moko     18680: 
                   18681: ac_pwd='$ac_pwd'
                   18682: srcdir='$srcdir'
                   18683: INSTALL='$INSTALL'
                   18684: MKDIR_P='$MKDIR_P'
                   18685: AWK='$AWK'
                   18686: test -n "\$AWK" || AWK=awk
1.62      paf      18687: _ACEOF
                   18688: 
1.150     moko     18689: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18690: # The default lists apply if the user does not specify any file.
1.62      paf      18691: ac_need_defaults=:
                   18692: while test $# != 0
                   18693: do
                   18694:   case $1 in
1.150     moko     18695:   --*=?*)
                   18696:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   18697:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      18698:     ac_shift=:
                   18699:     ;;
1.150     moko     18700:   --*=)
                   18701:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   18702:     ac_optarg=
                   18703:     ac_shift=:
                   18704:     ;;
                   18705:   *)
1.62      paf      18706:     ac_option=$1
                   18707:     ac_optarg=$2
                   18708:     ac_shift=shift
                   18709:     ;;
                   18710:   esac
                   18711: 
                   18712:   case $ac_option in
                   18713:   # Handling of the options.
                   18714:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   18715:     ac_cs_recheck=: ;;
1.150     moko     18716:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   18717:     $as_echo "$ac_cs_version"; exit ;;
                   18718:   --config | --confi | --conf | --con | --co | --c )
                   18719:     $as_echo "$ac_cs_config"; exit ;;
                   18720:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      18721:     debug=: ;;
                   18722:   --file | --fil | --fi | --f )
                   18723:     $ac_shift
1.150     moko     18724:     case $ac_optarg in
                   18725:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   18726:     '') as_fn_error $? "missing file argument" ;;
                   18727:     esac
                   18728:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      18729:     ac_need_defaults=false;;
                   18730:   --header | --heade | --head | --hea )
                   18731:     $ac_shift
1.150     moko     18732:     case $ac_optarg in
                   18733:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   18734:     esac
                   18735:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      18736:     ac_need_defaults=false;;
1.150     moko     18737:   --he | --h)
                   18738:     # Conflict between --help and --header
                   18739:     as_fn_error $? "ambiguous option: \`$1'
                   18740: Try \`$0 --help' for more information.";;
                   18741:   --help | --hel | -h )
                   18742:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      18743:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   18744:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   18745:     ac_cs_silent=: ;;
                   18746: 
                   18747:   # This is an error.
1.150     moko     18748:   -*) as_fn_error $? "unrecognized option: \`$1'
                   18749: Try \`$0 --help' for more information." ;;
1.62      paf      18750: 
1.150     moko     18751:   *) as_fn_append ac_config_targets " $1"
                   18752:      ac_need_defaults=false ;;
1.62      paf      18753: 
                   18754:   esac
                   18755:   shift
                   18756: done
                   18757: 
                   18758: ac_configure_extra_args=
                   18759: 
                   18760: if $ac_cs_silent; then
                   18761:   exec 6>/dev/null
1.150     moko     18762:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   18763: fi
                   18764: 
                   18765: _ACEOF
                   18766: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18767: if \$ac_cs_recheck; then
                   18768:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   18769:   shift
                   18770:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   18771:   CONFIG_SHELL='$SHELL'
                   18772:   export CONFIG_SHELL
                   18773:   exec "\$@"
                   18774: fi
                   18775: 
                   18776: _ACEOF
                   18777: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18778: exec 5>>config.log
                   18779: {
                   18780:   echo
                   18781:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   18782: ## Running $as_me. ##
                   18783: _ASBOX
                   18784:   $as_echo "$ac_log"
                   18785: } >&5
1.62      paf      18786: 
                   18787: _ACEOF
1.150     moko     18788: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      18789: #
1.150     moko     18790: # INIT-COMMANDS
1.1       paf      18791: #
1.62      paf      18792: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   18793: 
1.128     moko     18794: 
                   18795: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   18796: # if CDPATH is set.
                   18797: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18798: 
                   18799: sed_quote_subst='$sed_quote_subst'
                   18800: double_quote_subst='$double_quote_subst'
                   18801: delay_variable_subst='$delay_variable_subst'
                   18802: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   18803: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   18804: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   18805: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   18806: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     18807: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     18808: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     18809: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     18810: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   18811: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   18812: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   18813: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   18814: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   18815: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   18816: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   18817: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   18818: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   18819: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   18820: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   18821: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   18822: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   18823: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   18824: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   18825: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   18826: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   18827: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   18828: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   18829: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   18830: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   18831: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   18832: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   18833: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   18834: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18835: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18836: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   18837: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   18838: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   18839: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   18840: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   18841: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   18842: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   18843: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   18844: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   18845: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   18846: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   18847: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   18848: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18849: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18850: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18851: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   18852: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   18853: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   18854: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   18855: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   18856: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   18857: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   18858: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   18859: 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"`'
                   18860: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18861: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   18862: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   18863: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   18864: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   18865: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   18866: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   18867: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   18868: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   18869: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   18870: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   18871: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   18872: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   18873: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   18874: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   18875: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   18876: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   18877: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   18878: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18879: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   18880: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   18881: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18882: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18883: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   18884: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   18885: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18886: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18887: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18888: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   18889: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18890: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   18891: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18892: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18893: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18894: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   18895: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   18896: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   18897: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   18898: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18899: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   18900: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   18901: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   18902: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   18903: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   18904: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   18905: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   18906: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   18907: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   18908: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18909: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   18910: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   18911: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   18912: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   18913: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   18914: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18915: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   18916: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   18917: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   18918: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   18919: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   18920: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18921: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18922: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   18923: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   18924: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   18925: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   18926: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   18927: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   18928: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   18929: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   18930: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   18931: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   18932: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   18933: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   18934: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   18935: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   18936: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   18937: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   18938: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   18939: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   18940: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18941: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18942: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18943: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   18944: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   18945: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18946: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   18947: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   18948: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   18949: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   18950: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   18951: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   18952: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18953: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18954: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   18955: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18956: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18957: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18958: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18959: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18960: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18961: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   18962: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18963: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18964: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18965: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   18966: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   18967: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   18968: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   18969: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   18970: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   18971: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   18972: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   18973: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   18974: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18975: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18976: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18977: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18978: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18979: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18980: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   18981: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   18982: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18983: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18984: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18985: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18986: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   18987: 
                   18988: LTCC='$LTCC'
                   18989: LTCFLAGS='$LTCFLAGS'
                   18990: compiler='$compiler_DEFAULT'
                   18991: 
                   18992: # A function that is used when there is no print builtin or printf.
                   18993: func_fallback_echo ()
                   18994: {
                   18995:   eval 'cat <<_LTECHO_EOF
                   18996: \$1
                   18997: _LTECHO_EOF'
                   18998: }
                   18999: 
                   19000: # Quote evaled strings.
                   19001: for var in AS \
                   19002: DLLTOOL \
                   19003: OBJDUMP \
                   19004: SHELL \
                   19005: ECHO \
                   19006: PATH_SEPARATOR \
                   19007: SED \
                   19008: GREP \
                   19009: EGREP \
                   19010: FGREP \
                   19011: LD \
                   19012: NM \
                   19013: LN_S \
                   19014: lt_SP2NL \
                   19015: lt_NL2SP \
                   19016: reload_flag \
                   19017: deplibs_check_method \
                   19018: file_magic_cmd \
                   19019: file_magic_glob \
                   19020: want_nocaseglob \
                   19021: sharedlib_from_linklib_cmd \
                   19022: AR \
                   19023: AR_FLAGS \
                   19024: archiver_list_spec \
                   19025: STRIP \
                   19026: RANLIB \
                   19027: CC \
                   19028: CFLAGS \
                   19029: compiler \
                   19030: lt_cv_sys_global_symbol_pipe \
                   19031: lt_cv_sys_global_symbol_to_cdecl \
                   19032: lt_cv_sys_global_symbol_to_c_name_address \
                   19033: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   19034: nm_file_list_spec \
                   19035: lt_prog_compiler_no_builtin_flag \
                   19036: lt_prog_compiler_pic \
                   19037: lt_prog_compiler_wl \
                   19038: lt_prog_compiler_static \
                   19039: lt_cv_prog_compiler_c_o \
                   19040: need_locks \
                   19041: MANIFEST_TOOL \
                   19042: DSYMUTIL \
                   19043: NMEDIT \
                   19044: LIPO \
                   19045: OTOOL \
                   19046: OTOOL64 \
                   19047: shrext_cmds \
                   19048: export_dynamic_flag_spec \
                   19049: whole_archive_flag_spec \
                   19050: compiler_needs_object \
                   19051: with_gnu_ld \
                   19052: allow_undefined_flag \
                   19053: no_undefined_flag \
                   19054: hardcode_libdir_flag_spec \
                   19055: hardcode_libdir_separator \
                   19056: exclude_expsyms \
                   19057: include_expsyms \
                   19058: file_list_spec \
                   19059: variables_saved_for_relink \
                   19060: libname_spec \
                   19061: library_names_spec \
                   19062: soname_spec \
                   19063: install_override_mode \
                   19064: finish_eval \
                   19065: old_striplib \
                   19066: striplib \
                   19067: compiler_lib_search_dirs \
                   19068: predep_objects \
                   19069: postdep_objects \
                   19070: predeps \
                   19071: postdeps \
                   19072: compiler_lib_search_path \
                   19073: LD_CXX \
                   19074: reload_flag_CXX \
                   19075: compiler_CXX \
                   19076: lt_prog_compiler_no_builtin_flag_CXX \
                   19077: lt_prog_compiler_pic_CXX \
                   19078: lt_prog_compiler_wl_CXX \
                   19079: lt_prog_compiler_static_CXX \
                   19080: lt_cv_prog_compiler_c_o_CXX \
                   19081: export_dynamic_flag_spec_CXX \
                   19082: whole_archive_flag_spec_CXX \
                   19083: compiler_needs_object_CXX \
                   19084: with_gnu_ld_CXX \
                   19085: allow_undefined_flag_CXX \
                   19086: no_undefined_flag_CXX \
                   19087: hardcode_libdir_flag_spec_CXX \
                   19088: hardcode_libdir_separator_CXX \
                   19089: exclude_expsyms_CXX \
                   19090: include_expsyms_CXX \
                   19091: file_list_spec_CXX \
                   19092: compiler_lib_search_dirs_CXX \
                   19093: predep_objects_CXX \
                   19094: postdep_objects_CXX \
                   19095: predeps_CXX \
                   19096: postdeps_CXX \
                   19097: compiler_lib_search_path_CXX; do
                   19098:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19099:     *[\\\\\\\`\\"\\\$]*)
                   19100:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   19101:       ;;
                   19102:     *)
                   19103:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19104:       ;;
                   19105:     esac
                   19106: done
                   19107: 
                   19108: # Double-quote double-evaled strings.
                   19109: for var in reload_cmds \
                   19110: old_postinstall_cmds \
                   19111: old_postuninstall_cmds \
                   19112: old_archive_cmds \
                   19113: extract_expsyms_cmds \
                   19114: old_archive_from_new_cmds \
                   19115: old_archive_from_expsyms_cmds \
                   19116: archive_cmds \
                   19117: archive_expsym_cmds \
                   19118: module_cmds \
                   19119: module_expsym_cmds \
                   19120: export_symbols_cmds \
                   19121: prelink_cmds \
                   19122: postlink_cmds \
                   19123: postinstall_cmds \
                   19124: postuninstall_cmds \
                   19125: finish_cmds \
                   19126: sys_lib_search_path_spec \
                   19127: sys_lib_dlsearch_path_spec \
                   19128: reload_cmds_CXX \
                   19129: old_archive_cmds_CXX \
                   19130: old_archive_from_new_cmds_CXX \
                   19131: old_archive_from_expsyms_cmds_CXX \
                   19132: archive_cmds_CXX \
                   19133: archive_expsym_cmds_CXX \
                   19134: module_cmds_CXX \
                   19135: module_expsym_cmds_CXX \
                   19136: export_symbols_cmds_CXX \
                   19137: prelink_cmds_CXX \
                   19138: postlink_cmds_CXX; do
                   19139:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19140:     *[\\\\\\\`\\"\\\$]*)
                   19141:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   19142:       ;;
                   19143:     *)
                   19144:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19145:       ;;
                   19146:     esac
                   19147: done
                   19148: 
                   19149: ac_aux_dir='$ac_aux_dir'
                   19150: xsi_shell='$xsi_shell'
                   19151: lt_shell_append='$lt_shell_append'
                   19152: 
                   19153: # See if we are running on zsh, and set the options which allow our
                   19154: # commands through without removal of \ escapes INIT.
                   19155: if test -n "\${ZSH_VERSION+set}" ; then
                   19156:    setopt NO_GLOB_SUBST
                   19157: fi
                   19158: 
                   19159: 
                   19160:     PACKAGE='$PACKAGE'
                   19161:     VERSION='$VERSION'
                   19162:     TIMESTAMP='$TIMESTAMP'
                   19163:     RM='$RM'
                   19164:     ofile='$ofile'
                   19165: 
                   19166: 
                   19167: 
                   19168: 
                   19169: 
                   19170: 
1.62      paf      19171: _ACEOF
                   19172: 
1.150     moko     19173: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19174: 
1.150     moko     19175: # Handling of arguments.
1.62      paf      19176: for ac_config_target in $ac_config_targets
1.1       paf      19177: do
1.150     moko     19178:   case $ac_config_target in
                   19179:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   19180:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   19181:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   19182:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   19183:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   19184:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   19185:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   19186:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   19187:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   19188:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   19189:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   19190:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   19191:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   19192:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   19193:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   19194:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   19195:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   19196:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   19197:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   19198:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   19199:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   19200:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   19201:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
                   19202:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   19203:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   19204:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   19205:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   19206:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   19207:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   19208:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   19209:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   19210:     "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   19211:     "bin/auto.p.dist") CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   19212: 
                   19213:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      19214:   esac
                   19215: done
                   19216: 
1.150     moko     19217: 
1.62      paf      19218: # If the user did not use the arguments to specify the items to instantiate,
                   19219: # then the envvar interface is used.  Set only those that are not.
                   19220: # We use the long form for the default assignment because of an extremely
                   19221: # bizarre bug on SunOS 4.1.3.
                   19222: if $ac_need_defaults; then
                   19223:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   19224:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   19225:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   19226: fi
                   19227: 
                   19228: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     19229: # simply because there is no reason against having it here, and in addition,
1.62      paf      19230: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     19231: # Hook for its removal unless debugging.
                   19232: # Note that there is a small window in which the directory will not be cleaned:
                   19233: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      19234: $debug ||
                   19235: {
1.150     moko     19236:   tmp= ac_tmp=
                   19237:   trap 'exit_status=$?
                   19238:   : "${ac_tmp:=$tmp}"
                   19239:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   19240: ' 0
                   19241:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      19242: }
                   19243: # Create a (secure) tmp directory for tmp files.
                   19244: 
                   19245: {
1.150     moko     19246:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   19247:   test -d "$tmp"
1.62      paf      19248: }  ||
                   19249: {
1.150     moko     19250:   tmp=./conf$$-$RANDOM
                   19251:   (umask 077 && mkdir "$tmp")
                   19252: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   19253: ac_tmp=$tmp
                   19254: 
                   19255: # Set up the scripts for CONFIG_FILES section.
                   19256: # No need to generate them if there are no CONFIG_FILES.
                   19257: # This happens for instance with `./config.status config.h'.
                   19258: if test -n "$CONFIG_FILES"; then
                   19259: 
                   19260: 
                   19261: ac_cr=`echo X | tr X '\015'`
                   19262: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   19263: # But we know of no other shell where ac_cr would be empty at this
                   19264: # point, so we can use a bashism as a fallback.
                   19265: if test "x$ac_cr" = x; then
                   19266:   eval ac_cr=\$\'\\r\'
                   19267: fi
                   19268: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   19269: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   19270:   ac_cs_awk_cr='\\r'
                   19271: else
                   19272:   ac_cs_awk_cr=$ac_cr
                   19273: fi
                   19274: 
                   19275: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   19276: _ACEOF
                   19277: 
                   19278: 
1.62      paf      19279: {
1.150     moko     19280:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   19281:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   19282:   echo "_ACEOF"
                   19283: } >conf$$subs.sh ||
                   19284:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19285: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   19286: ac_delim='%!_!# '
                   19287: for ac_last_try in false false false false false :; do
                   19288:   . ./conf$$subs.sh ||
                   19289:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19290: 
                   19291:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   19292:   if test $ac_delim_n = $ac_delim_num; then
                   19293:     break
                   19294:   elif $ac_last_try; then
                   19295:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19296:   else
                   19297:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   19298:   fi
                   19299: done
                   19300: rm -f conf$$subs.sh
                   19301: 
                   19302: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19303: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   19304: _ACEOF
                   19305: sed -n '
                   19306: h
                   19307: s/^/S["/; s/!.*/"]=/
                   19308: p
                   19309: g
                   19310: s/^[^!]*!//
                   19311: :repl
                   19312: t repl
                   19313: s/'"$ac_delim"'$//
                   19314: t delim
                   19315: :nl
                   19316: h
                   19317: s/\(.\{148\}\)..*/\1/
                   19318: t more1
                   19319: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   19320: p
                   19321: n
                   19322: b repl
                   19323: :more1
                   19324: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   19325: p
                   19326: g
                   19327: s/.\{148\}//
                   19328: t nl
                   19329: :delim
                   19330: h
                   19331: s/\(.\{148\}\)..*/\1/
                   19332: t more2
                   19333: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   19334: p
                   19335: b
                   19336: :more2
                   19337: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   19338: p
                   19339: g
                   19340: s/.\{148\}//
                   19341: t delim
                   19342: ' <conf$$subs.awk | sed '
                   19343: /^[^""]/{
                   19344:   N
                   19345:   s/\n//
                   19346: }
                   19347: ' >>$CONFIG_STATUS || ac_write_fail=1
                   19348: rm -f conf$$subs.awk
                   19349: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19350: _ACAWK
                   19351: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   19352:   for (key in S) S_is_set[key] = 1
                   19353:   FS = ""
                   19354: 
                   19355: }
                   19356: {
                   19357:   line = $ 0
                   19358:   nfields = split(line, field, "@")
                   19359:   substed = 0
                   19360:   len = length(field[1])
                   19361:   for (i = 2; i < nfields; i++) {
                   19362:     key = field[i]
                   19363:     keylen = length(key)
                   19364:     if (S_is_set[key]) {
                   19365:       value = S[key]
                   19366:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   19367:       len += length(value) + length(field[++i])
                   19368:       substed = 1
                   19369:     } else
                   19370:       len += 1 + keylen
                   19371:   }
                   19372: 
                   19373:   print line
1.62      paf      19374: }
                   19375: 
1.150     moko     19376: _ACAWK
                   19377: _ACEOF
                   19378: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19379: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   19380:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   19381: else
                   19382:   cat
                   19383: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   19384:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      19385: _ACEOF
1.1       paf      19386: 
1.150     moko     19387: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   19388: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   19389: # trailing colons and then remove the whole line if VPATH becomes empty
                   19390: # (actually we leave an empty line to preserve line numbers).
                   19391: if test "x$srcdir" = x.; then
                   19392:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   19393: h
                   19394: s///
                   19395: s/^/:/
                   19396: s/[     ]*$/:/
                   19397: s/:\$(srcdir):/:/g
                   19398: s/:\${srcdir}:/:/g
                   19399: s/:@srcdir@:/:/g
                   19400: s/^:*//
                   19401: s/:*$//
                   19402: x
                   19403: s/\(=[  ]*\).*/\1/
                   19404: G
                   19405: s/\n//
                   19406: s/^[^=]*=[      ]*$//
                   19407: }'
                   19408: fi
1.62      paf      19409: 
1.150     moko     19410: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19411: fi # test -n "$CONFIG_FILES"
1.1       paf      19412: 
1.150     moko     19413: # Set up the scripts for CONFIG_HEADERS section.
                   19414: # No need to generate them if there are no CONFIG_HEADERS.
                   19415: # This happens for instance with `./config.status Makefile'.
                   19416: if test -n "$CONFIG_HEADERS"; then
                   19417: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   19418: BEGIN {
                   19419: _ACEOF
                   19420: 
                   19421: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   19422: # here-document in config.status, that substitutes the proper values into
                   19423: # config.h.in to produce config.h.
                   19424: 
                   19425: # Create a delimiter string that does not exist in confdefs.h, to ease
                   19426: # handling of long lines.
                   19427: ac_delim='%!_!# '
                   19428: for ac_last_try in false false :; do
                   19429:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   19430:   if test -z "$ac_tt"; then
                   19431:     break
                   19432:   elif $ac_last_try; then
                   19433:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   19434:   else
                   19435:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      19436:   fi
1.150     moko     19437: done
1.1       paf      19438: 
1.150     moko     19439: # For the awk script, D is an array of macro values keyed by name,
                   19440: # likewise P contains macro parameters if any.  Preserve backslash
                   19441: # newline sequences.
                   19442: 
                   19443: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   19444: sed -n '
                   19445: s/.\{148\}/&'"$ac_delim"'/g
                   19446: t rset
                   19447: :rset
                   19448: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   19449: t def
                   19450: d
                   19451: :def
                   19452: s/\\$//
                   19453: t bsnl
                   19454: s/["\\]/\\&/g
                   19455: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   19456: D["\1"]=" \3"/p
                   19457: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   19458: d
                   19459: :bsnl
                   19460: s/["\\]/\\&/g
                   19461: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   19462: D["\1"]=" \3\\\\\\n"\\/p
                   19463: t cont
                   19464: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   19465: t cont
                   19466: d
                   19467: :cont
                   19468: n
                   19469: s/.\{148\}/&'"$ac_delim"'/g
                   19470: t clear
                   19471: :clear
                   19472: s/\\$//
                   19473: t bsnlc
                   19474: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   19475: d
                   19476: :bsnlc
                   19477: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   19478: b cont
                   19479: ' <confdefs.h | sed '
                   19480: s/'"$ac_delim"'/"\\\
                   19481: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   19482: 
                   19483: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19484:   for (key in D) D_is_set[key] = 1
                   19485:   FS = ""
                   19486: }
                   19487: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   19488:   line = \$ 0
                   19489:   split(line, arg, " ")
                   19490:   if (arg[1] == "#") {
                   19491:     defundef = arg[2]
                   19492:     mac1 = arg[3]
                   19493:   } else {
                   19494:     defundef = substr(arg[1], 2)
                   19495:     mac1 = arg[2]
                   19496:   }
                   19497:   split(mac1, mac2, "(") #)
                   19498:   macro = mac2[1]
                   19499:   prefix = substr(line, 1, index(line, defundef) - 1)
                   19500:   if (D_is_set[macro]) {
                   19501:     # Preserve the white space surrounding the "#".
                   19502:     print prefix "define", macro P[macro] D[macro]
                   19503:     next
                   19504:   } else {
                   19505:     # Replace #undef with comments.  This is necessary, for example,
                   19506:     # in the case of _POSIX_SOURCE, which is predefined and required
                   19507:     # on some systems where configure will not decide to define it.
                   19508:     if (defundef == "undef") {
                   19509:       print "/*", prefix defundef, macro, "*/"
                   19510:       next
                   19511:     }
                   19512:   }
                   19513: }
                   19514: { print }
                   19515: _ACAWK
1.62      paf      19516: _ACEOF
1.150     moko     19517: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19518:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   19519: fi # test -n "$CONFIG_HEADERS"
                   19520: 
                   19521: 
                   19522: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   19523: shift
                   19524: for ac_tag
                   19525: do
                   19526:   case $ac_tag in
                   19527:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   19528:   esac
                   19529:   case $ac_mode$ac_tag in
                   19530:   :[FHL]*:*);;
                   19531:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   19532:   :[FH]-) ac_tag=-:-;;
                   19533:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   19534:   esac
                   19535:   ac_save_IFS=$IFS
                   19536:   IFS=:
                   19537:   set x $ac_tag
                   19538:   IFS=$ac_save_IFS
                   19539:   shift
                   19540:   ac_file=$1
                   19541:   shift
                   19542: 
                   19543:   case $ac_mode in
                   19544:   :L) ac_source=$1;;
                   19545:   :[FH])
                   19546:     ac_file_inputs=
                   19547:     for ac_f
                   19548:     do
                   19549:       case $ac_f in
                   19550:       -) ac_f="$ac_tmp/stdin";;
                   19551:       *) # Look for the file first in the build tree, then in the source tree
                   19552:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   19553:         # because $ac_f cannot contain `:'.
                   19554:         test -f "$ac_f" ||
                   19555:           case $ac_f in
                   19556:           [\\/$]*) false;;
                   19557:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   19558:           esac ||
                   19559:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   19560:       esac
                   19561:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   19562:       as_fn_append ac_file_inputs " '$ac_f'"
                   19563:     done
                   19564: 
                   19565:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   19566:     # use $as_me), people would be surprised to read:
                   19567:     #    /* config.h.  Generated by config.status.  */
                   19568:     configure_input='Generated from '`
                   19569:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   19570:        `' by configure.'
                   19571:     if test x"$ac_file" != x-; then
                   19572:       configure_input="$ac_file.  $configure_input"
                   19573:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   19574: $as_echo "$as_me: creating $ac_file" >&6;}
                   19575:     fi
                   19576:     # Neutralize special characters interpreted by sed in replacement strings.
                   19577:     case $configure_input in #(
                   19578:     *\&* | *\|* | *\\* )
                   19579:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   19580:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   19581:     *) ac_sed_conf_input=$configure_input;;
                   19582:     esac
                   19583: 
                   19584:     case $ac_tag in
                   19585:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   19586:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   19587:     esac
                   19588:     ;;
1.1       paf      19589:   esac
                   19590: 
1.150     moko     19591:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      19592: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19593:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   19594:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     19595:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   19596: $as_echo X"$ac_file" |
                   19597:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19598:            s//\1/
                   19599:            q
                   19600:          }
                   19601:          /^X\(\/\/\)[^/].*/{
                   19602:            s//\1/
                   19603:            q
                   19604:          }
                   19605:          /^X\(\/\/\)$/{
                   19606:            s//\1/
                   19607:            q
                   19608:          }
                   19609:          /^X\(\/\).*/{
                   19610:            s//\1/
                   19611:            q
                   19612:          }
                   19613:          s/.*/./; q'`
                   19614:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      19615:   ac_builddir=.
                   19616: 
1.150     moko     19617: case "$ac_dir" in
                   19618: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19619: *)
                   19620:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   19621:   # A ".." for each directory in $ac_dir_suffix.
                   19622:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   19623:   case $ac_top_builddir_sub in
                   19624:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19625:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   19626:   esac ;;
                   19627: esac
                   19628: ac_abs_top_builddir=$ac_pwd
                   19629: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   19630: # for backward compatibility:
                   19631: ac_top_builddir=$ac_top_build_prefix
1.62      paf      19632: 
                   19633: case $srcdir in
1.150     moko     19634:   .)  # We are building in place.
1.62      paf      19635:     ac_srcdir=.
1.150     moko     19636:     ac_top_srcdir=$ac_top_builddir_sub
                   19637:     ac_abs_top_srcdir=$ac_pwd ;;
                   19638:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      19639:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     19640:     ac_top_srcdir=$srcdir
                   19641:     ac_abs_top_srcdir=$srcdir ;;
                   19642:   *) # Relative name.
                   19643:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   19644:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   19645:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      19646: esac
1.150     moko     19647: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      19648: 
1.62      paf      19649: 
1.150     moko     19650:   case $ac_mode in
                   19651:   :F)
                   19652:   #
                   19653:   # CONFIG_FILE
                   19654:   #
1.1       paf      19655: 
1.62      paf      19656:   case $INSTALL in
                   19657:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     19658:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      19659:   esac
1.150     moko     19660:   ac_MKDIR_P=$MKDIR_P
                   19661:   case $MKDIR_P in
                   19662:   [\\/$]* | ?:[\\/]* ) ;;
                   19663:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   19664:   esac
                   19665: _ACEOF
1.1       paf      19666: 
1.150     moko     19667: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19668: # If the template does not know about datarootdir, expand it.
                   19669: # FIXME: This hack should be removed a few years after 2.60.
                   19670: ac_datarootdir_hack=; ac_datarootdir_seen=
                   19671: ac_sed_dataroot='
                   19672: /datarootdir/ {
                   19673:   p
                   19674:   q
                   19675: }
                   19676: /@datadir@/p
                   19677: /@docdir@/p
                   19678: /@infodir@/p
                   19679: /@localedir@/p
                   19680: /@mandir@/p'
                   19681: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   19682: *datarootdir*) ac_datarootdir_seen=yes;;
                   19683: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   19684:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   19685: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   19686: _ACEOF
                   19687: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19688:   ac_datarootdir_hack='
                   19689:   s&@datadir@&$datadir&g
                   19690:   s&@docdir@&$docdir&g
                   19691:   s&@infodir@&$infodir&g
                   19692:   s&@localedir@&$localedir&g
                   19693:   s&@mandir@&$mandir&g
                   19694:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   19695: esac
                   19696: _ACEOF
1.62      paf      19697: 
1.150     moko     19698: # Neutralize VPATH when `$srcdir' = `.'.
                   19699: # Shell code in configure.ac might set extrasub.
                   19700: # FIXME: do we really want to maintain this feature?
                   19701: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19702: ac_sed_extra="$ac_vpsub
1.62      paf      19703: $extrasub
                   19704: _ACEOF
1.150     moko     19705: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19706: :t
                   19707: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     19708: s|@configure_input@|$ac_sed_conf_input|;t t
                   19709: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   19710: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   19711: s&@srcdir@&$ac_srcdir&;t t
                   19712: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   19713: s&@top_srcdir@&$ac_top_srcdir&;t t
                   19714: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   19715: s&@builddir@&$ac_builddir&;t t
                   19716: s&@abs_builddir@&$ac_abs_builddir&;t t
                   19717: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   19718: s&@INSTALL@&$ac_INSTALL&;t t
                   19719: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   19720: $ac_datarootdir_hack
                   19721: "
                   19722: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   19723:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19724: 
                   19725: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   19726:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   19727:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   19728:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   19729:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   19730: which seems to be undefined.  Please make sure it is defined" >&5
                   19731: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   19732: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      19733: 
1.150     moko     19734:   rm -f "$ac_tmp/stdin"
1.62      paf      19735:   case $ac_file in
1.150     moko     19736:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   19737:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   19738:   esac \
                   19739:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19740:  ;;
                   19741:   :H)
                   19742:   #
                   19743:   # CONFIG_HEADER
                   19744:   #
1.62      paf      19745:   if test x"$ac_file" != x-; then
1.150     moko     19746:     {
                   19747:       $as_echo "/* $configure_input  */" \
                   19748:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   19749:     } >"$ac_tmp/config.h" \
                   19750:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19751:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   19752:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   19753: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      19754:     else
1.150     moko     19755:       rm -f "$ac_file"
                   19756:       mv "$ac_tmp/config.h" "$ac_file" \
                   19757:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      19758:     fi
                   19759:   else
1.150     moko     19760:     $as_echo "/* $configure_input  */" \
                   19761:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   19762:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      19763:   fi
1.150     moko     19764: # Compute "$ac_file"'s index in $config_headers.
                   19765: _am_arg="$ac_file"
1.86      paf      19766: _am_stamp_count=1
                   19767: for _am_header in $config_headers :; do
                   19768:   case $_am_header in
1.150     moko     19769:     $_am_arg | $_am_arg:* )
1.86      paf      19770:       break ;;
                   19771:     * )
                   19772:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   19773:   esac
                   19774: done
1.150     moko     19775: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   19776: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19777:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   19778:         X"$_am_arg" : 'X\(//\)$' \| \
                   19779:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   19780: $as_echo X"$_am_arg" |
                   19781:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19782:            s//\1/
                   19783:            q
                   19784:          }
                   19785:          /^X\(\/\/\)[^/].*/{
                   19786:            s//\1/
                   19787:            q
                   19788:          }
                   19789:          /^X\(\/\/\)$/{
                   19790:            s//\1/
                   19791:            q
                   19792:          }
                   19793:          /^X\(\/\).*/{
                   19794:            s//\1/
                   19795:            q
                   19796:          }
                   19797:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   19798:  ;;
1.62      paf      19799: 
1.150     moko     19800:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   19801: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   19802:  ;;
                   19803:   esac
1.86      paf      19804: 
1.62      paf      19805: 
1.150     moko     19806:   case $ac_file$ac_mode in
                   19807:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   19808:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   19809:   # are listed without --file.  Let's play safe and only enable the eval
                   19810:   # if we detect the quoting.
                   19811:   case $CONFIG_FILES in
                   19812:   *\'*) eval set x "$CONFIG_FILES" ;;
                   19813:   *)   set x $CONFIG_FILES ;;
                   19814:   esac
                   19815:   shift
                   19816:   for mf
                   19817:   do
                   19818:     # Strip MF so we end up with the name of the file.
                   19819:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   19820:     # Check whether this is an Automake generated Makefile or not.
                   19821:     # We used to match only the files named `Makefile.in', but
                   19822:     # some people rename them; so instead we look at the file content.
                   19823:     # Grep'ing the first line is not enough: some people post-process
                   19824:     # each Makefile.in and add a new line on top of each file to say so.
                   19825:     # Grep'ing the whole file is not good either: AIX grep has a line
                   19826:     # limit of 2048, but all sed's we know have understand at least 4000.
                   19827:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   19828:       dirpart=`$as_dirname -- "$mf" ||
1.62      paf      19829: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19830:         X"$mf" : 'X\(//\)[^/]' \| \
                   19831:         X"$mf" : 'X\(//\)$' \| \
1.150     moko     19832:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   19833: $as_echo X"$mf" |
                   19834:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19835:            s//\1/
                   19836:            q
                   19837:          }
                   19838:          /^X\(\/\/\)[^/].*/{
                   19839:            s//\1/
                   19840:            q
                   19841:          }
                   19842:          /^X\(\/\/\)$/{
                   19843:            s//\1/
                   19844:            q
                   19845:          }
                   19846:          /^X\(\/\).*/{
                   19847:            s//\1/
                   19848:            q
                   19849:          }
                   19850:          s/.*/./; q'`
                   19851:     else
                   19852:       continue
                   19853:     fi
                   19854:     # Extract the definition of DEPDIR, am__include, and am__quote
                   19855:     # from the Makefile without running `make'.
                   19856:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   19857:     test -z "$DEPDIR" && continue
                   19858:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   19859:     test -z "am__include" && continue
                   19860:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   19861:     # When using ansi2knr, U may be empty or an underscore; expand it
                   19862:     U=`sed -n 's/^U = //p' < "$mf"`
                   19863:     # Find all dependency output files, they are included files with
                   19864:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   19865:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   19866:     # expansion.
                   19867:     for file in `sed -n "
                   19868:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   19869:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   19870:       # Make sure the directory exists.
                   19871:       test -f "$dirpart/$file" && continue
                   19872:       fdir=`$as_dirname -- "$file" ||
1.62      paf      19873: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19874:         X"$file" : 'X\(//\)[^/]' \| \
                   19875:         X"$file" : 'X\(//\)$' \| \
1.150     moko     19876:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   19877: $as_echo X"$file" |
                   19878:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19879:            s//\1/
                   19880:            q
                   19881:          }
                   19882:          /^X\(\/\/\)[^/].*/{
                   19883:            s//\1/
                   19884:            q
                   19885:          }
                   19886:          /^X\(\/\/\)$/{
                   19887:            s//\1/
                   19888:            q
                   19889:          }
                   19890:          /^X\(\/\).*/{
                   19891:            s//\1/
                   19892:            q
                   19893:          }
                   19894:          s/.*/./; q'`
                   19895:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   19896:       # echo "creating $dirpart/$file"
                   19897:       echo '# dummy' > "$dirpart/$file"
1.62      paf      19898:     done
                   19899:   done
1.150     moko     19900: }
1.62      paf      19901:  ;;
1.150     moko     19902:     "libtool":C)
1.128     moko     19903: 
                   19904:     # See if we are running on zsh, and set the options which allow our
                   19905:     # commands through without removal of \ escapes.
                   19906:     if test -n "${ZSH_VERSION+set}" ; then
                   19907:       setopt NO_GLOB_SUBST
                   19908:     fi
                   19909: 
                   19910:     cfgfile="${ofile}T"
                   19911:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   19912:     $RM "$cfgfile"
                   19913: 
                   19914:     cat <<_LT_EOF >> "$cfgfile"
                   19915: #! $SHELL
                   19916: 
                   19917: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   19918: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   19919: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   19920: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   19921: #
                   19922: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   19923: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   19924: #                 Foundation, Inc.
                   19925: #   Written by Gordon Matzigkeit, 1996
                   19926: #
                   19927: #   This file is part of GNU Libtool.
                   19928: #
                   19929: # GNU Libtool is free software; you can redistribute it and/or
                   19930: # modify it under the terms of the GNU General Public License as
                   19931: # published by the Free Software Foundation; either version 2 of
                   19932: # the License, or (at your option) any later version.
                   19933: #
                   19934: # As a special exception to the GNU General Public License,
                   19935: # if you distribute this file as part of a program or library that
                   19936: # is built using GNU Libtool, you may include this file under the
                   19937: # same distribution terms that you use for the rest of that program.
                   19938: #
                   19939: # GNU Libtool is distributed in the hope that it will be useful,
                   19940: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   19941: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   19942: # GNU General Public License for more details.
                   19943: #
                   19944: # You should have received a copy of the GNU General Public License
                   19945: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   19946: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   19947: # obtained by writing to the Free Software Foundation, Inc.,
                   19948: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   19949: 
                   19950: 
                   19951: # The names of the tagged configurations supported by this script.
                   19952: available_tags="CXX "
                   19953: 
                   19954: # ### BEGIN LIBTOOL CONFIG
                   19955: 
                   19956: # Which release of libtool.m4 was used?
                   19957: macro_version=$macro_version
                   19958: macro_revision=$macro_revision
                   19959: 
                   19960: # Assembler program.
                   19961: AS=$lt_AS
                   19962: 
                   19963: # DLL creation program.
                   19964: DLLTOOL=$lt_DLLTOOL
                   19965: 
                   19966: # Object dumper program.
                   19967: OBJDUMP=$lt_OBJDUMP
                   19968: 
1.145     moko     19969: # What type of objects to build.
                   19970: pic_mode=$pic_mode
                   19971: 
1.128     moko     19972: # Whether or not to build shared libraries.
                   19973: build_libtool_libs=$enable_shared
                   19974: 
1.138     moko     19975: # Whether or not to build static libraries.
                   19976: build_old_libs=$enable_static
                   19977: 
1.128     moko     19978: # Whether or not to optimize for fast installation.
                   19979: fast_install=$enable_fast_install
                   19980: 
                   19981: # Shell to use when invoking shell scripts.
                   19982: SHELL=$lt_SHELL
                   19983: 
                   19984: # An echo program that protects backslashes.
                   19985: ECHO=$lt_ECHO
                   19986: 
                   19987: # The PATH separator for the build system.
                   19988: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   19989: 
                   19990: # The host system.
                   19991: host_alias=$host_alias
                   19992: host=$host
                   19993: host_os=$host_os
                   19994: 
                   19995: # The build system.
                   19996: build_alias=$build_alias
                   19997: build=$build
                   19998: build_os=$build_os
                   19999: 
                   20000: # A sed program that does not truncate output.
                   20001: SED=$lt_SED
                   20002: 
                   20003: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   20004: Xsed="\$SED -e 1s/^X//"
                   20005: 
                   20006: # A grep program that handles long lines.
                   20007: GREP=$lt_GREP
                   20008: 
                   20009: # An ERE matcher.
                   20010: EGREP=$lt_EGREP
                   20011: 
                   20012: # A literal string matcher.
                   20013: FGREP=$lt_FGREP
                   20014: 
                   20015: # A BSD- or MS-compatible name lister.
                   20016: NM=$lt_NM
                   20017: 
                   20018: # Whether we need soft or hard links.
                   20019: LN_S=$lt_LN_S
                   20020: 
                   20021: # What is the maximum length of a command?
                   20022: max_cmd_len=$max_cmd_len
                   20023: 
                   20024: # Object file suffix (normally "o").
                   20025: objext=$ac_objext
                   20026: 
                   20027: # Executable file suffix (normally "").
                   20028: exeext=$exeext
                   20029: 
                   20030: # whether the shell understands "unset".
                   20031: lt_unset=$lt_unset
                   20032: 
                   20033: # turn spaces into newlines.
                   20034: SP2NL=$lt_lt_SP2NL
                   20035: 
                   20036: # turn newlines into spaces.
                   20037: NL2SP=$lt_lt_NL2SP
                   20038: 
                   20039: # convert \$build file names to \$host format.
                   20040: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   20041: 
                   20042: # convert \$build files to toolchain format.
                   20043: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   20044: 
                   20045: # Method to check whether dependent libraries are shared objects.
                   20046: deplibs_check_method=$lt_deplibs_check_method
                   20047: 
                   20048: # Command to use when deplibs_check_method = "file_magic".
                   20049: file_magic_cmd=$lt_file_magic_cmd
                   20050: 
                   20051: # How to find potential files when deplibs_check_method = "file_magic".
                   20052: file_magic_glob=$lt_file_magic_glob
                   20053: 
                   20054: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   20055: want_nocaseglob=$lt_want_nocaseglob
                   20056: 
                   20057: # Command to associate shared and link libraries.
                   20058: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   20059: 
                   20060: # The archiver.
                   20061: AR=$lt_AR
                   20062: 
                   20063: # Flags to create an archive.
                   20064: AR_FLAGS=$lt_AR_FLAGS
                   20065: 
                   20066: # How to feed a file listing to the archiver.
                   20067: archiver_list_spec=$lt_archiver_list_spec
                   20068: 
                   20069: # A symbol stripping program.
                   20070: STRIP=$lt_STRIP
                   20071: 
                   20072: # Commands used to install an old-style archive.
                   20073: RANLIB=$lt_RANLIB
                   20074: old_postinstall_cmds=$lt_old_postinstall_cmds
                   20075: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   20076: 
                   20077: # Whether to use a lock for old archive extraction.
                   20078: lock_old_archive_extraction=$lock_old_archive_extraction
                   20079: 
                   20080: # A C compiler.
                   20081: LTCC=$lt_CC
                   20082: 
                   20083: # LTCC compiler flags.
                   20084: LTCFLAGS=$lt_CFLAGS
                   20085: 
                   20086: # Take the output of nm and produce a listing of raw symbols and C names.
                   20087: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   20088: 
                   20089: # Transform the output of nm in a proper C declaration.
                   20090: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   20091: 
                   20092: # Transform the output of nm in a C name address pair.
                   20093: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   20094: 
                   20095: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   20096: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   20097: 
                   20098: # Specify filename containing input files for \$NM.
                   20099: nm_file_list_spec=$lt_nm_file_list_spec
                   20100: 
                   20101: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   20102: lt_sysroot=$lt_sysroot
                   20103: 
                   20104: # The name of the directory that contains temporary libtool files.
                   20105: objdir=$objdir
                   20106: 
                   20107: # Used to examine libraries when file_magic_cmd begins with "file".
                   20108: MAGIC_CMD=$MAGIC_CMD
                   20109: 
                   20110: # Must we lock files when doing compilation?
                   20111: need_locks=$lt_need_locks
                   20112: 
                   20113: # Manifest tool.
                   20114: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   20115: 
                   20116: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   20117: DSYMUTIL=$lt_DSYMUTIL
                   20118: 
                   20119: # Tool to change global to local symbols on Mac OS X.
                   20120: NMEDIT=$lt_NMEDIT
                   20121: 
                   20122: # Tool to manipulate fat objects and archives on Mac OS X.
                   20123: LIPO=$lt_LIPO
                   20124: 
                   20125: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   20126: OTOOL=$lt_OTOOL
                   20127: 
                   20128: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   20129: OTOOL64=$lt_OTOOL64
                   20130: 
                   20131: # Old archive suffix (normally "a").
                   20132: libext=$libext
                   20133: 
                   20134: # Shared library suffix (normally ".so").
                   20135: shrext_cmds=$lt_shrext_cmds
                   20136: 
                   20137: # The commands to extract the exported symbol list from a shared archive.
                   20138: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   20139: 
                   20140: # Variables whose values should be saved in libtool wrapper scripts and
                   20141: # restored at link time.
                   20142: variables_saved_for_relink=$lt_variables_saved_for_relink
                   20143: 
                   20144: # Do we need the "lib" prefix for modules?
                   20145: need_lib_prefix=$need_lib_prefix
                   20146: 
                   20147: # Do we need a version for libraries?
                   20148: need_version=$need_version
                   20149: 
                   20150: # Library versioning type.
                   20151: version_type=$version_type
                   20152: 
                   20153: # Shared library runtime path variable.
                   20154: runpath_var=$runpath_var
                   20155: 
                   20156: # Shared library path variable.
                   20157: shlibpath_var=$shlibpath_var
                   20158: 
                   20159: # Is shlibpath searched before the hard-coded library search path?
                   20160: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   20161: 
                   20162: # Format of library name prefix.
                   20163: libname_spec=$lt_libname_spec
                   20164: 
                   20165: # List of archive names.  First name is the real one, the rest are links.
                   20166: # The last name is the one that the linker finds with -lNAME
                   20167: library_names_spec=$lt_library_names_spec
                   20168: 
                   20169: # The coded name of the library, if different from the real name.
                   20170: soname_spec=$lt_soname_spec
                   20171: 
                   20172: # Permission mode override for installation of shared libraries.
                   20173: install_override_mode=$lt_install_override_mode
                   20174: 
                   20175: # Command to use after installation of a shared archive.
                   20176: postinstall_cmds=$lt_postinstall_cmds
                   20177: 
                   20178: # Command to use after uninstallation of a shared archive.
                   20179: postuninstall_cmds=$lt_postuninstall_cmds
                   20180: 
                   20181: # Commands used to finish a libtool library installation in a directory.
                   20182: finish_cmds=$lt_finish_cmds
                   20183: 
                   20184: # As "finish_cmds", except a single script fragment to be evaled but
                   20185: # not shown.
                   20186: finish_eval=$lt_finish_eval
                   20187: 
                   20188: # Whether we should hardcode library paths into libraries.
                   20189: hardcode_into_libs=$hardcode_into_libs
                   20190: 
                   20191: # Compile-time system search path for libraries.
                   20192: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   20193: 
                   20194: # Run-time system search path for libraries.
                   20195: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   20196: 
                   20197: # Whether dlopen is supported.
                   20198: dlopen_support=$enable_dlopen
                   20199: 
                   20200: # Whether dlopen of programs is supported.
                   20201: dlopen_self=$enable_dlopen_self
                   20202: 
                   20203: # Whether dlopen of statically linked programs is supported.
                   20204: dlopen_self_static=$enable_dlopen_self_static
                   20205: 
                   20206: # Commands to strip libraries.
                   20207: old_striplib=$lt_old_striplib
                   20208: striplib=$lt_striplib
                   20209: 
                   20210: 
                   20211: # The linker used to build libraries.
                   20212: LD=$lt_LD
                   20213: 
                   20214: # How to create reloadable object files.
                   20215: reload_flag=$lt_reload_flag
                   20216: reload_cmds=$lt_reload_cmds
                   20217: 
                   20218: # Commands used to build an old-style archive.
                   20219: old_archive_cmds=$lt_old_archive_cmds
                   20220: 
                   20221: # A language specific compiler.
                   20222: CC=$lt_compiler
                   20223: 
                   20224: # Is the compiler the GNU compiler?
                   20225: with_gcc=$GCC
                   20226: 
                   20227: # Compiler flag to turn off builtin functions.
                   20228: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   20229: 
                   20230: # Additional compiler flags for building library objects.
                   20231: pic_flag=$lt_lt_prog_compiler_pic
                   20232: 
                   20233: # How to pass a linker flag through the compiler.
                   20234: wl=$lt_lt_prog_compiler_wl
                   20235: 
                   20236: # Compiler flag to prevent dynamic linking.
                   20237: link_static_flag=$lt_lt_prog_compiler_static
                   20238: 
                   20239: # Does compiler simultaneously support -c and -o options?
                   20240: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   20241: 
                   20242: # Whether or not to add -lc for building shared libraries.
                   20243: build_libtool_need_lc=$archive_cmds_need_lc
                   20244: 
                   20245: # Whether or not to disallow shared libs when runtime libs are static.
                   20246: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   20247: 
                   20248: # Compiler flag to allow reflexive dlopens.
                   20249: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   20250: 
                   20251: # Compiler flag to generate shared objects directly from archives.
                   20252: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   20253: 
                   20254: # Whether the compiler copes with passing no objects directly.
                   20255: compiler_needs_object=$lt_compiler_needs_object
                   20256: 
                   20257: # Create an old-style archive from a shared archive.
                   20258: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   20259: 
                   20260: # Create a temporary old-style archive to link instead of a shared archive.
                   20261: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   20262: 
                   20263: # Commands used to build a shared archive.
                   20264: archive_cmds=$lt_archive_cmds
                   20265: archive_expsym_cmds=$lt_archive_expsym_cmds
                   20266: 
                   20267: # Commands used to build a loadable module if different from building
                   20268: # a shared archive.
                   20269: module_cmds=$lt_module_cmds
                   20270: module_expsym_cmds=$lt_module_expsym_cmds
                   20271: 
                   20272: # Whether we are building with GNU ld or not.
                   20273: with_gnu_ld=$lt_with_gnu_ld
                   20274: 
                   20275: # Flag that allows shared libraries with undefined symbols to be built.
                   20276: allow_undefined_flag=$lt_allow_undefined_flag
                   20277: 
                   20278: # Flag that enforces no undefined symbols.
                   20279: no_undefined_flag=$lt_no_undefined_flag
                   20280: 
                   20281: # Flag to hardcode \$libdir into a binary during linking.
                   20282: # This must work even if \$libdir does not exist
                   20283: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   20284: 
                   20285: # Whether we need a single "-rpath" flag with a separated argument.
                   20286: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   20287: 
                   20288: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20289: # DIR into the resulting binary.
                   20290: hardcode_direct=$hardcode_direct
                   20291: 
                   20292: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20293: # DIR into the resulting binary and the resulting library dependency is
                   20294: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20295: # library is relocated.
                   20296: hardcode_direct_absolute=$hardcode_direct_absolute
                   20297: 
                   20298: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20299: # into the resulting binary.
                   20300: hardcode_minus_L=$hardcode_minus_L
                   20301: 
                   20302: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20303: # into the resulting binary.
                   20304: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   20305: 
                   20306: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20307: # into the library and all subsequent libraries and executables linked
                   20308: # against it.
                   20309: hardcode_automatic=$hardcode_automatic
                   20310: 
                   20311: # Set to yes if linker adds runtime paths of dependent libraries
                   20312: # to runtime path list.
                   20313: inherit_rpath=$inherit_rpath
                   20314: 
                   20315: # Whether libtool must link a program against all its dependency libraries.
                   20316: link_all_deplibs=$link_all_deplibs
                   20317: 
                   20318: # Set to "yes" if exported symbols are required.
                   20319: always_export_symbols=$always_export_symbols
                   20320: 
                   20321: # The commands to list exported symbols.
                   20322: export_symbols_cmds=$lt_export_symbols_cmds
                   20323: 
                   20324: # Symbols that should not be listed in the preloaded symbols.
                   20325: exclude_expsyms=$lt_exclude_expsyms
                   20326: 
                   20327: # Symbols that must always be exported.
                   20328: include_expsyms=$lt_include_expsyms
                   20329: 
                   20330: # Commands necessary for linking programs (against libraries) with templates.
                   20331: prelink_cmds=$lt_prelink_cmds
                   20332: 
                   20333: # Commands necessary for finishing linking programs.
                   20334: postlink_cmds=$lt_postlink_cmds
                   20335: 
                   20336: # Specify filename containing input files.
                   20337: file_list_spec=$lt_file_list_spec
                   20338: 
                   20339: # How to hardcode a shared library path into an executable.
                   20340: hardcode_action=$hardcode_action
                   20341: 
                   20342: # The directories searched by this compiler when creating a shared library.
                   20343: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   20344: 
                   20345: # Dependencies to place before and after the objects being linked to
                   20346: # create a shared library.
                   20347: predep_objects=$lt_predep_objects
                   20348: postdep_objects=$lt_postdep_objects
                   20349: predeps=$lt_predeps
                   20350: postdeps=$lt_postdeps
                   20351: 
                   20352: # The library search path used internally by the compiler when linking
                   20353: # a shared library.
                   20354: compiler_lib_search_path=$lt_compiler_lib_search_path
                   20355: 
                   20356: # ### END LIBTOOL CONFIG
                   20357: 
                   20358: _LT_EOF
                   20359: 
                   20360:   case $host_os in
                   20361:   aix3*)
                   20362:     cat <<\_LT_EOF >> "$cfgfile"
                   20363: # AIX sometimes has problems with the GCC collect2 program.  For some
                   20364: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   20365: # vanish in a puff of smoke.
                   20366: if test "X${COLLECT_NAMES+set}" != Xset; then
                   20367:   COLLECT_NAMES=
                   20368:   export COLLECT_NAMES
                   20369: fi
                   20370: _LT_EOF
                   20371:     ;;
                   20372:   esac
                   20373: 
                   20374: 
                   20375: ltmain="$ac_aux_dir/ltmain.sh"
                   20376: 
                   20377: 
                   20378:   # We use sed instead of cat because bash on DJGPP gets confused if
                   20379:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   20380:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   20381:   # is reportedly fixed, but why not run on old versions too?
                   20382:   sed '$q' "$ltmain" >> "$cfgfile" \
                   20383:      || (rm -f "$cfgfile"; exit 1)
                   20384: 
                   20385:   if test x"$xsi_shell" = xyes; then
                   20386:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   20387: func_dirname ()\
                   20388: {\
                   20389: \    case ${1} in\
                   20390: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20391: \      *  ) func_dirname_result="${3}" ;;\
                   20392: \    esac\
                   20393: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   20394:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20395:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20396: test 0 -eq $? || _lt_function_replace_fail=:
                   20397: 
                   20398: 
                   20399:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   20400: func_basename ()\
                   20401: {\
                   20402: \    func_basename_result="${1##*/}"\
                   20403: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20404:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20405:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20406: test 0 -eq $? || _lt_function_replace_fail=:
                   20407: 
                   20408: 
                   20409:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   20410: func_dirname_and_basename ()\
                   20411: {\
                   20412: \    case ${1} in\
                   20413: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20414: \      *  ) func_dirname_result="${3}" ;;\
                   20415: \    esac\
                   20416: \    func_basename_result="${1##*/}"\
                   20417: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20418:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20419:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20420: test 0 -eq $? || _lt_function_replace_fail=:
                   20421: 
                   20422: 
                   20423:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   20424: func_stripname ()\
                   20425: {\
                   20426: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   20427: \    # positional parameters, so assign one to ordinary parameter first.\
                   20428: \    func_stripname_result=${3}\
                   20429: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   20430: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   20431: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   20432:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20433:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20434: test 0 -eq $? || _lt_function_replace_fail=:
                   20435: 
                   20436: 
                   20437:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   20438: func_split_long_opt ()\
                   20439: {\
                   20440: \    func_split_long_opt_name=${1%%=*}\
                   20441: \    func_split_long_opt_arg=${1#*=}\
                   20442: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20443:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20444:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20445: test 0 -eq $? || _lt_function_replace_fail=:
                   20446: 
                   20447: 
                   20448:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   20449: func_split_short_opt ()\
                   20450: {\
                   20451: \    func_split_short_opt_arg=${1#??}\
                   20452: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   20453: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20454:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20455:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20456: test 0 -eq $? || _lt_function_replace_fail=:
                   20457: 
                   20458: 
                   20459:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   20460: func_lo2o ()\
                   20461: {\
                   20462: \    case ${1} in\
                   20463: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   20464: \      *)    func_lo2o_result=${1} ;;\
                   20465: \    esac\
                   20466: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   20467:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20468:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20469: test 0 -eq $? || _lt_function_replace_fail=:
                   20470: 
                   20471: 
                   20472:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   20473: func_xform ()\
                   20474: {\
                   20475:     func_xform_result=${1%.*}.lo\
                   20476: } # Extended-shell func_xform 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_arith ()$/,/^} # func_arith /c\
                   20483: func_arith ()\
                   20484: {\
                   20485:     func_arith_result=$(( $* ))\
                   20486: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   20487:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20488:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20489: test 0 -eq $? || _lt_function_replace_fail=:
                   20490: 
                   20491: 
                   20492:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   20493: func_len ()\
                   20494: {\
                   20495:     func_len_result=${#1}\
                   20496: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   20497:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20498:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20499: test 0 -eq $? || _lt_function_replace_fail=:
                   20500: 
                   20501: fi
                   20502: 
                   20503: if test x"$lt_shell_append" = xyes; then
                   20504:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   20505: func_append ()\
                   20506: {\
                   20507:     eval "${1}+=\\${2}"\
                   20508: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   20509:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20510:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20511: test 0 -eq $? || _lt_function_replace_fail=:
                   20512: 
                   20513: 
                   20514:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   20515: func_append_quoted ()\
                   20516: {\
                   20517: \    func_quote_for_eval "${2}"\
                   20518: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   20519: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   20520:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20521:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20522: test 0 -eq $? || _lt_function_replace_fail=:
                   20523: 
                   20524: 
                   20525:   # Save a `func_append' function call where possible by direct use of '+='
                   20526:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   20527:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20528:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20529:   test 0 -eq $? || _lt_function_replace_fail=:
                   20530: else
                   20531:   # Save a `func_append' function call even when '+=' is not available
                   20532:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   20533:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20534:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20535:   test 0 -eq $? || _lt_function_replace_fail=:
                   20536: fi
                   20537: 
                   20538: if test x"$_lt_function_replace_fail" = x":"; then
1.150     moko     20539:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   20540: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     20541: fi
                   20542: 
                   20543: 
                   20544:    mv -f "$cfgfile" "$ofile" ||
                   20545:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   20546:   chmod +x "$ofile"
                   20547: 
                   20548: 
                   20549:     cat <<_LT_EOF >> "$ofile"
                   20550: 
                   20551: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   20552: 
                   20553: # The linker used to build libraries.
                   20554: LD=$lt_LD_CXX
                   20555: 
                   20556: # How to create reloadable object files.
                   20557: reload_flag=$lt_reload_flag_CXX
                   20558: reload_cmds=$lt_reload_cmds_CXX
                   20559: 
                   20560: # Commands used to build an old-style archive.
                   20561: old_archive_cmds=$lt_old_archive_cmds_CXX
                   20562: 
                   20563: # A language specific compiler.
                   20564: CC=$lt_compiler_CXX
                   20565: 
                   20566: # Is the compiler the GNU compiler?
                   20567: with_gcc=$GCC_CXX
                   20568: 
                   20569: # Compiler flag to turn off builtin functions.
                   20570: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   20571: 
                   20572: # Additional compiler flags for building library objects.
                   20573: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   20574: 
                   20575: # How to pass a linker flag through the compiler.
                   20576: wl=$lt_lt_prog_compiler_wl_CXX
                   20577: 
                   20578: # Compiler flag to prevent dynamic linking.
                   20579: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   20580: 
                   20581: # Does compiler simultaneously support -c and -o options?
                   20582: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   20583: 
                   20584: # Whether or not to add -lc for building shared libraries.
                   20585: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   20586: 
                   20587: # Whether or not to disallow shared libs when runtime libs are static.
                   20588: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   20589: 
                   20590: # Compiler flag to allow reflexive dlopens.
                   20591: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   20592: 
                   20593: # Compiler flag to generate shared objects directly from archives.
                   20594: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   20595: 
                   20596: # Whether the compiler copes with passing no objects directly.
                   20597: compiler_needs_object=$lt_compiler_needs_object_CXX
                   20598: 
                   20599: # Create an old-style archive from a shared archive.
                   20600: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   20601: 
                   20602: # Create a temporary old-style archive to link instead of a shared archive.
                   20603: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   20604: 
                   20605: # Commands used to build a shared archive.
                   20606: archive_cmds=$lt_archive_cmds_CXX
                   20607: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   20608: 
                   20609: # Commands used to build a loadable module if different from building
                   20610: # a shared archive.
                   20611: module_cmds=$lt_module_cmds_CXX
                   20612: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   20613: 
                   20614: # Whether we are building with GNU ld or not.
                   20615: with_gnu_ld=$lt_with_gnu_ld_CXX
                   20616: 
                   20617: # Flag that allows shared libraries with undefined symbols to be built.
                   20618: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   20619: 
                   20620: # Flag that enforces no undefined symbols.
                   20621: no_undefined_flag=$lt_no_undefined_flag_CXX
                   20622: 
                   20623: # Flag to hardcode \$libdir into a binary during linking.
                   20624: # This must work even if \$libdir does not exist
                   20625: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   20626: 
                   20627: # Whether we need a single "-rpath" flag with a separated argument.
                   20628: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   20629: 
                   20630: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20631: # DIR into the resulting binary.
                   20632: hardcode_direct=$hardcode_direct_CXX
                   20633: 
                   20634: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20635: # DIR into the resulting binary and the resulting library dependency is
                   20636: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20637: # library is relocated.
                   20638: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   20639: 
                   20640: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20641: # into the resulting binary.
                   20642: hardcode_minus_L=$hardcode_minus_L_CXX
                   20643: 
                   20644: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20645: # into the resulting binary.
                   20646: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   20647: 
                   20648: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20649: # into the library and all subsequent libraries and executables linked
                   20650: # against it.
                   20651: hardcode_automatic=$hardcode_automatic_CXX
                   20652: 
                   20653: # Set to yes if linker adds runtime paths of dependent libraries
                   20654: # to runtime path list.
                   20655: inherit_rpath=$inherit_rpath_CXX
                   20656: 
                   20657: # Whether libtool must link a program against all its dependency libraries.
                   20658: link_all_deplibs=$link_all_deplibs_CXX
                   20659: 
                   20660: # Set to "yes" if exported symbols are required.
                   20661: always_export_symbols=$always_export_symbols_CXX
                   20662: 
                   20663: # The commands to list exported symbols.
                   20664: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   20665: 
                   20666: # Symbols that should not be listed in the preloaded symbols.
                   20667: exclude_expsyms=$lt_exclude_expsyms_CXX
                   20668: 
                   20669: # Symbols that must always be exported.
                   20670: include_expsyms=$lt_include_expsyms_CXX
                   20671: 
                   20672: # Commands necessary for linking programs (against libraries) with templates.
                   20673: prelink_cmds=$lt_prelink_cmds_CXX
                   20674: 
                   20675: # Commands necessary for finishing linking programs.
                   20676: postlink_cmds=$lt_postlink_cmds_CXX
                   20677: 
                   20678: # Specify filename containing input files.
                   20679: file_list_spec=$lt_file_list_spec_CXX
                   20680: 
                   20681: # How to hardcode a shared library path into an executable.
                   20682: hardcode_action=$hardcode_action_CXX
                   20683: 
                   20684: # The directories searched by this compiler when creating a shared library.
                   20685: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   20686: 
                   20687: # Dependencies to place before and after the objects being linked to
                   20688: # create a shared library.
                   20689: predep_objects=$lt_predep_objects_CXX
                   20690: postdep_objects=$lt_postdep_objects_CXX
                   20691: predeps=$lt_predeps_CXX
                   20692: postdeps=$lt_postdeps_CXX
                   20693: 
                   20694: # The library search path used internally by the compiler when linking
                   20695: # a shared library.
                   20696: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   20697: 
                   20698: # ### END LIBTOOL TAG CONFIG: CXX
                   20699: _LT_EOF
                   20700: 
                   20701:  ;;
1.150     moko     20702: 
1.62      paf      20703:   esac
1.150     moko     20704: done # for ac_tag
1.62      paf      20705: 
                   20706: 
1.150     moko     20707: as_fn_exit 0
1.62      paf      20708: _ACEOF
                   20709: ac_clean_files=$ac_clean_files_save
                   20710: 
1.150     moko     20711: test $ac_write_fail = 0 ||
                   20712:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   20713: 
1.1       paf      20714: 
1.62      paf      20715: # configure is writing to config.log, and then calls config.status.
                   20716: # config.status does its own redirection, appending to config.log.
                   20717: # Unfortunately, on DOS this fails, as config.log is still kept open
                   20718: # by configure, so config.status won't be able to write to it; its
                   20719: # output is simply discarded.  So we exec the FD to /dev/null,
                   20720: # effectively closing config.log, so it can be properly (re)opened and
                   20721: # appended to by config.status.  When coming back to configure, we
                   20722: # need to make the FD available again.
                   20723: if test "$no_create" != yes; then
                   20724:   ac_cs_success=:
                   20725:   ac_config_status_args=
                   20726:   test "$silent" = yes &&
                   20727:     ac_config_status_args="$ac_config_status_args --quiet"
                   20728:   exec 5>/dev/null
                   20729:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   20730:   exec 5>>config.log
                   20731:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   20732:   # would make configure fail if this is the last instruction.
1.150     moko     20733:   $ac_cs_success || as_fn_exit 1
1.62      paf      20734: fi
                   20735: 
                   20736: #
                   20737: # CONFIG_SUBDIRS section.
                   20738: #
1.1       paf      20739: if test "$no_recursion" != yes; then
                   20740: 
1.150     moko     20741:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   20742:   # so they do not pile up.
1.1       paf      20743:   ac_sub_configure_args=
                   20744:   ac_prev=
1.150     moko     20745:   eval "set x $ac_configure_args"
                   20746:   shift
                   20747:   for ac_arg
                   20748:   do
1.1       paf      20749:     if test -n "$ac_prev"; then
                   20750:       ac_prev=
                   20751:       continue
                   20752:     fi
1.62      paf      20753:     case $ac_arg in
1.1       paf      20754:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   20755:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   20756:       ac_prev=cache_file ;;
                   20757:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      20758:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   20759:     | --c=*)
                   20760:       ;;
                   20761:     --config-cache | -C)
1.1       paf      20762:       ;;
                   20763:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   20764:       ac_prev=srcdir ;;
                   20765:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   20766:       ;;
1.62      paf      20767:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   20768:       ac_prev=prefix ;;
                   20769:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   20770:       ;;
1.150     moko     20771:     --disable-option-checking)
                   20772:       ;;
                   20773:     *)
                   20774:       case $ac_arg in
                   20775:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   20776:       esac
                   20777:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      20778:     esac
                   20779:   done
                   20780: 
1.62      paf      20781:   # Always prepend --prefix to ensure using the same prefix
                   20782:   # in subdir configurations.
1.150     moko     20783:   ac_arg="--prefix=$prefix"
                   20784:   case $ac_arg in
                   20785:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   20786:   esac
                   20787:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   20788: 
                   20789:   # Pass --silent
                   20790:   if test "$silent" = yes; then
                   20791:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   20792:   fi
                   20793: 
                   20794:   # Always prepend --disable-option-checking to silence warnings, since
                   20795:   # different subdirs can have different --enable and --with options.
                   20796:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      20797: 
                   20798:   ac_popdir=`pwd`
                   20799:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      20800: 
                   20801:     # Do not complain, so a configure script can configure whichever
                   20802:     # parts of a large source tree are present.
1.150     moko     20803:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      20804: 
1.150     moko     20805:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   20806:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   20807:     $as_echo "$ac_msg" >&6
                   20808:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20809:     ac_builddir=.
                   20810: 
1.150     moko     20811: case "$ac_dir" in
                   20812: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20813: *)
                   20814:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   20815:   # A ".." for each directory in $ac_dir_suffix.
                   20816:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   20817:   case $ac_top_builddir_sub in
                   20818:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20819:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   20820:   esac ;;
                   20821: esac
                   20822: ac_abs_top_builddir=$ac_pwd
                   20823: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   20824: # for backward compatibility:
                   20825: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20826: 
                   20827: case $srcdir in
1.150     moko     20828:   .)  # We are building in place.
1.62      paf      20829:     ac_srcdir=.
1.150     moko     20830:     ac_top_srcdir=$ac_top_builddir_sub
                   20831:     ac_abs_top_srcdir=$ac_pwd ;;
                   20832:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20833:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     20834:     ac_top_srcdir=$srcdir
                   20835:     ac_abs_top_srcdir=$srcdir ;;
                   20836:   *) # Relative name.
                   20837:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   20838:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   20839:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      20840: esac
1.150     moko     20841: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      20842: 
                   20843: 
1.150     moko     20844:     cd "$ac_dir"
1.1       paf      20845: 
                   20846:     # Check for guested configure; otherwise get Cygnus style configure.
1.150     moko     20847:     if test -f "$ac_srcdir/configure.gnu"; then
                   20848:       ac_sub_configure=$ac_srcdir/configure.gnu
                   20849:     elif test -f "$ac_srcdir/configure"; then
                   20850:       ac_sub_configure=$ac_srcdir/configure
                   20851:     elif test -f "$ac_srcdir/configure.in"; then
                   20852:       # This should be Cygnus configure.
                   20853:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      20854:     else
1.150     moko     20855:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   20856: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      20857:       ac_sub_configure=
                   20858:     fi
                   20859: 
                   20860:     # The recursion is here.
                   20861:     if test -n "$ac_sub_configure"; then
                   20862:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      20863:       case $cache_file in
                   20864:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     20865:       *) # Relative name.
                   20866:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      20867:       esac
                   20868: 
1.150     moko     20869:       { $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
                   20870: $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      20871:       # The eval makes quoting arguments work.
1.150     moko     20872:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   20873:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   20874:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      20875:     fi
                   20876: 
1.150     moko     20877:     cd "$ac_popdir"
1.1       paf      20878:   done
                   20879: fi
1.150     moko     20880: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   20881:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   20882: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   20883: fi
1.1       paf      20884: 

E-mail: