Annotation of parser3/configure, revision 1.155

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
1.155   ! moko     4888:        GLIB="glib-2.0"
1.154     moko     4889:        GMIME="gmime-2.4"
                   4890: 
                   4891:        if test -z "$MIME" -o "$MIME" = "yes"; then
                   4892:                MIME=""
                   4893:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   4894:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   4895:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
                   4896: $as_echo "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
                   4897:        else
1.155   ! moko     4898:                MIME_INCLUDES="-I$MIME/include/$GMIME"
1.154     moko     4899:                MIME_LIBS="-l$GMIME"
                   4900:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
                   4901:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
1.155   ! moko     4902:                        if test -f $MIME/lib/lib$GLIB.la; then
        !          4903:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
        !          4904:                        else
        !          4905:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
        !          4906:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
        !          4907:                        fi
1.154     moko     4908:                        MIME_OK="yes"
                   4909:                fi
1.67      paf      4910:        fi
1.66      paf      4911: 
1.154     moko     4912:        if test -z "$MIME_OK"; then
                   4913:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
                   4914: $as_echo_n "checking for mime... " >&6; }
                   4915:                SAVE_LIBS=$LIBS
                   4916:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
                   4917:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4918: /* end confdefs.h.  */
                   4919:  #include <gmime/gmime.h>
                   4920: int
                   4921: main ()
                   4922: {
                   4923:  guint v=gmime_major_version;
                   4924:   ;
                   4925:   return 0;
                   4926: }
                   4927: _ACEOF
                   4928: if ac_fn_c_try_link "$LINENO"; then :
                   4929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4930: $as_echo "yes" >&6; }
1.66      paf      4931: 
1.154     moko     4932: else
                   4933:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4934: $as_echo "no" >&6; }
                   4935:                        if test -z "$MIME"; then
                   4936:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=D" "$LINENO" 5
                   4937:                        else
                   4938:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
1.90      paf      4939:                        fi
1.66      paf      4940: 
1.150     moko     4941: fi
1.154     moko     4942: rm -f core conftest.err conftest.$ac_objext \
                   4943:     conftest$ac_exeext conftest.$ac_ext
                   4944:                LIBS=$SAVE_LIBS
1.67      paf      4945:        fi
1.66      paf      4946: 
1.150     moko     4947: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      4948: 
                   4949: 
1.154     moko     4950: fi
1.66      paf      4951: 
                   4952: 
                   4953: 
                   4954: 
                   4955: 
                   4956: 
                   4957: 
1.150     moko     4958: # Check whether --with-sendmail was given.
                   4959: if test "${with_sendmail+set}" = set; then :
                   4960:   withval=$with_sendmail;
1.66      paf      4961: cat >>confdefs.h <<_ACEOF
                   4962: #define PA_FORCED_SENDMAIL "$withval"
                   4963: _ACEOF
                   4964: 
                   4965: 
1.150     moko     4966: fi
1.66      paf      4967: 
                   4968: 
                   4969: 
1.122     moko     4970: 
1.150     moko     4971: # Check whether --with-apache was given.
                   4972: if test "${with_apache+set}" = set; then :
                   4973:   withval=$with_apache;
1.122     moko     4974:        APXS=$withval
                   4975: 
                   4976:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   4977:                APXS=`which apxs 2>/dev/null`
1.142     moko     4978:                if test -z "$APXS"; then
                   4979:                        APXS=`which apxs2 2>/dev/null`
                   4980:                fi
                   4981:        fi
1.122     moko     4982: 
                   4983:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   4984: 
                   4985:        if test -z "$APACHE"; then
1.150     moko     4986:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      4987:        fi
1.7       paf      4988: 
1.122     moko     4989:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   4990:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   4991:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   4992:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   4993: 
1.150     moko     4994: fi
1.7       paf      4995: 
                   4996: 
1.62      paf      4997: 
1.122     moko     4998: 
1.150     moko     4999:  if test -n "$APACHE"; then
1.122     moko     5000:   COMPILE_APACHE_MODULE_TRUE=
                   5001:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      5002: else
1.122     moko     5003:   COMPILE_APACHE_MODULE_TRUE='#'
                   5004:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      5005: fi
1.1       paf      5006: 
                   5007: 
                   5008: 
1.62      paf      5009: 
                   5010: 
1.7       paf      5011: 
1.1       paf      5012: 
                   5013: 
                   5014: 
1.62      paf      5015: 
1.128     moko     5016: case `pwd` in
                   5017:   *\ * | *\    *)
1.150     moko     5018:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5019: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5020: esac
                   5021: 
                   5022: 
                   5023: 
                   5024: macro_version='2.4.2'
                   5025: macro_revision='1.3337'
                   5026: 
                   5027: 
                   5028: 
                   5029: 
                   5030: 
                   5031: 
                   5032: 
                   5033: 
                   5034: 
                   5035: 
                   5036: 
                   5037: 
                   5038: 
                   5039: ltmain="$ac_aux_dir/ltmain.sh"
                   5040: 
                   5041: # Backslashify metacharacters that are still active within
                   5042: # double-quoted strings.
                   5043: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5044: 
1.128     moko     5045: # Same as above, but do not quote variable references.
                   5046: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5047: 
1.128     moko     5048: # Sed substitution to delay expansion of an escaped shell variable in a
                   5049: # double_quote_subst'ed string.
                   5050: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5051: 
1.128     moko     5052: # Sed substitution to delay expansion of an escaped single quote.
                   5053: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5054: 
1.128     moko     5055: # Sed substitution to avoid accidental globbing in evaled expressions
                   5056: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5057: 
1.128     moko     5058: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5059: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5060: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5061: 
1.150     moko     5062: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5063: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5064: # Test print first, because it will be a builtin if present.
                   5065: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5066:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5067:   ECHO='print -r --'
                   5068: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5069:   ECHO='printf %s\n'
                   5070: else
                   5071:   # Use this function as a fallback that always works.
                   5072:   func_fallback_echo ()
                   5073:   {
                   5074:     eval 'cat <<_LTECHO_EOF
                   5075: $1
                   5076: _LTECHO_EOF'
                   5077:   }
                   5078:   ECHO='func_fallback_echo'
                   5079: fi
1.86      paf      5080: 
1.128     moko     5081: # func_echo_all arg...
                   5082: # Invoke $ECHO with all args, space-separated.
                   5083: func_echo_all ()
1.66      paf      5084: {
1.128     moko     5085:     $ECHO ""
1.66      paf      5086: }
1.10      paf      5087: 
1.128     moko     5088: case "$ECHO" in
1.150     moko     5089:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5090: $as_echo "printf" >&6; } ;;
                   5091:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5092: $as_echo "print -r" >&6; } ;;
                   5093:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5094: $as_echo "cat" >&6; } ;;
1.128     moko     5095: esac
                   5096: 
                   5097: 
                   5098: 
                   5099: 
                   5100: 
                   5101: 
                   5102: 
                   5103: 
                   5104: 
                   5105: 
                   5106: 
                   5107: 
                   5108: 
                   5109: 
1.150     moko     5110: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5111: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5112: if ${ac_cv_path_SED+:} false; then :
                   5113:   $as_echo_n "(cached) " >&6
                   5114: else
                   5115:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5116:      for ac_i in 1 2 3 4 5 6 7; do
                   5117:        ac_script="$ac_script$as_nl$ac_script"
                   5118:      done
                   5119:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5120:      { ac_script=; unset ac_script;}
                   5121:      if test -z "$SED"; then
                   5122:   ac_path_SED_found=false
                   5123:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5124:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5125: for as_dir in $PATH
                   5126: do
                   5127:   IFS=$as_save_IFS
                   5128:   test -z "$as_dir" && as_dir=.
1.150     moko     5129:     for ac_prog in sed gsed; do
1.128     moko     5130:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     5131:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
                   5132:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
                   5133: # Check for GNU ac_path_SED and select it if it is found.
                   5134:   # Check for GNU $ac_path_SED
                   5135: case `"$ac_path_SED" --version 2>&1` in
                   5136: *GNU*)
                   5137:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5138: *)
                   5139:   ac_count=0
                   5140:   $as_echo_n 0123456789 >"conftest.in"
                   5141:   while :
                   5142:   do
                   5143:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5144:     mv "conftest.tmp" "conftest.in"
                   5145:     cp "conftest.in" "conftest.nl"
                   5146:     $as_echo '' >> "conftest.nl"
                   5147:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5148:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5149:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5150:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5151:       # Best one so far, save it but keep looking for a better one
                   5152:       ac_cv_path_SED="$ac_path_SED"
                   5153:       ac_path_SED_max=$ac_count
                   5154:     fi
                   5155:     # 10*(2^10) chars as input seems more than enough
                   5156:     test $ac_count -gt 10 && break
                   5157:   done
                   5158:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5159: esac
                   5160: 
                   5161:       $ac_path_SED_found && break 3
1.128     moko     5162:     done
                   5163:   done
1.150     moko     5164:   done
1.128     moko     5165: IFS=$as_save_IFS
1.150     moko     5166:   if test -z "$ac_cv_path_SED"; then
                   5167:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5168:   fi
1.150     moko     5169: else
                   5170:   ac_cv_path_SED=$SED
                   5171: fi
1.10      paf      5172: 
1.66      paf      5173: fi
1.150     moko     5174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5175: $as_echo "$ac_cv_path_SED" >&6; }
                   5176:  SED="$ac_cv_path_SED"
                   5177:   rm -f conftest.sed
1.128     moko     5178: 
                   5179: test -z "$SED" && SED=sed
                   5180: Xsed="$SED -e 1s/^X//"
1.10      paf      5181: 
1.128     moko     5182: 
                   5183: 
                   5184: 
                   5185: 
                   5186: 
                   5187: 
                   5188: 
                   5189: 
                   5190: 
                   5191: 
1.150     moko     5192: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5193: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5194: if ${ac_cv_path_GREP+:} false; then :
                   5195:   $as_echo_n "(cached) " >&6
                   5196: else
                   5197:   if test -z "$GREP"; then
                   5198:   ac_path_GREP_found=false
                   5199:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5200:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5201: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5202: do
                   5203:   IFS=$as_save_IFS
                   5204:   test -z "$as_dir" && as_dir=.
                   5205:     for ac_prog in grep ggrep; do
                   5206:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5207:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   5208:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   5209: # Check for GNU ac_path_GREP and select it if it is found.
                   5210:   # Check for GNU $ac_path_GREP
                   5211: case `"$ac_path_GREP" --version 2>&1` in
                   5212: *GNU*)
                   5213:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5214: *)
                   5215:   ac_count=0
                   5216:   $as_echo_n 0123456789 >"conftest.in"
                   5217:   while :
                   5218:   do
                   5219:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5220:     mv "conftest.tmp" "conftest.in"
                   5221:     cp "conftest.in" "conftest.nl"
                   5222:     $as_echo 'GREP' >> "conftest.nl"
                   5223:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5224:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5225:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5226:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5227:       # Best one so far, save it but keep looking for a better one
                   5228:       ac_cv_path_GREP="$ac_path_GREP"
                   5229:       ac_path_GREP_max=$ac_count
1.128     moko     5230:     fi
1.150     moko     5231:     # 10*(2^10) chars as input seems more than enough
                   5232:     test $ac_count -gt 10 && break
                   5233:   done
                   5234:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5235: esac
                   5236: 
                   5237:       $ac_path_GREP_found && break 3
                   5238:     done
                   5239:   done
                   5240:   done
                   5241: IFS=$as_save_IFS
                   5242:   if test -z "$ac_cv_path_GREP"; then
                   5243:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5244:   fi
                   5245: else
                   5246:   ac_cv_path_GREP=$GREP
                   5247: fi
                   5248: 
1.128     moko     5249: fi
1.150     moko     5250: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5251: $as_echo "$ac_cv_path_GREP" >&6; }
                   5252:  GREP="$ac_cv_path_GREP"
                   5253: 
                   5254: 
                   5255: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5256: $as_echo_n "checking for egrep... " >&6; }
                   5257: if ${ac_cv_path_EGREP+:} false; then :
                   5258:   $as_echo_n "(cached) " >&6
                   5259: else
                   5260:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5261:    then ac_cv_path_EGREP="$GREP -E"
                   5262:    else
                   5263:      if test -z "$EGREP"; then
                   5264:   ac_path_EGREP_found=false
                   5265:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5266:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5267: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5268: do
                   5269:   IFS=$as_save_IFS
                   5270:   test -z "$as_dir" && as_dir=.
                   5271:     for ac_prog in egrep; do
                   5272:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5273:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5274:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   5275: # Check for GNU ac_path_EGREP and select it if it is found.
                   5276:   # Check for GNU $ac_path_EGREP
                   5277: case `"$ac_path_EGREP" --version 2>&1` in
                   5278: *GNU*)
                   5279:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5280: *)
                   5281:   ac_count=0
                   5282:   $as_echo_n 0123456789 >"conftest.in"
                   5283:   while :
                   5284:   do
                   5285:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5286:     mv "conftest.tmp" "conftest.in"
                   5287:     cp "conftest.in" "conftest.nl"
                   5288:     $as_echo 'EGREP' >> "conftest.nl"
                   5289:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5290:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5291:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5292:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5293:       # Best one so far, save it but keep looking for a better one
                   5294:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5295:       ac_path_EGREP_max=$ac_count
                   5296:     fi
                   5297:     # 10*(2^10) chars as input seems more than enough
                   5298:     test $ac_count -gt 10 && break
                   5299:   done
                   5300:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5301: esac
1.128     moko     5302: 
1.150     moko     5303:       $ac_path_EGREP_found && break 3
                   5304:     done
                   5305:   done
                   5306:   done
                   5307: IFS=$as_save_IFS
                   5308:   if test -z "$ac_cv_path_EGREP"; then
                   5309:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5310:   fi
                   5311: else
                   5312:   ac_cv_path_EGREP=$EGREP
                   5313: fi
1.128     moko     5314: 
1.150     moko     5315:    fi
                   5316: fi
                   5317: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5318: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5319:  EGREP="$ac_cv_path_EGREP"
                   5320: 
                   5321: 
                   5322: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5323: $as_echo_n "checking for fgrep... " >&6; }
                   5324: if ${ac_cv_path_FGREP+:} false; then :
                   5325:   $as_echo_n "(cached) " >&6
                   5326: else
                   5327:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5328:    then ac_cv_path_FGREP="$GREP -F"
                   5329:    else
                   5330:      if test -z "$FGREP"; then
                   5331:   ac_path_FGREP_found=false
                   5332:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5333:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5334: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5335: do
                   5336:   IFS=$as_save_IFS
                   5337:   test -z "$as_dir" && as_dir=.
                   5338:     for ac_prog in fgrep; do
                   5339:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5340:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5341:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
                   5342: # Check for GNU ac_path_FGREP and select it if it is found.
                   5343:   # Check for GNU $ac_path_FGREP
                   5344: case `"$ac_path_FGREP" --version 2>&1` in
                   5345: *GNU*)
                   5346:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5347: *)
                   5348:   ac_count=0
                   5349:   $as_echo_n 0123456789 >"conftest.in"
                   5350:   while :
                   5351:   do
                   5352:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5353:     mv "conftest.tmp" "conftest.in"
                   5354:     cp "conftest.in" "conftest.nl"
                   5355:     $as_echo 'FGREP' >> "conftest.nl"
                   5356:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5357:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5358:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5359:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5360:       # Best one so far, save it but keep looking for a better one
                   5361:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5362:       ac_path_FGREP_max=$ac_count
1.128     moko     5363:     fi
1.150     moko     5364:     # 10*(2^10) chars as input seems more than enough
                   5365:     test $ac_count -gt 10 && break
                   5366:   done
                   5367:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5368: esac
                   5369: 
                   5370:       $ac_path_FGREP_found && break 3
                   5371:     done
                   5372:   done
                   5373:   done
                   5374: IFS=$as_save_IFS
                   5375:   if test -z "$ac_cv_path_FGREP"; then
                   5376:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5377:   fi
                   5378: else
                   5379:   ac_cv_path_FGREP=$FGREP
                   5380: fi
                   5381: 
                   5382:    fi
1.128     moko     5383: fi
1.150     moko     5384: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5385: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5386:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5387: 
                   5388: 
                   5389: test -z "$GREP" && GREP=grep
                   5390: 
                   5391: 
                   5392: 
                   5393: 
                   5394: 
                   5395: 
                   5396: 
                   5397: 
                   5398: 
                   5399: 
                   5400: 
                   5401: 
                   5402: 
                   5403: 
                   5404: 
                   5405: 
                   5406: 
                   5407: 
                   5408: 
1.150     moko     5409: # Check whether --with-gnu-ld was given.
                   5410: if test "${with_gnu_ld+set}" = set; then :
                   5411:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5412: else
                   5413:   with_gnu_ld=no
1.150     moko     5414: fi
                   5415: 
1.128     moko     5416: ac_prog=ld
                   5417: if test "$GCC" = yes; then
                   5418:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     5419:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5420: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5421:   case $host in
                   5422:   *-*-mingw*)
                   5423:     # gcc leaves a trailing carriage return which upsets mingw
                   5424:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5425:   *)
                   5426:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5427:   esac
                   5428:   case $ac_prog in
                   5429:     # Accept absolute paths.
                   5430:     [\\/]* | ?:[\\/]*)
                   5431:       re_direlt='/[^/][^/]*/\.\./'
                   5432:       # Canonicalize the pathname of ld
                   5433:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5434:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5435:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5436:       done
                   5437:       test -z "$LD" && LD="$ac_prog"
                   5438:       ;;
                   5439:   "")
                   5440:     # If it fails, then pretend we aren't using GCC.
                   5441:     ac_prog=ld
                   5442:     ;;
                   5443:   *)
                   5444:     # If it is relative, then search for the first ld in PATH.
                   5445:     with_gnu_ld=unknown
                   5446:     ;;
                   5447:   esac
                   5448: elif test "$with_gnu_ld" = yes; then
1.150     moko     5449:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5450: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     5451: else
1.150     moko     5452:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5453: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     5454: fi
1.150     moko     5455: if ${lt_cv_path_LD+:} false; then :
                   5456:   $as_echo_n "(cached) " >&6
1.128     moko     5457: else
                   5458:   if test -z "$LD"; then
                   5459:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5460:   for ac_dir in $PATH; do
                   5461:     IFS="$lt_save_ifs"
                   5462:     test -z "$ac_dir" && ac_dir=.
                   5463:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5464:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5465:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5466:       # but apparently some variants of GNU ld only accept -v.
                   5467:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5468:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5469:       *GNU* | *'with BFD'*)
                   5470:        test "$with_gnu_ld" != no && break
                   5471:        ;;
                   5472:       *)
                   5473:        test "$with_gnu_ld" != yes && break
                   5474:        ;;
                   5475:       esac
                   5476:     fi
                   5477:   done
                   5478:   IFS="$lt_save_ifs"
                   5479: else
                   5480:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5481: fi
                   5482: fi
                   5483: 
                   5484: LD="$lt_cv_path_LD"
                   5485: if test -n "$LD"; then
1.150     moko     5486:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5487: $as_echo "$LD" >&6; }
1.128     moko     5488: else
1.150     moko     5489:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5490: $as_echo "no" >&6; }
1.128     moko     5491: fi
1.150     moko     5492: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5493: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5494: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5495: if ${lt_cv_prog_gnu_ld+:} false; then :
                   5496:   $as_echo_n "(cached) " >&6
1.128     moko     5497: else
                   5498:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5499: case `$LD -v 2>&1 </dev/null` in
                   5500: *GNU* | *'with BFD'*)
                   5501:   lt_cv_prog_gnu_ld=yes
                   5502:   ;;
                   5503: *)
                   5504:   lt_cv_prog_gnu_ld=no
                   5505:   ;;
                   5506: esac
                   5507: fi
1.150     moko     5508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5509: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     5510: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5511: 
                   5512: 
                   5513: 
                   5514: 
                   5515: 
                   5516: 
                   5517: 
                   5518: 
                   5519: 
1.150     moko     5520: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5521: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5522: if ${lt_cv_path_NM+:} false; then :
                   5523:   $as_echo_n "(cached) " >&6
1.128     moko     5524: else
                   5525:   if test -n "$NM"; then
                   5526:   # Let the user override the test.
                   5527:   lt_cv_path_NM="$NM"
                   5528: else
                   5529:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5530:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5531:     lt_nm_to_check="$lt_nm_to_check nm"
                   5532:   fi
                   5533:   for lt_tmp_nm in $lt_nm_to_check; do
                   5534:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5535:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5536:       IFS="$lt_save_ifs"
                   5537:       test -z "$ac_dir" && ac_dir=.
                   5538:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5539:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5540:        # Check to see if the nm accepts a BSD-compat flag.
                   5541:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5542:        #   nm: unknown option "B" ignored
                   5543:        # Tru64's nm complains that /dev/null is an invalid object file
                   5544:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5545:        */dev/null* | *'Invalid file or object type'*)
                   5546:          lt_cv_path_NM="$tmp_nm -B"
                   5547:          break
                   5548:          ;;
                   5549:        *)
                   5550:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5551:          */dev/null*)
                   5552:            lt_cv_path_NM="$tmp_nm -p"
                   5553:            break
                   5554:            ;;
                   5555:          *)
                   5556:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5557:            continue # so that we can try to find one that supports BSD flags
                   5558:            ;;
                   5559:          esac
                   5560:          ;;
                   5561:        esac
                   5562:       fi
                   5563:     done
                   5564:     IFS="$lt_save_ifs"
                   5565:   done
                   5566:   : ${lt_cv_path_NM=no}
                   5567: fi
                   5568: fi
1.150     moko     5569: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5570: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     5571: if test "$lt_cv_path_NM" != "no"; then
                   5572:   NM="$lt_cv_path_NM"
                   5573: else
                   5574:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5575:   if test -n "$DUMPBIN"; then :
                   5576:     # Let the user override the test.
                   5577:   else
                   5578:     if test -n "$ac_tool_prefix"; then
                   5579:   for ac_prog in dumpbin "link -dump"
                   5580:   do
                   5581:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5582: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     5583: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5584: $as_echo_n "checking for $ac_word... " >&6; }
                   5585: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5586:   $as_echo_n "(cached) " >&6
1.128     moko     5587: else
                   5588:   if test -n "$DUMPBIN"; then
                   5589:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5590: else
                   5591: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5592: for as_dir in $PATH
                   5593: do
                   5594:   IFS=$as_save_IFS
                   5595:   test -z "$as_dir" && as_dir=.
1.150     moko     5596:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5597:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5598:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150     moko     5599:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5600:     break 2
                   5601:   fi
                   5602: done
1.150     moko     5603:   done
                   5604: IFS=$as_save_IFS
1.128     moko     5605: 
                   5606: fi
                   5607: fi
                   5608: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5609: if test -n "$DUMPBIN"; then
1.150     moko     5610:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5611: $as_echo "$DUMPBIN" >&6; }
1.128     moko     5612: else
1.150     moko     5613:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5614: $as_echo "no" >&6; }
1.128     moko     5615: fi
                   5616: 
1.150     moko     5617: 
1.128     moko     5618:     test -n "$DUMPBIN" && break
                   5619:   done
                   5620: fi
                   5621: if test -z "$DUMPBIN"; then
                   5622:   ac_ct_DUMPBIN=$DUMPBIN
                   5623:   for ac_prog in dumpbin "link -dump"
                   5624: do
                   5625:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5626: set dummy $ac_prog; ac_word=$2
1.150     moko     5627: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5628: $as_echo_n "checking for $ac_word... " >&6; }
                   5629: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5630:   $as_echo_n "(cached) " >&6
1.128     moko     5631: else
                   5632:   if test -n "$ac_ct_DUMPBIN"; then
                   5633:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5634: else
                   5635: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5636: for as_dir in $PATH
                   5637: do
                   5638:   IFS=$as_save_IFS
                   5639:   test -z "$as_dir" && as_dir=.
1.150     moko     5640:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5641:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5642:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150     moko     5643:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5644:     break 2
                   5645:   fi
                   5646: done
1.150     moko     5647:   done
                   5648: IFS=$as_save_IFS
1.128     moko     5649: 
                   5650: fi
                   5651: fi
                   5652: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5653: if test -n "$ac_ct_DUMPBIN"; then
1.150     moko     5654:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5655: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     5656: else
1.150     moko     5657:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5658: $as_echo "no" >&6; }
1.128     moko     5659: fi
                   5660: 
1.150     moko     5661: 
1.128     moko     5662:   test -n "$ac_ct_DUMPBIN" && break
                   5663: done
                   5664: 
1.150     moko     5665:   if test "x$ac_ct_DUMPBIN" = x; then
                   5666:     DUMPBIN=":"
                   5667:   else
                   5668:     case $cross_compiling:$ac_tool_warned in
                   5669: yes:)
                   5670: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5671: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5672: ac_tool_warned=yes ;;
                   5673: esac
                   5674:     DUMPBIN=$ac_ct_DUMPBIN
                   5675:   fi
1.128     moko     5676: fi
                   5677: 
                   5678:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   5679:     *COFF*)
                   5680:       DUMPBIN="$DUMPBIN -symbols"
                   5681:       ;;
                   5682:     *)
                   5683:       DUMPBIN=:
                   5684:       ;;
                   5685:     esac
                   5686:   fi
                   5687: 
                   5688:   if test "$DUMPBIN" != ":"; then
                   5689:     NM="$DUMPBIN"
                   5690:   fi
                   5691: fi
                   5692: test -z "$NM" && NM=nm
                   5693: 
                   5694: 
                   5695: 
                   5696: 
                   5697: 
                   5698: 
1.150     moko     5699: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5700: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5701: if ${lt_cv_nm_interface+:} false; then :
                   5702:   $as_echo_n "(cached) " >&6
1.128     moko     5703: else
                   5704:   lt_cv_nm_interface="BSD nm"
                   5705:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5706:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5707:   (eval "$ac_compile" 2>conftest.err)
                   5708:   cat conftest.err >&5
                   5709:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5710:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5711:   cat conftest.err >&5
                   5712:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5713:   cat conftest.out >&5
                   5714:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5715:     lt_cv_nm_interface="MS dumpbin"
                   5716:   fi
                   5717:   rm -f conftest*
                   5718: fi
1.150     moko     5719: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5720: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     5721: 
1.150     moko     5722: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5723: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     5724: LN_S=$as_ln_s
                   5725: if test "$LN_S" = "ln -s"; then
1.150     moko     5726:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5727: $as_echo "yes" >&6; }
1.128     moko     5728: else
1.150     moko     5729:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5730: $as_echo "no, using $LN_S" >&6; }
1.128     moko     5731: fi
                   5732: 
                   5733: # find the maximum length of command line arguments
1.150     moko     5734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5735: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5736: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   5737:   $as_echo_n "(cached) " >&6
1.128     moko     5738: else
                   5739:     i=0
                   5740:   teststring="ABCD"
                   5741: 
                   5742:   case $build_os in
                   5743:   msdosdjgpp*)
                   5744:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5745:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5746:     # during glob expansion).  Even if it were fixed, the result of this
                   5747:     # check would be larger than it should be.
                   5748:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5749:     ;;
                   5750: 
                   5751:   gnu*)
                   5752:     # Under GNU Hurd, this test is not required because there is
                   5753:     # no limit to the length of command line arguments.
                   5754:     # Libtool will interpret -1 as no limit whatsoever
                   5755:     lt_cv_sys_max_cmd_len=-1;
                   5756:     ;;
                   5757: 
                   5758:   cygwin* | mingw* | cegcc*)
                   5759:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5760:     # about 5 minutes as the teststring grows exponentially.
                   5761:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5762:     # you end up with a "frozen" computer, even though with patience
                   5763:     # the test eventually succeeds (with a max line length of 256k).
                   5764:     # Instead, let's just punt: use the minimum linelength reported by
                   5765:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5766:     lt_cv_sys_max_cmd_len=8192;
                   5767:     ;;
                   5768: 
                   5769:   mint*)
                   5770:     # On MiNT this can take a long time and run out of memory.
                   5771:     lt_cv_sys_max_cmd_len=8192;
                   5772:     ;;
                   5773: 
                   5774:   amigaos*)
                   5775:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5776:     # So we just punt and use a minimum line length of 8192.
                   5777:     lt_cv_sys_max_cmd_len=8192;
                   5778:     ;;
                   5779: 
                   5780:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5781:     # This has been around since 386BSD, at least.  Likely further.
                   5782:     if test -x /sbin/sysctl; then
                   5783:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5784:     elif test -x /usr/sbin/sysctl; then
                   5785:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5786:     else
                   5787:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5788:     fi
                   5789:     # And add a safety zone
                   5790:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5791:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5792:     ;;
                   5793: 
                   5794:   interix*)
                   5795:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5796:     lt_cv_sys_max_cmd_len=196608
                   5797:     ;;
                   5798: 
                   5799:   os2*)
                   5800:     # The test takes a long time on OS/2.
                   5801:     lt_cv_sys_max_cmd_len=8192
                   5802:     ;;
                   5803: 
                   5804:   osf*)
                   5805:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5806:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5807:     # nice to cause kernel panics so lets avoid the loop below.
                   5808:     # First set a reasonable default.
                   5809:     lt_cv_sys_max_cmd_len=16384
                   5810:     #
                   5811:     if test -x /sbin/sysconfig; then
                   5812:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5813:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5814:       esac
                   5815:     fi
                   5816:     ;;
                   5817:   sco3.2v5*)
                   5818:     lt_cv_sys_max_cmd_len=102400
                   5819:     ;;
                   5820:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5821:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5822:     if test -n "$kargmax"; then
                   5823:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5824:     else
                   5825:       lt_cv_sys_max_cmd_len=32768
                   5826:     fi
                   5827:     ;;
                   5828:   *)
                   5829:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5830:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5831:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5832:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5833:     else
                   5834:       # Make teststring a little bigger before we do anything with it.
                   5835:       # a 1K string should be a reasonable start.
                   5836:       for i in 1 2 3 4 5 6 7 8 ; do
                   5837:         teststring=$teststring$teststring
                   5838:       done
                   5839:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5840:       # If test is not a shell built-in, we'll probably end up computing a
                   5841:       # maximum length that is only half of the actual maximum length, but
                   5842:       # we can't tell.
                   5843:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   5844:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   5845:              test $i != 17 # 1/2 MB should be enough
                   5846:       do
                   5847:         i=`expr $i + 1`
                   5848:         teststring=$teststring$teststring
                   5849:       done
                   5850:       # Only check the string length outside the loop.
                   5851:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5852:       teststring=
                   5853:       # Add a significant safety factor because C++ compilers can tack on
                   5854:       # massive amounts of additional arguments before passing them to the
                   5855:       # linker.  It appears as though 1/2 is a usable value.
                   5856:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5857:     fi
                   5858:     ;;
                   5859:   esac
                   5860: 
                   5861: fi
                   5862: 
                   5863: if test -n $lt_cv_sys_max_cmd_len ; then
1.150     moko     5864:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5865: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     5866: else
1.150     moko     5867:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5868: $as_echo "none" >&6; }
1.128     moko     5869: fi
                   5870: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5871: 
                   5872: 
                   5873: 
                   5874: 
                   5875: 
                   5876: 
                   5877: : ${CP="cp -f"}
                   5878: : ${MV="mv -f"}
                   5879: : ${RM="rm -f"}
                   5880: 
1.150     moko     5881: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5882: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     5883: # Try some XSI features
                   5884: xsi_shell=no
                   5885: ( _lt_dummy="a/b/c"
                   5886:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   5887:       = c,a/b,b/c, \
                   5888:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5889:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5890:   && xsi_shell=yes
1.150     moko     5891: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5892: $as_echo "$xsi_shell" >&6; }
1.128     moko     5893: 
                   5894: 
1.150     moko     5895: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   5896: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     5897: lt_shell_append=no
                   5898: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5899:     >/dev/null 2>&1 \
                   5900:   && lt_shell_append=yes
1.150     moko     5901: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   5902: $as_echo "$lt_shell_append" >&6; }
1.128     moko     5903: 
                   5904: 
                   5905: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5906:   lt_unset=unset
                   5907: else
                   5908:   lt_unset=false
                   5909: fi
                   5910: 
                   5911: 
                   5912: 
                   5913: 
                   5914: 
                   5915: # test EBCDIC or ASCII
                   5916: case `echo X|tr X '\101'` in
                   5917:  A) # ASCII based system
                   5918:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5919:   lt_SP2NL='tr \040 \012'
                   5920:   lt_NL2SP='tr \015\012 \040\040'
                   5921:   ;;
                   5922:  *) # EBCDIC based system
                   5923:   lt_SP2NL='tr \100 \n'
                   5924:   lt_NL2SP='tr \r\n \100\100'
                   5925:   ;;
                   5926: esac
                   5927: 
                   5928: 
                   5929: 
                   5930: 
                   5931: 
                   5932: 
                   5933: 
                   5934: 
                   5935: 
1.150     moko     5936: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   5937: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   5938: if ${lt_cv_to_host_file_cmd+:} false; then :
                   5939:   $as_echo_n "(cached) " >&6
1.128     moko     5940: else
                   5941:   case $host in
                   5942:   *-*-mingw* )
                   5943:     case $build in
                   5944:       *-*-mingw* ) # actually msys
                   5945:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5946:         ;;
                   5947:       *-*-cygwin* )
                   5948:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5949:         ;;
                   5950:       * ) # otherwise, assume *nix
                   5951:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5952:         ;;
                   5953:     esac
                   5954:     ;;
                   5955:   *-*-cygwin* )
                   5956:     case $build in
                   5957:       *-*-mingw* ) # actually msys
                   5958:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5959:         ;;
                   5960:       *-*-cygwin* )
                   5961:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5962:         ;;
                   5963:       * ) # otherwise, assume *nix
                   5964:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5965:         ;;
                   5966:     esac
                   5967:     ;;
                   5968:   * ) # unhandled hosts (and "normal" native builds)
                   5969:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5970:     ;;
                   5971: esac
                   5972: 
                   5973: fi
                   5974: 
                   5975: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150     moko     5976: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   5977: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     5978: 
                   5979: 
                   5980: 
                   5981: 
                   5982: 
1.150     moko     5983: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   5984: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   5985: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   5986:   $as_echo_n "(cached) " >&6
1.128     moko     5987: else
                   5988:   #assume ordinary cross tools, or native build.
                   5989: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5990: case $host in
                   5991:   *-*-mingw* )
                   5992:     case $build in
                   5993:       *-*-mingw* ) # actually msys
                   5994:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5995:         ;;
                   5996:     esac
                   5997:     ;;
                   5998: esac
                   5999: 
                   6000: fi
                   6001: 
                   6002: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150     moko     6003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   6004: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     6005: 
                   6006: 
                   6007: 
                   6008: 
                   6009: 
1.150     moko     6010: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   6011: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   6012: if ${lt_cv_ld_reload_flag+:} false; then :
                   6013:   $as_echo_n "(cached) " >&6
1.128     moko     6014: else
                   6015:   lt_cv_ld_reload_flag='-r'
                   6016: fi
1.150     moko     6017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   6018: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6019: reload_flag=$lt_cv_ld_reload_flag
                   6020: case $reload_flag in
                   6021: "" | " "*) ;;
                   6022: *) reload_flag=" $reload_flag" ;;
                   6023: esac
                   6024: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6025: case $host_os in
                   6026:   cygwin* | mingw* | pw32* | cegcc*)
                   6027:     if test "$GCC" != yes; then
                   6028:       reload_cmds=false
                   6029:     fi
                   6030:     ;;
                   6031:   darwin*)
                   6032:     if test "$GCC" = yes; then
                   6033:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6034:     else
                   6035:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6036:     fi
                   6037:     ;;
                   6038: esac
                   6039: 
                   6040: 
                   6041: 
                   6042: 
                   6043: 
                   6044: 
                   6045: 
                   6046: 
                   6047: 
                   6048: if test -n "$ac_tool_prefix"; then
                   6049:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6050: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     6051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6052: $as_echo_n "checking for $ac_word... " >&6; }
                   6053: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6054:   $as_echo_n "(cached) " >&6
1.128     moko     6055: else
                   6056:   if test -n "$OBJDUMP"; then
                   6057:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6058: else
                   6059: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6060: for as_dir in $PATH
                   6061: do
                   6062:   IFS=$as_save_IFS
                   6063:   test -z "$as_dir" && as_dir=.
1.150     moko     6064:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6065:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6066:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     6067:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6068:     break 2
                   6069:   fi
                   6070: done
1.150     moko     6071:   done
                   6072: IFS=$as_save_IFS
1.128     moko     6073: 
                   6074: fi
                   6075: fi
                   6076: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6077: if test -n "$OBJDUMP"; then
1.150     moko     6078:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6079: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6080: else
1.150     moko     6081:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6082: $as_echo "no" >&6; }
1.128     moko     6083: fi
                   6084: 
1.150     moko     6085: 
1.128     moko     6086: fi
                   6087: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6088:   ac_ct_OBJDUMP=$OBJDUMP
                   6089:   # Extract the first word of "objdump", so it can be a program name with args.
                   6090: set dummy objdump; ac_word=$2
1.150     moko     6091: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6092: $as_echo_n "checking for $ac_word... " >&6; }
                   6093: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6094:   $as_echo_n "(cached) " >&6
1.128     moko     6095: else
                   6096:   if test -n "$ac_ct_OBJDUMP"; then
                   6097:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6098: else
                   6099: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6100: for as_dir in $PATH
                   6101: do
                   6102:   IFS=$as_save_IFS
                   6103:   test -z "$as_dir" && as_dir=.
1.150     moko     6104:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6105:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6106:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     6107:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6108:     break 2
                   6109:   fi
                   6110: done
1.150     moko     6111:   done
                   6112: IFS=$as_save_IFS
1.128     moko     6113: 
                   6114: fi
                   6115: fi
                   6116: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6117: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     6118:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6119: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6120: else
1.150     moko     6121:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6122: $as_echo "no" >&6; }
1.128     moko     6123: fi
                   6124: 
1.150     moko     6125:   if test "x$ac_ct_OBJDUMP" = x; then
                   6126:     OBJDUMP="false"
                   6127:   else
                   6128:     case $cross_compiling:$ac_tool_warned in
                   6129: yes:)
                   6130: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6131: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6132: ac_tool_warned=yes ;;
                   6133: esac
                   6134:     OBJDUMP=$ac_ct_OBJDUMP
                   6135:   fi
1.128     moko     6136: else
                   6137:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6138: fi
                   6139: 
                   6140: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6141: 
                   6142: 
                   6143: 
                   6144: 
                   6145: 
                   6146: 
1.150     moko     6147: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6148: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6149: if ${lt_cv_deplibs_check_method+:} false; then :
                   6150:   $as_echo_n "(cached) " >&6
1.128     moko     6151: else
                   6152:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6153: lt_cv_file_magic_test_file=
                   6154: lt_cv_deplibs_check_method='unknown'
                   6155: # Need to set the preceding variable on all platforms that support
                   6156: # interlibrary dependencies.
                   6157: # 'none' -- dependencies not supported.
                   6158: # `unknown' -- same as none, but documents that we really don't know.
                   6159: # 'pass_all' -- all dependencies passed with no checks.
                   6160: # 'test_compile' -- check by making test program.
                   6161: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6162: # which responds to the $file_magic_cmd with a given extended regex.
                   6163: # If you have `file' or equivalent on your system and you're not sure
                   6164: # whether `pass_all' will *always* work, you probably want this one.
                   6165: 
                   6166: case $host_os in
                   6167: aix[4-9]*)
                   6168:   lt_cv_deplibs_check_method=pass_all
                   6169:   ;;
                   6170: 
                   6171: beos*)
                   6172:   lt_cv_deplibs_check_method=pass_all
                   6173:   ;;
                   6174: 
                   6175: bsdi[45]*)
                   6176:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6177:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6178:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6179:   ;;
                   6180: 
                   6181: cygwin*)
                   6182:   # func_win32_libid is a shell function defined in ltmain.sh
                   6183:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6184:   lt_cv_file_magic_cmd='func_win32_libid'
                   6185:   ;;
                   6186: 
                   6187: mingw* | pw32*)
                   6188:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6189:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6190:   # unless we find 'file', for example because we are cross-compiling.
                   6191:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6192:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6193:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6194:     lt_cv_file_magic_cmd='func_win32_libid'
                   6195:   else
                   6196:     # Keep this pattern in sync with the one in func_win32_libid.
                   6197:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6198:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6199:   fi
                   6200:   ;;
                   6201: 
                   6202: cegcc*)
                   6203:   # use the weaker test based on 'objdump'. See mingw*.
                   6204:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6205:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6206:   ;;
                   6207: 
                   6208: darwin* | rhapsody*)
                   6209:   lt_cv_deplibs_check_method=pass_all
                   6210:   ;;
                   6211: 
                   6212: freebsd* | dragonfly*)
                   6213:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6214:     case $host_cpu in
                   6215:     i*86 )
                   6216:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6217:       # Let's accept both of them until this is cleared up.
                   6218:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6219:       lt_cv_file_magic_cmd=/usr/bin/file
                   6220:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6221:       ;;
                   6222:     esac
                   6223:   else
                   6224:     lt_cv_deplibs_check_method=pass_all
                   6225:   fi
                   6226:   ;;
                   6227: 
                   6228: gnu*)
                   6229:   lt_cv_deplibs_check_method=pass_all
                   6230:   ;;
                   6231: 
                   6232: haiku*)
                   6233:   lt_cv_deplibs_check_method=pass_all
                   6234:   ;;
                   6235: 
                   6236: hpux10.20* | hpux11*)
                   6237:   lt_cv_file_magic_cmd=/usr/bin/file
                   6238:   case $host_cpu in
                   6239:   ia64*)
                   6240:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6241:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6242:     ;;
                   6243:   hppa*64*)
                   6244:     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]'
                   6245:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6246:     ;;
                   6247:   *)
                   6248:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6249:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6250:     ;;
                   6251:   esac
                   6252:   ;;
                   6253: 
                   6254: interix[3-9]*)
                   6255:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6256:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6257:   ;;
                   6258: 
                   6259: irix5* | irix6* | nonstopux*)
                   6260:   case $LD in
                   6261:   *-32|*"-32 ") libmagic=32-bit;;
                   6262:   *-n32|*"-n32 ") libmagic=N32;;
                   6263:   *-64|*"-64 ") libmagic=64-bit;;
                   6264:   *) libmagic=never-match;;
                   6265:   esac
                   6266:   lt_cv_deplibs_check_method=pass_all
                   6267:   ;;
                   6268: 
                   6269: # This must be glibc/ELF.
                   6270: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6271:   lt_cv_deplibs_check_method=pass_all
                   6272:   ;;
                   6273: 
                   6274: netbsd*)
                   6275:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6276:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6277:   else
                   6278:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6279:   fi
                   6280:   ;;
                   6281: 
                   6282: newos6*)
                   6283:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6284:   lt_cv_file_magic_cmd=/usr/bin/file
                   6285:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6286:   ;;
                   6287: 
                   6288: *nto* | *qnx*)
                   6289:   lt_cv_deplibs_check_method=pass_all
                   6290:   ;;
                   6291: 
                   6292: openbsd*)
                   6293:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6294:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6295:   else
                   6296:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6297:   fi
                   6298:   ;;
                   6299: 
                   6300: osf3* | osf4* | osf5*)
                   6301:   lt_cv_deplibs_check_method=pass_all
                   6302:   ;;
                   6303: 
                   6304: rdos*)
                   6305:   lt_cv_deplibs_check_method=pass_all
                   6306:   ;;
                   6307: 
                   6308: solaris*)
                   6309:   lt_cv_deplibs_check_method=pass_all
                   6310:   ;;
                   6311: 
                   6312: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6313:   lt_cv_deplibs_check_method=pass_all
                   6314:   ;;
                   6315: 
                   6316: sysv4 | sysv4.3*)
                   6317:   case $host_vendor in
                   6318:   motorola)
                   6319:     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]'
                   6320:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6321:     ;;
                   6322:   ncr)
                   6323:     lt_cv_deplibs_check_method=pass_all
                   6324:     ;;
                   6325:   sequent)
                   6326:     lt_cv_file_magic_cmd='/bin/file'
                   6327:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6328:     ;;
                   6329:   sni)
                   6330:     lt_cv_file_magic_cmd='/bin/file'
                   6331:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6332:     lt_cv_file_magic_test_file=/lib/libc.so
                   6333:     ;;
                   6334:   siemens)
                   6335:     lt_cv_deplibs_check_method=pass_all
                   6336:     ;;
                   6337:   pc)
                   6338:     lt_cv_deplibs_check_method=pass_all
                   6339:     ;;
                   6340:   esac
                   6341:   ;;
                   6342: 
                   6343: tpf*)
                   6344:   lt_cv_deplibs_check_method=pass_all
                   6345:   ;;
                   6346: esac
                   6347: 
                   6348: fi
1.150     moko     6349: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6350: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6351: 
                   6352: file_magic_glob=
                   6353: want_nocaseglob=no
                   6354: if test "$build" = "$host"; then
                   6355:   case $host_os in
                   6356:   mingw* | pw32*)
                   6357:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6358:       want_nocaseglob=yes
                   6359:     else
                   6360:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6361:     fi
                   6362:     ;;
                   6363:   esac
                   6364: fi
                   6365: 
                   6366: file_magic_cmd=$lt_cv_file_magic_cmd
                   6367: deplibs_check_method=$lt_cv_deplibs_check_method
                   6368: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6369: 
                   6370: 
                   6371: 
                   6372: 
                   6373: 
                   6374: 
                   6375: 
                   6376: 
                   6377: 
                   6378: 
                   6379: 
                   6380: 
                   6381: 
                   6382: 
                   6383: 
                   6384: 
                   6385: 
                   6386: 
                   6387: 
                   6388: 
                   6389: 
                   6390: 
                   6391: if test -n "$ac_tool_prefix"; then
                   6392:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6393: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     6394: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6395: $as_echo_n "checking for $ac_word... " >&6; }
                   6396: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6397:   $as_echo_n "(cached) " >&6
1.128     moko     6398: else
                   6399:   if test -n "$DLLTOOL"; then
                   6400:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6401: else
                   6402: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6403: for as_dir in $PATH
                   6404: do
                   6405:   IFS=$as_save_IFS
                   6406:   test -z "$as_dir" && as_dir=.
1.150     moko     6407:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6408:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6409:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     6410:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6411:     break 2
                   6412:   fi
                   6413: done
1.150     moko     6414:   done
                   6415: IFS=$as_save_IFS
1.128     moko     6416: 
                   6417: fi
                   6418: fi
                   6419: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6420: if test -n "$DLLTOOL"; then
1.150     moko     6421:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6422: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6423: else
1.150     moko     6424:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6425: $as_echo "no" >&6; }
1.128     moko     6426: fi
                   6427: 
1.150     moko     6428: 
1.128     moko     6429: fi
                   6430: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6431:   ac_ct_DLLTOOL=$DLLTOOL
                   6432:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6433: set dummy dlltool; ac_word=$2
1.150     moko     6434: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6435: $as_echo_n "checking for $ac_word... " >&6; }
                   6436: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6437:   $as_echo_n "(cached) " >&6
1.128     moko     6438: else
                   6439:   if test -n "$ac_ct_DLLTOOL"; then
                   6440:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6441: else
                   6442: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6443: for as_dir in $PATH
                   6444: do
                   6445:   IFS=$as_save_IFS
                   6446:   test -z "$as_dir" && as_dir=.
1.150     moko     6447:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6448:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6449:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     6450:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6451:     break 2
                   6452:   fi
                   6453: done
1.150     moko     6454:   done
                   6455: IFS=$as_save_IFS
1.128     moko     6456: 
                   6457: fi
                   6458: fi
                   6459: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6460: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     6461:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6462: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     6463: else
1.150     moko     6464:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6465: $as_echo "no" >&6; }
1.128     moko     6466: fi
                   6467: 
1.150     moko     6468:   if test "x$ac_ct_DLLTOOL" = x; then
                   6469:     DLLTOOL="false"
                   6470:   else
                   6471:     case $cross_compiling:$ac_tool_warned in
                   6472: yes:)
                   6473: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6474: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6475: ac_tool_warned=yes ;;
                   6476: esac
                   6477:     DLLTOOL=$ac_ct_DLLTOOL
                   6478:   fi
1.128     moko     6479: else
                   6480:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6481: fi
                   6482: 
                   6483: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6484: 
                   6485: 
                   6486: 
                   6487: 
                   6488: 
                   6489: 
                   6490: 
1.150     moko     6491: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   6492: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   6493: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   6494:   $as_echo_n "(cached) " >&6
1.128     moko     6495: else
                   6496:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6497: 
                   6498: case $host_os in
                   6499: cygwin* | mingw* | pw32* | cegcc*)
                   6500:   # two different shell functions defined in ltmain.sh
                   6501:   # decide which to use based on capabilities of $DLLTOOL
                   6502:   case `$DLLTOOL --help 2>&1` in
                   6503:   *--identify-strict*)
                   6504:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6505:     ;;
                   6506:   *)
                   6507:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6508:     ;;
                   6509:   esac
                   6510:   ;;
                   6511: *)
                   6512:   # fallback: assume linklib IS sharedlib
                   6513:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6514:   ;;
                   6515: esac
                   6516: 
                   6517: fi
1.150     moko     6518: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   6519: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     6520: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6521: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6522: 
                   6523: 
                   6524: 
                   6525: 
                   6526: 
                   6527: 
                   6528: 
                   6529: if test -n "$ac_tool_prefix"; then
                   6530:   for ac_prog in ar
                   6531:   do
                   6532:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6533: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     6534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6535: $as_echo_n "checking for $ac_word... " >&6; }
                   6536: if ${ac_cv_prog_AR+:} false; then :
                   6537:   $as_echo_n "(cached) " >&6
1.128     moko     6538: else
                   6539:   if test -n "$AR"; then
                   6540:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6541: else
                   6542: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6543: for as_dir in $PATH
                   6544: do
                   6545:   IFS=$as_save_IFS
                   6546:   test -z "$as_dir" && as_dir=.
1.150     moko     6547:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6548:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6549:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150     moko     6550:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6551:     break 2
                   6552:   fi
                   6553: done
1.150     moko     6554:   done
                   6555: IFS=$as_save_IFS
1.128     moko     6556: 
                   6557: fi
                   6558: fi
                   6559: AR=$ac_cv_prog_AR
                   6560: if test -n "$AR"; then
1.150     moko     6561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6562: $as_echo "$AR" >&6; }
1.128     moko     6563: else
1.150     moko     6564:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6565: $as_echo "no" >&6; }
1.128     moko     6566: fi
                   6567: 
1.150     moko     6568: 
1.128     moko     6569:     test -n "$AR" && break
                   6570:   done
                   6571: fi
                   6572: if test -z "$AR"; then
                   6573:   ac_ct_AR=$AR
                   6574:   for ac_prog in ar
                   6575: do
                   6576:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6577: set dummy $ac_prog; ac_word=$2
1.150     moko     6578: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6579: $as_echo_n "checking for $ac_word... " >&6; }
                   6580: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6581:   $as_echo_n "(cached) " >&6
1.128     moko     6582: else
                   6583:   if test -n "$ac_ct_AR"; then
                   6584:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6585: else
                   6586: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6587: for as_dir in $PATH
                   6588: do
                   6589:   IFS=$as_save_IFS
                   6590:   test -z "$as_dir" && as_dir=.
1.150     moko     6591:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6592:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6593:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150     moko     6594:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6595:     break 2
                   6596:   fi
                   6597: done
1.150     moko     6598:   done
                   6599: IFS=$as_save_IFS
1.128     moko     6600: 
                   6601: fi
                   6602: fi
                   6603: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6604: if test -n "$ac_ct_AR"; then
1.150     moko     6605:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6606: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     6607: else
1.150     moko     6608:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6609: $as_echo "no" >&6; }
1.128     moko     6610: fi
                   6611: 
1.150     moko     6612: 
1.128     moko     6613:   test -n "$ac_ct_AR" && break
                   6614: done
                   6615: 
1.150     moko     6616:   if test "x$ac_ct_AR" = x; then
                   6617:     AR="false"
                   6618:   else
                   6619:     case $cross_compiling:$ac_tool_warned in
                   6620: yes:)
                   6621: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6622: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6623: ac_tool_warned=yes ;;
                   6624: esac
                   6625:     AR=$ac_ct_AR
                   6626:   fi
1.128     moko     6627: fi
                   6628: 
                   6629: : ${AR=ar}
                   6630: : ${AR_FLAGS=cru}
                   6631: 
                   6632: 
                   6633: 
                   6634: 
                   6635: 
                   6636: 
                   6637: 
                   6638: 
                   6639: 
                   6640: 
                   6641: 
1.150     moko     6642: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   6643: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   6644: if ${lt_cv_ar_at_file+:} false; then :
                   6645:   $as_echo_n "(cached) " >&6
1.128     moko     6646: else
                   6647:   lt_cv_ar_at_file=no
1.150     moko     6648:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     6649: /* end confdefs.h.  */
                   6650: 
                   6651: int
                   6652: main ()
                   6653: {
                   6654: 
                   6655:   ;
                   6656:   return 0;
                   6657: }
                   6658: _ACEOF
1.150     moko     6659: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     6660:   echo conftest.$ac_objext > conftest.lst
                   6661:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     6662:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6663:   (eval $lt_ar_try) 2>&5
                   6664:   ac_status=$?
1.150     moko     6665:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6666:   test $ac_status = 0; }
1.128     moko     6667:       if test "$ac_status" -eq 0; then
                   6668:        # Ensure the archiver fails upon bogus file names.
                   6669:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     6670:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6671:   (eval $lt_ar_try) 2>&5
                   6672:   ac_status=$?
1.150     moko     6673:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6674:   test $ac_status = 0; }
1.128     moko     6675:        if test "$ac_status" -ne 0; then
                   6676:           lt_cv_ar_at_file=@
                   6677:         fi
                   6678:       fi
                   6679:       rm -f conftest.* libconftest.a
                   6680: 
                   6681: fi
1.150     moko     6682: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     6683: 
                   6684: fi
1.150     moko     6685: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   6686: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     6687: 
                   6688: if test "x$lt_cv_ar_at_file" = xno; then
                   6689:   archiver_list_spec=
                   6690: else
                   6691:   archiver_list_spec=$lt_cv_ar_at_file
                   6692: fi
                   6693: 
                   6694: 
                   6695: 
                   6696: 
                   6697: 
                   6698: 
                   6699: 
                   6700: if test -n "$ac_tool_prefix"; then
                   6701:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6702: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150     moko     6703: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6704: $as_echo_n "checking for $ac_word... " >&6; }
                   6705: if ${ac_cv_prog_STRIP+:} false; then :
                   6706:   $as_echo_n "(cached) " >&6
1.128     moko     6707: else
                   6708:   if test -n "$STRIP"; then
                   6709:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6710: else
                   6711: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6712: for as_dir in $PATH
                   6713: do
                   6714:   IFS=$as_save_IFS
                   6715:   test -z "$as_dir" && as_dir=.
1.150     moko     6716:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6717:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6718:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150     moko     6719:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6720:     break 2
                   6721:   fi
                   6722: done
1.150     moko     6723:   done
                   6724: IFS=$as_save_IFS
1.128     moko     6725: 
                   6726: fi
                   6727: fi
                   6728: STRIP=$ac_cv_prog_STRIP
                   6729: if test -n "$STRIP"; then
1.150     moko     6730:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6731: $as_echo "$STRIP" >&6; }
1.128     moko     6732: else
1.150     moko     6733:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6734: $as_echo "no" >&6; }
1.128     moko     6735: fi
                   6736: 
1.150     moko     6737: 
1.128     moko     6738: fi
                   6739: if test -z "$ac_cv_prog_STRIP"; then
                   6740:   ac_ct_STRIP=$STRIP
                   6741:   # Extract the first word of "strip", so it can be a program name with args.
                   6742: set dummy strip; ac_word=$2
1.150     moko     6743: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6744: $as_echo_n "checking for $ac_word... " >&6; }
                   6745: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   6746:   $as_echo_n "(cached) " >&6
1.128     moko     6747: else
                   6748:   if test -n "$ac_ct_STRIP"; then
                   6749:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6750: else
                   6751: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6752: for as_dir in $PATH
                   6753: do
                   6754:   IFS=$as_save_IFS
                   6755:   test -z "$as_dir" && as_dir=.
1.150     moko     6756:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6757:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6758:     ac_cv_prog_ac_ct_STRIP="strip"
1.150     moko     6759:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6760:     break 2
                   6761:   fi
                   6762: done
1.150     moko     6763:   done
                   6764: IFS=$as_save_IFS
1.128     moko     6765: 
                   6766: fi
                   6767: fi
                   6768: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6769: if test -n "$ac_ct_STRIP"; then
1.150     moko     6770:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6771: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     6772: else
1.150     moko     6773:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6774: $as_echo "no" >&6; }
1.128     moko     6775: fi
                   6776: 
1.150     moko     6777:   if test "x$ac_ct_STRIP" = x; then
                   6778:     STRIP=":"
                   6779:   else
                   6780:     case $cross_compiling:$ac_tool_warned in
                   6781: yes:)
                   6782: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6783: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6784: ac_tool_warned=yes ;;
                   6785: esac
                   6786:     STRIP=$ac_ct_STRIP
                   6787:   fi
1.128     moko     6788: else
                   6789:   STRIP="$ac_cv_prog_STRIP"
                   6790: fi
                   6791: 
                   6792: test -z "$STRIP" && STRIP=:
                   6793: 
                   6794: 
                   6795: 
                   6796: 
                   6797: 
                   6798: 
                   6799: if test -n "$ac_tool_prefix"; then
                   6800:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6801: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150     moko     6802: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6803: $as_echo_n "checking for $ac_word... " >&6; }
                   6804: if ${ac_cv_prog_RANLIB+:} false; then :
                   6805:   $as_echo_n "(cached) " >&6
1.128     moko     6806: else
                   6807:   if test -n "$RANLIB"; then
                   6808:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6809: else
                   6810: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6811: for as_dir in $PATH
                   6812: do
                   6813:   IFS=$as_save_IFS
                   6814:   test -z "$as_dir" && as_dir=.
1.150     moko     6815:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6816:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6817:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150     moko     6818:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6819:     break 2
                   6820:   fi
                   6821: done
1.150     moko     6822:   done
                   6823: IFS=$as_save_IFS
1.128     moko     6824: 
                   6825: fi
                   6826: fi
                   6827: RANLIB=$ac_cv_prog_RANLIB
                   6828: if test -n "$RANLIB"; then
1.150     moko     6829:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6830: $as_echo "$RANLIB" >&6; }
1.128     moko     6831: else
1.150     moko     6832:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6833: $as_echo "no" >&6; }
1.128     moko     6834: fi
                   6835: 
1.150     moko     6836: 
1.128     moko     6837: fi
                   6838: if test -z "$ac_cv_prog_RANLIB"; then
                   6839:   ac_ct_RANLIB=$RANLIB
                   6840:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6841: set dummy ranlib; ac_word=$2
1.150     moko     6842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6843: $as_echo_n "checking for $ac_word... " >&6; }
                   6844: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   6845:   $as_echo_n "(cached) " >&6
1.128     moko     6846: else
                   6847:   if test -n "$ac_ct_RANLIB"; then
                   6848:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6849: else
                   6850: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6851: for as_dir in $PATH
                   6852: do
                   6853:   IFS=$as_save_IFS
                   6854:   test -z "$as_dir" && as_dir=.
1.150     moko     6855:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6856:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6857:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150     moko     6858:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6859:     break 2
                   6860:   fi
                   6861: done
1.150     moko     6862:   done
                   6863: IFS=$as_save_IFS
1.128     moko     6864: 
                   6865: fi
                   6866: fi
                   6867: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6868: if test -n "$ac_ct_RANLIB"; then
1.150     moko     6869:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6870: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     6871: else
1.150     moko     6872:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6873: $as_echo "no" >&6; }
1.128     moko     6874: fi
                   6875: 
1.150     moko     6876:   if test "x$ac_ct_RANLIB" = x; then
                   6877:     RANLIB=":"
                   6878:   else
                   6879:     case $cross_compiling:$ac_tool_warned in
                   6880: yes:)
                   6881: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6882: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6883: ac_tool_warned=yes ;;
                   6884: esac
                   6885:     RANLIB=$ac_ct_RANLIB
                   6886:   fi
1.128     moko     6887: else
                   6888:   RANLIB="$ac_cv_prog_RANLIB"
                   6889: fi
                   6890: 
                   6891: test -z "$RANLIB" && RANLIB=:
                   6892: 
                   6893: 
                   6894: 
                   6895: 
                   6896: 
                   6897: 
                   6898: # Determine commands to create old-style static archives.
                   6899: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6900: old_postinstall_cmds='chmod 644 $oldlib'
                   6901: old_postuninstall_cmds=
                   6902: 
                   6903: if test -n "$RANLIB"; then
                   6904:   case $host_os in
                   6905:   openbsd*)
                   6906:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   6907:     ;;
                   6908:   *)
                   6909:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   6910:     ;;
                   6911:   esac
                   6912:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   6913: fi
                   6914: 
                   6915: case $host_os in
                   6916:   darwin*)
                   6917:     lock_old_archive_extraction=yes ;;
                   6918:   *)
                   6919:     lock_old_archive_extraction=no ;;
                   6920: esac
                   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: 
                   6954: 
                   6955: 
                   6956: 
                   6957: 
                   6958: 
                   6959: 
                   6960: # If no C compiler was specified, use CC.
                   6961: LTCC=${LTCC-"$CC"}
                   6962: 
                   6963: # If no C compiler flags were specified, use CFLAGS.
                   6964: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6965: 
                   6966: # Allow CC to be a program name with arguments.
                   6967: compiler=$CC
                   6968: 
                   6969: 
                   6970: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150     moko     6971: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6972: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   6973: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   6974:   $as_echo_n "(cached) " >&6
1.128     moko     6975: else
                   6976: 
                   6977: # These are sane defaults that work on at least a few old systems.
                   6978: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   6979: 
                   6980: # Character class describing NM global symbol codes.
                   6981: symcode='[BCDEGRST]'
                   6982: 
                   6983: # Regexp to match symbols that can be accessed directly from C.
                   6984: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   6985: 
                   6986: # Define system-specific variables.
                   6987: case $host_os in
                   6988: aix*)
                   6989:   symcode='[BCDT]'
                   6990:   ;;
                   6991: cygwin* | mingw* | pw32* | cegcc*)
                   6992:   symcode='[ABCDGISTW]'
                   6993:   ;;
                   6994: hpux*)
                   6995:   if test "$host_cpu" = ia64; then
                   6996:     symcode='[ABCDEGRST]'
                   6997:   fi
                   6998:   ;;
                   6999: irix* | nonstopux*)
                   7000:   symcode='[BCDEGRST]'
                   7001:   ;;
                   7002: osf*)
                   7003:   symcode='[BCDEGQRST]'
                   7004:   ;;
                   7005: solaris*)
                   7006:   symcode='[BDRT]'
                   7007:   ;;
                   7008: sco3.2v5*)
                   7009:   symcode='[DT]'
                   7010:   ;;
                   7011: sysv4.2uw2*)
                   7012:   symcode='[DT]'
                   7013:   ;;
                   7014: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7015:   symcode='[ABDT]'
                   7016:   ;;
                   7017: sysv4)
                   7018:   symcode='[DFNSTU]'
                   7019:   ;;
                   7020: esac
                   7021: 
                   7022: # If we're using GNU nm, then use its standard symbol codes.
                   7023: case `$NM -V 2>&1` in
                   7024: *GNU* | *'with BFD'*)
                   7025:   symcode='[ABCDGIRSTW]' ;;
                   7026: esac
                   7027: 
                   7028: # Transform an extracted symbol line into a proper C declaration.
                   7029: # Some systems (esp. on ia64) link data and code symbols differently,
                   7030: # so use this general approach.
                   7031: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7032: 
                   7033: # Transform an extracted symbol line into symbol name and symbol address
                   7034: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7035: 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'"
                   7036: 
                   7037: # Handle CRLF in mingw tool chain
                   7038: opt_cr=
                   7039: case $build_os in
                   7040: mingw*)
                   7041:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7042:   ;;
                   7043: esac
                   7044: 
                   7045: # Try without a prefix underscore, then with it.
                   7046: for ac_symprfx in "" "_"; do
                   7047: 
                   7048:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7049:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7050: 
                   7051:   # Write the raw and C identifiers.
                   7052:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7053:     # Fake it for dumpbin and say T for any non-static function
                   7054:     # and D for any global variable.
                   7055:     # Also find C++ and __fastcall symbols from MSVC++,
                   7056:     # which start with @ or ?.
                   7057:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7058: "     {last_section=section; section=\$ 3};"\
                   7059: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7060: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7061: "     \$ 0!~/External *\|/{next};"\
                   7062: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7063: "     {if(hide[section]) next};"\
                   7064: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7065: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7066: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7067: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7068: "     ' prfx=^$ac_symprfx"
                   7069:   else
                   7070:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7071:   fi
                   7072:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7073: 
                   7074:   # Check to see that the pipe works correctly.
                   7075:   pipe_works=no
                   7076: 
                   7077:   rm -f conftest*
                   7078:   cat > conftest.$ac_ext <<_LT_EOF
                   7079: #ifdef __cplusplus
                   7080: extern "C" {
                   7081: #endif
                   7082: char nm_test_var;
                   7083: void nm_test_func(void);
                   7084: void nm_test_func(void){}
                   7085: #ifdef __cplusplus
                   7086: }
                   7087: #endif
                   7088: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7089: _LT_EOF
                   7090: 
1.150     moko     7091:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7092:   (eval $ac_compile) 2>&5
                   7093:   ac_status=$?
1.150     moko     7094:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7095:   test $ac_status = 0; }; then
1.128     moko     7096:     # Now try to grab the symbols.
                   7097:     nlist=conftest.nm
1.150     moko     7098:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7099:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7100:   ac_status=$?
1.150     moko     7101:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7102:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7103:       # Try sorting and uniquifying the output.
                   7104:       if sort "$nlist" | uniq > "$nlist"T; then
                   7105:        mv -f "$nlist"T "$nlist"
                   7106:       else
                   7107:        rm -f "$nlist"T
                   7108:       fi
                   7109: 
                   7110:       # Make sure that we snagged all the symbols we need.
                   7111:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7112:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7113:          cat <<_LT_EOF > conftest.$ac_ext
                   7114: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7115: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7116: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7117:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7118: # define LT_DLSYM_CONST
                   7119: #elif defined(__osf__)
                   7120: /* This system does not cope well with relocations in const data.  */
                   7121: # define LT_DLSYM_CONST
                   7122: #else
                   7123: # define LT_DLSYM_CONST const
                   7124: #endif
                   7125: 
                   7126: #ifdef __cplusplus
                   7127: extern "C" {
                   7128: #endif
                   7129: 
                   7130: _LT_EOF
                   7131:          # Now generate the symbol file.
                   7132:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7133: 
                   7134:          cat <<_LT_EOF >> conftest.$ac_ext
                   7135: 
                   7136: /* The mapping between symbol names and symbols.  */
                   7137: LT_DLSYM_CONST struct {
                   7138:   const char *name;
                   7139:   void       *address;
                   7140: }
                   7141: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7142: {
                   7143:   { "@PROGRAM@", (void *) 0 },
                   7144: _LT_EOF
                   7145:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7146:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7147:   {0, (void *) 0}
                   7148: };
                   7149: 
                   7150: /* This works around a problem in FreeBSD linker */
                   7151: #ifdef FREEBSD_WORKAROUND
                   7152: static const void *lt_preloaded_setup() {
                   7153:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7154: }
                   7155: #endif
                   7156: 
                   7157: #ifdef __cplusplus
                   7158: }
                   7159: #endif
                   7160: _LT_EOF
                   7161:          # Now try linking the two files.
                   7162:          mv conftest.$ac_objext conftstm.$ac_objext
                   7163:          lt_globsym_save_LIBS=$LIBS
                   7164:          lt_globsym_save_CFLAGS=$CFLAGS
                   7165:          LIBS="conftstm.$ac_objext"
                   7166:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     7167:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7168:   (eval $ac_link) 2>&5
                   7169:   ac_status=$?
1.150     moko     7170:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7171:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7172:            pipe_works=yes
                   7173:          fi
                   7174:          LIBS=$lt_globsym_save_LIBS
                   7175:          CFLAGS=$lt_globsym_save_CFLAGS
                   7176:        else
                   7177:          echo "cannot find nm_test_func in $nlist" >&5
                   7178:        fi
                   7179:       else
                   7180:        echo "cannot find nm_test_var in $nlist" >&5
                   7181:       fi
                   7182:     else
                   7183:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7184:     fi
                   7185:   else
                   7186:     echo "$progname: failed program was:" >&5
                   7187:     cat conftest.$ac_ext >&5
                   7188:   fi
                   7189:   rm -rf conftest* conftst*
                   7190: 
                   7191:   # Do not use the global_symbol_pipe unless it works.
                   7192:   if test "$pipe_works" = yes; then
                   7193:     break
                   7194:   else
                   7195:     lt_cv_sys_global_symbol_pipe=
                   7196:   fi
                   7197: done
                   7198: 
                   7199: fi
                   7200: 
                   7201: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7202:   lt_cv_sys_global_symbol_to_cdecl=
                   7203: fi
                   7204: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150     moko     7205:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7206: $as_echo "failed" >&6; }
1.128     moko     7207: else
1.150     moko     7208:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7209: $as_echo "ok" >&6; }
1.128     moko     7210: fi
                   7211: 
                   7212: # Response file support.
                   7213: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7214:   nm_file_list_spec='@'
                   7215: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7216:   nm_file_list_spec='@'
                   7217: fi
                   7218: 
                   7219: 
                   7220: 
                   7221: 
                   7222: 
                   7223: 
                   7224: 
                   7225: 
                   7226: 
                   7227: 
                   7228: 
                   7229: 
                   7230: 
                   7231: 
                   7232: 
                   7233: 
                   7234: 
                   7235: 
                   7236: 
                   7237: 
                   7238: 
                   7239: 
                   7240: 
                   7241: 
                   7242: 
                   7243: 
                   7244: 
1.150     moko     7245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7246: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7247: 
1.150     moko     7248: # Check whether --with-sysroot was given.
                   7249: if test "${with_sysroot+set}" = set; then :
                   7250:   withval=$with_sysroot;
1.128     moko     7251: else
                   7252:   with_sysroot=no
1.150     moko     7253: fi
                   7254: 
1.128     moko     7255: 
                   7256: lt_sysroot=
                   7257: case ${with_sysroot} in #(
                   7258:  yes)
                   7259:    if test "$GCC" = yes; then
                   7260:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7261:    fi
                   7262:    ;; #(
                   7263:  /*)
                   7264:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7265:    ;; #(
                   7266:  no|'')
                   7267:    ;; #(
                   7268:  *)
1.150     moko     7269:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7270: $as_echo "${with_sysroot}" >&6; }
                   7271:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7272:    ;;
                   7273: esac
                   7274: 
1.150     moko     7275:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7276: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7277: 
                   7278: 
                   7279: 
                   7280: 
                   7281: 
1.150     moko     7282: # Check whether --enable-libtool-lock was given.
                   7283: if test "${enable_libtool_lock+set}" = set; then :
                   7284:   enableval=$enable_libtool_lock;
                   7285: fi
1.128     moko     7286: 
                   7287: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7288: 
                   7289: # Some flags need to be propagated to the compiler or linker for good
                   7290: # libtool support.
                   7291: case $host in
                   7292: ia64-*-hpux*)
                   7293:   # Find out which ABI we are using.
                   7294:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7295:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7296:   (eval $ac_compile) 2>&5
                   7297:   ac_status=$?
1.150     moko     7298:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7299:   test $ac_status = 0; }; then
1.128     moko     7300:     case `/usr/bin/file conftest.$ac_objext` in
                   7301:       *ELF-32*)
                   7302:        HPUX_IA64_MODE="32"
                   7303:        ;;
                   7304:       *ELF-64*)
                   7305:        HPUX_IA64_MODE="64"
                   7306:        ;;
                   7307:     esac
                   7308:   fi
                   7309:   rm -rf conftest*
                   7310:   ;;
                   7311: *-*-irix6*)
                   7312:   # Find out which ABI we are using.
                   7313:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     7314:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7315:   (eval $ac_compile) 2>&5
                   7316:   ac_status=$?
1.150     moko     7317:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7318:   test $ac_status = 0; }; then
1.128     moko     7319:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7320:       case `/usr/bin/file conftest.$ac_objext` in
                   7321:        *32-bit*)
                   7322:          LD="${LD-ld} -melf32bsmip"
                   7323:          ;;
                   7324:        *N32*)
                   7325:          LD="${LD-ld} -melf32bmipn32"
                   7326:          ;;
                   7327:        *64-bit*)
                   7328:          LD="${LD-ld} -melf64bmip"
                   7329:        ;;
                   7330:       esac
                   7331:     else
                   7332:       case `/usr/bin/file conftest.$ac_objext` in
                   7333:        *32-bit*)
                   7334:          LD="${LD-ld} -32"
                   7335:          ;;
                   7336:        *N32*)
                   7337:          LD="${LD-ld} -n32"
                   7338:          ;;
                   7339:        *64-bit*)
                   7340:          LD="${LD-ld} -64"
                   7341:          ;;
                   7342:       esac
                   7343:     fi
                   7344:   fi
                   7345:   rm -rf conftest*
                   7346:   ;;
                   7347: 
                   7348: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7349: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7350:   # Find out which ABI we are using.
                   7351:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7352:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7353:   (eval $ac_compile) 2>&5
                   7354:   ac_status=$?
1.150     moko     7355:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7356:   test $ac_status = 0; }; then
1.128     moko     7357:     case `/usr/bin/file conftest.o` in
                   7358:       *32-bit*)
                   7359:        case $host in
                   7360:          x86_64-*kfreebsd*-gnu)
                   7361:            LD="${LD-ld} -m elf_i386_fbsd"
                   7362:            ;;
                   7363:          x86_64-*linux*)
                   7364:            LD="${LD-ld} -m elf_i386"
                   7365:            ;;
                   7366:          ppc64-*linux*|powerpc64-*linux*)
                   7367:            LD="${LD-ld} -m elf32ppclinux"
                   7368:            ;;
                   7369:          s390x-*linux*)
                   7370:            LD="${LD-ld} -m elf_s390"
                   7371:            ;;
                   7372:          sparc64-*linux*)
                   7373:            LD="${LD-ld} -m elf32_sparc"
                   7374:            ;;
                   7375:        esac
                   7376:        ;;
                   7377:       *64-bit*)
                   7378:        case $host in
                   7379:          x86_64-*kfreebsd*-gnu)
                   7380:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7381:            ;;
                   7382:          x86_64-*linux*)
                   7383:            LD="${LD-ld} -m elf_x86_64"
                   7384:            ;;
                   7385:          ppc*-*linux*|powerpc*-*linux*)
                   7386:            LD="${LD-ld} -m elf64ppc"
                   7387:            ;;
                   7388:          s390*-*linux*|s390*-*tpf*)
                   7389:            LD="${LD-ld} -m elf64_s390"
                   7390:            ;;
                   7391:          sparc*-*linux*)
                   7392:            LD="${LD-ld} -m elf64_sparc"
                   7393:            ;;
                   7394:        esac
                   7395:        ;;
                   7396:     esac
                   7397:   fi
                   7398:   rm -rf conftest*
                   7399:   ;;
                   7400: 
                   7401: *-*-sco3.2v5*)
                   7402:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7403:   SAVE_CFLAGS="$CFLAGS"
                   7404:   CFLAGS="$CFLAGS -belf"
1.150     moko     7405:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7406: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7407: if ${lt_cv_cc_needs_belf+:} false; then :
                   7408:   $as_echo_n "(cached) " >&6
1.128     moko     7409: else
                   7410:   ac_ext=c
                   7411: ac_cpp='$CPP $CPPFLAGS'
                   7412: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7413: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7414: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7415: 
1.150     moko     7416:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7417: /* end confdefs.h.  */
                   7418: 
                   7419: int
                   7420: main ()
                   7421: {
                   7422: 
                   7423:   ;
                   7424:   return 0;
                   7425: }
                   7426: _ACEOF
1.150     moko     7427: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7428:   lt_cv_cc_needs_belf=yes
                   7429: else
1.150     moko     7430:   lt_cv_cc_needs_belf=no
1.128     moko     7431: fi
1.150     moko     7432: rm -f core conftest.err conftest.$ac_objext \
                   7433:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7434:      ac_ext=c
                   7435: ac_cpp='$CPP $CPPFLAGS'
                   7436: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7437: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7438: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7439: 
                   7440: fi
1.150     moko     7441: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7442: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     7443:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7444:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7445:     CFLAGS="$SAVE_CFLAGS"
                   7446:   fi
                   7447:   ;;
                   7448: *-*solaris*)
                   7449:   # Find out which ABI we are using.
                   7450:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7451:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7452:   (eval $ac_compile) 2>&5
                   7453:   ac_status=$?
1.150     moko     7454:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7455:   test $ac_status = 0; }; then
1.128     moko     7456:     case `/usr/bin/file conftest.o` in
                   7457:     *64-bit*)
                   7458:       case $lt_cv_prog_gnu_ld in
                   7459:       yes*)
                   7460:         case $host in
                   7461:         i?86-*-solaris*)
                   7462:           LD="${LD-ld} -m elf_x86_64"
                   7463:           ;;
                   7464:         sparc*-*-solaris*)
                   7465:           LD="${LD-ld} -m elf64_sparc"
                   7466:           ;;
                   7467:         esac
                   7468:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7469:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   7470:           LD="${LD-ld}_sol2"
                   7471:         fi
                   7472:         ;;
                   7473:       *)
                   7474:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7475:          LD="${LD-ld} -64"
                   7476:        fi
                   7477:        ;;
                   7478:       esac
                   7479:       ;;
                   7480:     esac
                   7481:   fi
                   7482:   rm -rf conftest*
                   7483:   ;;
                   7484: esac
                   7485: 
                   7486: need_locks="$enable_libtool_lock"
                   7487: 
                   7488: if test -n "$ac_tool_prefix"; then
                   7489:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7490: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150     moko     7491: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7492: $as_echo_n "checking for $ac_word... " >&6; }
                   7493: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7494:   $as_echo_n "(cached) " >&6
1.128     moko     7495: else
                   7496:   if test -n "$MANIFEST_TOOL"; then
                   7497:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7498: else
                   7499: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7500: for as_dir in $PATH
                   7501: do
                   7502:   IFS=$as_save_IFS
                   7503:   test -z "$as_dir" && as_dir=.
1.150     moko     7504:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7505:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7506:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150     moko     7507:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7508:     break 2
                   7509:   fi
                   7510: done
1.150     moko     7511:   done
                   7512: IFS=$as_save_IFS
1.128     moko     7513: 
                   7514: fi
                   7515: fi
                   7516: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7517: if test -n "$MANIFEST_TOOL"; then
1.150     moko     7518:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   7519: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     7520: else
1.150     moko     7521:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7522: $as_echo "no" >&6; }
1.128     moko     7523: fi
                   7524: 
1.150     moko     7525: 
1.128     moko     7526: fi
                   7527: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7528:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7529:   # Extract the first word of "mt", so it can be a program name with args.
                   7530: set dummy mt; ac_word=$2
1.150     moko     7531: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7532: $as_echo_n "checking for $ac_word... " >&6; }
                   7533: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   7534:   $as_echo_n "(cached) " >&6
1.128     moko     7535: else
                   7536:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7537:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7538: else
                   7539: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7540: for as_dir in $PATH
                   7541: do
                   7542:   IFS=$as_save_IFS
                   7543:   test -z "$as_dir" && as_dir=.
1.150     moko     7544:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7545:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7546:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150     moko     7547:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7548:     break 2
                   7549:   fi
                   7550: done
1.150     moko     7551:   done
                   7552: IFS=$as_save_IFS
1.128     moko     7553: 
                   7554: fi
                   7555: fi
                   7556: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7557: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150     moko     7558:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7559: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     7560: else
1.150     moko     7561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7562: $as_echo "no" >&6; }
1.128     moko     7563: fi
                   7564: 
1.150     moko     7565:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7566:     MANIFEST_TOOL=":"
                   7567:   else
                   7568:     case $cross_compiling:$ac_tool_warned in
                   7569: yes:)
                   7570: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7571: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7572: ac_tool_warned=yes ;;
                   7573: esac
                   7574:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7575:   fi
1.128     moko     7576: else
                   7577:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7578: fi
                   7579: 
                   7580: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150     moko     7581: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7582: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7583: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7584:   $as_echo_n "(cached) " >&6
1.128     moko     7585: else
                   7586:   lt_cv_path_mainfest_tool=no
                   7587:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7588:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7589:   cat conftest.err >&5
                   7590:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7591:     lt_cv_path_mainfest_tool=yes
                   7592:   fi
                   7593:   rm -f conftest*
                   7594: fi
1.150     moko     7595: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7596: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     7597: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7598:   MANIFEST_TOOL=:
                   7599: fi
                   7600: 
                   7601: 
                   7602: 
                   7603: 
                   7604: 
                   7605: 
                   7606:   case $host_os in
                   7607:     rhapsody* | darwin*)
                   7608:     if test -n "$ac_tool_prefix"; then
                   7609:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7610: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150     moko     7611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7612: $as_echo_n "checking for $ac_word... " >&6; }
                   7613: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7614:   $as_echo_n "(cached) " >&6
1.128     moko     7615: else
                   7616:   if test -n "$DSYMUTIL"; then
                   7617:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7618: else
                   7619: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7620: for as_dir in $PATH
                   7621: do
                   7622:   IFS=$as_save_IFS
                   7623:   test -z "$as_dir" && as_dir=.
1.150     moko     7624:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7625:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7626:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150     moko     7627:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7628:     break 2
                   7629:   fi
                   7630: done
1.150     moko     7631:   done
                   7632: IFS=$as_save_IFS
1.128     moko     7633: 
                   7634: fi
                   7635: fi
                   7636: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7637: if test -n "$DSYMUTIL"; then
1.150     moko     7638:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7639: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     7640: else
1.150     moko     7641:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7642: $as_echo "no" >&6; }
1.128     moko     7643: fi
                   7644: 
1.150     moko     7645: 
1.128     moko     7646: fi
                   7647: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7648:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7649:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7650: set dummy dsymutil; ac_word=$2
1.150     moko     7651: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7652: $as_echo_n "checking for $ac_word... " >&6; }
                   7653: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   7654:   $as_echo_n "(cached) " >&6
1.128     moko     7655: else
                   7656:   if test -n "$ac_ct_DSYMUTIL"; then
                   7657:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7658: else
                   7659: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7660: for as_dir in $PATH
                   7661: do
                   7662:   IFS=$as_save_IFS
                   7663:   test -z "$as_dir" && as_dir=.
1.150     moko     7664:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7665:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7666:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150     moko     7667:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7668:     break 2
                   7669:   fi
                   7670: done
1.150     moko     7671:   done
                   7672: IFS=$as_save_IFS
1.128     moko     7673: 
                   7674: fi
                   7675: fi
                   7676: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7677: if test -n "$ac_ct_DSYMUTIL"; then
1.150     moko     7678:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7679: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     7680: else
1.150     moko     7681:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7682: $as_echo "no" >&6; }
1.128     moko     7683: fi
                   7684: 
1.150     moko     7685:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7686:     DSYMUTIL=":"
                   7687:   else
                   7688:     case $cross_compiling:$ac_tool_warned in
                   7689: yes:)
                   7690: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7691: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7692: ac_tool_warned=yes ;;
                   7693: esac
                   7694:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7695:   fi
1.128     moko     7696: else
                   7697:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7698: fi
                   7699: 
                   7700:     if test -n "$ac_tool_prefix"; then
                   7701:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7702: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150     moko     7703: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7704: $as_echo_n "checking for $ac_word... " >&6; }
                   7705: if ${ac_cv_prog_NMEDIT+:} false; then :
                   7706:   $as_echo_n "(cached) " >&6
1.128     moko     7707: else
                   7708:   if test -n "$NMEDIT"; then
                   7709:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7710: else
                   7711: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7712: for as_dir in $PATH
                   7713: do
                   7714:   IFS=$as_save_IFS
                   7715:   test -z "$as_dir" && as_dir=.
1.150     moko     7716:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7717:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7718:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150     moko     7719:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7720:     break 2
                   7721:   fi
                   7722: done
1.150     moko     7723:   done
                   7724: IFS=$as_save_IFS
1.128     moko     7725: 
                   7726: fi
                   7727: fi
                   7728: NMEDIT=$ac_cv_prog_NMEDIT
                   7729: if test -n "$NMEDIT"; then
1.150     moko     7730:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7731: $as_echo "$NMEDIT" >&6; }
1.128     moko     7732: else
1.150     moko     7733:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7734: $as_echo "no" >&6; }
1.128     moko     7735: fi
                   7736: 
1.150     moko     7737: 
1.128     moko     7738: fi
                   7739: if test -z "$ac_cv_prog_NMEDIT"; then
                   7740:   ac_ct_NMEDIT=$NMEDIT
                   7741:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7742: set dummy nmedit; ac_word=$2
1.150     moko     7743: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7744: $as_echo_n "checking for $ac_word... " >&6; }
                   7745: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   7746:   $as_echo_n "(cached) " >&6
1.128     moko     7747: else
                   7748:   if test -n "$ac_ct_NMEDIT"; then
                   7749:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7750: else
                   7751: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7752: for as_dir in $PATH
                   7753: do
                   7754:   IFS=$as_save_IFS
                   7755:   test -z "$as_dir" && as_dir=.
1.150     moko     7756:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7757:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7758:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150     moko     7759:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7760:     break 2
                   7761:   fi
                   7762: done
1.150     moko     7763:   done
                   7764: IFS=$as_save_IFS
1.128     moko     7765: 
                   7766: fi
                   7767: fi
                   7768: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7769: if test -n "$ac_ct_NMEDIT"; then
1.150     moko     7770:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7771: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     7772: else
1.150     moko     7773:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7774: $as_echo "no" >&6; }
1.128     moko     7775: fi
                   7776: 
1.150     moko     7777:   if test "x$ac_ct_NMEDIT" = x; then
                   7778:     NMEDIT=":"
                   7779:   else
                   7780:     case $cross_compiling:$ac_tool_warned in
                   7781: yes:)
                   7782: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7783: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7784: ac_tool_warned=yes ;;
                   7785: esac
                   7786:     NMEDIT=$ac_ct_NMEDIT
                   7787:   fi
1.128     moko     7788: else
                   7789:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7790: fi
                   7791: 
                   7792:     if test -n "$ac_tool_prefix"; then
                   7793:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7794: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150     moko     7795: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7796: $as_echo_n "checking for $ac_word... " >&6; }
                   7797: if ${ac_cv_prog_LIPO+:} false; then :
                   7798:   $as_echo_n "(cached) " >&6
1.128     moko     7799: else
                   7800:   if test -n "$LIPO"; then
                   7801:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7802: else
                   7803: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7804: for as_dir in $PATH
                   7805: do
                   7806:   IFS=$as_save_IFS
                   7807:   test -z "$as_dir" && as_dir=.
1.150     moko     7808:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7809:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7810:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150     moko     7811:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7812:     break 2
                   7813:   fi
                   7814: done
1.150     moko     7815:   done
                   7816: IFS=$as_save_IFS
1.128     moko     7817: 
                   7818: fi
                   7819: fi
                   7820: LIPO=$ac_cv_prog_LIPO
                   7821: if test -n "$LIPO"; then
1.150     moko     7822:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7823: $as_echo "$LIPO" >&6; }
1.128     moko     7824: else
1.150     moko     7825:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7826: $as_echo "no" >&6; }
1.128     moko     7827: fi
                   7828: 
1.150     moko     7829: 
1.128     moko     7830: fi
                   7831: if test -z "$ac_cv_prog_LIPO"; then
                   7832:   ac_ct_LIPO=$LIPO
                   7833:   # Extract the first word of "lipo", so it can be a program name with args.
                   7834: set dummy lipo; ac_word=$2
1.150     moko     7835: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7836: $as_echo_n "checking for $ac_word... " >&6; }
                   7837: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7838:   $as_echo_n "(cached) " >&6
1.128     moko     7839: else
                   7840:   if test -n "$ac_ct_LIPO"; then
                   7841:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7842: else
                   7843: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7844: for as_dir in $PATH
                   7845: do
                   7846:   IFS=$as_save_IFS
                   7847:   test -z "$as_dir" && as_dir=.
1.150     moko     7848:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7849:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7850:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150     moko     7851:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7852:     break 2
                   7853:   fi
                   7854: done
1.150     moko     7855:   done
                   7856: IFS=$as_save_IFS
1.128     moko     7857: 
                   7858: fi
                   7859: fi
                   7860: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7861: if test -n "$ac_ct_LIPO"; then
1.150     moko     7862:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7863: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     7864: else
1.150     moko     7865:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7866: $as_echo "no" >&6; }
1.128     moko     7867: fi
                   7868: 
1.150     moko     7869:   if test "x$ac_ct_LIPO" = x; then
                   7870:     LIPO=":"
                   7871:   else
                   7872:     case $cross_compiling:$ac_tool_warned in
                   7873: yes:)
                   7874: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7875: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7876: ac_tool_warned=yes ;;
                   7877: esac
                   7878:     LIPO=$ac_ct_LIPO
                   7879:   fi
1.128     moko     7880: else
                   7881:   LIPO="$ac_cv_prog_LIPO"
                   7882: fi
                   7883: 
                   7884:     if test -n "$ac_tool_prefix"; then
                   7885:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7886: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150     moko     7887: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7888: $as_echo_n "checking for $ac_word... " >&6; }
                   7889: if ${ac_cv_prog_OTOOL+:} false; then :
                   7890:   $as_echo_n "(cached) " >&6
1.128     moko     7891: else
                   7892:   if test -n "$OTOOL"; then
                   7893:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7894: else
                   7895: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7896: for as_dir in $PATH
                   7897: do
                   7898:   IFS=$as_save_IFS
                   7899:   test -z "$as_dir" && as_dir=.
1.150     moko     7900:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7901:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7902:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150     moko     7903:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7904:     break 2
                   7905:   fi
                   7906: done
1.150     moko     7907:   done
                   7908: IFS=$as_save_IFS
1.128     moko     7909: 
                   7910: fi
                   7911: fi
                   7912: OTOOL=$ac_cv_prog_OTOOL
                   7913: if test -n "$OTOOL"; then
1.150     moko     7914:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7915: $as_echo "$OTOOL" >&6; }
1.128     moko     7916: else
1.150     moko     7917:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7918: $as_echo "no" >&6; }
1.128     moko     7919: fi
                   7920: 
1.150     moko     7921: 
1.128     moko     7922: fi
                   7923: if test -z "$ac_cv_prog_OTOOL"; then
                   7924:   ac_ct_OTOOL=$OTOOL
                   7925:   # Extract the first word of "otool", so it can be a program name with args.
                   7926: set dummy otool; ac_word=$2
1.150     moko     7927: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7928: $as_echo_n "checking for $ac_word... " >&6; }
                   7929: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   7930:   $as_echo_n "(cached) " >&6
1.128     moko     7931: else
                   7932:   if test -n "$ac_ct_OTOOL"; then
                   7933:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7934: else
                   7935: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7936: for as_dir in $PATH
                   7937: do
                   7938:   IFS=$as_save_IFS
                   7939:   test -z "$as_dir" && as_dir=.
1.150     moko     7940:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7941:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7942:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150     moko     7943:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7944:     break 2
                   7945:   fi
                   7946: done
1.150     moko     7947:   done
                   7948: IFS=$as_save_IFS
1.128     moko     7949: 
                   7950: fi
                   7951: fi
                   7952: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7953: if test -n "$ac_ct_OTOOL"; then
1.150     moko     7954:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7955: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     7956: else
1.150     moko     7957:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7958: $as_echo "no" >&6; }
1.128     moko     7959: fi
                   7960: 
1.150     moko     7961:   if test "x$ac_ct_OTOOL" = x; then
                   7962:     OTOOL=":"
                   7963:   else
                   7964:     case $cross_compiling:$ac_tool_warned in
                   7965: yes:)
                   7966: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7967: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7968: ac_tool_warned=yes ;;
                   7969: esac
                   7970:     OTOOL=$ac_ct_OTOOL
                   7971:   fi
1.128     moko     7972: else
                   7973:   OTOOL="$ac_cv_prog_OTOOL"
                   7974: fi
                   7975: 
                   7976:     if test -n "$ac_tool_prefix"; then
                   7977:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7978: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150     moko     7979: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7980: $as_echo_n "checking for $ac_word... " >&6; }
                   7981: if ${ac_cv_prog_OTOOL64+:} false; then :
                   7982:   $as_echo_n "(cached) " >&6
1.128     moko     7983: else
                   7984:   if test -n "$OTOOL64"; then
                   7985:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7986: else
                   7987: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7988: for as_dir in $PATH
                   7989: do
                   7990:   IFS=$as_save_IFS
                   7991:   test -z "$as_dir" && as_dir=.
1.150     moko     7992:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7993:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7994:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150     moko     7995:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7996:     break 2
                   7997:   fi
                   7998: done
1.150     moko     7999:   done
                   8000: IFS=$as_save_IFS
1.128     moko     8001: 
                   8002: fi
                   8003: fi
                   8004: OTOOL64=$ac_cv_prog_OTOOL64
                   8005: if test -n "$OTOOL64"; then
1.150     moko     8006:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   8007: $as_echo "$OTOOL64" >&6; }
1.128     moko     8008: else
1.150     moko     8009:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8010: $as_echo "no" >&6; }
1.128     moko     8011: fi
                   8012: 
1.150     moko     8013: 
1.128     moko     8014: fi
                   8015: if test -z "$ac_cv_prog_OTOOL64"; then
                   8016:   ac_ct_OTOOL64=$OTOOL64
                   8017:   # Extract the first word of "otool64", so it can be a program name with args.
                   8018: set dummy otool64; ac_word=$2
1.150     moko     8019: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8020: $as_echo_n "checking for $ac_word... " >&6; }
                   8021: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   8022:   $as_echo_n "(cached) " >&6
1.128     moko     8023: else
                   8024:   if test -n "$ac_ct_OTOOL64"; then
                   8025:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8026: else
                   8027: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8028: for as_dir in $PATH
                   8029: do
                   8030:   IFS=$as_save_IFS
                   8031:   test -z "$as_dir" && as_dir=.
1.150     moko     8032:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8033:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8034:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150     moko     8035:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8036:     break 2
                   8037:   fi
                   8038: done
1.150     moko     8039:   done
                   8040: IFS=$as_save_IFS
1.128     moko     8041: 
                   8042: fi
                   8043: fi
                   8044: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8045: if test -n "$ac_ct_OTOOL64"; then
1.150     moko     8046:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   8047: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8048: else
1.150     moko     8049:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8050: $as_echo "no" >&6; }
1.128     moko     8051: fi
                   8052: 
1.150     moko     8053:   if test "x$ac_ct_OTOOL64" = x; then
                   8054:     OTOOL64=":"
                   8055:   else
                   8056:     case $cross_compiling:$ac_tool_warned in
                   8057: yes:)
                   8058: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8059: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8060: ac_tool_warned=yes ;;
                   8061: esac
                   8062:     OTOOL64=$ac_ct_OTOOL64
                   8063:   fi
1.128     moko     8064: else
                   8065:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8066: fi
                   8067: 
                   8068: 
                   8069: 
                   8070: 
                   8071: 
                   8072: 
                   8073: 
                   8074: 
                   8075: 
                   8076: 
                   8077: 
                   8078: 
                   8079: 
                   8080: 
                   8081: 
                   8082: 
                   8083: 
                   8084: 
                   8085: 
                   8086: 
                   8087: 
                   8088: 
                   8089: 
                   8090: 
                   8091: 
                   8092: 
                   8093: 
1.150     moko     8094:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   8095: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   8096: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   8097:   $as_echo_n "(cached) " >&6
1.128     moko     8098: else
                   8099:   lt_cv_apple_cc_single_mod=no
                   8100:       if test -z "${LT_MULTI_MODULE}"; then
                   8101:        # By default we will add the -single_module flag. You can override
                   8102:        # by either setting the environment variable LT_MULTI_MODULE
                   8103:        # non-empty at configure time, or by adding -multi_module to the
                   8104:        # link flags.
                   8105:        rm -rf libconftest.dylib*
                   8106:        echo "int foo(void){return 1;}" > conftest.c
                   8107:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8108: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8109:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8110:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8111:         _lt_result=$?
                   8112:        # If there is a non-empty error log, and "single_module"
                   8113:        # appears in it, assume the flag caused a linker warning
                   8114:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8115:          cat conftest.err >&5
                   8116:        # Otherwise, if the output was created with a 0 exit code from
                   8117:        # the compiler, it worked.
                   8118:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8119:          lt_cv_apple_cc_single_mod=yes
                   8120:        else
                   8121:          cat conftest.err >&5
                   8122:        fi
                   8123:        rm -rf libconftest.dylib*
                   8124:        rm -f conftest.*
                   8125:       fi
                   8126: fi
1.150     moko     8127: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8128: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8129: 
1.150     moko     8130:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8131: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8132: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8133:   $as_echo_n "(cached) " >&6
1.128     moko     8134: else
                   8135:   lt_cv_ld_exported_symbols_list=no
                   8136:       save_LDFLAGS=$LDFLAGS
                   8137:       echo "_main" > conftest.sym
                   8138:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     8139:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8140: /* end confdefs.h.  */
                   8141: 
                   8142: int
                   8143: main ()
                   8144: {
                   8145: 
                   8146:   ;
                   8147:   return 0;
                   8148: }
                   8149: _ACEOF
1.150     moko     8150: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8151:   lt_cv_ld_exported_symbols_list=yes
                   8152: else
1.150     moko     8153:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8154: fi
1.150     moko     8155: rm -f core conftest.err conftest.$ac_objext \
                   8156:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8157:        LDFLAGS="$save_LDFLAGS"
                   8158: 
                   8159: fi
1.150     moko     8160: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8161: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8162: 
1.150     moko     8163:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8164: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8165: if ${lt_cv_ld_force_load+:} false; then :
                   8166:   $as_echo_n "(cached) " >&6
1.128     moko     8167: else
                   8168:   lt_cv_ld_force_load=no
                   8169:       cat > conftest.c << _LT_EOF
                   8170: int forced_loaded() { return 2;}
                   8171: _LT_EOF
                   8172:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8173:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8174:       echo "$AR cru libconftest.a conftest.o" >&5
                   8175:       $AR cru libconftest.a conftest.o 2>&5
                   8176:       echo "$RANLIB libconftest.a" >&5
                   8177:       $RANLIB libconftest.a 2>&5
                   8178:       cat > conftest.c << _LT_EOF
                   8179: int main() { return 0;}
                   8180: _LT_EOF
                   8181:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8182:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8183:       _lt_result=$?
                   8184:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8185:        cat conftest.err >&5
                   8186:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8187:        lt_cv_ld_force_load=yes
                   8188:       else
                   8189:        cat conftest.err >&5
                   8190:       fi
                   8191:         rm -f conftest.err libconftest.a conftest conftest.c
                   8192:         rm -rf conftest.dSYM
                   8193: 
                   8194: fi
1.150     moko     8195: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8196: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8197:     case $host_os in
                   8198:     rhapsody* | darwin1.[012])
                   8199:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8200:     darwin1.*)
                   8201:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8202:     darwin*) # darwin 5.x on
                   8203:       # if running on 10.5 or later, the deployment target defaults
                   8204:       # to the OS version, if on x86, and 10.4, the deployment
                   8205:       # target defaults to 10.4. Don't you love it?
                   8206:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8207:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8208:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8209:        10.[012]*)
                   8210:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8211:        10.*)
                   8212:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8213:       esac
                   8214:     ;;
                   8215:   esac
                   8216:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8217:       _lt_dar_single_mod='$single_module'
                   8218:     fi
                   8219:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8220:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8221:     else
                   8222:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8223:     fi
                   8224:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8225:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8226:     else
                   8227:       _lt_dsymutil=
                   8228:     fi
                   8229:     ;;
                   8230:   esac
                   8231: 
                   8232: ac_ext=c
                   8233: ac_cpp='$CPP $CPPFLAGS'
                   8234: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8235: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8236: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150     moko     8237: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   8238: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8239: # On Suns, sometimes $CPP names a directory.
                   8240: if test -n "$CPP" && test -d "$CPP"; then
                   8241:   CPP=
                   8242: fi
                   8243: if test -z "$CPP"; then
1.150     moko     8244:   if ${ac_cv_prog_CPP+:} false; then :
                   8245:   $as_echo_n "(cached) " >&6
1.128     moko     8246: else
                   8247:       # Double quotes because CPP needs to be expanded
                   8248:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8249:     do
                   8250:       ac_preproc_ok=false
                   8251: for ac_c_preproc_warn_flag in '' yes
                   8252: do
                   8253:   # Use a header file that comes with gcc, so configuring glibc
                   8254:   # with a fresh cross-compiler works.
                   8255:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8256:   # <limits.h> exists even on freestanding compilers.
                   8257:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8258:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8259:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8260: /* end confdefs.h.  */
                   8261: #ifdef __STDC__
                   8262: # include <limits.h>
                   8263: #else
                   8264: # include <assert.h>
                   8265: #endif
                   8266:                     Syntax error
                   8267: _ACEOF
1.150     moko     8268: if ac_fn_c_try_cpp "$LINENO"; then :
                   8269: 
1.128     moko     8270: else
                   8271:   # Broken: fails on valid input.
                   8272: continue
                   8273: fi
1.150     moko     8274: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8275: 
1.150     moko     8276:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8277:   # can be detected and how.
1.150     moko     8278:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8279: /* end confdefs.h.  */
                   8280: #include <ac_nonexistent.h>
                   8281: _ACEOF
1.150     moko     8282: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8283:   # Broken: success on invalid input.
                   8284: continue
                   8285: else
                   8286:   # Passes both tests.
                   8287: ac_preproc_ok=:
                   8288: break
                   8289: fi
1.150     moko     8290: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8291: 
                   8292: done
                   8293: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8294: rm -f conftest.i conftest.err conftest.$ac_ext
                   8295: if $ac_preproc_ok; then :
1.128     moko     8296:   break
                   8297: fi
                   8298: 
                   8299:     done
                   8300:     ac_cv_prog_CPP=$CPP
                   8301: 
                   8302: fi
                   8303:   CPP=$ac_cv_prog_CPP
                   8304: else
                   8305:   ac_cv_prog_CPP=$CPP
                   8306: fi
1.150     moko     8307: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   8308: $as_echo "$CPP" >&6; }
1.128     moko     8309: ac_preproc_ok=false
                   8310: for ac_c_preproc_warn_flag in '' yes
                   8311: do
                   8312:   # Use a header file that comes with gcc, so configuring glibc
                   8313:   # with a fresh cross-compiler works.
                   8314:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8315:   # <limits.h> exists even on freestanding compilers.
                   8316:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8317:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8318:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8319: /* end confdefs.h.  */
                   8320: #ifdef __STDC__
                   8321: # include <limits.h>
                   8322: #else
                   8323: # include <assert.h>
                   8324: #endif
                   8325:                     Syntax error
                   8326: _ACEOF
1.150     moko     8327: if ac_fn_c_try_cpp "$LINENO"; then :
                   8328: 
1.128     moko     8329: else
                   8330:   # Broken: fails on valid input.
                   8331: continue
                   8332: fi
1.150     moko     8333: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8334: 
1.150     moko     8335:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8336:   # can be detected and how.
1.150     moko     8337:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8338: /* end confdefs.h.  */
                   8339: #include <ac_nonexistent.h>
                   8340: _ACEOF
1.150     moko     8341: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8342:   # Broken: success on invalid input.
                   8343: continue
                   8344: else
                   8345:   # Passes both tests.
                   8346: ac_preproc_ok=:
                   8347: break
                   8348: fi
1.150     moko     8349: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8350: 
                   8351: done
                   8352: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8353: rm -f conftest.i conftest.err conftest.$ac_ext
                   8354: if $ac_preproc_ok; then :
                   8355: 
1.128     moko     8356: else
1.150     moko     8357:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8358: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   8359: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   8360: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8361: fi
                   8362: 
                   8363: ac_ext=c
                   8364: ac_cpp='$CPP $CPPFLAGS'
                   8365: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8366: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8367: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8368: 
                   8369: 
1.150     moko     8370: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8371: $as_echo_n "checking for ANSI C header files... " >&6; }
                   8372: if ${ac_cv_header_stdc+:} false; then :
                   8373:   $as_echo_n "(cached) " >&6
1.128     moko     8374: else
1.150     moko     8375:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8376: /* end confdefs.h.  */
                   8377: #include <stdlib.h>
                   8378: #include <stdarg.h>
                   8379: #include <string.h>
                   8380: #include <float.h>
                   8381: 
                   8382: int
                   8383: main ()
                   8384: {
                   8385: 
                   8386:   ;
                   8387:   return 0;
                   8388: }
                   8389: _ACEOF
1.150     moko     8390: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8391:   ac_cv_header_stdc=yes
                   8392: else
1.150     moko     8393:   ac_cv_header_stdc=no
1.128     moko     8394: fi
1.150     moko     8395: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8396: 
                   8397: if test $ac_cv_header_stdc = yes; then
                   8398:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150     moko     8399:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8400: /* end confdefs.h.  */
                   8401: #include <string.h>
                   8402: 
                   8403: _ACEOF
                   8404: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8405:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8406: 
1.128     moko     8407: else
                   8408:   ac_cv_header_stdc=no
                   8409: fi
                   8410: rm -f conftest*
                   8411: 
                   8412: fi
                   8413: 
                   8414: if test $ac_cv_header_stdc = yes; then
                   8415:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150     moko     8416:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8417: /* end confdefs.h.  */
                   8418: #include <stdlib.h>
                   8419: 
                   8420: _ACEOF
                   8421: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8422:   $EGREP "free" >/dev/null 2>&1; then :
                   8423: 
1.128     moko     8424: else
                   8425:   ac_cv_header_stdc=no
                   8426: fi
                   8427: rm -f conftest*
                   8428: 
                   8429: fi
                   8430: 
                   8431: if test $ac_cv_header_stdc = yes; then
                   8432:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150     moko     8433:   if test "$cross_compiling" = yes; then :
1.128     moko     8434:   :
                   8435: else
1.150     moko     8436:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8437: /* end confdefs.h.  */
                   8438: #include <ctype.h>
1.150     moko     8439: #include <stdlib.h>
1.128     moko     8440: #if ((' ' & 0x0FF) == 0x020)
                   8441: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8442: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8443: #else
                   8444: # define ISLOWER(c) \
                   8445:                   (('a' <= (c) && (c) <= 'i') \
                   8446:                     || ('j' <= (c) && (c) <= 'r') \
                   8447:                     || ('s' <= (c) && (c) <= 'z'))
                   8448: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8449: #endif
                   8450: 
                   8451: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8452: int
                   8453: main ()
                   8454: {
                   8455:   int i;
                   8456:   for (i = 0; i < 256; i++)
                   8457:     if (XOR (islower (i), ISLOWER (i))
                   8458:        || toupper (i) != TOUPPER (i))
1.150     moko     8459:       return 2;
                   8460:   return 0;
1.128     moko     8461: }
                   8462: _ACEOF
1.150     moko     8463: if ac_fn_c_try_run "$LINENO"; then :
                   8464: 
1.128     moko     8465: else
1.150     moko     8466:   ac_cv_header_stdc=no
1.128     moko     8467: fi
1.150     moko     8468: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8469:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     8470: fi
1.150     moko     8471: 
1.128     moko     8472: fi
                   8473: fi
1.150     moko     8474: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8475: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     8476: if test $ac_cv_header_stdc = yes; then
                   8477: 
1.150     moko     8478: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     8479: 
                   8480: fi
                   8481: 
                   8482: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150     moko     8483: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8484:                  inttypes.h stdint.h unistd.h
                   8485: do :
                   8486:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8487: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8488: "
                   8489: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   8490:   cat >>confdefs.h <<_ACEOF
                   8491: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8492: _ACEOF
1.128     moko     8493: 
1.150     moko     8494: fi
1.128     moko     8495: 
1.150     moko     8496: done
1.128     moko     8497: 
                   8498: 
1.150     moko     8499: for ac_header in dlfcn.h
                   8500: do :
                   8501:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8502: "
                   8503: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   8504:   cat >>confdefs.h <<_ACEOF
                   8505: #define HAVE_DLFCN_H 1
                   8506: _ACEOF
1.128     moko     8507: 
1.150     moko     8508: fi
1.128     moko     8509: 
1.150     moko     8510: done
1.128     moko     8511: 
                   8512: 
                   8513: 
                   8514: 
1.150     moko     8515: func_stripname_cnf ()
                   8516: {
                   8517:   case ${2} in
                   8518:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   8519:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   8520:   esac
                   8521: } # func_stripname_cnf
1.128     moko     8522: 
                   8523: 
                   8524: 
                   8525: 
                   8526: 
                   8527: # Set options
                   8528: enable_dlopen=yes
                   8529: enable_win32_dll=yes
                   8530: 
                   8531: case $host in
                   8532: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8533:   if test -n "$ac_tool_prefix"; then
                   8534:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8535: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150     moko     8536: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8537: $as_echo_n "checking for $ac_word... " >&6; }
                   8538: if ${ac_cv_prog_AS+:} false; then :
                   8539:   $as_echo_n "(cached) " >&6
1.128     moko     8540: else
                   8541:   if test -n "$AS"; then
                   8542:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8543: else
                   8544: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8545: for as_dir in $PATH
                   8546: do
                   8547:   IFS=$as_save_IFS
                   8548:   test -z "$as_dir" && as_dir=.
1.150     moko     8549:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8550:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8551:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150     moko     8552:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8553:     break 2
                   8554:   fi
                   8555: done
1.150     moko     8556:   done
                   8557: IFS=$as_save_IFS
1.128     moko     8558: 
                   8559: fi
                   8560: fi
                   8561: AS=$ac_cv_prog_AS
                   8562: if test -n "$AS"; then
1.150     moko     8563:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8564: $as_echo "$AS" >&6; }
1.128     moko     8565: else
1.150     moko     8566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8567: $as_echo "no" >&6; }
1.128     moko     8568: fi
                   8569: 
1.150     moko     8570: 
1.128     moko     8571: fi
                   8572: if test -z "$ac_cv_prog_AS"; then
                   8573:   ac_ct_AS=$AS
                   8574:   # Extract the first word of "as", so it can be a program name with args.
                   8575: set dummy as; ac_word=$2
1.150     moko     8576: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8577: $as_echo_n "checking for $ac_word... " >&6; }
                   8578: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8579:   $as_echo_n "(cached) " >&6
1.128     moko     8580: else
                   8581:   if test -n "$ac_ct_AS"; then
                   8582:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8583: else
                   8584: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8585: for as_dir in $PATH
                   8586: do
                   8587:   IFS=$as_save_IFS
                   8588:   test -z "$as_dir" && as_dir=.
1.150     moko     8589:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8590:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8591:     ac_cv_prog_ac_ct_AS="as"
1.150     moko     8592:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8593:     break 2
                   8594:   fi
                   8595: done
1.150     moko     8596:   done
                   8597: IFS=$as_save_IFS
1.128     moko     8598: 
                   8599: fi
                   8600: fi
                   8601: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8602: if test -n "$ac_ct_AS"; then
1.150     moko     8603:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   8604: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     8605: else
1.150     moko     8606:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8607: $as_echo "no" >&6; }
1.128     moko     8608: fi
                   8609: 
1.150     moko     8610:   if test "x$ac_ct_AS" = x; then
                   8611:     AS="false"
                   8612:   else
                   8613:     case $cross_compiling:$ac_tool_warned in
                   8614: yes:)
                   8615: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8616: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8617: ac_tool_warned=yes ;;
                   8618: esac
                   8619:     AS=$ac_ct_AS
                   8620:   fi
1.128     moko     8621: else
                   8622:   AS="$ac_cv_prog_AS"
                   8623: fi
                   8624: 
                   8625:   if test -n "$ac_tool_prefix"; then
                   8626:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8627: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     8628: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8629: $as_echo_n "checking for $ac_word... " >&6; }
                   8630: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   8631:   $as_echo_n "(cached) " >&6
1.128     moko     8632: else
                   8633:   if test -n "$DLLTOOL"; then
                   8634:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   8635: else
                   8636: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8637: for as_dir in $PATH
                   8638: do
                   8639:   IFS=$as_save_IFS
                   8640:   test -z "$as_dir" && as_dir=.
1.150     moko     8641:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8642:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8643:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     8644:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8645:     break 2
                   8646:   fi
                   8647: done
1.150     moko     8648:   done
                   8649: IFS=$as_save_IFS
1.128     moko     8650: 
                   8651: fi
                   8652: fi
                   8653: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8654: if test -n "$DLLTOOL"; then
1.150     moko     8655:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   8656: $as_echo "$DLLTOOL" >&6; }
1.128     moko     8657: else
1.150     moko     8658:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8659: $as_echo "no" >&6; }
1.128     moko     8660: fi
                   8661: 
1.150     moko     8662: 
1.128     moko     8663: fi
                   8664: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8665:   ac_ct_DLLTOOL=$DLLTOOL
                   8666:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8667: set dummy dlltool; ac_word=$2
1.150     moko     8668: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8669: $as_echo_n "checking for $ac_word... " >&6; }
                   8670: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   8671:   $as_echo_n "(cached) " >&6
1.128     moko     8672: else
                   8673:   if test -n "$ac_ct_DLLTOOL"; then
                   8674:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8675: else
                   8676: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8677: for as_dir in $PATH
                   8678: do
                   8679:   IFS=$as_save_IFS
                   8680:   test -z "$as_dir" && as_dir=.
1.150     moko     8681:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8682:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8683:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     8684:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8685:     break 2
                   8686:   fi
                   8687: done
1.150     moko     8688:   done
                   8689: IFS=$as_save_IFS
1.128     moko     8690: 
                   8691: fi
                   8692: fi
                   8693: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8694: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     8695:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   8696: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     8697: else
1.150     moko     8698:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8699: $as_echo "no" >&6; }
1.128     moko     8700: fi
                   8701: 
1.150     moko     8702:   if test "x$ac_ct_DLLTOOL" = x; then
                   8703:     DLLTOOL="false"
                   8704:   else
                   8705:     case $cross_compiling:$ac_tool_warned in
                   8706: yes:)
                   8707: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8708: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8709: ac_tool_warned=yes ;;
                   8710: esac
                   8711:     DLLTOOL=$ac_ct_DLLTOOL
                   8712:   fi
1.128     moko     8713: else
                   8714:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8715: fi
                   8716: 
                   8717:   if test -n "$ac_tool_prefix"; then
                   8718:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8719: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     8720: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8721: $as_echo_n "checking for $ac_word... " >&6; }
                   8722: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   8723:   $as_echo_n "(cached) " >&6
1.128     moko     8724: else
                   8725:   if test -n "$OBJDUMP"; then
                   8726:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8727: else
                   8728: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8729: for as_dir in $PATH
                   8730: do
                   8731:   IFS=$as_save_IFS
                   8732:   test -z "$as_dir" && as_dir=.
1.150     moko     8733:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8734:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8735:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     8736:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8737:     break 2
                   8738:   fi
                   8739: done
1.150     moko     8740:   done
                   8741: IFS=$as_save_IFS
1.128     moko     8742: 
                   8743: fi
                   8744: fi
                   8745: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8746: if test -n "$OBJDUMP"; then
1.150     moko     8747:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8748: $as_echo "$OBJDUMP" >&6; }
1.128     moko     8749: else
1.150     moko     8750:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8751: $as_echo "no" >&6; }
1.128     moko     8752: fi
                   8753: 
1.150     moko     8754: 
1.128     moko     8755: fi
                   8756: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8757:   ac_ct_OBJDUMP=$OBJDUMP
                   8758:   # Extract the first word of "objdump", so it can be a program name with args.
                   8759: set dummy objdump; ac_word=$2
1.150     moko     8760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8761: $as_echo_n "checking for $ac_word... " >&6; }
                   8762: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   8763:   $as_echo_n "(cached) " >&6
1.128     moko     8764: else
                   8765:   if test -n "$ac_ct_OBJDUMP"; then
                   8766:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8767: else
                   8768: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8769: for as_dir in $PATH
                   8770: do
                   8771:   IFS=$as_save_IFS
                   8772:   test -z "$as_dir" && as_dir=.
1.150     moko     8773:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8774:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8775:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     8776:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8777:     break 2
                   8778:   fi
                   8779: done
1.150     moko     8780:   done
                   8781: IFS=$as_save_IFS
1.128     moko     8782: 
                   8783: fi
                   8784: fi
                   8785: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8786: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     8787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8788: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     8789: else
1.150     moko     8790:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8791: $as_echo "no" >&6; }
1.128     moko     8792: fi
                   8793: 
1.150     moko     8794:   if test "x$ac_ct_OBJDUMP" = x; then
                   8795:     OBJDUMP="false"
                   8796:   else
                   8797:     case $cross_compiling:$ac_tool_warned in
                   8798: yes:)
                   8799: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8800: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8801: ac_tool_warned=yes ;;
                   8802: esac
                   8803:     OBJDUMP=$ac_ct_OBJDUMP
                   8804:   fi
1.128     moko     8805: else
                   8806:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8807: fi
                   8808: 
                   8809:   ;;
                   8810: esac
                   8811: 
                   8812: test -z "$AS" && AS=as
                   8813: 
                   8814: 
                   8815: 
                   8816: 
                   8817: 
                   8818: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8819: 
                   8820: 
                   8821: 
                   8822: 
                   8823: 
                   8824: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8825: 
                   8826: 
                   8827: 
                   8828: 
                   8829: 
1.150     moko     8830: # Check whether --with-pic was given.
                   8831: if test "${with_pic+set}" = set; then :
                   8832:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     8833:     case $withval in
                   8834:     yes|no) pic_mode=$withval ;;
                   8835:     *)
                   8836:       pic_mode=default
                   8837:       # Look at the argument we got.  We use all the common list separators.
                   8838:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8839:       for lt_pkg in $withval; do
                   8840:        IFS="$lt_save_ifs"
                   8841:        if test "X$lt_pkg" = "X$lt_p"; then
                   8842:          pic_mode=yes
                   8843:        fi
                   8844:       done
                   8845:       IFS="$lt_save_ifs"
                   8846:       ;;
                   8847:     esac
                   8848: else
                   8849:   pic_mode=default
1.150     moko     8850: fi
                   8851: 
1.145     moko     8852: 
                   8853: test -z "$pic_mode" && pic_mode=no
                   8854: 
                   8855: 
                   8856: 
                   8857: 
                   8858: 
                   8859: 
1.128     moko     8860: 
                   8861: 
                   8862: 
                   8863: 
1.150     moko     8864:             # Check whether --enable-shared was given.
                   8865: if test "${enable_shared+set}" = set; then :
                   8866:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     8867:     case $enableval in
                   8868:     yes) enable_shared=yes ;;
                   8869:     no) enable_shared=no ;;
                   8870:     *)
                   8871:       enable_shared=no
                   8872:       # Look at the argument we got.  We use all the common list separators.
                   8873:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8874:       for pkg in $enableval; do
                   8875:        IFS="$lt_save_ifs"
                   8876:        if test "X$pkg" = "X$p"; then
                   8877:          enable_shared=yes
                   8878:        fi
                   8879:       done
                   8880:       IFS="$lt_save_ifs"
                   8881:       ;;
                   8882:     esac
                   8883: else
                   8884:   enable_shared=yes
1.150     moko     8885: fi
                   8886: 
1.128     moko     8887: 
                   8888: 
                   8889: 
                   8890: 
                   8891: 
                   8892: 
                   8893: 
                   8894: 
1.150     moko     8895:   # Check whether --enable-static was given.
                   8896: if test "${enable_static+set}" = set; then :
                   8897:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     8898:     case $enableval in
                   8899:     yes) enable_static=yes ;;
                   8900:     no) enable_static=no ;;
                   8901:     *)
                   8902:      enable_static=no
                   8903:       # Look at the argument we got.  We use all the common list separators.
                   8904:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8905:       for pkg in $enableval; do
                   8906:        IFS="$lt_save_ifs"
                   8907:        if test "X$pkg" = "X$p"; then
                   8908:          enable_static=yes
                   8909:        fi
                   8910:       done
                   8911:       IFS="$lt_save_ifs"
                   8912:       ;;
                   8913:     esac
                   8914: else
                   8915:   enable_static=yes
1.150     moko     8916: fi
                   8917: 
1.138     moko     8918: 
                   8919: 
                   8920: 
                   8921: 
                   8922: 
                   8923: 
                   8924: 
1.128     moko     8925: 
                   8926: 
1.150     moko     8927:   # Check whether --enable-fast-install was given.
                   8928: if test "${enable_fast_install+set}" = set; then :
                   8929:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     8930:     case $enableval in
                   8931:     yes) enable_fast_install=yes ;;
                   8932:     no) enable_fast_install=no ;;
                   8933:     *)
                   8934:       enable_fast_install=no
                   8935:       # Look at the argument we got.  We use all the common list separators.
                   8936:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8937:       for pkg in $enableval; do
                   8938:        IFS="$lt_save_ifs"
                   8939:        if test "X$pkg" = "X$p"; then
                   8940:          enable_fast_install=yes
                   8941:        fi
                   8942:       done
                   8943:       IFS="$lt_save_ifs"
                   8944:       ;;
                   8945:     esac
                   8946: else
                   8947:   enable_fast_install=yes
1.150     moko     8948: fi
                   8949: 
1.128     moko     8950: 
                   8951: 
                   8952: 
                   8953: 
                   8954: 
                   8955: 
                   8956: 
                   8957: 
                   8958: 
                   8959: 
                   8960: # This can be used to rebuild libtool when needed
                   8961: LIBTOOL_DEPS="$ltmain"
                   8962: 
                   8963: # Always use our own libtool.
                   8964: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8965: 
                   8966: 
                   8967: 
                   8968: 
                   8969: 
                   8970: 
                   8971: 
                   8972: 
                   8973: 
                   8974: 
                   8975: 
                   8976: 
                   8977: 
                   8978: 
                   8979: 
                   8980: 
                   8981: 
                   8982: 
                   8983: 
                   8984: 
                   8985: 
                   8986: 
                   8987: 
                   8988: 
                   8989: 
                   8990: 
                   8991: 
                   8992: 
                   8993: 
                   8994: 
                   8995: test -z "$LN_S" && LN_S="ln -s"
                   8996: 
                   8997: 
                   8998: 
                   8999: 
                   9000: 
                   9001: 
                   9002: 
                   9003: 
                   9004: 
                   9005: 
                   9006: 
                   9007: 
                   9008: 
                   9009: 
                   9010: if test -n "${ZSH_VERSION+set}" ; then
                   9011:    setopt NO_GLOB_SUBST
                   9012: fi
                   9013: 
1.150     moko     9014: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9015: $as_echo_n "checking for objdir... " >&6; }
                   9016: if ${lt_cv_objdir+:} false; then :
                   9017:   $as_echo_n "(cached) " >&6
1.128     moko     9018: else
                   9019:   rm -f .libs 2>/dev/null
                   9020: mkdir .libs 2>/dev/null
                   9021: if test -d .libs; then
                   9022:   lt_cv_objdir=.libs
                   9023: else
                   9024:   # MS-DOS does not allow filenames that begin with a dot.
                   9025:   lt_cv_objdir=_libs
                   9026: fi
                   9027: rmdir .libs 2>/dev/null
                   9028: fi
1.150     moko     9029: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9030: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9031: objdir=$lt_cv_objdir
                   9032: 
                   9033: 
                   9034: 
                   9035: 
                   9036: 
                   9037: cat >>confdefs.h <<_ACEOF
                   9038: #define LT_OBJDIR "$lt_cv_objdir/"
                   9039: _ACEOF
                   9040: 
                   9041: 
                   9042: 
                   9043: 
                   9044: case $host_os in
                   9045: aix3*)
                   9046:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9047:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9048:   # vanish in a puff of smoke.
                   9049:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9050:     COLLECT_NAMES=
                   9051:     export COLLECT_NAMES
                   9052:   fi
                   9053:   ;;
                   9054: esac
                   9055: 
                   9056: # Global variables:
                   9057: ofile=libtool
                   9058: can_build_shared=yes
                   9059: 
                   9060: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9061: # which needs '.lib').
                   9062: libext=a
                   9063: 
                   9064: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9065: 
                   9066: old_CC="$CC"
                   9067: old_CFLAGS="$CFLAGS"
                   9068: 
                   9069: # Set sane defaults for various variables
                   9070: test -z "$CC" && CC=cc
                   9071: test -z "$LTCC" && LTCC=$CC
                   9072: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9073: test -z "$LD" && LD=ld
                   9074: test -z "$ac_objext" && ac_objext=o
                   9075: 
                   9076: for cc_temp in $compiler""; do
                   9077:   case $cc_temp in
                   9078:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9079:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9080:     \-*) ;;
                   9081:     *) break;;
                   9082:   esac
                   9083: done
                   9084: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9085: 
                   9086: 
                   9087: # Only perform the check for file, if the check method requires it
                   9088: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9089: case $deplibs_check_method in
                   9090: file_magic*)
                   9091:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150     moko     9092:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9093: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9094: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9095:   $as_echo_n "(cached) " >&6
1.128     moko     9096: else
                   9097:   case $MAGIC_CMD in
                   9098: [\\/*] |  ?:[\\/]*)
                   9099:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9100:   ;;
                   9101: *)
                   9102:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9103:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9104:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9105:   for ac_dir in $ac_dummy; do
                   9106:     IFS="$lt_save_ifs"
                   9107:     test -z "$ac_dir" && ac_dir=.
                   9108:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9109:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9110:       if test -n "$file_magic_test_file"; then
                   9111:        case $deplibs_check_method in
                   9112:        "file_magic "*)
                   9113:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9114:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9115:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9116:            $EGREP "$file_magic_regex" > /dev/null; then
                   9117:            :
                   9118:          else
                   9119:            cat <<_LT_EOF 1>&2
                   9120: 
                   9121: *** Warning: the command libtool uses to detect shared libraries,
                   9122: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9123: *** The result is that libtool may fail to recognize shared libraries
                   9124: *** as such.  This will affect the creation of libtool libraries that
                   9125: *** depend on shared libraries, but programs linked with such libtool
                   9126: *** libraries will work regardless of this problem.  Nevertheless, you
                   9127: *** may want to report the problem to your system manager and/or to
                   9128: *** bug-libtool@gnu.org
                   9129: 
                   9130: _LT_EOF
                   9131:          fi ;;
                   9132:        esac
                   9133:       fi
                   9134:       break
                   9135:     fi
                   9136:   done
                   9137:   IFS="$lt_save_ifs"
                   9138:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9139:   ;;
                   9140: esac
                   9141: fi
                   9142: 
                   9143: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9144: if test -n "$MAGIC_CMD"; then
1.150     moko     9145:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9146: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9147: else
1.150     moko     9148:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9149: $as_echo "no" >&6; }
1.128     moko     9150: fi
                   9151: 
                   9152: 
                   9153: 
                   9154: 
                   9155: 
                   9156: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9157:   if test -n "$ac_tool_prefix"; then
1.150     moko     9158:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9159: $as_echo_n "checking for file... " >&6; }
                   9160: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9161:   $as_echo_n "(cached) " >&6
1.128     moko     9162: else
                   9163:   case $MAGIC_CMD in
                   9164: [\\/*] |  ?:[\\/]*)
                   9165:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9166:   ;;
                   9167: *)
                   9168:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9169:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9170:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9171:   for ac_dir in $ac_dummy; do
                   9172:     IFS="$lt_save_ifs"
                   9173:     test -z "$ac_dir" && ac_dir=.
                   9174:     if test -f $ac_dir/file; then
                   9175:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9176:       if test -n "$file_magic_test_file"; then
                   9177:        case $deplibs_check_method in
                   9178:        "file_magic "*)
                   9179:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9180:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9181:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9182:            $EGREP "$file_magic_regex" > /dev/null; then
                   9183:            :
                   9184:          else
                   9185:            cat <<_LT_EOF 1>&2
                   9186: 
                   9187: *** Warning: the command libtool uses to detect shared libraries,
                   9188: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9189: *** The result is that libtool may fail to recognize shared libraries
                   9190: *** as such.  This will affect the creation of libtool libraries that
                   9191: *** depend on shared libraries, but programs linked with such libtool
                   9192: *** libraries will work regardless of this problem.  Nevertheless, you
                   9193: *** may want to report the problem to your system manager and/or to
                   9194: *** bug-libtool@gnu.org
                   9195: 
                   9196: _LT_EOF
                   9197:          fi ;;
                   9198:        esac
                   9199:       fi
                   9200:       break
                   9201:     fi
                   9202:   done
                   9203:   IFS="$lt_save_ifs"
                   9204:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9205:   ;;
                   9206: esac
                   9207: fi
                   9208: 
                   9209: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9210: if test -n "$MAGIC_CMD"; then
1.150     moko     9211:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9212: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9213: else
1.150     moko     9214:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9215: $as_echo "no" >&6; }
1.128     moko     9216: fi
                   9217: 
                   9218: 
                   9219:   else
                   9220:     MAGIC_CMD=:
                   9221:   fi
                   9222: fi
                   9223: 
                   9224:   fi
                   9225:   ;;
                   9226: esac
                   9227: 
                   9228: # Use C for the default configuration in the libtool script
                   9229: 
                   9230: lt_save_CC="$CC"
                   9231: ac_ext=c
                   9232: ac_cpp='$CPP $CPPFLAGS'
                   9233: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9234: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9235: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9236: 
                   9237: 
                   9238: # Source file extension for C test sources.
                   9239: ac_ext=c
                   9240: 
                   9241: # Object file extension for compiled C test sources.
                   9242: objext=o
                   9243: objext=$objext
                   9244: 
                   9245: # Code to be used in simple compile tests
                   9246: lt_simple_compile_test_code="int some_variable = 0;"
                   9247: 
                   9248: # Code to be used in simple link tests
                   9249: lt_simple_link_test_code='int main(){return(0);}'
                   9250: 
                   9251: 
                   9252: 
                   9253: 
                   9254: 
                   9255: 
                   9256: 
                   9257: # If no C compiler was specified, use CC.
                   9258: LTCC=${LTCC-"$CC"}
                   9259: 
                   9260: # If no C compiler flags were specified, use CFLAGS.
                   9261: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9262: 
                   9263: # Allow CC to be a program name with arguments.
                   9264: compiler=$CC
                   9265: 
                   9266: # Save the default compiler, since it gets overwritten when the other
                   9267: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9268: compiler_DEFAULT=$CC
                   9269: 
                   9270: # save warnings/boilerplate of simple test code
                   9271: ac_outfile=conftest.$ac_objext
                   9272: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9273: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9274: _lt_compiler_boilerplate=`cat conftest.err`
                   9275: $RM conftest*
                   9276: 
                   9277: ac_outfile=conftest.$ac_objext
                   9278: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9279: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9280: _lt_linker_boilerplate=`cat conftest.err`
                   9281: $RM -r conftest*
                   9282: 
                   9283: 
                   9284: ## CAVEAT EMPTOR:
                   9285: ## There is no encapsulation within the following macros, do not change
                   9286: ## the running order or otherwise move them around unless you know exactly
                   9287: ## what you are doing...
                   9288: if test -n "$compiler"; then
                   9289: 
                   9290: lt_prog_compiler_no_builtin_flag=
                   9291: 
                   9292: if test "$GCC" = yes; then
                   9293:   case $cc_basename in
                   9294:   nvcc*)
                   9295:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9296:   *)
                   9297:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9298:   esac
                   9299: 
1.150     moko     9300:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9301: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9302: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9303:   $as_echo_n "(cached) " >&6
1.128     moko     9304: else
                   9305:   lt_cv_prog_compiler_rtti_exceptions=no
                   9306:    ac_outfile=conftest.$ac_objext
                   9307:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9308:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9309:    # Insert the option either (1) after the last *FLAGS variable, or
                   9310:    # (2) before a word containing "conftest.", or (3) at the end.
                   9311:    # Note that $ac_compile itself does not contain backslashes and begins
                   9312:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9313:    # The option is referenced via a variable to avoid confusing sed.
                   9314:    lt_compile=`echo "$ac_compile" | $SED \
                   9315:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9316:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9317:    -e 's:$: $lt_compiler_flag:'`
                   9318:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9319:    (eval "$lt_compile" 2>conftest.err)
                   9320:    ac_status=$?
                   9321:    cat conftest.err >&5
                   9322:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9323:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9324:      # The compiler can only warn and ignore the option if not recognized
                   9325:      # So say no if there are warnings other than the usual output.
                   9326:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9327:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9328:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9329:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9330:      fi
                   9331:    fi
                   9332:    $RM conftest*
                   9333: 
                   9334: fi
1.150     moko     9335: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   9336: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9337: 
                   9338: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9339:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9340: else
                   9341:     :
                   9342: fi
                   9343: 
                   9344: fi
                   9345: 
                   9346: 
                   9347: 
                   9348: 
                   9349: 
                   9350: 
                   9351:   lt_prog_compiler_wl=
                   9352: lt_prog_compiler_pic=
                   9353: lt_prog_compiler_static=
                   9354: 
                   9355: 
                   9356:   if test "$GCC" = yes; then
                   9357:     lt_prog_compiler_wl='-Wl,'
                   9358:     lt_prog_compiler_static='-static'
                   9359: 
                   9360:     case $host_os in
                   9361:       aix*)
                   9362:       # All AIX code is PIC.
                   9363:       if test "$host_cpu" = ia64; then
                   9364:        # AIX 5 now supports IA64 processor
                   9365:        lt_prog_compiler_static='-Bstatic'
                   9366:       fi
                   9367:       ;;
                   9368: 
                   9369:     amigaos*)
                   9370:       case $host_cpu in
                   9371:       powerpc)
                   9372:             # see comment about AmigaOS4 .so support
                   9373:             lt_prog_compiler_pic='-fPIC'
                   9374:         ;;
                   9375:       m68k)
                   9376:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9377:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9378:             # like `-m68040'.
                   9379:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9380:         ;;
                   9381:       esac
                   9382:       ;;
                   9383: 
                   9384:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9385:       # PIC is the default for these OSes.
                   9386:       ;;
                   9387: 
                   9388:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9389:       # This hack is so that the source file can tell whether it is being
                   9390:       # built for inclusion in a dll (and should export symbols for example).
                   9391:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9392:       # (--disable-auto-import) libraries
                   9393:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9394:       ;;
                   9395: 
                   9396:     darwin* | rhapsody*)
                   9397:       # PIC is the default on this platform
                   9398:       # Common symbols not allowed in MH_DYLIB files
                   9399:       lt_prog_compiler_pic='-fno-common'
                   9400:       ;;
                   9401: 
                   9402:     haiku*)
                   9403:       # PIC is the default for Haiku.
                   9404:       # The "-static" flag exists, but is broken.
                   9405:       lt_prog_compiler_static=
                   9406:       ;;
                   9407: 
                   9408:     hpux*)
                   9409:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9410:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9411:       # sets the default TLS model and affects inlining.
                   9412:       case $host_cpu in
                   9413:       hppa*64*)
                   9414:        # +Z the default
                   9415:        ;;
                   9416:       *)
                   9417:        lt_prog_compiler_pic='-fPIC'
                   9418:        ;;
                   9419:       esac
                   9420:       ;;
                   9421: 
                   9422:     interix[3-9]*)
                   9423:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9424:       # Instead, we relocate shared libraries at runtime.
                   9425:       ;;
                   9426: 
                   9427:     msdosdjgpp*)
                   9428:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9429:       # on systems that don't support them.
                   9430:       lt_prog_compiler_can_build_shared=no
                   9431:       enable_shared=no
                   9432:       ;;
                   9433: 
                   9434:     *nto* | *qnx*)
                   9435:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9436:       # it will coredump.
                   9437:       lt_prog_compiler_pic='-fPIC -shared'
                   9438:       ;;
                   9439: 
                   9440:     sysv4*MP*)
                   9441:       if test -d /usr/nec; then
                   9442:        lt_prog_compiler_pic=-Kconform_pic
                   9443:       fi
                   9444:       ;;
                   9445: 
                   9446:     *)
                   9447:       lt_prog_compiler_pic='-fPIC'
                   9448:       ;;
                   9449:     esac
                   9450: 
                   9451:     case $cc_basename in
                   9452:     nvcc*) # Cuda Compiler Driver 2.2
                   9453:       lt_prog_compiler_wl='-Xlinker '
                   9454:       if test -n "$lt_prog_compiler_pic"; then
                   9455:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9456:       fi
                   9457:       ;;
                   9458:     esac
                   9459:   else
                   9460:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9461:     case $host_os in
                   9462:     aix*)
                   9463:       lt_prog_compiler_wl='-Wl,'
                   9464:       if test "$host_cpu" = ia64; then
                   9465:        # AIX 5 now supports IA64 processor
                   9466:        lt_prog_compiler_static='-Bstatic'
                   9467:       else
                   9468:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9469:       fi
                   9470:       ;;
                   9471: 
                   9472:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9473:       # This hack is so that the source file can tell whether it is being
                   9474:       # built for inclusion in a dll (and should export symbols for example).
                   9475:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9476:       ;;
                   9477: 
                   9478:     hpux9* | hpux10* | hpux11*)
                   9479:       lt_prog_compiler_wl='-Wl,'
                   9480:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9481:       # not for PA HP-UX.
                   9482:       case $host_cpu in
                   9483:       hppa*64*|ia64*)
                   9484:        # +Z the default
                   9485:        ;;
                   9486:       *)
                   9487:        lt_prog_compiler_pic='+Z'
                   9488:        ;;
                   9489:       esac
                   9490:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   9491:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   9492:       ;;
                   9493: 
                   9494:     irix5* | irix6* | nonstopux*)
                   9495:       lt_prog_compiler_wl='-Wl,'
                   9496:       # PIC (with -KPIC) is the default.
                   9497:       lt_prog_compiler_static='-non_shared'
                   9498:       ;;
                   9499: 
                   9500:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9501:       case $cc_basename in
                   9502:       # old Intel for x86_64 which still supported -KPIC.
                   9503:       ecc*)
                   9504:        lt_prog_compiler_wl='-Wl,'
                   9505:        lt_prog_compiler_pic='-KPIC'
                   9506:        lt_prog_compiler_static='-static'
                   9507:         ;;
                   9508:       # icc used to be incompatible with GCC.
                   9509:       # ICC 10 doesn't accept -KPIC any more.
                   9510:       icc* | ifort*)
                   9511:        lt_prog_compiler_wl='-Wl,'
                   9512:        lt_prog_compiler_pic='-fPIC'
                   9513:        lt_prog_compiler_static='-static'
                   9514:         ;;
                   9515:       # Lahey Fortran 8.1.
                   9516:       lf95*)
                   9517:        lt_prog_compiler_wl='-Wl,'
                   9518:        lt_prog_compiler_pic='--shared'
                   9519:        lt_prog_compiler_static='--static'
                   9520:        ;;
                   9521:       nagfor*)
                   9522:        # NAG Fortran compiler
                   9523:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   9524:        lt_prog_compiler_pic='-PIC'
                   9525:        lt_prog_compiler_static='-Bstatic'
                   9526:        ;;
                   9527:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   9528:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9529:        # which looks to be a dead project)
                   9530:        lt_prog_compiler_wl='-Wl,'
                   9531:        lt_prog_compiler_pic='-fpic'
                   9532:        lt_prog_compiler_static='-Bstatic'
                   9533:         ;;
                   9534:       ccc*)
                   9535:         lt_prog_compiler_wl='-Wl,'
                   9536:         # All Alpha code is PIC.
                   9537:         lt_prog_compiler_static='-non_shared'
                   9538:         ;;
                   9539:       xl* | bgxl* | bgf* | mpixl*)
                   9540:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   9541:        lt_prog_compiler_wl='-Wl,'
                   9542:        lt_prog_compiler_pic='-qpic'
                   9543:        lt_prog_compiler_static='-qstaticlink'
                   9544:        ;;
                   9545:       *)
                   9546:        case `$CC -V 2>&1 | sed 5q` in
                   9547:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   9548:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   9549:          lt_prog_compiler_pic='-KPIC'
                   9550:          lt_prog_compiler_static='-Bstatic'
                   9551:          lt_prog_compiler_wl=''
                   9552:          ;;
                   9553:        *Sun\ F* | *Sun*Fortran*)
                   9554:          lt_prog_compiler_pic='-KPIC'
                   9555:          lt_prog_compiler_static='-Bstatic'
                   9556:          lt_prog_compiler_wl='-Qoption ld '
                   9557:          ;;
                   9558:        *Sun\ C*)
                   9559:          # Sun C 5.9
                   9560:          lt_prog_compiler_pic='-KPIC'
                   9561:          lt_prog_compiler_static='-Bstatic'
                   9562:          lt_prog_compiler_wl='-Wl,'
                   9563:          ;;
                   9564:         *Intel*\ [CF]*Compiler*)
                   9565:          lt_prog_compiler_wl='-Wl,'
                   9566:          lt_prog_compiler_pic='-fPIC'
                   9567:          lt_prog_compiler_static='-static'
                   9568:          ;;
                   9569:        *Portland\ Group*)
                   9570:          lt_prog_compiler_wl='-Wl,'
                   9571:          lt_prog_compiler_pic='-fpic'
                   9572:          lt_prog_compiler_static='-Bstatic'
                   9573:          ;;
                   9574:        esac
                   9575:        ;;
                   9576:       esac
                   9577:       ;;
                   9578: 
                   9579:     newsos6)
                   9580:       lt_prog_compiler_pic='-KPIC'
                   9581:       lt_prog_compiler_static='-Bstatic'
                   9582:       ;;
                   9583: 
                   9584:     *nto* | *qnx*)
                   9585:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9586:       # it will coredump.
                   9587:       lt_prog_compiler_pic='-fPIC -shared'
                   9588:       ;;
                   9589: 
                   9590:     osf3* | osf4* | osf5*)
                   9591:       lt_prog_compiler_wl='-Wl,'
                   9592:       # All OSF/1 code is PIC.
                   9593:       lt_prog_compiler_static='-non_shared'
                   9594:       ;;
                   9595: 
                   9596:     rdos*)
                   9597:       lt_prog_compiler_static='-non_shared'
                   9598:       ;;
                   9599: 
                   9600:     solaris*)
                   9601:       lt_prog_compiler_pic='-KPIC'
                   9602:       lt_prog_compiler_static='-Bstatic'
                   9603:       case $cc_basename in
                   9604:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9605:        lt_prog_compiler_wl='-Qoption ld ';;
                   9606:       *)
                   9607:        lt_prog_compiler_wl='-Wl,';;
                   9608:       esac
                   9609:       ;;
                   9610: 
                   9611:     sunos4*)
                   9612:       lt_prog_compiler_wl='-Qoption ld '
                   9613:       lt_prog_compiler_pic='-PIC'
                   9614:       lt_prog_compiler_static='-Bstatic'
                   9615:       ;;
                   9616: 
                   9617:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9618:       lt_prog_compiler_wl='-Wl,'
                   9619:       lt_prog_compiler_pic='-KPIC'
                   9620:       lt_prog_compiler_static='-Bstatic'
                   9621:       ;;
                   9622: 
                   9623:     sysv4*MP*)
                   9624:       if test -d /usr/nec ;then
                   9625:        lt_prog_compiler_pic='-Kconform_pic'
                   9626:        lt_prog_compiler_static='-Bstatic'
                   9627:       fi
                   9628:       ;;
                   9629: 
                   9630:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9631:       lt_prog_compiler_wl='-Wl,'
                   9632:       lt_prog_compiler_pic='-KPIC'
                   9633:       lt_prog_compiler_static='-Bstatic'
                   9634:       ;;
                   9635: 
                   9636:     unicos*)
                   9637:       lt_prog_compiler_wl='-Wl,'
                   9638:       lt_prog_compiler_can_build_shared=no
                   9639:       ;;
                   9640: 
                   9641:     uts4*)
                   9642:       lt_prog_compiler_pic='-pic'
                   9643:       lt_prog_compiler_static='-Bstatic'
                   9644:       ;;
                   9645: 
                   9646:     *)
                   9647:       lt_prog_compiler_can_build_shared=no
                   9648:       ;;
                   9649:     esac
                   9650:   fi
                   9651: 
                   9652: case $host_os in
                   9653:   # For platforms which do not support PIC, -DPIC is meaningless:
                   9654:   *djgpp*)
                   9655:     lt_prog_compiler_pic=
                   9656:     ;;
                   9657:   *)
                   9658:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9659:     ;;
                   9660: esac
                   9661: 
1.150     moko     9662: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   9663: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   9664: if ${lt_cv_prog_compiler_pic+:} false; then :
                   9665:   $as_echo_n "(cached) " >&6
1.128     moko     9666: else
                   9667:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   9668: fi
1.150     moko     9669: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   9670: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     9671: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   9672: 
                   9673: #
                   9674: # Check to make sure the PIC flag actually works.
                   9675: #
                   9676: if test -n "$lt_prog_compiler_pic"; then
1.150     moko     9677:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   9678: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   9679: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   9680:   $as_echo_n "(cached) " >&6
1.128     moko     9681: else
                   9682:   lt_cv_prog_compiler_pic_works=no
                   9683:    ac_outfile=conftest.$ac_objext
                   9684:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9685:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   9686:    # Insert the option either (1) after the last *FLAGS variable, or
                   9687:    # (2) before a word containing "conftest.", or (3) at the end.
                   9688:    # Note that $ac_compile itself does not contain backslashes and begins
                   9689:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9690:    # The option is referenced via a variable to avoid confusing sed.
                   9691:    lt_compile=`echo "$ac_compile" | $SED \
                   9692:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9693:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9694:    -e 's:$: $lt_compiler_flag:'`
                   9695:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9696:    (eval "$lt_compile" 2>conftest.err)
                   9697:    ac_status=$?
                   9698:    cat conftest.err >&5
                   9699:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9700:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9701:      # The compiler can only warn and ignore the option if not recognized
                   9702:      # So say no if there are warnings other than the usual output.
                   9703:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9704:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9705:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9706:        lt_cv_prog_compiler_pic_works=yes
                   9707:      fi
                   9708:    fi
                   9709:    $RM conftest*
                   9710: 
                   9711: fi
1.150     moko     9712: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   9713: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     9714: 
                   9715: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   9716:     case $lt_prog_compiler_pic in
                   9717:      "" | " "*) ;;
                   9718:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9719:      esac
                   9720: else
                   9721:     lt_prog_compiler_pic=
                   9722:      lt_prog_compiler_can_build_shared=no
                   9723: fi
                   9724: 
                   9725: fi
                   9726: 
                   9727: 
                   9728: 
                   9729: 
                   9730: 
                   9731: 
                   9732: 
                   9733: 
                   9734: 
                   9735: 
                   9736: 
                   9737: #
                   9738: # Check to make sure the static flag actually works.
                   9739: #
                   9740: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150     moko     9741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   9742: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   9743: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   9744:   $as_echo_n "(cached) " >&6
1.128     moko     9745: else
                   9746:   lt_cv_prog_compiler_static_works=no
                   9747:    save_LDFLAGS="$LDFLAGS"
                   9748:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9749:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9750:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9751:      # The linker can only warn and ignore the option if not recognized
                   9752:      # So say no if there are warnings
                   9753:      if test -s conftest.err; then
                   9754:        # Append any errors to the config.log.
                   9755:        cat conftest.err 1>&5
                   9756:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9757:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9758:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9759:          lt_cv_prog_compiler_static_works=yes
                   9760:        fi
                   9761:      else
                   9762:        lt_cv_prog_compiler_static_works=yes
                   9763:      fi
                   9764:    fi
                   9765:    $RM -r conftest*
                   9766:    LDFLAGS="$save_LDFLAGS"
                   9767: 
                   9768: fi
1.150     moko     9769: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   9770: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     9771: 
                   9772: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   9773:     :
                   9774: else
                   9775:     lt_prog_compiler_static=
                   9776: fi
                   9777: 
                   9778: 
                   9779: 
                   9780: 
                   9781: 
                   9782: 
                   9783: 
1.150     moko     9784:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9785: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9786: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9787:   $as_echo_n "(cached) " >&6
1.128     moko     9788: else
                   9789:   lt_cv_prog_compiler_c_o=no
                   9790:    $RM -r conftest 2>/dev/null
                   9791:    mkdir conftest
                   9792:    cd conftest
                   9793:    mkdir out
                   9794:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9795: 
                   9796:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9797:    # Insert the option either (1) after the last *FLAGS variable, or
                   9798:    # (2) before a word containing "conftest.", or (3) at the end.
                   9799:    # Note that $ac_compile itself does not contain backslashes and begins
                   9800:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9801:    lt_compile=`echo "$ac_compile" | $SED \
                   9802:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9803:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9804:    -e 's:$: $lt_compiler_flag:'`
                   9805:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9806:    (eval "$lt_compile" 2>out/conftest.err)
                   9807:    ac_status=$?
                   9808:    cat out/conftest.err >&5
                   9809:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9810:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9811:    then
                   9812:      # The compiler can only warn and ignore the option if not recognized
                   9813:      # So say no if there are warnings
                   9814:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9815:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9816:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9817:        lt_cv_prog_compiler_c_o=yes
                   9818:      fi
                   9819:    fi
                   9820:    chmod u+w . 2>&5
                   9821:    $RM conftest*
                   9822:    # SGI C++ compiler will create directory out/ii_files/ for
                   9823:    # template instantiation
                   9824:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9825:    $RM out/* && rmdir out
                   9826:    cd ..
                   9827:    $RM -r conftest
                   9828:    $RM conftest*
                   9829: 
                   9830: fi
1.150     moko     9831: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9832: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9833: 
                   9834: 
                   9835: 
                   9836: 
                   9837: 
                   9838: 
1.150     moko     9839:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9840: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9841: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9842:   $as_echo_n "(cached) " >&6
1.128     moko     9843: else
                   9844:   lt_cv_prog_compiler_c_o=no
                   9845:    $RM -r conftest 2>/dev/null
                   9846:    mkdir conftest
                   9847:    cd conftest
                   9848:    mkdir out
                   9849:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9850: 
                   9851:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9852:    # Insert the option either (1) after the last *FLAGS variable, or
                   9853:    # (2) before a word containing "conftest.", or (3) at the end.
                   9854:    # Note that $ac_compile itself does not contain backslashes and begins
                   9855:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9856:    lt_compile=`echo "$ac_compile" | $SED \
                   9857:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9858:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9859:    -e 's:$: $lt_compiler_flag:'`
                   9860:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9861:    (eval "$lt_compile" 2>out/conftest.err)
                   9862:    ac_status=$?
                   9863:    cat out/conftest.err >&5
                   9864:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9865:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9866:    then
                   9867:      # The compiler can only warn and ignore the option if not recognized
                   9868:      # So say no if there are warnings
                   9869:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9870:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9871:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9872:        lt_cv_prog_compiler_c_o=yes
                   9873:      fi
                   9874:    fi
                   9875:    chmod u+w . 2>&5
                   9876:    $RM conftest*
                   9877:    # SGI C++ compiler will create directory out/ii_files/ for
                   9878:    # template instantiation
                   9879:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9880:    $RM out/* && rmdir out
                   9881:    cd ..
                   9882:    $RM -r conftest
                   9883:    $RM conftest*
                   9884: 
                   9885: fi
1.150     moko     9886: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9887: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9888: 
                   9889: 
                   9890: 
                   9891: 
                   9892: hard_links="nottested"
                   9893: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9894:   # do not overwrite the value of need_locks provided by the user
1.150     moko     9895:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   9896: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     9897:   hard_links=yes
                   9898:   $RM conftest*
                   9899:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9900:   touch conftest.a
                   9901:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9902:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     9903:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   9904: $as_echo "$hard_links" >&6; }
1.128     moko     9905:   if test "$hard_links" = no; then
1.150     moko     9906:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9907: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     9908:     need_locks=warn
                   9909:   fi
                   9910: else
                   9911:   need_locks=no
                   9912: fi
                   9913: 
                   9914: 
                   9915: 
                   9916: 
                   9917: 
                   9918: 
1.150     moko     9919:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9920: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     9921: 
                   9922:   runpath_var=
                   9923:   allow_undefined_flag=
                   9924:   always_export_symbols=no
                   9925:   archive_cmds=
                   9926:   archive_expsym_cmds=
                   9927:   compiler_needs_object=no
                   9928:   enable_shared_with_static_runtimes=no
                   9929:   export_dynamic_flag_spec=
                   9930:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9931:   hardcode_automatic=no
                   9932:   hardcode_direct=no
                   9933:   hardcode_direct_absolute=no
                   9934:   hardcode_libdir_flag_spec=
                   9935:   hardcode_libdir_separator=
                   9936:   hardcode_minus_L=no
                   9937:   hardcode_shlibpath_var=unsupported
                   9938:   inherit_rpath=no
                   9939:   link_all_deplibs=unknown
                   9940:   module_cmds=
                   9941:   module_expsym_cmds=
                   9942:   old_archive_from_new_cmds=
                   9943:   old_archive_from_expsyms_cmds=
                   9944:   thread_safe_flag_spec=
                   9945:   whole_archive_flag_spec=
                   9946:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9947:   # included in the symbol list
                   9948:   include_expsyms=
                   9949:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9950:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9951:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9952:   # as well as any symbol that contains `d'.
                   9953:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9954:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9955:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9956:   # the symbol is explicitly referenced.  Since portable code cannot
                   9957:   # rely on this symbol name, it's probably fine to never include it in
                   9958:   # preloaded symbol tables.
                   9959:   # Exclude shared library initialization/finalization symbols.
                   9960:   extract_expsyms_cmds=
                   9961: 
                   9962:   case $host_os in
                   9963:   cygwin* | mingw* | pw32* | cegcc*)
                   9964:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9965:     # When not using gcc, we currently assume that we are using
                   9966:     # Microsoft Visual C++.
                   9967:     if test "$GCC" != yes; then
                   9968:       with_gnu_ld=no
                   9969:     fi
                   9970:     ;;
                   9971:   interix*)
                   9972:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9973:     with_gnu_ld=yes
                   9974:     ;;
                   9975:   openbsd*)
                   9976:     with_gnu_ld=no
                   9977:     ;;
                   9978:   esac
                   9979: 
                   9980:   ld_shlibs=yes
                   9981: 
                   9982:   # On some targets, GNU ld is compatible enough with the native linker
                   9983:   # that we're better off using the native interface for both.
                   9984:   lt_use_gnu_ld_interface=no
                   9985:   if test "$with_gnu_ld" = yes; then
                   9986:     case $host_os in
                   9987:       aix*)
                   9988:        # The AIX port of GNU ld has always aspired to compatibility
                   9989:        # with the native linker.  However, as the warning in the GNU ld
                   9990:        # block says, versions before 2.19.5* couldn't really create working
                   9991:        # shared libraries, regardless of the interface used.
                   9992:        case `$LD -v 2>&1` in
                   9993:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9994:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9995:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9996:          *)
                   9997:            lt_use_gnu_ld_interface=yes
                   9998:            ;;
                   9999:        esac
                   10000:        ;;
                   10001:       *)
                   10002:        lt_use_gnu_ld_interface=yes
                   10003:        ;;
                   10004:     esac
                   10005:   fi
                   10006: 
                   10007:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10008:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10009:     wlarc='${wl}'
                   10010: 
                   10011:     # Set some defaults for GNU ld with shared library support. These
                   10012:     # are reset later if shared libraries are not supported. Putting them
                   10013:     # here allows them to be overridden if necessary.
                   10014:     runpath_var=LD_RUN_PATH
                   10015:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10016:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10017:     # ancient GNU ld didn't support --whole-archive et. al.
                   10018:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10019:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10020:     else
                   10021:       whole_archive_flag_spec=
                   10022:     fi
                   10023:     supports_anon_versioning=no
                   10024:     case `$LD -v 2>&1` in
                   10025:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10026:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10027:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10028:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10029:       *\ 2.11.*) ;; # other 2.11 versions
                   10030:       *) supports_anon_versioning=yes ;;
                   10031:     esac
                   10032: 
                   10033:     # See if GNU ld supports shared libraries.
                   10034:     case $host_os in
                   10035:     aix[3-9]*)
                   10036:       # On AIX/PPC, the GNU linker is very broken
                   10037:       if test "$host_cpu" != ia64; then
                   10038:        ld_shlibs=no
                   10039:        cat <<_LT_EOF 1>&2
                   10040: 
                   10041: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10042: *** to be unable to reliably create shared libraries on AIX.
                   10043: *** Therefore, libtool is disabling shared libraries support.  If you
                   10044: *** really care for shared libraries, you may want to install binutils
                   10045: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10046: *** You will then need to restart the configuration process.
                   10047: 
                   10048: _LT_EOF
                   10049:       fi
                   10050:       ;;
                   10051: 
                   10052:     amigaos*)
                   10053:       case $host_cpu in
                   10054:       powerpc)
                   10055:             # see comment about AmigaOS4 .so support
                   10056:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10057:             archive_expsym_cmds=''
                   10058:         ;;
                   10059:       m68k)
                   10060:             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)'
                   10061:             hardcode_libdir_flag_spec='-L$libdir'
                   10062:             hardcode_minus_L=yes
                   10063:         ;;
                   10064:       esac
                   10065:       ;;
                   10066: 
                   10067:     beos*)
                   10068:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10069:        allow_undefined_flag=unsupported
                   10070:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10071:        # support --undefined.  This deserves some investigation.  FIXME
                   10072:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10073:       else
                   10074:        ld_shlibs=no
                   10075:       fi
                   10076:       ;;
                   10077: 
                   10078:     cygwin* | mingw* | pw32* | cegcc*)
                   10079:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10080:       # as there is no search path for DLLs.
                   10081:       hardcode_libdir_flag_spec='-L$libdir'
                   10082:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10083:       allow_undefined_flag=unsupported
                   10084:       always_export_symbols=no
                   10085:       enable_shared_with_static_runtimes=yes
                   10086:       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'
                   10087:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10088: 
                   10089:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10090:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10091:        # If the export-symbols file already is a .def file (1st line
                   10092:        # is EXPORTS), use it as is; otherwise, prepend...
                   10093:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10094:          cp $export_symbols $output_objdir/$soname.def;
                   10095:        else
                   10096:          echo EXPORTS > $output_objdir/$soname.def;
                   10097:          cat $export_symbols >> $output_objdir/$soname.def;
                   10098:        fi~
                   10099:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10100:       else
                   10101:        ld_shlibs=no
                   10102:       fi
                   10103:       ;;
                   10104: 
                   10105:     haiku*)
                   10106:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10107:       link_all_deplibs=yes
                   10108:       ;;
                   10109: 
                   10110:     interix[3-9]*)
                   10111:       hardcode_direct=no
                   10112:       hardcode_shlibpath_var=no
                   10113:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10114:       export_dynamic_flag_spec='${wl}-E'
                   10115:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10116:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10117:       # default) and relocated if they conflict, which is a slow very memory
                   10118:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10119:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10120:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10121:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10122:       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'
                   10123:       ;;
                   10124: 
                   10125:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10126:       tmp_diet=no
                   10127:       if test "$host_os" = linux-dietlibc; then
                   10128:        case $cc_basename in
                   10129:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10130:        esac
                   10131:       fi
                   10132:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10133:         && test "$tmp_diet" = no
                   10134:       then
                   10135:        tmp_addflag=' $pic_flag'
                   10136:        tmp_sharedflag='-shared'
                   10137:        case $cc_basename,$host_cpu in
                   10138:         pgcc*)                         # Portland Group C compiler
                   10139:          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'
                   10140:          tmp_addflag=' $pic_flag'
                   10141:          ;;
                   10142:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10143:                                        # Portland Group f77 and f90 compilers
                   10144:          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'
                   10145:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10146:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10147:          tmp_addflag=' -i_dynamic' ;;
                   10148:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10149:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10150:        ifc* | ifort*)                  # Intel Fortran compiler
                   10151:          tmp_addflag=' -nofor_main' ;;
                   10152:        lf95*)                          # Lahey Fortran 8.1
                   10153:          whole_archive_flag_spec=
                   10154:          tmp_sharedflag='--shared' ;;
                   10155:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10156:          tmp_sharedflag='-qmkshrobj'
                   10157:          tmp_addflag= ;;
                   10158:        nvcc*)  # Cuda Compiler Driver 2.2
                   10159:          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'
                   10160:          compiler_needs_object=yes
                   10161:          ;;
                   10162:        esac
                   10163:        case `$CC -V 2>&1 | sed 5q` in
                   10164:        *Sun\ C*)                       # Sun C 5.9
                   10165:          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'
                   10166:          compiler_needs_object=yes
                   10167:          tmp_sharedflag='-G' ;;
                   10168:        *Sun\ F*)                       # Sun Fortran 8.3
                   10169:          tmp_sharedflag='-G' ;;
                   10170:        esac
                   10171:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10172: 
                   10173:         if test "x$supports_anon_versioning" = xyes; then
                   10174:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10175:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10176:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10177:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10178:         fi
                   10179: 
                   10180:        case $cc_basename in
                   10181:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10182:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10183:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10184:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10185:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10186:          if test "x$supports_anon_versioning" = xyes; then
                   10187:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10188:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10189:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10190:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10191:          fi
                   10192:          ;;
                   10193:        esac
                   10194:       else
                   10195:         ld_shlibs=no
                   10196:       fi
                   10197:       ;;
                   10198: 
                   10199:     netbsd*)
                   10200:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10201:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10202:        wlarc=
                   10203:       else
                   10204:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10205:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10206:       fi
                   10207:       ;;
                   10208: 
                   10209:     solaris*)
                   10210:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10211:        ld_shlibs=no
                   10212:        cat <<_LT_EOF 1>&2
                   10213: 
                   10214: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10215: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10216: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10217: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10218: *** your PATH or compiler configuration so that the native linker is
                   10219: *** used, and then restart.
                   10220: 
                   10221: _LT_EOF
                   10222:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10223:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10224:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10225:       else
                   10226:        ld_shlibs=no
                   10227:       fi
                   10228:       ;;
                   10229: 
                   10230:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10231:       case `$LD -v 2>&1` in
                   10232:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10233:        ld_shlibs=no
                   10234:        cat <<_LT_EOF 1>&2
                   10235: 
                   10236: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10237: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10238: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10239: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10240: *** your PATH or compiler configuration so that the native linker is
                   10241: *** used, and then restart.
                   10242: 
                   10243: _LT_EOF
                   10244:        ;;
                   10245:        *)
                   10246:          # For security reasons, it is highly recommended that you always
                   10247:          # use absolute paths for naming shared libraries, and exclude the
                   10248:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10249:          # requires that you compile everything twice, which is a pain.
                   10250:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10251:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10252:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10253:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10254:          else
                   10255:            ld_shlibs=no
                   10256:          fi
                   10257:        ;;
                   10258:       esac
                   10259:       ;;
                   10260: 
                   10261:     sunos4*)
                   10262:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10263:       wlarc=
                   10264:       hardcode_direct=yes
                   10265:       hardcode_shlibpath_var=no
                   10266:       ;;
                   10267: 
                   10268:     *)
                   10269:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10270:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10271:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10272:       else
                   10273:        ld_shlibs=no
                   10274:       fi
                   10275:       ;;
                   10276:     esac
                   10277: 
                   10278:     if test "$ld_shlibs" = no; then
                   10279:       runpath_var=
                   10280:       hardcode_libdir_flag_spec=
                   10281:       export_dynamic_flag_spec=
                   10282:       whole_archive_flag_spec=
                   10283:     fi
                   10284:   else
                   10285:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10286:     case $host_os in
                   10287:     aix3*)
                   10288:       allow_undefined_flag=unsupported
                   10289:       always_export_symbols=yes
                   10290:       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'
                   10291:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10292:       # are no directories specified by -L.
                   10293:       hardcode_minus_L=yes
                   10294:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10295:        # Neither direct hardcoding nor static linking is supported with a
                   10296:        # broken collect2.
                   10297:        hardcode_direct=unsupported
                   10298:       fi
                   10299:       ;;
                   10300: 
                   10301:     aix[4-9]*)
                   10302:       if test "$host_cpu" = ia64; then
                   10303:        # On IA64, the linker does run time linking by default, so we don't
                   10304:        # have to do anything special.
                   10305:        aix_use_runtimelinking=no
                   10306:        exp_sym_flag='-Bexport'
                   10307:        no_entry_flag=""
                   10308:       else
                   10309:        # If we're using GNU nm, then we don't want the "-C" option.
                   10310:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10311:        # Also, AIX nm treats weak defined symbols like other global
                   10312:        # defined symbols, whereas GNU nm marks them as "W".
                   10313:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10314:          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'
                   10315:        else
                   10316:          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'
                   10317:        fi
                   10318:        aix_use_runtimelinking=no
                   10319: 
                   10320:        # Test if we are trying to use run time linking or normal
                   10321:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10322:        # need to do runtime linking.
                   10323:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10324:          for ld_flag in $LDFLAGS; do
                   10325:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10326:            aix_use_runtimelinking=yes
                   10327:            break
                   10328:          fi
                   10329:          done
                   10330:          ;;
                   10331:        esac
                   10332: 
                   10333:        exp_sym_flag='-bexport'
                   10334:        no_entry_flag='-bnoentry'
                   10335:       fi
                   10336: 
                   10337:       # When large executables or shared objects are built, AIX ld can
                   10338:       # have problems creating the table of contents.  If linking a library
                   10339:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10340:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10341:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10342: 
                   10343:       archive_cmds=''
                   10344:       hardcode_direct=yes
                   10345:       hardcode_direct_absolute=yes
                   10346:       hardcode_libdir_separator=':'
                   10347:       link_all_deplibs=yes
                   10348:       file_list_spec='${wl}-f,'
                   10349: 
                   10350:       if test "$GCC" = yes; then
                   10351:        case $host_os in aix4.[012]|aix4.[012].*)
                   10352:        # We only want to do this on AIX 4.2 and lower, the check
                   10353:        # below for broken collect2 doesn't work under 4.3+
                   10354:          collect2name=`${CC} -print-prog-name=collect2`
                   10355:          if test -f "$collect2name" &&
                   10356:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10357:          then
                   10358:          # We have reworked collect2
                   10359:          :
                   10360:          else
                   10361:          # We have old collect2
                   10362:          hardcode_direct=unsupported
                   10363:          # It fails to find uninstalled libraries when the uninstalled
                   10364:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10365:          # to unsupported forces relinking
                   10366:          hardcode_minus_L=yes
                   10367:          hardcode_libdir_flag_spec='-L$libdir'
                   10368:          hardcode_libdir_separator=
                   10369:          fi
                   10370:          ;;
                   10371:        esac
                   10372:        shared_flag='-shared'
                   10373:        if test "$aix_use_runtimelinking" = yes; then
                   10374:          shared_flag="$shared_flag "'${wl}-G'
                   10375:        fi
                   10376:       else
                   10377:        # not using gcc
                   10378:        if test "$host_cpu" = ia64; then
                   10379:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10380:        # chokes on -Wl,-G. The following line is correct:
                   10381:          shared_flag='-G'
                   10382:        else
                   10383:          if test "$aix_use_runtimelinking" = yes; then
                   10384:            shared_flag='${wl}-G'
                   10385:          else
                   10386:            shared_flag='${wl}-bM:SRE'
                   10387:          fi
                   10388:        fi
                   10389:       fi
                   10390: 
                   10391:       export_dynamic_flag_spec='${wl}-bexpall'
                   10392:       # It seems that -bexpall does not export symbols beginning with
                   10393:       # underscore (_), so it is better to generate a list of symbols to export.
                   10394:       always_export_symbols=yes
                   10395:       if test "$aix_use_runtimelinking" = yes; then
                   10396:        # Warning - without using the other runtime loading flags (-brtl),
                   10397:        # -berok will link without error, but may produce a broken library.
                   10398:        allow_undefined_flag='-berok'
                   10399:         # Determine the default libpath from the value encoded in an
                   10400:         # empty executable.
                   10401:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10402:   aix_libpath=$lt_cv_aix_libpath
                   10403: else
1.150     moko     10404:   if ${lt_cv_aix_libpath_+:} false; then :
                   10405:   $as_echo_n "(cached) " >&6
1.128     moko     10406: else
1.150     moko     10407:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10408: /* end confdefs.h.  */
                   10409: 
                   10410: int
                   10411: main ()
                   10412: {
                   10413: 
                   10414:   ;
                   10415:   return 0;
                   10416: }
                   10417: _ACEOF
1.150     moko     10418: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10419: 
                   10420:   lt_aix_libpath_sed='
                   10421:       /Import File Strings/,/^$/ {
                   10422:          /^0/ {
                   10423:              s/^0  *\([^ ]*\) *$/\1/
                   10424:              p
                   10425:          }
                   10426:       }'
                   10427:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10428:   # Check for a 64-bit object if we didn't find anything.
                   10429:   if test -z "$lt_cv_aix_libpath_"; then
                   10430:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10431:   fi
                   10432: fi
1.150     moko     10433: rm -f core conftest.err conftest.$ac_objext \
                   10434:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10435:   if test -z "$lt_cv_aix_libpath_"; then
                   10436:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10437:   fi
                   10438: 
                   10439: fi
                   10440: 
                   10441:   aix_libpath=$lt_cv_aix_libpath_
                   10442: fi
                   10443: 
                   10444:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10445:         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"
                   10446:       else
                   10447:        if test "$host_cpu" = ia64; then
                   10448:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   10449:          allow_undefined_flag="-z nodefs"
                   10450:          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"
                   10451:        else
                   10452:         # Determine the default libpath from the value encoded in an
                   10453:         # empty executable.
                   10454:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10455:   aix_libpath=$lt_cv_aix_libpath
                   10456: else
1.150     moko     10457:   if ${lt_cv_aix_libpath_+:} false; then :
                   10458:   $as_echo_n "(cached) " >&6
1.128     moko     10459: else
1.150     moko     10460:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10461: /* end confdefs.h.  */
                   10462: 
                   10463: int
                   10464: main ()
                   10465: {
                   10466: 
                   10467:   ;
                   10468:   return 0;
                   10469: }
                   10470: _ACEOF
1.150     moko     10471: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10472: 
                   10473:   lt_aix_libpath_sed='
                   10474:       /Import File Strings/,/^$/ {
                   10475:          /^0/ {
                   10476:              s/^0  *\([^ ]*\) *$/\1/
                   10477:              p
                   10478:          }
                   10479:       }'
                   10480:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10481:   # Check for a 64-bit object if we didn't find anything.
                   10482:   if test -z "$lt_cv_aix_libpath_"; then
                   10483:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10484:   fi
                   10485: fi
1.150     moko     10486: rm -f core conftest.err conftest.$ac_objext \
                   10487:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10488:   if test -z "$lt_cv_aix_libpath_"; then
                   10489:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10490:   fi
                   10491: 
                   10492: fi
                   10493: 
                   10494:   aix_libpath=$lt_cv_aix_libpath_
                   10495: fi
                   10496: 
                   10497:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10498:          # Warning - without using the other run time loading flags,
                   10499:          # -berok will link without error, but may produce a broken library.
                   10500:          no_undefined_flag=' ${wl}-bernotok'
                   10501:          allow_undefined_flag=' ${wl}-berok'
                   10502:          if test "$with_gnu_ld" = yes; then
                   10503:            # We only use this code for GNU lds that support --whole-archive.
                   10504:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   10505:          else
                   10506:            # Exported symbols can be pulled into shared objects from archives
                   10507:            whole_archive_flag_spec='$convenience'
                   10508:          fi
                   10509:          archive_cmds_need_lc=yes
                   10510:          # This is similar to how AIX traditionally builds its shared libraries.
                   10511:          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'
                   10512:        fi
                   10513:       fi
                   10514:       ;;
                   10515: 
                   10516:     amigaos*)
                   10517:       case $host_cpu in
                   10518:       powerpc)
                   10519:             # see comment about AmigaOS4 .so support
                   10520:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10521:             archive_expsym_cmds=''
                   10522:         ;;
                   10523:       m68k)
                   10524:             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)'
                   10525:             hardcode_libdir_flag_spec='-L$libdir'
                   10526:             hardcode_minus_L=yes
                   10527:         ;;
                   10528:       esac
                   10529:       ;;
                   10530: 
                   10531:     bsdi[45]*)
                   10532:       export_dynamic_flag_spec=-rdynamic
                   10533:       ;;
                   10534: 
                   10535:     cygwin* | mingw* | pw32* | cegcc*)
                   10536:       # When not using gcc, we currently assume that we are using
                   10537:       # Microsoft Visual C++.
                   10538:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10539:       # no search path for DLLs.
                   10540:       case $cc_basename in
                   10541:       cl*)
                   10542:        # Native MSVC
                   10543:        hardcode_libdir_flag_spec=' '
                   10544:        allow_undefined_flag=unsupported
                   10545:        always_export_symbols=yes
                   10546:        file_list_spec='@'
                   10547:        # Tell ltmain to make .lib files, not .a files.
                   10548:        libext=lib
                   10549:        # Tell ltmain to make .dll files, not .so files.
                   10550:        shrext_cmds=".dll"
                   10551:        # FIXME: Setting linknames here is a bad hack.
                   10552:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   10553:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10554:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   10555:          else
                   10556:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   10557:          fi~
                   10558:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10559:          linknames='
                   10560:        # The linker will not automatically build a static lib if we build a DLL.
                   10561:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10562:        enable_shared_with_static_runtimes=yes
                   10563:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10564:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10565:        # Don't use ranlib
                   10566:        old_postinstall_cmds='chmod 644 $oldlib'
                   10567:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10568:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10569:          case $lt_outputfile in
                   10570:            *.exe|*.EXE) ;;
                   10571:            *)
                   10572:              lt_outputfile="$lt_outputfile.exe"
                   10573:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10574:              ;;
                   10575:          esac~
                   10576:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10577:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10578:            $RM "$lt_outputfile.manifest";
                   10579:          fi'
                   10580:        ;;
                   10581:       *)
                   10582:        # Assume MSVC wrapper
                   10583:        hardcode_libdir_flag_spec=' '
                   10584:        allow_undefined_flag=unsupported
                   10585:        # Tell ltmain to make .lib files, not .a files.
                   10586:        libext=lib
                   10587:        # Tell ltmain to make .dll files, not .so files.
                   10588:        shrext_cmds=".dll"
                   10589:        # FIXME: Setting linknames here is a bad hack.
                   10590:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10591:        # The linker will automatically build a .lib file if we build a DLL.
                   10592:        old_archive_from_new_cmds='true'
                   10593:        # FIXME: Should let the user specify the lib program.
                   10594:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10595:        enable_shared_with_static_runtimes=yes
                   10596:        ;;
                   10597:       esac
                   10598:       ;;
                   10599: 
                   10600:     darwin* | rhapsody*)
                   10601: 
                   10602: 
                   10603:   archive_cmds_need_lc=no
                   10604:   hardcode_direct=no
                   10605:   hardcode_automatic=yes
                   10606:   hardcode_shlibpath_var=unsupported
                   10607:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10608:     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\"`'
                   10609: 
                   10610:   else
                   10611:     whole_archive_flag_spec=''
                   10612:   fi
                   10613:   link_all_deplibs=yes
                   10614:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10615:   case $cc_basename in
                   10616:      ifort*) _lt_dar_can_shared=yes ;;
                   10617:      *) _lt_dar_can_shared=$GCC ;;
                   10618:   esac
                   10619:   if test "$_lt_dar_can_shared" = "yes"; then
                   10620:     output_verbose_link_cmd=func_echo_all
                   10621:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10622:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   10623:     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}"
                   10624:     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}"
                   10625: 
                   10626:   else
                   10627:   ld_shlibs=no
                   10628:   fi
                   10629: 
                   10630:       ;;
                   10631: 
                   10632:     dgux*)
                   10633:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10634:       hardcode_libdir_flag_spec='-L$libdir'
                   10635:       hardcode_shlibpath_var=no
                   10636:       ;;
                   10637: 
                   10638:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   10639:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   10640:     # does not break anything, and helps significantly (at the cost of a little
                   10641:     # extra space).
                   10642:     freebsd2.2*)
                   10643:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   10644:       hardcode_libdir_flag_spec='-R$libdir'
                   10645:       hardcode_direct=yes
                   10646:       hardcode_shlibpath_var=no
                   10647:       ;;
                   10648: 
                   10649:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   10650:     freebsd2.*)
                   10651:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10652:       hardcode_direct=yes
                   10653:       hardcode_minus_L=yes
                   10654:       hardcode_shlibpath_var=no
                   10655:       ;;
                   10656: 
                   10657:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   10658:     freebsd* | dragonfly*)
                   10659:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10660:       hardcode_libdir_flag_spec='-R$libdir'
                   10661:       hardcode_direct=yes
                   10662:       hardcode_shlibpath_var=no
                   10663:       ;;
                   10664: 
                   10665:     hpux9*)
                   10666:       if test "$GCC" = yes; then
                   10667:        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'
                   10668:       else
                   10669:        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'
                   10670:       fi
                   10671:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10672:       hardcode_libdir_separator=:
                   10673:       hardcode_direct=yes
                   10674: 
                   10675:       # hardcode_minus_L: Not really in the search PATH,
                   10676:       # but as the default location of the library.
                   10677:       hardcode_minus_L=yes
                   10678:       export_dynamic_flag_spec='${wl}-E'
                   10679:       ;;
                   10680: 
                   10681:     hpux10*)
                   10682:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10683:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10684:       else
                   10685:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10686:       fi
                   10687:       if test "$with_gnu_ld" = no; then
                   10688:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10689:        hardcode_libdir_separator=:
                   10690:        hardcode_direct=yes
                   10691:        hardcode_direct_absolute=yes
                   10692:        export_dynamic_flag_spec='${wl}-E'
                   10693:        # hardcode_minus_L: Not really in the search PATH,
                   10694:        # but as the default location of the library.
                   10695:        hardcode_minus_L=yes
                   10696:       fi
                   10697:       ;;
                   10698: 
                   10699:     hpux11*)
                   10700:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10701:        case $host_cpu in
                   10702:        hppa*64*)
                   10703:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10704:          ;;
                   10705:        ia64*)
                   10706:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10707:          ;;
                   10708:        *)
                   10709:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10710:          ;;
                   10711:        esac
                   10712:       else
                   10713:        case $host_cpu in
                   10714:        hppa*64*)
                   10715:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10716:          ;;
                   10717:        ia64*)
                   10718:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10719:          ;;
                   10720:        *)
                   10721: 
                   10722:          # Older versions of the 11.00 compiler do not understand -b yet
                   10723:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150     moko     10724:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   10725: $as_echo_n "checking if $CC understands -b... " >&6; }
                   10726: if ${lt_cv_prog_compiler__b+:} false; then :
                   10727:   $as_echo_n "(cached) " >&6
1.128     moko     10728: else
                   10729:   lt_cv_prog_compiler__b=no
                   10730:    save_LDFLAGS="$LDFLAGS"
                   10731:    LDFLAGS="$LDFLAGS -b"
                   10732:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10733:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10734:      # The linker can only warn and ignore the option if not recognized
                   10735:      # So say no if there are warnings
                   10736:      if test -s conftest.err; then
                   10737:        # Append any errors to the config.log.
                   10738:        cat conftest.err 1>&5
                   10739:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10740:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10741:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10742:          lt_cv_prog_compiler__b=yes
                   10743:        fi
                   10744:      else
                   10745:        lt_cv_prog_compiler__b=yes
                   10746:      fi
                   10747:    fi
                   10748:    $RM -r conftest*
                   10749:    LDFLAGS="$save_LDFLAGS"
                   10750: 
                   10751: fi
1.150     moko     10752: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   10753: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     10754: 
                   10755: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10756:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10757: else
                   10758:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10759: fi
                   10760: 
                   10761:          ;;
                   10762:        esac
                   10763:       fi
                   10764:       if test "$with_gnu_ld" = no; then
                   10765:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10766:        hardcode_libdir_separator=:
                   10767: 
                   10768:        case $host_cpu in
                   10769:        hppa*64*|ia64*)
                   10770:          hardcode_direct=no
                   10771:          hardcode_shlibpath_var=no
                   10772:          ;;
                   10773:        *)
                   10774:          hardcode_direct=yes
                   10775:          hardcode_direct_absolute=yes
                   10776:          export_dynamic_flag_spec='${wl}-E'
                   10777: 
                   10778:          # hardcode_minus_L: Not really in the search PATH,
                   10779:          # but as the default location of the library.
                   10780:          hardcode_minus_L=yes
                   10781:          ;;
                   10782:        esac
                   10783:       fi
                   10784:       ;;
                   10785: 
                   10786:     irix5* | irix6* | nonstopux*)
                   10787:       if test "$GCC" = yes; then
                   10788:        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'
                   10789:        # Try to use the -exported_symbol ld option, if it does not
                   10790:        # work, assume that -exports_file does not work either and
                   10791:        # implicitly export all symbols.
                   10792:        # This should be the same for all languages, so no per-tag cache variable.
1.150     moko     10793:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10794: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   10795: if ${lt_cv_irix_exported_symbol+:} false; then :
                   10796:   $as_echo_n "(cached) " >&6
1.128     moko     10797: else
                   10798:   save_LDFLAGS="$LDFLAGS"
                   10799:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150     moko     10800:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10801: /* end confdefs.h.  */
                   10802: int foo (void) { return 0; }
                   10803: _ACEOF
1.150     moko     10804: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10805:   lt_cv_irix_exported_symbol=yes
                   10806: else
1.150     moko     10807:   lt_cv_irix_exported_symbol=no
1.128     moko     10808: fi
1.150     moko     10809: rm -f core conftest.err conftest.$ac_objext \
                   10810:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10811:            LDFLAGS="$save_LDFLAGS"
                   10812: fi
1.150     moko     10813: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   10814: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     10815:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10816:           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'
                   10817:        fi
                   10818:       else
                   10819:        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'
                   10820:        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'
                   10821:       fi
                   10822:       archive_cmds_need_lc='no'
                   10823:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10824:       hardcode_libdir_separator=:
                   10825:       inherit_rpath=yes
                   10826:       link_all_deplibs=yes
                   10827:       ;;
                   10828: 
                   10829:     netbsd*)
                   10830:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10831:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10832:       else
                   10833:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10834:       fi
                   10835:       hardcode_libdir_flag_spec='-R$libdir'
                   10836:       hardcode_direct=yes
                   10837:       hardcode_shlibpath_var=no
                   10838:       ;;
                   10839: 
                   10840:     newsos6)
                   10841:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10842:       hardcode_direct=yes
                   10843:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10844:       hardcode_libdir_separator=:
                   10845:       hardcode_shlibpath_var=no
                   10846:       ;;
                   10847: 
                   10848:     *nto* | *qnx*)
                   10849:       ;;
                   10850: 
                   10851:     openbsd*)
                   10852:       if test -f /usr/libexec/ld.so; then
                   10853:        hardcode_direct=yes
                   10854:        hardcode_shlibpath_var=no
                   10855:        hardcode_direct_absolute=yes
                   10856:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10857:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10858:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10859:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10860:          export_dynamic_flag_spec='${wl}-E'
                   10861:        else
                   10862:          case $host_os in
                   10863:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10864:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10865:             hardcode_libdir_flag_spec='-R$libdir'
                   10866:             ;;
                   10867:           *)
                   10868:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10869:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10870:             ;;
                   10871:          esac
                   10872:        fi
                   10873:       else
                   10874:        ld_shlibs=no
                   10875:       fi
                   10876:       ;;
                   10877: 
                   10878:     os2*)
                   10879:       hardcode_libdir_flag_spec='-L$libdir'
                   10880:       hardcode_minus_L=yes
                   10881:       allow_undefined_flag=unsupported
                   10882:       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'
                   10883:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10884:       ;;
                   10885: 
                   10886:     osf3*)
                   10887:       if test "$GCC" = yes; then
                   10888:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10889:        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'
                   10890:       else
                   10891:        allow_undefined_flag=' -expect_unresolved \*'
                   10892:        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'
                   10893:       fi
                   10894:       archive_cmds_need_lc='no'
                   10895:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10896:       hardcode_libdir_separator=:
                   10897:       ;;
                   10898: 
                   10899:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10900:       if test "$GCC" = yes; then
                   10901:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10902:        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'
                   10903:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10904:       else
                   10905:        allow_undefined_flag=' -expect_unresolved \*'
                   10906:        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'
                   10907:        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~
                   10908:        $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'
                   10909: 
                   10910:        # Both c and cxx compiler support -rpath directly
                   10911:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10912:       fi
                   10913:       archive_cmds_need_lc='no'
                   10914:       hardcode_libdir_separator=:
                   10915:       ;;
                   10916: 
                   10917:     solaris*)
                   10918:       no_undefined_flag=' -z defs'
                   10919:       if test "$GCC" = yes; then
                   10920:        wlarc='${wl}'
                   10921:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10922:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10923:          $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'
                   10924:       else
                   10925:        case `$CC -V 2>&1` in
                   10926:        *"Compilers 5.0"*)
                   10927:          wlarc=''
                   10928:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10929:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10930:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10931:          ;;
                   10932:        *)
                   10933:          wlarc='${wl}'
                   10934:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10935:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10936:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10937:          ;;
                   10938:        esac
                   10939:       fi
                   10940:       hardcode_libdir_flag_spec='-R$libdir'
                   10941:       hardcode_shlibpath_var=no
                   10942:       case $host_os in
                   10943:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10944:       *)
                   10945:        # The compiler driver will combine and reorder linker options,
                   10946:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10947:        # but is careful enough not to reorder.
                   10948:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10949:        if test "$GCC" = yes; then
                   10950:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10951:        else
                   10952:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10953:        fi
                   10954:        ;;
                   10955:       esac
                   10956:       link_all_deplibs=yes
                   10957:       ;;
                   10958: 
                   10959:     sunos4*)
                   10960:       if test "x$host_vendor" = xsequent; then
                   10961:        # Use $CC to link under sequent, because it throws in some extra .o
                   10962:        # files that make .init and .fini sections work.
                   10963:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10964:       else
                   10965:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10966:       fi
                   10967:       hardcode_libdir_flag_spec='-L$libdir'
                   10968:       hardcode_direct=yes
                   10969:       hardcode_minus_L=yes
                   10970:       hardcode_shlibpath_var=no
                   10971:       ;;
                   10972: 
                   10973:     sysv4)
                   10974:       case $host_vendor in
                   10975:        sni)
                   10976:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10977:          hardcode_direct=yes # is this really true???
                   10978:        ;;
                   10979:        siemens)
                   10980:          ## LD is ld it makes a PLAMLIB
                   10981:          ## CC just makes a GrossModule.
                   10982:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10983:          reload_cmds='$CC -r -o $output$reload_objs'
                   10984:          hardcode_direct=no
                   10985:         ;;
                   10986:        motorola)
                   10987:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10988:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10989:        ;;
                   10990:       esac
                   10991:       runpath_var='LD_RUN_PATH'
                   10992:       hardcode_shlibpath_var=no
                   10993:       ;;
                   10994: 
                   10995:     sysv4.3*)
                   10996:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10997:       hardcode_shlibpath_var=no
                   10998:       export_dynamic_flag_spec='-Bexport'
                   10999:       ;;
                   11000: 
                   11001:     sysv4*MP*)
                   11002:       if test -d /usr/nec; then
                   11003:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11004:        hardcode_shlibpath_var=no
                   11005:        runpath_var=LD_RUN_PATH
                   11006:        hardcode_runpath_var=yes
                   11007:        ld_shlibs=yes
                   11008:       fi
                   11009:       ;;
                   11010: 
                   11011:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11012:       no_undefined_flag='${wl}-z,text'
                   11013:       archive_cmds_need_lc=no
                   11014:       hardcode_shlibpath_var=no
                   11015:       runpath_var='LD_RUN_PATH'
                   11016: 
                   11017:       if test "$GCC" = yes; then
                   11018:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11019:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11020:       else
                   11021:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11022:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11023:       fi
                   11024:       ;;
                   11025: 
                   11026:     sysv5* | sco3.2v5* | sco5v6*)
                   11027:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11028:       # link with -lc, and that would cause any symbols used from libc to
                   11029:       # always be unresolved, which means just about no library would
                   11030:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11031:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11032:       # as -z defs.
                   11033:       no_undefined_flag='${wl}-z,text'
                   11034:       allow_undefined_flag='${wl}-z,nodefs'
                   11035:       archive_cmds_need_lc=no
                   11036:       hardcode_shlibpath_var=no
                   11037:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11038:       hardcode_libdir_separator=':'
                   11039:       link_all_deplibs=yes
                   11040:       export_dynamic_flag_spec='${wl}-Bexport'
                   11041:       runpath_var='LD_RUN_PATH'
                   11042: 
                   11043:       if test "$GCC" = yes; then
                   11044:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11045:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11046:       else
                   11047:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11048:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11049:       fi
                   11050:       ;;
                   11051: 
                   11052:     uts4*)
                   11053:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11054:       hardcode_libdir_flag_spec='-L$libdir'
                   11055:       hardcode_shlibpath_var=no
                   11056:       ;;
                   11057: 
                   11058:     *)
                   11059:       ld_shlibs=no
                   11060:       ;;
                   11061:     esac
                   11062: 
                   11063:     if test x$host_vendor = xsni; then
                   11064:       case $host in
                   11065:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11066:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11067:        ;;
                   11068:       esac
                   11069:     fi
                   11070:   fi
                   11071: 
1.150     moko     11072: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11073: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11074: test "$ld_shlibs" = no && can_build_shared=no
                   11075: 
                   11076: with_gnu_ld=$with_gnu_ld
                   11077: 
                   11078: 
                   11079: 
                   11080: 
                   11081: 
                   11082: 
                   11083: 
                   11084: 
                   11085: 
                   11086: 
                   11087: 
                   11088: 
                   11089: 
                   11090: 
                   11091: 
                   11092: #
                   11093: # Do we need to explicitly link libc?
                   11094: #
                   11095: case "x$archive_cmds_need_lc" in
                   11096: x|xyes)
                   11097:   # Assume -lc should be added
                   11098:   archive_cmds_need_lc=yes
                   11099: 
                   11100:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11101:     case $archive_cmds in
                   11102:     *'~'*)
                   11103:       # FIXME: we may have to deal with multi-command sequences.
                   11104:       ;;
                   11105:     '$CC '*)
                   11106:       # Test whether the compiler implicitly links with -lc since on some
                   11107:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11108:       # to ld, don't add -lc before -lgcc.
1.150     moko     11109:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11110: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11111: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11112:   $as_echo_n "(cached) " >&6
1.128     moko     11113: else
                   11114:   $RM conftest*
                   11115:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11116: 
1.150     moko     11117:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11118:   (eval $ac_compile) 2>&5
                   11119:   ac_status=$?
1.150     moko     11120:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11121:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11122:          soname=conftest
                   11123:          lib=conftest
                   11124:          libobjs=conftest.$ac_objext
                   11125:          deplibs=
                   11126:          wl=$lt_prog_compiler_wl
                   11127:          pic_flag=$lt_prog_compiler_pic
                   11128:          compiler_flags=-v
                   11129:          linker_flags=-v
                   11130:          verstring=
                   11131:          output_objdir=.
                   11132:          libname=conftest
                   11133:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11134:          allow_undefined_flag=
1.150     moko     11135:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11136:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11137:   ac_status=$?
1.150     moko     11138:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11139:   test $ac_status = 0; }
1.128     moko     11140:          then
                   11141:            lt_cv_archive_cmds_need_lc=no
                   11142:          else
                   11143:            lt_cv_archive_cmds_need_lc=yes
                   11144:          fi
                   11145:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11146:        else
                   11147:          cat conftest.err 1>&5
                   11148:        fi
                   11149:        $RM conftest*
                   11150: 
                   11151: fi
1.150     moko     11152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11153: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11154:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11155:       ;;
                   11156:     esac
                   11157:   fi
                   11158:   ;;
                   11159: esac
                   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: 
                   11305: 
                   11306: 
                   11307: 
                   11308: 
                   11309: 
                   11310: 
                   11311: 
1.150     moko     11312:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11313: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11314: 
                   11315: if test "$GCC" = yes; then
                   11316:   case $host_os in
                   11317:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11318:     *) lt_awk_arg="/^libraries:/" ;;
                   11319:   esac
                   11320:   case $host_os in
                   11321:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11322:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11323:   esac
                   11324:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11325:   case $lt_search_path_spec in
                   11326:   *\;*)
                   11327:     # if the path contains ";" then we assume it to be the separator
                   11328:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11329:     # assumed that no part of a normal pathname contains ";" but that should
                   11330:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11331:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11332:     ;;
                   11333:   *)
                   11334:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11335:     ;;
                   11336:   esac
                   11337:   # Ok, now we have the path, separated by spaces, we can step through it
                   11338:   # and add multilib dir if necessary.
                   11339:   lt_tmp_lt_search_path_spec=
                   11340:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11341:   for lt_sys_path in $lt_search_path_spec; do
                   11342:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11343:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11344:     else
                   11345:       test -d "$lt_sys_path" && \
                   11346:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11347:     fi
                   11348:   done
                   11349:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11350: BEGIN {RS=" "; FS="/|\n";} {
                   11351:   lt_foo="";
                   11352:   lt_count=0;
                   11353:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11354:     if ($lt_i != "" && $lt_i != ".") {
                   11355:       if ($lt_i == "..") {
                   11356:         lt_count++;
                   11357:       } else {
                   11358:         if (lt_count == 0) {
                   11359:           lt_foo="/" $lt_i lt_foo;
                   11360:         } else {
                   11361:           lt_count--;
                   11362:         }
                   11363:       }
                   11364:     }
                   11365:   }
                   11366:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11367:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11368: }'`
                   11369:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11370:   # for these hosts.
                   11371:   case $host_os in
                   11372:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11373:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11374:   esac
                   11375:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11376: else
                   11377:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11378: fi
                   11379: library_names_spec=
                   11380: libname_spec='lib$name'
                   11381: soname_spec=
                   11382: shrext_cmds=".so"
                   11383: postinstall_cmds=
                   11384: postuninstall_cmds=
                   11385: finish_cmds=
                   11386: finish_eval=
                   11387: shlibpath_var=
                   11388: shlibpath_overrides_runpath=unknown
                   11389: version_type=none
                   11390: dynamic_linker="$host_os ld.so"
                   11391: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11392: need_lib_prefix=unknown
                   11393: hardcode_into_libs=no
                   11394: 
                   11395: # when you set need_version to no, make sure it does not cause -set_version
                   11396: # flags to be left without arguments
                   11397: need_version=unknown
                   11398: 
                   11399: case $host_os in
                   11400: aix3*)
                   11401:   version_type=linux # correct to gnu/linux during the next big refactor
                   11402:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11403:   shlibpath_var=LIBPATH
                   11404: 
                   11405:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11406:   soname_spec='${libname}${release}${shared_ext}$major'
                   11407:   ;;
                   11408: 
                   11409: aix[4-9]*)
                   11410:   version_type=linux # correct to gnu/linux during the next big refactor
                   11411:   need_lib_prefix=no
                   11412:   need_version=no
                   11413:   hardcode_into_libs=yes
                   11414:   if test "$host_cpu" = ia64; then
                   11415:     # AIX 5 supports IA64
                   11416:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11417:     shlibpath_var=LD_LIBRARY_PATH
                   11418:   else
                   11419:     # With GCC up to 2.95.x, collect2 would create an import file
                   11420:     # for dependence libraries.  The import file would start with
                   11421:     # the line `#! .'.  This would cause the generated library to
                   11422:     # depend on `.', always an invalid library.  This was fixed in
                   11423:     # development snapshots of GCC prior to 3.0.
                   11424:     case $host_os in
                   11425:       aix4 | aix4.[01] | aix4.[01].*)
                   11426:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11427:           echo ' yes '
                   11428:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11429:        :
                   11430:       else
                   11431:        can_build_shared=no
                   11432:       fi
                   11433:       ;;
                   11434:     esac
                   11435:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11436:     # soname into executable. Probably we can add versioning support to
                   11437:     # collect2, so additional links can be useful in future.
                   11438:     if test "$aix_use_runtimelinking" = yes; then
                   11439:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11440:       # instead of lib<name>.a to let people know that these are not
                   11441:       # typical AIX shared libraries.
                   11442:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11443:     else
                   11444:       # We preserve .a as extension for shared libraries through AIX4.2
                   11445:       # and later when we are not doing run time linking.
                   11446:       library_names_spec='${libname}${release}.a $libname.a'
                   11447:       soname_spec='${libname}${release}${shared_ext}$major'
                   11448:     fi
                   11449:     shlibpath_var=LIBPATH
                   11450:   fi
                   11451:   ;;
                   11452: 
                   11453: amigaos*)
                   11454:   case $host_cpu in
                   11455:   powerpc)
                   11456:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11457:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   11458:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11459:     ;;
                   11460:   m68k)
                   11461:     library_names_spec='$libname.ixlibrary $libname.a'
                   11462:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   11463:     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'
                   11464:     ;;
                   11465:   esac
                   11466:   ;;
                   11467: 
                   11468: beos*)
                   11469:   library_names_spec='${libname}${shared_ext}'
                   11470:   dynamic_linker="$host_os ld.so"
                   11471:   shlibpath_var=LIBRARY_PATH
                   11472:   ;;
                   11473: 
                   11474: bsdi[45]*)
                   11475:   version_type=linux # correct to gnu/linux during the next big refactor
                   11476:   need_version=no
                   11477:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11478:   soname_spec='${libname}${release}${shared_ext}$major'
                   11479:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11480:   shlibpath_var=LD_LIBRARY_PATH
                   11481:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11482:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11483:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11484:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11485:   # libtool to hard-code these into programs
                   11486:   ;;
                   11487: 
                   11488: cygwin* | mingw* | pw32* | cegcc*)
                   11489:   version_type=windows
                   11490:   shrext_cmds=".dll"
                   11491:   need_version=no
                   11492:   need_lib_prefix=no
                   11493: 
                   11494:   case $GCC,$cc_basename in
                   11495:   yes,*)
                   11496:     # gcc
                   11497:     library_names_spec='$libname.dll.a'
                   11498:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11499:     postinstall_cmds='base_file=`basename \${file}`~
                   11500:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11501:       dldir=$destdir/`dirname \$dlpath`~
                   11502:       test -d \$dldir || mkdir -p \$dldir~
                   11503:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11504:       chmod a+x \$dldir/$dlname~
                   11505:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11506:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11507:       fi'
                   11508:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11509:       dlpath=$dir/\$dldll~
                   11510:        $RM \$dlpath'
                   11511:     shlibpath_overrides_runpath=yes
                   11512: 
                   11513:     case $host_os in
                   11514:     cygwin*)
                   11515:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   11516:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11517: 
                   11518:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   11519:       ;;
                   11520:     mingw* | cegcc*)
                   11521:       # MinGW DLLs use traditional 'lib' prefix
                   11522:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11523:       ;;
                   11524:     pw32*)
                   11525:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   11526:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11527:       ;;
                   11528:     esac
                   11529:     dynamic_linker='Win32 ld.exe'
                   11530:     ;;
                   11531: 
                   11532:   *,cl*)
                   11533:     # Native MSVC
                   11534:     libname_spec='$name'
                   11535:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11536:     library_names_spec='${libname}.dll.lib'
                   11537: 
                   11538:     case $build_os in
                   11539:     mingw*)
                   11540:       sys_lib_search_path_spec=
                   11541:       lt_save_ifs=$IFS
                   11542:       IFS=';'
                   11543:       for lt_path in $LIB
                   11544:       do
                   11545:         IFS=$lt_save_ifs
                   11546:         # Let DOS variable expansion print the short 8.3 style file name.
                   11547:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   11548:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   11549:       done
                   11550:       IFS=$lt_save_ifs
                   11551:       # Convert to MSYS style.
                   11552:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   11553:       ;;
                   11554:     cygwin*)
                   11555:       # Convert to unix form, then to dos form, then back to unix form
                   11556:       # but this time dos style (no spaces!) so that the unix form looks
                   11557:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   11558:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11559:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11560:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11561:       ;;
                   11562:     *)
                   11563:       sys_lib_search_path_spec="$LIB"
                   11564:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11565:         # It is most probably a Windows format PATH.
                   11566:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11567:       else
                   11568:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11569:       fi
                   11570:       # FIXME: find the short name or the path components, as spaces are
                   11571:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11572:       ;;
                   11573:     esac
                   11574: 
                   11575:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11576:     postinstall_cmds='base_file=`basename \${file}`~
                   11577:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11578:       dldir=$destdir/`dirname \$dlpath`~
                   11579:       test -d \$dldir || mkdir -p \$dldir~
                   11580:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11581:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11582:       dlpath=$dir/\$dldll~
                   11583:        $RM \$dlpath'
                   11584:     shlibpath_overrides_runpath=yes
                   11585:     dynamic_linker='Win32 link.exe'
                   11586:     ;;
                   11587: 
                   11588:   *)
                   11589:     # Assume MSVC wrapper
                   11590:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11591:     dynamic_linker='Win32 ld.exe'
                   11592:     ;;
                   11593:   esac
                   11594:   # FIXME: first we should search . and the directory the executable is in
                   11595:   shlibpath_var=PATH
                   11596:   ;;
                   11597: 
                   11598: darwin* | rhapsody*)
                   11599:   dynamic_linker="$host_os dyld"
                   11600:   version_type=darwin
                   11601:   need_lib_prefix=no
                   11602:   need_version=no
                   11603:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11604:   soname_spec='${libname}${release}${major}$shared_ext'
                   11605:   shlibpath_overrides_runpath=yes
                   11606:   shlibpath_var=DYLD_LIBRARY_PATH
                   11607:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11608: 
                   11609:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11610:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11611:   ;;
                   11612: 
                   11613: dgux*)
                   11614:   version_type=linux # correct to gnu/linux during the next big refactor
                   11615:   need_lib_prefix=no
                   11616:   need_version=no
                   11617:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11618:   soname_spec='${libname}${release}${shared_ext}$major'
                   11619:   shlibpath_var=LD_LIBRARY_PATH
                   11620:   ;;
                   11621: 
                   11622: freebsd* | dragonfly*)
                   11623:   # DragonFly does not have aout.  When/if they implement a new
                   11624:   # versioning mechanism, adjust this.
                   11625:   if test -x /usr/bin/objformat; then
                   11626:     objformat=`/usr/bin/objformat`
                   11627:   else
                   11628:     case $host_os in
                   11629:     freebsd[23].*) objformat=aout ;;
                   11630:     *) objformat=elf ;;
                   11631:     esac
                   11632:   fi
                   11633:   version_type=freebsd-$objformat
                   11634:   case $version_type in
                   11635:     freebsd-elf*)
                   11636:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11637:       need_version=no
                   11638:       need_lib_prefix=no
                   11639:       ;;
                   11640:     freebsd-*)
                   11641:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   11642:       need_version=yes
                   11643:       ;;
                   11644:   esac
                   11645:   shlibpath_var=LD_LIBRARY_PATH
                   11646:   case $host_os in
                   11647:   freebsd2.*)
                   11648:     shlibpath_overrides_runpath=yes
                   11649:     ;;
                   11650:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11651:     shlibpath_overrides_runpath=yes
                   11652:     hardcode_into_libs=yes
                   11653:     ;;
                   11654:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11655:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11656:     shlibpath_overrides_runpath=no
                   11657:     hardcode_into_libs=yes
                   11658:     ;;
                   11659:   *) # from 4.6 on, and DragonFly
                   11660:     shlibpath_overrides_runpath=yes
                   11661:     hardcode_into_libs=yes
                   11662:     ;;
                   11663:   esac
                   11664:   ;;
                   11665: 
                   11666: gnu*)
                   11667:   version_type=linux # correct to gnu/linux during the next big refactor
                   11668:   need_lib_prefix=no
                   11669:   need_version=no
                   11670:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11671:   soname_spec='${libname}${release}${shared_ext}$major'
                   11672:   shlibpath_var=LD_LIBRARY_PATH
                   11673:   shlibpath_overrides_runpath=no
                   11674:   hardcode_into_libs=yes
                   11675:   ;;
                   11676: 
                   11677: haiku*)
                   11678:   version_type=linux # correct to gnu/linux during the next big refactor
                   11679:   need_lib_prefix=no
                   11680:   need_version=no
                   11681:   dynamic_linker="$host_os runtime_loader"
                   11682:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11683:   soname_spec='${libname}${release}${shared_ext}$major'
                   11684:   shlibpath_var=LIBRARY_PATH
                   11685:   shlibpath_overrides_runpath=yes
                   11686:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   11687:   hardcode_into_libs=yes
                   11688:   ;;
                   11689: 
                   11690: hpux9* | hpux10* | hpux11*)
                   11691:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11692:   # link against other versions.
                   11693:   version_type=sunos
                   11694:   need_lib_prefix=no
                   11695:   need_version=no
                   11696:   case $host_cpu in
                   11697:   ia64*)
                   11698:     shrext_cmds='.so'
                   11699:     hardcode_into_libs=yes
                   11700:     dynamic_linker="$host_os dld.so"
                   11701:     shlibpath_var=LD_LIBRARY_PATH
                   11702:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11703:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11704:     soname_spec='${libname}${release}${shared_ext}$major'
                   11705:     if test "X$HPUX_IA64_MODE" = X32; then
                   11706:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11707:     else
                   11708:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11709:     fi
                   11710:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11711:     ;;
                   11712:   hppa*64*)
                   11713:     shrext_cmds='.sl'
                   11714:     hardcode_into_libs=yes
                   11715:     dynamic_linker="$host_os dld.sl"
                   11716:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11717:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11718:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11719:     soname_spec='${libname}${release}${shared_ext}$major'
                   11720:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11721:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11722:     ;;
                   11723:   *)
                   11724:     shrext_cmds='.sl'
                   11725:     dynamic_linker="$host_os dld.sl"
                   11726:     shlibpath_var=SHLIB_PATH
                   11727:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11728:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11729:     soname_spec='${libname}${release}${shared_ext}$major'
                   11730:     ;;
                   11731:   esac
                   11732:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11733:   postinstall_cmds='chmod 555 $lib'
                   11734:   # or fails outright, so override atomically:
                   11735:   install_override_mode=555
                   11736:   ;;
                   11737: 
                   11738: interix[3-9]*)
                   11739:   version_type=linux # correct to gnu/linux during the next big refactor
                   11740:   need_lib_prefix=no
                   11741:   need_version=no
                   11742:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11743:   soname_spec='${libname}${release}${shared_ext}$major'
                   11744:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11745:   shlibpath_var=LD_LIBRARY_PATH
                   11746:   shlibpath_overrides_runpath=no
                   11747:   hardcode_into_libs=yes
                   11748:   ;;
                   11749: 
                   11750: irix5* | irix6* | nonstopux*)
                   11751:   case $host_os in
                   11752:     nonstopux*) version_type=nonstopux ;;
                   11753:     *)
                   11754:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11755:                version_type=linux # correct to gnu/linux during the next big refactor
                   11756:        else
                   11757:                version_type=irix
                   11758:        fi ;;
                   11759:   esac
                   11760:   need_lib_prefix=no
                   11761:   need_version=no
                   11762:   soname_spec='${libname}${release}${shared_ext}$major'
                   11763:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11764:   case $host_os in
                   11765:   irix5* | nonstopux*)
                   11766:     libsuff= shlibsuff=
                   11767:     ;;
                   11768:   *)
                   11769:     case $LD in # libtool.m4 will add one of these switches to LD
                   11770:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11771:       libsuff= shlibsuff= libmagic=32-bit;;
                   11772:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11773:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11774:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11775:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11776:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11777:     esac
                   11778:     ;;
                   11779:   esac
                   11780:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11781:   shlibpath_overrides_runpath=no
                   11782:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11783:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11784:   hardcode_into_libs=yes
                   11785:   ;;
                   11786: 
                   11787: # No shared lib support for Linux oldld, aout, or coff.
                   11788: linux*oldld* | linux*aout* | linux*coff*)
                   11789:   dynamic_linker=no
                   11790:   ;;
                   11791: 
                   11792: # This must be glibc/ELF.
                   11793: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11794:   version_type=linux # correct to gnu/linux during the next big refactor
                   11795:   need_lib_prefix=no
                   11796:   need_version=no
                   11797:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11798:   soname_spec='${libname}${release}${shared_ext}$major'
                   11799:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11800:   shlibpath_var=LD_LIBRARY_PATH
                   11801:   shlibpath_overrides_runpath=no
                   11802: 
                   11803:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     11804:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   11805:   $as_echo_n "(cached) " >&6
1.128     moko     11806: else
                   11807:   lt_cv_shlibpath_overrides_runpath=no
                   11808:     save_LDFLAGS=$LDFLAGS
                   11809:     save_libdir=$libdir
                   11810:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11811:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     11812:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11813: /* end confdefs.h.  */
                   11814: 
                   11815: int
                   11816: main ()
                   11817: {
                   11818: 
                   11819:   ;
                   11820:   return 0;
                   11821: }
                   11822: _ACEOF
1.150     moko     11823: if ac_fn_c_try_link "$LINENO"; then :
                   11824:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     11825:   lt_cv_shlibpath_overrides_runpath=yes
                   11826: fi
                   11827: fi
1.150     moko     11828: rm -f core conftest.err conftest.$ac_objext \
                   11829:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11830:     LDFLAGS=$save_LDFLAGS
                   11831:     libdir=$save_libdir
                   11832: 
                   11833: fi
                   11834: 
                   11835:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11836: 
                   11837:   # This implies no fast_install, which is unacceptable.
                   11838:   # Some rework will be needed to allow for fast_install
                   11839:   # before this can be enabled.
                   11840:   hardcode_into_libs=yes
                   11841: 
                   11842:   # Append ld.so.conf contents to the search path
                   11843:   if test -f /etc/ld.so.conf; then
                   11844:     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' ' '`
                   11845:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11846:   fi
                   11847: 
                   11848:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11849:   # powerpc, because MkLinux only supported shared libraries with the
                   11850:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11851:   # most powerpc-linux boxes support dynamic linking these days and
                   11852:   # people can always --disable-shared, the test was removed, and we
                   11853:   # assume the GNU/Linux dynamic linker is in use.
                   11854:   dynamic_linker='GNU/Linux ld.so'
                   11855:   ;;
                   11856: 
                   11857: netbsd*)
                   11858:   version_type=sunos
                   11859:   need_lib_prefix=no
                   11860:   need_version=no
                   11861:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11862:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11863:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11864:     dynamic_linker='NetBSD (a.out) ld.so'
                   11865:   else
                   11866:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11867:     soname_spec='${libname}${release}${shared_ext}$major'
                   11868:     dynamic_linker='NetBSD ld.elf_so'
                   11869:   fi
                   11870:   shlibpath_var=LD_LIBRARY_PATH
                   11871:   shlibpath_overrides_runpath=yes
                   11872:   hardcode_into_libs=yes
                   11873:   ;;
                   11874: 
                   11875: newsos6)
                   11876:   version_type=linux # correct to gnu/linux during the next big refactor
                   11877:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11878:   shlibpath_var=LD_LIBRARY_PATH
                   11879:   shlibpath_overrides_runpath=yes
                   11880:   ;;
                   11881: 
                   11882: *nto* | *qnx*)
                   11883:   version_type=qnx
                   11884:   need_lib_prefix=no
                   11885:   need_version=no
                   11886:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11887:   soname_spec='${libname}${release}${shared_ext}$major'
                   11888:   shlibpath_var=LD_LIBRARY_PATH
                   11889:   shlibpath_overrides_runpath=no
                   11890:   hardcode_into_libs=yes
                   11891:   dynamic_linker='ldqnx.so'
                   11892:   ;;
                   11893: 
                   11894: openbsd*)
                   11895:   version_type=sunos
                   11896:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11897:   need_lib_prefix=no
                   11898:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11899:   case $host_os in
                   11900:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11901:     *)                         need_version=no  ;;
                   11902:   esac
                   11903:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11904:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11905:   shlibpath_var=LD_LIBRARY_PATH
                   11906:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11907:     case $host_os in
                   11908:       openbsd2.[89] | openbsd2.[89].*)
                   11909:        shlibpath_overrides_runpath=no
                   11910:        ;;
                   11911:       *)
                   11912:        shlibpath_overrides_runpath=yes
                   11913:        ;;
                   11914:       esac
                   11915:   else
                   11916:     shlibpath_overrides_runpath=yes
                   11917:   fi
                   11918:   ;;
                   11919: 
                   11920: os2*)
                   11921:   libname_spec='$name'
                   11922:   shrext_cmds=".dll"
                   11923:   need_lib_prefix=no
                   11924:   library_names_spec='$libname${shared_ext} $libname.a'
                   11925:   dynamic_linker='OS/2 ld.exe'
                   11926:   shlibpath_var=LIBPATH
                   11927:   ;;
                   11928: 
                   11929: osf3* | osf4* | osf5*)
                   11930:   version_type=osf
                   11931:   need_lib_prefix=no
                   11932:   need_version=no
                   11933:   soname_spec='${libname}${release}${shared_ext}$major'
                   11934:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11935:   shlibpath_var=LD_LIBRARY_PATH
                   11936:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11937:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11938:   ;;
                   11939: 
                   11940: rdos*)
                   11941:   dynamic_linker=no
                   11942:   ;;
                   11943: 
                   11944: solaris*)
                   11945:   version_type=linux # correct to gnu/linux during the next big refactor
                   11946:   need_lib_prefix=no
                   11947:   need_version=no
                   11948:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11949:   soname_spec='${libname}${release}${shared_ext}$major'
                   11950:   shlibpath_var=LD_LIBRARY_PATH
                   11951:   shlibpath_overrides_runpath=yes
                   11952:   hardcode_into_libs=yes
                   11953:   # ldd complains unless libraries are executable
                   11954:   postinstall_cmds='chmod +x $lib'
                   11955:   ;;
                   11956: 
                   11957: sunos4*)
                   11958:   version_type=sunos
                   11959:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11960:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11961:   shlibpath_var=LD_LIBRARY_PATH
                   11962:   shlibpath_overrides_runpath=yes
                   11963:   if test "$with_gnu_ld" = yes; then
                   11964:     need_lib_prefix=no
                   11965:   fi
                   11966:   need_version=yes
                   11967:   ;;
                   11968: 
                   11969: sysv4 | sysv4.3*)
                   11970:   version_type=linux # correct to gnu/linux during the next big refactor
                   11971:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11972:   soname_spec='${libname}${release}${shared_ext}$major'
                   11973:   shlibpath_var=LD_LIBRARY_PATH
                   11974:   case $host_vendor in
                   11975:     sni)
                   11976:       shlibpath_overrides_runpath=no
                   11977:       need_lib_prefix=no
                   11978:       runpath_var=LD_RUN_PATH
                   11979:       ;;
                   11980:     siemens)
                   11981:       need_lib_prefix=no
                   11982:       ;;
                   11983:     motorola)
                   11984:       need_lib_prefix=no
                   11985:       need_version=no
                   11986:       shlibpath_overrides_runpath=no
                   11987:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11988:       ;;
                   11989:   esac
                   11990:   ;;
                   11991: 
                   11992: sysv4*MP*)
                   11993:   if test -d /usr/nec ;then
                   11994:     version_type=linux # correct to gnu/linux during the next big refactor
                   11995:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   11996:     soname_spec='$libname${shared_ext}.$major'
                   11997:     shlibpath_var=LD_LIBRARY_PATH
                   11998:   fi
                   11999:   ;;
                   12000: 
                   12001: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12002:   version_type=freebsd-elf
                   12003:   need_lib_prefix=no
                   12004:   need_version=no
                   12005:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12006:   soname_spec='${libname}${release}${shared_ext}$major'
                   12007:   shlibpath_var=LD_LIBRARY_PATH
                   12008:   shlibpath_overrides_runpath=yes
                   12009:   hardcode_into_libs=yes
                   12010:   if test "$with_gnu_ld" = yes; then
                   12011:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12012:   else
                   12013:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12014:     case $host_os in
                   12015:       sco3.2v5*)
                   12016:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12017:        ;;
                   12018:     esac
                   12019:   fi
                   12020:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12021:   ;;
                   12022: 
                   12023: tpf*)
                   12024:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12025:   version_type=linux # correct to gnu/linux during the next big refactor
                   12026:   need_lib_prefix=no
                   12027:   need_version=no
                   12028:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12029:   shlibpath_var=LD_LIBRARY_PATH
                   12030:   shlibpath_overrides_runpath=no
                   12031:   hardcode_into_libs=yes
                   12032:   ;;
                   12033: 
                   12034: uts4*)
                   12035:   version_type=linux # correct to gnu/linux during the next big refactor
                   12036:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12037:   soname_spec='${libname}${release}${shared_ext}$major'
                   12038:   shlibpath_var=LD_LIBRARY_PATH
                   12039:   ;;
                   12040: 
                   12041: *)
                   12042:   dynamic_linker=no
                   12043:   ;;
                   12044: esac
1.150     moko     12045: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12046: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12047: test "$dynamic_linker" = no && can_build_shared=no
                   12048: 
                   12049: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12050: if test "$GCC" = yes; then
                   12051:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12052: fi
                   12053: 
                   12054: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12055:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12056: fi
                   12057: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12058:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12059: fi
                   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: 
                   12145: 
                   12146: 
                   12147: 
                   12148: 
                   12149: 
                   12150: 
                   12151: 
1.150     moko     12152:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12153: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12154: hardcode_action=
                   12155: if test -n "$hardcode_libdir_flag_spec" ||
                   12156:    test -n "$runpath_var" ||
                   12157:    test "X$hardcode_automatic" = "Xyes" ; then
                   12158: 
                   12159:   # We can hardcode non-existent directories.
                   12160:   if test "$hardcode_direct" != no &&
                   12161:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12162:      # have to relink, otherwise we might link with an installed library
                   12163:      # when we should be linking with a yet-to-be-installed one
                   12164:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12165:      test "$hardcode_minus_L" != no; then
                   12166:     # Linking always hardcodes the temporary library directory.
                   12167:     hardcode_action=relink
                   12168:   else
                   12169:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12170:     hardcode_action=immediate
                   12171:   fi
                   12172: else
                   12173:   # We cannot hardcode anything, or else we can only hardcode existing
                   12174:   # directories.
                   12175:   hardcode_action=unsupported
                   12176: fi
1.150     moko     12177: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12178: $as_echo "$hardcode_action" >&6; }
1.128     moko     12179: 
                   12180: if test "$hardcode_action" = relink ||
                   12181:    test "$inherit_rpath" = yes; then
                   12182:   # Fast installation is not supported
                   12183:   enable_fast_install=no
                   12184: elif test "$shlibpath_overrides_runpath" = yes ||
                   12185:      test "$enable_shared" = no; then
                   12186:   # Fast installation is not necessary
                   12187:   enable_fast_install=needless
                   12188: fi
                   12189: 
                   12190: 
                   12191: 
                   12192: 
                   12193: 
                   12194: 
                   12195:   if test "x$enable_dlopen" != xyes; then
                   12196:   enable_dlopen=unknown
                   12197:   enable_dlopen_self=unknown
                   12198:   enable_dlopen_self_static=unknown
                   12199: else
                   12200:   lt_cv_dlopen=no
                   12201:   lt_cv_dlopen_libs=
                   12202: 
                   12203:   case $host_os in
                   12204:   beos*)
                   12205:     lt_cv_dlopen="load_add_on"
                   12206:     lt_cv_dlopen_libs=
                   12207:     lt_cv_dlopen_self=yes
                   12208:     ;;
                   12209: 
                   12210:   mingw* | pw32* | cegcc*)
                   12211:     lt_cv_dlopen="LoadLibrary"
                   12212:     lt_cv_dlopen_libs=
                   12213:     ;;
                   12214: 
                   12215:   cygwin*)
                   12216:     lt_cv_dlopen="dlopen"
                   12217:     lt_cv_dlopen_libs=
                   12218:     ;;
                   12219: 
                   12220:   darwin*)
                   12221:   # if libdl is installed we need to link against it
1.150     moko     12222:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12223: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12224: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12225:   $as_echo_n "(cached) " >&6
1.128     moko     12226: else
                   12227:   ac_check_lib_save_LIBS=$LIBS
                   12228: LIBS="-ldl  $LIBS"
1.150     moko     12229: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12230: /* end confdefs.h.  */
                   12231: 
1.150     moko     12232: /* Override any GCC internal prototype to avoid an error.
                   12233:    Use char because int might match the return type of a GCC
                   12234:    builtin and then its argument prototype would still apply.  */
1.128     moko     12235: #ifdef __cplusplus
                   12236: extern "C"
                   12237: #endif
                   12238: char dlopen ();
                   12239: int
                   12240: main ()
                   12241: {
1.150     moko     12242: return dlopen ();
1.128     moko     12243:   ;
                   12244:   return 0;
                   12245: }
                   12246: _ACEOF
1.150     moko     12247: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12248:   ac_cv_lib_dl_dlopen=yes
                   12249: else
1.150     moko     12250:   ac_cv_lib_dl_dlopen=no
1.128     moko     12251: fi
1.150     moko     12252: rm -f core conftest.err conftest.$ac_objext \
                   12253:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12254: LIBS=$ac_check_lib_save_LIBS
                   12255: fi
1.150     moko     12256: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12257: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12258: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12259:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12260: else
                   12261: 
                   12262:     lt_cv_dlopen="dyld"
                   12263:     lt_cv_dlopen_libs=
                   12264:     lt_cv_dlopen_self=yes
                   12265: 
                   12266: fi
                   12267: 
                   12268:     ;;
                   12269: 
                   12270:   *)
1.150     moko     12271:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12272: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12273:   lt_cv_dlopen="shl_load"
                   12274: else
1.150     moko     12275:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12276: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12277: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12278:   $as_echo_n "(cached) " >&6
1.128     moko     12279: else
                   12280:   ac_check_lib_save_LIBS=$LIBS
                   12281: LIBS="-ldld  $LIBS"
1.150     moko     12282: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12283: /* end confdefs.h.  */
                   12284: 
1.150     moko     12285: /* Override any GCC internal prototype to avoid an error.
                   12286:    Use char because int might match the return type of a GCC
                   12287:    builtin and then its argument prototype would still apply.  */
1.128     moko     12288: #ifdef __cplusplus
                   12289: extern "C"
                   12290: #endif
                   12291: char shl_load ();
                   12292: int
                   12293: main ()
                   12294: {
1.150     moko     12295: return shl_load ();
1.128     moko     12296:   ;
                   12297:   return 0;
                   12298: }
                   12299: _ACEOF
1.150     moko     12300: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12301:   ac_cv_lib_dld_shl_load=yes
                   12302: else
1.150     moko     12303:   ac_cv_lib_dld_shl_load=no
1.128     moko     12304: fi
1.150     moko     12305: rm -f core conftest.err conftest.$ac_objext \
                   12306:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12307: LIBS=$ac_check_lib_save_LIBS
                   12308: fi
1.150     moko     12309: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12310: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   12311: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12312:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12313: else
1.150     moko     12314:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   12315: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12316:   lt_cv_dlopen="dlopen"
                   12317: else
1.150     moko     12318:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12319: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12320: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12321:   $as_echo_n "(cached) " >&6
1.128     moko     12322: else
                   12323:   ac_check_lib_save_LIBS=$LIBS
                   12324: LIBS="-ldl  $LIBS"
1.150     moko     12325: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12326: /* end confdefs.h.  */
                   12327: 
1.150     moko     12328: /* Override any GCC internal prototype to avoid an error.
                   12329:    Use char because int might match the return type of a GCC
                   12330:    builtin and then its argument prototype would still apply.  */
1.128     moko     12331: #ifdef __cplusplus
                   12332: extern "C"
                   12333: #endif
                   12334: char dlopen ();
                   12335: int
                   12336: main ()
                   12337: {
1.150     moko     12338: return dlopen ();
1.128     moko     12339:   ;
                   12340:   return 0;
                   12341: }
                   12342: _ACEOF
1.150     moko     12343: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12344:   ac_cv_lib_dl_dlopen=yes
                   12345: else
1.150     moko     12346:   ac_cv_lib_dl_dlopen=no
1.128     moko     12347: fi
1.150     moko     12348: rm -f core conftest.err conftest.$ac_objext \
                   12349:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12350: LIBS=$ac_check_lib_save_LIBS
                   12351: fi
1.150     moko     12352: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12353: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12354: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12355:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12356: else
1.150     moko     12357:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12358: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   12359: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   12360:   $as_echo_n "(cached) " >&6
1.128     moko     12361: else
                   12362:   ac_check_lib_save_LIBS=$LIBS
                   12363: LIBS="-lsvld  $LIBS"
1.150     moko     12364: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12365: /* end confdefs.h.  */
                   12366: 
1.150     moko     12367: /* Override any GCC internal prototype to avoid an error.
                   12368:    Use char because int might match the return type of a GCC
                   12369:    builtin and then its argument prototype would still apply.  */
1.128     moko     12370: #ifdef __cplusplus
                   12371: extern "C"
                   12372: #endif
                   12373: char dlopen ();
                   12374: int
                   12375: main ()
                   12376: {
1.150     moko     12377: return dlopen ();
1.128     moko     12378:   ;
                   12379:   return 0;
                   12380: }
                   12381: _ACEOF
1.150     moko     12382: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12383:   ac_cv_lib_svld_dlopen=yes
                   12384: else
1.150     moko     12385:   ac_cv_lib_svld_dlopen=no
1.128     moko     12386: fi
1.150     moko     12387: rm -f core conftest.err conftest.$ac_objext \
                   12388:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12389: LIBS=$ac_check_lib_save_LIBS
                   12390: fi
1.150     moko     12391: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12392: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   12393: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12394:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12395: else
1.150     moko     12396:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12397: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   12398: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   12399:   $as_echo_n "(cached) " >&6
1.128     moko     12400: else
                   12401:   ac_check_lib_save_LIBS=$LIBS
                   12402: LIBS="-ldld  $LIBS"
1.150     moko     12403: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12404: /* end confdefs.h.  */
                   12405: 
1.150     moko     12406: /* Override any GCC internal prototype to avoid an error.
                   12407:    Use char because int might match the return type of a GCC
                   12408:    builtin and then its argument prototype would still apply.  */
1.128     moko     12409: #ifdef __cplusplus
                   12410: extern "C"
                   12411: #endif
                   12412: char dld_link ();
                   12413: int
                   12414: main ()
                   12415: {
1.150     moko     12416: return dld_link ();
1.128     moko     12417:   ;
                   12418:   return 0;
                   12419: }
                   12420: _ACEOF
1.150     moko     12421: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12422:   ac_cv_lib_dld_dld_link=yes
                   12423: else
1.150     moko     12424:   ac_cv_lib_dld_dld_link=no
                   12425: fi
                   12426: rm -f core conftest.err conftest.$ac_objext \
                   12427:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12428: LIBS=$ac_check_lib_save_LIBS
                   12429: fi
1.150     moko     12430: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12431: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   12432: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12433:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12434: fi
                   12435: 
                   12436: 
                   12437: fi
                   12438: 
                   12439: 
                   12440: fi
                   12441: 
                   12442: 
                   12443: fi
                   12444: 
                   12445: 
                   12446: fi
                   12447: 
                   12448: 
                   12449: fi
                   12450: 
                   12451:     ;;
                   12452:   esac
                   12453: 
                   12454:   if test "x$lt_cv_dlopen" != xno; then
                   12455:     enable_dlopen=yes
                   12456:   else
                   12457:     enable_dlopen=no
                   12458:   fi
                   12459: 
                   12460:   case $lt_cv_dlopen in
                   12461:   dlopen)
                   12462:     save_CPPFLAGS="$CPPFLAGS"
                   12463:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12464: 
                   12465:     save_LDFLAGS="$LDFLAGS"
                   12466:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12467: 
                   12468:     save_LIBS="$LIBS"
                   12469:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12470: 
1.150     moko     12471:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   12472: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   12473: if ${lt_cv_dlopen_self+:} false; then :
                   12474:   $as_echo_n "(cached) " >&6
1.128     moko     12475: else
                   12476:          if test "$cross_compiling" = yes; then :
                   12477:   lt_cv_dlopen_self=cross
                   12478: else
                   12479:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12480:   lt_status=$lt_dlunknown
                   12481:   cat > conftest.$ac_ext <<_LT_EOF
                   12482: #line $LINENO "configure"
                   12483: #include "confdefs.h"
                   12484: 
                   12485: #if HAVE_DLFCN_H
                   12486: #include <dlfcn.h>
                   12487: #endif
                   12488: 
                   12489: #include <stdio.h>
                   12490: 
                   12491: #ifdef RTLD_GLOBAL
                   12492: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12493: #else
                   12494: #  ifdef DL_GLOBAL
                   12495: #    define LT_DLGLOBAL                DL_GLOBAL
                   12496: #  else
                   12497: #    define LT_DLGLOBAL                0
                   12498: #  endif
                   12499: #endif
                   12500: 
                   12501: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12502:    find out it does not work in some platform. */
                   12503: #ifndef LT_DLLAZY_OR_NOW
                   12504: #  ifdef RTLD_LAZY
                   12505: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12506: #  else
                   12507: #    ifdef DL_LAZY
                   12508: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12509: #    else
                   12510: #      ifdef RTLD_NOW
                   12511: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12512: #      else
                   12513: #        ifdef DL_NOW
                   12514: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12515: #        else
                   12516: #          define LT_DLLAZY_OR_NOW     0
                   12517: #        endif
                   12518: #      endif
                   12519: #    endif
                   12520: #  endif
                   12521: #endif
                   12522: 
                   12523: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12524:    correspondingly for the symbols needed.  */
                   12525: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12526: int fnord () __attribute__((visibility("default")));
                   12527: #endif
                   12528: 
                   12529: int fnord () { return 42; }
                   12530: int main ()
                   12531: {
                   12532:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12533:   int status = $lt_dlunknown;
                   12534: 
                   12535:   if (self)
                   12536:     {
                   12537:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12538:       else
                   12539:         {
                   12540:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12541:           else puts (dlerror ());
                   12542:        }
                   12543:       /* dlclose (self); */
                   12544:     }
                   12545:   else
                   12546:     puts (dlerror ());
                   12547: 
                   12548:   return status;
                   12549: }
                   12550: _LT_EOF
1.150     moko     12551:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12552:   (eval $ac_link) 2>&5
                   12553:   ac_status=$?
1.150     moko     12554:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12555:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12556:     (./conftest; exit; ) >&5 2>/dev/null
                   12557:     lt_status=$?
                   12558:     case x$lt_status in
                   12559:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12560:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12561:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12562:     esac
                   12563:   else :
                   12564:     # compilation failed
                   12565:     lt_cv_dlopen_self=no
                   12566:   fi
                   12567: fi
                   12568: rm -fr conftest*
                   12569: 
                   12570: 
                   12571: fi
1.150     moko     12572: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12573: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     12574: 
                   12575:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12576:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150     moko     12577:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12578: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12579: if ${lt_cv_dlopen_self_static+:} false; then :
                   12580:   $as_echo_n "(cached) " >&6
1.128     moko     12581: else
                   12582:          if test "$cross_compiling" = yes; then :
                   12583:   lt_cv_dlopen_self_static=cross
                   12584: else
                   12585:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12586:   lt_status=$lt_dlunknown
                   12587:   cat > conftest.$ac_ext <<_LT_EOF
                   12588: #line $LINENO "configure"
                   12589: #include "confdefs.h"
                   12590: 
                   12591: #if HAVE_DLFCN_H
                   12592: #include <dlfcn.h>
                   12593: #endif
                   12594: 
                   12595: #include <stdio.h>
                   12596: 
                   12597: #ifdef RTLD_GLOBAL
                   12598: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12599: #else
                   12600: #  ifdef DL_GLOBAL
                   12601: #    define LT_DLGLOBAL                DL_GLOBAL
                   12602: #  else
                   12603: #    define LT_DLGLOBAL                0
                   12604: #  endif
                   12605: #endif
                   12606: 
                   12607: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12608:    find out it does not work in some platform. */
                   12609: #ifndef LT_DLLAZY_OR_NOW
                   12610: #  ifdef RTLD_LAZY
                   12611: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12612: #  else
                   12613: #    ifdef DL_LAZY
                   12614: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12615: #    else
                   12616: #      ifdef RTLD_NOW
                   12617: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12618: #      else
                   12619: #        ifdef DL_NOW
                   12620: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12621: #        else
                   12622: #          define LT_DLLAZY_OR_NOW     0
                   12623: #        endif
                   12624: #      endif
                   12625: #    endif
                   12626: #  endif
                   12627: #endif
                   12628: 
                   12629: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12630:    correspondingly for the symbols needed.  */
                   12631: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12632: int fnord () __attribute__((visibility("default")));
                   12633: #endif
                   12634: 
                   12635: int fnord () { return 42; }
                   12636: int main ()
                   12637: {
                   12638:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12639:   int status = $lt_dlunknown;
                   12640: 
                   12641:   if (self)
                   12642:     {
                   12643:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12644:       else
                   12645:         {
                   12646:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12647:           else puts (dlerror ());
                   12648:        }
                   12649:       /* dlclose (self); */
                   12650:     }
                   12651:   else
                   12652:     puts (dlerror ());
                   12653: 
                   12654:   return status;
                   12655: }
                   12656: _LT_EOF
1.150     moko     12657:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12658:   (eval $ac_link) 2>&5
                   12659:   ac_status=$?
1.150     moko     12660:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12661:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12662:     (./conftest; exit; ) >&5 2>/dev/null
                   12663:     lt_status=$?
                   12664:     case x$lt_status in
                   12665:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12666:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12667:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12668:     esac
                   12669:   else :
                   12670:     # compilation failed
                   12671:     lt_cv_dlopen_self_static=no
                   12672:   fi
                   12673: fi
                   12674: rm -fr conftest*
                   12675: 
                   12676: 
                   12677: fi
1.150     moko     12678: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   12679: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     12680:     fi
                   12681: 
                   12682:     CPPFLAGS="$save_CPPFLAGS"
                   12683:     LDFLAGS="$save_LDFLAGS"
                   12684:     LIBS="$save_LIBS"
                   12685:     ;;
                   12686:   esac
                   12687: 
                   12688:   case $lt_cv_dlopen_self in
                   12689:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12690:   *) enable_dlopen_self=unknown ;;
                   12691:   esac
                   12692: 
                   12693:   case $lt_cv_dlopen_self_static in
                   12694:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12695:   *) enable_dlopen_self_static=unknown ;;
                   12696:   esac
                   12697: fi
                   12698: 
                   12699: 
                   12700: 
                   12701: 
                   12702: 
                   12703: 
                   12704: 
                   12705: 
                   12706: 
                   12707: 
                   12708: 
                   12709: 
                   12710: 
                   12711: 
                   12712: 
                   12713: 
                   12714: 
                   12715: striplib=
                   12716: old_striplib=
1.150     moko     12717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12718: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     12719: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12720:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12721:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150     moko     12722:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12723: $as_echo "yes" >&6; }
1.128     moko     12724: else
                   12725: # FIXME - insert some real tests, host_os isn't really good enough
                   12726:   case $host_os in
                   12727:   darwin*)
                   12728:     if test -n "$STRIP" ; then
                   12729:       striplib="$STRIP -x"
                   12730:       old_striplib="$STRIP -S"
1.150     moko     12731:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12732: $as_echo "yes" >&6; }
1.128     moko     12733:     else
1.150     moko     12734:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12735: $as_echo "no" >&6; }
1.128     moko     12736:     fi
                   12737:     ;;
                   12738:   *)
1.150     moko     12739:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12740: $as_echo "no" >&6; }
1.128     moko     12741:     ;;
                   12742:   esac
                   12743: fi
                   12744: 
                   12745: 
                   12746: 
                   12747: 
                   12748: 
                   12749: 
                   12750: 
                   12751: 
                   12752: 
                   12753: 
                   12754: 
                   12755: 
                   12756:   # Report which library types will actually be built
1.150     moko     12757:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12758: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12759:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12760: $as_echo "$can_build_shared" >&6; }
1.128     moko     12761: 
1.150     moko     12762:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12763: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     12764:   test "$can_build_shared" = "no" && enable_shared=no
                   12765: 
                   12766:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12767:   # are all built from PIC.
                   12768:   case $host_os in
                   12769:   aix3*)
                   12770:     test "$enable_shared" = yes && enable_static=no
                   12771:     if test -n "$RANLIB"; then
                   12772:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12773:       postinstall_cmds='$RANLIB $lib'
                   12774:     fi
                   12775:     ;;
                   12776: 
                   12777:   aix[4-9]*)
                   12778:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12779:       test "$enable_shared" = yes && enable_static=no
                   12780:     fi
                   12781:     ;;
                   12782:   esac
1.150     moko     12783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12784: $as_echo "$enable_shared" >&6; }
1.128     moko     12785: 
1.150     moko     12786:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12787: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     12788:   # Make sure either enable_shared or enable_static is yes.
                   12789:   test "$enable_shared" = yes || enable_static=yes
1.150     moko     12790:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12791: $as_echo "$enable_static" >&6; }
1.128     moko     12792: 
                   12793: 
                   12794: 
                   12795: 
                   12796: fi
                   12797: ac_ext=c
                   12798: ac_cpp='$CPP $CPPFLAGS'
                   12799: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12800: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12801: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12802: 
                   12803: CC="$lt_save_CC"
                   12804: 
                   12805:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12806:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12807:     (test "X$CXX" != "Xg++"))) ; then
1.150     moko     12808:   ac_ext=cpp
1.128     moko     12809: ac_cpp='$CXXCPP $CPPFLAGS'
                   12810: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12811: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12812: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     12813: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   12814: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     12815: if test -z "$CXXCPP"; then
1.150     moko     12816:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   12817:   $as_echo_n "(cached) " >&6
1.128     moko     12818: else
                   12819:       # Double quotes because CXXCPP needs to be expanded
                   12820:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12821:     do
                   12822:       ac_preproc_ok=false
                   12823: for ac_cxx_preproc_warn_flag in '' yes
                   12824: do
                   12825:   # Use a header file that comes with gcc, so configuring glibc
                   12826:   # with a fresh cross-compiler works.
                   12827:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12828:   # <limits.h> exists even on freestanding compilers.
                   12829:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12830:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     12831:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12832: /* end confdefs.h.  */
                   12833: #ifdef __STDC__
                   12834: # include <limits.h>
                   12835: #else
                   12836: # include <assert.h>
                   12837: #endif
                   12838:                     Syntax error
                   12839: _ACEOF
1.150     moko     12840: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12841: 
1.128     moko     12842: else
                   12843:   # Broken: fails on valid input.
                   12844: continue
                   12845: fi
1.150     moko     12846: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12847: 
1.150     moko     12848:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     12849:   # can be detected and how.
1.150     moko     12850:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12851: /* end confdefs.h.  */
                   12852: #include <ac_nonexistent.h>
                   12853: _ACEOF
1.150     moko     12854: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     12855:   # Broken: success on invalid input.
                   12856: continue
                   12857: else
                   12858:   # Passes both tests.
                   12859: ac_preproc_ok=:
                   12860: break
                   12861: fi
1.150     moko     12862: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12863: 
                   12864: done
                   12865: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     12866: rm -f conftest.i conftest.err conftest.$ac_ext
                   12867: if $ac_preproc_ok; then :
1.128     moko     12868:   break
                   12869: fi
                   12870: 
                   12871:     done
                   12872:     ac_cv_prog_CXXCPP=$CXXCPP
                   12873: 
                   12874: fi
                   12875:   CXXCPP=$ac_cv_prog_CXXCPP
                   12876: else
                   12877:   ac_cv_prog_CXXCPP=$CXXCPP
                   12878: fi
1.150     moko     12879: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   12880: $as_echo "$CXXCPP" >&6; }
1.128     moko     12881: ac_preproc_ok=false
                   12882: for ac_cxx_preproc_warn_flag in '' yes
                   12883: do
                   12884:   # Use a header file that comes with gcc, so configuring glibc
                   12885:   # with a fresh cross-compiler works.
                   12886:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12887:   # <limits.h> exists even on freestanding compilers.
                   12888:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12889:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     12890:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12891: /* end confdefs.h.  */
                   12892: #ifdef __STDC__
                   12893: # include <limits.h>
                   12894: #else
                   12895: # include <assert.h>
                   12896: #endif
                   12897:                     Syntax error
                   12898: _ACEOF
1.150     moko     12899: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12900: 
1.128     moko     12901: else
                   12902:   # Broken: fails on valid input.
                   12903: continue
                   12904: fi
1.150     moko     12905: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12906: 
1.150     moko     12907:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     12908:   # can be detected and how.
1.150     moko     12909:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12910: /* end confdefs.h.  */
                   12911: #include <ac_nonexistent.h>
                   12912: _ACEOF
1.150     moko     12913: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     12914:   # Broken: success on invalid input.
                   12915: continue
                   12916: else
                   12917:   # Passes both tests.
                   12918: ac_preproc_ok=:
                   12919: break
                   12920: fi
1.150     moko     12921: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12922: 
                   12923: done
                   12924: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     12925: rm -f conftest.i conftest.err conftest.$ac_ext
                   12926: if $ac_preproc_ok; then :
                   12927: 
1.128     moko     12928: else
1.150     moko     12929:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   12930: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   12931: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   12932: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     12933: fi
                   12934: 
                   12935: ac_ext=c
                   12936: ac_cpp='$CPP $CPPFLAGS'
                   12937: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12938: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12939: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12940: 
                   12941: else
                   12942:   _lt_caught_CXX_error=yes
                   12943: fi
                   12944: 
1.150     moko     12945: ac_ext=cpp
1.128     moko     12946: ac_cpp='$CXXCPP $CPPFLAGS'
                   12947: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12948: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12949: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   12950: 
                   12951: archive_cmds_need_lc_CXX=no
                   12952: allow_undefined_flag_CXX=
                   12953: always_export_symbols_CXX=no
                   12954: archive_expsym_cmds_CXX=
                   12955: compiler_needs_object_CXX=no
                   12956: export_dynamic_flag_spec_CXX=
                   12957: hardcode_direct_CXX=no
                   12958: hardcode_direct_absolute_CXX=no
                   12959: hardcode_libdir_flag_spec_CXX=
                   12960: hardcode_libdir_separator_CXX=
                   12961: hardcode_minus_L_CXX=no
                   12962: hardcode_shlibpath_var_CXX=unsupported
                   12963: hardcode_automatic_CXX=no
                   12964: inherit_rpath_CXX=no
                   12965: module_cmds_CXX=
                   12966: module_expsym_cmds_CXX=
                   12967: link_all_deplibs_CXX=unknown
                   12968: old_archive_cmds_CXX=$old_archive_cmds
                   12969: reload_flag_CXX=$reload_flag
                   12970: reload_cmds_CXX=$reload_cmds
                   12971: no_undefined_flag_CXX=
                   12972: whole_archive_flag_spec_CXX=
                   12973: enable_shared_with_static_runtimes_CXX=no
                   12974: 
                   12975: # Source file extension for C++ test sources.
                   12976: ac_ext=cpp
                   12977: 
                   12978: # Object file extension for compiled C++ test sources.
                   12979: objext=o
                   12980: objext_CXX=$objext
                   12981: 
                   12982: # No sense in running all these tests if we already determined that
                   12983: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12984: # are currently assumed to apply to all compilers on this platform,
                   12985: # and will be corrupted by setting them based on a non-working compiler.
                   12986: if test "$_lt_caught_CXX_error" != yes; then
                   12987:   # Code to be used in simple compile tests
                   12988:   lt_simple_compile_test_code="int some_variable = 0;"
                   12989: 
                   12990:   # Code to be used in simple link tests
                   12991:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12992: 
                   12993:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12994: 
                   12995: 
                   12996: 
                   12997: 
                   12998: 
                   12999: 
                   13000: # If no C compiler was specified, use CC.
                   13001: LTCC=${LTCC-"$CC"}
                   13002: 
                   13003: # If no C compiler flags were specified, use CFLAGS.
                   13004: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13005: 
                   13006: # Allow CC to be a program name with arguments.
                   13007: compiler=$CC
                   13008: 
                   13009: 
                   13010:   # save warnings/boilerplate of simple test code
                   13011:   ac_outfile=conftest.$ac_objext
                   13012: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13013: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13014: _lt_compiler_boilerplate=`cat conftest.err`
                   13015: $RM conftest*
                   13016: 
                   13017:   ac_outfile=conftest.$ac_objext
                   13018: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13019: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13020: _lt_linker_boilerplate=`cat conftest.err`
                   13021: $RM -r conftest*
                   13022: 
                   13023: 
                   13024:   # Allow CC to be a program name with arguments.
                   13025:   lt_save_CC=$CC
                   13026:   lt_save_CFLAGS=$CFLAGS
                   13027:   lt_save_LD=$LD
                   13028:   lt_save_GCC=$GCC
                   13029:   GCC=$GXX
                   13030:   lt_save_with_gnu_ld=$with_gnu_ld
                   13031:   lt_save_path_LD=$lt_cv_path_LD
                   13032:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13033:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13034:   else
                   13035:     $as_unset lt_cv_prog_gnu_ld
                   13036:   fi
                   13037:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13038:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13039:   else
                   13040:     $as_unset lt_cv_path_LD
                   13041:   fi
                   13042:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13043:   CC=${CXX-"c++"}
                   13044:   CFLAGS=$CXXFLAGS
                   13045:   compiler=$CC
                   13046:   compiler_CXX=$CC
                   13047:   for cc_temp in $compiler""; do
                   13048:   case $cc_temp in
                   13049:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13050:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13051:     \-*) ;;
                   13052:     *) break;;
                   13053:   esac
                   13054: done
                   13055: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13056: 
                   13057: 
                   13058:   if test -n "$compiler"; then
                   13059:     # We don't want -fno-exception when compiling C++ code, so set the
                   13060:     # no_builtin_flag separately
                   13061:     if test "$GXX" = yes; then
                   13062:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13063:     else
                   13064:       lt_prog_compiler_no_builtin_flag_CXX=
                   13065:     fi
                   13066: 
                   13067:     if test "$GXX" = yes; then
                   13068:       # Set up default GNU C++ configuration
                   13069: 
                   13070: 
                   13071: 
1.150     moko     13072: # Check whether --with-gnu-ld was given.
                   13073: if test "${with_gnu_ld+set}" = set; then :
                   13074:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13075: else
                   13076:   with_gnu_ld=no
1.150     moko     13077: fi
                   13078: 
1.128     moko     13079: ac_prog=ld
                   13080: if test "$GCC" = yes; then
                   13081:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     13082:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13083: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13084:   case $host in
                   13085:   *-*-mingw*)
                   13086:     # gcc leaves a trailing carriage return which upsets mingw
                   13087:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13088:   *)
                   13089:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13090:   esac
                   13091:   case $ac_prog in
                   13092:     # Accept absolute paths.
                   13093:     [\\/]* | ?:[\\/]*)
                   13094:       re_direlt='/[^/][^/]*/\.\./'
                   13095:       # Canonicalize the pathname of ld
                   13096:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13097:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13098:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13099:       done
                   13100:       test -z "$LD" && LD="$ac_prog"
                   13101:       ;;
                   13102:   "")
                   13103:     # If it fails, then pretend we aren't using GCC.
                   13104:     ac_prog=ld
                   13105:     ;;
                   13106:   *)
                   13107:     # If it is relative, then search for the first ld in PATH.
                   13108:     with_gnu_ld=unknown
                   13109:     ;;
                   13110:   esac
                   13111: elif test "$with_gnu_ld" = yes; then
1.150     moko     13112:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13113: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13114: else
1.150     moko     13115:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13116: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13117: fi
1.150     moko     13118: if ${lt_cv_path_LD+:} false; then :
                   13119:   $as_echo_n "(cached) " >&6
1.128     moko     13120: else
                   13121:   if test -z "$LD"; then
                   13122:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13123:   for ac_dir in $PATH; do
                   13124:     IFS="$lt_save_ifs"
                   13125:     test -z "$ac_dir" && ac_dir=.
                   13126:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13127:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13128:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13129:       # but apparently some variants of GNU ld only accept -v.
                   13130:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13131:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13132:       *GNU* | *'with BFD'*)
                   13133:        test "$with_gnu_ld" != no && break
                   13134:        ;;
                   13135:       *)
                   13136:        test "$with_gnu_ld" != yes && break
                   13137:        ;;
                   13138:       esac
                   13139:     fi
                   13140:   done
                   13141:   IFS="$lt_save_ifs"
                   13142: else
                   13143:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13144: fi
                   13145: fi
                   13146: 
                   13147: LD="$lt_cv_path_LD"
                   13148: if test -n "$LD"; then
1.150     moko     13149:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13150: $as_echo "$LD" >&6; }
1.128     moko     13151: else
1.150     moko     13152:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13153: $as_echo "no" >&6; }
1.128     moko     13154: fi
1.150     moko     13155: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   13156: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13157: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   13158: if ${lt_cv_prog_gnu_ld+:} false; then :
                   13159:   $as_echo_n "(cached) " >&6
1.128     moko     13160: else
                   13161:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13162: case `$LD -v 2>&1 </dev/null` in
                   13163: *GNU* | *'with BFD'*)
                   13164:   lt_cv_prog_gnu_ld=yes
                   13165:   ;;
                   13166: *)
                   13167:   lt_cv_prog_gnu_ld=no
                   13168:   ;;
                   13169: esac
                   13170: fi
1.150     moko     13171: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   13172: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13173: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13174: 
                   13175: 
                   13176: 
                   13177: 
                   13178: 
                   13179: 
                   13180: 
                   13181:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13182:       # archiving commands below assume that GNU ld is being used.
                   13183:       if test "$with_gnu_ld" = yes; then
                   13184:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13185:         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'
                   13186: 
                   13187:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13188:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13189: 
                   13190:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13191:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13192:         #     investigate it a little bit more. (MM)
                   13193:         wlarc='${wl}'
                   13194: 
                   13195:         # ancient GNU ld didn't support --whole-archive et. al.
                   13196:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13197:          $GREP 'no-whole-archive' > /dev/null; then
                   13198:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13199:         else
                   13200:           whole_archive_flag_spec_CXX=
                   13201:         fi
                   13202:       else
                   13203:         with_gnu_ld=no
                   13204:         wlarc=
                   13205: 
                   13206:         # A generic and very simple default shared library creation
                   13207:         # command for GNU C++ for the case where it uses the native
                   13208:         # linker, instead of GNU ld.  If possible, this setting should
                   13209:         # overridden to take advantage of the native linker features on
                   13210:         # the platform it is being used on.
                   13211:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13212:       fi
                   13213: 
                   13214:       # Commands to make compiler produce verbose output that lists
                   13215:       # what "hidden" libraries, object files and flags are used when
                   13216:       # linking a shared library.
                   13217:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13218: 
                   13219:     else
                   13220:       GXX=no
                   13221:       with_gnu_ld=no
                   13222:       wlarc=
                   13223:     fi
                   13224: 
                   13225:     # PORTME: fill in a description of your system's C++ link characteristics
1.150     moko     13226:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13227: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13228:     ld_shlibs_CXX=yes
                   13229:     case $host_os in
                   13230:       aix3*)
                   13231:         # FIXME: insert proper C++ library support
                   13232:         ld_shlibs_CXX=no
                   13233:         ;;
                   13234:       aix[4-9]*)
                   13235:         if test "$host_cpu" = ia64; then
                   13236:           # On IA64, the linker does run time linking by default, so we don't
                   13237:           # have to do anything special.
                   13238:           aix_use_runtimelinking=no
                   13239:           exp_sym_flag='-Bexport'
                   13240:           no_entry_flag=""
                   13241:         else
                   13242:           aix_use_runtimelinking=no
                   13243: 
                   13244:           # Test if we are trying to use run time linking or normal
                   13245:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13246:           # need to do runtime linking.
                   13247:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13248:            for ld_flag in $LDFLAGS; do
                   13249:              case $ld_flag in
                   13250:              *-brtl*)
                   13251:                aix_use_runtimelinking=yes
                   13252:                break
                   13253:                ;;
                   13254:              esac
                   13255:            done
                   13256:            ;;
                   13257:           esac
                   13258: 
                   13259:           exp_sym_flag='-bexport'
                   13260:           no_entry_flag='-bnoentry'
                   13261:         fi
                   13262: 
                   13263:         # When large executables or shared objects are built, AIX ld can
                   13264:         # have problems creating the table of contents.  If linking a library
                   13265:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13266:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13267:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13268: 
                   13269:         archive_cmds_CXX=''
                   13270:         hardcode_direct_CXX=yes
                   13271:         hardcode_direct_absolute_CXX=yes
                   13272:         hardcode_libdir_separator_CXX=':'
                   13273:         link_all_deplibs_CXX=yes
                   13274:         file_list_spec_CXX='${wl}-f,'
                   13275: 
                   13276:         if test "$GXX" = yes; then
                   13277:           case $host_os in aix4.[012]|aix4.[012].*)
                   13278:           # We only want to do this on AIX 4.2 and lower, the check
                   13279:           # below for broken collect2 doesn't work under 4.3+
                   13280:          collect2name=`${CC} -print-prog-name=collect2`
                   13281:          if test -f "$collect2name" &&
                   13282:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13283:          then
                   13284:            # We have reworked collect2
                   13285:            :
                   13286:          else
                   13287:            # We have old collect2
                   13288:            hardcode_direct_CXX=unsupported
                   13289:            # It fails to find uninstalled libraries when the uninstalled
                   13290:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13291:            # to unsupported forces relinking
                   13292:            hardcode_minus_L_CXX=yes
                   13293:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13294:            hardcode_libdir_separator_CXX=
                   13295:          fi
                   13296:           esac
                   13297:           shared_flag='-shared'
                   13298:          if test "$aix_use_runtimelinking" = yes; then
                   13299:            shared_flag="$shared_flag "'${wl}-G'
                   13300:          fi
                   13301:         else
                   13302:           # not using gcc
                   13303:           if test "$host_cpu" = ia64; then
                   13304:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13305:          # chokes on -Wl,-G. The following line is correct:
                   13306:          shared_flag='-G'
                   13307:           else
                   13308:            if test "$aix_use_runtimelinking" = yes; then
                   13309:              shared_flag='${wl}-G'
                   13310:            else
                   13311:              shared_flag='${wl}-bM:SRE'
                   13312:            fi
                   13313:           fi
                   13314:         fi
                   13315: 
                   13316:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13317:         # It seems that -bexpall does not export symbols beginning with
                   13318:         # underscore (_), so it is better to generate a list of symbols to
                   13319:        # export.
                   13320:         always_export_symbols_CXX=yes
                   13321:         if test "$aix_use_runtimelinking" = yes; then
                   13322:           # Warning - without using the other runtime loading flags (-brtl),
                   13323:           # -berok will link without error, but may produce a broken library.
                   13324:           allow_undefined_flag_CXX='-berok'
                   13325:           # Determine the default libpath from the value encoded in an empty
                   13326:           # executable.
                   13327:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13328:   aix_libpath=$lt_cv_aix_libpath
                   13329: else
1.150     moko     13330:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13331:   $as_echo_n "(cached) " >&6
1.128     moko     13332: else
1.150     moko     13333:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13334: /* end confdefs.h.  */
                   13335: 
                   13336: int
                   13337: main ()
                   13338: {
                   13339: 
                   13340:   ;
                   13341:   return 0;
                   13342: }
                   13343: _ACEOF
1.150     moko     13344: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13345: 
                   13346:   lt_aix_libpath_sed='
                   13347:       /Import File Strings/,/^$/ {
                   13348:          /^0/ {
                   13349:              s/^0  *\([^ ]*\) *$/\1/
                   13350:              p
                   13351:          }
                   13352:       }'
                   13353:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13354:   # Check for a 64-bit object if we didn't find anything.
                   13355:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13356:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13357:   fi
                   13358: fi
1.150     moko     13359: rm -f core conftest.err conftest.$ac_objext \
                   13360:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13361:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13362:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13363:   fi
                   13364: 
                   13365: fi
                   13366: 
                   13367:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13368: fi
                   13369: 
                   13370:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13371: 
                   13372:           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"
                   13373:         else
                   13374:           if test "$host_cpu" = ia64; then
                   13375:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13376:            allow_undefined_flag_CXX="-z nodefs"
                   13377:            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"
                   13378:           else
                   13379:            # Determine the default libpath from the value encoded in an
                   13380:            # empty executable.
                   13381:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13382:   aix_libpath=$lt_cv_aix_libpath
                   13383: else
1.150     moko     13384:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13385:   $as_echo_n "(cached) " >&6
1.128     moko     13386: else
1.150     moko     13387:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13388: /* end confdefs.h.  */
                   13389: 
                   13390: int
                   13391: main ()
                   13392: {
                   13393: 
                   13394:   ;
                   13395:   return 0;
                   13396: }
                   13397: _ACEOF
1.150     moko     13398: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13399: 
                   13400:   lt_aix_libpath_sed='
                   13401:       /Import File Strings/,/^$/ {
                   13402:          /^0/ {
                   13403:              s/^0  *\([^ ]*\) *$/\1/
                   13404:              p
                   13405:          }
                   13406:       }'
                   13407:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13408:   # Check for a 64-bit object if we didn't find anything.
                   13409:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13410:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13411:   fi
                   13412: fi
1.150     moko     13413: rm -f core conftest.err conftest.$ac_objext \
                   13414:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13415:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13416:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13417:   fi
                   13418: 
                   13419: fi
                   13420: 
                   13421:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13422: fi
                   13423: 
                   13424:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13425:            # Warning - without using the other run time loading flags,
                   13426:            # -berok will link without error, but may produce a broken library.
                   13427:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13428:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13429:            if test "$with_gnu_ld" = yes; then
                   13430:              # We only use this code for GNU lds that support --whole-archive.
                   13431:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13432:            else
                   13433:              # Exported symbols can be pulled into shared objects from archives
                   13434:              whole_archive_flag_spec_CXX='$convenience'
                   13435:            fi
                   13436:            archive_cmds_need_lc_CXX=yes
                   13437:            # This is similar to how AIX traditionally builds its shared
                   13438:            # libraries.
                   13439:            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'
                   13440:           fi
                   13441:         fi
                   13442:         ;;
                   13443: 
                   13444:       beos*)
                   13445:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13446:          allow_undefined_flag_CXX=unsupported
                   13447:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13448:          # support --undefined.  This deserves some investigation.  FIXME
                   13449:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13450:        else
                   13451:          ld_shlibs_CXX=no
                   13452:        fi
                   13453:        ;;
                   13454: 
                   13455:       chorus*)
                   13456:         case $cc_basename in
                   13457:           *)
                   13458:          # FIXME: insert proper C++ library support
                   13459:          ld_shlibs_CXX=no
                   13460:          ;;
                   13461:         esac
                   13462:         ;;
                   13463: 
                   13464:       cygwin* | mingw* | pw32* | cegcc*)
                   13465:        case $GXX,$cc_basename in
                   13466:        ,cl* | no,cl*)
                   13467:          # Native MSVC
                   13468:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13469:          # no search path for DLLs.
                   13470:          hardcode_libdir_flag_spec_CXX=' '
                   13471:          allow_undefined_flag_CXX=unsupported
                   13472:          always_export_symbols_CXX=yes
                   13473:          file_list_spec_CXX='@'
                   13474:          # Tell ltmain to make .lib files, not .a files.
                   13475:          libext=lib
                   13476:          # Tell ltmain to make .dll files, not .so files.
                   13477:          shrext_cmds=".dll"
                   13478:          # FIXME: Setting linknames here is a bad hack.
                   13479:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13480:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13481:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13482:            else
                   13483:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13484:            fi~
                   13485:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13486:            linknames='
                   13487:          # The linker will not automatically build a static lib if we build a DLL.
                   13488:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13489:          enable_shared_with_static_runtimes_CXX=yes
                   13490:          # Don't use ranlib
                   13491:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13492:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13493:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13494:            case $lt_outputfile in
                   13495:              *.exe|*.EXE) ;;
                   13496:              *)
                   13497:                lt_outputfile="$lt_outputfile.exe"
                   13498:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13499:                ;;
                   13500:            esac~
                   13501:            func_to_tool_file "$lt_outputfile"~
                   13502:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13503:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13504:              $RM "$lt_outputfile.manifest";
                   13505:            fi'
                   13506:          ;;
                   13507:        *)
                   13508:          # g++
                   13509:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13510:          # as there is no search path for DLLs.
                   13511:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13512:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13513:          allow_undefined_flag_CXX=unsupported
                   13514:          always_export_symbols_CXX=no
                   13515:          enable_shared_with_static_runtimes_CXX=yes
                   13516: 
                   13517:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13518:            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'
                   13519:            # If the export-symbols file already is a .def file (1st line
                   13520:            # is EXPORTS), use it as is; otherwise, prepend...
                   13521:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13522:              cp $export_symbols $output_objdir/$soname.def;
                   13523:            else
                   13524:              echo EXPORTS > $output_objdir/$soname.def;
                   13525:              cat $export_symbols >> $output_objdir/$soname.def;
                   13526:            fi~
                   13527:            $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'
                   13528:          else
                   13529:            ld_shlibs_CXX=no
                   13530:          fi
                   13531:          ;;
                   13532:        esac
                   13533:        ;;
                   13534:       darwin* | rhapsody*)
                   13535: 
                   13536: 
                   13537:   archive_cmds_need_lc_CXX=no
                   13538:   hardcode_direct_CXX=no
                   13539:   hardcode_automatic_CXX=yes
                   13540:   hardcode_shlibpath_var_CXX=unsupported
                   13541:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13542:     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\"`'
                   13543: 
                   13544:   else
                   13545:     whole_archive_flag_spec_CXX=''
                   13546:   fi
                   13547:   link_all_deplibs_CXX=yes
                   13548:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13549:   case $cc_basename in
                   13550:      ifort*) _lt_dar_can_shared=yes ;;
                   13551:      *) _lt_dar_can_shared=$GCC ;;
                   13552:   esac
                   13553:   if test "$_lt_dar_can_shared" = "yes"; then
                   13554:     output_verbose_link_cmd=func_echo_all
                   13555:     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}"
                   13556:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13557:     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}"
                   13558:     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}"
                   13559:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13560:       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}"
                   13561:       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}"
                   13562:     fi
                   13563: 
                   13564:   else
                   13565:   ld_shlibs_CXX=no
                   13566:   fi
                   13567: 
                   13568:        ;;
                   13569: 
                   13570:       dgux*)
                   13571:         case $cc_basename in
                   13572:           ec++*)
                   13573:            # FIXME: insert proper C++ library support
                   13574:            ld_shlibs_CXX=no
                   13575:            ;;
                   13576:           ghcx*)
                   13577:            # Green Hills C++ Compiler
                   13578:            # FIXME: insert proper C++ library support
                   13579:            ld_shlibs_CXX=no
                   13580:            ;;
                   13581:           *)
                   13582:            # FIXME: insert proper C++ library support
                   13583:            ld_shlibs_CXX=no
                   13584:            ;;
                   13585:         esac
                   13586:         ;;
                   13587: 
                   13588:       freebsd2.*)
                   13589:         # C++ shared libraries reported to be fairly broken before
                   13590:        # switch to ELF
                   13591:         ld_shlibs_CXX=no
                   13592:         ;;
                   13593: 
                   13594:       freebsd-elf*)
                   13595:         archive_cmds_need_lc_CXX=no
                   13596:         ;;
                   13597: 
                   13598:       freebsd* | dragonfly*)
                   13599:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13600:         # conventions
                   13601:         ld_shlibs_CXX=yes
                   13602:         ;;
                   13603: 
                   13604:       gnu*)
                   13605:         ;;
                   13606: 
                   13607:       haiku*)
                   13608:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13609:         link_all_deplibs_CXX=yes
                   13610:         ;;
                   13611: 
                   13612:       hpux9*)
                   13613:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13614:         hardcode_libdir_separator_CXX=:
                   13615:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13616:         hardcode_direct_CXX=yes
                   13617:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13618:                                             # but as the default
                   13619:                                             # location of the library.
                   13620: 
                   13621:         case $cc_basename in
                   13622:           CC*)
                   13623:             # FIXME: insert proper C++ library support
                   13624:             ld_shlibs_CXX=no
                   13625:             ;;
                   13626:           aCC*)
                   13627:             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'
                   13628:             # Commands to make compiler produce verbose output that lists
                   13629:             # what "hidden" libraries, object files and flags are used when
                   13630:             # linking a shared library.
                   13631:             #
                   13632:             # There doesn't appear to be a way to prevent this compiler from
                   13633:             # explicitly linking system object files so we need to strip them
                   13634:             # from the output so that they don't get included in the library
                   13635:             # dependencies.
                   13636:             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"'
                   13637:             ;;
                   13638:           *)
                   13639:             if test "$GXX" = yes; then
                   13640:               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'
                   13641:             else
                   13642:               # FIXME: insert proper C++ library support
                   13643:               ld_shlibs_CXX=no
                   13644:             fi
                   13645:             ;;
                   13646:         esac
                   13647:         ;;
                   13648: 
                   13649:       hpux10*|hpux11*)
                   13650:         if test $with_gnu_ld = no; then
                   13651:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13652:          hardcode_libdir_separator_CXX=:
                   13653: 
                   13654:           case $host_cpu in
                   13655:             hppa*64*|ia64*)
                   13656:               ;;
                   13657:             *)
                   13658:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13659:               ;;
                   13660:           esac
                   13661:         fi
                   13662:         case $host_cpu in
                   13663:           hppa*64*|ia64*)
                   13664:             hardcode_direct_CXX=no
                   13665:             hardcode_shlibpath_var_CXX=no
                   13666:             ;;
                   13667:           *)
                   13668:             hardcode_direct_CXX=yes
                   13669:             hardcode_direct_absolute_CXX=yes
                   13670:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13671:                                                 # but as the default
                   13672:                                                 # location of the library.
                   13673:             ;;
                   13674:         esac
                   13675: 
                   13676:         case $cc_basename in
                   13677:           CC*)
                   13678:            # FIXME: insert proper C++ library support
                   13679:            ld_shlibs_CXX=no
                   13680:            ;;
                   13681:           aCC*)
                   13682:            case $host_cpu in
                   13683:              hppa*64*)
                   13684:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13685:                ;;
                   13686:              ia64*)
                   13687:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13688:                ;;
                   13689:              *)
                   13690:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13691:                ;;
                   13692:            esac
                   13693:            # Commands to make compiler produce verbose output that lists
                   13694:            # what "hidden" libraries, object files and flags are used when
                   13695:            # linking a shared library.
                   13696:            #
                   13697:            # There doesn't appear to be a way to prevent this compiler from
                   13698:            # explicitly linking system object files so we need to strip them
                   13699:            # from the output so that they don't get included in the library
                   13700:            # dependencies.
                   13701:            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"'
                   13702:            ;;
                   13703:           *)
                   13704:            if test "$GXX" = yes; then
                   13705:              if test $with_gnu_ld = no; then
                   13706:                case $host_cpu in
                   13707:                  hppa*64*)
                   13708:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13709:                    ;;
                   13710:                  ia64*)
                   13711:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13712:                    ;;
                   13713:                  *)
                   13714:                    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'
                   13715:                    ;;
                   13716:                esac
                   13717:              fi
                   13718:            else
                   13719:              # FIXME: insert proper C++ library support
                   13720:              ld_shlibs_CXX=no
                   13721:            fi
                   13722:            ;;
                   13723:         esac
                   13724:         ;;
                   13725: 
                   13726:       interix[3-9]*)
                   13727:        hardcode_direct_CXX=no
                   13728:        hardcode_shlibpath_var_CXX=no
                   13729:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13730:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13731:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13732:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13733:        # default) and relocated if they conflict, which is a slow very memory
                   13734:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13735:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13736:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13737:        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'
                   13738:        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'
                   13739:        ;;
                   13740:       irix5* | irix6*)
                   13741:         case $cc_basename in
                   13742:           CC*)
                   13743:            # SGI C++
                   13744:            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'
                   13745: 
                   13746:            # Archives containing C++ object files must be created using
                   13747:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13748:            # necessary to make sure instantiated templates are included
                   13749:            # in the archive.
                   13750:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13751:            ;;
                   13752:           *)
                   13753:            if test "$GXX" = yes; then
                   13754:              if test "$with_gnu_ld" = no; then
                   13755:                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'
                   13756:              else
                   13757:                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'
                   13758:              fi
                   13759:            fi
                   13760:            link_all_deplibs_CXX=yes
                   13761:            ;;
                   13762:         esac
                   13763:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13764:         hardcode_libdir_separator_CXX=:
                   13765:         inherit_rpath_CXX=yes
                   13766:         ;;
                   13767: 
                   13768:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13769:         case $cc_basename in
                   13770:           KCC*)
                   13771:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13772: 
                   13773:            # KCC will only create a shared library if the output file
                   13774:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13775:            # to its proper name (with version) after linking.
                   13776:            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'
                   13777:            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'
                   13778:            # Commands to make compiler produce verbose output that lists
                   13779:            # what "hidden" libraries, object files and flags are used when
                   13780:            # linking a shared library.
                   13781:            #
                   13782:            # There doesn't appear to be a way to prevent this compiler from
                   13783:            # explicitly linking system object files so we need to strip them
                   13784:            # from the output so that they don't get included in the library
                   13785:            # dependencies.
                   13786:            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"'
                   13787: 
                   13788:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13789:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13790: 
                   13791:            # Archives containing C++ object files must be created using
                   13792:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13793:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13794:            ;;
                   13795:          icpc* | ecpc* )
                   13796:            # Intel C++
                   13797:            with_gnu_ld=yes
                   13798:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13799:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13800:            # earlier do not add the objects themselves.
                   13801:            case `$CC -V 2>&1` in
                   13802:              *"Version 7."*)
                   13803:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13804:                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'
                   13805:                ;;
                   13806:              *)  # Version 8.0 or newer
                   13807:                tmp_idyn=
                   13808:                case $host_cpu in
                   13809:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13810:                esac
                   13811:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13812:                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'
                   13813:                ;;
                   13814:            esac
                   13815:            archive_cmds_need_lc_CXX=no
                   13816:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13817:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13818:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13819:            ;;
                   13820:           pgCC* | pgcpp*)
                   13821:             # Portland Group C++ compiler
                   13822:            case `$CC -V` in
                   13823:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13824:              prelink_cmds_CXX='tpldir=Template.dir~
                   13825:                rm -rf $tpldir~
                   13826:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13827:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13828:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13829:                rm -rf $tpldir~
                   13830:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13831:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13832:                $RANLIB $oldlib'
                   13833:              archive_cmds_CXX='tpldir=Template.dir~
                   13834:                rm -rf $tpldir~
                   13835:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13836:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13837:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13838:                rm -rf $tpldir~
                   13839:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13840:                $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'
                   13841:              ;;
                   13842:            *) # Version 6 and above use weak symbols
                   13843:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13844:              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'
                   13845:              ;;
                   13846:            esac
                   13847: 
                   13848:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13849:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13850:            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'
                   13851:             ;;
                   13852:          cxx*)
                   13853:            # Compaq C++
                   13854:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13855:            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'
                   13856: 
                   13857:            runpath_var=LD_RUN_PATH
                   13858:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13859:            hardcode_libdir_separator_CXX=:
                   13860: 
                   13861:            # Commands to make compiler produce verbose output that lists
                   13862:            # what "hidden" libraries, object files and flags are used when
                   13863:            # linking a shared library.
                   13864:            #
                   13865:            # There doesn't appear to be a way to prevent this compiler from
                   13866:            # explicitly linking system object files so we need to strip them
                   13867:            # from the output so that they don't get included in the library
                   13868:            # dependencies.
                   13869:            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'
                   13870:            ;;
                   13871:          xl* | mpixl* | bgxl*)
                   13872:            # IBM XL 8.0 on PPC, with GNU ld
                   13873:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13874:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13875:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13876:            if test "x$supports_anon_versioning" = xyes; then
                   13877:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13878:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13879:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13880:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13881:            fi
                   13882:            ;;
                   13883:          *)
                   13884:            case `$CC -V 2>&1 | sed 5q` in
                   13885:            *Sun\ C*)
                   13886:              # Sun C++ 5.9
                   13887:              no_undefined_flag_CXX=' -zdefs'
                   13888:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13889:              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'
                   13890:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13891:              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'
                   13892:              compiler_needs_object_CXX=yes
                   13893: 
                   13894:              # Not sure whether something based on
                   13895:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13896:              # would be better.
                   13897:              output_verbose_link_cmd='func_echo_all'
                   13898: 
                   13899:              # Archives containing C++ object files must be created using
                   13900:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13901:              # necessary to make sure instantiated templates are included
                   13902:              # in the archive.
                   13903:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13904:              ;;
                   13905:            esac
                   13906:            ;;
                   13907:        esac
                   13908:        ;;
                   13909: 
                   13910:       lynxos*)
                   13911:         # FIXME: insert proper C++ library support
                   13912:        ld_shlibs_CXX=no
                   13913:        ;;
                   13914: 
                   13915:       m88k*)
                   13916:         # FIXME: insert proper C++ library support
                   13917:         ld_shlibs_CXX=no
                   13918:        ;;
                   13919: 
                   13920:       mvs*)
                   13921:         case $cc_basename in
                   13922:           cxx*)
                   13923:            # FIXME: insert proper C++ library support
                   13924:            ld_shlibs_CXX=no
                   13925:            ;;
                   13926:          *)
                   13927:            # FIXME: insert proper C++ library support
                   13928:            ld_shlibs_CXX=no
                   13929:            ;;
                   13930:        esac
                   13931:        ;;
                   13932: 
                   13933:       netbsd*)
                   13934:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13935:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13936:          wlarc=
                   13937:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13938:          hardcode_direct_CXX=yes
                   13939:          hardcode_shlibpath_var_CXX=no
                   13940:        fi
                   13941:        # Workaround some broken pre-1.5 toolchains
                   13942:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13943:        ;;
                   13944: 
                   13945:       *nto* | *qnx*)
                   13946:         ld_shlibs_CXX=yes
                   13947:        ;;
                   13948: 
                   13949:       openbsd2*)
                   13950:         # C++ shared libraries are fairly broken
                   13951:        ld_shlibs_CXX=no
                   13952:        ;;
                   13953: 
                   13954:       openbsd*)
                   13955:        if test -f /usr/libexec/ld.so; then
                   13956:          hardcode_direct_CXX=yes
                   13957:          hardcode_shlibpath_var_CXX=no
                   13958:          hardcode_direct_absolute_CXX=yes
                   13959:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13960:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13961:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13962:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13963:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13964:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13965:          fi
                   13966:          output_verbose_link_cmd=func_echo_all
                   13967:        else
                   13968:          ld_shlibs_CXX=no
                   13969:        fi
                   13970:        ;;
                   13971: 
                   13972:       osf3* | osf4* | osf5*)
                   13973:         case $cc_basename in
                   13974:           KCC*)
                   13975:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13976: 
                   13977:            # KCC will only create a shared library if the output file
                   13978:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13979:            # to its proper name (with version) after linking.
                   13980:            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'
                   13981: 
                   13982:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13983:            hardcode_libdir_separator_CXX=:
                   13984: 
                   13985:            # Archives containing C++ object files must be created using
                   13986:            # the KAI C++ compiler.
                   13987:            case $host in
                   13988:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13989:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13990:            esac
                   13991:            ;;
                   13992:           RCC*)
                   13993:            # Rational C++ 2.4.1
                   13994:            # FIXME: insert proper C++ library support
                   13995:            ld_shlibs_CXX=no
                   13996:            ;;
                   13997:           cxx*)
                   13998:            case $host in
                   13999:              osf3*)
                   14000:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14001:                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'
                   14002:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14003:                ;;
                   14004:              *)
                   14005:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14006:                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'
                   14007:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14008:                  echo "-hidden">> $lib.exp~
                   14009:                  $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~
                   14010:                  $RM $lib.exp'
                   14011:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14012:                ;;
                   14013:            esac
                   14014: 
                   14015:            hardcode_libdir_separator_CXX=:
                   14016: 
                   14017:            # Commands to make compiler produce verbose output that lists
                   14018:            # what "hidden" libraries, object files and flags are used when
                   14019:            # linking a shared library.
                   14020:            #
                   14021:            # There doesn't appear to be a way to prevent this compiler from
                   14022:            # explicitly linking system object files so we need to strip them
                   14023:            # from the output so that they don't get included in the library
                   14024:            # dependencies.
                   14025:            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"'
                   14026:            ;;
                   14027:          *)
                   14028:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14029:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14030:              case $host in
                   14031:                osf3*)
                   14032:                  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'
                   14033:                  ;;
                   14034:                *)
                   14035:                  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'
                   14036:                  ;;
                   14037:              esac
                   14038: 
                   14039:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14040:              hardcode_libdir_separator_CXX=:
                   14041: 
                   14042:              # Commands to make compiler produce verbose output that lists
                   14043:              # what "hidden" libraries, object files and flags are used when
                   14044:              # linking a shared library.
                   14045:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14046: 
                   14047:            else
                   14048:              # FIXME: insert proper C++ library support
                   14049:              ld_shlibs_CXX=no
                   14050:            fi
                   14051:            ;;
                   14052:         esac
                   14053:         ;;
                   14054: 
                   14055:       psos*)
                   14056:         # FIXME: insert proper C++ library support
                   14057:         ld_shlibs_CXX=no
                   14058:         ;;
                   14059: 
                   14060:       sunos4*)
                   14061:         case $cc_basename in
                   14062:           CC*)
                   14063:            # Sun C++ 4.x
                   14064:            # FIXME: insert proper C++ library support
                   14065:            ld_shlibs_CXX=no
                   14066:            ;;
                   14067:           lcc*)
                   14068:            # Lucid
                   14069:            # FIXME: insert proper C++ library support
                   14070:            ld_shlibs_CXX=no
                   14071:            ;;
                   14072:           *)
                   14073:            # FIXME: insert proper C++ library support
                   14074:            ld_shlibs_CXX=no
                   14075:            ;;
                   14076:         esac
                   14077:         ;;
                   14078: 
                   14079:       solaris*)
                   14080:         case $cc_basename in
                   14081:           CC* | sunCC*)
                   14082:            # Sun C++ 4.2, 5.x and Centerline C++
                   14083:             archive_cmds_need_lc_CXX=yes
                   14084:            no_undefined_flag_CXX=' -zdefs'
                   14085:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14086:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14087:              $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'
                   14088: 
                   14089:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14090:            hardcode_shlibpath_var_CXX=no
                   14091:            case $host_os in
                   14092:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14093:              *)
                   14094:                # The compiler driver will combine and reorder linker options,
                   14095:                # but understands `-z linker_flag'.
                   14096:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14097:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14098:                ;;
                   14099:            esac
                   14100:            link_all_deplibs_CXX=yes
                   14101: 
                   14102:            output_verbose_link_cmd='func_echo_all'
                   14103: 
                   14104:            # Archives containing C++ object files must be created using
                   14105:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14106:            # necessary to make sure instantiated templates are included
                   14107:            # in the archive.
                   14108:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14109:            ;;
                   14110:           gcx*)
                   14111:            # Green Hills C++ Compiler
                   14112:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14113: 
                   14114:            # The C++ compiler must be used to create the archive.
                   14115:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14116:            ;;
                   14117:           *)
                   14118:            # GNU C++ compiler with Solaris linker
                   14119:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14120:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14121:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14122:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14123:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14124:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14125: 
                   14126:                # Commands to make compiler produce verbose output that lists
                   14127:                # what "hidden" libraries, object files and flags are used when
                   14128:                # linking a shared library.
                   14129:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14130:              else
                   14131:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14132:                # platform.
                   14133:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14134:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14135:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14136: 
                   14137:                # Commands to make compiler produce verbose output that lists
                   14138:                # what "hidden" libraries, object files and flags are used when
                   14139:                # linking a shared library.
                   14140:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14141:              fi
                   14142: 
                   14143:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14144:              case $host_os in
                   14145:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14146:                *)
                   14147:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14148:                  ;;
                   14149:              esac
                   14150:            fi
                   14151:            ;;
                   14152:         esac
                   14153:         ;;
                   14154: 
                   14155:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14156:       no_undefined_flag_CXX='${wl}-z,text'
                   14157:       archive_cmds_need_lc_CXX=no
                   14158:       hardcode_shlibpath_var_CXX=no
                   14159:       runpath_var='LD_RUN_PATH'
                   14160: 
                   14161:       case $cc_basename in
                   14162:         CC*)
                   14163:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14164:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14165:          ;;
                   14166:        *)
                   14167:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14168:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14169:          ;;
                   14170:       esac
                   14171:       ;;
                   14172: 
                   14173:       sysv5* | sco3.2v5* | sco5v6*)
                   14174:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14175:        # link with -lc, and that would cause any symbols used from libc to
                   14176:        # always be unresolved, which means just about no library would
                   14177:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14178:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14179:        # as -z defs.
                   14180:        no_undefined_flag_CXX='${wl}-z,text'
                   14181:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14182:        archive_cmds_need_lc_CXX=no
                   14183:        hardcode_shlibpath_var_CXX=no
                   14184:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14185:        hardcode_libdir_separator_CXX=':'
                   14186:        link_all_deplibs_CXX=yes
                   14187:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14188:        runpath_var='LD_RUN_PATH'
                   14189: 
                   14190:        case $cc_basename in
                   14191:           CC*)
                   14192:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14193:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14194:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14195:              '"$old_archive_cmds_CXX"
                   14196:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14197:              '"$reload_cmds_CXX"
                   14198:            ;;
                   14199:          *)
                   14200:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14201:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14202:            ;;
                   14203:        esac
                   14204:       ;;
                   14205: 
                   14206:       tandem*)
                   14207:         case $cc_basename in
                   14208:           NCC*)
                   14209:            # NonStop-UX NCC 3.20
                   14210:            # FIXME: insert proper C++ library support
                   14211:            ld_shlibs_CXX=no
                   14212:            ;;
                   14213:           *)
                   14214:            # FIXME: insert proper C++ library support
                   14215:            ld_shlibs_CXX=no
                   14216:            ;;
                   14217:         esac
                   14218:         ;;
                   14219: 
                   14220:       vxworks*)
                   14221:         # FIXME: insert proper C++ library support
                   14222:         ld_shlibs_CXX=no
                   14223:         ;;
                   14224: 
                   14225:       *)
                   14226:         # FIXME: insert proper C++ library support
                   14227:         ld_shlibs_CXX=no
                   14228:         ;;
                   14229:     esac
                   14230: 
1.150     moko     14231:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14232: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14233:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14234: 
                   14235:     GCC_CXX="$GXX"
                   14236:     LD_CXX="$LD"
                   14237: 
                   14238:     ## CAVEAT EMPTOR:
                   14239:     ## There is no encapsulation within the following macros, do not change
                   14240:     ## the running order or otherwise move them around unless you know exactly
                   14241:     ## what you are doing...
                   14242:     # Dependencies to place before and after the object being linked:
                   14243: predep_objects_CXX=
                   14244: postdep_objects_CXX=
                   14245: predeps_CXX=
                   14246: postdeps_CXX=
                   14247: compiler_lib_search_path_CXX=
                   14248: 
                   14249: cat > conftest.$ac_ext <<_LT_EOF
                   14250: class Foo
                   14251: {
                   14252: public:
                   14253:   Foo (void) { a = 0; }
                   14254: private:
                   14255:   int a;
                   14256: };
                   14257: _LT_EOF
                   14258: 
                   14259: 
                   14260: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14261: case "$CC $CFLAGS " in #(
                   14262: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14263: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14264: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14265: esac
                   14266: 
1.150     moko     14267: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14268:   (eval $ac_compile) 2>&5
                   14269:   ac_status=$?
1.150     moko     14270:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14271:   test $ac_status = 0; }; then
1.128     moko     14272:   # Parse the compiler output and extract the necessary
                   14273:   # objects, libraries and library flags.
                   14274: 
                   14275:   # Sentinel used to keep track of whether or not we are before
                   14276:   # the conftest object file.
                   14277:   pre_test_object_deps_done=no
                   14278: 
                   14279:   for p in `eval "$output_verbose_link_cmd"`; do
                   14280:     case ${prev}${p} in
                   14281: 
                   14282:     -L* | -R* | -l*)
                   14283:        # Some compilers place space between "-{L,R}" and the path.
                   14284:        # Remove the space.
                   14285:        if test $p = "-L" ||
                   14286:           test $p = "-R"; then
                   14287:         prev=$p
                   14288:         continue
                   14289:        fi
                   14290: 
                   14291:        # Expand the sysroot to ease extracting the directories later.
                   14292:        if test -z "$prev"; then
                   14293:          case $p in
                   14294:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14295:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14296:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14297:          esac
                   14298:        fi
                   14299:        case $p in
                   14300:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14301:        esac
                   14302:        if test "$pre_test_object_deps_done" = no; then
                   14303:         case ${prev} in
                   14304:         -L | -R)
                   14305:           # Internal compiler library paths should come after those
                   14306:           # provided the user.  The postdeps already come after the
                   14307:           # user supplied libs so there is no need to process them.
                   14308:           if test -z "$compiler_lib_search_path_CXX"; then
                   14309:             compiler_lib_search_path_CXX="${prev}${p}"
                   14310:           else
                   14311:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14312:           fi
                   14313:           ;;
                   14314:         # The "-l" case would never come before the object being
                   14315:         # linked, so don't bother handling this case.
                   14316:         esac
                   14317:        else
                   14318:         if test -z "$postdeps_CXX"; then
                   14319:           postdeps_CXX="${prev}${p}"
                   14320:         else
                   14321:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14322:         fi
                   14323:        fi
                   14324:        prev=
                   14325:        ;;
                   14326: 
                   14327:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14328:     *.$objext)
                   14329:        # This assumes that the test object file only shows up
                   14330:        # once in the compiler output.
                   14331:        if test "$p" = "conftest.$objext"; then
                   14332:         pre_test_object_deps_done=yes
                   14333:         continue
                   14334:        fi
                   14335: 
                   14336:        if test "$pre_test_object_deps_done" = no; then
                   14337:         if test -z "$predep_objects_CXX"; then
                   14338:           predep_objects_CXX="$p"
                   14339:         else
                   14340:           predep_objects_CXX="$predep_objects_CXX $p"
                   14341:         fi
                   14342:        else
                   14343:         if test -z "$postdep_objects_CXX"; then
                   14344:           postdep_objects_CXX="$p"
                   14345:         else
                   14346:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14347:         fi
                   14348:        fi
                   14349:        ;;
                   14350: 
                   14351:     *) ;; # Ignore the rest.
                   14352: 
                   14353:     esac
                   14354:   done
                   14355: 
                   14356:   # Clean up.
                   14357:   rm -f a.out a.exe
                   14358: else
                   14359:   echo "libtool.m4: error: problem compiling CXX test program"
                   14360: fi
                   14361: 
                   14362: $RM -f confest.$objext
                   14363: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14364: 
                   14365: # PORTME: override above test on systems where it is broken
                   14366: case $host_os in
                   14367: interix[3-9]*)
                   14368:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14369:   # hack all around it, let's just trust "g++" to DTRT.
                   14370:   predep_objects_CXX=
                   14371:   postdep_objects_CXX=
                   14372:   postdeps_CXX=
                   14373:   ;;
                   14374: 
                   14375: linux*)
                   14376:   case `$CC -V 2>&1 | sed 5q` in
                   14377:   *Sun\ C*)
                   14378:     # Sun C++ 5.9
                   14379: 
                   14380:     # The more standards-conforming stlport4 library is
                   14381:     # incompatible with the Cstd library. Avoid specifying
                   14382:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14383:     # -library=stlport4 depends on it.
                   14384:     case " $CXX $CXXFLAGS " in
                   14385:     *" -library=stlport4 "*)
                   14386:       solaris_use_stlport4=yes
                   14387:       ;;
                   14388:     esac
                   14389: 
                   14390:     if test "$solaris_use_stlport4" != yes; then
                   14391:       postdeps_CXX='-library=Cstd -library=Crun'
                   14392:     fi
                   14393:     ;;
                   14394:   esac
                   14395:   ;;
                   14396: 
                   14397: solaris*)
                   14398:   case $cc_basename in
                   14399:   CC* | sunCC*)
                   14400:     # The more standards-conforming stlport4 library is
                   14401:     # incompatible with the Cstd library. Avoid specifying
                   14402:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14403:     # -library=stlport4 depends on it.
                   14404:     case " $CXX $CXXFLAGS " in
                   14405:     *" -library=stlport4 "*)
                   14406:       solaris_use_stlport4=yes
                   14407:       ;;
                   14408:     esac
                   14409: 
                   14410:     # Adding this requires a known-good setup of shared libraries for
                   14411:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14412:     # archive will be linked into the output, leading to subtle bugs.
                   14413:     if test "$solaris_use_stlport4" != yes; then
                   14414:       postdeps_CXX='-library=Cstd -library=Crun'
                   14415:     fi
                   14416:     ;;
                   14417:   esac
                   14418:   ;;
                   14419: esac
                   14420: 
                   14421: 
                   14422: case " $postdeps_CXX " in
                   14423: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14424: esac
                   14425:  compiler_lib_search_dirs_CXX=
                   14426: if test -n "${compiler_lib_search_path_CXX}"; then
                   14427:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14428: fi
                   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: 
                   14454: 
                   14455: 
                   14456: 
                   14457: 
                   14458: 
                   14459: 
                   14460:     lt_prog_compiler_wl_CXX=
                   14461: lt_prog_compiler_pic_CXX=
                   14462: lt_prog_compiler_static_CXX=
                   14463: 
                   14464: 
                   14465:   # C++ specific cases for pic, static, wl, etc.
                   14466:   if test "$GXX" = yes; then
                   14467:     lt_prog_compiler_wl_CXX='-Wl,'
                   14468:     lt_prog_compiler_static_CXX='-static'
                   14469: 
                   14470:     case $host_os in
                   14471:     aix*)
                   14472:       # All AIX code is PIC.
                   14473:       if test "$host_cpu" = ia64; then
                   14474:        # AIX 5 now supports IA64 processor
                   14475:        lt_prog_compiler_static_CXX='-Bstatic'
                   14476:       fi
                   14477:       ;;
                   14478: 
                   14479:     amigaos*)
                   14480:       case $host_cpu in
                   14481:       powerpc)
                   14482:             # see comment about AmigaOS4 .so support
                   14483:             lt_prog_compiler_pic_CXX='-fPIC'
                   14484:         ;;
                   14485:       m68k)
                   14486:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14487:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14488:             # like `-m68040'.
                   14489:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14490:         ;;
                   14491:       esac
                   14492:       ;;
                   14493: 
                   14494:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14495:       # PIC is the default for these OSes.
                   14496:       ;;
                   14497:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14498:       # This hack is so that the source file can tell whether it is being
                   14499:       # built for inclusion in a dll (and should export symbols for example).
                   14500:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14501:       # (--disable-auto-import) libraries
                   14502:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14503:       ;;
                   14504:     darwin* | rhapsody*)
                   14505:       # PIC is the default on this platform
                   14506:       # Common symbols not allowed in MH_DYLIB files
                   14507:       lt_prog_compiler_pic_CXX='-fno-common'
                   14508:       ;;
                   14509:     *djgpp*)
                   14510:       # DJGPP does not support shared libraries at all
                   14511:       lt_prog_compiler_pic_CXX=
                   14512:       ;;
                   14513:     haiku*)
                   14514:       # PIC is the default for Haiku.
                   14515:       # The "-static" flag exists, but is broken.
                   14516:       lt_prog_compiler_static_CXX=
                   14517:       ;;
                   14518:     interix[3-9]*)
                   14519:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14520:       # Instead, we relocate shared libraries at runtime.
                   14521:       ;;
                   14522:     sysv4*MP*)
                   14523:       if test -d /usr/nec; then
                   14524:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14525:       fi
                   14526:       ;;
                   14527:     hpux*)
                   14528:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14529:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14530:       # sets the default TLS model and affects inlining.
                   14531:       case $host_cpu in
                   14532:       hppa*64*)
                   14533:        ;;
                   14534:       *)
                   14535:        lt_prog_compiler_pic_CXX='-fPIC'
                   14536:        ;;
                   14537:       esac
                   14538:       ;;
                   14539:     *qnx* | *nto*)
                   14540:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14541:       # it will coredump.
                   14542:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14543:       ;;
                   14544:     *)
                   14545:       lt_prog_compiler_pic_CXX='-fPIC'
                   14546:       ;;
                   14547:     esac
                   14548:   else
                   14549:     case $host_os in
                   14550:       aix[4-9]*)
                   14551:        # All AIX code is PIC.
                   14552:        if test "$host_cpu" = ia64; then
                   14553:          # AIX 5 now supports IA64 processor
                   14554:          lt_prog_compiler_static_CXX='-Bstatic'
                   14555:        else
                   14556:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14557:        fi
                   14558:        ;;
                   14559:       chorus*)
                   14560:        case $cc_basename in
                   14561:        cxch68*)
                   14562:          # Green Hills C++ Compiler
                   14563:          # _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"
                   14564:          ;;
                   14565:        esac
                   14566:        ;;
                   14567:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14568:        # This hack is so that the source file can tell whether it is being
                   14569:        # built for inclusion in a dll (and should export symbols for example).
                   14570:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14571:        ;;
                   14572:       dgux*)
                   14573:        case $cc_basename in
                   14574:          ec++*)
                   14575:            lt_prog_compiler_pic_CXX='-KPIC'
                   14576:            ;;
                   14577:          ghcx*)
                   14578:            # Green Hills C++ Compiler
                   14579:            lt_prog_compiler_pic_CXX='-pic'
                   14580:            ;;
                   14581:          *)
                   14582:            ;;
                   14583:        esac
                   14584:        ;;
                   14585:       freebsd* | dragonfly*)
                   14586:        # FreeBSD uses GNU C++
                   14587:        ;;
                   14588:       hpux9* | hpux10* | hpux11*)
                   14589:        case $cc_basename in
                   14590:          CC*)
                   14591:            lt_prog_compiler_wl_CXX='-Wl,'
                   14592:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14593:            if test "$host_cpu" != ia64; then
                   14594:              lt_prog_compiler_pic_CXX='+Z'
                   14595:            fi
                   14596:            ;;
                   14597:          aCC*)
                   14598:            lt_prog_compiler_wl_CXX='-Wl,'
                   14599:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14600:            case $host_cpu in
                   14601:            hppa*64*|ia64*)
                   14602:              # +Z the default
                   14603:              ;;
                   14604:            *)
                   14605:              lt_prog_compiler_pic_CXX='+Z'
                   14606:              ;;
                   14607:            esac
                   14608:            ;;
                   14609:          *)
                   14610:            ;;
                   14611:        esac
                   14612:        ;;
                   14613:       interix*)
                   14614:        # This is c89, which is MS Visual C++ (no shared libs)
                   14615:        # Anyone wants to do a port?
                   14616:        ;;
                   14617:       irix5* | irix6* | nonstopux*)
                   14618:        case $cc_basename in
                   14619:          CC*)
                   14620:            lt_prog_compiler_wl_CXX='-Wl,'
                   14621:            lt_prog_compiler_static_CXX='-non_shared'
                   14622:            # CC pic flag -KPIC is the default.
                   14623:            ;;
                   14624:          *)
                   14625:            ;;
                   14626:        esac
                   14627:        ;;
                   14628:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14629:        case $cc_basename in
                   14630:          KCC*)
                   14631:            # KAI C++ Compiler
                   14632:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14633:            lt_prog_compiler_pic_CXX='-fPIC'
                   14634:            ;;
                   14635:          ecpc* )
                   14636:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14637:            lt_prog_compiler_wl_CXX='-Wl,'
                   14638:            lt_prog_compiler_pic_CXX='-KPIC'
                   14639:            lt_prog_compiler_static_CXX='-static'
                   14640:            ;;
                   14641:          icpc* )
                   14642:            # Intel C++, used to be incompatible with GCC.
                   14643:            # ICC 10 doesn't accept -KPIC any more.
                   14644:            lt_prog_compiler_wl_CXX='-Wl,'
                   14645:            lt_prog_compiler_pic_CXX='-fPIC'
                   14646:            lt_prog_compiler_static_CXX='-static'
                   14647:            ;;
                   14648:          pgCC* | pgcpp*)
                   14649:            # Portland Group C++ compiler
                   14650:            lt_prog_compiler_wl_CXX='-Wl,'
                   14651:            lt_prog_compiler_pic_CXX='-fpic'
                   14652:            lt_prog_compiler_static_CXX='-Bstatic'
                   14653:            ;;
                   14654:          cxx*)
                   14655:            # Compaq C++
                   14656:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14657:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14658:            lt_prog_compiler_pic_CXX=
                   14659:            lt_prog_compiler_static_CXX='-non_shared'
                   14660:            ;;
                   14661:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14662:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14663:            lt_prog_compiler_wl_CXX='-Wl,'
                   14664:            lt_prog_compiler_pic_CXX='-qpic'
                   14665:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14666:            ;;
                   14667:          *)
                   14668:            case `$CC -V 2>&1 | sed 5q` in
                   14669:            *Sun\ C*)
                   14670:              # Sun C++ 5.9
                   14671:              lt_prog_compiler_pic_CXX='-KPIC'
                   14672:              lt_prog_compiler_static_CXX='-Bstatic'
                   14673:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14674:              ;;
                   14675:            esac
                   14676:            ;;
                   14677:        esac
                   14678:        ;;
                   14679:       lynxos*)
                   14680:        ;;
                   14681:       m88k*)
                   14682:        ;;
                   14683:       mvs*)
                   14684:        case $cc_basename in
                   14685:          cxx*)
                   14686:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14687:            ;;
                   14688:          *)
                   14689:            ;;
                   14690:        esac
                   14691:        ;;
                   14692:       netbsd*)
                   14693:        ;;
                   14694:       *qnx* | *nto*)
                   14695:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14696:         # it will coredump.
                   14697:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14698:         ;;
                   14699:       osf3* | osf4* | osf5*)
                   14700:        case $cc_basename in
                   14701:          KCC*)
                   14702:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14703:            ;;
                   14704:          RCC*)
                   14705:            # Rational C++ 2.4.1
                   14706:            lt_prog_compiler_pic_CXX='-pic'
                   14707:            ;;
                   14708:          cxx*)
                   14709:            # Digital/Compaq C++
                   14710:            lt_prog_compiler_wl_CXX='-Wl,'
                   14711:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14712:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14713:            lt_prog_compiler_pic_CXX=
                   14714:            lt_prog_compiler_static_CXX='-non_shared'
                   14715:            ;;
                   14716:          *)
                   14717:            ;;
                   14718:        esac
                   14719:        ;;
                   14720:       psos*)
                   14721:        ;;
                   14722:       solaris*)
                   14723:        case $cc_basename in
                   14724:          CC* | sunCC*)
                   14725:            # Sun C++ 4.2, 5.x and Centerline C++
                   14726:            lt_prog_compiler_pic_CXX='-KPIC'
                   14727:            lt_prog_compiler_static_CXX='-Bstatic'
                   14728:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14729:            ;;
                   14730:          gcx*)
                   14731:            # Green Hills C++ Compiler
                   14732:            lt_prog_compiler_pic_CXX='-PIC'
                   14733:            ;;
                   14734:          *)
                   14735:            ;;
                   14736:        esac
                   14737:        ;;
                   14738:       sunos4*)
                   14739:        case $cc_basename in
                   14740:          CC*)
                   14741:            # Sun C++ 4.x
                   14742:            lt_prog_compiler_pic_CXX='-pic'
                   14743:            lt_prog_compiler_static_CXX='-Bstatic'
                   14744:            ;;
                   14745:          lcc*)
                   14746:            # Lucid
                   14747:            lt_prog_compiler_pic_CXX='-pic'
                   14748:            ;;
                   14749:          *)
                   14750:            ;;
                   14751:        esac
                   14752:        ;;
                   14753:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14754:        case $cc_basename in
                   14755:          CC*)
                   14756:            lt_prog_compiler_wl_CXX='-Wl,'
                   14757:            lt_prog_compiler_pic_CXX='-KPIC'
                   14758:            lt_prog_compiler_static_CXX='-Bstatic'
                   14759:            ;;
                   14760:        esac
                   14761:        ;;
                   14762:       tandem*)
                   14763:        case $cc_basename in
                   14764:          NCC*)
                   14765:            # NonStop-UX NCC 3.20
                   14766:            lt_prog_compiler_pic_CXX='-KPIC'
                   14767:            ;;
                   14768:          *)
                   14769:            ;;
                   14770:        esac
                   14771:        ;;
                   14772:       vxworks*)
                   14773:        ;;
                   14774:       *)
                   14775:        lt_prog_compiler_can_build_shared_CXX=no
                   14776:        ;;
                   14777:     esac
                   14778:   fi
                   14779: 
                   14780: case $host_os in
                   14781:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14782:   *djgpp*)
                   14783:     lt_prog_compiler_pic_CXX=
                   14784:     ;;
                   14785:   *)
                   14786:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14787:     ;;
                   14788: esac
                   14789: 
1.150     moko     14790: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   14791: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   14792: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   14793:   $as_echo_n "(cached) " >&6
1.128     moko     14794: else
                   14795:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14796: fi
1.150     moko     14797: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14798: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     14799: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14800: 
                   14801: #
                   14802: # Check to make sure the PIC flag actually works.
                   14803: #
                   14804: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150     moko     14805:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14806: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   14807: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   14808:   $as_echo_n "(cached) " >&6
1.128     moko     14809: else
                   14810:   lt_cv_prog_compiler_pic_works_CXX=no
                   14811:    ac_outfile=conftest.$ac_objext
                   14812:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14813:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14814:    # Insert the option either (1) after the last *FLAGS variable, or
                   14815:    # (2) before a word containing "conftest.", or (3) at the end.
                   14816:    # Note that $ac_compile itself does not contain backslashes and begins
                   14817:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14818:    # The option is referenced via a variable to avoid confusing sed.
                   14819:    lt_compile=`echo "$ac_compile" | $SED \
                   14820:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14821:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14822:    -e 's:$: $lt_compiler_flag:'`
                   14823:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14824:    (eval "$lt_compile" 2>conftest.err)
                   14825:    ac_status=$?
                   14826:    cat conftest.err >&5
                   14827:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14828:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14829:      # The compiler can only warn and ignore the option if not recognized
                   14830:      # So say no if there are warnings other than the usual output.
                   14831:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14832:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14833:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14834:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14835:      fi
                   14836:    fi
                   14837:    $RM conftest*
                   14838: 
                   14839: fi
1.150     moko     14840: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14841: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     14842: 
                   14843: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14844:     case $lt_prog_compiler_pic_CXX in
                   14845:      "" | " "*) ;;
                   14846:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14847:      esac
                   14848: else
                   14849:     lt_prog_compiler_pic_CXX=
                   14850:      lt_prog_compiler_can_build_shared_CXX=no
                   14851: fi
                   14852: 
                   14853: fi
                   14854: 
                   14855: 
                   14856: 
                   14857: 
                   14858: 
                   14859: #
                   14860: # Check to make sure the static flag actually works.
                   14861: #
                   14862: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150     moko     14863: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14864: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   14865: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   14866:   $as_echo_n "(cached) " >&6
1.128     moko     14867: else
                   14868:   lt_cv_prog_compiler_static_works_CXX=no
                   14869:    save_LDFLAGS="$LDFLAGS"
                   14870:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14871:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14872:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14873:      # The linker can only warn and ignore the option if not recognized
                   14874:      # So say no if there are warnings
                   14875:      if test -s conftest.err; then
                   14876:        # Append any errors to the config.log.
                   14877:        cat conftest.err 1>&5
                   14878:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14879:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14880:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14881:          lt_cv_prog_compiler_static_works_CXX=yes
                   14882:        fi
                   14883:      else
                   14884:        lt_cv_prog_compiler_static_works_CXX=yes
                   14885:      fi
                   14886:    fi
                   14887:    $RM -r conftest*
                   14888:    LDFLAGS="$save_LDFLAGS"
                   14889: 
                   14890: fi
1.150     moko     14891: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14892: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     14893: 
                   14894: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14895:     :
                   14896: else
                   14897:     lt_prog_compiler_static_CXX=
                   14898: fi
                   14899: 
                   14900: 
                   14901: 
                   14902: 
1.150     moko     14903:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14904: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14905: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14906:   $as_echo_n "(cached) " >&6
1.128     moko     14907: else
                   14908:   lt_cv_prog_compiler_c_o_CXX=no
                   14909:    $RM -r conftest 2>/dev/null
                   14910:    mkdir conftest
                   14911:    cd conftest
                   14912:    mkdir out
                   14913:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14914: 
                   14915:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14916:    # Insert the option either (1) after the last *FLAGS variable, or
                   14917:    # (2) before a word containing "conftest.", or (3) at the end.
                   14918:    # Note that $ac_compile itself does not contain backslashes and begins
                   14919:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14920:    lt_compile=`echo "$ac_compile" | $SED \
                   14921:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14922:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14923:    -e 's:$: $lt_compiler_flag:'`
                   14924:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14925:    (eval "$lt_compile" 2>out/conftest.err)
                   14926:    ac_status=$?
                   14927:    cat out/conftest.err >&5
                   14928:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14929:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14930:    then
                   14931:      # The compiler can only warn and ignore the option if not recognized
                   14932:      # So say no if there are warnings
                   14933:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14934:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14935:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14936:        lt_cv_prog_compiler_c_o_CXX=yes
                   14937:      fi
                   14938:    fi
                   14939:    chmod u+w . 2>&5
                   14940:    $RM conftest*
                   14941:    # SGI C++ compiler will create directory out/ii_files/ for
                   14942:    # template instantiation
                   14943:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14944:    $RM out/* && rmdir out
                   14945:    cd ..
                   14946:    $RM -r conftest
                   14947:    $RM conftest*
                   14948: 
                   14949: fi
1.150     moko     14950: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14951: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     14952: 
                   14953: 
                   14954: 
1.150     moko     14955:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14956: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14957: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14958:   $as_echo_n "(cached) " >&6
1.128     moko     14959: else
                   14960:   lt_cv_prog_compiler_c_o_CXX=no
                   14961:    $RM -r conftest 2>/dev/null
                   14962:    mkdir conftest
                   14963:    cd conftest
                   14964:    mkdir out
                   14965:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14966: 
                   14967:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14968:    # Insert the option either (1) after the last *FLAGS variable, or
                   14969:    # (2) before a word containing "conftest.", or (3) at the end.
                   14970:    # Note that $ac_compile itself does not contain backslashes and begins
                   14971:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14972:    lt_compile=`echo "$ac_compile" | $SED \
                   14973:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14974:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14975:    -e 's:$: $lt_compiler_flag:'`
                   14976:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14977:    (eval "$lt_compile" 2>out/conftest.err)
                   14978:    ac_status=$?
                   14979:    cat out/conftest.err >&5
                   14980:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14981:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14982:    then
                   14983:      # The compiler can only warn and ignore the option if not recognized
                   14984:      # So say no if there are warnings
                   14985:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14986:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14987:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14988:        lt_cv_prog_compiler_c_o_CXX=yes
                   14989:      fi
                   14990:    fi
                   14991:    chmod u+w . 2>&5
                   14992:    $RM conftest*
                   14993:    # SGI C++ compiler will create directory out/ii_files/ for
                   14994:    # template instantiation
                   14995:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14996:    $RM out/* && rmdir out
                   14997:    cd ..
                   14998:    $RM -r conftest
                   14999:    $RM conftest*
                   15000: 
                   15001: fi
1.150     moko     15002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15003: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15004: 
                   15005: 
                   15006: 
                   15007: 
                   15008: hard_links="nottested"
                   15009: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15010:   # do not overwrite the value of need_locks provided by the user
1.150     moko     15011:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15012: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15013:   hard_links=yes
                   15014:   $RM conftest*
                   15015:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15016:   touch conftest.a
                   15017:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15018:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     15019:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15020: $as_echo "$hard_links" >&6; }
1.128     moko     15021:   if test "$hard_links" = no; then
1.150     moko     15022:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15023: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15024:     need_locks=warn
                   15025:   fi
                   15026: else
                   15027:   need_locks=no
                   15028: fi
                   15029: 
                   15030: 
                   15031: 
1.150     moko     15032:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15033: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15034: 
                   15035:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15036:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15037:   case $host_os in
                   15038:   aix[4-9]*)
                   15039:     # If we're using GNU nm, then we don't want the "-C" option.
                   15040:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15041:     # Also, AIX nm treats weak defined symbols like other global defined
                   15042:     # symbols, whereas GNU nm marks them as "W".
                   15043:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15044:       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'
                   15045:     else
                   15046:       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'
                   15047:     fi
                   15048:     ;;
                   15049:   pw32*)
                   15050:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15051:     ;;
                   15052:   cygwin* | mingw* | cegcc*)
                   15053:     case $cc_basename in
                   15054:     cl*)
                   15055:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15056:       ;;
                   15057:     *)
                   15058:       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'
                   15059:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15060:       ;;
                   15061:     esac
                   15062:     ;;
                   15063:   *)
                   15064:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15065:     ;;
                   15066:   esac
                   15067: 
1.150     moko     15068: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15069: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15070: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15071: 
                   15072: with_gnu_ld_CXX=$with_gnu_ld
                   15073: 
                   15074: 
                   15075: 
                   15076: 
                   15077: 
                   15078: 
                   15079: #
                   15080: # Do we need to explicitly link libc?
                   15081: #
                   15082: case "x$archive_cmds_need_lc_CXX" in
                   15083: x|xyes)
                   15084:   # Assume -lc should be added
                   15085:   archive_cmds_need_lc_CXX=yes
                   15086: 
                   15087:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15088:     case $archive_cmds_CXX in
                   15089:     *'~'*)
                   15090:       # FIXME: we may have to deal with multi-command sequences.
                   15091:       ;;
                   15092:     '$CC '*)
                   15093:       # Test whether the compiler implicitly links with -lc since on some
                   15094:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15095:       # to ld, don't add -lc before -lgcc.
1.150     moko     15096:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15097: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15098: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15099:   $as_echo_n "(cached) " >&6
1.128     moko     15100: else
                   15101:   $RM conftest*
                   15102:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15103: 
1.150     moko     15104:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15105:   (eval $ac_compile) 2>&5
                   15106:   ac_status=$?
1.150     moko     15107:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15108:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15109:          soname=conftest
                   15110:          lib=conftest
                   15111:          libobjs=conftest.$ac_objext
                   15112:          deplibs=
                   15113:          wl=$lt_prog_compiler_wl_CXX
                   15114:          pic_flag=$lt_prog_compiler_pic_CXX
                   15115:          compiler_flags=-v
                   15116:          linker_flags=-v
                   15117:          verstring=
                   15118:          output_objdir=.
                   15119:          libname=conftest
                   15120:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15121:          allow_undefined_flag_CXX=
1.150     moko     15122:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15123:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15124:   ac_status=$?
1.150     moko     15125:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15126:   test $ac_status = 0; }
1.128     moko     15127:          then
                   15128:            lt_cv_archive_cmds_need_lc_CXX=no
                   15129:          else
                   15130:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15131:          fi
                   15132:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15133:        else
                   15134:          cat conftest.err 1>&5
                   15135:        fi
                   15136:        $RM conftest*
                   15137: 
                   15138: fi
1.150     moko     15139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   15140: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15141:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15142:       ;;
                   15143:     esac
                   15144:   fi
                   15145:   ;;
                   15146: esac
                   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: 
                   15202: 
                   15203: 
                   15204: 
                   15205: 
                   15206: 
                   15207: 
                   15208: 
1.150     moko     15209:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   15210: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15211: 
                   15212: library_names_spec=
                   15213: libname_spec='lib$name'
                   15214: soname_spec=
                   15215: shrext_cmds=".so"
                   15216: postinstall_cmds=
                   15217: postuninstall_cmds=
                   15218: finish_cmds=
                   15219: finish_eval=
                   15220: shlibpath_var=
                   15221: shlibpath_overrides_runpath=unknown
                   15222: version_type=none
                   15223: dynamic_linker="$host_os ld.so"
                   15224: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15225: need_lib_prefix=unknown
                   15226: hardcode_into_libs=no
                   15227: 
                   15228: # when you set need_version to no, make sure it does not cause -set_version
                   15229: # flags to be left without arguments
                   15230: need_version=unknown
                   15231: 
                   15232: case $host_os in
                   15233: aix3*)
                   15234:   version_type=linux # correct to gnu/linux during the next big refactor
                   15235:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15236:   shlibpath_var=LIBPATH
                   15237: 
                   15238:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15239:   soname_spec='${libname}${release}${shared_ext}$major'
                   15240:   ;;
                   15241: 
                   15242: aix[4-9]*)
                   15243:   version_type=linux # correct to gnu/linux during the next big refactor
                   15244:   need_lib_prefix=no
                   15245:   need_version=no
                   15246:   hardcode_into_libs=yes
                   15247:   if test "$host_cpu" = ia64; then
                   15248:     # AIX 5 supports IA64
                   15249:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15250:     shlibpath_var=LD_LIBRARY_PATH
                   15251:   else
                   15252:     # With GCC up to 2.95.x, collect2 would create an import file
                   15253:     # for dependence libraries.  The import file would start with
                   15254:     # the line `#! .'.  This would cause the generated library to
                   15255:     # depend on `.', always an invalid library.  This was fixed in
                   15256:     # development snapshots of GCC prior to 3.0.
                   15257:     case $host_os in
                   15258:       aix4 | aix4.[01] | aix4.[01].*)
                   15259:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15260:           echo ' yes '
                   15261:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15262:        :
                   15263:       else
                   15264:        can_build_shared=no
                   15265:       fi
                   15266:       ;;
                   15267:     esac
                   15268:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15269:     # soname into executable. Probably we can add versioning support to
                   15270:     # collect2, so additional links can be useful in future.
                   15271:     if test "$aix_use_runtimelinking" = yes; then
                   15272:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15273:       # instead of lib<name>.a to let people know that these are not
                   15274:       # typical AIX shared libraries.
                   15275:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15276:     else
                   15277:       # We preserve .a as extension for shared libraries through AIX4.2
                   15278:       # and later when we are not doing run time linking.
                   15279:       library_names_spec='${libname}${release}.a $libname.a'
                   15280:       soname_spec='${libname}${release}${shared_ext}$major'
                   15281:     fi
                   15282:     shlibpath_var=LIBPATH
                   15283:   fi
                   15284:   ;;
                   15285: 
                   15286: amigaos*)
                   15287:   case $host_cpu in
                   15288:   powerpc)
                   15289:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15290:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15291:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15292:     ;;
                   15293:   m68k)
                   15294:     library_names_spec='$libname.ixlibrary $libname.a'
                   15295:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15296:     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'
                   15297:     ;;
                   15298:   esac
                   15299:   ;;
                   15300: 
                   15301: beos*)
                   15302:   library_names_spec='${libname}${shared_ext}'
                   15303:   dynamic_linker="$host_os ld.so"
                   15304:   shlibpath_var=LIBRARY_PATH
                   15305:   ;;
                   15306: 
                   15307: bsdi[45]*)
                   15308:   version_type=linux # correct to gnu/linux during the next big refactor
                   15309:   need_version=no
                   15310:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15311:   soname_spec='${libname}${release}${shared_ext}$major'
                   15312:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15313:   shlibpath_var=LD_LIBRARY_PATH
                   15314:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15315:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15316:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15317:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15318:   # libtool to hard-code these into programs
                   15319:   ;;
                   15320: 
                   15321: cygwin* | mingw* | pw32* | cegcc*)
                   15322:   version_type=windows
                   15323:   shrext_cmds=".dll"
                   15324:   need_version=no
                   15325:   need_lib_prefix=no
                   15326: 
                   15327:   case $GCC,$cc_basename in
                   15328:   yes,*)
                   15329:     # gcc
                   15330:     library_names_spec='$libname.dll.a'
                   15331:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15332:     postinstall_cmds='base_file=`basename \${file}`~
                   15333:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15334:       dldir=$destdir/`dirname \$dlpath`~
                   15335:       test -d \$dldir || mkdir -p \$dldir~
                   15336:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15337:       chmod a+x \$dldir/$dlname~
                   15338:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15339:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15340:       fi'
                   15341:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15342:       dlpath=$dir/\$dldll~
                   15343:        $RM \$dlpath'
                   15344:     shlibpath_overrides_runpath=yes
                   15345: 
                   15346:     case $host_os in
                   15347:     cygwin*)
                   15348:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15349:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15350: 
                   15351:       ;;
                   15352:     mingw* | cegcc*)
                   15353:       # MinGW DLLs use traditional 'lib' prefix
                   15354:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15355:       ;;
                   15356:     pw32*)
                   15357:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15358:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15359:       ;;
                   15360:     esac
                   15361:     dynamic_linker='Win32 ld.exe'
                   15362:     ;;
                   15363: 
                   15364:   *,cl*)
                   15365:     # Native MSVC
                   15366:     libname_spec='$name'
                   15367:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15368:     library_names_spec='${libname}.dll.lib'
                   15369: 
                   15370:     case $build_os in
                   15371:     mingw*)
                   15372:       sys_lib_search_path_spec=
                   15373:       lt_save_ifs=$IFS
                   15374:       IFS=';'
                   15375:       for lt_path in $LIB
                   15376:       do
                   15377:         IFS=$lt_save_ifs
                   15378:         # Let DOS variable expansion print the short 8.3 style file name.
                   15379:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15380:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15381:       done
                   15382:       IFS=$lt_save_ifs
                   15383:       # Convert to MSYS style.
                   15384:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15385:       ;;
                   15386:     cygwin*)
                   15387:       # Convert to unix form, then to dos form, then back to unix form
                   15388:       # but this time dos style (no spaces!) so that the unix form looks
                   15389:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15390:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15391:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15392:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15393:       ;;
                   15394:     *)
                   15395:       sys_lib_search_path_spec="$LIB"
                   15396:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15397:         # It is most probably a Windows format PATH.
                   15398:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15399:       else
                   15400:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15401:       fi
                   15402:       # FIXME: find the short name or the path components, as spaces are
                   15403:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15404:       ;;
                   15405:     esac
                   15406: 
                   15407:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15408:     postinstall_cmds='base_file=`basename \${file}`~
                   15409:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15410:       dldir=$destdir/`dirname \$dlpath`~
                   15411:       test -d \$dldir || mkdir -p \$dldir~
                   15412:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15413:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15414:       dlpath=$dir/\$dldll~
                   15415:        $RM \$dlpath'
                   15416:     shlibpath_overrides_runpath=yes
                   15417:     dynamic_linker='Win32 link.exe'
                   15418:     ;;
                   15419: 
                   15420:   *)
                   15421:     # Assume MSVC wrapper
                   15422:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15423:     dynamic_linker='Win32 ld.exe'
                   15424:     ;;
                   15425:   esac
                   15426:   # FIXME: first we should search . and the directory the executable is in
                   15427:   shlibpath_var=PATH
                   15428:   ;;
                   15429: 
                   15430: darwin* | rhapsody*)
                   15431:   dynamic_linker="$host_os dyld"
                   15432:   version_type=darwin
                   15433:   need_lib_prefix=no
                   15434:   need_version=no
                   15435:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15436:   soname_spec='${libname}${release}${major}$shared_ext'
                   15437:   shlibpath_overrides_runpath=yes
                   15438:   shlibpath_var=DYLD_LIBRARY_PATH
                   15439:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15440: 
                   15441:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15442:   ;;
                   15443: 
                   15444: dgux*)
                   15445:   version_type=linux # correct to gnu/linux during the next big refactor
                   15446:   need_lib_prefix=no
                   15447:   need_version=no
                   15448:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15449:   soname_spec='${libname}${release}${shared_ext}$major'
                   15450:   shlibpath_var=LD_LIBRARY_PATH
                   15451:   ;;
                   15452: 
                   15453: freebsd* | dragonfly*)
                   15454:   # DragonFly does not have aout.  When/if they implement a new
                   15455:   # versioning mechanism, adjust this.
                   15456:   if test -x /usr/bin/objformat; then
                   15457:     objformat=`/usr/bin/objformat`
                   15458:   else
                   15459:     case $host_os in
                   15460:     freebsd[23].*) objformat=aout ;;
                   15461:     *) objformat=elf ;;
                   15462:     esac
                   15463:   fi
                   15464:   version_type=freebsd-$objformat
                   15465:   case $version_type in
                   15466:     freebsd-elf*)
                   15467:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15468:       need_version=no
                   15469:       need_lib_prefix=no
                   15470:       ;;
                   15471:     freebsd-*)
                   15472:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15473:       need_version=yes
                   15474:       ;;
                   15475:   esac
                   15476:   shlibpath_var=LD_LIBRARY_PATH
                   15477:   case $host_os in
                   15478:   freebsd2.*)
                   15479:     shlibpath_overrides_runpath=yes
                   15480:     ;;
                   15481:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15482:     shlibpath_overrides_runpath=yes
                   15483:     hardcode_into_libs=yes
                   15484:     ;;
                   15485:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15486:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15487:     shlibpath_overrides_runpath=no
                   15488:     hardcode_into_libs=yes
                   15489:     ;;
                   15490:   *) # from 4.6 on, and DragonFly
                   15491:     shlibpath_overrides_runpath=yes
                   15492:     hardcode_into_libs=yes
                   15493:     ;;
                   15494:   esac
                   15495:   ;;
                   15496: 
                   15497: gnu*)
                   15498:   version_type=linux # correct to gnu/linux during the next big refactor
                   15499:   need_lib_prefix=no
                   15500:   need_version=no
                   15501:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15502:   soname_spec='${libname}${release}${shared_ext}$major'
                   15503:   shlibpath_var=LD_LIBRARY_PATH
                   15504:   shlibpath_overrides_runpath=no
                   15505:   hardcode_into_libs=yes
                   15506:   ;;
                   15507: 
                   15508: haiku*)
                   15509:   version_type=linux # correct to gnu/linux during the next big refactor
                   15510:   need_lib_prefix=no
                   15511:   need_version=no
                   15512:   dynamic_linker="$host_os runtime_loader"
                   15513:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15514:   soname_spec='${libname}${release}${shared_ext}$major'
                   15515:   shlibpath_var=LIBRARY_PATH
                   15516:   shlibpath_overrides_runpath=yes
                   15517:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15518:   hardcode_into_libs=yes
                   15519:   ;;
                   15520: 
                   15521: hpux9* | hpux10* | hpux11*)
                   15522:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15523:   # link against other versions.
                   15524:   version_type=sunos
                   15525:   need_lib_prefix=no
                   15526:   need_version=no
                   15527:   case $host_cpu in
                   15528:   ia64*)
                   15529:     shrext_cmds='.so'
                   15530:     hardcode_into_libs=yes
                   15531:     dynamic_linker="$host_os dld.so"
                   15532:     shlibpath_var=LD_LIBRARY_PATH
                   15533:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15534:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15535:     soname_spec='${libname}${release}${shared_ext}$major'
                   15536:     if test "X$HPUX_IA64_MODE" = X32; then
                   15537:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15538:     else
                   15539:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15540:     fi
                   15541:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15542:     ;;
                   15543:   hppa*64*)
                   15544:     shrext_cmds='.sl'
                   15545:     hardcode_into_libs=yes
                   15546:     dynamic_linker="$host_os dld.sl"
                   15547:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15548:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15549:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15550:     soname_spec='${libname}${release}${shared_ext}$major'
                   15551:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15552:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15553:     ;;
                   15554:   *)
                   15555:     shrext_cmds='.sl'
                   15556:     dynamic_linker="$host_os dld.sl"
                   15557:     shlibpath_var=SHLIB_PATH
                   15558:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15559:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15560:     soname_spec='${libname}${release}${shared_ext}$major'
                   15561:     ;;
                   15562:   esac
                   15563:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15564:   postinstall_cmds='chmod 555 $lib'
                   15565:   # or fails outright, so override atomically:
                   15566:   install_override_mode=555
                   15567:   ;;
                   15568: 
                   15569: interix[3-9]*)
                   15570:   version_type=linux # correct to gnu/linux during the next big refactor
                   15571:   need_lib_prefix=no
                   15572:   need_version=no
                   15573:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15574:   soname_spec='${libname}${release}${shared_ext}$major'
                   15575:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15576:   shlibpath_var=LD_LIBRARY_PATH
                   15577:   shlibpath_overrides_runpath=no
                   15578:   hardcode_into_libs=yes
                   15579:   ;;
                   15580: 
                   15581: irix5* | irix6* | nonstopux*)
                   15582:   case $host_os in
                   15583:     nonstopux*) version_type=nonstopux ;;
                   15584:     *)
                   15585:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15586:                version_type=linux # correct to gnu/linux during the next big refactor
                   15587:        else
                   15588:                version_type=irix
                   15589:        fi ;;
                   15590:   esac
                   15591:   need_lib_prefix=no
                   15592:   need_version=no
                   15593:   soname_spec='${libname}${release}${shared_ext}$major'
                   15594:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15595:   case $host_os in
                   15596:   irix5* | nonstopux*)
                   15597:     libsuff= shlibsuff=
                   15598:     ;;
                   15599:   *)
                   15600:     case $LD in # libtool.m4 will add one of these switches to LD
                   15601:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15602:       libsuff= shlibsuff= libmagic=32-bit;;
                   15603:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15604:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15605:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15606:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15607:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15608:     esac
                   15609:     ;;
                   15610:   esac
                   15611:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15612:   shlibpath_overrides_runpath=no
                   15613:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15614:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15615:   hardcode_into_libs=yes
                   15616:   ;;
                   15617: 
                   15618: # No shared lib support for Linux oldld, aout, or coff.
                   15619: linux*oldld* | linux*aout* | linux*coff*)
                   15620:   dynamic_linker=no
                   15621:   ;;
                   15622: 
                   15623: # This must be glibc/ELF.
                   15624: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15625:   version_type=linux # correct to gnu/linux during the next big refactor
                   15626:   need_lib_prefix=no
                   15627:   need_version=no
                   15628:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15629:   soname_spec='${libname}${release}${shared_ext}$major'
                   15630:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15631:   shlibpath_var=LD_LIBRARY_PATH
                   15632:   shlibpath_overrides_runpath=no
                   15633: 
                   15634:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     15635:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   15636:   $as_echo_n "(cached) " >&6
1.128     moko     15637: else
                   15638:   lt_cv_shlibpath_overrides_runpath=no
                   15639:     save_LDFLAGS=$LDFLAGS
                   15640:     save_libdir=$libdir
                   15641:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15642:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     15643:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15644: /* end confdefs.h.  */
                   15645: 
                   15646: int
                   15647: main ()
                   15648: {
                   15649: 
                   15650:   ;
                   15651:   return 0;
                   15652: }
                   15653: _ACEOF
1.150     moko     15654: if ac_fn_cxx_try_link "$LINENO"; then :
                   15655:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     15656:   lt_cv_shlibpath_overrides_runpath=yes
                   15657: fi
                   15658: fi
1.150     moko     15659: rm -f core conftest.err conftest.$ac_objext \
                   15660:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     15661:     LDFLAGS=$save_LDFLAGS
                   15662:     libdir=$save_libdir
                   15663: 
                   15664: fi
                   15665: 
                   15666:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15667: 
                   15668:   # This implies no fast_install, which is unacceptable.
                   15669:   # Some rework will be needed to allow for fast_install
                   15670:   # before this can be enabled.
                   15671:   hardcode_into_libs=yes
                   15672: 
                   15673:   # Append ld.so.conf contents to the search path
                   15674:   if test -f /etc/ld.so.conf; then
                   15675:     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' ' '`
                   15676:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15677:   fi
                   15678: 
                   15679:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15680:   # powerpc, because MkLinux only supported shared libraries with the
                   15681:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15682:   # most powerpc-linux boxes support dynamic linking these days and
                   15683:   # people can always --disable-shared, the test was removed, and we
                   15684:   # assume the GNU/Linux dynamic linker is in use.
                   15685:   dynamic_linker='GNU/Linux ld.so'
                   15686:   ;;
                   15687: 
                   15688: netbsd*)
                   15689:   version_type=sunos
                   15690:   need_lib_prefix=no
                   15691:   need_version=no
                   15692:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15693:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15694:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15695:     dynamic_linker='NetBSD (a.out) ld.so'
                   15696:   else
                   15697:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15698:     soname_spec='${libname}${release}${shared_ext}$major'
                   15699:     dynamic_linker='NetBSD ld.elf_so'
                   15700:   fi
                   15701:   shlibpath_var=LD_LIBRARY_PATH
                   15702:   shlibpath_overrides_runpath=yes
                   15703:   hardcode_into_libs=yes
                   15704:   ;;
                   15705: 
                   15706: newsos6)
                   15707:   version_type=linux # correct to gnu/linux during the next big refactor
                   15708:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15709:   shlibpath_var=LD_LIBRARY_PATH
                   15710:   shlibpath_overrides_runpath=yes
                   15711:   ;;
                   15712: 
                   15713: *nto* | *qnx*)
                   15714:   version_type=qnx
                   15715:   need_lib_prefix=no
                   15716:   need_version=no
                   15717:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15718:   soname_spec='${libname}${release}${shared_ext}$major'
                   15719:   shlibpath_var=LD_LIBRARY_PATH
                   15720:   shlibpath_overrides_runpath=no
                   15721:   hardcode_into_libs=yes
                   15722:   dynamic_linker='ldqnx.so'
                   15723:   ;;
                   15724: 
                   15725: openbsd*)
                   15726:   version_type=sunos
                   15727:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15728:   need_lib_prefix=no
                   15729:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15730:   case $host_os in
                   15731:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15732:     *)                         need_version=no  ;;
                   15733:   esac
                   15734:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15735:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15736:   shlibpath_var=LD_LIBRARY_PATH
                   15737:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15738:     case $host_os in
                   15739:       openbsd2.[89] | openbsd2.[89].*)
                   15740:        shlibpath_overrides_runpath=no
                   15741:        ;;
                   15742:       *)
                   15743:        shlibpath_overrides_runpath=yes
                   15744:        ;;
                   15745:       esac
                   15746:   else
                   15747:     shlibpath_overrides_runpath=yes
                   15748:   fi
                   15749:   ;;
                   15750: 
                   15751: os2*)
                   15752:   libname_spec='$name'
                   15753:   shrext_cmds=".dll"
                   15754:   need_lib_prefix=no
                   15755:   library_names_spec='$libname${shared_ext} $libname.a'
                   15756:   dynamic_linker='OS/2 ld.exe'
                   15757:   shlibpath_var=LIBPATH
                   15758:   ;;
                   15759: 
                   15760: osf3* | osf4* | osf5*)
                   15761:   version_type=osf
                   15762:   need_lib_prefix=no
                   15763:   need_version=no
                   15764:   soname_spec='${libname}${release}${shared_ext}$major'
                   15765:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15766:   shlibpath_var=LD_LIBRARY_PATH
                   15767:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15768:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15769:   ;;
                   15770: 
                   15771: rdos*)
                   15772:   dynamic_linker=no
                   15773:   ;;
                   15774: 
                   15775: solaris*)
                   15776:   version_type=linux # correct to gnu/linux during the next big refactor
                   15777:   need_lib_prefix=no
                   15778:   need_version=no
                   15779:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15780:   soname_spec='${libname}${release}${shared_ext}$major'
                   15781:   shlibpath_var=LD_LIBRARY_PATH
                   15782:   shlibpath_overrides_runpath=yes
                   15783:   hardcode_into_libs=yes
                   15784:   # ldd complains unless libraries are executable
                   15785:   postinstall_cmds='chmod +x $lib'
                   15786:   ;;
                   15787: 
                   15788: sunos4*)
                   15789:   version_type=sunos
                   15790:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15791:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15792:   shlibpath_var=LD_LIBRARY_PATH
                   15793:   shlibpath_overrides_runpath=yes
                   15794:   if test "$with_gnu_ld" = yes; then
                   15795:     need_lib_prefix=no
                   15796:   fi
                   15797:   need_version=yes
                   15798:   ;;
                   15799: 
                   15800: sysv4 | sysv4.3*)
                   15801:   version_type=linux # correct to gnu/linux during the next big refactor
                   15802:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15803:   soname_spec='${libname}${release}${shared_ext}$major'
                   15804:   shlibpath_var=LD_LIBRARY_PATH
                   15805:   case $host_vendor in
                   15806:     sni)
                   15807:       shlibpath_overrides_runpath=no
                   15808:       need_lib_prefix=no
                   15809:       runpath_var=LD_RUN_PATH
                   15810:       ;;
                   15811:     siemens)
                   15812:       need_lib_prefix=no
                   15813:       ;;
                   15814:     motorola)
                   15815:       need_lib_prefix=no
                   15816:       need_version=no
                   15817:       shlibpath_overrides_runpath=no
                   15818:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15819:       ;;
                   15820:   esac
                   15821:   ;;
                   15822: 
                   15823: sysv4*MP*)
                   15824:   if test -d /usr/nec ;then
                   15825:     version_type=linux # correct to gnu/linux during the next big refactor
                   15826:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15827:     soname_spec='$libname${shared_ext}.$major'
                   15828:     shlibpath_var=LD_LIBRARY_PATH
                   15829:   fi
                   15830:   ;;
                   15831: 
                   15832: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15833:   version_type=freebsd-elf
                   15834:   need_lib_prefix=no
                   15835:   need_version=no
                   15836:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15837:   soname_spec='${libname}${release}${shared_ext}$major'
                   15838:   shlibpath_var=LD_LIBRARY_PATH
                   15839:   shlibpath_overrides_runpath=yes
                   15840:   hardcode_into_libs=yes
                   15841:   if test "$with_gnu_ld" = yes; then
                   15842:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15843:   else
                   15844:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15845:     case $host_os in
                   15846:       sco3.2v5*)
                   15847:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15848:        ;;
                   15849:     esac
                   15850:   fi
                   15851:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15852:   ;;
                   15853: 
                   15854: tpf*)
                   15855:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15856:   version_type=linux # correct to gnu/linux during the next big refactor
                   15857:   need_lib_prefix=no
                   15858:   need_version=no
                   15859:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15860:   shlibpath_var=LD_LIBRARY_PATH
                   15861:   shlibpath_overrides_runpath=no
                   15862:   hardcode_into_libs=yes
                   15863:   ;;
                   15864: 
                   15865: uts4*)
                   15866:   version_type=linux # correct to gnu/linux during the next big refactor
                   15867:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15868:   soname_spec='${libname}${release}${shared_ext}$major'
                   15869:   shlibpath_var=LD_LIBRARY_PATH
                   15870:   ;;
                   15871: 
                   15872: *)
                   15873:   dynamic_linker=no
                   15874:   ;;
                   15875: esac
1.150     moko     15876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   15877: $as_echo "$dynamic_linker" >&6; }
1.128     moko     15878: test "$dynamic_linker" = no && can_build_shared=no
                   15879: 
                   15880: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15881: if test "$GCC" = yes; then
                   15882:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15883: fi
                   15884: 
                   15885: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15886:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15887: fi
                   15888: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15889:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15890: fi
                   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: 
                   15922: 
                   15923: 
                   15924: 
                   15925: 
                   15926: 
                   15927: 
                   15928: 
1.150     moko     15929:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   15930: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     15931: hardcode_action_CXX=
                   15932: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15933:    test -n "$runpath_var_CXX" ||
                   15934:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15935: 
                   15936:   # We can hardcode non-existent directories.
                   15937:   if test "$hardcode_direct_CXX" != no &&
                   15938:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15939:      # have to relink, otherwise we might link with an installed library
                   15940:      # when we should be linking with a yet-to-be-installed one
                   15941:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15942:      test "$hardcode_minus_L_CXX" != no; then
                   15943:     # Linking always hardcodes the temporary library directory.
                   15944:     hardcode_action_CXX=relink
                   15945:   else
                   15946:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15947:     hardcode_action_CXX=immediate
                   15948:   fi
                   15949: else
                   15950:   # We cannot hardcode anything, or else we can only hardcode existing
                   15951:   # directories.
                   15952:   hardcode_action_CXX=unsupported
                   15953: fi
1.150     moko     15954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   15955: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     15956: 
                   15957: if test "$hardcode_action_CXX" = relink ||
                   15958:    test "$inherit_rpath_CXX" = yes; then
                   15959:   # Fast installation is not supported
                   15960:   enable_fast_install=no
                   15961: elif test "$shlibpath_overrides_runpath" = yes ||
                   15962:      test "$enable_shared" = no; then
                   15963:   # Fast installation is not necessary
                   15964:   enable_fast_install=needless
                   15965: fi
                   15966: 
                   15967: 
                   15968: 
                   15969: 
                   15970: 
                   15971: 
                   15972: 
                   15973:   fi # test -n "$compiler"
                   15974: 
                   15975:   CC=$lt_save_CC
                   15976:   CFLAGS=$lt_save_CFLAGS
                   15977:   LDCXX=$LD
                   15978:   LD=$lt_save_LD
                   15979:   GCC=$lt_save_GCC
                   15980:   with_gnu_ld=$lt_save_with_gnu_ld
                   15981:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15982:   lt_cv_path_LD=$lt_save_path_LD
                   15983:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15984:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15985: fi # test "$_lt_caught_CXX_error" != yes
                   15986: 
                   15987: ac_ext=c
                   15988: ac_cpp='$CPP $CPPFLAGS'
                   15989: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15990: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15991: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15992: 
                   15993: 
                   15994: 
                   15995: 
                   15996: 
                   15997: 
                   15998: 
                   15999: 
                   16000: 
                   16001: 
                   16002: 
                   16003: 
                   16004: 
                   16005: 
                   16006: 
1.150     moko     16007:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16008: 
                   16009: 
                   16010: 
                   16011: 
                   16012: # Only expand once:
                   16013: 
                   16014: 
1.150     moko     16015: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   16016: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   16017: if ${libltdl_cv_shlibext+:} false; then :
                   16018:   $as_echo_n "(cached) " >&6
1.128     moko     16019: else
                   16020: 
                   16021: module=yes
                   16022: eval libltdl_cv_shlibext=$shrext_cmds
                   16023: module=no
                   16024: eval libltdl_cv_shrext=$shrext_cmds
                   16025: 
                   16026: fi
1.150     moko     16027: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   16028: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16029: if test -n "$libltdl_cv_shlibext"; then
                   16030: 
                   16031: cat >>confdefs.h <<_ACEOF
                   16032: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16033: _ACEOF
                   16034: 
                   16035: fi
                   16036: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16037: 
                   16038: cat >>confdefs.h <<_ACEOF
                   16039: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16040: _ACEOF
                   16041: 
                   16042: fi
                   16043: 
1.150     moko     16044: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   16045: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   16046: if ${lt_cv_module_path_var+:} false; then :
                   16047:   $as_echo_n "(cached) " >&6
1.128     moko     16048: else
                   16049:   lt_cv_module_path_var="$shlibpath_var"
                   16050: fi
1.150     moko     16051: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   16052: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16053: if test -n "$lt_cv_module_path_var"; then
                   16054: 
                   16055: cat >>confdefs.h <<_ACEOF
                   16056: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16057: _ACEOF
                   16058: 
                   16059: fi
                   16060: 
1.150     moko     16061: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   16062: $as_echo_n "checking for the default library search path... " >&6; }
                   16063: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   16064:   $as_echo_n "(cached) " >&6
1.128     moko     16065: else
                   16066:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16067: fi
1.150     moko     16068: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   16069: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16070: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16071:   sys_dlsearch_path=
                   16072:   for dir in $lt_cv_sys_dlsearch_path; do
                   16073:     if test -z "$sys_dlsearch_path"; then
                   16074:       sys_dlsearch_path="$dir"
                   16075:     else
                   16076:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16077:     fi
                   16078:   done
                   16079: 
                   16080: cat >>confdefs.h <<_ACEOF
                   16081: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16082: _ACEOF
                   16083: 
                   16084: fi
                   16085: 
                   16086: 
                   16087: LT_DLLOADERS=
                   16088: 
                   16089: 
                   16090: ac_ext=c
                   16091: ac_cpp='$CPP $CPPFLAGS'
                   16092: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16093: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16094: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16095: 
                   16096: 
                   16097: LIBADD_DLOPEN=
1.150     moko     16098: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   16099: $as_echo_n "checking for library containing dlopen... " >&6; }
                   16100: if ${ac_cv_search_dlopen+:} false; then :
                   16101:   $as_echo_n "(cached) " >&6
1.128     moko     16102: else
                   16103:   ac_func_search_save_LIBS=$LIBS
1.150     moko     16104: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16105: /* end confdefs.h.  */
                   16106: 
1.150     moko     16107: /* Override any GCC internal prototype to avoid an error.
                   16108:    Use char because int might match the return type of a GCC
                   16109:    builtin and then its argument prototype would still apply.  */
1.128     moko     16110: #ifdef __cplusplus
                   16111: extern "C"
                   16112: #endif
                   16113: char dlopen ();
                   16114: int
                   16115: main ()
                   16116: {
1.150     moko     16117: return dlopen ();
1.128     moko     16118:   ;
                   16119:   return 0;
                   16120: }
                   16121: _ACEOF
1.150     moko     16122: for ac_lib in '' dl; do
                   16123:   if test -z "$ac_lib"; then
                   16124:     ac_res="none required"
                   16125:   else
                   16126:     ac_res=-l$ac_lib
                   16127:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16128:   fi
                   16129:   if ac_fn_c_try_link "$LINENO"; then :
                   16130:   ac_cv_search_dlopen=$ac_res
                   16131: fi
                   16132: rm -f core conftest.err conftest.$ac_objext \
                   16133:     conftest$ac_exeext
                   16134:   if ${ac_cv_search_dlopen+:} false; then :
                   16135:   break
1.128     moko     16136: fi
1.150     moko     16137: done
                   16138: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16139: 
                   16140: else
1.150     moko     16141:   ac_cv_search_dlopen=no
1.128     moko     16142: fi
1.150     moko     16143: rm conftest.$ac_ext
1.128     moko     16144: LIBS=$ac_func_search_save_LIBS
                   16145: fi
1.150     moko     16146: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   16147: $as_echo "$ac_cv_search_dlopen" >&6; }
                   16148: ac_res=$ac_cv_search_dlopen
                   16149: if test "$ac_res" != no; then :
                   16150:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16151: 
1.150     moko     16152: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16153: 
                   16154:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16155:          LIBADD_DLOPEN="-ldl"
                   16156:        fi
                   16157:        libltdl_cv_lib_dl_dlopen="yes"
                   16158:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16159: else
1.150     moko     16160:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16161: /* end confdefs.h.  */
                   16162: #if HAVE_DLFCN_H
                   16163: #  include <dlfcn.h>
                   16164: #endif
                   16165: 
                   16166: int
                   16167: main ()
                   16168: {
                   16169: dlopen(0, 0);
                   16170:   ;
                   16171:   return 0;
                   16172: }
                   16173: _ACEOF
1.150     moko     16174: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16175: 
1.150     moko     16176: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16177: 
                   16178:            libltdl_cv_func_dlopen="yes"
                   16179:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16180: else
1.150     moko     16181:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   16182: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   16183: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   16184:   $as_echo_n "(cached) " >&6
1.128     moko     16185: else
                   16186:   ac_check_lib_save_LIBS=$LIBS
                   16187: LIBS="-lsvld  $LIBS"
1.150     moko     16188: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16189: /* end confdefs.h.  */
                   16190: 
1.150     moko     16191: /* Override any GCC internal prototype to avoid an error.
                   16192:    Use char because int might match the return type of a GCC
                   16193:    builtin and then its argument prototype would still apply.  */
1.128     moko     16194: #ifdef __cplusplus
                   16195: extern "C"
                   16196: #endif
                   16197: char dlopen ();
                   16198: int
                   16199: main ()
                   16200: {
1.150     moko     16201: return dlopen ();
1.128     moko     16202:   ;
                   16203:   return 0;
                   16204: }
                   16205: _ACEOF
1.150     moko     16206: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16207:   ac_cv_lib_svld_dlopen=yes
                   16208: else
1.150     moko     16209:   ac_cv_lib_svld_dlopen=no
1.128     moko     16210: fi
1.150     moko     16211: rm -f core conftest.err conftest.$ac_objext \
                   16212:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16213: LIBS=$ac_check_lib_save_LIBS
                   16214: fi
1.150     moko     16215: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16216: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   16217: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16218: 
1.150     moko     16219: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16220: 
                   16221:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16222:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16223: fi
                   16224: 
                   16225: fi
1.150     moko     16226: rm -f core conftest.err conftest.$ac_objext \
                   16227:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16228: fi
                   16229: 
                   16230: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16231: then
                   16232:   lt_save_LIBS="$LIBS"
                   16233:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     16234:   for ac_func in dlerror
                   16235: do :
                   16236:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   16237: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16238:   cat >>confdefs.h <<_ACEOF
1.150     moko     16239: #define HAVE_DLERROR 1
1.128     moko     16240: _ACEOF
                   16241: 
                   16242: fi
                   16243: done
                   16244: 
                   16245:   LIBS="$lt_save_LIBS"
                   16246: fi
                   16247: 
                   16248: 
                   16249: LIBADD_SHL_LOAD=
1.150     moko     16250: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   16251: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16252: 
1.150     moko     16253: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16254: 
                   16255:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16256: else
1.150     moko     16257:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   16258: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   16259: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   16260:   $as_echo_n "(cached) " >&6
1.66      paf      16261: else
                   16262:   ac_check_lib_save_LIBS=$LIBS
                   16263: LIBS="-ldld  $LIBS"
1.150     moko     16264: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16265: /* end confdefs.h.  */
1.10      paf      16266: 
1.150     moko     16267: /* Override any GCC internal prototype to avoid an error.
                   16268:    Use char because int might match the return type of a GCC
                   16269:    builtin and then its argument prototype would still apply.  */
1.66      paf      16270: #ifdef __cplusplus
                   16271: extern "C"
                   16272: #endif
                   16273: char shl_load ();
                   16274: int
                   16275: main ()
                   16276: {
1.150     moko     16277: return shl_load ();
1.66      paf      16278:   ;
                   16279:   return 0;
                   16280: }
                   16281: _ACEOF
1.150     moko     16282: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16283:   ac_cv_lib_dld_shl_load=yes
                   16284: else
1.150     moko     16285:   ac_cv_lib_dld_shl_load=no
1.66      paf      16286: fi
1.150     moko     16287: rm -f core conftest.err conftest.$ac_objext \
                   16288:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16289: LIBS=$ac_check_lib_save_LIBS
                   16290: fi
1.150     moko     16291: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   16292: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   16293: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16294: 
1.150     moko     16295: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16296: 
1.128     moko     16297:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16298:            LIBADD_SHL_LOAD="-ldld"
                   16299: fi
                   16300: 
                   16301: fi
                   16302: 
                   16303: 
                   16304: 
                   16305: case $host_os in
                   16306: darwin[1567].*)
                   16307: # We only want this for pre-Mac OS X 10.4.
1.150     moko     16308:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   16309: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   16310: 
                   16311: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16312: 
1.150     moko     16313:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16314: fi
1.128     moko     16315: 
1.150     moko     16316:   ;;
                   16317: beos*)
1.128     moko     16318:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16319:   ;;
                   16320: cygwin* | mingw* | os2* | pw32*)
1.150     moko     16321:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   16322: "
                   16323: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   16324:   ac_have_decl=1
1.128     moko     16325: else
1.150     moko     16326:   ac_have_decl=0
1.128     moko     16327: fi
                   16328: 
                   16329: cat >>confdefs.h <<_ACEOF
1.150     moko     16330: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16331: _ACEOF
                   16332: 
                   16333:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16334:   ;;
                   16335: esac
                   16336: 
1.150     moko     16337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16338: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   16339: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   16340:   $as_echo_n "(cached) " >&6
1.66      paf      16341: else
                   16342:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16343: LIBS="-ldld  $LIBS"
1.150     moko     16344: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16345: /* end confdefs.h.  */
1.62      paf      16346: 
1.150     moko     16347: /* Override any GCC internal prototype to avoid an error.
                   16348:    Use char because int might match the return type of a GCC
                   16349:    builtin and then its argument prototype would still apply.  */
1.66      paf      16350: #ifdef __cplusplus
                   16351: extern "C"
                   16352: #endif
1.128     moko     16353: char dld_link ();
1.66      paf      16354: int
                   16355: main ()
                   16356: {
1.150     moko     16357: return dld_link ();
1.66      paf      16358:   ;
                   16359:   return 0;
                   16360: }
                   16361: _ACEOF
1.150     moko     16362: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16363:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16364: else
1.150     moko     16365:   ac_cv_lib_dld_dld_link=no
1.128     moko     16366: fi
1.150     moko     16367: rm -f core conftest.err conftest.$ac_objext \
                   16368:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16369: LIBS=$ac_check_lib_save_LIBS
                   16370: fi
1.150     moko     16371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16372: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   16373: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16374: 
1.150     moko     16375: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16376: 
                   16377:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16378: fi
                   16379: 
                   16380: 
                   16381: 
                   16382: 
                   16383: LT_DLPREOPEN=
                   16384: if test -n "$LT_DLLOADERS"
                   16385: then
                   16386:   for lt_loader in $LT_DLLOADERS; do
                   16387:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16388:   done
                   16389: 
1.150     moko     16390: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16391: 
                   16392: fi
                   16393: 
                   16394: 
                   16395: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16396: 
                   16397: 
                   16398: ac_ext=c
                   16399: ac_cpp='$CPP $CPPFLAGS'
                   16400: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16401: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16402: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16403: 
                   16404: 
1.150     moko     16405: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   16406: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   16407: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   16408:   $as_echo_n "(cached) " >&6
1.128     moko     16409: else
                   16410:   lt_cv_sys_symbol_underscore=no
                   16411:   cat > conftest.$ac_ext <<_LT_EOF
                   16412: void nm_test_func(){}
                   16413: int main(){nm_test_func;return 0;}
                   16414: _LT_EOF
1.150     moko     16415:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16416:   (eval $ac_compile) 2>&5
                   16417:   ac_status=$?
1.150     moko     16418:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16419:   test $ac_status = 0; }; then
1.128     moko     16420:     # Now try to grab the symbols.
                   16421:     ac_nlist=conftest.nm
1.150     moko     16422:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16423:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16424:   ac_status=$?
1.150     moko     16425:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16426:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16427:       # See whether the symbols have a leading underscore.
                   16428:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16429:         lt_cv_sys_symbol_underscore=yes
                   16430:       else
                   16431:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16432:          :
                   16433:         else
                   16434:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16435:         fi
                   16436:       fi
                   16437:     else
                   16438:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16439:     fi
                   16440:   else
                   16441:     echo "configure: failed program was:" >&5
                   16442:     cat conftest.c >&5
                   16443:   fi
                   16444:   rm -rf conftest*
1.29      paf      16445: 
1.66      paf      16446: fi
1.150     moko     16447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   16448: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     16449:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16450: 
1.62      paf      16451: 
1.128     moko     16452: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16453:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16454:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150     moko     16455:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   16456: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   16457: if ${libltdl_cv_need_uscore+:} false; then :
                   16458:   $as_echo_n "(cached) " >&6
1.66      paf      16459: else
1.128     moko     16460:   libltdl_cv_need_uscore=unknown
                   16461:           save_LIBS="$LIBS"
                   16462:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16463:          if test "$cross_compiling" = yes; then :
                   16464:   libltdl_cv_need_uscore=cross
                   16465: else
                   16466:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16467:   lt_status=$lt_dlunknown
                   16468:   cat > conftest.$ac_ext <<_LT_EOF
                   16469: #line $LINENO "configure"
                   16470: #include "confdefs.h"
                   16471: 
1.66      paf      16472: #if HAVE_DLFCN_H
1.128     moko     16473: #include <dlfcn.h>
                   16474: #endif
                   16475: 
                   16476: #include <stdio.h>
                   16477: 
                   16478: #ifdef RTLD_GLOBAL
                   16479: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16480: #else
                   16481: #  ifdef DL_GLOBAL
                   16482: #    define LT_DLGLOBAL                DL_GLOBAL
                   16483: #  else
                   16484: #    define LT_DLGLOBAL                0
                   16485: #  endif
                   16486: #endif
                   16487: 
                   16488: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16489:    find out it does not work in some platform. */
                   16490: #ifndef LT_DLLAZY_OR_NOW
                   16491: #  ifdef RTLD_LAZY
                   16492: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16493: #  else
                   16494: #    ifdef DL_LAZY
                   16495: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16496: #    else
                   16497: #      ifdef RTLD_NOW
                   16498: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16499: #      else
                   16500: #        ifdef DL_NOW
                   16501: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16502: #        else
                   16503: #          define LT_DLLAZY_OR_NOW     0
                   16504: #        endif
                   16505: #      endif
                   16506: #    endif
                   16507: #  endif
                   16508: #endif
                   16509: 
                   16510: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16511:    correspondingly for the symbols needed.  */
                   16512: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16513: int fnord () __attribute__((visibility("default")));
1.66      paf      16514: #endif
1.62      paf      16515: 
1.128     moko     16516: int fnord () { return 42; }
                   16517: int main ()
1.66      paf      16518: {
1.128     moko     16519:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16520:   int status = $lt_dlunknown;
                   16521: 
                   16522:   if (self)
                   16523:     {
                   16524:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16525:       else
                   16526:         {
                   16527:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16528:           else puts (dlerror ());
                   16529:        }
                   16530:       /* dlclose (self); */
                   16531:     }
                   16532:   else
                   16533:     puts (dlerror ());
                   16534: 
                   16535:   return status;
1.66      paf      16536: }
1.128     moko     16537: _LT_EOF
1.150     moko     16538:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16539:   (eval $ac_link) 2>&5
1.66      paf      16540:   ac_status=$?
1.150     moko     16541:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16542:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     16543:     (./conftest; exit; ) >&5 2>/dev/null
                   16544:     lt_status=$?
                   16545:     case x$lt_status in
                   16546:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16547:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16548:       x$lt_dlunknown|x*)  ;;
                   16549:     esac
                   16550:   else :
                   16551:     # compilation failed
                   16552: 
                   16553:   fi
                   16554: fi
                   16555: rm -fr conftest*
                   16556: 
                   16557:          LIBS="$save_LIBS"
                   16558: 
                   16559: fi
1.150     moko     16560: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16561: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     16562:   fi
                   16563: fi
                   16564: 
                   16565: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16566: 
1.150     moko     16567: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      16568: 
1.128     moko     16569: fi
                   16570: 
1.150     moko     16571: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16572: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16573: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16574:   $as_echo_n "(cached) " >&6
1.66      paf      16575: else
1.128     moko     16576:   # PORTME does your system automatically load deplibs for dlopen?
                   16577:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16578:   # For now, we just catch OSes we know something about -- in the
                   16579:   # future, we'll try test this programmatically.
                   16580:   lt_cv_sys_dlopen_deplibs=unknown
                   16581:   case $host_os in
                   16582:   aix3*|aix4.1.*|aix4.2.*)
                   16583:     # Unknown whether this is true for these versions of AIX, but
                   16584:     # we want this `case' here to explicitly catch those versions.
                   16585:     lt_cv_sys_dlopen_deplibs=unknown
                   16586:     ;;
                   16587:   aix[4-9]*)
                   16588:     lt_cv_sys_dlopen_deplibs=yes
                   16589:     ;;
                   16590:   amigaos*)
                   16591:     case $host_cpu in
                   16592:     powerpc)
                   16593:       lt_cv_sys_dlopen_deplibs=no
                   16594:       ;;
                   16595:     esac
                   16596:     ;;
                   16597:   darwin*)
                   16598:     # Assuming the user has installed a libdl from somewhere, this is true
                   16599:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16600:     lt_cv_sys_dlopen_deplibs=yes
                   16601:     ;;
                   16602:   freebsd* | dragonfly*)
                   16603:     lt_cv_sys_dlopen_deplibs=yes
                   16604:     ;;
                   16605:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16606:     # GNU and its variants, using gnu ld.so (Glibc)
                   16607:     lt_cv_sys_dlopen_deplibs=yes
                   16608:     ;;
                   16609:   hpux10*|hpux11*)
                   16610:     lt_cv_sys_dlopen_deplibs=yes
                   16611:     ;;
                   16612:   interix*)
                   16613:     lt_cv_sys_dlopen_deplibs=yes
                   16614:     ;;
                   16615:   irix[12345]*|irix6.[01]*)
                   16616:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16617:     # know how it worked for any of those versions.
                   16618:     lt_cv_sys_dlopen_deplibs=unknown
                   16619:     ;;
                   16620:   irix*)
                   16621:     # The case above catches anything before 6.2, and it's known that
                   16622:     # at 6.2 and later dlopen does load deplibs.
                   16623:     lt_cv_sys_dlopen_deplibs=yes
                   16624:     ;;
                   16625:   netbsd*)
                   16626:     lt_cv_sys_dlopen_deplibs=yes
                   16627:     ;;
                   16628:   openbsd*)
                   16629:     lt_cv_sys_dlopen_deplibs=yes
                   16630:     ;;
                   16631:   osf[1234]*)
                   16632:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16633:     # it did *not* use an RPATH in a shared library to find objects the
                   16634:     # library depends on, so we explicitly say `no'.
                   16635:     lt_cv_sys_dlopen_deplibs=no
                   16636:     ;;
                   16637:   osf5.0|osf5.0a|osf5.1)
                   16638:     # dlopen *does* load deplibs and with the right loader patch applied
                   16639:     # it even uses RPATH in a shared library to search for shared objects
                   16640:     # that the library depends on, but there's no easy way to know if that
                   16641:     # patch is installed.  Since this is the case, all we can really
                   16642:     # say is unknown -- it depends on the patch being installed.  If
                   16643:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16644:     lt_cv_sys_dlopen_deplibs=unknown
                   16645:     ;;
                   16646:   osf*)
                   16647:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16648:     # the comments above for what we know about them.
                   16649:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16650:     # is used to find them so we can finally say `yes'.
                   16651:     lt_cv_sys_dlopen_deplibs=yes
                   16652:     ;;
                   16653:   qnx*)
                   16654:     lt_cv_sys_dlopen_deplibs=yes
                   16655:     ;;
                   16656:   solaris*)
                   16657:     lt_cv_sys_dlopen_deplibs=yes
                   16658:     ;;
                   16659:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16660:     libltdl_cv_sys_dlopen_deplibs=yes
                   16661:     ;;
                   16662:   esac
                   16663: 
                   16664: fi
1.150     moko     16665: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16666: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     16667: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16668: 
1.150     moko     16669: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     16670: 
                   16671: fi
                   16672: 
                   16673: :
                   16674: 
                   16675: for ac_header in argz.h
1.150     moko     16676: do :
                   16677:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   16678: "
                   16679: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     16680:   cat >>confdefs.h <<_ACEOF
1.150     moko     16681: #define HAVE_ARGZ_H 1
1.128     moko     16682: _ACEOF
                   16683: 
1.66      paf      16684: fi
1.62      paf      16685: 
1.128     moko     16686: done
                   16687: 
1.29      paf      16688: 
1.150     moko     16689: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     16690: #  include <argz.h>
                   16691: #endif
1.150     moko     16692: "
                   16693: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      16694: 
1.128     moko     16695: cat >>confdefs.h <<_ACEOF
                   16696: #define HAVE_ERROR_T 1
1.62      paf      16697: _ACEOF
1.16      paf      16698: 
                   16699: 
1.128     moko     16700: else
1.16      paf      16701: 
1.150     moko     16702: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      16703: 
1.12      paf      16704: 
1.150     moko     16705: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      16706: 
1.66      paf      16707: fi
1.12      paf      16708: 
1.128     moko     16709: 
                   16710: ARGZ_H=
                   16711: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16712:        argz_next argz_stringify
1.150     moko     16713: do :
                   16714:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16715: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16716: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     16717:   cat >>confdefs.h <<_ACEOF
1.150     moko     16718: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     16719: _ACEOF
                   16720: 
                   16721: else
                   16722:   ARGZ_H=argz.h;
                   16723: 
                   16724:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16725: 
                   16726: fi
                   16727: done
                   16728: 
                   16729: 
1.150     moko     16730: if test -z "$ARGZ_H"; then :
                   16731:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   16732: $as_echo_n "checking if argz actually works... " >&6; }
                   16733: if ${lt_cv_sys_argz_works+:} false; then :
                   16734:   $as_echo_n "(cached) " >&6
1.128     moko     16735: else
                   16736:   case $host_os in #(
                   16737:         *cygwin*)
                   16738:           lt_cv_sys_argz_works=no
                   16739:           if test "$cross_compiling" != no; then
                   16740:             lt_cv_sys_argz_works="guessing no"
                   16741:           else
                   16742:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16743:             save_IFS=$IFS
                   16744:             IFS=-.
                   16745:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16746:             IFS=$save_IFS
                   16747:             lt_os_major=${2-0}
                   16748:             lt_os_minor=${3-0}
                   16749:             lt_os_micro=${4-0}
                   16750:             if test "$lt_os_major" -gt 1 \
                   16751:                || { test "$lt_os_major" -eq 1 \
                   16752:                  && { test "$lt_os_minor" -gt 5 \
                   16753:                    || { test "$lt_os_minor" -eq 5 \
                   16754:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16755:               lt_cv_sys_argz_works=yes
                   16756:             fi
                   16757:           fi
                   16758:           ;; #(
                   16759:         *) lt_cv_sys_argz_works=yes ;;
                   16760:         esac
                   16761: fi
1.150     moko     16762: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   16763: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   16764:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     16765: 
1.150     moko     16766: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     16767: 
1.62      paf      16768: else
1.128     moko     16769:   ARGZ_H=argz.h
                   16770: 
                   16771: 
                   16772:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16773: 
                   16774: fi
1.62      paf      16775: fi
1.128     moko     16776: 
                   16777: 
                   16778: 
1.150     moko     16779: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16780: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   16781: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   16782:   $as_echo_n "(cached) " >&6
1.128     moko     16783: else
                   16784:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16785:     libltdl_cv_preloaded_symbols=yes
                   16786:   else
                   16787:     libltdl_cv_preloaded_symbols=no
                   16788:   fi
                   16789: 
1.62      paf      16790: fi
1.150     moko     16791: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   16792: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     16793: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16794: 
1.150     moko     16795: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      16796: 
                   16797: fi
                   16798: 
1.150     moko     16799: 
                   16800: 
1.128     moko     16801: # Set options
                   16802: 
                   16803: 
                   16804: 
                   16805: 
                   16806: 
                   16807: 
                   16808: 
                   16809: 
                   16810: 
                   16811: 
1.66      paf      16812: 
                   16813: 
1.150     moko     16814: # Check whether --with-included_ltdl was given.
                   16815: if test "${with_included_ltdl+set}" = set; then :
                   16816:   withval=$with_included_ltdl;
                   16817: fi
1.64      paf      16818: 
                   16819: 
1.128     moko     16820: if test "x$with_included_ltdl" != xyes; then
                   16821:   # We are not being forced to use the included libltdl sources, so
                   16822:   # decide whether there is a useful installed version we can use.
1.150     moko     16823:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     16824: 
1.150     moko     16825: "
                   16826: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   16827:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     16828:            #include <ltdl.h>
1.150     moko     16829: "
                   16830: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   16831:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   16832: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   16833: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   16834:   $as_echo_n "(cached) " >&6
1.79      paf      16835: else
1.128     moko     16836:   ac_check_lib_save_LIBS=$LIBS
                   16837: LIBS="-lltdl  $LIBS"
1.150     moko     16838: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      16839: /* end confdefs.h.  */
1.128     moko     16840: 
1.150     moko     16841: /* Override any GCC internal prototype to avoid an error.
                   16842:    Use char because int might match the return type of a GCC
                   16843:    builtin and then its argument prototype would still apply.  */
1.128     moko     16844: #ifdef __cplusplus
                   16845: extern "C"
                   16846: #endif
                   16847: char lt_dladvise_preload ();
1.79      paf      16848: int
                   16849: main ()
                   16850: {
1.150     moko     16851: return lt_dladvise_preload ();
1.79      paf      16852:   ;
                   16853:   return 0;
                   16854: }
                   16855: _ACEOF
1.150     moko     16856: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16857:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      16858: else
1.150     moko     16859:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     16860: fi
1.150     moko     16861: rm -f core conftest.err conftest.$ac_objext \
                   16862:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16863: LIBS=$ac_check_lib_save_LIBS
1.79      paf      16864: fi
1.150     moko     16865: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16866: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   16867: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     16868:   with_included_ltdl=no
1.79      paf      16869: else
1.128     moko     16870:   with_included_ltdl=yes
                   16871: fi
                   16872: 
1.79      paf      16873: else
1.128     moko     16874:   with_included_ltdl=yes
                   16875: fi
1.79      paf      16876: 
1.128     moko     16877: else
                   16878:   with_included_ltdl=yes
1.79      paf      16879: fi
1.128     moko     16880: 
                   16881: 
1.79      paf      16882: fi
1.128     moko     16883: 
                   16884: 
                   16885: 
                   16886: 
1.150     moko     16887: # Check whether --with-ltdl_include was given.
                   16888: if test "${with_ltdl_include+set}" = set; then :
                   16889:   withval=$with_ltdl_include;
                   16890: fi
1.128     moko     16891: 
                   16892: 
                   16893: if test -n "$with_ltdl_include"; then
                   16894:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16895:   else
1.150     moko     16896:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     16897:   fi
                   16898: else
                   16899:   with_ltdl_include=no
1.79      paf      16900: fi
1.128     moko     16901: 
                   16902: 
1.150     moko     16903: # Check whether --with-ltdl_lib was given.
                   16904: if test "${with_ltdl_lib+set}" = set; then :
                   16905:   withval=$with_ltdl_lib;
                   16906: fi
1.128     moko     16907: 
                   16908: 
                   16909: if test -n "$with_ltdl_lib"; then
                   16910:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16911:   else
1.150     moko     16912:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     16913:   fi
                   16914: else
                   16915:   with_ltdl_lib=no
1.79      paf      16916: fi
                   16917: 
1.128     moko     16918: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   16919:   ,yes,no,no,)
                   16920:        case $enable_ltdl_convenience in
1.150     moko     16921:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     16922:   "") enable_ltdl_convenience=yes
                   16923:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   16924: esac
1.150     moko     16925: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     16926: LTDLDEPS=$LIBLTDL
                   16927: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   16928: 
                   16929: 
                   16930: 
                   16931: 
                   16932: 
                   16933: # For backwards non-gettext consistent compatibility...
                   16934: INCLTDL="$LTDLINCL"
                   16935: 
1.79      paf      16936: 
1.128     moko     16937:        ;;
                   16938:   ,no,no,no,)
                   16939:        # If the included ltdl is not to be used, then use the
                   16940:        # preinstalled libltdl we found.
1.79      paf      16941: 
1.150     moko     16942: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      16943: 
1.128     moko     16944:        LIBLTDL=-lltdl
                   16945:        LTDLDEPS=
                   16946:        LTDLINCL=
                   16947:        ;;
                   16948:   ,no*,no,*)
1.150     moko     16949:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     16950:        ;;
                   16951:   *)   with_included_ltdl=no
                   16952:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   16953:        LTDLDEPS=
                   16954:        LTDLINCL="-I$with_ltdl_include"
                   16955:        ;;
                   16956: esac
                   16957: INCLTDL="$LTDLINCL"
                   16958: 
                   16959: # Report our decision...
1.150     moko     16960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   16961: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   16962: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   16963: $as_echo "$LTDLINCL" >&6; }
                   16964: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   16965: $as_echo_n "checking where to find libltdl library... " >&6; }
                   16966: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   16967: $as_echo "$LIBLTDL" >&6; }
1.128     moko     16968: 
                   16969: 
                   16970: 
1.150     moko     16971: # Check whether --enable-ltdl-install was given.
                   16972: if test "${enable_ltdl_install+set}" = set; then :
                   16973:   enableval=$enable_ltdl_install;
                   16974: fi
1.128     moko     16975: 
                   16976: 
                   16977: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   16978:   *yes*) ;;
                   16979:   *) enable_ltdl_convenience=yes ;;
                   16980: esac
                   16981: 
1.150     moko     16982:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     16983:   INSTALL_LTDL_TRUE=
                   16984:   INSTALL_LTDL_FALSE='#'
                   16985: else
                   16986:   INSTALL_LTDL_TRUE='#'
                   16987:   INSTALL_LTDL_FALSE=
                   16988: fi
                   16989: 
1.150     moko     16990:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     16991:   CONVENIENCE_LTDL_TRUE=
                   16992:   CONVENIENCE_LTDL_FALSE='#'
                   16993: else
                   16994:   CONVENIENCE_LTDL_TRUE='#'
                   16995:   CONVENIENCE_LTDL_FALSE=
                   16996: fi
                   16997: 
                   16998: 
                   16999: 
1.150     moko     17000:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     17001: 
                   17002: 
                   17003: 
                   17004: 
                   17005: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17006: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17007: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17008: # definitions required by ltdl.c.
                   17009: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17010: 
                   17011: 
                   17012: 
1.150     moko     17013: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17014: do :
                   17015:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17016: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   17017: "
                   17018: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17019:   cat >>confdefs.h <<_ACEOF
                   17020: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17021: _ACEOF
1.128     moko     17022: 
1.150     moko     17023: fi
1.128     moko     17024: 
1.150     moko     17025: done
1.128     moko     17026: 
                   17027: 
1.150     moko     17028: for ac_func in closedir opendir readdir
                   17029: do :
                   17030:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17031: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17032: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17033:   cat >>confdefs.h <<_ACEOF
                   17034: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17035: _ACEOF
1.66      paf      17036: 
                   17037: else
1.64      paf      17038: 
1.66      paf      17039: 
1.128     moko     17040:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17041: 
1.66      paf      17042: fi
1.128     moko     17043: done
                   17044: 
                   17045: for ac_func in strlcat strlcpy
1.150     moko     17046: do :
                   17047:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17048: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17049: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17050:   cat >>confdefs.h <<_ACEOF
1.150     moko     17051: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17052: _ACEOF
                   17053: 
                   17054: else
                   17055: 
                   17056: 
                   17057:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17058: 
1.62      paf      17059: fi
1.128     moko     17060: done
                   17061: 
                   17062: 
1.64      paf      17063: 
1.128     moko     17064: cat >>confdefs.h <<_ACEOF
                   17065: #define LT_LIBEXT "$libext"
1.62      paf      17066: _ACEOF
1.64      paf      17067: 
1.128     moko     17068: 
                   17069: name=
                   17070: eval "lt_libprefix=\"$libname_spec\""
                   17071: 
                   17072: cat >>confdefs.h <<_ACEOF
                   17073: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17074: _ACEOF
1.128     moko     17075: 
                   17076: 
                   17077: name=ltdl
                   17078: eval "LTDLOPEN=\"$libname_spec\""
                   17079: 
                   17080: 
                   17081: 
                   17082: 
                   17083: 
                   17084: 
                   17085: 
                   17086: 
                   17087: # Only expand once:
                   17088: 
                   17089: 
                   17090: 
                   17091: 
1.150     moko     17092:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17093: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17094: if ${ac_cv_c_bigendian+:} false; then :
                   17095:   $as_echo_n "(cached) " >&6
                   17096: else
                   17097:   ac_cv_c_bigendian=unknown
                   17098:     # See if we're dealing with a universal compiler.
                   17099:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17100: /* end confdefs.h.  */
                   17101: #ifndef __APPLE_CC__
                   17102:               not a universal capable compiler
                   17103:             #endif
                   17104:             typedef int dummy;
                   17105: 
                   17106: _ACEOF
                   17107: if ac_fn_c_try_compile "$LINENO"; then :
                   17108: 
                   17109:        # Check for potential -arch flags.  It is not universal unless
                   17110:        # there are at least two -arch flags with different values.
                   17111:        ac_arch=
                   17112:        ac_prev=
                   17113:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17114:         if test -n "$ac_prev"; then
                   17115:           case $ac_word in
                   17116:             i?86 | x86_64 | ppc | ppc64)
                   17117:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17118:                 ac_arch=$ac_word
                   17119:               else
                   17120:                 ac_cv_c_bigendian=universal
                   17121:                 break
                   17122:               fi
                   17123:               ;;
                   17124:           esac
                   17125:           ac_prev=
                   17126:         elif test "x$ac_word" = "x-arch"; then
                   17127:           ac_prev=arch
                   17128:         fi
                   17129:        done
                   17130: fi
                   17131: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17132:     if test $ac_cv_c_bigendian = unknown; then
                   17133:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17134:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17135: /* end confdefs.h.  */
1.128     moko     17136: #include <sys/types.h>
1.150     moko     17137:             #include <sys/param.h>
1.128     moko     17138: 
                   17139: int
                   17140: main ()
                   17141: {
1.150     moko     17142: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17143:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17144:                     && LITTLE_ENDIAN)
                   17145:              bogus endian macros
                   17146:             #endif
1.64      paf      17147: 
1.128     moko     17148:   ;
                   17149:   return 0;
                   17150: }
1.66      paf      17151: _ACEOF
1.150     moko     17152: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17153:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     17154:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17155: /* end confdefs.h.  */
1.128     moko     17156: #include <sys/types.h>
1.150     moko     17157:                #include <sys/param.h>
1.64      paf      17158: 
                   17159: int
                   17160: main ()
1.128     moko     17161: {
                   17162: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     17163:                 not big endian
                   17164:                #endif
1.128     moko     17165: 
                   17166:   ;
                   17167:   return 0;
1.64      paf      17168: }
                   17169: _ACEOF
1.150     moko     17170: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17171:   ac_cv_c_bigendian=yes
1.64      paf      17172: else
1.150     moko     17173:   ac_cv_c_bigendian=no
                   17174: fi
                   17175: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17176: fi
                   17177: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17178:     fi
                   17179:     if test $ac_cv_c_bigendian = unknown; then
                   17180:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17181:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17182: /* end confdefs.h.  */
                   17183: #include <limits.h>
1.64      paf      17184: 
1.150     moko     17185: int
                   17186: main ()
                   17187: {
                   17188: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17189:              bogus endian macros
                   17190:             #endif
1.66      paf      17191: 
1.150     moko     17192:   ;
                   17193:   return 0;
                   17194: }
1.62      paf      17195: _ACEOF
1.150     moko     17196: if ac_fn_c_try_compile "$LINENO"; then :
                   17197:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17198:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17199: /* end confdefs.h.  */
1.150     moko     17200: #include <limits.h>
                   17201: 
1.128     moko     17202: int
                   17203: main ()
                   17204: {
1.150     moko     17205: #ifndef _BIG_ENDIAN
                   17206:                 not big endian
                   17207:                #endif
                   17208: 
1.128     moko     17209:   ;
                   17210:   return 0;
                   17211: }
1.62      paf      17212: _ACEOF
1.150     moko     17213: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17214:   ac_cv_c_bigendian=yes
1.150     moko     17215: else
                   17216:   ac_cv_c_bigendian=no
1.128     moko     17217: fi
1.150     moko     17218: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17219: fi
1.150     moko     17220: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17221:     fi
                   17222:     if test $ac_cv_c_bigendian = unknown; then
                   17223:       # Compile a test program.
                   17224:       if test "$cross_compiling" = yes; then :
                   17225:   # Try to guess by grepping values from an object file.
                   17226:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17227: /* end confdefs.h.  */
                   17228: short int ascii_mm[] =
                   17229:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17230:                short int ascii_ii[] =
                   17231:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17232:                int use_ascii (int i) {
                   17233:                  return ascii_mm[i] + ascii_ii[i];
                   17234:                }
                   17235:                short int ebcdic_ii[] =
                   17236:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17237:                short int ebcdic_mm[] =
                   17238:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17239:                int use_ebcdic (int i) {
                   17240:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17241:                }
                   17242:                extern int foo;
1.62      paf      17243: 
1.150     moko     17244: int
                   17245: main ()
                   17246: {
                   17247: return use_ascii (foo) == use_ebcdic (foo);
                   17248:   ;
                   17249:   return 0;
                   17250: }
                   17251: _ACEOF
                   17252: if ac_fn_c_try_compile "$LINENO"; then :
                   17253:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17254:              ac_cv_c_bigendian=yes
                   17255:            fi
                   17256:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17257:              if test "$ac_cv_c_bigendian" = unknown; then
                   17258:                ac_cv_c_bigendian=no
                   17259:              else
                   17260:                # finding both strings is unlikely to happen, but who knows?
                   17261:                ac_cv_c_bigendian=unknown
                   17262:              fi
                   17263:            fi
1.128     moko     17264: fi
1.150     moko     17265: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17266: else
1.150     moko     17267:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17268: /* end confdefs.h.  */
1.150     moko     17269: $ac_includes_default
1.128     moko     17270: int
                   17271: main ()
                   17272: {
1.150     moko     17273: 
                   17274:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17275:             union
                   17276:             {
                   17277:               long int l;
                   17278:               char c[sizeof (long int)];
                   17279:             } u;
                   17280:             u.l = 1;
                   17281:             return u.c[sizeof (long int) - 1] == 1;
                   17282: 
                   17283:   ;
                   17284:   return 0;
1.128     moko     17285: }
                   17286: _ACEOF
1.150     moko     17287: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17288:   ac_cv_c_bigendian=no
                   17289: else
1.150     moko     17290:   ac_cv_c_bigendian=yes
1.128     moko     17291: fi
1.150     moko     17292: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17293:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17294: fi
1.150     moko     17295: 
                   17296:     fi
1.66      paf      17297: fi
1.150     moko     17298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17299: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17300:  case $ac_cv_c_bigendian in #(
                   17301:    yes)
                   17302: 
                   17303: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   17304: 
                   17305: ;; #(
                   17306:    no)
1.128     moko     17307: 
1.150     moko     17308: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17309: 
1.150     moko     17310:  ;; #(
                   17311:    universal)
1.128     moko     17312: 
1.150     moko     17313: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17314: 
1.150     moko     17315:      ;; #(
                   17316:    *)
                   17317:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17318:  ;;
1.150     moko     17319:  esac
1.66      paf      17320: 
                   17321: 
1.150     moko     17322: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17323: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17324: 
1.66      paf      17325: else
1.1       paf      17326: 
1.66      paf      17327: cat >>confdefs.h <<_ACEOF
1.150     moko     17328: #define size_t unsigned int
1.66      paf      17329: _ACEOF
1.62      paf      17330: 
                   17331: fi
1.66      paf      17332: 
1.128     moko     17333: 
                   17334: 
1.150     moko     17335: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   17336: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   17337: if ${ac_cv_header_time+:} false; then :
                   17338:   $as_echo_n "(cached) " >&6
1.62      paf      17339: else
1.150     moko     17340:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17341: /* end confdefs.h.  */
1.66      paf      17342: #include <sys/types.h>
                   17343: #include <sys/time.h>
                   17344: #include <time.h>
1.62      paf      17345: 
                   17346: int
                   17347: main ()
                   17348: {
1.66      paf      17349: if ((struct tm *) 0)
                   17350: return 0;
1.62      paf      17351:   ;
                   17352:   return 0;
                   17353: }
                   17354: _ACEOF
1.150     moko     17355: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      17356:   ac_cv_header_time=yes
1.1       paf      17357: else
1.150     moko     17358:   ac_cv_header_time=no
1.1       paf      17359: fi
1.150     moko     17360: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17361: fi
1.150     moko     17362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   17363: $as_echo "$ac_cv_header_time" >&6; }
1.66      paf      17364: if test $ac_cv_header_time = yes; then
1.1       paf      17365: 
1.150     moko     17366: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.66      paf      17367: 
1.1       paf      17368: fi
1.66      paf      17369: 
1.1       paf      17370: 
1.150     moko     17371: for ac_header in assert.h \
                   17372: signal.h \
                   17373: unistd.h \
                   17374: process.h \
                   17375: stddef.h \
                   17376: stdarg.h \
                   17377: fcntl.h \
                   17378: sys/stat.h \
                   17379: io.h \
                   17380: stdio.h \
                   17381: errno.h \
                   17382: ctype.h \
                   17383: math.h \
                   17384: crypt.h \
                   17385: time.h sys/time.h \
                   17386: string.h \
                   17387: direct.h \
                   17388: setjmp.h \
                   17389: memory.h \
                   17390: limits.h \
                   17391: sys/file.h \
                   17392: sys/locking.h \
                   17393: sys/types.h \
                   17394: sys/select.h \
                   17395: sys/resource.h \
                   17396: winsock.h \
                   17397: sys/socket.h \
                   17398: netinet/in.h \
                   17399: arpa/inet.h \
                   17400: netdb.h
                   17401: 
                   17402: do :
                   17403:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17404: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17405: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      17406:   cat >>confdefs.h <<_ACEOF
1.150     moko     17407: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      17408: _ACEOF
                   17409: 
                   17410: fi
                   17411: 
1.66      paf      17412: done
1.62      paf      17413: 
                   17414: 
                   17415: 
1.128     moko     17416: 
                   17417: 
1.66      paf      17418: case "$host" in
1.107     misha    17419:   *-freebsd4*)
                   17420: 
1.150     moko     17421: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    17422: 
                   17423:   ;;
1.66      paf      17424:   *-sunos5.6* | *-solaris2.6*)
1.150     moko     17425:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   17426: $as_echo_n "checking for main in -lxnet... " >&6; }
                   17427: if ${ac_cv_lib_xnet_main+:} false; then :
                   17428:   $as_echo_n "(cached) " >&6
1.62      paf      17429: else
1.66      paf      17430:   ac_check_lib_save_LIBS=$LIBS
                   17431: LIBS="-lxnet  $LIBS"
1.150     moko     17432: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17433: /* end confdefs.h.  */
                   17434: 
1.66      paf      17435: 
                   17436: int
                   17437: main ()
                   17438: {
1.150     moko     17439: return main ();
1.66      paf      17440:   ;
                   17441:   return 0;
                   17442: }
1.62      paf      17443: _ACEOF
1.150     moko     17444: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17445:   ac_cv_lib_xnet_main=yes
1.62      paf      17446: else
1.150     moko     17447:   ac_cv_lib_xnet_main=no
1.62      paf      17448: fi
1.150     moko     17449: rm -f core conftest.err conftest.$ac_objext \
                   17450:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17451: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17452: fi
1.150     moko     17453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   17454: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   17455: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      17456:   cat >>confdefs.h <<_ACEOF
1.66      paf      17457: #define HAVE_LIBXNET 1
1.62      paf      17458: _ACEOF
1.1       paf      17459: 
1.66      paf      17460:   LIBS="-lxnet $LIBS"
                   17461: 
1.1       paf      17462: fi
                   17463: 
1.66      paf      17464:   ;;
                   17465:   *-sunos5* | *-solaris2*)
1.150     moko     17466:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   17467: $as_echo_n "checking for main in -lsocket... " >&6; }
                   17468: if ${ac_cv_lib_socket_main+:} false; then :
                   17469:   $as_echo_n "(cached) " >&6
1.62      paf      17470: else
1.66      paf      17471:   ac_check_lib_save_LIBS=$LIBS
                   17472: LIBS="-lsocket  $LIBS"
1.150     moko     17473: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17474: /* end confdefs.h.  */
1.66      paf      17475: 
                   17476: 
1.62      paf      17477: int
                   17478: main ()
                   17479: {
1.150     moko     17480: return main ();
1.62      paf      17481:   ;
                   17482:   return 0;
                   17483: }
                   17484: _ACEOF
1.150     moko     17485: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17486:   ac_cv_lib_socket_main=yes
1.1       paf      17487: else
1.150     moko     17488:   ac_cv_lib_socket_main=no
1.1       paf      17489: fi
1.150     moko     17490: rm -f core conftest.err conftest.$ac_objext \
                   17491:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17492: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17493: fi
1.150     moko     17494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   17495: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   17496: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      17497:   cat >>confdefs.h <<_ACEOF
                   17498: #define HAVE_LIBSOCKET 1
                   17499: _ACEOF
1.1       paf      17500: 
1.66      paf      17501:   LIBS="-lsocket $LIBS"
1.1       paf      17502: 
                   17503: fi
                   17504: 
1.150     moko     17505:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   17506: $as_echo_n "checking for main in -lnsl... " >&6; }
                   17507: if ${ac_cv_lib_nsl_main+:} false; then :
                   17508:   $as_echo_n "(cached) " >&6
1.62      paf      17509: else
1.66      paf      17510:   ac_check_lib_save_LIBS=$LIBS
                   17511: LIBS="-lnsl  $LIBS"
1.150     moko     17512: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17513: /* end confdefs.h.  */
1.66      paf      17514: 
                   17515: 
1.62      paf      17516: int
                   17517: main ()
                   17518: {
1.150     moko     17519: return main ();
1.62      paf      17520:   ;
                   17521:   return 0;
                   17522: }
                   17523: _ACEOF
1.150     moko     17524: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17525:   ac_cv_lib_nsl_main=yes
1.30      paf      17526: else
1.150     moko     17527:   ac_cv_lib_nsl_main=no
1.30      paf      17528: fi
1.150     moko     17529: rm -f core conftest.err conftest.$ac_objext \
                   17530:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17531: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17532: fi
1.150     moko     17533: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   17534: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   17535: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      17536:   cat >>confdefs.h <<_ACEOF
                   17537: #define HAVE_LIBNSL 1
                   17538: _ACEOF
1.30      paf      17539: 
1.66      paf      17540:   LIBS="-lnsl $LIBS"
1.30      paf      17541: 
                   17542: fi
                   17543: 
1.66      paf      17544:   ;;
                   17545:   *-nec-sysv4*)
1.150     moko     17546:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   17547: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   17548: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   17549:   $as_echo_n "(cached) " >&6
1.62      paf      17550: else
1.66      paf      17551:   ac_check_lib_save_LIBS=$LIBS
                   17552: LIBS="-lnsl  $LIBS"
1.150     moko     17553: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17554: /* end confdefs.h.  */
1.66      paf      17555: 
1.150     moko     17556: /* Override any GCC internal prototype to avoid an error.
                   17557:    Use char because int might match the return type of a GCC
                   17558:    builtin and then its argument prototype would still apply.  */
1.66      paf      17559: #ifdef __cplusplus
                   17560: extern "C"
                   17561: #endif
                   17562: char gethostbyname ();
1.62      paf      17563: int
                   17564: main ()
                   17565: {
1.150     moko     17566: return gethostbyname ();
1.62      paf      17567:   ;
                   17568:   return 0;
                   17569: }
                   17570: _ACEOF
1.150     moko     17571: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17572:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      17573: else
1.150     moko     17574:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      17575: fi
1.150     moko     17576: rm -f core conftest.err conftest.$ac_objext \
                   17577:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17578: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17579: fi
1.150     moko     17580: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   17581: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   17582: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      17583:   cat >>confdefs.h <<_ACEOF
                   17584: #define HAVE_LIBNSL 1
                   17585: _ACEOF
1.30      paf      17586: 
1.66      paf      17587:   LIBS="-lnsl $LIBS"
1.30      paf      17588: 
                   17589: fi
                   17590: 
1.150     moko     17591:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   17592: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   17593: if ${ac_cv_lib_socket_socket+:} false; then :
                   17594:   $as_echo_n "(cached) " >&6
1.8       paf      17595: else
1.66      paf      17596:   ac_check_lib_save_LIBS=$LIBS
                   17597: LIBS="-lsocket  $LIBS"
1.150     moko     17598: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17599: /* end confdefs.h.  */
                   17600: 
1.150     moko     17601: /* Override any GCC internal prototype to avoid an error.
                   17602:    Use char because int might match the return type of a GCC
                   17603:    builtin and then its argument prototype would still apply.  */
1.66      paf      17604: #ifdef __cplusplus
                   17605: extern "C"
                   17606: #endif
                   17607: char socket ();
1.62      paf      17608: int
                   17609: main ()
                   17610: {
1.150     moko     17611: return socket ();
1.62      paf      17612:   ;
                   17613:   return 0;
                   17614: }
                   17615: _ACEOF
1.150     moko     17616: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17617:   ac_cv_lib_socket_socket=yes
1.8       paf      17618: else
1.150     moko     17619:   ac_cv_lib_socket_socket=no
1.8       paf      17620: fi
1.150     moko     17621: rm -f core conftest.err conftest.$ac_objext \
                   17622:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17623: LIBS=$ac_check_lib_save_LIBS
1.8       paf      17624: fi
1.150     moko     17625: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   17626: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   17627: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      17628:   cat >>confdefs.h <<_ACEOF
1.128     moko     17629: #define HAVE_LIBSOCKET 1
1.66      paf      17630: _ACEOF
                   17631: 
1.128     moko     17632:   LIBS="-lsocket $LIBS"
1.66      paf      17633: 
1.62      paf      17634: fi
                   17635: 
1.66      paf      17636:   ;;
1.128     moko     17637:   *-cygwin*)
                   17638: 
1.150     moko     17639: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     17640: 
1.150     moko     17641:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lwsock32" >&5
                   17642: $as_echo_n "checking for socket in -lwsock32... " >&6; }
                   17643: if ${ac_cv_lib_wsock32_socket+:} false; then :
                   17644:   $as_echo_n "(cached) " >&6
1.66      paf      17645: else
                   17646:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     17647: LIBS="-lwsock32  $LIBS"
1.150     moko     17648: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17649: /* end confdefs.h.  */
1.66      paf      17650: 
1.150     moko     17651: /* Override any GCC internal prototype to avoid an error.
                   17652:    Use char because int might match the return type of a GCC
                   17653:    builtin and then its argument prototype would still apply.  */
1.128     moko     17654: #ifdef __cplusplus
                   17655: extern "C"
                   17656: #endif
                   17657: char socket ();
1.66      paf      17658: int
                   17659: main ()
                   17660: {
1.150     moko     17661: return socket ();
1.66      paf      17662:   ;
                   17663:   return 0;
                   17664: }
1.62      paf      17665: _ACEOF
1.150     moko     17666: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     17667:   ac_cv_lib_wsock32_socket=yes
1.62      paf      17668: else
1.150     moko     17669:   ac_cv_lib_wsock32_socket=no
1.62      paf      17670: fi
1.150     moko     17671: rm -f core conftest.err conftest.$ac_objext \
                   17672:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17673: LIBS=$ac_check_lib_save_LIBS
1.1       paf      17674: fi
1.150     moko     17675: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_socket" >&5
                   17676: $as_echo "$ac_cv_lib_wsock32_socket" >&6; }
                   17677: if test "x$ac_cv_lib_wsock32_socket" = xyes; then :
1.62      paf      17678:   cat >>confdefs.h <<_ACEOF
1.128     moko     17679: #define HAVE_LIBWSOCK32 1
1.62      paf      17680: _ACEOF
                   17681: 
1.128     moko     17682:   LIBS="-lwsock32 $LIBS"
1.66      paf      17683: 
1.1       paf      17684: fi
1.62      paf      17685: 
1.66      paf      17686:   ;;
                   17687: esac
1.1       paf      17688: 
1.150     moko     17689: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   17690: $as_echo_n "checking for sin in -lm... " >&6; }
                   17691: if ${ac_cv_lib_m_sin+:} false; then :
                   17692:   $as_echo_n "(cached) " >&6
1.1       paf      17693: else
1.62      paf      17694:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      17695: LIBS="-lm  $LIBS"
1.150     moko     17696: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17697: /* end confdefs.h.  */
                   17698: 
1.150     moko     17699: /* Override any GCC internal prototype to avoid an error.
                   17700:    Use char because int might match the return type of a GCC
                   17701:    builtin and then its argument prototype would still apply.  */
1.66      paf      17702: #ifdef __cplusplus
                   17703: extern "C"
                   17704: #endif
                   17705: char sin ();
1.62      paf      17706: int
                   17707: main ()
                   17708: {
1.150     moko     17709: return sin ();
1.62      paf      17710:   ;
                   17711:   return 0;
                   17712: }
                   17713: _ACEOF
1.150     moko     17714: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17715:   ac_cv_lib_m_sin=yes
1.62      paf      17716: else
1.150     moko     17717:   ac_cv_lib_m_sin=no
1.62      paf      17718: fi
1.150     moko     17719: rm -f core conftest.err conftest.$ac_objext \
                   17720:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      17721: LIBS=$ac_check_lib_save_LIBS
                   17722: fi
1.150     moko     17723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   17724: $as_echo "$ac_cv_lib_m_sin" >&6; }
                   17725: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      17726:   cat >>confdefs.h <<_ACEOF
1.66      paf      17727: #define HAVE_LIBM 1
1.62      paf      17728: _ACEOF
1.1       paf      17729: 
1.66      paf      17730:   LIBS="-lm $LIBS"
1.1       paf      17731: 
                   17732: fi
                   17733: 
1.150     moko     17734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   17735: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   17736: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   17737:   $as_echo_n "(cached) " >&6
1.1       paf      17738: else
1.62      paf      17739:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      17740: LIBS="-lcrypt  $LIBS"
1.150     moko     17741: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17742: /* end confdefs.h.  */
                   17743: 
1.150     moko     17744: /* Override any GCC internal prototype to avoid an error.
                   17745:    Use char because int might match the return type of a GCC
                   17746:    builtin and then its argument prototype would still apply.  */
1.66      paf      17747: #ifdef __cplusplus
                   17748: extern "C"
                   17749: #endif
                   17750: char crypt ();
1.62      paf      17751: int
                   17752: main ()
                   17753: {
1.150     moko     17754: return crypt ();
1.62      paf      17755:   ;
                   17756:   return 0;
                   17757: }
                   17758: _ACEOF
1.150     moko     17759: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17760:   ac_cv_lib_crypt_crypt=yes
1.62      paf      17761: else
1.150     moko     17762:   ac_cv_lib_crypt_crypt=no
1.62      paf      17763: fi
1.150     moko     17764: rm -f core conftest.err conftest.$ac_objext \
                   17765:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      17766: LIBS=$ac_check_lib_save_LIBS
                   17767: fi
1.150     moko     17768: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   17769: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   17770: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      17771:   cat >>confdefs.h <<_ACEOF
1.66      paf      17772: #define HAVE_LIBCRYPT 1
1.62      paf      17773: _ACEOF
1.1       paf      17774: 
1.66      paf      17775:   LIBS="-lcrypt $LIBS"
                   17776: 
                   17777: fi
                   17778: 
                   17779: 
                   17780: 
1.67      paf      17781: for ac_func in flock \
1.66      paf      17782: _locking \
                   17783: fcntl \
                   17784: lockf \
                   17785: ftruncate \
1.112     misha    17786: fchmod \
1.66      paf      17787: getrusage \
                   17788: gettimeofday \
                   17789: crypt \
1.80      paf      17790: sigsetjmp \
1.92      misha    17791: siglongjmp \
                   17792: unsetenv
1.66      paf      17793: 
1.150     moko     17794: do :
                   17795:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17796: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17797: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      17798:   cat >>confdefs.h <<_ACEOF
1.150     moko     17799: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      17800: _ACEOF
1.1       paf      17801: 
1.66      paf      17802: fi
                   17803: done
                   17804: 
1.1       paf      17805: 
                   17806: 
1.67      paf      17807: pa_func=sigsetjmp
1.150     moko     17808: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   17809: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
                   17810: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      17811: /* end confdefs.h.  */
                   17812: 
                   17813: #ifdef HAVE_SETJMP_H
                   17814: #      include <setjmp.h>
                   17815: #endif
                   17816: 
                   17817: int
                   17818: main ()
                   17819: {
                   17820: 
                   17821:         $pa_func(0,0);
                   17822: 
                   17823:   ;
                   17824:   return 0;
                   17825: }
                   17826: _ACEOF
1.150     moko     17827: if ac_fn_c_try_compile "$LINENO"; then :
                   17828:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17829: $as_echo "yes" >&6; }
1.67      paf      17830: cat >>confdefs.h <<_ACEOF
1.150     moko     17831: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      17832: _ACEOF
                   17833: 
                   17834: 
                   17835: else
1.150     moko     17836:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17837: $as_echo "no" >&6; }
1.67      paf      17838: 
                   17839: fi
1.150     moko     17840: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      17841: 
                   17842: 
                   17843: 
1.150     moko     17844: ac_ext=cpp
1.67      paf      17845: ac_cpp='$CXXCPP $CPPFLAGS'
                   17846: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   17847: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   17848: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   17849: 
                   17850: 
                   17851: 
                   17852: for pa_func in trunc \
                   17853: round \
                   17854: sign
                   17855: 
                   17856: do
                   17857: 
1.150     moko     17858: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   17859: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
                   17860: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      17861: /* end confdefs.h.  */
                   17862: 
                   17863: #ifdef HAVE_MATH_H
                   17864: #       include <math.h>
                   17865: #endif
                   17866: 
                   17867: int
                   17868: main ()
                   17869: {
                   17870: 
                   17871:         double result=$pa_func(1.6);
                   17872: 
                   17873:   ;
                   17874:   return 0;
                   17875: }
                   17876: _ACEOF
1.150     moko     17877: if ac_fn_cxx_try_compile "$LINENO"; then :
                   17878:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17879: $as_echo "yes" >&6; }
1.67      paf      17880: cat >>confdefs.h <<_ACEOF
1.150     moko     17881: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      17882: _ACEOF
1.66      paf      17883: 
1.62      paf      17884: else
1.150     moko     17885:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17886: $as_echo "no" >&6; }
1.62      paf      17887: 
                   17888: fi
1.150     moko     17889: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17890: 
                   17891: done
                   17892: 
                   17893: ac_ext=c
                   17894: ac_cpp='$CPP $CPPFLAGS'
                   17895: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   17896: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   17897: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   17898: 
                   17899: 
                   17900: 
                   17901: for ac_func in qsort
                   17902: do :
                   17903:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
                   17904: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      17905:   cat >>confdefs.h <<_ACEOF
1.150     moko     17906: #define HAVE_QSORT 1
1.62      paf      17907: _ACEOF
1.1       paf      17908: 
1.66      paf      17909: else
1.150     moko     17910:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      17911: fi
1.66      paf      17912: done
1.1       paf      17913: 
                   17914: 
1.62      paf      17915: 
1.150     moko     17916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   17917: $as_echo_n "checking for timezone variable... " >&6; }
                   17918: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17919: /* end confdefs.h.  */
1.66      paf      17920: #include <time.h>
1.62      paf      17921: int
                   17922: main ()
                   17923: {
1.66      paf      17924: 
                   17925: time_t test=timezone;
                   17926: 
1.62      paf      17927:   ;
                   17928:   return 0;
                   17929: }
                   17930: _ACEOF
1.150     moko     17931: if ac_fn_c_try_compile "$LINENO"; then :
                   17932:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.66      paf      17933: 
1.150     moko     17934: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17935: $as_echo "yes" >&6; }
1.62      paf      17936: else
1.150     moko     17937:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17938: $as_echo "no" >&6; }
1.62      paf      17939: fi
1.150     moko     17940: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      17941: 
1.150     moko     17942: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
                   17943: $as_echo_n "checking for daylight variable... " >&6; }
                   17944: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17945: /* end confdefs.h.  */
1.66      paf      17946: #include <time.h>
1.62      paf      17947: int
                   17948: main ()
                   17949: {
1.66      paf      17950: 
                   17951: int test=daylight;
                   17952: 
1.62      paf      17953:   ;
                   17954:   return 0;
                   17955: }
                   17956: _ACEOF
1.150     moko     17957: if ac_fn_c_try_compile "$LINENO"; then :
                   17958:   $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
1.66      paf      17959: 
1.150     moko     17960: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17961: $as_echo "yes" >&6; }
1.62      paf      17962: else
1.150     moko     17963:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17964: $as_echo "no" >&6; }
1.62      paf      17965: fi
1.150     moko     17966: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      17967: 
1.150     moko     17968: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   17969: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
                   17970: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17971: /* end confdefs.h.  */
1.66      paf      17972: #include <time.h>
1.62      paf      17973: int
                   17974: main ()
                   17975: {
1.66      paf      17976: struct tm tm;
                   17977: tm.tm_gmtoff=0;
                   17978: 
1.62      paf      17979:   ;
                   17980:   return 0;
                   17981: }
                   17982: _ACEOF
1.150     moko     17983: if ac_fn_c_try_compile "$LINENO"; then :
                   17984:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.66      paf      17985: 
1.150     moko     17986: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17987: $as_echo "yes" >&6; }
1.62      paf      17988: else
1.150     moko     17989:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17990: $as_echo "no" >&6; }
1.62      paf      17991: fi
1.150     moko     17992: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      17993: 
1.150     moko     17994: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   17995: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
                   17996: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17997: /* end confdefs.h.  */
1.66      paf      17998: #include <time.h>
1.62      paf      17999: int
                   18000: main ()
                   18001: {
1.66      paf      18002: struct tm tm;
                   18003: tm.tm_tzadj=0;
                   18004: 
1.62      paf      18005:   ;
                   18006:   return 0;
                   18007: }
                   18008: _ACEOF
1.150     moko     18009: if ac_fn_c_try_compile "$LINENO"; then :
                   18010:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.66      paf      18011: 
1.150     moko     18012: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18013: $as_echo "yes" >&6; }
1.62      paf      18014: else
1.150     moko     18015:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18016: $as_echo "no" >&6; }
1.62      paf      18017: fi
1.150     moko     18018: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      18019: 
1.1       paf      18020: 
                   18021: 
                   18022: 
1.62      paf      18023: 
                   18024: 
                   18025: 
                   18026: 
                   18027: 
                   18028: 
                   18029: 
                   18030: 
                   18031: 
                   18032: 
                   18033: 
                   18034: 
                   18035: 
                   18036: 
                   18037: 
                   18038: 
                   18039: 
                   18040: 
1.150     moko     18041: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      18042: 
                   18043: 
1.150     moko     18044: 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      18045: 
                   18046: cat >confcache <<\_ACEOF
1.1       paf      18047: # This file is a shell script that caches the results of configure
                   18048: # tests run on this system so they can be shared between configure
1.62      paf      18049: # scripts and configure runs, see configure's option --config-cache.
                   18050: # It is not useful on other systems.  If it contains results you don't
                   18051: # want to keep, you may remove or edit it.
1.1       paf      18052: #
1.62      paf      18053: # config.status only pays attention to the cache file if you give it
                   18054: # the --recheck option to rerun configure.
1.1       paf      18055: #
1.62      paf      18056: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   18057: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   18058: # following values.
                   18059: 
                   18060: _ACEOF
                   18061: 
1.1       paf      18062: # The following way of writing the cache mishandles newlines in values,
                   18063: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     18064: # So, we kill variables containing newlines.
1.1       paf      18065: # Ultrix sh set writes to stderr and can't be redirected directly,
                   18066: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     18067: (
                   18068:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   18069:     eval ac_val=\$$ac_var
                   18070:     case $ac_val in #(
                   18071:     *${as_nl}*)
                   18072:       case $ac_var in #(
                   18073:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   18074: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   18075:       esac
                   18076:       case $ac_var in #(
                   18077:       _ | IFS | as_nl) ;; #(
                   18078:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   18079:       *) { eval $ac_var=; unset $ac_var;} ;;
                   18080:       esac ;;
                   18081:     esac
                   18082:   done
                   18083: 
1.62      paf      18084:   (set) 2>&1 |
1.150     moko     18085:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   18086:     *${as_nl}ac_space=\ *)
                   18087:       # `set' does not quote correctly, so add quotes: double-quote
                   18088:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      18089:       sed -n \
1.86      paf      18090:        "s/'/'\\\\''/g;
                   18091:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     18092:       ;; #(
1.62      paf      18093:     *)
                   18094:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     18095:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      18096:       ;;
1.150     moko     18097:     esac |
                   18098:     sort
                   18099: ) |
1.62      paf      18100:   sed '
1.150     moko     18101:      /^ac_cv_env_/b end
1.62      paf      18102:      t clear
1.150     moko     18103:      :clear
1.62      paf      18104:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   18105:      t end
1.150     moko     18106:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   18107:      :end' >>confcache
                   18108: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   18109:   if test -w "$cache_file"; then
                   18110:     if test "x$cache_file" != "x/dev/null"; then
                   18111:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   18112: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   18113:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   18114:        cat confcache >"$cache_file"
                   18115:       else
                   18116:         case $cache_file in #(
                   18117:         */* | ?:*)
                   18118:          mv -f confcache "$cache_file"$$ &&
                   18119:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   18120:         *)
                   18121:          mv -f confcache "$cache_file" ;;
                   18122:        esac
                   18123:       fi
                   18124:     fi
1.1       paf      18125:   else
1.150     moko     18126:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   18127: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      18128:   fi
                   18129: fi
                   18130: rm -f confcache
                   18131: 
                   18132: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   18133: # Let make expand exec_prefix.
                   18134: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   18135: 
1.62      paf      18136: DEFS=-DHAVE_CONFIG_H
                   18137: 
                   18138: ac_libobjs=
                   18139: ac_ltlibobjs=
1.150     moko     18140: U=
1.62      paf      18141: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   18142:   # 1. Remove the extension, and $U if already installed.
1.150     moko     18143:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   18144:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   18145:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   18146:   #    will be set to the directory where LIBOBJS objects are built.
                   18147:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   18148:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      18149: done
                   18150: LIBOBJS=$ac_libobjs
                   18151: 
                   18152: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      18153: 
                   18154: 
1.150     moko     18155:  if test -n "$EXEEXT"; then
                   18156:   am__EXEEXT_TRUE=
                   18157:   am__EXEEXT_FALSE='#'
                   18158: else
                   18159:   am__EXEEXT_TRUE='#'
                   18160:   am__EXEEXT_FALSE=
                   18161: fi
                   18162: 
1.62      paf      18163: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     18164:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   18165: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18166: fi
1.66      paf      18167: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     18168:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   18169: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18170: fi
1.66      paf      18171: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     18172:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   18173: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18174: fi
1.122     moko     18175: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     18176:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   18177: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18178: fi
1.128     moko     18179: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     18180:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   18181: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18182: fi
                   18183: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     18184:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   18185: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18186: fi
1.150     moko     18187: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     18188: 
                   18189:     _ltdl_libobjs=
                   18190:     _ltdl_ltlibobjs=
                   18191:     if test -n "$_LT_LIBOBJS"; then
                   18192:       # Remove the extension.
                   18193:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   18194:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   18195:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   18196:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   18197:       done
                   18198:     fi
                   18199:     ltdl_LIBOBJS=$_ltdl_libobjs
                   18200: 
                   18201:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   18202: 
                   18203: 
1.62      paf      18204: 
1.150     moko     18205: 
                   18206: : "${CONFIG_STATUS=./config.status}"
                   18207: ac_write_fail=0
1.62      paf      18208: ac_clean_files_save=$ac_clean_files
                   18209: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150     moko     18210: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   18211: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   18212: as_write_fail=0
                   18213: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      18214: #! $SHELL
                   18215: # Generated by $as_me.
                   18216: # Run this file to recreate the current configuration.
                   18217: # Compiler output produced by configure, useful for debugging
                   18218: # configure, is in config.log if it exists.
                   18219: 
                   18220: debug=false
                   18221: ac_cs_recheck=false
                   18222: ac_cs_silent=false
1.150     moko     18223: 
1.62      paf      18224: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     18225: export SHELL
                   18226: _ASEOF
                   18227: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   18228: ## -------------------- ##
                   18229: ## M4sh Initialization. ##
                   18230: ## -------------------- ##
1.62      paf      18231: 
1.150     moko     18232: # Be more Bourne compatible
                   18233: DUALCASE=1; export DUALCASE # for MKS sh
                   18234: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      18235:   emulate sh
                   18236:   NULLCMD=:
1.150     moko     18237:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      18238:   # is contrary to our usage.  Disable this feature.
                   18239:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     18240:   setopt NO_GLOB_SUBST
                   18241: else
                   18242:   case `(set -o) 2>/dev/null` in #(
                   18243:   *posix*) :
                   18244:     set -o posix ;; #(
                   18245:   *) :
                   18246:      ;;
                   18247: esac
                   18248: fi
                   18249: 
                   18250: 
                   18251: as_nl='
                   18252: '
                   18253: export as_nl
                   18254: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   18255: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   18256: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   18257: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   18258: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   18259: # but without wasting forks for bash or zsh.
                   18260: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   18261:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18262:   as_echo='print -r --'
                   18263:   as_echo_n='print -rn --'
                   18264: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18265:   as_echo='printf %s\n'
                   18266:   as_echo_n='printf %s'
                   18267: else
                   18268:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   18269:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   18270:     as_echo_n='/usr/ucb/echo -n'
                   18271:   else
                   18272:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   18273:     as_echo_n_body='eval
                   18274:       arg=$1;
                   18275:       case $arg in #(
                   18276:       *"$as_nl"*)
                   18277:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   18278:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   18279:       esac;
                   18280:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   18281:     '
                   18282:     export as_echo_n_body
                   18283:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   18284:   fi
                   18285:   export as_echo_body
                   18286:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      18287: fi
                   18288: 
1.150     moko     18289: # The user is always right.
                   18290: if test "${PATH_SEPARATOR+set}" != set; then
                   18291:   PATH_SEPARATOR=:
                   18292:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   18293:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   18294:       PATH_SEPARATOR=';'
                   18295:   }
1.62      paf      18296: fi
                   18297: 
                   18298: 
1.150     moko     18299: # IFS
                   18300: # We need space, tab and new line, in precisely that order.  Quoting is
                   18301: # there to prevent editors from complaining about space-tab.
                   18302: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   18303: # splitting by setting IFS to empty value.)
                   18304: IFS=" ""       $as_nl"
                   18305: 
                   18306: # Find who we are.  Look in the path if we contain no directory separator.
                   18307: as_myself=
                   18308: case $0 in #((
                   18309:   *[\\/]* ) as_myself=$0 ;;
                   18310:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   18311: for as_dir in $PATH
                   18312: do
                   18313:   IFS=$as_save_IFS
                   18314:   test -z "$as_dir" && as_dir=.
                   18315:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   18316:   done
                   18317: IFS=$as_save_IFS
                   18318: 
                   18319:      ;;
                   18320: esac
                   18321: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   18322: # in which case we are not to be found in the path.
                   18323: if test "x$as_myself" = x; then
                   18324:   as_myself=$0
                   18325: fi
                   18326: if test ! -f "$as_myself"; then
                   18327:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   18328:   exit 1
                   18329: fi
                   18330: 
                   18331: # Unset variables that we do not need and which cause bugs (e.g. in
                   18332: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   18333: # suppresses any "Segmentation fault" message there.  '((' could
                   18334: # trigger a bug in pdksh 5.2.14.
                   18335: for as_var in BASH_ENV ENV MAIL MAILPATH
                   18336: do eval test x\${$as_var+set} = xset \
                   18337:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   18338: done
1.62      paf      18339: PS1='$ '
                   18340: PS2='> '
                   18341: PS4='+ '
                   18342: 
                   18343: # NLS nuisances.
1.150     moko     18344: LC_ALL=C
                   18345: export LC_ALL
                   18346: LANGUAGE=C
                   18347: export LANGUAGE
                   18348: 
                   18349: # CDPATH.
                   18350: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18351: 
                   18352: 
                   18353: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   18354: # ----------------------------------------
                   18355: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   18356: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   18357: # script with STATUS, using 1 if that was 0.
                   18358: as_fn_error ()
                   18359: {
                   18360:   as_status=$1; test $as_status -eq 0 && as_status=1
                   18361:   if test "$4"; then
                   18362:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   18363:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   18364:   fi
                   18365:   $as_echo "$as_me: error: $2" >&2
                   18366:   as_fn_exit $as_status
                   18367: } # as_fn_error
                   18368: 
                   18369: 
                   18370: # as_fn_set_status STATUS
                   18371: # -----------------------
                   18372: # Set $? to STATUS, without forking.
                   18373: as_fn_set_status ()
                   18374: {
                   18375:   return $1
                   18376: } # as_fn_set_status
                   18377: 
                   18378: # as_fn_exit STATUS
                   18379: # -----------------
                   18380: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   18381: as_fn_exit ()
                   18382: {
                   18383:   set +e
                   18384:   as_fn_set_status $1
                   18385:   exit $1
                   18386: } # as_fn_exit
                   18387: 
                   18388: # as_fn_unset VAR
                   18389: # ---------------
                   18390: # Portably unset VAR.
                   18391: as_fn_unset ()
                   18392: {
                   18393:   { eval $1=; unset $1;}
                   18394: }
                   18395: as_unset=as_fn_unset
                   18396: # as_fn_append VAR VALUE
                   18397: # ----------------------
                   18398: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   18399: # advantage of any shell optimizations that allow amortized linear growth over
                   18400: # repeated appends, instead of the typical quadratic growth present in naive
                   18401: # implementations.
                   18402: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   18403:   eval 'as_fn_append ()
                   18404:   {
                   18405:     eval $1+=\$2
                   18406:   }'
                   18407: else
                   18408:   as_fn_append ()
                   18409:   {
                   18410:     eval $1=\$$1\$2
                   18411:   }
                   18412: fi # as_fn_append
                   18413: 
                   18414: # as_fn_arith ARG...
                   18415: # ------------------
                   18416: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   18417: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   18418: # must be portable across $(()) and expr.
                   18419: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   18420:   eval 'as_fn_arith ()
                   18421:   {
                   18422:     as_val=$(( $* ))
                   18423:   }'
                   18424: else
                   18425:   as_fn_arith ()
                   18426:   {
                   18427:     as_val=`expr "$@" || test $? -eq 1`
                   18428:   }
                   18429: fi # as_fn_arith
                   18430: 
1.1       paf      18431: 
1.150     moko     18432: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   18433:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      18434:   as_expr=expr
                   18435: else
                   18436:   as_expr=false
                   18437: fi
                   18438: 
1.150     moko     18439: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      18440:   as_basename=basename
                   18441: else
                   18442:   as_basename=false
                   18443: fi
                   18444: 
1.150     moko     18445: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   18446:   as_dirname=dirname
                   18447: else
                   18448:   as_dirname=false
                   18449: fi
1.62      paf      18450: 
1.150     moko     18451: as_me=`$as_basename -- "$0" ||
1.62      paf      18452: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   18453:         X"$0" : 'X\(//\)$' \| \
1.150     moko     18454:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   18455: $as_echo X/"$0" |
                   18456:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   18457:            s//\1/
                   18458:            q
                   18459:          }
                   18460:          /^X\/\(\/\/\)$/{
                   18461:            s//\1/
                   18462:            q
                   18463:          }
                   18464:          /^X\/\(\/\).*/{
                   18465:            s//\1/
                   18466:            q
                   18467:          }
                   18468:          s/.*/./; q'`
1.62      paf      18469: 
                   18470: # Avoid depending upon Character Ranges.
                   18471: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   18472: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   18473: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   18474: as_cr_digits='0123456789'
                   18475: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   18476: 
1.150     moko     18477: ECHO_C= ECHO_N= ECHO_T=
                   18478: case `echo -n x` in #(((((
                   18479: -n*)
                   18480:   case `echo 'xy\c'` in
                   18481:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   18482:   xy)  ECHO_C='\c';;
                   18483:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   18484:        ECHO_T='        ';;
                   18485:   esac;;
                   18486: *)
                   18487:   ECHO_N='-n';;
1.62      paf      18488: esac
                   18489: 
1.150     moko     18490: rm -f conf$$ conf$$.exe conf$$.file
                   18491: if test -d conf$$.dir; then
                   18492:   rm -f conf$$.dir/conf$$.file
1.62      paf      18493: else
1.150     moko     18494:   rm -f conf$$.dir
                   18495:   mkdir conf$$.dir 2>/dev/null
1.62      paf      18496: fi
1.150     moko     18497: if (echo >conf$$.file) 2>/dev/null; then
                   18498:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   18499:     as_ln_s='ln -s'
                   18500:     # ... but there are two gotchas:
                   18501:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   18502:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   18503:     # In both cases, we have to default to `cp -p'.
                   18504:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   18505:       as_ln_s='cp -p'
                   18506:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   18507:     as_ln_s=ln
                   18508:   else
1.62      paf      18509:     as_ln_s='cp -p'
                   18510:   fi
                   18511: else
                   18512:   as_ln_s='cp -p'
                   18513: fi
1.150     moko     18514: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   18515: rmdir conf$$.dir 2>/dev/null
                   18516: 
                   18517: 
                   18518: # as_fn_mkdir_p
                   18519: # -------------
                   18520: # Create "$as_dir" as a directory, including parents if necessary.
                   18521: as_fn_mkdir_p ()
                   18522: {
                   18523: 
                   18524:   case $as_dir in #(
                   18525:   -*) as_dir=./$as_dir;;
                   18526:   esac
                   18527:   test -d "$as_dir" || eval $as_mkdir_p || {
                   18528:     as_dirs=
                   18529:     while :; do
                   18530:       case $as_dir in #(
                   18531:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   18532:       *) as_qdir=$as_dir;;
                   18533:       esac
                   18534:       as_dirs="'$as_qdir' $as_dirs"
                   18535:       as_dir=`$as_dirname -- "$as_dir" ||
                   18536: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18537:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   18538:         X"$as_dir" : 'X\(//\)$' \| \
                   18539:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   18540: $as_echo X"$as_dir" |
                   18541:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18542:            s//\1/
                   18543:            q
                   18544:          }
                   18545:          /^X\(\/\/\)[^/].*/{
                   18546:            s//\1/
                   18547:            q
                   18548:          }
                   18549:          /^X\(\/\/\)$/{
                   18550:            s//\1/
                   18551:            q
                   18552:          }
                   18553:          /^X\(\/\).*/{
                   18554:            s//\1/
                   18555:            q
                   18556:          }
                   18557:          s/.*/./; q'`
                   18558:       test -d "$as_dir" && break
                   18559:     done
                   18560:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   18561:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   18562: 
1.62      paf      18563: 
1.150     moko     18564: } # as_fn_mkdir_p
1.62      paf      18565: if mkdir -p . 2>/dev/null; then
1.150     moko     18566:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      18567: else
1.86      paf      18568:   test -d ./-p && rmdir ./-p
1.62      paf      18569:   as_mkdir_p=false
                   18570: fi
                   18571: 
1.150     moko     18572: if test -x / >/dev/null 2>&1; then
                   18573:   as_test_x='test -x'
                   18574: else
                   18575:   if ls -dL / >/dev/null 2>&1; then
                   18576:     as_ls_L_option=L
                   18577:   else
                   18578:     as_ls_L_option=
                   18579:   fi
                   18580:   as_test_x='
                   18581:     eval sh -c '\''
                   18582:       if test -d "$1"; then
                   18583:        test -d "$1/.";
                   18584:       else
                   18585:        case $1 in #(
                   18586:        -*)set "./$1";;
                   18587:        esac;
                   18588:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                   18589:        ???[sx]*):;;*)false;;esac;fi
                   18590:     '\'' sh
                   18591:   '
                   18592: fi
                   18593: as_executable_p=$as_test_x
1.62      paf      18594: 
                   18595: # Sed expression to map a string onto a valid CPP name.
1.86      paf      18596: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      18597: 
                   18598: # Sed expression to map a string onto a valid variable name.
1.86      paf      18599: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      18600: 
                   18601: 
                   18602: exec 6>&1
1.150     moko     18603: ## ----------------------------------- ##
                   18604: ## Main body of $CONFIG_STATUS script. ##
                   18605: ## ----------------------------------- ##
                   18606: _ASEOF
                   18607: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      18608: 
1.150     moko     18609: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18610: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      18611: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     18612: # values after options handling.
                   18613: ac_log="
1.153     moko     18614: This file was extended by parser $as_me 3.4.2, which was
1.150     moko     18615: generated by GNU Autoconf 2.68.  Invocation command line was
1.62      paf      18616: 
                   18617:   CONFIG_FILES    = $CONFIG_FILES
                   18618:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   18619:   CONFIG_LINKS    = $CONFIG_LINKS
                   18620:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   18621:   $ $0 $@
                   18622: 
1.150     moko     18623: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   18624: "
                   18625: 
1.62      paf      18626: _ACEOF
                   18627: 
1.150     moko     18628: case $ac_config_files in *"
                   18629: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   18630: esac
1.62      paf      18631: 
1.150     moko     18632: case $ac_config_headers in *"
                   18633: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   18634: esac
1.62      paf      18635: 
                   18636: 
1.150     moko     18637: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18638: # Files that config.status was made for.
                   18639: config_files="$ac_config_files"
                   18640: config_headers="$ac_config_headers"
                   18641: config_commands="$ac_config_commands"
1.62      paf      18642: 
1.150     moko     18643: _ACEOF
1.62      paf      18644: 
1.150     moko     18645: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      18646: ac_cs_usage="\
1.150     moko     18647: \`$as_me' instantiates files and other configuration actions
                   18648: from templates according to the current configuration.  Unless the files
                   18649: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      18650: 
1.150     moko     18651: Usage: $0 [OPTION]... [TAG]...
1.62      paf      18652: 
                   18653:   -h, --help       print this help, then exit
1.150     moko     18654:   -V, --version    print version number and configuration settings, then exit
                   18655:       --config     print configuration, then exit
                   18656:   -q, --quiet, --silent
                   18657:                    do not print progress messages
1.62      paf      18658:   -d, --debug      don't remove temporary files
                   18659:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     18660:       --file=FILE[:TEMPLATE]
                   18661:                    instantiate the configuration file FILE
                   18662:       --header=FILE[:TEMPLATE]
                   18663:                    instantiate the configuration header FILE
1.62      paf      18664: 
                   18665: Configuration files:
                   18666: $config_files
                   18667: 
                   18668: Configuration headers:
                   18669: $config_headers
                   18670: 
                   18671: Configuration commands:
                   18672: $config_commands
                   18673: 
1.150     moko     18674: Report bugs to the package provider."
                   18675: 
1.62      paf      18676: _ACEOF
1.150     moko     18677: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18678: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      18679: ac_cs_version="\\
1.153     moko     18680: parser config.status 3.4.2
1.150     moko     18681: configured by $0, generated by GNU Autoconf 2.68,
                   18682:   with options \\"\$ac_cs_config\\"
1.62      paf      18683: 
1.150     moko     18684: Copyright (C) 2010 Free Software Foundation, Inc.
1.62      paf      18685: This config.status script is free software; the Free Software Foundation
                   18686: gives unlimited permission to copy, distribute and modify it."
1.150     moko     18687: 
                   18688: ac_pwd='$ac_pwd'
                   18689: srcdir='$srcdir'
                   18690: INSTALL='$INSTALL'
                   18691: MKDIR_P='$MKDIR_P'
                   18692: AWK='$AWK'
                   18693: test -n "\$AWK" || AWK=awk
1.62      paf      18694: _ACEOF
                   18695: 
1.150     moko     18696: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18697: # The default lists apply if the user does not specify any file.
1.62      paf      18698: ac_need_defaults=:
                   18699: while test $# != 0
                   18700: do
                   18701:   case $1 in
1.150     moko     18702:   --*=?*)
                   18703:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   18704:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      18705:     ac_shift=:
                   18706:     ;;
1.150     moko     18707:   --*=)
                   18708:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   18709:     ac_optarg=
                   18710:     ac_shift=:
                   18711:     ;;
                   18712:   *)
1.62      paf      18713:     ac_option=$1
                   18714:     ac_optarg=$2
                   18715:     ac_shift=shift
                   18716:     ;;
                   18717:   esac
                   18718: 
                   18719:   case $ac_option in
                   18720:   # Handling of the options.
                   18721:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   18722:     ac_cs_recheck=: ;;
1.150     moko     18723:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   18724:     $as_echo "$ac_cs_version"; exit ;;
                   18725:   --config | --confi | --conf | --con | --co | --c )
                   18726:     $as_echo "$ac_cs_config"; exit ;;
                   18727:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      18728:     debug=: ;;
                   18729:   --file | --fil | --fi | --f )
                   18730:     $ac_shift
1.150     moko     18731:     case $ac_optarg in
                   18732:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   18733:     '') as_fn_error $? "missing file argument" ;;
                   18734:     esac
                   18735:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      18736:     ac_need_defaults=false;;
                   18737:   --header | --heade | --head | --hea )
                   18738:     $ac_shift
1.150     moko     18739:     case $ac_optarg in
                   18740:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   18741:     esac
                   18742:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      18743:     ac_need_defaults=false;;
1.150     moko     18744:   --he | --h)
                   18745:     # Conflict between --help and --header
                   18746:     as_fn_error $? "ambiguous option: \`$1'
                   18747: Try \`$0 --help' for more information.";;
                   18748:   --help | --hel | -h )
                   18749:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      18750:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   18751:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   18752:     ac_cs_silent=: ;;
                   18753: 
                   18754:   # This is an error.
1.150     moko     18755:   -*) as_fn_error $? "unrecognized option: \`$1'
                   18756: Try \`$0 --help' for more information." ;;
1.62      paf      18757: 
1.150     moko     18758:   *) as_fn_append ac_config_targets " $1"
                   18759:      ac_need_defaults=false ;;
1.62      paf      18760: 
                   18761:   esac
                   18762:   shift
                   18763: done
                   18764: 
                   18765: ac_configure_extra_args=
                   18766: 
                   18767: if $ac_cs_silent; then
                   18768:   exec 6>/dev/null
1.150     moko     18769:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   18770: fi
                   18771: 
                   18772: _ACEOF
                   18773: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18774: if \$ac_cs_recheck; then
                   18775:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   18776:   shift
                   18777:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   18778:   CONFIG_SHELL='$SHELL'
                   18779:   export CONFIG_SHELL
                   18780:   exec "\$@"
                   18781: fi
                   18782: 
                   18783: _ACEOF
                   18784: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18785: exec 5>>config.log
                   18786: {
                   18787:   echo
                   18788:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   18789: ## Running $as_me. ##
                   18790: _ASBOX
                   18791:   $as_echo "$ac_log"
                   18792: } >&5
1.62      paf      18793: 
                   18794: _ACEOF
1.150     moko     18795: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      18796: #
1.150     moko     18797: # INIT-COMMANDS
1.1       paf      18798: #
1.62      paf      18799: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   18800: 
1.128     moko     18801: 
                   18802: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   18803: # if CDPATH is set.
                   18804: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18805: 
                   18806: sed_quote_subst='$sed_quote_subst'
                   18807: double_quote_subst='$double_quote_subst'
                   18808: delay_variable_subst='$delay_variable_subst'
                   18809: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   18810: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   18811: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   18812: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   18813: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     18814: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     18815: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     18816: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     18817: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   18818: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   18819: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   18820: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   18821: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   18822: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   18823: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   18824: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   18825: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   18826: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   18827: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   18828: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   18829: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   18830: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   18831: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   18832: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   18833: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   18834: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   18835: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   18836: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   18837: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   18838: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   18839: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   18840: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   18841: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18842: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18843: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   18844: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   18845: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   18846: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   18847: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   18848: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   18849: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   18850: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   18851: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   18852: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   18853: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   18854: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   18855: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18856: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18857: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18858: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   18859: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   18860: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   18861: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   18862: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   18863: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   18864: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   18865: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   18866: 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"`'
                   18867: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18868: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   18869: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   18870: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   18871: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   18872: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   18873: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   18874: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   18875: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   18876: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   18877: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   18878: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   18879: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   18880: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   18881: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   18882: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   18883: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   18884: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   18885: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18886: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   18887: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   18888: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18889: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18890: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   18891: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   18892: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18893: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18894: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18895: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   18896: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18897: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   18898: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18899: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18900: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18901: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   18902: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   18903: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   18904: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   18905: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18906: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   18907: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   18908: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   18909: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   18910: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   18911: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   18912: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   18913: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   18914: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   18915: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18916: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   18917: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   18918: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   18919: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   18920: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   18921: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18922: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   18923: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   18924: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   18925: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   18926: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   18927: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18928: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18929: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   18930: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   18931: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   18932: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   18933: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   18934: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   18935: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   18936: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   18937: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   18938: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   18939: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   18940: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   18941: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   18942: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   18943: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   18944: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   18945: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   18946: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   18947: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18948: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18949: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18950: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   18951: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   18952: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18953: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   18954: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   18955: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   18956: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   18957: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   18958: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   18959: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18960: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18961: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   18962: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18963: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18964: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18965: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18966: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18967: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18968: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   18969: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18970: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18971: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18972: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   18973: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   18974: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   18975: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   18976: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   18977: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   18978: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   18979: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   18980: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   18981: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18982: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18983: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18984: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18985: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18986: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18987: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   18988: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   18989: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18990: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18991: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18992: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18993: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   18994: 
                   18995: LTCC='$LTCC'
                   18996: LTCFLAGS='$LTCFLAGS'
                   18997: compiler='$compiler_DEFAULT'
                   18998: 
                   18999: # A function that is used when there is no print builtin or printf.
                   19000: func_fallback_echo ()
                   19001: {
                   19002:   eval 'cat <<_LTECHO_EOF
                   19003: \$1
                   19004: _LTECHO_EOF'
                   19005: }
                   19006: 
                   19007: # Quote evaled strings.
                   19008: for var in AS \
                   19009: DLLTOOL \
                   19010: OBJDUMP \
                   19011: SHELL \
                   19012: ECHO \
                   19013: PATH_SEPARATOR \
                   19014: SED \
                   19015: GREP \
                   19016: EGREP \
                   19017: FGREP \
                   19018: LD \
                   19019: NM \
                   19020: LN_S \
                   19021: lt_SP2NL \
                   19022: lt_NL2SP \
                   19023: reload_flag \
                   19024: deplibs_check_method \
                   19025: file_magic_cmd \
                   19026: file_magic_glob \
                   19027: want_nocaseglob \
                   19028: sharedlib_from_linklib_cmd \
                   19029: AR \
                   19030: AR_FLAGS \
                   19031: archiver_list_spec \
                   19032: STRIP \
                   19033: RANLIB \
                   19034: CC \
                   19035: CFLAGS \
                   19036: compiler \
                   19037: lt_cv_sys_global_symbol_pipe \
                   19038: lt_cv_sys_global_symbol_to_cdecl \
                   19039: lt_cv_sys_global_symbol_to_c_name_address \
                   19040: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   19041: nm_file_list_spec \
                   19042: lt_prog_compiler_no_builtin_flag \
                   19043: lt_prog_compiler_pic \
                   19044: lt_prog_compiler_wl \
                   19045: lt_prog_compiler_static \
                   19046: lt_cv_prog_compiler_c_o \
                   19047: need_locks \
                   19048: MANIFEST_TOOL \
                   19049: DSYMUTIL \
                   19050: NMEDIT \
                   19051: LIPO \
                   19052: OTOOL \
                   19053: OTOOL64 \
                   19054: shrext_cmds \
                   19055: export_dynamic_flag_spec \
                   19056: whole_archive_flag_spec \
                   19057: compiler_needs_object \
                   19058: with_gnu_ld \
                   19059: allow_undefined_flag \
                   19060: no_undefined_flag \
                   19061: hardcode_libdir_flag_spec \
                   19062: hardcode_libdir_separator \
                   19063: exclude_expsyms \
                   19064: include_expsyms \
                   19065: file_list_spec \
                   19066: variables_saved_for_relink \
                   19067: libname_spec \
                   19068: library_names_spec \
                   19069: soname_spec \
                   19070: install_override_mode \
                   19071: finish_eval \
                   19072: old_striplib \
                   19073: striplib \
                   19074: compiler_lib_search_dirs \
                   19075: predep_objects \
                   19076: postdep_objects \
                   19077: predeps \
                   19078: postdeps \
                   19079: compiler_lib_search_path \
                   19080: LD_CXX \
                   19081: reload_flag_CXX \
                   19082: compiler_CXX \
                   19083: lt_prog_compiler_no_builtin_flag_CXX \
                   19084: lt_prog_compiler_pic_CXX \
                   19085: lt_prog_compiler_wl_CXX \
                   19086: lt_prog_compiler_static_CXX \
                   19087: lt_cv_prog_compiler_c_o_CXX \
                   19088: export_dynamic_flag_spec_CXX \
                   19089: whole_archive_flag_spec_CXX \
                   19090: compiler_needs_object_CXX \
                   19091: with_gnu_ld_CXX \
                   19092: allow_undefined_flag_CXX \
                   19093: no_undefined_flag_CXX \
                   19094: hardcode_libdir_flag_spec_CXX \
                   19095: hardcode_libdir_separator_CXX \
                   19096: exclude_expsyms_CXX \
                   19097: include_expsyms_CXX \
                   19098: file_list_spec_CXX \
                   19099: compiler_lib_search_dirs_CXX \
                   19100: predep_objects_CXX \
                   19101: postdep_objects_CXX \
                   19102: predeps_CXX \
                   19103: postdeps_CXX \
                   19104: compiler_lib_search_path_CXX; do
                   19105:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19106:     *[\\\\\\\`\\"\\\$]*)
                   19107:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   19108:       ;;
                   19109:     *)
                   19110:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19111:       ;;
                   19112:     esac
                   19113: done
                   19114: 
                   19115: # Double-quote double-evaled strings.
                   19116: for var in reload_cmds \
                   19117: old_postinstall_cmds \
                   19118: old_postuninstall_cmds \
                   19119: old_archive_cmds \
                   19120: extract_expsyms_cmds \
                   19121: old_archive_from_new_cmds \
                   19122: old_archive_from_expsyms_cmds \
                   19123: archive_cmds \
                   19124: archive_expsym_cmds \
                   19125: module_cmds \
                   19126: module_expsym_cmds \
                   19127: export_symbols_cmds \
                   19128: prelink_cmds \
                   19129: postlink_cmds \
                   19130: postinstall_cmds \
                   19131: postuninstall_cmds \
                   19132: finish_cmds \
                   19133: sys_lib_search_path_spec \
                   19134: sys_lib_dlsearch_path_spec \
                   19135: reload_cmds_CXX \
                   19136: old_archive_cmds_CXX \
                   19137: old_archive_from_new_cmds_CXX \
                   19138: old_archive_from_expsyms_cmds_CXX \
                   19139: archive_cmds_CXX \
                   19140: archive_expsym_cmds_CXX \
                   19141: module_cmds_CXX \
                   19142: module_expsym_cmds_CXX \
                   19143: export_symbols_cmds_CXX \
                   19144: prelink_cmds_CXX \
                   19145: postlink_cmds_CXX; do
                   19146:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19147:     *[\\\\\\\`\\"\\\$]*)
                   19148:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   19149:       ;;
                   19150:     *)
                   19151:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19152:       ;;
                   19153:     esac
                   19154: done
                   19155: 
                   19156: ac_aux_dir='$ac_aux_dir'
                   19157: xsi_shell='$xsi_shell'
                   19158: lt_shell_append='$lt_shell_append'
                   19159: 
                   19160: # See if we are running on zsh, and set the options which allow our
                   19161: # commands through without removal of \ escapes INIT.
                   19162: if test -n "\${ZSH_VERSION+set}" ; then
                   19163:    setopt NO_GLOB_SUBST
                   19164: fi
                   19165: 
                   19166: 
                   19167:     PACKAGE='$PACKAGE'
                   19168:     VERSION='$VERSION'
                   19169:     TIMESTAMP='$TIMESTAMP'
                   19170:     RM='$RM'
                   19171:     ofile='$ofile'
                   19172: 
                   19173: 
                   19174: 
                   19175: 
                   19176: 
                   19177: 
1.62      paf      19178: _ACEOF
                   19179: 
1.150     moko     19180: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19181: 
1.150     moko     19182: # Handling of arguments.
1.62      paf      19183: for ac_config_target in $ac_config_targets
1.1       paf      19184: do
1.150     moko     19185:   case $ac_config_target in
                   19186:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   19187:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   19188:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   19189:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   19190:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   19191:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   19192:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   19193:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   19194:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   19195:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   19196:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   19197:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   19198:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   19199:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   19200:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   19201:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   19202:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   19203:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   19204:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   19205:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   19206:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   19207:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   19208:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
                   19209:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   19210:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   19211:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   19212:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   19213:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   19214:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   19215:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   19216:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   19217:     "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   19218:     "bin/auto.p.dist") CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   19219: 
                   19220:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      19221:   esac
                   19222: done
                   19223: 
1.150     moko     19224: 
1.62      paf      19225: # If the user did not use the arguments to specify the items to instantiate,
                   19226: # then the envvar interface is used.  Set only those that are not.
                   19227: # We use the long form for the default assignment because of an extremely
                   19228: # bizarre bug on SunOS 4.1.3.
                   19229: if $ac_need_defaults; then
                   19230:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   19231:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   19232:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   19233: fi
                   19234: 
                   19235: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     19236: # simply because there is no reason against having it here, and in addition,
1.62      paf      19237: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     19238: # Hook for its removal unless debugging.
                   19239: # Note that there is a small window in which the directory will not be cleaned:
                   19240: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      19241: $debug ||
                   19242: {
1.150     moko     19243:   tmp= ac_tmp=
                   19244:   trap 'exit_status=$?
                   19245:   : "${ac_tmp:=$tmp}"
                   19246:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   19247: ' 0
                   19248:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      19249: }
                   19250: # Create a (secure) tmp directory for tmp files.
                   19251: 
                   19252: {
1.150     moko     19253:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   19254:   test -d "$tmp"
1.62      paf      19255: }  ||
                   19256: {
1.150     moko     19257:   tmp=./conf$$-$RANDOM
                   19258:   (umask 077 && mkdir "$tmp")
                   19259: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   19260: ac_tmp=$tmp
                   19261: 
                   19262: # Set up the scripts for CONFIG_FILES section.
                   19263: # No need to generate them if there are no CONFIG_FILES.
                   19264: # This happens for instance with `./config.status config.h'.
                   19265: if test -n "$CONFIG_FILES"; then
                   19266: 
                   19267: 
                   19268: ac_cr=`echo X | tr X '\015'`
                   19269: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   19270: # But we know of no other shell where ac_cr would be empty at this
                   19271: # point, so we can use a bashism as a fallback.
                   19272: if test "x$ac_cr" = x; then
                   19273:   eval ac_cr=\$\'\\r\'
                   19274: fi
                   19275: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   19276: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   19277:   ac_cs_awk_cr='\\r'
                   19278: else
                   19279:   ac_cs_awk_cr=$ac_cr
                   19280: fi
                   19281: 
                   19282: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   19283: _ACEOF
                   19284: 
                   19285: 
1.62      paf      19286: {
1.150     moko     19287:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   19288:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   19289:   echo "_ACEOF"
                   19290: } >conf$$subs.sh ||
                   19291:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19292: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   19293: ac_delim='%!_!# '
                   19294: for ac_last_try in false false false false false :; do
                   19295:   . ./conf$$subs.sh ||
                   19296:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19297: 
                   19298:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   19299:   if test $ac_delim_n = $ac_delim_num; then
                   19300:     break
                   19301:   elif $ac_last_try; then
                   19302:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19303:   else
                   19304:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   19305:   fi
                   19306: done
                   19307: rm -f conf$$subs.sh
                   19308: 
                   19309: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19310: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   19311: _ACEOF
                   19312: sed -n '
                   19313: h
                   19314: s/^/S["/; s/!.*/"]=/
                   19315: p
                   19316: g
                   19317: s/^[^!]*!//
                   19318: :repl
                   19319: t repl
                   19320: s/'"$ac_delim"'$//
                   19321: t delim
                   19322: :nl
                   19323: h
                   19324: s/\(.\{148\}\)..*/\1/
                   19325: t more1
                   19326: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   19327: p
                   19328: n
                   19329: b repl
                   19330: :more1
                   19331: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   19332: p
                   19333: g
                   19334: s/.\{148\}//
                   19335: t nl
                   19336: :delim
                   19337: h
                   19338: s/\(.\{148\}\)..*/\1/
                   19339: t more2
                   19340: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   19341: p
                   19342: b
                   19343: :more2
                   19344: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   19345: p
                   19346: g
                   19347: s/.\{148\}//
                   19348: t delim
                   19349: ' <conf$$subs.awk | sed '
                   19350: /^[^""]/{
                   19351:   N
                   19352:   s/\n//
                   19353: }
                   19354: ' >>$CONFIG_STATUS || ac_write_fail=1
                   19355: rm -f conf$$subs.awk
                   19356: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19357: _ACAWK
                   19358: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   19359:   for (key in S) S_is_set[key] = 1
                   19360:   FS = ""
                   19361: 
                   19362: }
                   19363: {
                   19364:   line = $ 0
                   19365:   nfields = split(line, field, "@")
                   19366:   substed = 0
                   19367:   len = length(field[1])
                   19368:   for (i = 2; i < nfields; i++) {
                   19369:     key = field[i]
                   19370:     keylen = length(key)
                   19371:     if (S_is_set[key]) {
                   19372:       value = S[key]
                   19373:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   19374:       len += length(value) + length(field[++i])
                   19375:       substed = 1
                   19376:     } else
                   19377:       len += 1 + keylen
                   19378:   }
                   19379: 
                   19380:   print line
1.62      paf      19381: }
                   19382: 
1.150     moko     19383: _ACAWK
                   19384: _ACEOF
                   19385: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19386: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   19387:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   19388: else
                   19389:   cat
                   19390: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   19391:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      19392: _ACEOF
1.1       paf      19393: 
1.150     moko     19394: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   19395: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   19396: # trailing colons and then remove the whole line if VPATH becomes empty
                   19397: # (actually we leave an empty line to preserve line numbers).
                   19398: if test "x$srcdir" = x.; then
                   19399:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   19400: h
                   19401: s///
                   19402: s/^/:/
                   19403: s/[     ]*$/:/
                   19404: s/:\$(srcdir):/:/g
                   19405: s/:\${srcdir}:/:/g
                   19406: s/:@srcdir@:/:/g
                   19407: s/^:*//
                   19408: s/:*$//
                   19409: x
                   19410: s/\(=[  ]*\).*/\1/
                   19411: G
                   19412: s/\n//
                   19413: s/^[^=]*=[      ]*$//
                   19414: }'
                   19415: fi
1.62      paf      19416: 
1.150     moko     19417: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19418: fi # test -n "$CONFIG_FILES"
1.1       paf      19419: 
1.150     moko     19420: # Set up the scripts for CONFIG_HEADERS section.
                   19421: # No need to generate them if there are no CONFIG_HEADERS.
                   19422: # This happens for instance with `./config.status Makefile'.
                   19423: if test -n "$CONFIG_HEADERS"; then
                   19424: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   19425: BEGIN {
                   19426: _ACEOF
                   19427: 
                   19428: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   19429: # here-document in config.status, that substitutes the proper values into
                   19430: # config.h.in to produce config.h.
                   19431: 
                   19432: # Create a delimiter string that does not exist in confdefs.h, to ease
                   19433: # handling of long lines.
                   19434: ac_delim='%!_!# '
                   19435: for ac_last_try in false false :; do
                   19436:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   19437:   if test -z "$ac_tt"; then
                   19438:     break
                   19439:   elif $ac_last_try; then
                   19440:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   19441:   else
                   19442:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      19443:   fi
1.150     moko     19444: done
1.1       paf      19445: 
1.150     moko     19446: # For the awk script, D is an array of macro values keyed by name,
                   19447: # likewise P contains macro parameters if any.  Preserve backslash
                   19448: # newline sequences.
                   19449: 
                   19450: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   19451: sed -n '
                   19452: s/.\{148\}/&'"$ac_delim"'/g
                   19453: t rset
                   19454: :rset
                   19455: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   19456: t def
                   19457: d
                   19458: :def
                   19459: s/\\$//
                   19460: t bsnl
                   19461: s/["\\]/\\&/g
                   19462: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   19463: D["\1"]=" \3"/p
                   19464: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   19465: d
                   19466: :bsnl
                   19467: s/["\\]/\\&/g
                   19468: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   19469: D["\1"]=" \3\\\\\\n"\\/p
                   19470: t cont
                   19471: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   19472: t cont
                   19473: d
                   19474: :cont
                   19475: n
                   19476: s/.\{148\}/&'"$ac_delim"'/g
                   19477: t clear
                   19478: :clear
                   19479: s/\\$//
                   19480: t bsnlc
                   19481: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   19482: d
                   19483: :bsnlc
                   19484: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   19485: b cont
                   19486: ' <confdefs.h | sed '
                   19487: s/'"$ac_delim"'/"\\\
                   19488: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   19489: 
                   19490: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19491:   for (key in D) D_is_set[key] = 1
                   19492:   FS = ""
                   19493: }
                   19494: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   19495:   line = \$ 0
                   19496:   split(line, arg, " ")
                   19497:   if (arg[1] == "#") {
                   19498:     defundef = arg[2]
                   19499:     mac1 = arg[3]
                   19500:   } else {
                   19501:     defundef = substr(arg[1], 2)
                   19502:     mac1 = arg[2]
                   19503:   }
                   19504:   split(mac1, mac2, "(") #)
                   19505:   macro = mac2[1]
                   19506:   prefix = substr(line, 1, index(line, defundef) - 1)
                   19507:   if (D_is_set[macro]) {
                   19508:     # Preserve the white space surrounding the "#".
                   19509:     print prefix "define", macro P[macro] D[macro]
                   19510:     next
                   19511:   } else {
                   19512:     # Replace #undef with comments.  This is necessary, for example,
                   19513:     # in the case of _POSIX_SOURCE, which is predefined and required
                   19514:     # on some systems where configure will not decide to define it.
                   19515:     if (defundef == "undef") {
                   19516:       print "/*", prefix defundef, macro, "*/"
                   19517:       next
                   19518:     }
                   19519:   }
                   19520: }
                   19521: { print }
                   19522: _ACAWK
1.62      paf      19523: _ACEOF
1.150     moko     19524: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19525:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   19526: fi # test -n "$CONFIG_HEADERS"
                   19527: 
                   19528: 
                   19529: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   19530: shift
                   19531: for ac_tag
                   19532: do
                   19533:   case $ac_tag in
                   19534:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   19535:   esac
                   19536:   case $ac_mode$ac_tag in
                   19537:   :[FHL]*:*);;
                   19538:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   19539:   :[FH]-) ac_tag=-:-;;
                   19540:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   19541:   esac
                   19542:   ac_save_IFS=$IFS
                   19543:   IFS=:
                   19544:   set x $ac_tag
                   19545:   IFS=$ac_save_IFS
                   19546:   shift
                   19547:   ac_file=$1
                   19548:   shift
                   19549: 
                   19550:   case $ac_mode in
                   19551:   :L) ac_source=$1;;
                   19552:   :[FH])
                   19553:     ac_file_inputs=
                   19554:     for ac_f
                   19555:     do
                   19556:       case $ac_f in
                   19557:       -) ac_f="$ac_tmp/stdin";;
                   19558:       *) # Look for the file first in the build tree, then in the source tree
                   19559:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   19560:         # because $ac_f cannot contain `:'.
                   19561:         test -f "$ac_f" ||
                   19562:           case $ac_f in
                   19563:           [\\/$]*) false;;
                   19564:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   19565:           esac ||
                   19566:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   19567:       esac
                   19568:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   19569:       as_fn_append ac_file_inputs " '$ac_f'"
                   19570:     done
                   19571: 
                   19572:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   19573:     # use $as_me), people would be surprised to read:
                   19574:     #    /* config.h.  Generated by config.status.  */
                   19575:     configure_input='Generated from '`
                   19576:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   19577:        `' by configure.'
                   19578:     if test x"$ac_file" != x-; then
                   19579:       configure_input="$ac_file.  $configure_input"
                   19580:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   19581: $as_echo "$as_me: creating $ac_file" >&6;}
                   19582:     fi
                   19583:     # Neutralize special characters interpreted by sed in replacement strings.
                   19584:     case $configure_input in #(
                   19585:     *\&* | *\|* | *\\* )
                   19586:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   19587:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   19588:     *) ac_sed_conf_input=$configure_input;;
                   19589:     esac
                   19590: 
                   19591:     case $ac_tag in
                   19592:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   19593:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   19594:     esac
                   19595:     ;;
1.1       paf      19596:   esac
                   19597: 
1.150     moko     19598:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      19599: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19600:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   19601:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     19602:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   19603: $as_echo X"$ac_file" |
                   19604:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19605:            s//\1/
                   19606:            q
                   19607:          }
                   19608:          /^X\(\/\/\)[^/].*/{
                   19609:            s//\1/
                   19610:            q
                   19611:          }
                   19612:          /^X\(\/\/\)$/{
                   19613:            s//\1/
                   19614:            q
                   19615:          }
                   19616:          /^X\(\/\).*/{
                   19617:            s//\1/
                   19618:            q
                   19619:          }
                   19620:          s/.*/./; q'`
                   19621:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      19622:   ac_builddir=.
                   19623: 
1.150     moko     19624: case "$ac_dir" in
                   19625: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19626: *)
                   19627:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   19628:   # A ".." for each directory in $ac_dir_suffix.
                   19629:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   19630:   case $ac_top_builddir_sub in
                   19631:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19632:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   19633:   esac ;;
                   19634: esac
                   19635: ac_abs_top_builddir=$ac_pwd
                   19636: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   19637: # for backward compatibility:
                   19638: ac_top_builddir=$ac_top_build_prefix
1.62      paf      19639: 
                   19640: case $srcdir in
1.150     moko     19641:   .)  # We are building in place.
1.62      paf      19642:     ac_srcdir=.
1.150     moko     19643:     ac_top_srcdir=$ac_top_builddir_sub
                   19644:     ac_abs_top_srcdir=$ac_pwd ;;
                   19645:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      19646:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     19647:     ac_top_srcdir=$srcdir
                   19648:     ac_abs_top_srcdir=$srcdir ;;
                   19649:   *) # Relative name.
                   19650:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   19651:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   19652:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      19653: esac
1.150     moko     19654: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      19655: 
1.62      paf      19656: 
1.150     moko     19657:   case $ac_mode in
                   19658:   :F)
                   19659:   #
                   19660:   # CONFIG_FILE
                   19661:   #
1.1       paf      19662: 
1.62      paf      19663:   case $INSTALL in
                   19664:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     19665:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      19666:   esac
1.150     moko     19667:   ac_MKDIR_P=$MKDIR_P
                   19668:   case $MKDIR_P in
                   19669:   [\\/$]* | ?:[\\/]* ) ;;
                   19670:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   19671:   esac
                   19672: _ACEOF
1.1       paf      19673: 
1.150     moko     19674: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19675: # If the template does not know about datarootdir, expand it.
                   19676: # FIXME: This hack should be removed a few years after 2.60.
                   19677: ac_datarootdir_hack=; ac_datarootdir_seen=
                   19678: ac_sed_dataroot='
                   19679: /datarootdir/ {
                   19680:   p
                   19681:   q
                   19682: }
                   19683: /@datadir@/p
                   19684: /@docdir@/p
                   19685: /@infodir@/p
                   19686: /@localedir@/p
                   19687: /@mandir@/p'
                   19688: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   19689: *datarootdir*) ac_datarootdir_seen=yes;;
                   19690: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   19691:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   19692: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   19693: _ACEOF
                   19694: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19695:   ac_datarootdir_hack='
                   19696:   s&@datadir@&$datadir&g
                   19697:   s&@docdir@&$docdir&g
                   19698:   s&@infodir@&$infodir&g
                   19699:   s&@localedir@&$localedir&g
                   19700:   s&@mandir@&$mandir&g
                   19701:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   19702: esac
                   19703: _ACEOF
1.62      paf      19704: 
1.150     moko     19705: # Neutralize VPATH when `$srcdir' = `.'.
                   19706: # Shell code in configure.ac might set extrasub.
                   19707: # FIXME: do we really want to maintain this feature?
                   19708: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19709: ac_sed_extra="$ac_vpsub
1.62      paf      19710: $extrasub
                   19711: _ACEOF
1.150     moko     19712: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19713: :t
                   19714: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     19715: s|@configure_input@|$ac_sed_conf_input|;t t
                   19716: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   19717: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   19718: s&@srcdir@&$ac_srcdir&;t t
                   19719: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   19720: s&@top_srcdir@&$ac_top_srcdir&;t t
                   19721: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   19722: s&@builddir@&$ac_builddir&;t t
                   19723: s&@abs_builddir@&$ac_abs_builddir&;t t
                   19724: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   19725: s&@INSTALL@&$ac_INSTALL&;t t
                   19726: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   19727: $ac_datarootdir_hack
                   19728: "
                   19729: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   19730:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19731: 
                   19732: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   19733:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   19734:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   19735:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   19736:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   19737: which seems to be undefined.  Please make sure it is defined" >&5
                   19738: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   19739: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      19740: 
1.150     moko     19741:   rm -f "$ac_tmp/stdin"
1.62      paf      19742:   case $ac_file in
1.150     moko     19743:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   19744:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   19745:   esac \
                   19746:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19747:  ;;
                   19748:   :H)
                   19749:   #
                   19750:   # CONFIG_HEADER
                   19751:   #
1.62      paf      19752:   if test x"$ac_file" != x-; then
1.150     moko     19753:     {
                   19754:       $as_echo "/* $configure_input  */" \
                   19755:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   19756:     } >"$ac_tmp/config.h" \
                   19757:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19758:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   19759:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   19760: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      19761:     else
1.150     moko     19762:       rm -f "$ac_file"
                   19763:       mv "$ac_tmp/config.h" "$ac_file" \
                   19764:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      19765:     fi
                   19766:   else
1.150     moko     19767:     $as_echo "/* $configure_input  */" \
                   19768:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   19769:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      19770:   fi
1.150     moko     19771: # Compute "$ac_file"'s index in $config_headers.
                   19772: _am_arg="$ac_file"
1.86      paf      19773: _am_stamp_count=1
                   19774: for _am_header in $config_headers :; do
                   19775:   case $_am_header in
1.150     moko     19776:     $_am_arg | $_am_arg:* )
1.86      paf      19777:       break ;;
                   19778:     * )
                   19779:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   19780:   esac
                   19781: done
1.150     moko     19782: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   19783: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19784:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   19785:         X"$_am_arg" : 'X\(//\)$' \| \
                   19786:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   19787: $as_echo X"$_am_arg" |
                   19788:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19789:            s//\1/
                   19790:            q
                   19791:          }
                   19792:          /^X\(\/\/\)[^/].*/{
                   19793:            s//\1/
                   19794:            q
                   19795:          }
                   19796:          /^X\(\/\/\)$/{
                   19797:            s//\1/
                   19798:            q
                   19799:          }
                   19800:          /^X\(\/\).*/{
                   19801:            s//\1/
                   19802:            q
                   19803:          }
                   19804:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   19805:  ;;
1.62      paf      19806: 
1.150     moko     19807:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   19808: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   19809:  ;;
                   19810:   esac
1.86      paf      19811: 
1.62      paf      19812: 
1.150     moko     19813:   case $ac_file$ac_mode in
                   19814:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   19815:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   19816:   # are listed without --file.  Let's play safe and only enable the eval
                   19817:   # if we detect the quoting.
                   19818:   case $CONFIG_FILES in
                   19819:   *\'*) eval set x "$CONFIG_FILES" ;;
                   19820:   *)   set x $CONFIG_FILES ;;
                   19821:   esac
                   19822:   shift
                   19823:   for mf
                   19824:   do
                   19825:     # Strip MF so we end up with the name of the file.
                   19826:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   19827:     # Check whether this is an Automake generated Makefile or not.
                   19828:     # We used to match only the files named `Makefile.in', but
                   19829:     # some people rename them; so instead we look at the file content.
                   19830:     # Grep'ing the first line is not enough: some people post-process
                   19831:     # each Makefile.in and add a new line on top of each file to say so.
                   19832:     # Grep'ing the whole file is not good either: AIX grep has a line
                   19833:     # limit of 2048, but all sed's we know have understand at least 4000.
                   19834:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   19835:       dirpart=`$as_dirname -- "$mf" ||
1.62      paf      19836: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19837:         X"$mf" : 'X\(//\)[^/]' \| \
                   19838:         X"$mf" : 'X\(//\)$' \| \
1.150     moko     19839:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   19840: $as_echo X"$mf" |
                   19841:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19842:            s//\1/
                   19843:            q
                   19844:          }
                   19845:          /^X\(\/\/\)[^/].*/{
                   19846:            s//\1/
                   19847:            q
                   19848:          }
                   19849:          /^X\(\/\/\)$/{
                   19850:            s//\1/
                   19851:            q
                   19852:          }
                   19853:          /^X\(\/\).*/{
                   19854:            s//\1/
                   19855:            q
                   19856:          }
                   19857:          s/.*/./; q'`
                   19858:     else
                   19859:       continue
                   19860:     fi
                   19861:     # Extract the definition of DEPDIR, am__include, and am__quote
                   19862:     # from the Makefile without running `make'.
                   19863:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   19864:     test -z "$DEPDIR" && continue
                   19865:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   19866:     test -z "am__include" && continue
                   19867:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   19868:     # When using ansi2knr, U may be empty or an underscore; expand it
                   19869:     U=`sed -n 's/^U = //p' < "$mf"`
                   19870:     # Find all dependency output files, they are included files with
                   19871:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   19872:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   19873:     # expansion.
                   19874:     for file in `sed -n "
                   19875:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   19876:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   19877:       # Make sure the directory exists.
                   19878:       test -f "$dirpart/$file" && continue
                   19879:       fdir=`$as_dirname -- "$file" ||
1.62      paf      19880: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19881:         X"$file" : 'X\(//\)[^/]' \| \
                   19882:         X"$file" : 'X\(//\)$' \| \
1.150     moko     19883:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   19884: $as_echo X"$file" |
                   19885:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19886:            s//\1/
                   19887:            q
                   19888:          }
                   19889:          /^X\(\/\/\)[^/].*/{
                   19890:            s//\1/
                   19891:            q
                   19892:          }
                   19893:          /^X\(\/\/\)$/{
                   19894:            s//\1/
                   19895:            q
                   19896:          }
                   19897:          /^X\(\/\).*/{
                   19898:            s//\1/
                   19899:            q
                   19900:          }
                   19901:          s/.*/./; q'`
                   19902:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   19903:       # echo "creating $dirpart/$file"
                   19904:       echo '# dummy' > "$dirpart/$file"
1.62      paf      19905:     done
                   19906:   done
1.150     moko     19907: }
1.62      paf      19908:  ;;
1.150     moko     19909:     "libtool":C)
1.128     moko     19910: 
                   19911:     # See if we are running on zsh, and set the options which allow our
                   19912:     # commands through without removal of \ escapes.
                   19913:     if test -n "${ZSH_VERSION+set}" ; then
                   19914:       setopt NO_GLOB_SUBST
                   19915:     fi
                   19916: 
                   19917:     cfgfile="${ofile}T"
                   19918:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   19919:     $RM "$cfgfile"
                   19920: 
                   19921:     cat <<_LT_EOF >> "$cfgfile"
                   19922: #! $SHELL
                   19923: 
                   19924: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   19925: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   19926: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   19927: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   19928: #
                   19929: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   19930: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   19931: #                 Foundation, Inc.
                   19932: #   Written by Gordon Matzigkeit, 1996
                   19933: #
                   19934: #   This file is part of GNU Libtool.
                   19935: #
                   19936: # GNU Libtool is free software; you can redistribute it and/or
                   19937: # modify it under the terms of the GNU General Public License as
                   19938: # published by the Free Software Foundation; either version 2 of
                   19939: # the License, or (at your option) any later version.
                   19940: #
                   19941: # As a special exception to the GNU General Public License,
                   19942: # if you distribute this file as part of a program or library that
                   19943: # is built using GNU Libtool, you may include this file under the
                   19944: # same distribution terms that you use for the rest of that program.
                   19945: #
                   19946: # GNU Libtool is distributed in the hope that it will be useful,
                   19947: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   19948: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   19949: # GNU General Public License for more details.
                   19950: #
                   19951: # You should have received a copy of the GNU General Public License
                   19952: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   19953: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   19954: # obtained by writing to the Free Software Foundation, Inc.,
                   19955: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   19956: 
                   19957: 
                   19958: # The names of the tagged configurations supported by this script.
                   19959: available_tags="CXX "
                   19960: 
                   19961: # ### BEGIN LIBTOOL CONFIG
                   19962: 
                   19963: # Which release of libtool.m4 was used?
                   19964: macro_version=$macro_version
                   19965: macro_revision=$macro_revision
                   19966: 
                   19967: # Assembler program.
                   19968: AS=$lt_AS
                   19969: 
                   19970: # DLL creation program.
                   19971: DLLTOOL=$lt_DLLTOOL
                   19972: 
                   19973: # Object dumper program.
                   19974: OBJDUMP=$lt_OBJDUMP
                   19975: 
1.145     moko     19976: # What type of objects to build.
                   19977: pic_mode=$pic_mode
                   19978: 
1.128     moko     19979: # Whether or not to build shared libraries.
                   19980: build_libtool_libs=$enable_shared
                   19981: 
1.138     moko     19982: # Whether or not to build static libraries.
                   19983: build_old_libs=$enable_static
                   19984: 
1.128     moko     19985: # Whether or not to optimize for fast installation.
                   19986: fast_install=$enable_fast_install
                   19987: 
                   19988: # Shell to use when invoking shell scripts.
                   19989: SHELL=$lt_SHELL
                   19990: 
                   19991: # An echo program that protects backslashes.
                   19992: ECHO=$lt_ECHO
                   19993: 
                   19994: # The PATH separator for the build system.
                   19995: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   19996: 
                   19997: # The host system.
                   19998: host_alias=$host_alias
                   19999: host=$host
                   20000: host_os=$host_os
                   20001: 
                   20002: # The build system.
                   20003: build_alias=$build_alias
                   20004: build=$build
                   20005: build_os=$build_os
                   20006: 
                   20007: # A sed program that does not truncate output.
                   20008: SED=$lt_SED
                   20009: 
                   20010: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   20011: Xsed="\$SED -e 1s/^X//"
                   20012: 
                   20013: # A grep program that handles long lines.
                   20014: GREP=$lt_GREP
                   20015: 
                   20016: # An ERE matcher.
                   20017: EGREP=$lt_EGREP
                   20018: 
                   20019: # A literal string matcher.
                   20020: FGREP=$lt_FGREP
                   20021: 
                   20022: # A BSD- or MS-compatible name lister.
                   20023: NM=$lt_NM
                   20024: 
                   20025: # Whether we need soft or hard links.
                   20026: LN_S=$lt_LN_S
                   20027: 
                   20028: # What is the maximum length of a command?
                   20029: max_cmd_len=$max_cmd_len
                   20030: 
                   20031: # Object file suffix (normally "o").
                   20032: objext=$ac_objext
                   20033: 
                   20034: # Executable file suffix (normally "").
                   20035: exeext=$exeext
                   20036: 
                   20037: # whether the shell understands "unset".
                   20038: lt_unset=$lt_unset
                   20039: 
                   20040: # turn spaces into newlines.
                   20041: SP2NL=$lt_lt_SP2NL
                   20042: 
                   20043: # turn newlines into spaces.
                   20044: NL2SP=$lt_lt_NL2SP
                   20045: 
                   20046: # convert \$build file names to \$host format.
                   20047: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   20048: 
                   20049: # convert \$build files to toolchain format.
                   20050: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   20051: 
                   20052: # Method to check whether dependent libraries are shared objects.
                   20053: deplibs_check_method=$lt_deplibs_check_method
                   20054: 
                   20055: # Command to use when deplibs_check_method = "file_magic".
                   20056: file_magic_cmd=$lt_file_magic_cmd
                   20057: 
                   20058: # How to find potential files when deplibs_check_method = "file_magic".
                   20059: file_magic_glob=$lt_file_magic_glob
                   20060: 
                   20061: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   20062: want_nocaseglob=$lt_want_nocaseglob
                   20063: 
                   20064: # Command to associate shared and link libraries.
                   20065: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   20066: 
                   20067: # The archiver.
                   20068: AR=$lt_AR
                   20069: 
                   20070: # Flags to create an archive.
                   20071: AR_FLAGS=$lt_AR_FLAGS
                   20072: 
                   20073: # How to feed a file listing to the archiver.
                   20074: archiver_list_spec=$lt_archiver_list_spec
                   20075: 
                   20076: # A symbol stripping program.
                   20077: STRIP=$lt_STRIP
                   20078: 
                   20079: # Commands used to install an old-style archive.
                   20080: RANLIB=$lt_RANLIB
                   20081: old_postinstall_cmds=$lt_old_postinstall_cmds
                   20082: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   20083: 
                   20084: # Whether to use a lock for old archive extraction.
                   20085: lock_old_archive_extraction=$lock_old_archive_extraction
                   20086: 
                   20087: # A C compiler.
                   20088: LTCC=$lt_CC
                   20089: 
                   20090: # LTCC compiler flags.
                   20091: LTCFLAGS=$lt_CFLAGS
                   20092: 
                   20093: # Take the output of nm and produce a listing of raw symbols and C names.
                   20094: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   20095: 
                   20096: # Transform the output of nm in a proper C declaration.
                   20097: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   20098: 
                   20099: # Transform the output of nm in a C name address pair.
                   20100: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   20101: 
                   20102: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   20103: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   20104: 
                   20105: # Specify filename containing input files for \$NM.
                   20106: nm_file_list_spec=$lt_nm_file_list_spec
                   20107: 
                   20108: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   20109: lt_sysroot=$lt_sysroot
                   20110: 
                   20111: # The name of the directory that contains temporary libtool files.
                   20112: objdir=$objdir
                   20113: 
                   20114: # Used to examine libraries when file_magic_cmd begins with "file".
                   20115: MAGIC_CMD=$MAGIC_CMD
                   20116: 
                   20117: # Must we lock files when doing compilation?
                   20118: need_locks=$lt_need_locks
                   20119: 
                   20120: # Manifest tool.
                   20121: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   20122: 
                   20123: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   20124: DSYMUTIL=$lt_DSYMUTIL
                   20125: 
                   20126: # Tool to change global to local symbols on Mac OS X.
                   20127: NMEDIT=$lt_NMEDIT
                   20128: 
                   20129: # Tool to manipulate fat objects and archives on Mac OS X.
                   20130: LIPO=$lt_LIPO
                   20131: 
                   20132: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   20133: OTOOL=$lt_OTOOL
                   20134: 
                   20135: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   20136: OTOOL64=$lt_OTOOL64
                   20137: 
                   20138: # Old archive suffix (normally "a").
                   20139: libext=$libext
                   20140: 
                   20141: # Shared library suffix (normally ".so").
                   20142: shrext_cmds=$lt_shrext_cmds
                   20143: 
                   20144: # The commands to extract the exported symbol list from a shared archive.
                   20145: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   20146: 
                   20147: # Variables whose values should be saved in libtool wrapper scripts and
                   20148: # restored at link time.
                   20149: variables_saved_for_relink=$lt_variables_saved_for_relink
                   20150: 
                   20151: # Do we need the "lib" prefix for modules?
                   20152: need_lib_prefix=$need_lib_prefix
                   20153: 
                   20154: # Do we need a version for libraries?
                   20155: need_version=$need_version
                   20156: 
                   20157: # Library versioning type.
                   20158: version_type=$version_type
                   20159: 
                   20160: # Shared library runtime path variable.
                   20161: runpath_var=$runpath_var
                   20162: 
                   20163: # Shared library path variable.
                   20164: shlibpath_var=$shlibpath_var
                   20165: 
                   20166: # Is shlibpath searched before the hard-coded library search path?
                   20167: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   20168: 
                   20169: # Format of library name prefix.
                   20170: libname_spec=$lt_libname_spec
                   20171: 
                   20172: # List of archive names.  First name is the real one, the rest are links.
                   20173: # The last name is the one that the linker finds with -lNAME
                   20174: library_names_spec=$lt_library_names_spec
                   20175: 
                   20176: # The coded name of the library, if different from the real name.
                   20177: soname_spec=$lt_soname_spec
                   20178: 
                   20179: # Permission mode override for installation of shared libraries.
                   20180: install_override_mode=$lt_install_override_mode
                   20181: 
                   20182: # Command to use after installation of a shared archive.
                   20183: postinstall_cmds=$lt_postinstall_cmds
                   20184: 
                   20185: # Command to use after uninstallation of a shared archive.
                   20186: postuninstall_cmds=$lt_postuninstall_cmds
                   20187: 
                   20188: # Commands used to finish a libtool library installation in a directory.
                   20189: finish_cmds=$lt_finish_cmds
                   20190: 
                   20191: # As "finish_cmds", except a single script fragment to be evaled but
                   20192: # not shown.
                   20193: finish_eval=$lt_finish_eval
                   20194: 
                   20195: # Whether we should hardcode library paths into libraries.
                   20196: hardcode_into_libs=$hardcode_into_libs
                   20197: 
                   20198: # Compile-time system search path for libraries.
                   20199: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   20200: 
                   20201: # Run-time system search path for libraries.
                   20202: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   20203: 
                   20204: # Whether dlopen is supported.
                   20205: dlopen_support=$enable_dlopen
                   20206: 
                   20207: # Whether dlopen of programs is supported.
                   20208: dlopen_self=$enable_dlopen_self
                   20209: 
                   20210: # Whether dlopen of statically linked programs is supported.
                   20211: dlopen_self_static=$enable_dlopen_self_static
                   20212: 
                   20213: # Commands to strip libraries.
                   20214: old_striplib=$lt_old_striplib
                   20215: striplib=$lt_striplib
                   20216: 
                   20217: 
                   20218: # The linker used to build libraries.
                   20219: LD=$lt_LD
                   20220: 
                   20221: # How to create reloadable object files.
                   20222: reload_flag=$lt_reload_flag
                   20223: reload_cmds=$lt_reload_cmds
                   20224: 
                   20225: # Commands used to build an old-style archive.
                   20226: old_archive_cmds=$lt_old_archive_cmds
                   20227: 
                   20228: # A language specific compiler.
                   20229: CC=$lt_compiler
                   20230: 
                   20231: # Is the compiler the GNU compiler?
                   20232: with_gcc=$GCC
                   20233: 
                   20234: # Compiler flag to turn off builtin functions.
                   20235: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   20236: 
                   20237: # Additional compiler flags for building library objects.
                   20238: pic_flag=$lt_lt_prog_compiler_pic
                   20239: 
                   20240: # How to pass a linker flag through the compiler.
                   20241: wl=$lt_lt_prog_compiler_wl
                   20242: 
                   20243: # Compiler flag to prevent dynamic linking.
                   20244: link_static_flag=$lt_lt_prog_compiler_static
                   20245: 
                   20246: # Does compiler simultaneously support -c and -o options?
                   20247: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   20248: 
                   20249: # Whether or not to add -lc for building shared libraries.
                   20250: build_libtool_need_lc=$archive_cmds_need_lc
                   20251: 
                   20252: # Whether or not to disallow shared libs when runtime libs are static.
                   20253: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   20254: 
                   20255: # Compiler flag to allow reflexive dlopens.
                   20256: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   20257: 
                   20258: # Compiler flag to generate shared objects directly from archives.
                   20259: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   20260: 
                   20261: # Whether the compiler copes with passing no objects directly.
                   20262: compiler_needs_object=$lt_compiler_needs_object
                   20263: 
                   20264: # Create an old-style archive from a shared archive.
                   20265: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   20266: 
                   20267: # Create a temporary old-style archive to link instead of a shared archive.
                   20268: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   20269: 
                   20270: # Commands used to build a shared archive.
                   20271: archive_cmds=$lt_archive_cmds
                   20272: archive_expsym_cmds=$lt_archive_expsym_cmds
                   20273: 
                   20274: # Commands used to build a loadable module if different from building
                   20275: # a shared archive.
                   20276: module_cmds=$lt_module_cmds
                   20277: module_expsym_cmds=$lt_module_expsym_cmds
                   20278: 
                   20279: # Whether we are building with GNU ld or not.
                   20280: with_gnu_ld=$lt_with_gnu_ld
                   20281: 
                   20282: # Flag that allows shared libraries with undefined symbols to be built.
                   20283: allow_undefined_flag=$lt_allow_undefined_flag
                   20284: 
                   20285: # Flag that enforces no undefined symbols.
                   20286: no_undefined_flag=$lt_no_undefined_flag
                   20287: 
                   20288: # Flag to hardcode \$libdir into a binary during linking.
                   20289: # This must work even if \$libdir does not exist
                   20290: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   20291: 
                   20292: # Whether we need a single "-rpath" flag with a separated argument.
                   20293: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   20294: 
                   20295: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20296: # DIR into the resulting binary.
                   20297: hardcode_direct=$hardcode_direct
                   20298: 
                   20299: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20300: # DIR into the resulting binary and the resulting library dependency is
                   20301: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20302: # library is relocated.
                   20303: hardcode_direct_absolute=$hardcode_direct_absolute
                   20304: 
                   20305: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20306: # into the resulting binary.
                   20307: hardcode_minus_L=$hardcode_minus_L
                   20308: 
                   20309: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20310: # into the resulting binary.
                   20311: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   20312: 
                   20313: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20314: # into the library and all subsequent libraries and executables linked
                   20315: # against it.
                   20316: hardcode_automatic=$hardcode_automatic
                   20317: 
                   20318: # Set to yes if linker adds runtime paths of dependent libraries
                   20319: # to runtime path list.
                   20320: inherit_rpath=$inherit_rpath
                   20321: 
                   20322: # Whether libtool must link a program against all its dependency libraries.
                   20323: link_all_deplibs=$link_all_deplibs
                   20324: 
                   20325: # Set to "yes" if exported symbols are required.
                   20326: always_export_symbols=$always_export_symbols
                   20327: 
                   20328: # The commands to list exported symbols.
                   20329: export_symbols_cmds=$lt_export_symbols_cmds
                   20330: 
                   20331: # Symbols that should not be listed in the preloaded symbols.
                   20332: exclude_expsyms=$lt_exclude_expsyms
                   20333: 
                   20334: # Symbols that must always be exported.
                   20335: include_expsyms=$lt_include_expsyms
                   20336: 
                   20337: # Commands necessary for linking programs (against libraries) with templates.
                   20338: prelink_cmds=$lt_prelink_cmds
                   20339: 
                   20340: # Commands necessary for finishing linking programs.
                   20341: postlink_cmds=$lt_postlink_cmds
                   20342: 
                   20343: # Specify filename containing input files.
                   20344: file_list_spec=$lt_file_list_spec
                   20345: 
                   20346: # How to hardcode a shared library path into an executable.
                   20347: hardcode_action=$hardcode_action
                   20348: 
                   20349: # The directories searched by this compiler when creating a shared library.
                   20350: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   20351: 
                   20352: # Dependencies to place before and after the objects being linked to
                   20353: # create a shared library.
                   20354: predep_objects=$lt_predep_objects
                   20355: postdep_objects=$lt_postdep_objects
                   20356: predeps=$lt_predeps
                   20357: postdeps=$lt_postdeps
                   20358: 
                   20359: # The library search path used internally by the compiler when linking
                   20360: # a shared library.
                   20361: compiler_lib_search_path=$lt_compiler_lib_search_path
                   20362: 
                   20363: # ### END LIBTOOL CONFIG
                   20364: 
                   20365: _LT_EOF
                   20366: 
                   20367:   case $host_os in
                   20368:   aix3*)
                   20369:     cat <<\_LT_EOF >> "$cfgfile"
                   20370: # AIX sometimes has problems with the GCC collect2 program.  For some
                   20371: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   20372: # vanish in a puff of smoke.
                   20373: if test "X${COLLECT_NAMES+set}" != Xset; then
                   20374:   COLLECT_NAMES=
                   20375:   export COLLECT_NAMES
                   20376: fi
                   20377: _LT_EOF
                   20378:     ;;
                   20379:   esac
                   20380: 
                   20381: 
                   20382: ltmain="$ac_aux_dir/ltmain.sh"
                   20383: 
                   20384: 
                   20385:   # We use sed instead of cat because bash on DJGPP gets confused if
                   20386:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   20387:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   20388:   # is reportedly fixed, but why not run on old versions too?
                   20389:   sed '$q' "$ltmain" >> "$cfgfile" \
                   20390:      || (rm -f "$cfgfile"; exit 1)
                   20391: 
                   20392:   if test x"$xsi_shell" = xyes; then
                   20393:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   20394: func_dirname ()\
                   20395: {\
                   20396: \    case ${1} in\
                   20397: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20398: \      *  ) func_dirname_result="${3}" ;;\
                   20399: \    esac\
                   20400: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   20401:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20402:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20403: test 0 -eq $? || _lt_function_replace_fail=:
                   20404: 
                   20405: 
                   20406:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   20407: func_basename ()\
                   20408: {\
                   20409: \    func_basename_result="${1##*/}"\
                   20410: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20411:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20412:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20413: test 0 -eq $? || _lt_function_replace_fail=:
                   20414: 
                   20415: 
                   20416:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   20417: func_dirname_and_basename ()\
                   20418: {\
                   20419: \    case ${1} in\
                   20420: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20421: \      *  ) func_dirname_result="${3}" ;;\
                   20422: \    esac\
                   20423: \    func_basename_result="${1##*/}"\
                   20424: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20425:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20426:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20427: test 0 -eq $? || _lt_function_replace_fail=:
                   20428: 
                   20429: 
                   20430:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   20431: func_stripname ()\
                   20432: {\
                   20433: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   20434: \    # positional parameters, so assign one to ordinary parameter first.\
                   20435: \    func_stripname_result=${3}\
                   20436: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   20437: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   20438: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   20439:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20440:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20441: test 0 -eq $? || _lt_function_replace_fail=:
                   20442: 
                   20443: 
                   20444:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   20445: func_split_long_opt ()\
                   20446: {\
                   20447: \    func_split_long_opt_name=${1%%=*}\
                   20448: \    func_split_long_opt_arg=${1#*=}\
                   20449: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20450:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20451:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20452: test 0 -eq $? || _lt_function_replace_fail=:
                   20453: 
                   20454: 
                   20455:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   20456: func_split_short_opt ()\
                   20457: {\
                   20458: \    func_split_short_opt_arg=${1#??}\
                   20459: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   20460: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20461:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20462:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20463: test 0 -eq $? || _lt_function_replace_fail=:
                   20464: 
                   20465: 
                   20466:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   20467: func_lo2o ()\
                   20468: {\
                   20469: \    case ${1} in\
                   20470: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   20471: \      *)    func_lo2o_result=${1} ;;\
                   20472: \    esac\
                   20473: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   20474:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20475:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20476: test 0 -eq $? || _lt_function_replace_fail=:
                   20477: 
                   20478: 
                   20479:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   20480: func_xform ()\
                   20481: {\
                   20482:     func_xform_result=${1%.*}.lo\
                   20483: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   20484:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20485:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20486: test 0 -eq $? || _lt_function_replace_fail=:
                   20487: 
                   20488: 
                   20489:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   20490: func_arith ()\
                   20491: {\
                   20492:     func_arith_result=$(( $* ))\
                   20493: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   20494:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20495:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20496: test 0 -eq $? || _lt_function_replace_fail=:
                   20497: 
                   20498: 
                   20499:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   20500: func_len ()\
                   20501: {\
                   20502:     func_len_result=${#1}\
                   20503: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   20504:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20505:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20506: test 0 -eq $? || _lt_function_replace_fail=:
                   20507: 
                   20508: fi
                   20509: 
                   20510: if test x"$lt_shell_append" = xyes; then
                   20511:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   20512: func_append ()\
                   20513: {\
                   20514:     eval "${1}+=\\${2}"\
                   20515: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   20516:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20517:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20518: test 0 -eq $? || _lt_function_replace_fail=:
                   20519: 
                   20520: 
                   20521:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   20522: func_append_quoted ()\
                   20523: {\
                   20524: \    func_quote_for_eval "${2}"\
                   20525: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   20526: } # Extended-shell func_append_quoted implementation' "$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: 
                   20531: 
                   20532:   # Save a `func_append' function call where possible by direct use of '+='
                   20533:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   20534:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20535:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20536:   test 0 -eq $? || _lt_function_replace_fail=:
                   20537: else
                   20538:   # Save a `func_append' function call even when '+=' is not available
                   20539:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   20540:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20541:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20542:   test 0 -eq $? || _lt_function_replace_fail=:
                   20543: fi
                   20544: 
                   20545: if test x"$_lt_function_replace_fail" = x":"; then
1.150     moko     20546:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   20547: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     20548: fi
                   20549: 
                   20550: 
                   20551:    mv -f "$cfgfile" "$ofile" ||
                   20552:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   20553:   chmod +x "$ofile"
                   20554: 
                   20555: 
                   20556:     cat <<_LT_EOF >> "$ofile"
                   20557: 
                   20558: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   20559: 
                   20560: # The linker used to build libraries.
                   20561: LD=$lt_LD_CXX
                   20562: 
                   20563: # How to create reloadable object files.
                   20564: reload_flag=$lt_reload_flag_CXX
                   20565: reload_cmds=$lt_reload_cmds_CXX
                   20566: 
                   20567: # Commands used to build an old-style archive.
                   20568: old_archive_cmds=$lt_old_archive_cmds_CXX
                   20569: 
                   20570: # A language specific compiler.
                   20571: CC=$lt_compiler_CXX
                   20572: 
                   20573: # Is the compiler the GNU compiler?
                   20574: with_gcc=$GCC_CXX
                   20575: 
                   20576: # Compiler flag to turn off builtin functions.
                   20577: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   20578: 
                   20579: # Additional compiler flags for building library objects.
                   20580: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   20581: 
                   20582: # How to pass a linker flag through the compiler.
                   20583: wl=$lt_lt_prog_compiler_wl_CXX
                   20584: 
                   20585: # Compiler flag to prevent dynamic linking.
                   20586: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   20587: 
                   20588: # Does compiler simultaneously support -c and -o options?
                   20589: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   20590: 
                   20591: # Whether or not to add -lc for building shared libraries.
                   20592: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   20593: 
                   20594: # Whether or not to disallow shared libs when runtime libs are static.
                   20595: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   20596: 
                   20597: # Compiler flag to allow reflexive dlopens.
                   20598: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   20599: 
                   20600: # Compiler flag to generate shared objects directly from archives.
                   20601: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   20602: 
                   20603: # Whether the compiler copes with passing no objects directly.
                   20604: compiler_needs_object=$lt_compiler_needs_object_CXX
                   20605: 
                   20606: # Create an old-style archive from a shared archive.
                   20607: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   20608: 
                   20609: # Create a temporary old-style archive to link instead of a shared archive.
                   20610: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   20611: 
                   20612: # Commands used to build a shared archive.
                   20613: archive_cmds=$lt_archive_cmds_CXX
                   20614: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   20615: 
                   20616: # Commands used to build a loadable module if different from building
                   20617: # a shared archive.
                   20618: module_cmds=$lt_module_cmds_CXX
                   20619: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   20620: 
                   20621: # Whether we are building with GNU ld or not.
                   20622: with_gnu_ld=$lt_with_gnu_ld_CXX
                   20623: 
                   20624: # Flag that allows shared libraries with undefined symbols to be built.
                   20625: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   20626: 
                   20627: # Flag that enforces no undefined symbols.
                   20628: no_undefined_flag=$lt_no_undefined_flag_CXX
                   20629: 
                   20630: # Flag to hardcode \$libdir into a binary during linking.
                   20631: # This must work even if \$libdir does not exist
                   20632: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   20633: 
                   20634: # Whether we need a single "-rpath" flag with a separated argument.
                   20635: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   20636: 
                   20637: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20638: # DIR into the resulting binary.
                   20639: hardcode_direct=$hardcode_direct_CXX
                   20640: 
                   20641: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20642: # DIR into the resulting binary and the resulting library dependency is
                   20643: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20644: # library is relocated.
                   20645: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   20646: 
                   20647: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20648: # into the resulting binary.
                   20649: hardcode_minus_L=$hardcode_minus_L_CXX
                   20650: 
                   20651: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20652: # into the resulting binary.
                   20653: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   20654: 
                   20655: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20656: # into the library and all subsequent libraries and executables linked
                   20657: # against it.
                   20658: hardcode_automatic=$hardcode_automatic_CXX
                   20659: 
                   20660: # Set to yes if linker adds runtime paths of dependent libraries
                   20661: # to runtime path list.
                   20662: inherit_rpath=$inherit_rpath_CXX
                   20663: 
                   20664: # Whether libtool must link a program against all its dependency libraries.
                   20665: link_all_deplibs=$link_all_deplibs_CXX
                   20666: 
                   20667: # Set to "yes" if exported symbols are required.
                   20668: always_export_symbols=$always_export_symbols_CXX
                   20669: 
                   20670: # The commands to list exported symbols.
                   20671: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   20672: 
                   20673: # Symbols that should not be listed in the preloaded symbols.
                   20674: exclude_expsyms=$lt_exclude_expsyms_CXX
                   20675: 
                   20676: # Symbols that must always be exported.
                   20677: include_expsyms=$lt_include_expsyms_CXX
                   20678: 
                   20679: # Commands necessary for linking programs (against libraries) with templates.
                   20680: prelink_cmds=$lt_prelink_cmds_CXX
                   20681: 
                   20682: # Commands necessary for finishing linking programs.
                   20683: postlink_cmds=$lt_postlink_cmds_CXX
                   20684: 
                   20685: # Specify filename containing input files.
                   20686: file_list_spec=$lt_file_list_spec_CXX
                   20687: 
                   20688: # How to hardcode a shared library path into an executable.
                   20689: hardcode_action=$hardcode_action_CXX
                   20690: 
                   20691: # The directories searched by this compiler when creating a shared library.
                   20692: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   20693: 
                   20694: # Dependencies to place before and after the objects being linked to
                   20695: # create a shared library.
                   20696: predep_objects=$lt_predep_objects_CXX
                   20697: postdep_objects=$lt_postdep_objects_CXX
                   20698: predeps=$lt_predeps_CXX
                   20699: postdeps=$lt_postdeps_CXX
                   20700: 
                   20701: # The library search path used internally by the compiler when linking
                   20702: # a shared library.
                   20703: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   20704: 
                   20705: # ### END LIBTOOL TAG CONFIG: CXX
                   20706: _LT_EOF
                   20707: 
                   20708:  ;;
1.150     moko     20709: 
1.62      paf      20710:   esac
1.150     moko     20711: done # for ac_tag
1.62      paf      20712: 
                   20713: 
1.150     moko     20714: as_fn_exit 0
1.62      paf      20715: _ACEOF
                   20716: ac_clean_files=$ac_clean_files_save
                   20717: 
1.150     moko     20718: test $ac_write_fail = 0 ||
                   20719:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   20720: 
1.1       paf      20721: 
1.62      paf      20722: # configure is writing to config.log, and then calls config.status.
                   20723: # config.status does its own redirection, appending to config.log.
                   20724: # Unfortunately, on DOS this fails, as config.log is still kept open
                   20725: # by configure, so config.status won't be able to write to it; its
                   20726: # output is simply discarded.  So we exec the FD to /dev/null,
                   20727: # effectively closing config.log, so it can be properly (re)opened and
                   20728: # appended to by config.status.  When coming back to configure, we
                   20729: # need to make the FD available again.
                   20730: if test "$no_create" != yes; then
                   20731:   ac_cs_success=:
                   20732:   ac_config_status_args=
                   20733:   test "$silent" = yes &&
                   20734:     ac_config_status_args="$ac_config_status_args --quiet"
                   20735:   exec 5>/dev/null
                   20736:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   20737:   exec 5>>config.log
                   20738:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   20739:   # would make configure fail if this is the last instruction.
1.150     moko     20740:   $ac_cs_success || as_fn_exit 1
1.62      paf      20741: fi
                   20742: 
                   20743: #
                   20744: # CONFIG_SUBDIRS section.
                   20745: #
1.1       paf      20746: if test "$no_recursion" != yes; then
                   20747: 
1.150     moko     20748:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   20749:   # so they do not pile up.
1.1       paf      20750:   ac_sub_configure_args=
                   20751:   ac_prev=
1.150     moko     20752:   eval "set x $ac_configure_args"
                   20753:   shift
                   20754:   for ac_arg
                   20755:   do
1.1       paf      20756:     if test -n "$ac_prev"; then
                   20757:       ac_prev=
                   20758:       continue
                   20759:     fi
1.62      paf      20760:     case $ac_arg in
1.1       paf      20761:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   20762:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   20763:       ac_prev=cache_file ;;
                   20764:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      20765:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   20766:     | --c=*)
                   20767:       ;;
                   20768:     --config-cache | -C)
1.1       paf      20769:       ;;
                   20770:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   20771:       ac_prev=srcdir ;;
                   20772:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   20773:       ;;
1.62      paf      20774:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   20775:       ac_prev=prefix ;;
                   20776:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   20777:       ;;
1.150     moko     20778:     --disable-option-checking)
                   20779:       ;;
                   20780:     *)
                   20781:       case $ac_arg in
                   20782:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   20783:       esac
                   20784:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      20785:     esac
                   20786:   done
                   20787: 
1.62      paf      20788:   # Always prepend --prefix to ensure using the same prefix
                   20789:   # in subdir configurations.
1.150     moko     20790:   ac_arg="--prefix=$prefix"
                   20791:   case $ac_arg in
                   20792:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   20793:   esac
                   20794:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   20795: 
                   20796:   # Pass --silent
                   20797:   if test "$silent" = yes; then
                   20798:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   20799:   fi
                   20800: 
                   20801:   # Always prepend --disable-option-checking to silence warnings, since
                   20802:   # different subdirs can have different --enable and --with options.
                   20803:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      20804: 
                   20805:   ac_popdir=`pwd`
                   20806:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      20807: 
                   20808:     # Do not complain, so a configure script can configure whichever
                   20809:     # parts of a large source tree are present.
1.150     moko     20810:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      20811: 
1.150     moko     20812:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   20813:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   20814:     $as_echo "$ac_msg" >&6
                   20815:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20816:     ac_builddir=.
                   20817: 
1.150     moko     20818: case "$ac_dir" in
                   20819: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20820: *)
                   20821:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   20822:   # A ".." for each directory in $ac_dir_suffix.
                   20823:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   20824:   case $ac_top_builddir_sub in
                   20825:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20826:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   20827:   esac ;;
                   20828: esac
                   20829: ac_abs_top_builddir=$ac_pwd
                   20830: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   20831: # for backward compatibility:
                   20832: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20833: 
                   20834: case $srcdir in
1.150     moko     20835:   .)  # We are building in place.
1.62      paf      20836:     ac_srcdir=.
1.150     moko     20837:     ac_top_srcdir=$ac_top_builddir_sub
                   20838:     ac_abs_top_srcdir=$ac_pwd ;;
                   20839:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20840:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     20841:     ac_top_srcdir=$srcdir
                   20842:     ac_abs_top_srcdir=$srcdir ;;
                   20843:   *) # Relative name.
                   20844:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   20845:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   20846:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      20847: esac
1.150     moko     20848: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      20849: 
                   20850: 
1.150     moko     20851:     cd "$ac_dir"
1.1       paf      20852: 
                   20853:     # Check for guested configure; otherwise get Cygnus style configure.
1.150     moko     20854:     if test -f "$ac_srcdir/configure.gnu"; then
                   20855:       ac_sub_configure=$ac_srcdir/configure.gnu
                   20856:     elif test -f "$ac_srcdir/configure"; then
                   20857:       ac_sub_configure=$ac_srcdir/configure
                   20858:     elif test -f "$ac_srcdir/configure.in"; then
                   20859:       # This should be Cygnus configure.
                   20860:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      20861:     else
1.150     moko     20862:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   20863: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      20864:       ac_sub_configure=
                   20865:     fi
                   20866: 
                   20867:     # The recursion is here.
                   20868:     if test -n "$ac_sub_configure"; then
                   20869:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      20870:       case $cache_file in
                   20871:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     20872:       *) # Relative name.
                   20873:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      20874:       esac
                   20875: 
1.150     moko     20876:       { $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
                   20877: $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      20878:       # The eval makes quoting arguments work.
1.150     moko     20879:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   20880:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   20881:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      20882:     fi
                   20883: 
1.150     moko     20884:     cd "$ac_popdir"
1.1       paf      20885:   done
                   20886: fi
1.150     moko     20887: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   20888:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   20889: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   20890: fi
1.1       paf      20891: 

E-mail: