Annotation of embedaddon/libnet/configure, revision 1.1.1.4

1.1       misho       1: #! /bin/sh
1.1.1.4 ! misho       2: # From configure.ac {VERSION}.
1.1       misho       3: # Guess values for system-dependent variables and create Makefiles.
1.1.1.4 ! misho       4: # Generated by GNU Autoconf 2.69 for libnet 1.2.
1.1.1.2   misho       5: #
1.1.1.4 ! misho       6: # Report bugs to <https://github.com/libnet/libnet/issues>.
1.1.1.2   misho       7: #
1.1.1.4 ! misho       8: #
        !             9: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.1.1.2   misho      10: #
1.1       misho      11: #
                     12: # This configure script is free software; the Free Software Foundation
                     13: # gives unlimited permission to copy, distribute and modify it.
1.1.1.4 ! misho      14: #
        !            15: # Copyright (C) 1998 - 2019 The libnet Developer Community.
1.1.1.2   misho      16: ## -------------------- ##
                     17: ## M4sh Initialization. ##
                     18: ## -------------------- ##
                     19: 
                     20: # Be more Bourne compatible
                     21: DUALCASE=1; export DUALCASE # for MKS sh
                     22: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misho      23:   emulate sh
                     24:   NULLCMD=:
1.1.1.2   misho      25:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       misho      26:   # is contrary to our usage.  Disable this feature.
                     27:   alias -g '${1+"$@"}'='"$@"'
1.1.1.2   misho      28:   setopt NO_GLOB_SUBST
                     29: else
                     30:   case `(set -o) 2>/dev/null` in #(
                     31:   *posix*) :
                     32:     set -o posix ;; #(
                     33:   *) :
                     34:      ;;
                     35: esac
1.1       misho      36: fi
                     37: 
1.1.1.2   misho      38: 
                     39: as_nl='
                     40: '
                     41: export as_nl
                     42: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     43: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     44: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     45: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     46: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     47: # but without wasting forks for bash or zsh.
                     48: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     49:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     50:   as_echo='print -r --'
                     51:   as_echo_n='print -rn --'
                     52: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     53:   as_echo='printf %s\n'
                     54:   as_echo_n='printf %s'
                     55: else
                     56:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     57:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     58:     as_echo_n='/usr/ucb/echo -n'
                     59:   else
                     60:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     61:     as_echo_n_body='eval
                     62:       arg=$1;
                     63:       case $arg in #(
                     64:       *"$as_nl"*)
                     65:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     66:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     67:       esac;
                     68:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     69:     '
                     70:     export as_echo_n_body
                     71:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     72:   fi
                     73:   export as_echo_body
                     74:   as_echo='sh -c $as_echo_body as_echo'
                     75: fi
                     76: 
                     77: # The user is always right.
                     78: if test "${PATH_SEPARATOR+set}" != set; then
                     79:   PATH_SEPARATOR=:
                     80:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     81:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     82:       PATH_SEPARATOR=';'
                     83:   }
1.1       misho      84: fi
                     85: 
                     86: 
1.1.1.2   misho      87: # IFS
                     88: # We need space, tab and new line, in precisely that order.  Quoting is
                     89: # there to prevent editors from complaining about space-tab.
                     90: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     91: # splitting by setting IFS to empty value.)
                     92: IFS=" ""       $as_nl"
                     93: 
                     94: # Find who we are.  Look in the path if we contain no directory separator.
                     95: as_myself=
                     96: case $0 in #((
                     97:   *[\\/]* ) as_myself=$0 ;;
                     98:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     99: for as_dir in $PATH
                    100: do
                    101:   IFS=$as_save_IFS
                    102:   test -z "$as_dir" && as_dir=.
                    103:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    104:   done
                    105: IFS=$as_save_IFS
                    106: 
                    107:      ;;
                    108: esac
                    109: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    110: # in which case we are not to be found in the path.
                    111: if test "x$as_myself" = x; then
                    112:   as_myself=$0
                    113: fi
                    114: if test ! -f "$as_myself"; then
                    115:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    116:   exit 1
                    117: fi
                    118: 
                    119: # Unset variables that we do not need and which cause bugs (e.g. in
                    120: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    121: # suppresses any "Segmentation fault" message there.  '((' could
                    122: # trigger a bug in pdksh 5.2.14.
                    123: for as_var in BASH_ENV ENV MAIL MAILPATH
                    124: do eval test x\${$as_var+set} = xset \
                    125:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    126: done
1.1       misho     127: PS1='$ '
                    128: PS2='> '
                    129: PS4='+ '
                    130: 
                    131: # NLS nuisances.
1.1.1.2   misho     132: LC_ALL=C
                    133: export LC_ALL
                    134: LANGUAGE=C
                    135: export LANGUAGE
                    136: 
                    137: # CDPATH.
                    138: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    139: 
1.1.1.4 ! misho     140: # Use a proper internal environment variable to ensure we don't fall
        !           141:   # into an infinite loop, continuously re-executing ourselves.
        !           142:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
        !           143:     _as_can_reexec=no; export _as_can_reexec;
        !           144:     # We cannot yet assume a decent shell, so we have to provide a
        !           145: # neutralization value for shells without unset; and this also
        !           146: # works around shells that cannot unset nonexistent variables.
        !           147: # Preserve -v and -x to the replacement shell.
        !           148: BASH_ENV=/dev/null
        !           149: ENV=/dev/null
        !           150: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           151: case $- in # ((((
        !           152:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           153:   *v* ) as_opts=-v ;;
        !           154:   *x* ) as_opts=-x ;;
        !           155:   * ) as_opts= ;;
        !           156: esac
        !           157: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           158: # Admittedly, this is quite paranoid, since all the known shells bail
        !           159: # out after a failed `exec'.
        !           160: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           161: as_fn_exit 255
        !           162:   fi
        !           163:   # We don't want this to propagate to other subprocesses.
        !           164:           { _as_can_reexec=; unset _as_can_reexec;}
1.1.1.2   misho     165: if test "x$CONFIG_SHELL" = x; then
                    166:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    167:   emulate sh
                    168:   NULLCMD=:
                    169:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    170:   # is contrary to our usage.  Disable this feature.
                    171:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    172:   setopt NO_GLOB_SUBST
                    173: else
                    174:   case \`(set -o) 2>/dev/null\` in #(
                    175:   *posix*) :
                    176:     set -o posix ;; #(
                    177:   *) :
                    178:      ;;
                    179: esac
                    180: fi
                    181: "
                    182:   as_required="as_fn_return () { (exit \$1); }
                    183: as_fn_success () { as_fn_return 0; }
                    184: as_fn_failure () { as_fn_return 1; }
                    185: as_fn_ret_success () { return 0; }
                    186: as_fn_ret_failure () { return 1; }
                    187: 
                    188: exitcode=0
                    189: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    190: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    191: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    192: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    193: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    194: 
                    195: else
                    196:   exitcode=1; echo positional parameters were not saved.
                    197: fi
1.1.1.4 ! misho     198: test x\$exitcode = x0 || exit 1
        !           199: test -x / || exit 1"
1.1.1.2   misho     200:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    201:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    202:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    203:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    204: test \$(( 1 + 1 )) = 2 || exit 1
                    205: 
                    206:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    207:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    208:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    209:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    210:     PATH=/empty FPATH=/empty; export PATH FPATH
                    211:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    212:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
                    213:   if (eval "$as_required") 2>/dev/null; then :
                    214:   as_have_required=yes
                    215: else
                    216:   as_have_required=no
                    217: fi
                    218:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    219: 
                    220: else
                    221:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    222: as_found=false
                    223: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.1       misho     224: do
1.1.1.2   misho     225:   IFS=$as_save_IFS
                    226:   test -z "$as_dir" && as_dir=.
                    227:   as_found=:
                    228:   case $as_dir in #(
                    229:         /*)
                    230:           for as_base in sh bash ksh sh5; do
                    231:             # Try only shells that exist, to save several forks.
                    232:             as_shell=$as_dir/$as_base
                    233:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    234:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    235:   CONFIG_SHELL=$as_shell as_have_required=yes
                    236:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    237:   break 2
                    238: fi
                    239: fi
                    240:           done;;
                    241:        esac
                    242:   as_found=false
                    243: done
                    244: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    245:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    246:   CONFIG_SHELL=$SHELL as_have_required=yes
                    247: fi; }
                    248: IFS=$as_save_IFS
                    249: 
                    250: 
                    251:       if test "x$CONFIG_SHELL" != x; then :
1.1.1.4 ! misho     252:   export CONFIG_SHELL
        !           253:              # We cannot yet assume a decent shell, so we have to provide a
        !           254: # neutralization value for shells without unset; and this also
        !           255: # works around shells that cannot unset nonexistent variables.
        !           256: # Preserve -v and -x to the replacement shell.
        !           257: BASH_ENV=/dev/null
        !           258: ENV=/dev/null
        !           259: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           260: case $- in # ((((
        !           261:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           262:   *v* ) as_opts=-v ;;
        !           263:   *x* ) as_opts=-x ;;
        !           264:   * ) as_opts= ;;
        !           265: esac
        !           266: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           267: # Admittedly, this is quite paranoid, since all the known shells bail
        !           268: # out after a failed `exec'.
        !           269: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           270: exit 255
1.1.1.2   misho     271: fi
                    272: 
                    273:     if test x$as_have_required = xno; then :
                    274:   $as_echo "$0: This script requires a shell more modern than all"
                    275:   $as_echo "$0: the shells that I found on your system."
                    276:   if test x${ZSH_VERSION+set} = xset ; then
                    277:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    278:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
1.1       misho     279:   else
1.1.1.4 ! misho     280:     $as_echo "$0: Please tell bug-autoconf@gnu.org and
        !           281: $0: https://github.com/libnet/libnet/issues about your
        !           282: $0: system, including any error possibly output before this
1.1.1.2   misho     283: $0: message. Then install a modern shell, or manually run
                    284: $0: the script under such a shell if you do have one."
1.1       misho     285:   fi
1.1.1.2   misho     286:   exit 1
                    287: fi
                    288: fi
                    289: fi
                    290: SHELL=${CONFIG_SHELL-/bin/sh}
                    291: export SHELL
                    292: # Unset more variables known to interfere with behavior of common tools.
                    293: CLICOLOR_FORCE= GREP_OPTIONS=
                    294: unset CLICOLOR_FORCE GREP_OPTIONS
                    295: 
                    296: ## --------------------- ##
                    297: ## M4sh Shell Functions. ##
                    298: ## --------------------- ##
                    299: # as_fn_unset VAR
                    300: # ---------------
                    301: # Portably unset VAR.
                    302: as_fn_unset ()
                    303: {
                    304:   { eval $1=; unset $1;}
                    305: }
                    306: as_unset=as_fn_unset
                    307: 
                    308: # as_fn_set_status STATUS
                    309: # -----------------------
                    310: # Set $? to STATUS, without forking.
                    311: as_fn_set_status ()
                    312: {
                    313:   return $1
                    314: } # as_fn_set_status
                    315: 
                    316: # as_fn_exit STATUS
                    317: # -----------------
                    318: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    319: as_fn_exit ()
                    320: {
                    321:   set +e
                    322:   as_fn_set_status $1
                    323:   exit $1
                    324: } # as_fn_exit
                    325: 
                    326: # as_fn_mkdir_p
                    327: # -------------
                    328: # Create "$as_dir" as a directory, including parents if necessary.
                    329: as_fn_mkdir_p ()
                    330: {
                    331: 
                    332:   case $as_dir in #(
                    333:   -*) as_dir=./$as_dir;;
                    334:   esac
                    335:   test -d "$as_dir" || eval $as_mkdir_p || {
                    336:     as_dirs=
                    337:     while :; do
                    338:       case $as_dir in #(
                    339:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    340:       *) as_qdir=$as_dir;;
                    341:       esac
                    342:       as_dirs="'$as_qdir' $as_dirs"
                    343:       as_dir=`$as_dirname -- "$as_dir" ||
                    344: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    345:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    346:         X"$as_dir" : 'X\(//\)$' \| \
                    347:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    348: $as_echo X"$as_dir" |
                    349:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    350:            s//\1/
                    351:            q
                    352:          }
                    353:          /^X\(\/\/\)[^/].*/{
                    354:            s//\1/
                    355:            q
                    356:          }
                    357:          /^X\(\/\/\)$/{
                    358:            s//\1/
                    359:            q
                    360:          }
                    361:          /^X\(\/\).*/{
                    362:            s//\1/
                    363:            q
                    364:          }
                    365:          s/.*/./; q'`
                    366:       test -d "$as_dir" && break
                    367:     done
                    368:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    369:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    370: 
                    371: 
                    372: } # as_fn_mkdir_p
1.1.1.4 ! misho     373: 
        !           374: # as_fn_executable_p FILE
        !           375: # -----------------------
        !           376: # Test if FILE is an executable regular file.
        !           377: as_fn_executable_p ()
        !           378: {
        !           379:   test -f "$1" && test -x "$1"
        !           380: } # as_fn_executable_p
1.1.1.2   misho     381: # as_fn_append VAR VALUE
                    382: # ----------------------
                    383: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    384: # advantage of any shell optimizations that allow amortized linear growth over
                    385: # repeated appends, instead of the typical quadratic growth present in naive
                    386: # implementations.
                    387: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    388:   eval 'as_fn_append ()
                    389:   {
                    390:     eval $1+=\$2
                    391:   }'
                    392: else
                    393:   as_fn_append ()
                    394:   {
                    395:     eval $1=\$$1\$2
                    396:   }
                    397: fi # as_fn_append
                    398: 
                    399: # as_fn_arith ARG...
                    400: # ------------------
                    401: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    402: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    403: # must be portable across $(()) and expr.
                    404: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    405:   eval 'as_fn_arith ()
                    406:   {
                    407:     as_val=$(( $* ))
                    408:   }'
                    409: else
                    410:   as_fn_arith ()
                    411:   {
                    412:     as_val=`expr "$@" || test $? -eq 1`
                    413:   }
                    414: fi # as_fn_arith
                    415: 
                    416: 
                    417: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    418: # ----------------------------------------
                    419: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    420: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    421: # script with STATUS, using 1 if that was 0.
                    422: as_fn_error ()
                    423: {
                    424:   as_status=$1; test $as_status -eq 0 && as_status=1
                    425:   if test "$4"; then
                    426:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    427:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    428:   fi
                    429:   $as_echo "$as_me: error: $2" >&2
                    430:   as_fn_exit $as_status
                    431: } # as_fn_error
1.1       misho     432: 
1.1.1.2   misho     433: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    434:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1       misho     435:   as_expr=expr
                    436: else
                    437:   as_expr=false
                    438: fi
                    439: 
1.1.1.2   misho     440: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.1       misho     441:   as_basename=basename
                    442: else
                    443:   as_basename=false
                    444: fi
                    445: 
1.1.1.2   misho     446: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    447:   as_dirname=dirname
                    448: else
                    449:   as_dirname=false
                    450: fi
1.1       misho     451: 
1.1.1.2   misho     452: as_me=`$as_basename -- "$0" ||
1.1       misho     453: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    454:         X"$0" : 'X\(//\)$' \| \
1.1.1.2   misho     455:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    456: $as_echo X/"$0" |
                    457:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    458:            s//\1/
                    459:            q
                    460:          }
                    461:          /^X\/\(\/\/\)$/{
                    462:            s//\1/
                    463:            q
                    464:          }
                    465:          /^X\/\(\/\).*/{
                    466:            s//\1/
                    467:            q
                    468:          }
                    469:          s/.*/./; q'`
1.1       misho     470: 
                    471: # Avoid depending upon Character Ranges.
                    472: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    473: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    474: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    475: as_cr_digits='0123456789'
                    476: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    477: 
                    478: 
1.1.1.2   misho     479:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    480:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    481:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    482:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    483:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    484:   sed -n '
                    485:     p
                    486:     /[$]LINENO/=
                    487:   ' <$as_myself |
1.1       misho     488:     sed '
1.1.1.2   misho     489:       s/[$]LINENO.*/&-/
                    490:       t lineno
                    491:       b
                    492:       :lineno
1.1       misho     493:       N
1.1.1.2   misho     494:       :loop
                    495:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1       misho     496:       t loop
1.1.1.2   misho     497:       s/-\n.*//
1.1       misho     498:     ' >$as_me.lineno &&
1.1.1.2   misho     499:   chmod +x "$as_me.lineno" ||
                    500:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1       misho     501: 
1.1.1.4 ! misho     502:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
        !           503:   # already done that, so ensure we don't try to do so again and fall
        !           504:   # in an infinite loop.  This has already happened in practice.
        !           505:   _as_can_reexec=no; export _as_can_reexec
1.1       misho     506:   # Don't try to exec as it changes $[0], causing all sort of problems
                    507:   # (the dirname of $[0] is not the place where we might find the
1.1.1.2   misho     508:   # original and so on.  Autoconf is especially sensitive to this).
                    509:   . "./$as_me.lineno"
1.1       misho     510:   # Exit status is that of the last command.
                    511:   exit
                    512: }
                    513: 
1.1.1.2   misho     514: ECHO_C= ECHO_N= ECHO_T=
                    515: case `echo -n x` in #(((((
                    516: -n*)
                    517:   case `echo 'xy\c'` in
                    518:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    519:   xy)  ECHO_C='\c';;
                    520:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    521:        ECHO_T='        ';;
                    522:   esac;;
                    523: *)
                    524:   ECHO_N='-n';;
1.1       misho     525: esac
                    526: 
1.1.1.2   misho     527: rm -f conf$$ conf$$.exe conf$$.file
                    528: if test -d conf$$.dir; then
                    529:   rm -f conf$$.dir/conf$$.file
1.1       misho     530: else
1.1.1.2   misho     531:   rm -f conf$$.dir
                    532:   mkdir conf$$.dir 2>/dev/null
1.1       misho     533: fi
1.1.1.2   misho     534: if (echo >conf$$.file) 2>/dev/null; then
                    535:   if ln -s conf$$.file conf$$ 2>/dev/null; then
1.1       misho     536:     as_ln_s='ln -s'
1.1.1.2   misho     537:     # ... but there are two gotchas:
                    538:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    539:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.4 ! misho     540:     # In both cases, we have to default to `cp -pR'.
1.1.1.2   misho     541:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.4 ! misho     542:       as_ln_s='cp -pR'
1.1.1.2   misho     543:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    544:     as_ln_s=ln
                    545:   else
1.1.1.4 ! misho     546:     as_ln_s='cp -pR'
1.1       misho     547:   fi
                    548: else
1.1.1.4 ! misho     549:   as_ln_s='cp -pR'
1.1       misho     550: fi
1.1.1.2   misho     551: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    552: rmdir conf$$.dir 2>/dev/null
1.1       misho     553: 
                    554: if mkdir -p . 2>/dev/null; then
1.1.1.2   misho     555:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misho     556: else
1.1.1.2   misho     557:   test -d ./-p && rmdir ./-p
1.1       misho     558:   as_mkdir_p=false
                    559: fi
                    560: 
1.1.1.4 ! misho     561: as_test_x='test -x'
        !           562: as_executable_p=as_fn_executable_p
1.1       misho     563: 
                    564: # Sed expression to map a string onto a valid CPP name.
1.1.1.2   misho     565: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.1       misho     566: 
                    567: # Sed expression to map a string onto a valid variable name.
1.1.1.2   misho     568: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1       misho     569: 
1.1.1.2   misho     570: SHELL=${CONFIG_SHELL-/bin/sh}
1.1       misho     571: 
                    572: 
1.1.1.2   misho     573: test -n "$DJDIR" || exec 7<&0 </dev/null
                    574: exec 6>&1
1.1       misho     575: 
                    576: # Name of the host.
1.1.1.2   misho     577: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.1       misho     578: # so uname gets run too.
                    579: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    580: 
                    581: #
                    582: # Initializations.
                    583: #
                    584: ac_default_prefix=/usr/local
1.1.1.2   misho     585: ac_clean_files=
1.1       misho     586: ac_config_libobj_dir=.
1.1.1.2   misho     587: LIBOBJS=
1.1       misho     588: cross_compiling=no
                    589: subdirs=
                    590: MFLAGS=
                    591: MAKEFLAGS=
                    592: 
                    593: # Identity of this package.
1.1.1.2   misho     594: PACKAGE_NAME='libnet'
                    595: PACKAGE_TARNAME='libnet'
1.1.1.4 ! misho     596: PACKAGE_VERSION='1.2'
        !           597: PACKAGE_STRING='libnet 1.2'
        !           598: PACKAGE_BUGREPORT='https://github.com/libnet/libnet/issues'
        !           599: PACKAGE_URL='https://github.com/libnet/libnet'
1.1       misho     600: 
                    601: ac_unique_file="src/libnet_build_ip.c"
                    602: # Factoring default headers for most tests.
                    603: ac_includes_default="\
                    604: #include <stdio.h>
1.1.1.2   misho     605: #ifdef HAVE_SYS_TYPES_H
1.1       misho     606: # include <sys/types.h>
                    607: #endif
1.1.1.2   misho     608: #ifdef HAVE_SYS_STAT_H
1.1       misho     609: # include <sys/stat.h>
                    610: #endif
1.1.1.2   misho     611: #ifdef STDC_HEADERS
1.1       misho     612: # include <stdlib.h>
                    613: # include <stddef.h>
                    614: #else
1.1.1.2   misho     615: # ifdef HAVE_STDLIB_H
1.1       misho     616: #  include <stdlib.h>
                    617: # endif
                    618: #endif
1.1.1.2   misho     619: #ifdef HAVE_STRING_H
                    620: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.1       misho     621: #  include <memory.h>
                    622: # endif
                    623: # include <string.h>
                    624: #endif
1.1.1.2   misho     625: #ifdef HAVE_STRINGS_H
1.1       misho     626: # include <strings.h>
                    627: #endif
1.1.1.2   misho     628: #ifdef HAVE_INTTYPES_H
1.1       misho     629: # include <inttypes.h>
                    630: #endif
1.1.1.2   misho     631: #ifdef HAVE_STDINT_H
                    632: # include <stdint.h>
                    633: #endif
                    634: #ifdef HAVE_UNISTD_H
1.1       misho     635: # include <unistd.h>
                    636: #endif"
                    637: 
1.1.1.2   misho     638: ac_subst_vars='am__EXEEXT_FALSE
                    639: am__EXEEXT_TRUE
1.1.1.4 ! misho     640: WIN32_FALSE
        !           641: WIN32_TRUE
        !           642: WINDRES
        !           643: WIN32
        !           644: COND_SHARED_FALSE
        !           645: COND_SHARED_TRUE
        !           646: ENABLE_SAMPLES_FALSE
        !           647: ENABLE_SAMPLES_TRUE
        !           648: ENABLE_MAN_FALSE
        !           649: ENABLE_MAN_TRUE
        !           650: ENABLE_HTML_FALSE
        !           651: ENABLE_HTML_TRUE
        !           652: ENABLE_DOXYGEN_FALSE
        !           653: ENABLE_DOXYGEN_TRUE
        !           654: DX_RULES
        !           655: PAPER_SIZE
        !           656: DOXYGEN_PAPER_SIZE
        !           657: GENERATE_LATEX
        !           658: DX_PDFLATEX
        !           659: DX_FLAG_pdf
        !           660: DX_EGREP
        !           661: DX_DVIPS
        !           662: DX_MAKEINDEX
        !           663: DX_LATEX
        !           664: DX_FLAG_ps
        !           665: DX_FLAG_html
        !           666: GENERATE_CHI
        !           667: DX_FLAG_chi
        !           668: GENERATE_HTMLHELP
        !           669: GENERATE_HTML
        !           670: HHC_PATH
        !           671: DX_HHC
        !           672: DX_FLAG_chm
        !           673: GENERATE_XML
        !           674: DX_FLAG_xml
        !           675: GENERATE_RTF
        !           676: DX_FLAG_rtf
        !           677: GENERATE_MAN
        !           678: DX_FLAG_man
        !           679: DOT_PATH
        !           680: HAVE_DOT
        !           681: DX_DOT
        !           682: DX_FLAG_dot
        !           683: PERL_PATH
        !           684: DX_PERL
        !           685: DX_DOXYGEN
        !           686: DX_FLAG_doc
        !           687: PROJECT
        !           688: SRCDIR
        !           689: DX_ENV
        !           690: DX_DOCDIR
        !           691: DX_CONFIG
        !           692: DX_PROJECT
1.1.1.2   misho     693: LIBOBJS
                    694: LTLIBOBJS
1.1.1.4 ! misho     695: PKG_CONFIG_CFLAGS
        !           696: PKG_CONFIG_LIBS
        !           697: PKG_CONFIG_DEFINES
1.1.1.2   misho     698: ADDITIONAL_LIBS
                    699: HAVE_PACKET_SOCKET
                    700: ENDIANESS
1.1.1.4 ! misho     701: LT_SYS_LIBRARY_PATH
1.1.1.2   misho     702: OTOOL64
                    703: OTOOL
                    704: LIPO
                    705: NMEDIT
                    706: DSYMUTIL
                    707: MANIFEST_TOOL
                    708: RANLIB
                    709: ac_ct_AR
                    710: AR
                    711: DLLTOOL
                    712: OBJDUMP
                    713: LN_S
                    714: NM
                    715: ac_ct_DUMPBIN
                    716: DUMPBIN
                    717: LD
                    718: FGREP
                    719: LIBTOOL
                    720: EGREP
                    721: GREP
                    722: CPP
                    723: OBJEXT
                    724: EXEEXT
                    725: ac_ct_CC
                    726: CPPFLAGS
                    727: LDFLAGS
                    728: CFLAGS
                    729: CC
1.1.1.4 ! misho     730: AM_BACKSLASH
        !           731: AM_DEFAULT_VERBOSITY
        !           732: AM_DEFAULT_V
        !           733: AM_V
1.1.1.2   misho     734: am__untar
                    735: am__tar
                    736: AMTAR
                    737: am__leading_dot
                    738: SET_MAKE
                    739: AWK
                    740: mkdir_p
                    741: MKDIR_P
                    742: INSTALL_STRIP_PROGRAM
                    743: STRIP
                    744: install_sh
                    745: MAKEINFO
                    746: AUTOHEADER
                    747: AUTOMAKE
                    748: AUTOCONF
                    749: ACLOCAL
                    750: VERSION
                    751: PACKAGE
                    752: CYGPATH_W
                    753: am__isrc
                    754: INSTALL_DATA
                    755: INSTALL_SCRIPT
                    756: INSTALL_PROGRAM
                    757: target_os
                    758: target_vendor
                    759: target_cpu
                    760: target
                    761: host_os
                    762: host_vendor
                    763: host_cpu
                    764: host
                    765: build_os
                    766: build_vendor
                    767: build_cpu
                    768: build
1.1.1.4 ! misho     769: CHMOD
        !           770: SED
1.1.1.2   misho     771: target_alias
                    772: host_alias
                    773: build_alias
                    774: LIBS
                    775: ECHO_T
                    776: ECHO_N
                    777: ECHO_C
                    778: DEFS
                    779: mandir
                    780: localedir
                    781: libdir
                    782: psdir
                    783: pdfdir
                    784: dvidir
                    785: htmldir
                    786: infodir
                    787: docdir
                    788: oldincludedir
                    789: includedir
1.1.1.4 ! misho     790: runstatedir
1.1.1.2   misho     791: localstatedir
                    792: sharedstatedir
                    793: sysconfdir
                    794: datadir
                    795: datarootdir
                    796: libexecdir
                    797: sbindir
                    798: bindir
                    799: program_transform_name
                    800: prefix
                    801: exec_prefix
                    802: PACKAGE_URL
                    803: PACKAGE_BUGREPORT
                    804: PACKAGE_STRING
                    805: PACKAGE_VERSION
                    806: PACKAGE_TARNAME
                    807: PACKAGE_NAME
                    808: PATH_SEPARATOR
                    809: SHELL'
1.1       misho     810: ac_subst_files=''
1.1.1.2   misho     811: ac_user_opts='
                    812: enable_option_checking
1.1.1.4 ! misho     813: enable_silent_rules
        !           814: with_pic
1.1.1.2   misho     815: enable_shared
                    816: enable_static
                    817: enable_fast_install
1.1.1.4 ! misho     818: with_aix_soname
1.1.1.2   misho     819: with_gnu_ld
                    820: with_sysroot
                    821: enable_libtool_lock
                    822: with_link_layer
1.1.1.4 ! misho     823: enable_doxygen_doc
        !           824: enable_doxygen_dot
        !           825: enable_doxygen_man
        !           826: enable_doxygen_rtf
        !           827: enable_doxygen_xml
        !           828: enable_doxygen_chm
        !           829: enable_doxygen_chi
        !           830: enable_doxygen_html
        !           831: enable_doxygen_ps
        !           832: enable_doxygen_pdf
1.1.1.2   misho     833: enable_samples
                    834: '
                    835:       ac_precious_vars='build_alias
                    836: host_alias
                    837: target_alias
                    838: CC
                    839: CFLAGS
                    840: LDFLAGS
                    841: LIBS
                    842: CPPFLAGS
1.1.1.4 ! misho     843: CPP
        !           844: LT_SYS_LIBRARY_PATH
        !           845: DOXYGEN_PAPER_SIZE'
1.1.1.2   misho     846: 
1.1       misho     847: 
                    848: # Initialize some variables set by options.
                    849: ac_init_help=
                    850: ac_init_version=false
1.1.1.2   misho     851: ac_unrecognized_opts=
                    852: ac_unrecognized_sep=
1.1       misho     853: # The variables have the same names as the options, with
                    854: # dashes changed to underlines.
                    855: cache_file=/dev/null
                    856: exec_prefix=NONE
                    857: no_create=
                    858: no_recursion=
                    859: prefix=NONE
                    860: program_prefix=NONE
                    861: program_suffix=NONE
                    862: program_transform_name=s,x,x,
                    863: silent=
                    864: site=
                    865: srcdir=
                    866: verbose=
                    867: x_includes=NONE
                    868: x_libraries=NONE
                    869: 
                    870: # Installation directory options.
                    871: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    872: # and all the variables that are supposed to be based on exec_prefix
                    873: # by default will actually change.
                    874: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1.1.2   misho     875: # (The list follows the same order as the GNU Coding Standards.)
1.1       misho     876: bindir='${exec_prefix}/bin'
                    877: sbindir='${exec_prefix}/sbin'
                    878: libexecdir='${exec_prefix}/libexec'
1.1.1.2   misho     879: datarootdir='${prefix}/share'
                    880: datadir='${datarootdir}'
1.1       misho     881: sysconfdir='${prefix}/etc'
                    882: sharedstatedir='${prefix}/com'
                    883: localstatedir='${prefix}/var'
1.1.1.4 ! misho     884: runstatedir='${localstatedir}/run'
1.1       misho     885: includedir='${prefix}/include'
                    886: oldincludedir='/usr/include'
1.1.1.2   misho     887: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    888: infodir='${datarootdir}/info'
                    889: htmldir='${docdir}'
                    890: dvidir='${docdir}'
                    891: pdfdir='${docdir}'
                    892: psdir='${docdir}'
                    893: libdir='${exec_prefix}/lib'
                    894: localedir='${datarootdir}/locale'
                    895: mandir='${datarootdir}/man'
1.1       misho     896: 
                    897: ac_prev=
1.1.1.2   misho     898: ac_dashdash=
1.1       misho     899: for ac_option
                    900: do
                    901:   # If the previous option needs an argument, assign it.
                    902:   if test -n "$ac_prev"; then
1.1.1.2   misho     903:     eval $ac_prev=\$ac_option
1.1       misho     904:     ac_prev=
                    905:     continue
                    906:   fi
                    907: 
1.1.1.2   misho     908:   case $ac_option in
                    909:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    910:   *=)   ac_optarg= ;;
                    911:   *)    ac_optarg=yes ;;
                    912:   esac
1.1       misho     913: 
                    914:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    915: 
1.1.1.2   misho     916:   case $ac_dashdash$ac_option in
                    917:   --)
                    918:     ac_dashdash=yes ;;
1.1       misho     919: 
                    920:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    921:     ac_prev=bindir ;;
                    922:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    923:     bindir=$ac_optarg ;;
                    924: 
                    925:   -build | --build | --buil | --bui | --bu)
                    926:     ac_prev=build_alias ;;
                    927:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    928:     build_alias=$ac_optarg ;;
                    929: 
                    930:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    931:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    932:     ac_prev=cache_file ;;
                    933:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    934:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    935:     cache_file=$ac_optarg ;;
                    936: 
                    937:   --config-cache | -C)
                    938:     cache_file=config.cache ;;
                    939: 
1.1.1.2   misho     940:   -datadir | --datadir | --datadi | --datad)
1.1       misho     941:     ac_prev=datadir ;;
1.1.1.2   misho     942:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1       misho     943:     datadir=$ac_optarg ;;
                    944: 
1.1.1.2   misho     945:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    946:   | --dataroo | --dataro | --datar)
                    947:     ac_prev=datarootdir ;;
                    948:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    949:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    950:     datarootdir=$ac_optarg ;;
                    951: 
1.1       misho     952:   -disable-* | --disable-*)
1.1.1.2   misho     953:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       misho     954:     # Reject names that are not valid shell variable names.
1.1.1.2   misho     955:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    956:       as_fn_error $? "invalid feature name: $ac_useropt"
                    957:     ac_useropt_orig=$ac_useropt
                    958:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    959:     case $ac_user_opts in
                    960:       *"
                    961: "enable_$ac_useropt"
                    962: "*) ;;
                    963:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    964:         ac_unrecognized_sep=', ';;
                    965:     esac
                    966:     eval enable_$ac_useropt=no ;;
                    967: 
                    968:   -docdir | --docdir | --docdi | --doc | --do)
                    969:     ac_prev=docdir ;;
                    970:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    971:     docdir=$ac_optarg ;;
                    972: 
                    973:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    974:     ac_prev=dvidir ;;
                    975:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    976:     dvidir=$ac_optarg ;;
1.1       misho     977: 
                    978:   -enable-* | --enable-*)
1.1.1.2   misho     979:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       misho     980:     # Reject names that are not valid shell variable names.
1.1.1.2   misho     981:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    982:       as_fn_error $? "invalid feature name: $ac_useropt"
                    983:     ac_useropt_orig=$ac_useropt
                    984:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    985:     case $ac_user_opts in
                    986:       *"
                    987: "enable_$ac_useropt"
                    988: "*) ;;
                    989:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    990:         ac_unrecognized_sep=', ';;
1.1       misho     991:     esac
1.1.1.2   misho     992:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       misho     993: 
                    994:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    995:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    996:   | --exec | --exe | --ex)
                    997:     ac_prev=exec_prefix ;;
                    998:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    999:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1000:   | --exec=* | --exe=* | --ex=*)
                   1001:     exec_prefix=$ac_optarg ;;
                   1002: 
                   1003:   -gas | --gas | --ga | --g)
                   1004:     # Obsolete; use --with-gas.
                   1005:     with_gas=yes ;;
                   1006: 
                   1007:   -help | --help | --hel | --he | -h)
                   1008:     ac_init_help=long ;;
                   1009:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1010:     ac_init_help=recursive ;;
                   1011:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1012:     ac_init_help=short ;;
                   1013: 
                   1014:   -host | --host | --hos | --ho)
                   1015:     ac_prev=host_alias ;;
                   1016:   -host=* | --host=* | --hos=* | --ho=*)
                   1017:     host_alias=$ac_optarg ;;
                   1018: 
1.1.1.2   misho    1019:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1020:     ac_prev=htmldir ;;
                   1021:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1022:   | --ht=*)
                   1023:     htmldir=$ac_optarg ;;
                   1024: 
1.1       misho    1025:   -includedir | --includedir | --includedi | --included | --include \
                   1026:   | --includ | --inclu | --incl | --inc)
                   1027:     ac_prev=includedir ;;
                   1028:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1029:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                   1030:     includedir=$ac_optarg ;;
                   1031: 
                   1032:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1033:     ac_prev=infodir ;;
                   1034:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1035:     infodir=$ac_optarg ;;
                   1036: 
                   1037:   -libdir | --libdir | --libdi | --libd)
                   1038:     ac_prev=libdir ;;
                   1039:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1040:     libdir=$ac_optarg ;;
                   1041: 
                   1042:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1043:   | --libexe | --libex | --libe)
                   1044:     ac_prev=libexecdir ;;
                   1045:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1046:   | --libexe=* | --libex=* | --libe=*)
                   1047:     libexecdir=$ac_optarg ;;
                   1048: 
1.1.1.2   misho    1049:   -localedir | --localedir | --localedi | --localed | --locale)
                   1050:     ac_prev=localedir ;;
                   1051:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1052:     localedir=$ac_optarg ;;
                   1053: 
1.1       misho    1054:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.1.1.2   misho    1055:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       misho    1056:     ac_prev=localstatedir ;;
                   1057:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.1.1.2   misho    1058:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1       misho    1059:     localstatedir=$ac_optarg ;;
                   1060: 
                   1061:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1062:     ac_prev=mandir ;;
                   1063:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1064:     mandir=$ac_optarg ;;
                   1065: 
                   1066:   -nfp | --nfp | --nf)
                   1067:     # Obsolete; use --without-fp.
                   1068:     with_fp=no ;;
                   1069: 
                   1070:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1071:   | --no-cr | --no-c | -n)
                   1072:     no_create=yes ;;
                   1073: 
                   1074:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1075:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1076:     no_recursion=yes ;;
                   1077: 
                   1078:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1079:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1080:   | --oldin | --oldi | --old | --ol | --o)
                   1081:     ac_prev=oldincludedir ;;
                   1082:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1083:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1084:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1085:     oldincludedir=$ac_optarg ;;
                   1086: 
                   1087:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1088:     ac_prev=prefix ;;
                   1089:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1090:     prefix=$ac_optarg ;;
                   1091: 
                   1092:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1093:   | --program-pre | --program-pr | --program-p)
                   1094:     ac_prev=program_prefix ;;
                   1095:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1096:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1097:     program_prefix=$ac_optarg ;;
                   1098: 
                   1099:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1100:   | --program-suf | --program-su | --program-s)
                   1101:     ac_prev=program_suffix ;;
                   1102:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1103:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1104:     program_suffix=$ac_optarg ;;
                   1105: 
                   1106:   -program-transform-name | --program-transform-name \
                   1107:   | --program-transform-nam | --program-transform-na \
                   1108:   | --program-transform-n | --program-transform- \
                   1109:   | --program-transform | --program-transfor \
                   1110:   | --program-transfo | --program-transf \
                   1111:   | --program-trans | --program-tran \
                   1112:   | --progr-tra | --program-tr | --program-t)
                   1113:     ac_prev=program_transform_name ;;
                   1114:   -program-transform-name=* | --program-transform-name=* \
                   1115:   | --program-transform-nam=* | --program-transform-na=* \
                   1116:   | --program-transform-n=* | --program-transform-=* \
                   1117:   | --program-transform=* | --program-transfor=* \
                   1118:   | --program-transfo=* | --program-transf=* \
                   1119:   | --program-trans=* | --program-tran=* \
                   1120:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1121:     program_transform_name=$ac_optarg ;;
                   1122: 
1.1.1.2   misho    1123:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1124:     ac_prev=pdfdir ;;
                   1125:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1126:     pdfdir=$ac_optarg ;;
                   1127: 
                   1128:   -psdir | --psdir | --psdi | --psd | --ps)
                   1129:     ac_prev=psdir ;;
                   1130:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1131:     psdir=$ac_optarg ;;
                   1132: 
1.1       misho    1133:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1134:   | -silent | --silent | --silen | --sile | --sil)
                   1135:     silent=yes ;;
                   1136: 
1.1.1.4 ! misho    1137:   -runstatedir | --runstatedir | --runstatedi | --runstated \
        !          1138:   | --runstate | --runstat | --runsta | --runst | --runs \
        !          1139:   | --run | --ru | --r)
        !          1140:     ac_prev=runstatedir ;;
        !          1141:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
        !          1142:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
        !          1143:   | --run=* | --ru=* | --r=*)
        !          1144:     runstatedir=$ac_optarg ;;
        !          1145: 
1.1       misho    1146:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1147:     ac_prev=sbindir ;;
                   1148:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1149:   | --sbi=* | --sb=*)
                   1150:     sbindir=$ac_optarg ;;
                   1151: 
                   1152:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1153:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1154:   | --sharedst | --shareds | --shared | --share | --shar \
                   1155:   | --sha | --sh)
                   1156:     ac_prev=sharedstatedir ;;
                   1157:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1158:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1159:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1160:   | --sha=* | --sh=*)
                   1161:     sharedstatedir=$ac_optarg ;;
                   1162: 
                   1163:   -site | --site | --sit)
                   1164:     ac_prev=site ;;
                   1165:   -site=* | --site=* | --sit=*)
                   1166:     site=$ac_optarg ;;
                   1167: 
                   1168:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1169:     ac_prev=srcdir ;;
                   1170:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1171:     srcdir=$ac_optarg ;;
                   1172: 
                   1173:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1174:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1175:     ac_prev=sysconfdir ;;
                   1176:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1177:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1178:     sysconfdir=$ac_optarg ;;
                   1179: 
                   1180:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1181:     ac_prev=target_alias ;;
                   1182:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1183:     target_alias=$ac_optarg ;;
                   1184: 
                   1185:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1186:     verbose=yes ;;
                   1187: 
                   1188:   -version | --version | --versio | --versi | --vers | -V)
                   1189:     ac_init_version=: ;;
                   1190: 
                   1191:   -with-* | --with-*)
1.1.1.2   misho    1192:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       misho    1193:     # Reject names that are not valid shell variable names.
1.1.1.2   misho    1194:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1195:       as_fn_error $? "invalid package name: $ac_useropt"
                   1196:     ac_useropt_orig=$ac_useropt
                   1197:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1198:     case $ac_user_opts in
                   1199:       *"
                   1200: "with_$ac_useropt"
                   1201: "*) ;;
                   1202:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1203:         ac_unrecognized_sep=', ';;
1.1       misho    1204:     esac
1.1.1.2   misho    1205:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       misho    1206: 
                   1207:   -without-* | --without-*)
1.1.1.2   misho    1208:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       misho    1209:     # Reject names that are not valid shell variable names.
1.1.1.2   misho    1210:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1211:       as_fn_error $? "invalid package name: $ac_useropt"
                   1212:     ac_useropt_orig=$ac_useropt
                   1213:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1214:     case $ac_user_opts in
                   1215:       *"
                   1216: "with_$ac_useropt"
                   1217: "*) ;;
                   1218:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1219:         ac_unrecognized_sep=', ';;
                   1220:     esac
                   1221:     eval with_$ac_useropt=no ;;
1.1       misho    1222: 
                   1223:   --x)
                   1224:     # Obsolete; use --with-x.
                   1225:     with_x=yes ;;
                   1226: 
                   1227:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1228:   | --x-incl | --x-inc | --x-in | --x-i)
                   1229:     ac_prev=x_includes ;;
                   1230:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1231:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1232:     x_includes=$ac_optarg ;;
                   1233: 
                   1234:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1235:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1236:     ac_prev=x_libraries ;;
                   1237:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1238:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1239:     x_libraries=$ac_optarg ;;
                   1240: 
1.1.1.2   misho    1241:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1242: Try \`$0 --help' for more information"
1.1       misho    1243:     ;;
                   1244: 
                   1245:   *=*)
                   1246:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1247:     # Reject names that are not valid shell variable names.
1.1.1.2   misho    1248:     case $ac_envvar in #(
                   1249:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1250:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1251:     esac
                   1252:     eval $ac_envvar=\$ac_optarg
1.1       misho    1253:     export $ac_envvar ;;
                   1254: 
                   1255:   *)
                   1256:     # FIXME: should be removed in autoconf 3.0.
1.1.1.2   misho    1257:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       misho    1258:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.1.2   misho    1259:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1260:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       misho    1261:     ;;
                   1262: 
                   1263:   esac
                   1264: done
                   1265: 
                   1266: if test -n "$ac_prev"; then
                   1267:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.1.1.2   misho    1268:   as_fn_error $? "missing argument to $ac_option"
1.1       misho    1269: fi
                   1270: 
1.1.1.2   misho    1271: if test -n "$ac_unrecognized_opts"; then
                   1272:   case $enable_option_checking in
                   1273:     no) ;;
                   1274:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1275:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1.1       misho    1276:   esac
1.1.1.2   misho    1277: fi
1.1       misho    1278: 
1.1.1.2   misho    1279: # Check all directory arguments for consistency.
                   1280: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1281:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1282:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.1.1.4 ! misho    1283:                libdir localedir mandir runstatedir
1.1       misho    1284: do
1.1.1.2   misho    1285:   eval ac_val=\$$ac_var
                   1286:   # Remove trailing slashes.
                   1287:   case $ac_val in
                   1288:     */ )
                   1289:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1290:       eval $ac_var=\$ac_val;;
                   1291:   esac
                   1292:   # Be sure to have absolute directory names.
1.1       misho    1293:   case $ac_val in
1.1.1.2   misho    1294:     [\\/$]* | ?:[\\/]* )  continue;;
                   1295:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       misho    1296:   esac
1.1.1.2   misho    1297:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       misho    1298: done
                   1299: 
                   1300: # There might be people who depend on the old broken behavior: `$host'
                   1301: # used to hold the argument of --host etc.
                   1302: # FIXME: To remove some day.
                   1303: build=$build_alias
                   1304: host=$host_alias
                   1305: target=$target_alias
                   1306: 
                   1307: # FIXME: To remove some day.
                   1308: if test "x$host_alias" != x; then
                   1309:   if test "x$build_alias" = x; then
                   1310:     cross_compiling=maybe
                   1311:   elif test "x$build_alias" != "x$host_alias"; then
                   1312:     cross_compiling=yes
                   1313:   fi
                   1314: fi
                   1315: 
                   1316: ac_tool_prefix=
                   1317: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1318: 
                   1319: test "$silent" = yes && exec 6>/dev/null
                   1320: 
                   1321: 
1.1.1.2   misho    1322: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1323: ac_ls_di=`ls -di .` &&
                   1324: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1325:   as_fn_error $? "working directory cannot be determined"
                   1326: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1327:   as_fn_error $? "pwd does not report name of working directory"
                   1328: 
                   1329: 
1.1       misho    1330: # Find the source files, if location was not specified.
                   1331: if test -z "$srcdir"; then
                   1332:   ac_srcdir_defaulted=yes
1.1.1.2   misho    1333:   # Try the directory containing this script, then the parent directory.
                   1334:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1335: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1336:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1337:         X"$as_myself" : 'X\(//\)$' \| \
                   1338:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1339: $as_echo X"$as_myself" |
                   1340:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1341:            s//\1/
                   1342:            q
                   1343:          }
                   1344:          /^X\(\/\/\)[^/].*/{
                   1345:            s//\1/
                   1346:            q
                   1347:          }
                   1348:          /^X\(\/\/\)$/{
                   1349:            s//\1/
                   1350:            q
                   1351:          }
                   1352:          /^X\(\/\).*/{
                   1353:            s//\1/
                   1354:            q
                   1355:          }
                   1356:          s/.*/./; q'`
1.1       misho    1357:   srcdir=$ac_confdir
1.1.1.2   misho    1358:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       misho    1359:     srcdir=..
                   1360:   fi
                   1361: else
                   1362:   ac_srcdir_defaulted=no
                   1363: fi
1.1.1.2   misho    1364: if test ! -r "$srcdir/$ac_unique_file"; then
                   1365:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1366:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1367: fi
                   1368: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1369: ac_abs_confdir=`(
                   1370:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1371:        pwd)`
                   1372: # When building in place, set srcdir=.
                   1373: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1374:   srcdir=.
                   1375: fi
                   1376: # Remove unnecessary trailing slashes from srcdir.
                   1377: # Double slashes in file names in object file debugging info
                   1378: # mess up M-x gdb in Emacs.
                   1379: case $srcdir in
                   1380: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1381: esac
                   1382: for ac_var in $ac_precious_vars; do
                   1383:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1384:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1385:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1386:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1387: done
1.1       misho    1388: 
                   1389: #
                   1390: # Report the --help message.
                   1391: #
                   1392: if test "$ac_init_help" = "long"; then
                   1393:   # Omit some internal or obsolete options to make the list less imposing.
                   1394:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1395:   cat <<_ACEOF
1.1.1.4 ! misho    1396: \`configure' configures libnet 1.2 to adapt to many kinds of systems.
1.1       misho    1397: 
                   1398: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1399: 
                   1400: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1401: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1402: 
                   1403: Defaults for the options are specified in brackets.
                   1404: 
                   1405: Configuration:
                   1406:   -h, --help              display this help and exit
                   1407:       --help=short        display options specific to this package
                   1408:       --help=recursive    display the short help of all the included packages
                   1409:   -V, --version           display version information and exit
1.1.1.2   misho    1410:   -q, --quiet, --silent   do not print \`checking ...' messages
1.1       misho    1411:       --cache-file=FILE   cache test results in FILE [disabled]
                   1412:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1413:   -n, --no-create         do not create output files
                   1414:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1415: 
                   1416: Installation directories:
                   1417:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1418:                           [$ac_default_prefix]
                   1419:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1420:                           [PREFIX]
                   1421: 
                   1422: By default, \`make install' will install all the files in
                   1423: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1424: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1425: for instance \`--prefix=\$HOME'.
                   1426: 
                   1427: For better control, use the options below.
                   1428: 
                   1429: Fine tuning of the installation directories:
1.1.1.2   misho    1430:   --bindir=DIR            user executables [EPREFIX/bin]
                   1431:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1432:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1433:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1434:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1435:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.1.1.4 ! misho    1436:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.1.1.2   misho    1437:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1438:   --includedir=DIR        C header files [PREFIX/include]
                   1439:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1440:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1441:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1442:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1443:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1444:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1445:   --docdir=DIR            documentation root [DATAROOTDIR/doc/libnet]
                   1446:   --htmldir=DIR           html documentation [DOCDIR]
                   1447:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1448:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1449:   --psdir=DIR             ps documentation [DOCDIR]
1.1       misho    1450: _ACEOF
                   1451: 
                   1452:   cat <<\_ACEOF
                   1453: 
                   1454: Program names:
                   1455:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1456:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1457:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1458: 
                   1459: System types:
                   1460:   --build=BUILD     configure for building on BUILD [guessed]
                   1461:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1462:   --target=TARGET   configure for building compilers for TARGET [HOST]
                   1463: _ACEOF
                   1464: fi
                   1465: 
                   1466: if test -n "$ac_init_help"; then
1.1.1.2   misho    1467:   case $ac_init_help in
1.1.1.4 ! misho    1468:      short | recursive ) echo "Configuration of libnet 1.2:";;
1.1.1.2   misho    1469:    esac
1.1       misho    1470:   cat <<\_ACEOF
                   1471: 
                   1472: Optional Features:
1.1.1.2   misho    1473:   --disable-option-checking  ignore unrecognized --enable/--with options
1.1       misho    1474:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1475:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.1.1.4 ! misho    1476:   --enable-silent-rules   less verbose build output (undo: "make V=1")
        !          1477:   --disable-silent-rules  verbose build output (undo: "make V=0")
1.1.1.2   misho    1478:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1479:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1480:   --enable-fast-install[=PKGS]
                   1481:                           optimize for fast installation [default=yes]
                   1482:   --disable-libtool-lock  avoid locking (might break parallel builds)
1.1.1.4 ! misho    1483:   --disable-doxygen-doc   don't generate any doxygen documentation
        !          1484:   --disable-doxygen-dot   don't generate graphics for doxygen documentation
        !          1485:   --disable-doxygen-man   don't generate doxygen manual pages
        !          1486:   --enable-doxygen-rtf    generate doxygen RTF documentation
        !          1487:   --enable-doxygen-xml    generate doxygen XML documentation
        !          1488:   --enable-doxygen-chm    generate doxygen compressed HTML help documentation
        !          1489:   --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
        !          1490:                           file
        !          1491:   --disable-doxygen-html  don't generate doxygen plain HTML documentation
        !          1492:   --enable-doxygen-ps     generate doxygen PostScript documentation
        !          1493:   --enable-doxygen-pdf    generate doxygen PDF documentation
        !          1494:   --enable-samples        do not build sample programs [default=no]
1.1.1.2   misho    1495: 
                   1496: Optional Packages:
                   1497:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1498:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.1.1.4 ! misho    1499:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.1.1.2   misho    1500:                           both]
1.1.1.4 ! misho    1501:   --with-aix-soname=aix|svr4|both
        !          1502:                           shared library versioning (aka "SONAME") variant to
        !          1503:                           provide on AIX, [default=aix].
1.1.1.2   misho    1504:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1.1.1.4 ! misho    1505:   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
        !          1506:                           compiler's sysroot if not specified).
1.1.1.2   misho    1507:   --with-link-layer       when cross-compiling, one of * from libnet_link_*.c
                   1508:                           [autodetect]
                   1509: 
1.1       misho    1510: Some influential environment variables:
                   1511:   CC          C compiler command
                   1512:   CFLAGS      C compiler flags
                   1513:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1514:               nonstandard directory <lib dir>
1.1.1.2   misho    1515:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1516:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1517:               you have headers in a nonstandard directory <include dir>
1.1       misho    1518:   CPP         C preprocessor
1.1.1.4 ! misho    1519:   LT_SYS_LIBRARY_PATH
        !          1520:               User-defined run-time library search path.
        !          1521:   DOXYGEN_PAPER_SIZE
        !          1522:               a4wide (default), a4, letter, legal or executive
1.1       misho    1523: 
                   1524: Use these variables to override the choices made by `configure' or to help
                   1525: it to find libraries and programs with nonstandard names/locations.
                   1526: 
1.1.1.4 ! misho    1527: Report bugs to <https://github.com/libnet/libnet/issues>.
        !          1528: libnet home page: <https://github.com/libnet/libnet>.
1.1       misho    1529: _ACEOF
1.1.1.2   misho    1530: ac_status=$?
1.1       misho    1531: fi
                   1532: 
                   1533: if test "$ac_init_help" = "recursive"; then
                   1534:   # If there are subdirs, report their specific --help.
                   1535:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.1.1.2   misho    1536:     test -d "$ac_dir" ||
                   1537:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1538:       continue
1.1       misho    1539:     ac_builddir=.
                   1540: 
1.1.1.2   misho    1541: case "$ac_dir" in
                   1542: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1543: *)
                   1544:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1545:   # A ".." for each directory in $ac_dir_suffix.
                   1546:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1547:   case $ac_top_builddir_sub in
                   1548:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1549:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1550:   esac ;;
                   1551: esac
                   1552: ac_abs_top_builddir=$ac_pwd
                   1553: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1554: # for backward compatibility:
                   1555: ac_top_builddir=$ac_top_build_prefix
1.1       misho    1556: 
                   1557: case $srcdir in
1.1.1.2   misho    1558:   .)  # We are building in place.
1.1       misho    1559:     ac_srcdir=.
1.1.1.2   misho    1560:     ac_top_srcdir=$ac_top_builddir_sub
                   1561:     ac_abs_top_srcdir=$ac_pwd ;;
                   1562:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.1       misho    1563:     ac_srcdir=$srcdir$ac_dir_suffix;
1.1.1.2   misho    1564:     ac_top_srcdir=$srcdir
                   1565:     ac_abs_top_srcdir=$srcdir ;;
                   1566:   *) # Relative name.
                   1567:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1568:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1569:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1570: esac
                   1571: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1572: 
                   1573:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1574:     # Check for guested configure.
                   1575:     if test -f "$ac_srcdir/configure.gnu"; then
                   1576:       echo &&
                   1577:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1578:     elif test -f "$ac_srcdir/configure"; then
                   1579:       echo &&
                   1580:       $SHELL "$ac_srcdir/configure" --help=recursive
1.1       misho    1581:     else
1.1.1.2   misho    1582:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1583:     fi || ac_status=$?
                   1584:     cd "$ac_pwd" || { ac_status=$?; break; }
1.1       misho    1585:   done
                   1586: fi
                   1587: 
1.1.1.2   misho    1588: test -n "$ac_init_help" && exit $ac_status
1.1       misho    1589: if $ac_init_version; then
                   1590:   cat <<\_ACEOF
1.1.1.4 ! misho    1591: libnet configure 1.2
        !          1592: generated by GNU Autoconf 2.69
1.1       misho    1593: 
1.1.1.4 ! misho    1594: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    1595: This configure script is free software; the Free Software Foundation
                   1596: gives unlimited permission to copy, distribute and modify it.
1.1.1.4 ! misho    1597: 
        !          1598: Copyright (C) 1998 - 2019 The libnet Developer Community.
1.1       misho    1599: _ACEOF
1.1.1.2   misho    1600:   exit
1.1       misho    1601: fi
                   1602: 
1.1.1.2   misho    1603: ## ------------------------ ##
                   1604: ## Autoconf initialization. ##
                   1605: ## ------------------------ ##
                   1606: 
                   1607: # ac_fn_c_try_compile LINENO
                   1608: # --------------------------
                   1609: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1610: ac_fn_c_try_compile ()
1.1       misho    1611: {
1.1.1.2   misho    1612:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1613:   rm -f conftest.$ac_objext
                   1614:   if { { ac_try="$ac_compile"
                   1615: case "(($ac_try" in
                   1616:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1617:   *) ac_try_echo=$ac_try;;
                   1618: esac
                   1619: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1620: $as_echo "$ac_try_echo"; } >&5
                   1621:   (eval "$ac_compile") 2>conftest.err
                   1622:   ac_status=$?
                   1623:   if test -s conftest.err; then
                   1624:     grep -v '^ *+' conftest.err >conftest.er1
                   1625:     cat conftest.er1 >&5
                   1626:     mv -f conftest.er1 conftest.err
                   1627:   fi
                   1628:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1629:   test $ac_status = 0; } && {
                   1630:         test -z "$ac_c_werror_flag" ||
                   1631:         test ! -s conftest.err
                   1632:        } && test -s conftest.$ac_objext; then :
                   1633:   ac_retval=0
                   1634: else
                   1635:   $as_echo "$as_me: failed program was:" >&5
                   1636: sed 's/^/| /' conftest.$ac_ext >&5
1.1       misho    1637: 
1.1.1.2   misho    1638:        ac_retval=1
                   1639: fi
                   1640:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1641:   as_fn_set_status $ac_retval
1.1       misho    1642: 
1.1.1.2   misho    1643: } # ac_fn_c_try_compile
1.1       misho    1644: 
1.1.1.2   misho    1645: # ac_fn_c_try_cpp LINENO
                   1646: # ----------------------
                   1647: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1648: ac_fn_c_try_cpp ()
                   1649: {
                   1650:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1651:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1652: case "(($ac_try" in
                   1653:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1654:   *) ac_try_echo=$ac_try;;
                   1655: esac
                   1656: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1657: $as_echo "$ac_try_echo"; } >&5
                   1658:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1659:   ac_status=$?
                   1660:   if test -s conftest.err; then
                   1661:     grep -v '^ *+' conftest.err >conftest.er1
                   1662:     cat conftest.er1 >&5
                   1663:     mv -f conftest.er1 conftest.err
                   1664:   fi
                   1665:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1666:   test $ac_status = 0; } > conftest.i && {
                   1667:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1668:         test ! -s conftest.err
                   1669:        }; then :
                   1670:   ac_retval=0
                   1671: else
                   1672:   $as_echo "$as_me: failed program was:" >&5
                   1673: sed 's/^/| /' conftest.$ac_ext >&5
1.1       misho    1674: 
1.1.1.2   misho    1675:     ac_retval=1
                   1676: fi
                   1677:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1678:   as_fn_set_status $ac_retval
1.1       misho    1679: 
1.1.1.2   misho    1680: } # ac_fn_c_try_cpp
1.1       misho    1681: 
1.1.1.2   misho    1682: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1683: # -------------------------------------------------------
                   1684: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1685: # the include files in INCLUDES and setting the cache variable VAR
                   1686: # accordingly.
                   1687: ac_fn_c_check_header_mongrel ()
                   1688: {
                   1689:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1690:   if eval \${$3+:} false; then :
                   1691:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1692: $as_echo_n "checking for $2... " >&6; }
                   1693: if eval \${$3+:} false; then :
                   1694:   $as_echo_n "(cached) " >&6
                   1695: fi
                   1696: eval ac_res=\$$3
                   1697:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1698: $as_echo "$ac_res" >&6; }
                   1699: else
                   1700:   # Is the header compilable?
                   1701: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1702: $as_echo_n "checking $2 usability... " >&6; }
                   1703: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1704: /* end confdefs.h.  */
                   1705: $4
                   1706: #include <$2>
1.1       misho    1707: _ACEOF
1.1.1.2   misho    1708: if ac_fn_c_try_compile "$LINENO"; then :
                   1709:   ac_header_compiler=yes
                   1710: else
                   1711:   ac_header_compiler=no
                   1712: fi
                   1713: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1714: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1715: $as_echo "$ac_header_compiler" >&6; }
1.1       misho    1716: 
1.1.1.2   misho    1717: # Is the header present?
                   1718: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1719: $as_echo_n "checking $2 presence... " >&6; }
                   1720: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1721: /* end confdefs.h.  */
                   1722: #include <$2>
                   1723: _ACEOF
                   1724: if ac_fn_c_try_cpp "$LINENO"; then :
                   1725:   ac_header_preproc=yes
                   1726: else
                   1727:   ac_header_preproc=no
                   1728: fi
                   1729: rm -f conftest.err conftest.i conftest.$ac_ext
                   1730: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1731: $as_echo "$ac_header_preproc" >&6; }
1.1       misho    1732: 
1.1.1.2   misho    1733: # So?  What about this header?
                   1734: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1735:   yes:no: )
                   1736:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1737: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1738:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1739: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1740:     ;;
                   1741:   no:yes:* )
                   1742:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1743: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1744:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1745: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1746:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1747: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1748:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1749: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1750:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1751: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1.1.1.4 ! misho    1752: ( $as_echo "## ------------------------------------------------------ ##
        !          1753: ## Report this to https://github.com/libnet/libnet/issues ##
        !          1754: ## ------------------------------------------------------ ##"
        !          1755:      ) | sed "s/^/$as_me: WARNING:     /" >&2
1.1.1.2   misho    1756:     ;;
                   1757: esac
                   1758:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1759: $as_echo_n "checking for $2... " >&6; }
                   1760: if eval \${$3+:} false; then :
                   1761:   $as_echo_n "(cached) " >&6
                   1762: else
                   1763:   eval "$3=\$ac_header_compiler"
                   1764: fi
                   1765: eval ac_res=\$$3
                   1766:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1767: $as_echo "$ac_res" >&6; }
                   1768: fi
                   1769:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1770: 
                   1771: } # ac_fn_c_check_header_mongrel
                   1772: 
                   1773: # ac_fn_c_try_run LINENO
                   1774: # ----------------------
                   1775: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1776: # that executables *can* be run.
                   1777: ac_fn_c_try_run ()
                   1778: {
                   1779:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1780:   if { { ac_try="$ac_link"
                   1781: case "(($ac_try" in
                   1782:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1783:   *) ac_try_echo=$ac_try;;
                   1784: esac
                   1785: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1786: $as_echo "$ac_try_echo"; } >&5
                   1787:   (eval "$ac_link") 2>&5
                   1788:   ac_status=$?
                   1789:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1790:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1791:   { { case "(($ac_try" in
                   1792:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1793:   *) ac_try_echo=$ac_try;;
                   1794: esac
                   1795: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1796: $as_echo "$ac_try_echo"; } >&5
                   1797:   (eval "$ac_try") 2>&5
                   1798:   ac_status=$?
                   1799:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1800:   test $ac_status = 0; }; }; then :
                   1801:   ac_retval=0
                   1802: else
                   1803:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1804:        $as_echo "$as_me: failed program was:" >&5
                   1805: sed 's/^/| /' conftest.$ac_ext >&5
                   1806: 
                   1807:        ac_retval=$ac_status
                   1808: fi
                   1809:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1810:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1811:   as_fn_set_status $ac_retval
                   1812: 
                   1813: } # ac_fn_c_try_run
                   1814: 
                   1815: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1816: # -------------------------------------------------------
                   1817: # Tests whether HEADER exists and can be compiled using the include files in
                   1818: # INCLUDES, setting the cache variable VAR accordingly.
                   1819: ac_fn_c_check_header_compile ()
                   1820: {
                   1821:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1822:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1823: $as_echo_n "checking for $2... " >&6; }
                   1824: if eval \${$3+:} false; then :
                   1825:   $as_echo_n "(cached) " >&6
                   1826: else
                   1827:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1828: /* end confdefs.h.  */
                   1829: $4
                   1830: #include <$2>
                   1831: _ACEOF
                   1832: if ac_fn_c_try_compile "$LINENO"; then :
                   1833:   eval "$3=yes"
                   1834: else
                   1835:   eval "$3=no"
                   1836: fi
                   1837: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1838: fi
                   1839: eval ac_res=\$$3
                   1840:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1841: $as_echo "$ac_res" >&6; }
                   1842:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1843: 
                   1844: } # ac_fn_c_check_header_compile
                   1845: 
                   1846: # ac_fn_c_try_link LINENO
                   1847: # -----------------------
                   1848: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1849: ac_fn_c_try_link ()
                   1850: {
                   1851:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1852:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1853:   if { { ac_try="$ac_link"
                   1854: case "(($ac_try" in
                   1855:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1856:   *) ac_try_echo=$ac_try;;
                   1857: esac
                   1858: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1859: $as_echo "$ac_try_echo"; } >&5
                   1860:   (eval "$ac_link") 2>conftest.err
                   1861:   ac_status=$?
                   1862:   if test -s conftest.err; then
                   1863:     grep -v '^ *+' conftest.err >conftest.er1
                   1864:     cat conftest.er1 >&5
                   1865:     mv -f conftest.er1 conftest.err
                   1866:   fi
                   1867:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1868:   test $ac_status = 0; } && {
                   1869:         test -z "$ac_c_werror_flag" ||
                   1870:         test ! -s conftest.err
                   1871:        } && test -s conftest$ac_exeext && {
                   1872:         test "$cross_compiling" = yes ||
1.1.1.4 ! misho    1873:         test -x conftest$ac_exeext
1.1.1.2   misho    1874:        }; then :
                   1875:   ac_retval=0
                   1876: else
                   1877:   $as_echo "$as_me: failed program was:" >&5
                   1878: sed 's/^/| /' conftest.$ac_ext >&5
                   1879: 
                   1880:        ac_retval=1
                   1881: fi
                   1882:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1883:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1884:   # interfere with the next link command; also delete a directory that is
                   1885:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1886:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1887:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1888:   as_fn_set_status $ac_retval
                   1889: 
                   1890: } # ac_fn_c_try_link
                   1891: 
                   1892: # ac_fn_c_check_func LINENO FUNC VAR
                   1893: # ----------------------------------
                   1894: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1895: ac_fn_c_check_func ()
                   1896: {
                   1897:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1898:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1899: $as_echo_n "checking for $2... " >&6; }
                   1900: if eval \${$3+:} false; then :
                   1901:   $as_echo_n "(cached) " >&6
                   1902: else
                   1903:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1904: /* end confdefs.h.  */
                   1905: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1906:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1907: #define $2 innocuous_$2
                   1908: 
                   1909: /* System header to define __stub macros and hopefully few prototypes,
                   1910:     which can conflict with char $2 (); below.
                   1911:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1912:     <limits.h> exists even on freestanding compilers.  */
                   1913: 
                   1914: #ifdef __STDC__
                   1915: # include <limits.h>
                   1916: #else
                   1917: # include <assert.h>
                   1918: #endif
                   1919: 
                   1920: #undef $2
                   1921: 
                   1922: /* Override any GCC internal prototype to avoid an error.
                   1923:    Use char because int might match the return type of a GCC
                   1924:    builtin and then its argument prototype would still apply.  */
                   1925: #ifdef __cplusplus
                   1926: extern "C"
                   1927: #endif
                   1928: char $2 ();
                   1929: /* The GNU C library defines this for functions which it implements
                   1930:     to always fail with ENOSYS.  Some functions are actually named
                   1931:     something starting with __ and the normal name is an alias.  */
                   1932: #if defined __stub_$2 || defined __stub___$2
                   1933: choke me
                   1934: #endif
                   1935: 
                   1936: int
                   1937: main ()
                   1938: {
                   1939: return $2 ();
                   1940:   ;
                   1941:   return 0;
                   1942: }
                   1943: _ACEOF
                   1944: if ac_fn_c_try_link "$LINENO"; then :
                   1945:   eval "$3=yes"
                   1946: else
                   1947:   eval "$3=no"
                   1948: fi
                   1949: rm -f core conftest.err conftest.$ac_objext \
                   1950:     conftest$ac_exeext conftest.$ac_ext
                   1951: fi
                   1952: eval ac_res=\$$3
                   1953:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1954: $as_echo "$ac_res" >&6; }
                   1955:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1956: 
                   1957: } # ac_fn_c_check_func
                   1958: 
                   1959: # ac_fn_c_find_uintX_t LINENO BITS VAR
                   1960: # ------------------------------------
                   1961: # Finds an unsigned integer type with width BITS, setting cache variable VAR
                   1962: # accordingly.
                   1963: ac_fn_c_find_uintX_t ()
                   1964: {
                   1965:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1966:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
                   1967: $as_echo_n "checking for uint$2_t... " >&6; }
                   1968: if eval \${$3+:} false; then :
                   1969:   $as_echo_n "(cached) " >&6
                   1970: else
                   1971:   eval "$3=no"
                   1972:      # Order is important - never check a type that is potentially smaller
                   1973:      # than half of the expected target width.
                   1974:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
                   1975:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
                   1976:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1977: /* end confdefs.h.  */
                   1978: $ac_includes_default
                   1979: int
                   1980: main ()
                   1981: {
                   1982: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1.1.1.4 ! misho    1983: test_array [0] = 0;
        !          1984: return test_array [0];
1.1.1.2   misho    1985: 
                   1986:   ;
                   1987:   return 0;
                   1988: }
                   1989: _ACEOF
                   1990: if ac_fn_c_try_compile "$LINENO"; then :
                   1991:   case $ac_type in #(
                   1992:   uint$2_t) :
                   1993:     eval "$3=yes" ;; #(
                   1994:   *) :
                   1995:     eval "$3=\$ac_type" ;;
                   1996: esac
                   1997: fi
                   1998: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1999:        if eval test \"x\$"$3"\" = x"no"; then :
                   2000: 
                   2001: else
                   2002:   break
                   2003: fi
                   2004:      done
                   2005: fi
                   2006: eval ac_res=\$$3
                   2007:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2008: $as_echo "$ac_res" >&6; }
                   2009:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2010: 
                   2011: } # ac_fn_c_find_uintX_t
                   2012: cat >config.log <<_ACEOF
                   2013: This file contains any messages produced by compilers while
                   2014: running configure, to aid debugging if configure makes a mistake.
                   2015: 
1.1.1.4 ! misho    2016: It was created by libnet $as_me 1.2, which was
        !          2017: generated by GNU Autoconf 2.69.  Invocation command line was
1.1.1.2   misho    2018: 
                   2019:   $ $0 $@
                   2020: 
                   2021: _ACEOF
                   2022: exec 5>>config.log
                   2023: {
                   2024: cat <<_ASUNAME
                   2025: ## --------- ##
                   2026: ## Platform. ##
                   2027: ## --------- ##
                   2028: 
                   2029: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2030: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2031: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2032: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2033: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2034: 
                   2035: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2036: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   2037: 
                   2038: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2039: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2040: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   2041: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   2042: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2043: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2044: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2045: 
                   2046: _ASUNAME
                   2047: 
                   2048: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2049: for as_dir in $PATH
                   2050: do
                   2051:   IFS=$as_save_IFS
                   2052:   test -z "$as_dir" && as_dir=.
                   2053:     $as_echo "PATH: $as_dir"
                   2054:   done
                   2055: IFS=$as_save_IFS
                   2056: 
                   2057: } >&5
                   2058: 
                   2059: cat >&5 <<_ACEOF
                   2060: 
                   2061: 
                   2062: ## ----------- ##
                   2063: ## Core tests. ##
                   2064: ## ----------- ##
                   2065: 
                   2066: _ACEOF
                   2067: 
                   2068: 
                   2069: # Keep a trace of the command line.
                   2070: # Strip out --no-create and --no-recursion so they do not pile up.
                   2071: # Strip out --silent because we don't want to record it for future runs.
                   2072: # Also quote any args containing shell meta-characters.
                   2073: # Make two passes to allow for proper duplicate-argument suppression.
1.1       misho    2074: ac_configure_args=
                   2075: ac_configure_args0=
                   2076: ac_configure_args1=
                   2077: ac_must_keep_next=false
                   2078: for ac_pass in 1 2
                   2079: do
                   2080:   for ac_arg
                   2081:   do
                   2082:     case $ac_arg in
                   2083:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2084:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2085:     | -silent | --silent | --silen | --sile | --sil)
                   2086:       continue ;;
1.1.1.2   misho    2087:     *\'*)
                   2088:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misho    2089:     esac
                   2090:     case $ac_pass in
1.1.1.2   misho    2091:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.1       misho    2092:     2)
1.1.1.2   misho    2093:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.1       misho    2094:       if test $ac_must_keep_next = true; then
1.1.1.2   misho    2095:        ac_must_keep_next=false # Got value, back to normal.
1.1       misho    2096:       else
1.1.1.2   misho    2097:        case $ac_arg in
                   2098:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2099:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2100:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2101:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2102:            case "$ac_configure_args0 " in
                   2103:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2104:            esac
                   2105:            ;;
                   2106:          -* ) ac_must_keep_next=true ;;
                   2107:        esac
                   2108:       fi
                   2109:       as_fn_append ac_configure_args " '$ac_arg'"
1.1       misho    2110:       ;;
                   2111:     esac
                   2112:   done
                   2113: done
1.1.1.2   misho    2114: { ac_configure_args0=; unset ac_configure_args0;}
                   2115: { ac_configure_args1=; unset ac_configure_args1;}
1.1       misho    2116: 
                   2117: # When interrupted or exit'd, cleanup temporary files, and complete
                   2118: # config.log.  We remove comments because anyway the quotes in there
                   2119: # would cause problems or look ugly.
1.1.1.2   misho    2120: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2121: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1       misho    2122: trap 'exit_status=$?
                   2123:   # Save into config.log some information that might help in debugging.
                   2124:   {
                   2125:     echo
                   2126: 
1.1.1.2   misho    2127:     $as_echo "## ---------------- ##
1.1       misho    2128: ## Cache variables. ##
1.1.1.2   misho    2129: ## ---------------- ##"
1.1       misho    2130:     echo
                   2131:     # The following way of writing the cache mishandles newlines in values,
1.1.1.2   misho    2132: (
                   2133:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2134:     eval ac_val=\$$ac_var
                   2135:     case $ac_val in #(
                   2136:     *${as_nl}*)
                   2137:       case $ac_var in #(
                   2138:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2139: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2140:       esac
                   2141:       case $ac_var in #(
                   2142:       _ | IFS | as_nl) ;; #(
                   2143:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2144:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2145:       esac ;;
                   2146:     esac
                   2147:   done
1.1       misho    2148:   (set) 2>&1 |
1.1.1.2   misho    2149:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2150:     *${as_nl}ac_space=\ *)
1.1       misho    2151:       sed -n \
1.1.1.2   misho    2152:        "s/'\''/'\''\\\\'\'''\''/g;
                   2153:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2154:       ;; #(
1.1       misho    2155:     *)
1.1.1.2   misho    2156:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1       misho    2157:       ;;
1.1.1.2   misho    2158:     esac |
                   2159:     sort
                   2160: )
1.1       misho    2161:     echo
                   2162: 
1.1.1.2   misho    2163:     $as_echo "## ----------------- ##
1.1       misho    2164: ## Output variables. ##
1.1.1.2   misho    2165: ## ----------------- ##"
1.1       misho    2166:     echo
                   2167:     for ac_var in $ac_subst_vars
                   2168:     do
1.1.1.2   misho    2169:       eval ac_val=\$$ac_var
                   2170:       case $ac_val in
                   2171:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2172:       esac
                   2173:       $as_echo "$ac_var='\''$ac_val'\''"
1.1       misho    2174:     done | sort
                   2175:     echo
                   2176: 
                   2177:     if test -n "$ac_subst_files"; then
1.1.1.2   misho    2178:       $as_echo "## ------------------- ##
                   2179: ## File substitutions. ##
                   2180: ## ------------------- ##"
1.1       misho    2181:       echo
                   2182:       for ac_var in $ac_subst_files
                   2183:       do
1.1.1.2   misho    2184:        eval ac_val=\$$ac_var
                   2185:        case $ac_val in
                   2186:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2187:        esac
                   2188:        $as_echo "$ac_var='\''$ac_val'\''"
1.1       misho    2189:       done | sort
                   2190:       echo
                   2191:     fi
                   2192: 
                   2193:     if test -s confdefs.h; then
1.1.1.2   misho    2194:       $as_echo "## ----------- ##
1.1       misho    2195: ## confdefs.h. ##
1.1.1.2   misho    2196: ## ----------- ##"
1.1       misho    2197:       echo
1.1.1.2   misho    2198:       cat confdefs.h
1.1       misho    2199:       echo
                   2200:     fi
                   2201:     test "$ac_signal" != 0 &&
1.1.1.2   misho    2202:       $as_echo "$as_me: caught signal $ac_signal"
                   2203:     $as_echo "$as_me: exit $exit_status"
1.1       misho    2204:   } >&5
1.1.1.2   misho    2205:   rm -f core *.core core.conftest.* &&
                   2206:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1       misho    2207:     exit $exit_status
1.1.1.2   misho    2208: ' 0
1.1       misho    2209: for ac_signal in 1 2 13 15; do
1.1.1.2   misho    2210:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.1       misho    2211: done
                   2212: ac_signal=0
                   2213: 
                   2214: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.1.1.2   misho    2215: rm -f -r conftest* confdefs.h
                   2216: 
                   2217: $as_echo "/* confdefs.h */" > confdefs.h
1.1       misho    2218: 
                   2219: # Predefined preprocessor variables.
                   2220: 
                   2221: cat >>confdefs.h <<_ACEOF
                   2222: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2223: _ACEOF
                   2224: 
                   2225: cat >>confdefs.h <<_ACEOF
                   2226: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2227: _ACEOF
                   2228: 
                   2229: cat >>confdefs.h <<_ACEOF
                   2230: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2231: _ACEOF
                   2232: 
                   2233: cat >>confdefs.h <<_ACEOF
                   2234: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2235: _ACEOF
                   2236: 
                   2237: cat >>confdefs.h <<_ACEOF
                   2238: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2239: _ACEOF
                   2240: 
1.1.1.2   misho    2241: cat >>confdefs.h <<_ACEOF
                   2242: #define PACKAGE_URL "$PACKAGE_URL"
                   2243: _ACEOF
                   2244: 
1.1       misho    2245: 
                   2246: # Let the site file select an alternate cache file if it wants to.
1.1.1.2   misho    2247: # Prefer an explicitly selected file to automatically selected ones.
                   2248: ac_site_file1=NONE
                   2249: ac_site_file2=NONE
                   2250: if test -n "$CONFIG_SITE"; then
                   2251:   # We do not want a PATH search for config.site.
                   2252:   case $CONFIG_SITE in #((
                   2253:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2254:     */*) ac_site_file1=$CONFIG_SITE;;
                   2255:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2256:   esac
                   2257: elif test "x$prefix" != xNONE; then
                   2258:   ac_site_file1=$prefix/share/config.site
                   2259:   ac_site_file2=$prefix/etc/config.site
                   2260: else
                   2261:   ac_site_file1=$ac_default_prefix/share/config.site
                   2262:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2263: fi
                   2264: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2265: do
                   2266:   test "x$ac_site_file" = xNONE && continue
                   2267:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2268:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2269: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.1       misho    2270:     sed 's/^/| /' "$ac_site_file" >&5
1.1.1.2   misho    2271:     . "$ac_site_file" \
                   2272:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2273: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2274: as_fn_error $? "failed to load site script $ac_site_file
                   2275: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2276:   fi
                   2277: done
                   2278: 
                   2279: if test -r "$cache_file"; then
1.1.1.2   misho    2280:   # Some versions of bash will fail to source /dev/null (special files
                   2281:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2282:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2283:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2284: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.1       misho    2285:     case $cache_file in
1.1.1.2   misho    2286:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2287:       *)                      . "./$cache_file";;
1.1       misho    2288:     esac
                   2289:   fi
                   2290: else
1.1.1.2   misho    2291:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2292: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.1       misho    2293:   >$cache_file
                   2294: fi
                   2295: 
                   2296: # Check that the precious variables saved in the cache have kept the same
                   2297: # value.
                   2298: ac_cache_corrupted=false
1.1.1.2   misho    2299: for ac_var in $ac_precious_vars; do
1.1       misho    2300:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2301:   eval ac_new_set=\$ac_env_${ac_var}_set
1.1.1.2   misho    2302:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2303:   eval ac_new_val=\$ac_env_${ac_var}_value
1.1       misho    2304:   case $ac_old_set,$ac_new_set in
                   2305:     set,)
1.1.1.2   misho    2306:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2307: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1       misho    2308:       ac_cache_corrupted=: ;;
                   2309:     ,set)
1.1.1.2   misho    2310:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2311: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1       misho    2312:       ac_cache_corrupted=: ;;
                   2313:     ,);;
                   2314:     *)
                   2315:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.1.1.2   misho    2316:        # differences in whitespace do not lead to failure.
                   2317:        ac_old_val_w=`echo x $ac_old_val`
                   2318:        ac_new_val_w=`echo x $ac_new_val`
                   2319:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2320:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2321: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2322:          ac_cache_corrupted=:
                   2323:        else
                   2324:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2325: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2326:          eval $ac_var=\$ac_old_val
                   2327:        fi
                   2328:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2329: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2330:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2331: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.1       misho    2332:       fi;;
                   2333:   esac
                   2334:   # Pass precious variables to config.status.
                   2335:   if test "$ac_new_set" = set; then
                   2336:     case $ac_new_val in
1.1.1.2   misho    2337:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misho    2338:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2339:     esac
                   2340:     case " $ac_configure_args " in
                   2341:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.1.1.2   misho    2342:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.1       misho    2343:     esac
                   2344:   fi
                   2345: done
                   2346: if $ac_cache_corrupted; then
1.1.1.2   misho    2347:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2348: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2349:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2350: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2351:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2352: fi
                   2353: ## -------------------- ##
                   2354: ## Main body of script. ##
                   2355: ## -------------------- ##
1.1       misho    2356: 
                   2357: ac_ext=c
                   2358: ac_cpp='$CPP $CPPFLAGS'
                   2359: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2360: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2361: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2362: 
                   2363: 
1.1.1.4 ! misho    2364: 
        !          2365: # Visible in resulting configure script, e.g. with ./configure --version
        !          2366: 
        !          2367: 
        !          2368: 
        !          2369: # the autotools and libtool should be at least these versions
        !          2370: 
        !          2371: 
        !          2372: 
        !          2373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a POSIX-compliant shell" >&5
        !          2374: $as_echo_n "checking for a POSIX-compliant shell... " >&6; }
        !          2375:    if ${ac_cv_path_shell+:} false; then :
        !          2376:   $as_echo_n "(cached) " >&6
        !          2377: else
        !          2378:   ac_command='
        !          2379:         # Test the noclobber option, using the portable POSIX.2 syntax.
        !          2380:         set -C
        !          2381:         rm -f conftest.c
        !          2382:         >conftest.c || exit
        !          2383:         >|conftest.c || exit
        !          2384:         !>conftest.c || exit
        !          2385:         # Test that $(...) works.
        !          2386:         test "$(expr 3 + 4)" -eq 7 || exit
        !          2387:       '
        !          2388:       # Solaris 11 /bin/sh (AT&T Research) 93u 2011-02-08 has a file
        !          2389:       # descriptor bug that breaks zgrep and is hard to test for
        !          2390:       # directly.  At some point $(...) is reading a pipe from the
        !          2391:       # subshell, but the pipe is also open in the parent shell, so
        !          2392:       # the read deadlocks.  Prefer some other shell if available.
        !          2393:       ac_maybe_solaris_sh_bug='test "${.sh.version}"'
        !          2394: 
        !          2395:       ac_cv_path_shell=no
        !          2396: 
        !          2397:       case $SHELL in
        !          2398:       /*)
        !          2399:         rm -f conftest.c
        !          2400:         if ("$SHELL" -c "$ac_command") 2>/dev/null; then
        !          2401:           "$SHELL" -c "$ac_maybe_solaris_sh_bug" 2>/dev/null ||
        !          2402:             ac_cv_path_shell=$SHELL
        !          2403:         fi
        !          2404:       esac
        !          2405: 
        !          2406:       case $ac_cv_path_shell in
        !          2407:       no)
        !          2408:         # Prefer shells that are more likely to be installed in the
        !          2409:         # same place on all hosts of this platform.  Therefore, prefer
        !          2410:         # shells in /bin and /usr/bin to shells in the installer's
        !          2411:         # PATH.  Also, loop through PATH first and then through
        !          2412:         # shells, since less-"nice" shells in /bin and /usr/bin are
        !          2413:         # more likely to be installed than "nicer" shells elsewhere.
        !          2414:         ac_break_if_good_shell=:
        !          2415:         as_save_IFS=$IFS; IFS=:
        !          2416:         for as_dir in /bin /usr/bin $PATH
        !          2417:         do
        !          2418:           IFS=$as_save_IFS
        !          2419:           case $as_dir in
        !          2420:           /*)
        !          2421:             for ac_base in sh bash ksh sh5; do
        !          2422:               rm -f conftest.c
        !          2423:               if ("$as_dir/$ac_base" -c "$ac_command") 2>/dev/null; then
        !          2424:                 if "$as_dir/$ac_base" -c "$ac_maybe_solaris_sh_bug" 2>/dev/null
        !          2425:                 then
        !          2426:                   test "$ac_cv_path_shell" = no
        !          2427:                 else
        !          2428:                   ac_break_if_good_shell=break
        !          2429:                   :
        !          2430:                 fi && ac_cv_path_shell=$as_dir/$ac_base
        !          2431:                 $ac_break_if_good_shell
        !          2432:               fi
        !          2433:             done
        !          2434:             $ac_break_if_good_shell
        !          2435:           esac
        !          2436:         done
        !          2437:         rm -f conftest.c
        !          2438:       esac
        !          2439: fi
        !          2440: 
        !          2441:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_shell" >&5
        !          2442: $as_echo "$ac_cv_path_shell" >&6; }
        !          2443:    SHELL=$ac_cv_path_shell
        !          2444:    if test "$SHELL" = no; then
        !          2445:      SHELL=/bin/sh
        !          2446:      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using $SHELL, even though it does not conform to POSIX" >&5
        !          2447: $as_echo "$as_me: WARNING: using $SHELL, even though it does not conform to POSIX" >&2;}
        !          2448:    fi
        !          2449:    if "$SHELL" -c "$ac_maybe_solaris_sh_bug" 2>/dev/null; then
        !          2450:      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using $SHELL, even though it may have file descriptor bugs" >&5
        !          2451: $as_echo "$as_me: WARNING: using $SHELL, even though it may have file descriptor bugs" >&2;}
        !          2452:    fi
        !          2453: 
        !          2454: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
        !          2455: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
        !          2456: if ${ac_cv_path_SED+:} false; then :
        !          2457:   $as_echo_n "(cached) " >&6
        !          2458: else
        !          2459:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
        !          2460:      for ac_i in 1 2 3 4 5 6 7; do
        !          2461:        ac_script="$ac_script$as_nl$ac_script"
        !          2462:      done
        !          2463:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
        !          2464:      { ac_script=; unset ac_script;}
        !          2465:      if test -z "$SED"; then
        !          2466:   ac_path_SED_found=false
        !          2467:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          2468:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2469: for as_dir in $PATH
        !          2470: do
        !          2471:   IFS=$as_save_IFS
        !          2472:   test -z "$as_dir" && as_dir=.
        !          2473:     for ac_prog in sed gsed; do
        !          2474:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          2475:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
        !          2476:       as_fn_executable_p "$ac_path_SED" || continue
        !          2477: # Check for GNU ac_path_SED and select it if it is found.
        !          2478:   # Check for GNU $ac_path_SED
        !          2479: case `"$ac_path_SED" --version 2>&1` in
        !          2480: *GNU*)
        !          2481:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
        !          2482: *)
        !          2483:   ac_count=0
        !          2484:   $as_echo_n 0123456789 >"conftest.in"
        !          2485:   while :
        !          2486:   do
        !          2487:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          2488:     mv "conftest.tmp" "conftest.in"
        !          2489:     cp "conftest.in" "conftest.nl"
        !          2490:     $as_echo '' >> "conftest.nl"
        !          2491:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          2492:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          2493:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          2494:     if test $ac_count -gt ${ac_path_SED_max-0}; then
        !          2495:       # Best one so far, save it but keep looking for a better one
        !          2496:       ac_cv_path_SED="$ac_path_SED"
        !          2497:       ac_path_SED_max=$ac_count
        !          2498:     fi
        !          2499:     # 10*(2^10) chars as input seems more than enough
        !          2500:     test $ac_count -gt 10 && break
        !          2501:   done
        !          2502:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          2503: esac
        !          2504: 
        !          2505:       $ac_path_SED_found && break 3
        !          2506:     done
        !          2507:   done
        !          2508:   done
        !          2509: IFS=$as_save_IFS
        !          2510:   if test -z "$ac_cv_path_SED"; then
        !          2511:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
        !          2512:   fi
        !          2513: else
        !          2514:   ac_cv_path_SED=$SED
        !          2515: fi
        !          2516: 
        !          2517: fi
        !          2518: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
        !          2519: $as_echo "$ac_cv_path_SED" >&6; }
        !          2520:  SED="$ac_cv_path_SED"
        !          2521:   rm -f conftest.sed
        !          2522: 
        !          2523: for ac_prog in chmod
        !          2524: do
        !          2525:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          2526: set dummy $ac_prog; ac_word=$2
        !          2527: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          2528: $as_echo_n "checking for $ac_word... " >&6; }
        !          2529: if ${ac_cv_prog_CHMOD+:} false; then :
        !          2530:   $as_echo_n "(cached) " >&6
        !          2531: else
        !          2532:   if test -n "$CHMOD"; then
        !          2533:   ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
        !          2534: else
        !          2535: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          2536: for as_dir in $PATH
        !          2537: do
        !          2538:   IFS=$as_save_IFS
        !          2539:   test -z "$as_dir" && as_dir=.
        !          2540:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          2541:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          2542:     ac_cv_prog_CHMOD="$ac_prog"
        !          2543:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          2544:     break 2
        !          2545:   fi
        !          2546: done
        !          2547:   done
        !          2548: IFS=$as_save_IFS
        !          2549: 
        !          2550: fi
        !          2551: fi
        !          2552: CHMOD=$ac_cv_prog_CHMOD
        !          2553: if test -n "$CHMOD"; then
        !          2554:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
        !          2555: $as_echo "$CHMOD" >&6; }
        !          2556: else
        !          2557:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2558: $as_echo "no" >&6; }
        !          2559: fi
        !          2560: 
        !          2561: 
        !          2562:   test -n "$CHMOD" && break
        !          2563: done
        !          2564: test -n "$CHMOD" || CHMOD="true"
        !          2565: 
1.1       misho    2566: ac_aux_dir=
1.1.1.2   misho    2567: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2568:   if test -f "$ac_dir/install-sh"; then
1.1       misho    2569:     ac_aux_dir=$ac_dir
                   2570:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2571:     break
1.1.1.2   misho    2572:   elif test -f "$ac_dir/install.sh"; then
1.1       misho    2573:     ac_aux_dir=$ac_dir
                   2574:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2575:     break
1.1.1.2   misho    2576:   elif test -f "$ac_dir/shtool"; then
1.1       misho    2577:     ac_aux_dir=$ac_dir
                   2578:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2579:     break
                   2580:   fi
                   2581: done
                   2582: if test -z "$ac_aux_dir"; then
1.1.1.2   misho    2583:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2584: fi
                   2585: 
                   2586: # These three variables are undocumented and unsupported,
                   2587: # and are intended to be withdrawn in a future Autoconf release.
                   2588: # They can cause serious problems if a builder's source tree is in a directory
                   2589: # whose full name contains unusual characters.
                   2590: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2591: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2592: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2593: 
1.1       misho    2594: 
                   2595: # Make sure we can run config.sub.
1.1.1.2   misho    2596: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   2597:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.1       misho    2598: 
1.1.1.2   misho    2599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   2600: $as_echo_n "checking build system type... " >&6; }
                   2601: if ${ac_cv_build+:} false; then :
                   2602:   $as_echo_n "(cached) " >&6
                   2603: else
                   2604:   ac_build_alias=$build_alias
                   2605: test "x$ac_build_alias" = x &&
                   2606:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2607: test "x$ac_build_alias" = x &&
                   2608:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   2609: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   2610:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   2611: 
                   2612: fi
                   2613: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   2614: $as_echo "$ac_cv_build" >&6; }
                   2615: case $ac_cv_build in
                   2616: *-*-*) ;;
                   2617: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   2618: esac
1.1       misho    2619: build=$ac_cv_build
1.1.1.2   misho    2620: ac_save_IFS=$IFS; IFS='-'
                   2621: set x $ac_cv_build
                   2622: shift
                   2623: build_cpu=$1
                   2624: build_vendor=$2
                   2625: shift; shift
                   2626: # Remember, the first character of IFS is used to create $*,
                   2627: # except with old shells:
                   2628: build_os=$*
                   2629: IFS=$ac_save_IFS
                   2630: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   2631: 
                   2632: 
                   2633: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   2634: $as_echo_n "checking host system type... " >&6; }
                   2635: if ${ac_cv_host+:} false; then :
                   2636:   $as_echo_n "(cached) " >&6
                   2637: else
                   2638:   if test "x$host_alias" = x; then
                   2639:   ac_cv_host=$ac_cv_build
                   2640: else
                   2641:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   2642:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
                   2643: fi
1.1       misho    2644: 
                   2645: fi
1.1.1.2   misho    2646: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   2647: $as_echo "$ac_cv_host" >&6; }
                   2648: case $ac_cv_host in
                   2649: *-*-*) ;;
                   2650: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   2651: esac
1.1       misho    2652: host=$ac_cv_host
1.1.1.2   misho    2653: ac_save_IFS=$IFS; IFS='-'
                   2654: set x $ac_cv_host
                   2655: shift
                   2656: host_cpu=$1
                   2657: host_vendor=$2
                   2658: shift; shift
                   2659: # Remember, the first character of IFS is used to create $*,
                   2660: # except with old shells:
                   2661: host_os=$*
                   2662: IFS=$ac_save_IFS
                   2663: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   2664: 
                   2665: 
                   2666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
                   2667: $as_echo_n "checking target system type... " >&6; }
                   2668: if ${ac_cv_target+:} false; then :
                   2669:   $as_echo_n "(cached) " >&6
                   2670: else
                   2671:   if test "x$target_alias" = x; then
                   2672:   ac_cv_target=$ac_cv_host
                   2673: else
                   2674:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
                   2675:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
                   2676: fi
1.1       misho    2677: 
                   2678: fi
1.1.1.2   misho    2679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
                   2680: $as_echo "$ac_cv_target" >&6; }
                   2681: case $ac_cv_target in
                   2682: *-*-*) ;;
                   2683: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
                   2684: esac
1.1       misho    2685: target=$ac_cv_target
1.1.1.2   misho    2686: ac_save_IFS=$IFS; IFS='-'
                   2687: set x $ac_cv_target
                   2688: shift
                   2689: target_cpu=$1
                   2690: target_vendor=$2
                   2691: shift; shift
                   2692: # Remember, the first character of IFS is used to create $*,
                   2693: # except with old shells:
                   2694: target_os=$*
                   2695: IFS=$ac_save_IFS
                   2696: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1.1       misho    2697: 
                   2698: 
                   2699: # The aliases save the names the user supplied, while $host etc.
                   2700: # will get canonicalized.
                   2701: test -n "$target_alias" &&
                   2702:   test "$program_prefix$program_suffix$program_transform_name" = \
                   2703:     NONENONEs,x,x, &&
                   2704:   program_prefix=${target_alias}-
                   2705: 
1.1.1.2   misho    2706: 
1.1.1.4 ! misho    2707: am__api_version='1.16'
1.1.1.2   misho    2708: 
1.1       misho    2709: # Find a good install program.  We prefer a C program (faster),
                   2710: # so one script is as good as another.  But avoid the broken or
                   2711: # incompatible versions:
                   2712: # SysV /etc/install, /usr/sbin/install
                   2713: # SunOS /usr/etc/install
                   2714: # IRIX /sbin/install
                   2715: # AIX /bin/install
                   2716: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2717: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2718: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2719: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.1.1.2   misho    2720: # OS/2's system install, which has a completely different semantic
1.1       misho    2721: # ./install, which can be erroneously created by make from ./install.sh.
1.1.1.2   misho    2722: # Reject install programs that cannot install multiple files.
                   2723: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2724: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       misho    2725: if test -z "$INSTALL"; then
1.1.1.2   misho    2726: if ${ac_cv_path_install+:} false; then :
                   2727:   $as_echo_n "(cached) " >&6
1.1       misho    2728: else
                   2729:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2730: for as_dir in $PATH
                   2731: do
                   2732:   IFS=$as_save_IFS
                   2733:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2734:     # Account for people who put trailing slashes in PATH elements.
                   2735: case $as_dir/ in #((
                   2736:   ./ | .// | /[cC]/* | \
1.1       misho    2737:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.1.1.2   misho    2738:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.1       misho    2739:   /usr/ucb/* ) ;;
                   2740:   *)
                   2741:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2742:     # Don't use installbsd from OSF since it installs stuff as root
                   2743:     # by default.
                   2744:     for ac_prog in ginstall scoinst install; do
                   2745:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    2746:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1.1.2   misho    2747:          if test $ac_prog = install &&
                   2748:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2749:            # AIX install.  It has an incompatible calling convention.
                   2750:            :
                   2751:          elif test $ac_prog = install &&
                   2752:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2753:            # program-specific install script used by HP pwplus--don't use.
                   2754:            :
                   2755:          else
                   2756:            rm -rf conftest.one conftest.two conftest.dir
                   2757:            echo one > conftest.one
                   2758:            echo two > conftest.two
                   2759:            mkdir conftest.dir
                   2760:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2761:              test -s conftest.one && test -s conftest.two &&
                   2762:              test -s conftest.dir/conftest.one &&
                   2763:              test -s conftest.dir/conftest.two
                   2764:            then
                   2765:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2766:              break 3
                   2767:            fi
                   2768:          fi
                   2769:        fi
1.1       misho    2770:       done
                   2771:     done
                   2772:     ;;
                   2773: esac
                   2774: 
1.1.1.2   misho    2775:   done
                   2776: IFS=$as_save_IFS
                   2777: 
                   2778: rm -rf conftest.one conftest.two conftest.dir
1.1       misho    2779: 
                   2780: fi
                   2781:   if test "${ac_cv_path_install+set}" = set; then
                   2782:     INSTALL=$ac_cv_path_install
                   2783:   else
1.1.1.2   misho    2784:     # As a last resort, use the slow shell script.  Don't cache a
                   2785:     # value for INSTALL within a source directory, because that will
1.1       misho    2786:     # break other packages using the cache if that directory is
1.1.1.2   misho    2787:     # removed, or if the value is a relative name.
1.1       misho    2788:     INSTALL=$ac_install_sh
                   2789:   fi
                   2790: fi
1.1.1.2   misho    2791: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2792: $as_echo "$INSTALL" >&6; }
1.1       misho    2793: 
                   2794: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2795: # It thinks the first close brace ends the variable substitution.
                   2796: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2797: 
                   2798: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2799: 
                   2800: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2801: 
1.1.1.2   misho    2802: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2803: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2804: # Reject unsafe characters in $srcdir or the absolute working directory
                   2805: # name.  Accept space and tab only in the latter.
                   2806: am_lf='
                   2807: '
                   2808: case `pwd` in
                   2809:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2810:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2811: esac
                   2812: case $srcdir in
                   2813:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.1.1.4 ! misho    2814:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.1.1.2   misho    2815: esac
                   2816: 
1.1.1.4 ! misho    2817: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       misho    2818: # arguments.  Must try -L first in case configure is actually a
                   2819: # symlink; some systems play weird games with the mod time of symlinks
                   2820: # (eg FreeBSD returns the mod time of the symlink's containing
                   2821: # directory).
                   2822: if (
1.1.1.4 ! misho    2823:    am_has_slept=no
        !          2824:    for am_try in 1 2; do
        !          2825:      echo "timestamp, slept: $am_has_slept" > conftest.file
        !          2826:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
        !          2827:      if test "$*" = "X"; then
        !          2828:        # -L didn't work.
        !          2829:        set X `ls -t "$srcdir/configure" conftest.file`
        !          2830:      fi
        !          2831:      if test "$*" != "X $srcdir/configure conftest.file" \
        !          2832:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       misho    2833: 
1.1.1.4 ! misho    2834:        # If neither matched, then we have a broken ls.  This can happen
        !          2835:        # if, for instance, CONFIG_SHELL is bash and it inherits a
        !          2836:        # broken ls alias from the environment.  This has actually
        !          2837:        # happened.  Such a system could not be considered "sane".
        !          2838:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
        !          2839:   alias in your environment" "$LINENO" 5
        !          2840:      fi
        !          2841:      if test "$2" = conftest.file || test $am_try -eq 2; then
        !          2842:        break
        !          2843:      fi
        !          2844:      # Just in case.
        !          2845:      sleep 1
        !          2846:      am_has_slept=yes
        !          2847:    done
1.1       misho    2848:    test "$2" = conftest.file
                   2849:    )
                   2850: then
                   2851:    # Ok.
                   2852:    :
                   2853: else
1.1.1.2   misho    2854:    as_fn_error $? "newly created file is older than distributed files!
                   2855: Check your system clock" "$LINENO" 5
1.1       misho    2856: fi
1.1.1.2   misho    2857: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2858: $as_echo "yes" >&6; }
1.1.1.4 ! misho    2859: # If we didn't sleep, we still need to ensure time stamps of config.status and
        !          2860: # generated files are strictly newer.
        !          2861: am_sleep_pid=
        !          2862: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
        !          2863:   ( sleep 1 ) &
        !          2864:   am_sleep_pid=$!
        !          2865: fi
        !          2866: 
        !          2867: rm -f conftest.file
        !          2868: 
1.1       misho    2869: test "$program_prefix" != NONE &&
1.1.1.2   misho    2870:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       misho    2871: # Use a double $ so make ignores it.
                   2872: test "$program_suffix" != NONE &&
1.1.1.2   misho    2873:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2874: # Double any \ or $.
1.1       misho    2875: # By default was `s,x,x', remove it if useless.
1.1.1.2   misho    2876: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2877: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.1       misho    2878: 
1.1.1.4 ! misho    2879: # Expand $ac_aux_dir to an absolute path.
        !          2880: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.1       misho    2881: 
1.1.1.2   misho    2882: if test x"${MISSING+set}" != xset; then
                   2883:   case $am_aux_dir in
                   2884:   *\ * | *\    *)
                   2885:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2886:   *)
                   2887:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2888:   esac
                   2889: fi
1.1       misho    2890: # Use eval to expand $SHELL
1.1.1.4 ! misho    2891: if eval "$MISSING --is-lightweight"; then
        !          2892:   am_missing_run="$MISSING "
1.1       misho    2893: else
                   2894:   am_missing_run=
1.1.1.4 ! misho    2895:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
        !          2896: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.1       misho    2897: fi
                   2898: 
1.1.1.4 ! misho    2899: if test x"${install_sh+set}" != xset; then
1.1.1.2   misho    2900:   case $am_aux_dir in
                   2901:   *\ * | *\    *)
                   2902:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2903:   *)
                   2904:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2905:   esac
                   2906: fi
                   2907: 
1.1.1.4 ! misho    2908: # Installed binaries are usually stripped using 'strip' when the user
        !          2909: # run "make install-strip".  However 'strip' might not be the right
1.1.1.2   misho    2910: # tool to use in cross-compilation environments, therefore Automake
1.1.1.4 ! misho    2911: # will honor the 'STRIP' environment variable to overrule this program.
1.1.1.2   misho    2912: if test "$cross_compiling" != no; then
                   2913:   if test -n "$ac_tool_prefix"; then
                   2914:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2915: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2917: $as_echo_n "checking for $ac_word... " >&6; }
                   2918: if ${ac_cv_prog_STRIP+:} false; then :
                   2919:   $as_echo_n "(cached) " >&6
1.1       misho    2920: else
1.1.1.2   misho    2921:   if test -n "$STRIP"; then
                   2922:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.1       misho    2923: else
                   2924: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2925: for as_dir in $PATH
                   2926: do
                   2927:   IFS=$as_save_IFS
                   2928:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2929:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    2930:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    2931:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2932:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2933:     break 2
                   2934:   fi
                   2935: done
1.1.1.2   misho    2936:   done
                   2937: IFS=$as_save_IFS
1.1       misho    2938: 
                   2939: fi
                   2940: fi
1.1.1.2   misho    2941: STRIP=$ac_cv_prog_STRIP
                   2942: if test -n "$STRIP"; then
                   2943:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2944: $as_echo "$STRIP" >&6; }
1.1       misho    2945: else
1.1.1.2   misho    2946:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2947: $as_echo "no" >&6; }
1.1       misho    2948: fi
                   2949: 
                   2950: 
                   2951: fi
1.1.1.2   misho    2952: if test -z "$ac_cv_prog_STRIP"; then
                   2953:   ac_ct_STRIP=$STRIP
                   2954:   # Extract the first word of "strip", so it can be a program name with args.
                   2955: set dummy strip; ac_word=$2
                   2956: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2957: $as_echo_n "checking for $ac_word... " >&6; }
                   2958: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2959:   $as_echo_n "(cached) " >&6
1.1       misho    2960: else
1.1.1.2   misho    2961:   if test -n "$ac_ct_STRIP"; then
                   2962:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       misho    2963: else
                   2964: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2965: for as_dir in $PATH
                   2966: do
                   2967:   IFS=$as_save_IFS
                   2968:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2969:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    2970:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    2971:     ac_cv_prog_ac_ct_STRIP="strip"
                   2972:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2973:     break 2
                   2974:   fi
                   2975: done
1.1.1.2   misho    2976:   done
                   2977: IFS=$as_save_IFS
1.1       misho    2978: 
                   2979: fi
                   2980: fi
1.1.1.2   misho    2981: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2982: if test -n "$ac_ct_STRIP"; then
                   2983:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2984: $as_echo "$ac_ct_STRIP" >&6; }
                   2985: else
                   2986:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2987: $as_echo "no" >&6; }
                   2988: fi
                   2989: 
                   2990:   if test "x$ac_ct_STRIP" = x; then
                   2991:     STRIP=":"
                   2992:   else
                   2993:     case $cross_compiling:$ac_tool_warned in
                   2994: yes:)
                   2995: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2996: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2997: ac_tool_warned=yes ;;
                   2998: esac
                   2999:     STRIP=$ac_ct_STRIP
                   3000:   fi
1.1       misho    3001: else
1.1.1.2   misho    3002:   STRIP="$ac_cv_prog_STRIP"
1.1       misho    3003: fi
                   3004: 
                   3005: fi
1.1.1.2   misho    3006: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   3007: 
                   3008: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   3009: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   3010: if test -z "$MKDIR_P"; then
                   3011:   if ${ac_cv_path_mkdir+:} false; then :
                   3012:   $as_echo_n "(cached) " >&6
1.1       misho    3013: else
1.1.1.2   misho    3014:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3015: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   3016: do
                   3017:   IFS=$as_save_IFS
                   3018:   test -z "$as_dir" && as_dir=.
                   3019:     for ac_prog in mkdir gmkdir; do
                   3020:         for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    3021:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.1.1.2   misho    3022:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   3023:             'mkdir (GNU coreutils) '* | \
                   3024:             'mkdir (coreutils) '* | \
                   3025:             'mkdir (fileutils) '4.1*)
                   3026:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   3027:               break 3;;
                   3028:           esac
                   3029:         done
                   3030:        done
                   3031:   done
                   3032: IFS=$as_save_IFS
                   3033: 
                   3034: fi
                   3035: 
                   3036:   test -d ./--version && rmdir ./--version
                   3037:   if test "${ac_cv_path_mkdir+set}" = set; then
                   3038:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3039:   else
                   3040:     # As a last resort, use the slow shell script.  Don't cache a
                   3041:     # value for MKDIR_P within a source directory, because that will
                   3042:     # break other packages using the cache if that directory is
                   3043:     # removed, or if the value is a relative name.
                   3044:     MKDIR_P="$ac_install_sh -d"
                   3045:   fi
                   3046: fi
                   3047: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3048: $as_echo "$MKDIR_P" >&6; }
                   3049: 
                   3050: for ac_prog in gawk mawk nawk awk
                   3051: do
                   3052:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3053: set dummy $ac_prog; ac_word=$2
                   3054: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3055: $as_echo_n "checking for $ac_word... " >&6; }
                   3056: if ${ac_cv_prog_AWK+:} false; then :
                   3057:   $as_echo_n "(cached) " >&6
                   3058: else
                   3059:   if test -n "$AWK"; then
                   3060:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1.1       misho    3061: else
                   3062: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3063: for as_dir in $PATH
                   3064: do
                   3065:   IFS=$as_save_IFS
                   3066:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3067:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    3068:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    3069:     ac_cv_prog_AWK="$ac_prog"
                   3070:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3071:     break 2
                   3072:   fi
                   3073: done
1.1.1.2   misho    3074:   done
                   3075: IFS=$as_save_IFS
1.1       misho    3076: 
                   3077: fi
                   3078: fi
1.1.1.2   misho    3079: AWK=$ac_cv_prog_AWK
                   3080: if test -n "$AWK"; then
                   3081:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3082: $as_echo "$AWK" >&6; }
1.1       misho    3083: else
1.1.1.2   misho    3084:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3085: $as_echo "no" >&6; }
1.1       misho    3086: fi
                   3087: 
1.1.1.2   misho    3088: 
                   3089:   test -n "$AWK" && break
                   3090: done
                   3091: 
                   3092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3093: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3094: set x ${MAKE-make}
                   3095: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3096: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3097:   $as_echo_n "(cached) " >&6
1.1       misho    3098: else
1.1.1.2   misho    3099:   cat >conftest.make <<\_ACEOF
                   3100: SHELL = /bin/sh
                   3101: all:
                   3102:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   3103: _ACEOF
                   3104: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3105: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3106:   *@@@%%%=?*=@@@%%%*)
                   3107:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3108:   *)
                   3109:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3110: esac
                   3111: rm -f conftest.make
                   3112: fi
                   3113: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3114:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3115: $as_echo "yes" >&6; }
                   3116:   SET_MAKE=
                   3117: else
                   3118:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3119: $as_echo "no" >&6; }
                   3120:   SET_MAKE="MAKE=${MAKE-make}"
1.1       misho    3121: fi
                   3122: 
1.1.1.2   misho    3123: rm -rf .tst 2>/dev/null
                   3124: mkdir .tst 2>/dev/null
                   3125: if test -d .tst; then
                   3126:   am__leading_dot=.
                   3127: else
                   3128:   am__leading_dot=_
                   3129: fi
                   3130: rmdir .tst 2>/dev/null
                   3131: 
1.1.1.4 ! misho    3132: # Check whether --enable-silent-rules was given.
        !          3133: if test "${enable_silent_rules+set}" = set; then :
        !          3134:   enableval=$enable_silent_rules;
        !          3135: fi
        !          3136: 
        !          3137: case $enable_silent_rules in # (((
        !          3138:   yes) AM_DEFAULT_VERBOSITY=0;;
        !          3139:    no) AM_DEFAULT_VERBOSITY=1;;
        !          3140:     *) AM_DEFAULT_VERBOSITY=1;;
        !          3141: esac
        !          3142: am_make=${MAKE-make}
        !          3143: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
        !          3144: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
        !          3145: if ${am_cv_make_support_nested_variables+:} false; then :
        !          3146:   $as_echo_n "(cached) " >&6
        !          3147: else
        !          3148:   if $as_echo 'TRUE=$(BAR$(V))
        !          3149: BAR0=false
        !          3150: BAR1=true
        !          3151: V=1
        !          3152: am__doit:
        !          3153:        @$(TRUE)
        !          3154: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
        !          3155:   am_cv_make_support_nested_variables=yes
        !          3156: else
        !          3157:   am_cv_make_support_nested_variables=no
        !          3158: fi
        !          3159: fi
        !          3160: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
        !          3161: $as_echo "$am_cv_make_support_nested_variables" >&6; }
        !          3162: if test $am_cv_make_support_nested_variables = yes; then
        !          3163:     AM_V='$(V)'
        !          3164:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
        !          3165: else
        !          3166:   AM_V=$AM_DEFAULT_VERBOSITY
        !          3167:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
        !          3168: fi
        !          3169: AM_BACKSLASH='\'
        !          3170: 
1.1.1.2   misho    3171: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3172:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3173:   # is not polluted with repeated "-I."
                   3174:   am__isrc=' -I$(srcdir)'
                   3175:   # test to see if srcdir already configured
                   3176:   if test -f $srcdir/config.status; then
                   3177:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3178:   fi
                   3179: fi
                   3180: 
                   3181: # test whether we have cygpath
                   3182: if test -z "$CYGPATH_W"; then
                   3183:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3184:     CYGPATH_W='cygpath -w'
                   3185:   else
                   3186:     CYGPATH_W=echo
                   3187:   fi
1.1       misho    3188: fi
1.1.1.2   misho    3189: 
                   3190: 
                   3191: # Define the identity of the package.
                   3192:  PACKAGE='libnet'
1.1.1.4 ! misho    3193:  VERSION='1.2'
1.1.1.2   misho    3194: 
                   3195: 
                   3196: cat >>confdefs.h <<_ACEOF
                   3197: #define PACKAGE "$PACKAGE"
                   3198: _ACEOF
                   3199: 
                   3200: 
                   3201: cat >>confdefs.h <<_ACEOF
                   3202: #define VERSION "$VERSION"
                   3203: _ACEOF
                   3204: 
                   3205: # Some tools Automake needs.
                   3206: 
                   3207: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3208: 
                   3209: 
                   3210: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3211: 
                   3212: 
                   3213: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3214: 
                   3215: 
                   3216: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3217: 
                   3218: 
                   3219: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       misho    3220: 
1.1.1.4 ! misho    3221: # For better backward compatibility.  To be removed once Automake 1.9.x
        !          3222: # dies out for good.  For more background, see:
        !          3223: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
        !          3224: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
        !          3225: mkdir_p='$(MKDIR_P)'
1.1.1.2   misho    3226: 
1.1.1.4 ! misho    3227: # We need awk for the "check" target (and possibly the TAP driver).  The
        !          3228: # system "awk" is bad on some platforms.
        !          3229: # Always define AMTAR for backward compatibility.  Yes, it's still used
        !          3230: # in the wild :-(  We should find a proper way to deprecate it ...
        !          3231: AMTAR='$${TAR-tar}'
1.1.1.2   misho    3232: 
1.1       misho    3233: 
1.1.1.4 ! misho    3234: # We'll loop over all known methods to create a tar archive until one works.
        !          3235: _am_tools='gnutar  pax cpio none'
1.1       misho    3236: 
1.1.1.4 ! misho    3237: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
1.1       misho    3238: 
                   3239: 
                   3240: 
                   3241: 
1.1.1.2   misho    3242: 
1.1.1.4 ! misho    3243: 
        !          3244: # POSIX will say in a future version that running "rm -f" with no argument
        !          3245: # is OK; and we want to be able to make that assumption in our Makefile
        !          3246: # recipes.  So use an aggressive probe to check that the usage we want is
        !          3247: # actually supported "in the wild" to an acceptable degree.
        !          3248: # See automake bug#10828.
        !          3249: # To make any issue more visible, cause the running configure to be aborted
        !          3250: # by default if the 'rm' program in use doesn't match our expectations; the
        !          3251: # user can still override this though.
        !          3252: if rm -f && rm -fr && rm -rf; then : OK; else
        !          3253:   cat >&2 <<'END'
        !          3254: Oops!
        !          3255: 
        !          3256: Your 'rm' program seems unable to run without file operands specified
        !          3257: on the command line, even when the '-f' option is present.  This is contrary
        !          3258: to the behaviour of most rm programs out there, and not conforming with
        !          3259: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
        !          3260: 
        !          3261: Please tell bug-automake@gnu.org about your system, including the value
        !          3262: of your $PATH and any error possibly output before this message.  This
        !          3263: can help us improve future automake versions.
        !          3264: 
        !          3265: END
        !          3266:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
        !          3267:     echo 'Configuration will proceed anyway, since you have set the' >&2
        !          3268:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
        !          3269:     echo >&2
        !          3270:   else
        !          3271:     cat >&2 <<'END'
        !          3272: Aborting the configuration process, to ensure you take notice of the issue.
        !          3273: 
        !          3274: You can download and install GNU coreutils to get an 'rm' implementation
        !          3275: that behaves properly: <https://www.gnu.org/software/coreutils/>.
        !          3276: 
        !          3277: If you want to complete the configuration process using your problematic
        !          3278: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
        !          3279: to "yes", and re-run configure.
        !          3280: 
        !          3281: END
        !          3282:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
        !          3283:   fi
        !          3284: fi
        !          3285: 
        !          3286: # Check whether --enable-silent-rules was given.
        !          3287: if test "${enable_silent_rules+set}" = set; then :
        !          3288:   enableval=$enable_silent_rules;
1.1.1.2   misho    3289: fi
1.1       misho    3290: 
1.1.1.4 ! misho    3291: case $enable_silent_rules in # (((
        !          3292:   yes) AM_DEFAULT_VERBOSITY=0;;
        !          3293:    no) AM_DEFAULT_VERBOSITY=1;;
        !          3294:     *) AM_DEFAULT_VERBOSITY=0;;
        !          3295: esac
        !          3296: am_make=${MAKE-make}
        !          3297: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
        !          3298: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
        !          3299: if ${am_cv_make_support_nested_variables+:} false; then :
        !          3300:   $as_echo_n "(cached) " >&6
        !          3301: else
        !          3302:   if $as_echo 'TRUE=$(BAR$(V))
        !          3303: BAR0=false
        !          3304: BAR1=true
        !          3305: V=1
        !          3306: am__doit:
        !          3307:        @$(TRUE)
        !          3308: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
        !          3309:   am_cv_make_support_nested_variables=yes
        !          3310: else
        !          3311:   am_cv_make_support_nested_variables=no
        !          3312: fi
        !          3313: fi
        !          3314: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
        !          3315: $as_echo "$am_cv_make_support_nested_variables" >&6; }
        !          3316: if test $am_cv_make_support_nested_variables = yes; then
        !          3317:     AM_V='$(V)'
        !          3318:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1.1       misho    3319: else
1.1.1.4 ! misho    3320:   AM_V=$AM_DEFAULT_VERBOSITY
        !          3321:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1.1       misho    3322: fi
1.1.1.4 ! misho    3323: AM_BACKSLASH='\'
        !          3324: 
        !          3325: ac_config_headers="$ac_config_headers include/config.h"
1.1       misho    3326: 
                   3327: 
1.1.1.4 ! misho    3328: ac_config_files="$ac_config_files Makefile Doxyfile libnet-config doc/Makefile doc/man/Makefile doc/man/man1/Makefile doc/man/man3/Makefile include/Makefile include/libnet.h libnet.pc src/Makefile sample/Makefile win32/Makefile"
1.1       misho    3329: 
1.1.1.4 ! misho    3330: ac_config_files="$ac_config_files doc/fixmanpages"
1.1       misho    3331: 
1.1.1.4 ! misho    3332: 
        !          3333: # Check for the usual programs
1.1       misho    3334: ac_ext=c
                   3335: ac_cpp='$CPP $CPPFLAGS'
                   3336: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3337: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3338: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3339: if test -n "$ac_tool_prefix"; then
                   3340:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3341: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1.1.2   misho    3342: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3343: $as_echo_n "checking for $ac_word... " >&6; }
                   3344: if ${ac_cv_prog_CC+:} false; then :
                   3345:   $as_echo_n "(cached) " >&6
1.1       misho    3346: else
                   3347:   if test -n "$CC"; then
                   3348:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3349: else
                   3350: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3351: for as_dir in $PATH
                   3352: do
                   3353:   IFS=$as_save_IFS
                   3354:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3355:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    3356:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3357:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.1.1.2   misho    3358:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3359:     break 2
                   3360:   fi
                   3361: done
1.1.1.2   misho    3362:   done
                   3363: IFS=$as_save_IFS
1.1       misho    3364: 
                   3365: fi
                   3366: fi
                   3367: CC=$ac_cv_prog_CC
                   3368: if test -n "$CC"; then
1.1.1.2   misho    3369:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3370: $as_echo "$CC" >&6; }
1.1       misho    3371: else
1.1.1.2   misho    3372:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3373: $as_echo "no" >&6; }
1.1       misho    3374: fi
                   3375: 
1.1.1.2   misho    3376: 
1.1       misho    3377: fi
                   3378: if test -z "$ac_cv_prog_CC"; then
                   3379:   ac_ct_CC=$CC
                   3380:   # Extract the first word of "gcc", so it can be a program name with args.
                   3381: set dummy gcc; ac_word=$2
1.1.1.2   misho    3382: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3383: $as_echo_n "checking for $ac_word... " >&6; }
                   3384: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3385:   $as_echo_n "(cached) " >&6
1.1       misho    3386: else
                   3387:   if test -n "$ac_ct_CC"; then
                   3388:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3389: else
                   3390: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3391: for as_dir in $PATH
                   3392: do
                   3393:   IFS=$as_save_IFS
                   3394:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3395:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    3396:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3397:     ac_cv_prog_ac_ct_CC="gcc"
1.1.1.2   misho    3398:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3399:     break 2
                   3400:   fi
                   3401: done
1.1.1.2   misho    3402:   done
                   3403: IFS=$as_save_IFS
1.1       misho    3404: 
                   3405: fi
                   3406: fi
                   3407: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3408: if test -n "$ac_ct_CC"; then
1.1.1.2   misho    3409:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3410: $as_echo "$ac_ct_CC" >&6; }
1.1       misho    3411: else
1.1.1.2   misho    3412:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3413: $as_echo "no" >&6; }
1.1       misho    3414: fi
                   3415: 
1.1.1.2   misho    3416:   if test "x$ac_ct_CC" = x; then
                   3417:     CC=""
                   3418:   else
                   3419:     case $cross_compiling:$ac_tool_warned in
                   3420: yes:)
                   3421: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3422: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3423: ac_tool_warned=yes ;;
                   3424: esac
                   3425:     CC=$ac_ct_CC
                   3426:   fi
1.1       misho    3427: else
                   3428:   CC="$ac_cv_prog_CC"
                   3429: fi
                   3430: 
                   3431: if test -z "$CC"; then
1.1.1.2   misho    3432:           if test -n "$ac_tool_prefix"; then
                   3433:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.1       misho    3434: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1.1.2   misho    3435: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3436: $as_echo_n "checking for $ac_word... " >&6; }
                   3437: if ${ac_cv_prog_CC+:} false; then :
                   3438:   $as_echo_n "(cached) " >&6
1.1       misho    3439: else
                   3440:   if test -n "$CC"; then
                   3441:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3442: else
                   3443: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3444: for as_dir in $PATH
                   3445: do
                   3446:   IFS=$as_save_IFS
                   3447:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3448:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    3449:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3450:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.1.1.2   misho    3451:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3452:     break 2
                   3453:   fi
                   3454: done
1.1.1.2   misho    3455:   done
                   3456: IFS=$as_save_IFS
1.1       misho    3457: 
                   3458: fi
                   3459: fi
                   3460: CC=$ac_cv_prog_CC
                   3461: if test -n "$CC"; then
1.1.1.2   misho    3462:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3463: $as_echo "$CC" >&6; }
1.1       misho    3464: else
1.1.1.2   misho    3465:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3466: $as_echo "no" >&6; }
1.1       misho    3467: fi
                   3468: 
                   3469: 
1.1.1.2   misho    3470:   fi
1.1       misho    3471: fi
                   3472: if test -z "$CC"; then
                   3473:   # Extract the first word of "cc", so it can be a program name with args.
                   3474: set dummy cc; ac_word=$2
1.1.1.2   misho    3475: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3476: $as_echo_n "checking for $ac_word... " >&6; }
                   3477: if ${ac_cv_prog_CC+:} false; then :
                   3478:   $as_echo_n "(cached) " >&6
1.1       misho    3479: else
                   3480:   if test -n "$CC"; then
                   3481:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3482: else
                   3483:   ac_prog_rejected=no
                   3484: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3485: for as_dir in $PATH
                   3486: do
                   3487:   IFS=$as_save_IFS
                   3488:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3489:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    3490:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3491:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3492:        ac_prog_rejected=yes
                   3493:        continue
                   3494:      fi
                   3495:     ac_cv_prog_CC="cc"
1.1.1.2   misho    3496:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3497:     break 2
                   3498:   fi
                   3499: done
1.1.1.2   misho    3500:   done
                   3501: IFS=$as_save_IFS
1.1       misho    3502: 
                   3503: if test $ac_prog_rejected = yes; then
                   3504:   # We found a bogon in the path, so make sure we never use it.
                   3505:   set dummy $ac_cv_prog_CC
                   3506:   shift
                   3507:   if test $# != 0; then
                   3508:     # We chose a different compiler from the bogus one.
                   3509:     # However, it has the same basename, so the bogon will be chosen
                   3510:     # first if we set CC to just the basename; use the full file name.
                   3511:     shift
                   3512:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3513:   fi
                   3514: fi
                   3515: fi
                   3516: fi
                   3517: CC=$ac_cv_prog_CC
                   3518: if test -n "$CC"; then
1.1.1.2   misho    3519:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3520: $as_echo "$CC" >&6; }
1.1       misho    3521: else
1.1.1.2   misho    3522:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3523: $as_echo "no" >&6; }
1.1       misho    3524: fi
                   3525: 
1.1.1.2   misho    3526: 
1.1       misho    3527: fi
                   3528: if test -z "$CC"; then
                   3529:   if test -n "$ac_tool_prefix"; then
1.1.1.2   misho    3530:   for ac_prog in cl.exe
1.1       misho    3531:   do
                   3532:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3533: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.2   misho    3534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3535: $as_echo_n "checking for $ac_word... " >&6; }
                   3536: if ${ac_cv_prog_CC+:} false; then :
                   3537:   $as_echo_n "(cached) " >&6
1.1       misho    3538: else
                   3539:   if test -n "$CC"; then
                   3540:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3541: else
                   3542: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3543: for as_dir in $PATH
                   3544: do
                   3545:   IFS=$as_save_IFS
                   3546:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3547:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    3548:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3549:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.1.1.2   misho    3550:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3551:     break 2
                   3552:   fi
                   3553: done
1.1.1.2   misho    3554:   done
                   3555: IFS=$as_save_IFS
1.1       misho    3556: 
                   3557: fi
                   3558: fi
                   3559: CC=$ac_cv_prog_CC
                   3560: if test -n "$CC"; then
1.1.1.2   misho    3561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3562: $as_echo "$CC" >&6; }
1.1       misho    3563: else
1.1.1.2   misho    3564:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3565: $as_echo "no" >&6; }
1.1       misho    3566: fi
                   3567: 
1.1.1.2   misho    3568: 
1.1       misho    3569:     test -n "$CC" && break
                   3570:   done
                   3571: fi
                   3572: if test -z "$CC"; then
                   3573:   ac_ct_CC=$CC
1.1.1.2   misho    3574:   for ac_prog in cl.exe
1.1       misho    3575: do
                   3576:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3577: set dummy $ac_prog; ac_word=$2
1.1.1.2   misho    3578: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3579: $as_echo_n "checking for $ac_word... " >&6; }
                   3580: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3581:   $as_echo_n "(cached) " >&6
1.1       misho    3582: else
                   3583:   if test -n "$ac_ct_CC"; then
                   3584:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3585: else
                   3586: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3587: for as_dir in $PATH
                   3588: do
                   3589:   IFS=$as_save_IFS
                   3590:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3591:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    3592:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3593:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.1.1.2   misho    3594:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3595:     break 2
                   3596:   fi
                   3597: done
1.1.1.2   misho    3598:   done
                   3599: IFS=$as_save_IFS
1.1       misho    3600: 
                   3601: fi
                   3602: fi
                   3603: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3604: if test -n "$ac_ct_CC"; then
1.1.1.2   misho    3605:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3606: $as_echo "$ac_ct_CC" >&6; }
1.1       misho    3607: else
1.1.1.2   misho    3608:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3609: $as_echo "no" >&6; }
1.1       misho    3610: fi
                   3611: 
1.1.1.2   misho    3612: 
1.1       misho    3613:   test -n "$ac_ct_CC" && break
                   3614: done
                   3615: 
1.1.1.2   misho    3616:   if test "x$ac_ct_CC" = x; then
                   3617:     CC=""
                   3618:   else
                   3619:     case $cross_compiling:$ac_tool_warned in
                   3620: yes:)
                   3621: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3622: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3623: ac_tool_warned=yes ;;
                   3624: esac
                   3625:     CC=$ac_ct_CC
                   3626:   fi
1.1       misho    3627: fi
                   3628: 
                   3629: fi
                   3630: 
                   3631: 
1.1.1.2   misho    3632: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3633: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3634: as_fn_error $? "no acceptable C compiler found in \$PATH
                   3635: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3636: 
                   3637: # Provide some information about the compiler.
1.1.1.2   misho    3638: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3639: set X $ac_compile
                   3640: ac_compiler=$2
                   3641: for ac_option in --version -v -V -qversion; do
                   3642:   { { ac_try="$ac_compiler $ac_option >&5"
                   3643: case "(($ac_try" in
                   3644:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3645:   *) ac_try_echo=$ac_try;;
                   3646: esac
                   3647: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3648: $as_echo "$ac_try_echo"; } >&5
                   3649:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.1       misho    3650:   ac_status=$?
1.1.1.2   misho    3651:   if test -s conftest.err; then
                   3652:     sed '10a\
                   3653: ... rest of stderr output deleted ...
                   3654:          10q' conftest.err >conftest.er1
                   3655:     cat conftest.er1 >&5
                   3656:   fi
                   3657:   rm -f conftest.er1 conftest.err
                   3658:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3659:   test $ac_status = 0; }
                   3660: done
1.1       misho    3661: 
1.1.1.2   misho    3662: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3663: /* end confdefs.h.  */
                   3664: 
                   3665: int
                   3666: main ()
                   3667: {
                   3668: 
                   3669:   ;
                   3670:   return 0;
                   3671: }
                   3672: _ACEOF
                   3673: ac_clean_files_save=$ac_clean_files
1.1.1.2   misho    3674: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.1       misho    3675: # Try to create an executable without -o first, disregard a.out.
                   3676: # It will help us diagnose broken compilers, and finding out an intuition
                   3677: # of exeext.
1.1.1.2   misho    3678: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3679: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3680: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3681: 
                   3682: # The possible output files:
                   3683: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3684: 
                   3685: ac_rmfiles=
                   3686: for ac_file in $ac_files
                   3687: do
                   3688:   case $ac_file in
                   3689:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3690:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3691:   esac
                   3692: done
                   3693: rm -f $ac_rmfiles
                   3694: 
                   3695: if { { ac_try="$ac_link_default"
                   3696: case "(($ac_try" in
                   3697:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3698:   *) ac_try_echo=$ac_try;;
                   3699: esac
                   3700: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3701: $as_echo "$ac_try_echo"; } >&5
                   3702:   (eval "$ac_link_default") 2>&5
                   3703:   ac_status=$?
                   3704:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3705:   test $ac_status = 0; }; then :
                   3706:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3707: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3708: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3709: # so that the user can short-circuit this test for compilers unknown to
                   3710: # Autoconf.
                   3711: for ac_file in $ac_files ''
1.1       misho    3712: do
                   3713:   test -f "$ac_file" || continue
                   3714:   case $ac_file in
1.1.1.2   misho    3715:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3716:        ;;
1.1       misho    3717:     [ab].out )
1.1.1.2   misho    3718:        # We found the default executable, but exeext='' is most
                   3719:        # certainly right.
                   3720:        break;;
1.1       misho    3721:     *.* )
1.1.1.2   misho    3722:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3723:        then :; else
                   3724:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3725:        fi
                   3726:        # We set ac_cv_exeext here because the later test for it is not
                   3727:        # safe: cross compilers may not add the suffix if given an `-o'
                   3728:        # argument, so we may need to know it at that point already.
                   3729:        # Even if this section looks crufty: it has the advantage of
                   3730:        # actually working.
                   3731:        break;;
1.1       misho    3732:     * )
1.1.1.2   misho    3733:        break;;
1.1       misho    3734:   esac
                   3735: done
1.1.1.2   misho    3736: test "$ac_cv_exeext" = no && ac_cv_exeext=
1.1       misho    3737: 
1.1.1.2   misho    3738: else
                   3739:   ac_file=''
1.1       misho    3740: fi
1.1.1.2   misho    3741: if test -z "$ac_file"; then :
                   3742:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3743: $as_echo "no" >&6; }
                   3744: $as_echo "$as_me: failed program was:" >&5
                   3745: sed 's/^/| /' conftest.$ac_ext >&5
1.1       misho    3746: 
1.1.1.2   misho    3747: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3748: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3749: as_fn_error 77 "C compiler cannot create executables
                   3750: See \`config.log' for more details" "$LINENO" 5; }
                   3751: else
                   3752:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3753: $as_echo "yes" >&6; }
                   3754: fi
                   3755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3756: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3757: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3758: $as_echo "$ac_file" >&6; }
1.1       misho    3759: ac_exeext=$ac_cv_exeext
                   3760: 
1.1.1.2   misho    3761: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.1       misho    3762: ac_clean_files=$ac_clean_files_save
1.1.1.2   misho    3763: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3764: $as_echo_n "checking for suffix of executables... " >&6; }
                   3765: if { { ac_try="$ac_link"
                   3766: case "(($ac_try" in
                   3767:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3768:   *) ac_try_echo=$ac_try;;
                   3769: esac
                   3770: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3771: $as_echo "$ac_try_echo"; } >&5
                   3772:   (eval "$ac_link") 2>&5
1.1       misho    3773:   ac_status=$?
1.1.1.2   misho    3774:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3775:   test $ac_status = 0; }; then :
1.1       misho    3776:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3777: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3778: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3779: # `rm'.
                   3780: for ac_file in conftest.exe conftest conftest.*; do
                   3781:   test -f "$ac_file" || continue
                   3782:   case $ac_file in
1.1.1.2   misho    3783:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1       misho    3784:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.1.1.2   misho    3785:          break;;
1.1       misho    3786:     * ) break;;
                   3787:   esac
                   3788: done
                   3789: else
1.1.1.2   misho    3790:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3791: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3792: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3793: See \`config.log' for more details" "$LINENO" 5; }
                   3794: fi
                   3795: rm -f conftest conftest$ac_cv_exeext
                   3796: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3797: $as_echo "$ac_cv_exeext" >&6; }
1.1       misho    3798: 
                   3799: rm -f conftest.$ac_ext
                   3800: EXEEXT=$ac_cv_exeext
                   3801: ac_exeext=$EXEEXT
1.1.1.2   misho    3802: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3803: /* end confdefs.h.  */
1.1.1.2   misho    3804: #include <stdio.h>
1.1       misho    3805: int
                   3806: main ()
                   3807: {
1.1.1.2   misho    3808: FILE *f = fopen ("conftest.out", "w");
                   3809:  return ferror (f) || fclose (f) != 0;
1.1       misho    3810: 
                   3811:   ;
                   3812:   return 0;
                   3813: }
                   3814: _ACEOF
1.1.1.2   misho    3815: ac_clean_files="$ac_clean_files conftest.out"
                   3816: # Check that the compiler produces executables we can run.  If not, either
                   3817: # the compiler is broken, or we cross compile.
                   3818: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3819: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3820: if test "$cross_compiling" != yes; then
                   3821:   { { ac_try="$ac_link"
                   3822: case "(($ac_try" in
                   3823:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3824:   *) ac_try_echo=$ac_try;;
                   3825: esac
                   3826: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3827: $as_echo "$ac_try_echo"; } >&5
                   3828:   (eval "$ac_link") 2>&5
                   3829:   ac_status=$?
                   3830:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3831:   test $ac_status = 0; }
                   3832:   if { ac_try='./conftest$ac_cv_exeext'
                   3833:   { { case "(($ac_try" in
                   3834:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3835:   *) ac_try_echo=$ac_try;;
                   3836: esac
                   3837: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3838: $as_echo "$ac_try_echo"; } >&5
                   3839:   (eval "$ac_try") 2>&5
1.1       misho    3840:   ac_status=$?
1.1.1.2   misho    3841:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3842:   test $ac_status = 0; }; }; then
                   3843:     cross_compiling=no
                   3844:   else
                   3845:     if test "$cross_compiling" = maybe; then
                   3846:        cross_compiling=yes
                   3847:     else
                   3848:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3849: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3850: as_fn_error $? "cannot run C compiled programs.
                   3851: If you meant to cross compile, use \`--host'.
                   3852: See \`config.log' for more details" "$LINENO" 5; }
                   3853:     fi
                   3854:   fi
                   3855: fi
                   3856: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3857: $as_echo "$cross_compiling" >&6; }
                   3858: 
                   3859: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3860: ac_clean_files=$ac_clean_files_save
                   3861: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3862: $as_echo_n "checking for suffix of object files... " >&6; }
                   3863: if ${ac_cv_objext+:} false; then :
                   3864:   $as_echo_n "(cached) " >&6
                   3865: else
                   3866:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3867: /* end confdefs.h.  */
                   3868: 
                   3869: int
                   3870: main ()
                   3871: {
                   3872: 
                   3873:   ;
                   3874:   return 0;
                   3875: }
                   3876: _ACEOF
                   3877: rm -f conftest.o conftest.obj
                   3878: if { { ac_try="$ac_compile"
                   3879: case "(($ac_try" in
                   3880:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3881:   *) ac_try_echo=$ac_try;;
                   3882: esac
                   3883: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3884: $as_echo "$ac_try_echo"; } >&5
                   3885:   (eval "$ac_compile") 2>&5
                   3886:   ac_status=$?
                   3887:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3888:   test $ac_status = 0; }; then :
                   3889:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3890:   test -f "$ac_file" || continue;
1.1       misho    3891:   case $ac_file in
1.1.1.2   misho    3892:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.1       misho    3893:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3894:        break;;
                   3895:   esac
                   3896: done
                   3897: else
1.1.1.2   misho    3898:   $as_echo "$as_me: failed program was:" >&5
1.1       misho    3899: sed 's/^/| /' conftest.$ac_ext >&5
                   3900: 
1.1.1.2   misho    3901: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3902: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3903: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3904: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3905: fi
                   3906: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3907: fi
1.1.1.2   misho    3908: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3909: $as_echo "$ac_cv_objext" >&6; }
1.1       misho    3910: OBJEXT=$ac_cv_objext
                   3911: ac_objext=$OBJEXT
1.1.1.2   misho    3912: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3913: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   3914: if ${ac_cv_c_compiler_gnu+:} false; then :
                   3915:   $as_echo_n "(cached) " >&6
1.1       misho    3916: else
1.1.1.2   misho    3917:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3918: /* end confdefs.h.  */
                   3919: 
                   3920: int
                   3921: main ()
                   3922: {
                   3923: #ifndef __GNUC__
                   3924:        choke me
                   3925: #endif
                   3926: 
                   3927:   ;
                   3928:   return 0;
                   3929: }
                   3930: _ACEOF
1.1.1.2   misho    3931: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3932:   ac_compiler_gnu=yes
                   3933: else
1.1.1.2   misho    3934:   ac_compiler_gnu=no
1.1       misho    3935: fi
1.1.1.2   misho    3936: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misho    3937: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3938: 
                   3939: fi
1.1.1.2   misho    3940: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3941: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3942: if test $ac_compiler_gnu = yes; then
                   3943:   GCC=yes
                   3944: else
                   3945:   GCC=
                   3946: fi
1.1       misho    3947: ac_test_CFLAGS=${CFLAGS+set}
                   3948: ac_save_CFLAGS=$CFLAGS
1.1.1.2   misho    3949: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3950: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   3951: if ${ac_cv_prog_cc_g+:} false; then :
                   3952:   $as_echo_n "(cached) " >&6
                   3953: else
                   3954:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3955:    ac_c_werror_flag=yes
                   3956:    ac_cv_prog_cc_g=no
                   3957:    CFLAGS="-g"
                   3958:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3959: /* end confdefs.h.  */
                   3960: 
                   3961: int
                   3962: main ()
                   3963: {
                   3964: 
                   3965:   ;
                   3966:   return 0;
                   3967: }
                   3968: _ACEOF
1.1.1.2   misho    3969: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3970:   ac_cv_prog_cc_g=yes
                   3971: else
1.1.1.2   misho    3972:   CFLAGS=""
                   3973:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3974: /* end confdefs.h.  */
                   3975: 
                   3976: int
                   3977: main ()
                   3978: {
                   3979: 
                   3980:   ;
                   3981:   return 0;
                   3982: }
                   3983: _ACEOF
                   3984: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3985: 
1.1.1.2   misho    3986: else
                   3987:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3988:         CFLAGS="-g"
                   3989:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3990: /* end confdefs.h.  */
                   3991: 
                   3992: int
                   3993: main ()
                   3994: {
                   3995: 
                   3996:   ;
                   3997:   return 0;
                   3998: }
                   3999: _ACEOF
                   4000: if ac_fn_c_try_compile "$LINENO"; then :
                   4001:   ac_cv_prog_cc_g=yes
1.1       misho    4002: fi
1.1.1.2   misho    4003: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misho    4004: fi
1.1.1.2   misho    4005: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4006: fi
                   4007: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4008:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4009: fi
                   4010: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4011: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.1       misho    4012: if test "$ac_test_CFLAGS" = set; then
                   4013:   CFLAGS=$ac_save_CFLAGS
                   4014: elif test $ac_cv_prog_cc_g = yes; then
                   4015:   if test "$GCC" = yes; then
                   4016:     CFLAGS="-g -O2"
                   4017:   else
                   4018:     CFLAGS="-g"
                   4019:   fi
                   4020: else
                   4021:   if test "$GCC" = yes; then
                   4022:     CFLAGS="-O2"
                   4023:   else
                   4024:     CFLAGS=
                   4025:   fi
                   4026: fi
1.1.1.2   misho    4027: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4028: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4029: if ${ac_cv_prog_cc_c89+:} false; then :
                   4030:   $as_echo_n "(cached) " >&6
1.1       misho    4031: else
1.1.1.2   misho    4032:   ac_cv_prog_cc_c89=no
1.1       misho    4033: ac_save_CC=$CC
1.1.1.2   misho    4034: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4035: /* end confdefs.h.  */
                   4036: #include <stdarg.h>
                   4037: #include <stdio.h>
1.1.1.4 ! misho    4038: struct stat;
1.1       misho    4039: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4040: struct buf { int x; };
                   4041: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4042: static char *e (p, i)
                   4043:      char **p;
                   4044:      int i;
                   4045: {
                   4046:   return p[i];
                   4047: }
                   4048: static char *f (char * (*g) (char **, int), char **p, ...)
                   4049: {
                   4050:   char *s;
                   4051:   va_list v;
                   4052:   va_start (v,p);
                   4053:   s = g (p, va_arg (v,int));
                   4054:   va_end (v);
                   4055:   return s;
                   4056: }
1.1.1.2   misho    4057: 
                   4058: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4059:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4060:    These don't provoke an error unfortunately, instead are silently treated
                   4061:    as 'x'.  The following induces an error, until -std is added to get
                   4062:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4063:    array size at least.  It's necessary to write '\x00'==0 to get something
                   4064:    that's true only with -std.  */
                   4065: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4066: 
                   4067: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4068:    inside strings and character constants.  */
                   4069: #define FOO(x) 'x'
                   4070: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4071: 
1.1       misho    4072: int test (int i, double x);
                   4073: struct s1 {int (*f) (int a);};
                   4074: struct s2 {int (*f) (double a);};
                   4075: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4076: int argc;
                   4077: char **argv;
                   4078: int
                   4079: main ()
                   4080: {
                   4081: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4082:   ;
                   4083:   return 0;
                   4084: }
                   4085: _ACEOF
1.1.1.2   misho    4086: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4087:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1       misho    4088: do
                   4089:   CC="$ac_save_CC $ac_arg"
1.1.1.2   misho    4090:   if ac_fn_c_try_compile "$LINENO"; then :
                   4091:   ac_cv_prog_cc_c89=$ac_arg
1.1       misho    4092: fi
1.1.1.2   misho    4093: rm -f core conftest.err conftest.$ac_objext
                   4094:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.1       misho    4095: done
1.1.1.2   misho    4096: rm -f conftest.$ac_ext
1.1       misho    4097: CC=$ac_save_CC
                   4098: 
                   4099: fi
1.1.1.2   misho    4100: # AC_CACHE_VAL
                   4101: case "x$ac_cv_prog_cc_c89" in
                   4102:   x)
                   4103:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4104: $as_echo "none needed" >&6; } ;;
                   4105:   xno)
                   4106:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4107: $as_echo "unsupported" >&6; } ;;
1.1       misho    4108:   *)
1.1.1.2   misho    4109:     CC="$CC $ac_cv_prog_cc_c89"
                   4110:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4111: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.1       misho    4112: esac
1.1.1.2   misho    4113: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.1       misho    4114: 
                   4115: fi
                   4116: 
                   4117: ac_ext=c
                   4118: ac_cpp='$CPP $CPPFLAGS'
                   4119: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4120: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4121: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4122: 
1.1.1.4 ! misho    4123: ac_ext=c
        !          4124: ac_cpp='$CPP $CPPFLAGS'
        !          4125: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4126: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4127: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          4128: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
        !          4129: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
        !          4130: if ${am_cv_prog_cc_c_o+:} false; then :
        !          4131:   $as_echo_n "(cached) " >&6
        !          4132: else
        !          4133:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4134: /* end confdefs.h.  */
1.1.1.2   misho    4135: 
1.1.1.4 ! misho    4136: int
        !          4137: main ()
        !          4138: {
1.1       misho    4139: 
1.1.1.4 ! misho    4140:   ;
        !          4141:   return 0;
        !          4142: }
        !          4143: _ACEOF
        !          4144:   # Make sure it works both with $CC and with simple cc.
        !          4145:   # Following AC_PROG_CC_C_O, we do the test twice because some
        !          4146:   # compilers refuse to overwrite an existing .o file with -o,
        !          4147:   # though they will create one.
        !          4148:   am_cv_prog_cc_c_o=yes
        !          4149:   for am_i in 1 2; do
        !          4150:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
        !          4151:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
        !          4152:    ac_status=$?
        !          4153:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4154:    (exit $ac_status); } \
        !          4155:          && test -f conftest2.$ac_objext; then
        !          4156:       : OK
        !          4157:     else
        !          4158:       am_cv_prog_cc_c_o=no
        !          4159:       break
1.1       misho    4160:     fi
                   4161:   done
1.1.1.4 ! misho    4162:   rm -f core conftest*
        !          4163:   unset am_i
1.1       misho    4164: fi
1.1.1.4 ! misho    4165: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
        !          4166: $as_echo "$am_cv_prog_cc_c_o" >&6; }
        !          4167: if test "$am_cv_prog_cc_c_o" != yes; then
        !          4168:    # Losing compiler, so override with the script.
        !          4169:    # FIXME: It is wrong to rewrite CC.
        !          4170:    # But if we don't then we get into trouble of one sort or another.
        !          4171:    # A longer-term fix would be to have automake use am__CC in this case,
        !          4172:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
        !          4173:    CC="$am_aux_dir/compile $CC"
1.1       misho    4174: fi
1.1.1.4 ! misho    4175: ac_ext=c
        !          4176: ac_cpp='$CPP $CPPFLAGS'
        !          4177: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          4178: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          4179: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    4180: 
                   4181: 
                   4182: 
                   4183: 
1.1.1.2   misho    4184: ac_ext=c
                   4185: ac_cpp='$CPP $CPPFLAGS'
                   4186: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4187: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4188: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4189: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   4190: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   4191: # On Suns, sometimes $CPP names a directory.
                   4192: if test -n "$CPP" && test -d "$CPP"; then
                   4193:   CPP=
                   4194: fi
                   4195: if test -z "$CPP"; then
                   4196:   if ${ac_cv_prog_CPP+:} false; then :
                   4197:   $as_echo_n "(cached) " >&6
1.1       misho    4198: else
1.1.1.2   misho    4199:       # Double quotes because CPP needs to be expanded
                   4200:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   4201:     do
                   4202:       ac_preproc_ok=false
                   4203: for ac_c_preproc_warn_flag in '' yes
1.1       misho    4204: do
1.1.1.2   misho    4205:   # Use a header file that comes with gcc, so configuring glibc
                   4206:   # with a fresh cross-compiler works.
                   4207:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4208:   # <limits.h> exists even on freestanding compilers.
                   4209:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4210:   # not just through cpp. "Syntax error" is here to catch this case.
                   4211:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4212: /* end confdefs.h.  */
                   4213: #ifdef __STDC__
                   4214: # include <limits.h>
                   4215: #else
                   4216: # include <assert.h>
                   4217: #endif
                   4218:                     Syntax error
                   4219: _ACEOF
                   4220: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    4221: 
                   4222: else
1.1.1.2   misho    4223:   # Broken: fails on valid input.
                   4224: continue
1.1       misho    4225: fi
1.1.1.2   misho    4226: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    4227: 
1.1.1.2   misho    4228:   # OK, works on sane cases.  Now check whether nonexistent headers
1.1       misho    4229:   # can be detected and how.
1.1.1.2   misho    4230:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4231: /* end confdefs.h.  */
                   4232: #include <ac_nonexistent.h>
                   4233: _ACEOF
1.1.1.2   misho    4234: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    4235:   # Broken: success on invalid input.
                   4236: continue
                   4237: else
                   4238:   # Passes both tests.
                   4239: ac_preproc_ok=:
                   4240: break
                   4241: fi
1.1.1.2   misho    4242: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    4243: 
                   4244: done
                   4245: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.1.2   misho    4246: rm -f conftest.i conftest.err conftest.$ac_ext
                   4247: if $ac_preproc_ok; then :
1.1       misho    4248:   break
                   4249: fi
                   4250: 
                   4251:     done
                   4252:     ac_cv_prog_CPP=$CPP
                   4253: 
                   4254: fi
                   4255:   CPP=$ac_cv_prog_CPP
                   4256: else
                   4257:   ac_cv_prog_CPP=$CPP
                   4258: fi
1.1.1.2   misho    4259: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   4260: $as_echo "$CPP" >&6; }
1.1       misho    4261: ac_preproc_ok=false
                   4262: for ac_c_preproc_warn_flag in '' yes
                   4263: do
                   4264:   # Use a header file that comes with gcc, so configuring glibc
                   4265:   # with a fresh cross-compiler works.
                   4266:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4267:   # <limits.h> exists even on freestanding compilers.
                   4268:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4269:   # not just through cpp. "Syntax error" is here to catch this case.
1.1.1.2   misho    4270:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4271: /* end confdefs.h.  */
                   4272: #ifdef __STDC__
                   4273: # include <limits.h>
                   4274: #else
                   4275: # include <assert.h>
                   4276: #endif
1.1.1.2   misho    4277:                     Syntax error
1.1       misho    4278: _ACEOF
1.1.1.2   misho    4279: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    4280: 
1.1.1.2   misho    4281: else
1.1       misho    4282:   # Broken: fails on valid input.
                   4283: continue
                   4284: fi
1.1.1.2   misho    4285: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    4286: 
1.1.1.2   misho    4287:   # OK, works on sane cases.  Now check whether nonexistent headers
1.1       misho    4288:   # can be detected and how.
1.1.1.2   misho    4289:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4290: /* end confdefs.h.  */
                   4291: #include <ac_nonexistent.h>
                   4292: _ACEOF
1.1.1.2   misho    4293: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    4294:   # Broken: success on invalid input.
                   4295: continue
                   4296: else
                   4297:   # Passes both tests.
                   4298: ac_preproc_ok=:
                   4299: break
                   4300: fi
1.1.1.2   misho    4301: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    4302: 
                   4303: done
                   4304: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.1.2   misho    4305: rm -f conftest.i conftest.err conftest.$ac_ext
                   4306: if $ac_preproc_ok; then :
                   4307: 
1.1       misho    4308: else
1.1.1.2   misho    4309:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4310: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4311: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   4312: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    4313: fi
                   4314: 
                   4315: ac_ext=c
                   4316: ac_cpp='$CPP $CPPFLAGS'
                   4317: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4318: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4319: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4320: 
                   4321: 
1.1.1.2   misho    4322: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4323: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   4324: if ${ac_cv_path_GREP+:} false; then :
                   4325:   $as_echo_n "(cached) " >&6
                   4326: else
                   4327:   if test -z "$GREP"; then
                   4328:   ac_path_GREP_found=false
                   4329:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4330:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4331: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4332: do
                   4333:   IFS=$as_save_IFS
                   4334:   test -z "$as_dir" && as_dir=.
                   4335:     for ac_prog in grep ggrep; do
                   4336:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4337:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.4 ! misho    4338:       as_fn_executable_p "$ac_path_GREP" || continue
1.1.1.2   misho    4339: # Check for GNU ac_path_GREP and select it if it is found.
                   4340:   # Check for GNU $ac_path_GREP
                   4341: case `"$ac_path_GREP" --version 2>&1` in
                   4342: *GNU*)
                   4343:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4344: *)
                   4345:   ac_count=0
                   4346:   $as_echo_n 0123456789 >"conftest.in"
                   4347:   while :
                   4348:   do
                   4349:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4350:     mv "conftest.tmp" "conftest.in"
                   4351:     cp "conftest.in" "conftest.nl"
                   4352:     $as_echo 'GREP' >> "conftest.nl"
                   4353:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4354:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4355:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4356:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4357:       # Best one so far, save it but keep looking for a better one
                   4358:       ac_cv_path_GREP="$ac_path_GREP"
                   4359:       ac_path_GREP_max=$ac_count
                   4360:     fi
                   4361:     # 10*(2^10) chars as input seems more than enough
                   4362:     test $ac_count -gt 10 && break
                   4363:   done
                   4364:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4365: esac
                   4366: 
                   4367:       $ac_path_GREP_found && break 3
                   4368:     done
                   4369:   done
                   4370:   done
                   4371: IFS=$as_save_IFS
                   4372:   if test -z "$ac_cv_path_GREP"; then
                   4373:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4374:   fi
                   4375: else
                   4376:   ac_cv_path_GREP=$GREP
                   4377: fi
                   4378: 
                   4379: fi
                   4380: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4381: $as_echo "$ac_cv_path_GREP" >&6; }
                   4382:  GREP="$ac_cv_path_GREP"
                   4383: 
                   4384: 
                   4385: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4386: $as_echo_n "checking for egrep... " >&6; }
                   4387: if ${ac_cv_path_EGREP+:} false; then :
                   4388:   $as_echo_n "(cached) " >&6
1.1       misho    4389: else
1.1.1.2   misho    4390:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4391:    then ac_cv_path_EGREP="$GREP -E"
                   4392:    else
                   4393:      if test -z "$EGREP"; then
                   4394:   ac_path_EGREP_found=false
                   4395:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4396:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4397: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4398: do
                   4399:   IFS=$as_save_IFS
                   4400:   test -z "$as_dir" && as_dir=.
                   4401:     for ac_prog in egrep; do
                   4402:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4403:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.4 ! misho    4404:       as_fn_executable_p "$ac_path_EGREP" || continue
1.1.1.2   misho    4405: # Check for GNU ac_path_EGREP and select it if it is found.
                   4406:   # Check for GNU $ac_path_EGREP
                   4407: case `"$ac_path_EGREP" --version 2>&1` in
                   4408: *GNU*)
                   4409:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4410: *)
                   4411:   ac_count=0
                   4412:   $as_echo_n 0123456789 >"conftest.in"
                   4413:   while :
                   4414:   do
                   4415:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4416:     mv "conftest.tmp" "conftest.in"
                   4417:     cp "conftest.in" "conftest.nl"
                   4418:     $as_echo 'EGREP' >> "conftest.nl"
                   4419:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4420:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4421:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4422:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4423:       # Best one so far, save it but keep looking for a better one
                   4424:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4425:       ac_path_EGREP_max=$ac_count
1.1       misho    4426:     fi
1.1.1.2   misho    4427:     # 10*(2^10) chars as input seems more than enough
                   4428:     test $ac_count -gt 10 && break
                   4429:   done
                   4430:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4431: esac
                   4432: 
                   4433:       $ac_path_EGREP_found && break 3
                   4434:     done
                   4435:   done
                   4436:   done
                   4437: IFS=$as_save_IFS
                   4438:   if test -z "$ac_cv_path_EGREP"; then
                   4439:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4440:   fi
                   4441: else
                   4442:   ac_cv_path_EGREP=$EGREP
1.1       misho    4443: fi
                   4444: 
1.1.1.2   misho    4445:    fi
                   4446: fi
                   4447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4448: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4449:  EGREP="$ac_cv_path_EGREP"
1.1       misho    4450: 
1.1.1.2   misho    4451: 
                   4452: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   4453: $as_echo_n "checking for ANSI C header files... " >&6; }
                   4454: if ${ac_cv_header_stdc+:} false; then :
                   4455:   $as_echo_n "(cached) " >&6
1.1       misho    4456: else
1.1.1.2   misho    4457:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4458: /* end confdefs.h.  */
                   4459: #include <stdlib.h>
                   4460: #include <stdarg.h>
                   4461: #include <string.h>
                   4462: #include <float.h>
                   4463: 
                   4464: int
                   4465: main ()
                   4466: {
                   4467: 
                   4468:   ;
                   4469:   return 0;
                   4470: }
                   4471: _ACEOF
1.1.1.2   misho    4472: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    4473:   ac_cv_header_stdc=yes
                   4474: else
1.1.1.2   misho    4475:   ac_cv_header_stdc=no
1.1       misho    4476: fi
1.1.1.2   misho    4477: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misho    4478: 
                   4479: if test $ac_cv_header_stdc = yes; then
                   4480:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.1.1.2   misho    4481:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4482: /* end confdefs.h.  */
                   4483: #include <string.h>
                   4484: 
                   4485: _ACEOF
                   4486: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.2   misho    4487:   $EGREP "memchr" >/dev/null 2>&1; then :
                   4488: 
1.1       misho    4489: else
                   4490:   ac_cv_header_stdc=no
                   4491: fi
                   4492: rm -f conftest*
                   4493: 
                   4494: fi
                   4495: 
                   4496: if test $ac_cv_header_stdc = yes; then
                   4497:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.1.1.2   misho    4498:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4499: /* end confdefs.h.  */
                   4500: #include <stdlib.h>
                   4501: 
                   4502: _ACEOF
                   4503: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.2   misho    4504:   $EGREP "free" >/dev/null 2>&1; then :
                   4505: 
1.1       misho    4506: else
                   4507:   ac_cv_header_stdc=no
                   4508: fi
                   4509: rm -f conftest*
                   4510: 
                   4511: fi
                   4512: 
                   4513: if test $ac_cv_header_stdc = yes; then
                   4514:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.1.1.2   misho    4515:   if test "$cross_compiling" = yes; then :
1.1       misho    4516:   :
                   4517: else
1.1.1.2   misho    4518:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4519: /* end confdefs.h.  */
                   4520: #include <ctype.h>
1.1.1.2   misho    4521: #include <stdlib.h>
1.1       misho    4522: #if ((' ' & 0x0FF) == 0x020)
                   4523: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4524: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4525: #else
                   4526: # define ISLOWER(c) \
1.1.1.2   misho    4527:                   (('a' <= (c) && (c) <= 'i') \
                   4528:                     || ('j' <= (c) && (c) <= 'r') \
                   4529:                     || ('s' <= (c) && (c) <= 'z'))
1.1       misho    4530: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4531: #endif
                   4532: 
                   4533: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4534: int
                   4535: main ()
                   4536: {
                   4537:   int i;
                   4538:   for (i = 0; i < 256; i++)
                   4539:     if (XOR (islower (i), ISLOWER (i))
1.1.1.2   misho    4540:        || toupper (i) != TOUPPER (i))
                   4541:       return 2;
                   4542:   return 0;
1.1       misho    4543: }
                   4544: _ACEOF
1.1.1.2   misho    4545: if ac_fn_c_try_run "$LINENO"; then :
1.1       misho    4546: 
1.1.1.2   misho    4547: else
                   4548:   ac_cv_header_stdc=no
1.1       misho    4549: fi
1.1.1.2   misho    4550: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4551:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       misho    4552: fi
1.1.1.2   misho    4553: 
1.1       misho    4554: fi
                   4555: fi
1.1.1.2   misho    4556: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   4557: $as_echo "$ac_cv_header_stdc" >&6; }
1.1       misho    4558: if test $ac_cv_header_stdc = yes; then
                   4559: 
1.1.1.2   misho    4560: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1       misho    4561: 
                   4562: fi
                   4563: 
                   4564: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.1.1.2   misho    4565: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4566:                  inttypes.h stdint.h unistd.h
                   4567: do :
                   4568:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4569: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   4570: "
                   4571: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   4572:   cat >>confdefs.h <<_ACEOF
                   4573: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4574: _ACEOF
1.1       misho    4575: 
1.1.1.2   misho    4576: fi
1.1       misho    4577: 
1.1.1.2   misho    4578: done
1.1       misho    4579: 
                   4580: 
                   4581: 
1.1.1.2   misho    4582:   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
                   4583: if test "x$ac_cv_header_minix_config_h" = xyes; then :
                   4584:   MINIX=yes
                   4585: else
                   4586:   MINIX=
                   4587: fi
1.1       misho    4588: 
                   4589: 
1.1.1.2   misho    4590:   if test "$MINIX" = yes; then
1.1       misho    4591: 
1.1.1.2   misho    4592: $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
1.1       misho    4593: 
                   4594: 
1.1.1.2   misho    4595: $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
1.1       misho    4596: 
                   4597: 
1.1.1.2   misho    4598: $as_echo "#define _MINIX 1" >>confdefs.h
1.1       misho    4599: 
1.1.1.2   misho    4600:   fi
1.1       misho    4601: 
                   4602: 
1.1.1.2   misho    4603:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
                   4604: $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
                   4605: if ${ac_cv_safe_to_define___extensions__+:} false; then :
                   4606:   $as_echo_n "(cached) " >&6
1.1       misho    4607: else
1.1.1.2   misho    4608:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4609: /* end confdefs.h.  */
                   4610: 
1.1.1.4 ! misho    4611: #         define __EXTENSIONS__ 1
        !          4612:           $ac_includes_default
1.1.1.2   misho    4613: int
                   4614: main ()
                   4615: {
1.1       misho    4616: 
1.1.1.2   misho    4617:   ;
                   4618:   return 0;
                   4619: }
1.1       misho    4620: _ACEOF
1.1.1.2   misho    4621: if ac_fn_c_try_compile "$LINENO"; then :
                   4622:   ac_cv_safe_to_define___extensions__=yes
1.1       misho    4623: else
1.1.1.2   misho    4624:   ac_cv_safe_to_define___extensions__=no
1.1       misho    4625: fi
1.1.1.2   misho    4626: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misho    4627: fi
1.1.1.2   misho    4628: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
                   4629: $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
                   4630:   test $ac_cv_safe_to_define___extensions__ = yes &&
                   4631:     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
1.1       misho    4632: 
1.1.1.2   misho    4633:   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
1.1       misho    4634: 
1.1.1.2   misho    4635:   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
1.1       misho    4636: 
1.1.1.2   misho    4637:   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
1.1       misho    4638: 
1.1.1.2   misho    4639:   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
1.1       misho    4640: 
                   4641: 
1.1.1.4 ! misho    4642: # The default is to use only PIC objects.
        !          4643: # This can still be overwritten with --without-pic
1.1.1.2   misho    4644: case `pwd` in
                   4645:   *\ * | *\    *)
                   4646:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4647: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   4648: esac
1.1       misho    4649: 
                   4650: 
                   4651: 
1.1.1.4 ! misho    4652: macro_version='2.4.6'
        !          4653: macro_revision='2.4.6'
1.1       misho    4654: 
                   4655: 
                   4656: 
                   4657: 
                   4658: 
                   4659: 
                   4660: 
                   4661: 
                   4662: 
                   4663: 
                   4664: 
                   4665: 
                   4666: 
1.1.1.4 ! misho    4667: ltmain=$ac_aux_dir/ltmain.sh
1.1       misho    4668: 
1.1.1.2   misho    4669: # Backslashify metacharacters that are still active within
                   4670: # double-quoted strings.
                   4671: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.1       misho    4672: 
1.1.1.2   misho    4673: # Same as above, but do not quote variable references.
                   4674: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.1       misho    4675: 
1.1.1.2   misho    4676: # Sed substitution to delay expansion of an escaped shell variable in a
                   4677: # double_quote_subst'ed string.
                   4678: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.1       misho    4679: 
1.1.1.2   misho    4680: # Sed substitution to delay expansion of an escaped single quote.
                   4681: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.1       misho    4682: 
1.1.1.2   misho    4683: # Sed substitution to avoid accidental globbing in evaled expressions
                   4684: no_glob_subst='s/\*/\\\*/g'
1.1       misho    4685: 
1.1.1.2   misho    4686: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4687: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   4688: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.1       misho    4689: 
1.1.1.2   misho    4690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   4691: $as_echo_n "checking how to print strings... " >&6; }
                   4692: # Test print first, because it will be a builtin if present.
                   4693: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   4694:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4695:   ECHO='print -r --'
                   4696: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   4697:   ECHO='printf %s\n'
                   4698: else
                   4699:   # Use this function as a fallback that always works.
                   4700:   func_fallback_echo ()
                   4701:   {
                   4702:     eval 'cat <<_LTECHO_EOF
                   4703: $1
                   4704: _LTECHO_EOF'
                   4705:   }
                   4706:   ECHO='func_fallback_echo'
1.1       misho    4707: fi
                   4708: 
1.1.1.2   misho    4709: # func_echo_all arg...
                   4710: # Invoke $ECHO with all args, space-separated.
                   4711: func_echo_all ()
1.1       misho    4712: {
1.1.1.2   misho    4713:     $ECHO ""
1.1       misho    4714: }
                   4715: 
1.1.1.4 ! misho    4716: case $ECHO in
1.1.1.2   misho    4717:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   4718: $as_echo "printf" >&6; } ;;
                   4719:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   4720: $as_echo "print -r" >&6; } ;;
                   4721:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   4722: $as_echo "cat" >&6; } ;;
                   4723: esac
1.1       misho    4724: 
                   4725: 
                   4726: 
                   4727: 
                   4728: 
                   4729: 
                   4730: 
                   4731: 
                   4732: 
                   4733: 
                   4734: 
                   4735: 
                   4736: 
1.1.1.2   misho    4737: 
                   4738: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   4739: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   4740: if ${ac_cv_path_SED+:} false; then :
                   4741:   $as_echo_n "(cached) " >&6
                   4742: else
                   4743:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   4744:      for ac_i in 1 2 3 4 5 6 7; do
                   4745:        ac_script="$ac_script$as_nl$ac_script"
                   4746:      done
                   4747:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   4748:      { ac_script=; unset ac_script;}
                   4749:      if test -z "$SED"; then
                   4750:   ac_path_SED_found=false
                   4751:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4752:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4753: for as_dir in $PATH
                   4754: do
                   4755:   IFS=$as_save_IFS
                   4756:   test -z "$as_dir" && as_dir=.
                   4757:     for ac_prog in sed gsed; do
                   4758:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4759:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.4 ! misho    4760:       as_fn_executable_p "$ac_path_SED" || continue
1.1.1.2   misho    4761: # Check for GNU ac_path_SED and select it if it is found.
                   4762:   # Check for GNU $ac_path_SED
                   4763: case `"$ac_path_SED" --version 2>&1` in
                   4764: *GNU*)
                   4765:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   4766: *)
                   4767:   ac_count=0
                   4768:   $as_echo_n 0123456789 >"conftest.in"
                   4769:   while :
                   4770:   do
                   4771:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4772:     mv "conftest.tmp" "conftest.in"
                   4773:     cp "conftest.in" "conftest.nl"
                   4774:     $as_echo '' >> "conftest.nl"
                   4775:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4776:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4777:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4778:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   4779:       # Best one so far, save it but keep looking for a better one
                   4780:       ac_cv_path_SED="$ac_path_SED"
                   4781:       ac_path_SED_max=$ac_count
1.1       misho    4782:     fi
1.1.1.2   misho    4783:     # 10*(2^10) chars as input seems more than enough
                   4784:     test $ac_count -gt 10 && break
                   4785:   done
                   4786:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4787: esac
1.1       misho    4788: 
1.1.1.2   misho    4789:       $ac_path_SED_found && break 3
                   4790:     done
                   4791:   done
                   4792:   done
                   4793: IFS=$as_save_IFS
                   4794:   if test -z "$ac_cv_path_SED"; then
                   4795:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   4796:   fi
1.1       misho    4797: else
1.1.1.2   misho    4798:   ac_cv_path_SED=$SED
1.1       misho    4799: fi
                   4800: 
1.1.1.2   misho    4801: fi
                   4802: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   4803: $as_echo "$ac_cv_path_SED" >&6; }
                   4804:  SED="$ac_cv_path_SED"
                   4805:   rm -f conftest.sed
1.1       misho    4806: 
1.1.1.2   misho    4807: test -z "$SED" && SED=sed
                   4808: Xsed="$SED -e 1s/^X//"
1.1       misho    4809: 
                   4810: 
                   4811: 
                   4812: 
                   4813: 
                   4814: 
                   4815: 
                   4816: 
                   4817: 
                   4818: 
                   4819: 
1.1.1.2   misho    4820: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   4821: $as_echo_n "checking for fgrep... " >&6; }
                   4822: if ${ac_cv_path_FGREP+:} false; then :
                   4823:   $as_echo_n "(cached) " >&6
                   4824: else
                   4825:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   4826:    then ac_cv_path_FGREP="$GREP -F"
                   4827:    else
                   4828:      if test -z "$FGREP"; then
                   4829:   ac_path_FGREP_found=false
                   4830:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4831:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4832: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4833: do
                   4834:   IFS=$as_save_IFS
                   4835:   test -z "$as_dir" && as_dir=.
                   4836:     for ac_prog in fgrep; do
                   4837:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4838:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.4 ! misho    4839:       as_fn_executable_p "$ac_path_FGREP" || continue
1.1.1.2   misho    4840: # Check for GNU ac_path_FGREP and select it if it is found.
                   4841:   # Check for GNU $ac_path_FGREP
                   4842: case `"$ac_path_FGREP" --version 2>&1` in
                   4843: *GNU*)
                   4844:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   4845: *)
                   4846:   ac_count=0
                   4847:   $as_echo_n 0123456789 >"conftest.in"
                   4848:   while :
                   4849:   do
                   4850:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4851:     mv "conftest.tmp" "conftest.in"
                   4852:     cp "conftest.in" "conftest.nl"
                   4853:     $as_echo 'FGREP' >> "conftest.nl"
                   4854:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4855:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4856:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4857:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   4858:       # Best one so far, save it but keep looking for a better one
                   4859:       ac_cv_path_FGREP="$ac_path_FGREP"
                   4860:       ac_path_FGREP_max=$ac_count
                   4861:     fi
                   4862:     # 10*(2^10) chars as input seems more than enough
                   4863:     test $ac_count -gt 10 && break
                   4864:   done
                   4865:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4866: esac
                   4867: 
                   4868:       $ac_path_FGREP_found && break 3
                   4869:     done
                   4870:   done
                   4871:   done
                   4872: IFS=$as_save_IFS
                   4873:   if test -z "$ac_cv_path_FGREP"; then
                   4874:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1       misho    4875:   fi
                   4876: else
1.1.1.2   misho    4877:   ac_cv_path_FGREP=$FGREP
1.1       misho    4878: fi
                   4879: 
1.1.1.2   misho    4880:    fi
1.1       misho    4881: fi
1.1.1.2   misho    4882: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   4883: $as_echo "$ac_cv_path_FGREP" >&6; }
                   4884:  FGREP="$ac_cv_path_FGREP"
1.1       misho    4885: 
                   4886: 
1.1.1.2   misho    4887: test -z "$GREP" && GREP=grep
1.1       misho    4888: 
                   4889: 
                   4890: 
                   4891: 
                   4892: 
                   4893: 
                   4894: 
                   4895: 
                   4896: 
                   4897: 
                   4898: 
                   4899: 
                   4900: 
                   4901: 
                   4902: 
1.1.1.2   misho    4903: 
                   4904: 
                   4905: 
                   4906: 
                   4907: # Check whether --with-gnu-ld was given.
                   4908: if test "${with_gnu_ld+set}" = set; then :
1.1.1.4 ! misho    4909:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
1.1.1.2   misho    4910: else
                   4911:   with_gnu_ld=no
                   4912: fi
                   4913: 
                   4914: ac_prog=ld
1.1.1.4 ! misho    4915: if test yes = "$GCC"; then
1.1.1.2   misho    4916:   # Check if gcc -print-prog-name=ld gives a path.
                   4917:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   4918: $as_echo_n "checking for ld used by $CC... " >&6; }
                   4919:   case $host in
                   4920:   *-*-mingw*)
1.1.1.4 ! misho    4921:     # gcc leaves a trailing carriage return, which upsets mingw
1.1.1.2   misho    4922:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4923:   *)
                   4924:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4925:   esac
                   4926:   case $ac_prog in
                   4927:     # Accept absolute paths.
                   4928:     [\\/]* | ?:[\\/]*)
                   4929:       re_direlt='/[^/][^/]*/\.\./'
                   4930:       # Canonicalize the pathname of ld
                   4931:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4932:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4933:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4934:       done
1.1.1.4 ! misho    4935:       test -z "$LD" && LD=$ac_prog
1.1.1.2   misho    4936:       ;;
                   4937:   "")
                   4938:     # If it fails, then pretend we aren't using GCC.
                   4939:     ac_prog=ld
                   4940:     ;;
                   4941:   *)
                   4942:     # If it is relative, then search for the first ld in PATH.
                   4943:     with_gnu_ld=unknown
                   4944:     ;;
                   4945:   esac
1.1.1.4 ! misho    4946: elif test yes = "$with_gnu_ld"; then
1.1.1.2   misho    4947:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   4948: $as_echo_n "checking for GNU ld... " >&6; }
                   4949: else
                   4950:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   4951: $as_echo_n "checking for non-GNU ld... " >&6; }
                   4952: fi
                   4953: if ${lt_cv_path_LD+:} false; then :
                   4954:   $as_echo_n "(cached) " >&6
                   4955: else
                   4956:   if test -z "$LD"; then
1.1.1.4 ! misho    4957:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.1.1.2   misho    4958:   for ac_dir in $PATH; do
1.1.1.4 ! misho    4959:     IFS=$lt_save_ifs
1.1.1.2   misho    4960:     test -z "$ac_dir" && ac_dir=.
                   4961:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.1.1.4 ! misho    4962:       lt_cv_path_LD=$ac_dir/$ac_prog
1.1.1.2   misho    4963:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4964:       # but apparently some variants of GNU ld only accept -v.
                   4965:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4966:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4967:       *GNU* | *'with BFD'*)
1.1.1.4 ! misho    4968:        test no != "$with_gnu_ld" && break
1.1.1.2   misho    4969:        ;;
                   4970:       *)
1.1.1.4 ! misho    4971:        test yes != "$with_gnu_ld" && break
1.1.1.2   misho    4972:        ;;
                   4973:       esac
                   4974:     fi
                   4975:   done
1.1.1.4 ! misho    4976:   IFS=$lt_save_ifs
1.1.1.2   misho    4977: else
1.1.1.4 ! misho    4978:   lt_cv_path_LD=$LD # Let the user override the test with a path.
1.1.1.2   misho    4979: fi
                   4980: fi
                   4981: 
1.1.1.4 ! misho    4982: LD=$lt_cv_path_LD
1.1.1.2   misho    4983: if test -n "$LD"; then
                   4984:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   4985: $as_echo "$LD" >&6; }
                   4986: else
                   4987:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4988: $as_echo "no" >&6; }
                   4989: fi
                   4990: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   4991: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   4992: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   4993: if ${lt_cv_prog_gnu_ld+:} false; then :
                   4994:   $as_echo_n "(cached) " >&6
                   4995: else
                   4996:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4997: case `$LD -v 2>&1 </dev/null` in
                   4998: *GNU* | *'with BFD'*)
                   4999:   lt_cv_prog_gnu_ld=yes
                   5000:   ;;
                   5001: *)
                   5002:   lt_cv_prog_gnu_ld=no
                   5003:   ;;
                   5004: esac
                   5005: fi
                   5006: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5007: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   5008: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5009: 
                   5010: 
                   5011: 
                   5012: 
                   5013: 
                   5014: 
                   5015: 
                   5016: 
                   5017: 
                   5018: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5019: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5020: if ${lt_cv_path_NM+:} false; then :
                   5021:   $as_echo_n "(cached) " >&6
                   5022: else
                   5023:   if test -n "$NM"; then
                   5024:   # Let the user override the test.
1.1.1.4 ! misho    5025:   lt_cv_path_NM=$NM
1.1.1.2   misho    5026: else
1.1.1.4 ! misho    5027:   lt_nm_to_check=${ac_tool_prefix}nm
1.1.1.2   misho    5028:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5029:     lt_nm_to_check="$lt_nm_to_check nm"
                   5030:   fi
                   5031:   for lt_tmp_nm in $lt_nm_to_check; do
1.1.1.4 ! misho    5032:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.1.1.2   misho    5033:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1.1.1.4 ! misho    5034:       IFS=$lt_save_ifs
1.1.1.2   misho    5035:       test -z "$ac_dir" && ac_dir=.
1.1.1.4 ! misho    5036:       tmp_nm=$ac_dir/$lt_tmp_nm
        !          5037:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
1.1.1.2   misho    5038:        # Check to see if the nm accepts a BSD-compat flag.
1.1.1.4 ! misho    5039:        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
1.1.1.2   misho    5040:        #   nm: unknown option "B" ignored
                   5041:        # Tru64's nm complains that /dev/null is an invalid object file
1.1.1.4 ! misho    5042:        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
        !          5043:        case $build_os in
        !          5044:        mingw*) lt_bad_file=conftest.nm/nofile ;;
        !          5045:        *) lt_bad_file=/dev/null ;;
        !          5046:        esac
        !          5047:        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
        !          5048:        *$lt_bad_file* | *'Invalid file or object type'*)
1.1.1.2   misho    5049:          lt_cv_path_NM="$tmp_nm -B"
1.1.1.4 ! misho    5050:          break 2
1.1.1.2   misho    5051:          ;;
                   5052:        *)
                   5053:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5054:          */dev/null*)
                   5055:            lt_cv_path_NM="$tmp_nm -p"
1.1.1.4 ! misho    5056:            break 2
1.1.1.2   misho    5057:            ;;
                   5058:          *)
                   5059:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5060:            continue # so that we can try to find one that supports BSD flags
                   5061:            ;;
                   5062:          esac
                   5063:          ;;
                   5064:        esac
                   5065:       fi
                   5066:     done
1.1.1.4 ! misho    5067:     IFS=$lt_save_ifs
1.1.1.2   misho    5068:   done
                   5069:   : ${lt_cv_path_NM=no}
                   5070: fi
                   5071: fi
                   5072: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5073: $as_echo "$lt_cv_path_NM" >&6; }
1.1.1.4 ! misho    5074: if test no != "$lt_cv_path_NM"; then
        !          5075:   NM=$lt_cv_path_NM
1.1.1.2   misho    5076: else
                   5077:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5078:   if test -n "$DUMPBIN"; then :
                   5079:     # Let the user override the test.
                   5080:   else
                   5081:     if test -n "$ac_tool_prefix"; then
                   5082:   for ac_prog in dumpbin "link -dump"
                   5083:   do
                   5084:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5085: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5086: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5087: $as_echo_n "checking for $ac_word... " >&6; }
                   5088: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5089:   $as_echo_n "(cached) " >&6
                   5090: else
                   5091:   if test -n "$DUMPBIN"; then
                   5092:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5093: else
                   5094: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5095: for as_dir in $PATH
                   5096: do
                   5097:   IFS=$as_save_IFS
                   5098:   test -z "$as_dir" && as_dir=.
                   5099:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    5100:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    5101:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   5102:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5103:     break 2
                   5104:   fi
                   5105: done
                   5106:   done
                   5107: IFS=$as_save_IFS
                   5108: 
                   5109: fi
                   5110: fi
                   5111: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5112: if test -n "$DUMPBIN"; then
                   5113:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5114: $as_echo "$DUMPBIN" >&6; }
                   5115: else
                   5116:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5117: $as_echo "no" >&6; }
                   5118: fi
                   5119: 
                   5120: 
                   5121:     test -n "$DUMPBIN" && break
                   5122:   done
                   5123: fi
                   5124: if test -z "$DUMPBIN"; then
                   5125:   ac_ct_DUMPBIN=$DUMPBIN
                   5126:   for ac_prog in dumpbin "link -dump"
                   5127: do
                   5128:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5129: set dummy $ac_prog; ac_word=$2
                   5130: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5131: $as_echo_n "checking for $ac_word... " >&6; }
                   5132: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5133:   $as_echo_n "(cached) " >&6
                   5134: else
                   5135:   if test -n "$ac_ct_DUMPBIN"; then
                   5136:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5137: else
                   5138: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5139: for as_dir in $PATH
                   5140: do
                   5141:   IFS=$as_save_IFS
                   5142:   test -z "$as_dir" && as_dir=.
                   5143:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    5144:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    5145:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   5146:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5147:     break 2
                   5148:   fi
                   5149: done
                   5150:   done
                   5151: IFS=$as_save_IFS
                   5152: 
                   5153: fi
                   5154: fi
                   5155: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5156: if test -n "$ac_ct_DUMPBIN"; then
                   5157:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5158: $as_echo "$ac_ct_DUMPBIN" >&6; }
                   5159: else
                   5160:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5161: $as_echo "no" >&6; }
                   5162: fi
                   5163: 
                   5164: 
                   5165:   test -n "$ac_ct_DUMPBIN" && break
                   5166: done
                   5167: 
                   5168:   if test "x$ac_ct_DUMPBIN" = x; then
                   5169:     DUMPBIN=":"
                   5170:   else
                   5171:     case $cross_compiling:$ac_tool_warned in
                   5172: yes:)
                   5173: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5174: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5175: ac_tool_warned=yes ;;
                   5176: esac
                   5177:     DUMPBIN=$ac_ct_DUMPBIN
                   5178:   fi
                   5179: fi
                   5180: 
1.1.1.4 ! misho    5181:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
1.1.1.2   misho    5182:     *COFF*)
1.1.1.4 ! misho    5183:       DUMPBIN="$DUMPBIN -symbols -headers"
1.1.1.2   misho    5184:       ;;
                   5185:     *)
                   5186:       DUMPBIN=:
                   5187:       ;;
                   5188:     esac
                   5189:   fi
                   5190: 
1.1.1.4 ! misho    5191:   if test : != "$DUMPBIN"; then
        !          5192:     NM=$DUMPBIN
1.1.1.2   misho    5193:   fi
                   5194: fi
                   5195: test -z "$NM" && NM=nm
                   5196: 
                   5197: 
                   5198: 
                   5199: 
                   5200: 
                   5201: 
                   5202: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5203: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5204: if ${lt_cv_nm_interface+:} false; then :
                   5205:   $as_echo_n "(cached) " >&6
                   5206: else
                   5207:   lt_cv_nm_interface="BSD nm"
                   5208:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5209:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5210:   (eval "$ac_compile" 2>conftest.err)
                   5211:   cat conftest.err >&5
                   5212:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5213:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5214:   cat conftest.err >&5
                   5215:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5216:   cat conftest.out >&5
                   5217:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5218:     lt_cv_nm_interface="MS dumpbin"
                   5219:   fi
                   5220:   rm -f conftest*
                   5221: fi
                   5222: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5223: $as_echo "$lt_cv_nm_interface" >&6; }
                   5224: 
                   5225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5226: $as_echo_n "checking whether ln -s works... " >&6; }
                   5227: LN_S=$as_ln_s
                   5228: if test "$LN_S" = "ln -s"; then
                   5229:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5230: $as_echo "yes" >&6; }
                   5231: else
                   5232:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5233: $as_echo "no, using $LN_S" >&6; }
                   5234: fi
                   5235: 
                   5236: # find the maximum length of command line arguments
                   5237: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5238: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5239: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   5240:   $as_echo_n "(cached) " >&6
                   5241: else
                   5242:     i=0
1.1.1.4 ! misho    5243:   teststring=ABCD
1.1.1.2   misho    5244: 
                   5245:   case $build_os in
                   5246:   msdosdjgpp*)
                   5247:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5248:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5249:     # during glob expansion).  Even if it were fixed, the result of this
                   5250:     # check would be larger than it should be.
                   5251:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5252:     ;;
                   5253: 
                   5254:   gnu*)
                   5255:     # Under GNU Hurd, this test is not required because there is
                   5256:     # no limit to the length of command line arguments.
                   5257:     # Libtool will interpret -1 as no limit whatsoever
                   5258:     lt_cv_sys_max_cmd_len=-1;
                   5259:     ;;
                   5260: 
                   5261:   cygwin* | mingw* | cegcc*)
                   5262:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5263:     # about 5 minutes as the teststring grows exponentially.
                   5264:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5265:     # you end up with a "frozen" computer, even though with patience
                   5266:     # the test eventually succeeds (with a max line length of 256k).
                   5267:     # Instead, let's just punt: use the minimum linelength reported by
                   5268:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5269:     lt_cv_sys_max_cmd_len=8192;
                   5270:     ;;
                   5271: 
                   5272:   mint*)
                   5273:     # On MiNT this can take a long time and run out of memory.
                   5274:     lt_cv_sys_max_cmd_len=8192;
                   5275:     ;;
                   5276: 
                   5277:   amigaos*)
                   5278:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5279:     # So we just punt and use a minimum line length of 8192.
                   5280:     lt_cv_sys_max_cmd_len=8192;
                   5281:     ;;
                   5282: 
1.1.1.4 ! misho    5283:   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1.1.1.2   misho    5284:     # This has been around since 386BSD, at least.  Likely further.
                   5285:     if test -x /sbin/sysctl; then
                   5286:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5287:     elif test -x /usr/sbin/sysctl; then
                   5288:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5289:     else
                   5290:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5291:     fi
                   5292:     # And add a safety zone
                   5293:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5294:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5295:     ;;
                   5296: 
                   5297:   interix*)
                   5298:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5299:     lt_cv_sys_max_cmd_len=196608
                   5300:     ;;
                   5301: 
1.1.1.4 ! misho    5302:   os2*)
        !          5303:     # The test takes a long time on OS/2.
        !          5304:     lt_cv_sys_max_cmd_len=8192
        !          5305:     ;;
        !          5306: 
1.1.1.2   misho    5307:   osf*)
                   5308:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5309:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5310:     # nice to cause kernel panics so lets avoid the loop below.
                   5311:     # First set a reasonable default.
                   5312:     lt_cv_sys_max_cmd_len=16384
                   5313:     #
                   5314:     if test -x /sbin/sysconfig; then
                   5315:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5316:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5317:       esac
                   5318:     fi
                   5319:     ;;
                   5320:   sco3.2v5*)
                   5321:     lt_cv_sys_max_cmd_len=102400
                   5322:     ;;
                   5323:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5324:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5325:     if test -n "$kargmax"; then
                   5326:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5327:     else
                   5328:       lt_cv_sys_max_cmd_len=32768
                   5329:     fi
                   5330:     ;;
                   5331:   *)
                   5332:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1.1.1.4 ! misho    5333:     if test -n "$lt_cv_sys_max_cmd_len" && \
        !          5334:        test undefined != "$lt_cv_sys_max_cmd_len"; then
1.1.1.2   misho    5335:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5336:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5337:     else
                   5338:       # Make teststring a little bigger before we do anything with it.
                   5339:       # a 1K string should be a reasonable start.
1.1.1.4 ! misho    5340:       for i in 1 2 3 4 5 6 7 8; do
1.1.1.2   misho    5341:         teststring=$teststring$teststring
                   5342:       done
                   5343:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5344:       # If test is not a shell built-in, we'll probably end up computing a
                   5345:       # maximum length that is only half of the actual maximum length, but
                   5346:       # we can't tell.
1.1.1.4 ! misho    5347:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
1.1.1.2   misho    5348:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1.1.1.4 ! misho    5349:              test 17 != "$i" # 1/2 MB should be enough
1.1.1.2   misho    5350:       do
                   5351:         i=`expr $i + 1`
                   5352:         teststring=$teststring$teststring
                   5353:       done
                   5354:       # Only check the string length outside the loop.
                   5355:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5356:       teststring=
                   5357:       # Add a significant safety factor because C++ compilers can tack on
                   5358:       # massive amounts of additional arguments before passing them to the
                   5359:       # linker.  It appears as though 1/2 is a usable value.
                   5360:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5361:     fi
                   5362:     ;;
                   5363:   esac
                   5364: 
                   5365: fi
                   5366: 
1.1.1.4 ! misho    5367: if test -n "$lt_cv_sys_max_cmd_len"; then
1.1.1.2   misho    5368:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5369: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   5370: else
                   5371:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5372: $as_echo "none" >&6; }
                   5373: fi
                   5374: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5375: 
                   5376: 
                   5377: 
                   5378: 
                   5379: 
                   5380: 
                   5381: : ${CP="cp -f"}
                   5382: : ${MV="mv -f"}
                   5383: : ${RM="rm -f"}
                   5384: 
                   5385: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5386:   lt_unset=unset
                   5387: else
                   5388:   lt_unset=false
                   5389: fi
                   5390: 
                   5391: 
                   5392: 
                   5393: 
                   5394: 
                   5395: # test EBCDIC or ASCII
                   5396: case `echo X|tr X '\101'` in
                   5397:  A) # ASCII based system
                   5398:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5399:   lt_SP2NL='tr \040 \012'
                   5400:   lt_NL2SP='tr \015\012 \040\040'
                   5401:   ;;
                   5402:  *) # EBCDIC based system
                   5403:   lt_SP2NL='tr \100 \n'
                   5404:   lt_NL2SP='tr \r\n \100\100'
                   5405:   ;;
                   5406: esac
                   5407: 
                   5408: 
                   5409: 
                   5410: 
                   5411: 
                   5412: 
                   5413: 
                   5414: 
                   5415: 
                   5416: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   5417: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   5418: if ${lt_cv_to_host_file_cmd+:} false; then :
                   5419:   $as_echo_n "(cached) " >&6
                   5420: else
                   5421:   case $host in
                   5422:   *-*-mingw* )
                   5423:     case $build in
                   5424:       *-*-mingw* ) # actually msys
                   5425:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5426:         ;;
                   5427:       *-*-cygwin* )
                   5428:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5429:         ;;
                   5430:       * ) # otherwise, assume *nix
                   5431:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5432:         ;;
                   5433:     esac
                   5434:     ;;
                   5435:   *-*-cygwin* )
                   5436:     case $build in
                   5437:       *-*-mingw* ) # actually msys
                   5438:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5439:         ;;
                   5440:       *-*-cygwin* )
                   5441:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5442:         ;;
                   5443:       * ) # otherwise, assume *nix
                   5444:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5445:         ;;
                   5446:     esac
                   5447:     ;;
                   5448:   * ) # unhandled hosts (and "normal" native builds)
                   5449:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5450:     ;;
                   5451: esac
                   5452: 
                   5453: fi
                   5454: 
                   5455: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   5456: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   5457: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
                   5458: 
                   5459: 
                   5460: 
                   5461: 
                   5462: 
                   5463: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   5464: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   5465: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   5466:   $as_echo_n "(cached) " >&6
                   5467: else
                   5468:   #assume ordinary cross tools, or native build.
                   5469: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5470: case $host in
                   5471:   *-*-mingw* )
                   5472:     case $build in
                   5473:       *-*-mingw* ) # actually msys
                   5474:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5475:         ;;
                   5476:     esac
                   5477:     ;;
                   5478: esac
                   5479: 
                   5480: fi
                   5481: 
                   5482: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   5483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   5484: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
                   5485: 
                   5486: 
                   5487: 
                   5488: 
                   5489: 
                   5490: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   5491: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   5492: if ${lt_cv_ld_reload_flag+:} false; then :
                   5493:   $as_echo_n "(cached) " >&6
                   5494: else
                   5495:   lt_cv_ld_reload_flag='-r'
                   5496: fi
                   5497: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   5498: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   5499: reload_flag=$lt_cv_ld_reload_flag
                   5500: case $reload_flag in
                   5501: "" | " "*) ;;
                   5502: *) reload_flag=" $reload_flag" ;;
                   5503: esac
                   5504: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5505: case $host_os in
                   5506:   cygwin* | mingw* | pw32* | cegcc*)
1.1.1.4 ! misho    5507:     if test yes != "$GCC"; then
1.1.1.2   misho    5508:       reload_cmds=false
                   5509:     fi
                   5510:     ;;
                   5511:   darwin*)
1.1.1.4 ! misho    5512:     if test yes = "$GCC"; then
        !          5513:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
1.1.1.2   misho    5514:     else
                   5515:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5516:     fi
                   5517:     ;;
                   5518: esac
                   5519: 
                   5520: 
                   5521: 
                   5522: 
                   5523: 
                   5524: 
                   5525: 
                   5526: 
                   5527: 
                   5528: if test -n "$ac_tool_prefix"; then
                   5529:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5530: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   5531: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5532: $as_echo_n "checking for $ac_word... " >&6; }
                   5533: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   5534:   $as_echo_n "(cached) " >&6
                   5535: else
                   5536:   if test -n "$OBJDUMP"; then
                   5537:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5538: else
                   5539: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5540: for as_dir in $PATH
                   5541: do
                   5542:   IFS=$as_save_IFS
                   5543:   test -z "$as_dir" && as_dir=.
                   5544:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    5545:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    5546:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   5547:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5548:     break 2
                   5549:   fi
                   5550: done
                   5551:   done
                   5552: IFS=$as_save_IFS
                   5553: 
                   5554: fi
                   5555: fi
                   5556: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5557: if test -n "$OBJDUMP"; then
                   5558:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   5559: $as_echo "$OBJDUMP" >&6; }
                   5560: else
                   5561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5562: $as_echo "no" >&6; }
                   5563: fi
                   5564: 
                   5565: 
                   5566: fi
                   5567: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5568:   ac_ct_OBJDUMP=$OBJDUMP
                   5569:   # Extract the first word of "objdump", so it can be a program name with args.
                   5570: set dummy objdump; ac_word=$2
                   5571: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5572: $as_echo_n "checking for $ac_word... " >&6; }
                   5573: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   5574:   $as_echo_n "(cached) " >&6
                   5575: else
                   5576:   if test -n "$ac_ct_OBJDUMP"; then
                   5577:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5578: else
                   5579: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5580: for as_dir in $PATH
                   5581: do
                   5582:   IFS=$as_save_IFS
                   5583:   test -z "$as_dir" && as_dir=.
                   5584:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    5585:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    5586:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5587:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5588:     break 2
                   5589:   fi
                   5590: done
                   5591:   done
                   5592: IFS=$as_save_IFS
                   5593: 
                   5594: fi
                   5595: fi
                   5596: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5597: if test -n "$ac_ct_OBJDUMP"; then
                   5598:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   5599: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   5600: else
                   5601:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5602: $as_echo "no" >&6; }
                   5603: fi
                   5604: 
                   5605:   if test "x$ac_ct_OBJDUMP" = x; then
                   5606:     OBJDUMP="false"
                   5607:   else
                   5608:     case $cross_compiling:$ac_tool_warned in
                   5609: yes:)
                   5610: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5611: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5612: ac_tool_warned=yes ;;
                   5613: esac
                   5614:     OBJDUMP=$ac_ct_OBJDUMP
                   5615:   fi
                   5616: else
                   5617:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5618: fi
                   5619: 
                   5620: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5621: 
                   5622: 
                   5623: 
                   5624: 
                   5625: 
                   5626: 
                   5627: 
                   5628: 
                   5629: 
                   5630: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   5631: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   5632: if ${lt_cv_deplibs_check_method+:} false; then :
                   5633:   $as_echo_n "(cached) " >&6
                   5634: else
                   5635:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5636: lt_cv_file_magic_test_file=
                   5637: lt_cv_deplibs_check_method='unknown'
                   5638: # Need to set the preceding variable on all platforms that support
                   5639: # interlibrary dependencies.
                   5640: # 'none' -- dependencies not supported.
1.1.1.4 ! misho    5641: # 'unknown' -- same as none, but documents that we really don't know.
1.1.1.2   misho    5642: # 'pass_all' -- all dependencies passed with no checks.
                   5643: # 'test_compile' -- check by making test program.
                   5644: # 'file_magic [[regex]]' -- check by looking for files in library path
1.1.1.4 ! misho    5645: # that responds to the $file_magic_cmd with a given extended regex.
        !          5646: # If you have 'file' or equivalent on your system and you're not sure
        !          5647: # whether 'pass_all' will *always* work, you probably want this one.
1.1.1.2   misho    5648: 
                   5649: case $host_os in
                   5650: aix[4-9]*)
                   5651:   lt_cv_deplibs_check_method=pass_all
                   5652:   ;;
                   5653: 
                   5654: beos*)
                   5655:   lt_cv_deplibs_check_method=pass_all
                   5656:   ;;
                   5657: 
                   5658: bsdi[45]*)
                   5659:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5660:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5661:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5662:   ;;
                   5663: 
                   5664: cygwin*)
                   5665:   # func_win32_libid is a shell function defined in ltmain.sh
                   5666:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5667:   lt_cv_file_magic_cmd='func_win32_libid'
                   5668:   ;;
                   5669: 
                   5670: mingw* | pw32*)
                   5671:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5672:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5673:   # unless we find 'file', for example because we are cross-compiling.
1.1.1.4 ! misho    5674:   if ( file / ) >/dev/null 2>&1; then
1.1.1.2   misho    5675:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5676:     lt_cv_file_magic_cmd='func_win32_libid'
                   5677:   else
                   5678:     # Keep this pattern in sync with the one in func_win32_libid.
                   5679:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   5680:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5681:   fi
                   5682:   ;;
                   5683: 
                   5684: cegcc*)
                   5685:   # use the weaker test based on 'objdump'. See mingw*.
                   5686:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   5687:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5688:   ;;
                   5689: 
                   5690: darwin* | rhapsody*)
                   5691:   lt_cv_deplibs_check_method=pass_all
                   5692:   ;;
                   5693: 
                   5694: freebsd* | dragonfly*)
                   5695:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5696:     case $host_cpu in
                   5697:     i*86 )
                   5698:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5699:       # Let's accept both of them until this is cleared up.
                   5700:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   5701:       lt_cv_file_magic_cmd=/usr/bin/file
                   5702:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5703:       ;;
                   5704:     esac
                   5705:   else
                   5706:     lt_cv_deplibs_check_method=pass_all
                   5707:   fi
                   5708:   ;;
                   5709: 
                   5710: haiku*)
                   5711:   lt_cv_deplibs_check_method=pass_all
                   5712:   ;;
                   5713: 
                   5714: hpux10.20* | hpux11*)
                   5715:   lt_cv_file_magic_cmd=/usr/bin/file
                   5716:   case $host_cpu in
                   5717:   ia64*)
                   5718:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5719:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5720:     ;;
                   5721:   hppa*64*)
                   5722:     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]'
                   5723:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   5724:     ;;
                   5725:   *)
                   5726:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5727:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   5728:     ;;
                   5729:   esac
                   5730:   ;;
                   5731: 
                   5732: interix[3-9]*)
                   5733:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5734:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5735:   ;;
                   5736: 
                   5737: irix5* | irix6* | nonstopux*)
                   5738:   case $LD in
                   5739:   *-32|*"-32 ") libmagic=32-bit;;
                   5740:   *-n32|*"-n32 ") libmagic=N32;;
                   5741:   *-64|*"-64 ") libmagic=64-bit;;
                   5742:   *) libmagic=never-match;;
                   5743:   esac
                   5744:   lt_cv_deplibs_check_method=pass_all
                   5745:   ;;
                   5746: 
1.1.1.4 ! misho    5747: # This must be glibc/ELF.
        !          5748: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.1.1.2   misho    5749:   lt_cv_deplibs_check_method=pass_all
                   5750:   ;;
                   5751: 
                   5752: netbsd* | netbsdelf*-gnu)
                   5753:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5754:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5755:   else
                   5756:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   5757:   fi
                   5758:   ;;
                   5759: 
                   5760: newos6*)
                   5761:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5762:   lt_cv_file_magic_cmd=/usr/bin/file
                   5763:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5764:   ;;
                   5765: 
                   5766: *nto* | *qnx*)
                   5767:   lt_cv_deplibs_check_method=pass_all
                   5768:   ;;
                   5769: 
1.1.1.4 ! misho    5770: openbsd* | bitrig*)
        !          5771:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.1.1.2   misho    5772:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   5773:   else
                   5774:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5775:   fi
                   5776:   ;;
                   5777: 
                   5778: osf3* | osf4* | osf5*)
                   5779:   lt_cv_deplibs_check_method=pass_all
                   5780:   ;;
                   5781: 
                   5782: rdos*)
                   5783:   lt_cv_deplibs_check_method=pass_all
                   5784:   ;;
                   5785: 
                   5786: solaris*)
                   5787:   lt_cv_deplibs_check_method=pass_all
                   5788:   ;;
                   5789: 
                   5790: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   5791:   lt_cv_deplibs_check_method=pass_all
                   5792:   ;;
                   5793: 
                   5794: sysv4 | sysv4.3*)
                   5795:   case $host_vendor in
                   5796:   motorola)
                   5797:     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]'
                   5798:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5799:     ;;
                   5800:   ncr)
                   5801:     lt_cv_deplibs_check_method=pass_all
                   5802:     ;;
                   5803:   sequent)
                   5804:     lt_cv_file_magic_cmd='/bin/file'
                   5805:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5806:     ;;
                   5807:   sni)
                   5808:     lt_cv_file_magic_cmd='/bin/file'
                   5809:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5810:     lt_cv_file_magic_test_file=/lib/libc.so
                   5811:     ;;
                   5812:   siemens)
                   5813:     lt_cv_deplibs_check_method=pass_all
                   5814:     ;;
                   5815:   pc)
                   5816:     lt_cv_deplibs_check_method=pass_all
                   5817:     ;;
                   5818:   esac
                   5819:   ;;
                   5820: 
                   5821: tpf*)
                   5822:   lt_cv_deplibs_check_method=pass_all
                   5823:   ;;
1.1.1.4 ! misho    5824: os2*)
        !          5825:   lt_cv_deplibs_check_method=pass_all
        !          5826:   ;;
1.1.1.2   misho    5827: esac
                   5828: 
                   5829: fi
                   5830: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   5831: $as_echo "$lt_cv_deplibs_check_method" >&6; }
                   5832: 
                   5833: file_magic_glob=
                   5834: want_nocaseglob=no
                   5835: if test "$build" = "$host"; then
                   5836:   case $host_os in
                   5837:   mingw* | pw32*)
                   5838:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5839:       want_nocaseglob=yes
                   5840:     else
                   5841:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5842:     fi
                   5843:     ;;
                   5844:   esac
                   5845: fi
                   5846: 
                   5847: file_magic_cmd=$lt_cv_file_magic_cmd
                   5848: deplibs_check_method=$lt_cv_deplibs_check_method
                   5849: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   5850: 
                   5851: 
                   5852: 
                   5853: 
                   5854: 
                   5855: 
                   5856: 
                   5857: 
                   5858: 
                   5859: 
                   5860: 
                   5861: 
                   5862: 
                   5863: 
                   5864: 
                   5865: 
                   5866: 
                   5867: 
                   5868: 
                   5869: 
                   5870: 
                   5871: 
                   5872: if test -n "$ac_tool_prefix"; then
                   5873:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5874: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   5875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5876: $as_echo_n "checking for $ac_word... " >&6; }
                   5877: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   5878:   $as_echo_n "(cached) " >&6
                   5879: else
                   5880:   if test -n "$DLLTOOL"; then
                   5881:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5882: else
                   5883: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5884: for as_dir in $PATH
                   5885: do
                   5886:   IFS=$as_save_IFS
                   5887:   test -z "$as_dir" && as_dir=.
                   5888:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    5889:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    5890:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   5891:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5892:     break 2
                   5893:   fi
                   5894: done
                   5895:   done
                   5896: IFS=$as_save_IFS
                   5897: 
                   5898: fi
                   5899: fi
                   5900: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5901: if test -n "$DLLTOOL"; then
                   5902:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   5903: $as_echo "$DLLTOOL" >&6; }
                   5904: else
                   5905:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5906: $as_echo "no" >&6; }
                   5907: fi
                   5908: 
                   5909: 
                   5910: fi
                   5911: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5912:   ac_ct_DLLTOOL=$DLLTOOL
                   5913:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5914: set dummy dlltool; ac_word=$2
                   5915: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5916: $as_echo_n "checking for $ac_word... " >&6; }
                   5917: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   5918:   $as_echo_n "(cached) " >&6
                   5919: else
                   5920:   if test -n "$ac_ct_DLLTOOL"; then
                   5921:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   5922: else
                   5923: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5924: for as_dir in $PATH
                   5925: do
                   5926:   IFS=$as_save_IFS
                   5927:   test -z "$as_dir" && as_dir=.
                   5928:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    5929:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    5930:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   5931:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5932:     break 2
                   5933:   fi
                   5934: done
                   5935:   done
                   5936: IFS=$as_save_IFS
                   5937: 
                   5938: fi
                   5939: fi
                   5940: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5941: if test -n "$ac_ct_DLLTOOL"; then
                   5942:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   5943: $as_echo "$ac_ct_DLLTOOL" >&6; }
                   5944: else
                   5945:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5946: $as_echo "no" >&6; }
                   5947: fi
                   5948: 
                   5949:   if test "x$ac_ct_DLLTOOL" = x; then
                   5950:     DLLTOOL="false"
                   5951:   else
                   5952:     case $cross_compiling:$ac_tool_warned in
                   5953: yes:)
                   5954: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5955: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5956: ac_tool_warned=yes ;;
                   5957: esac
                   5958:     DLLTOOL=$ac_ct_DLLTOOL
                   5959:   fi
                   5960: else
                   5961:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   5962: fi
                   5963: 
                   5964: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5965: 
                   5966: 
                   5967: 
                   5968: 
                   5969: 
                   5970: 
                   5971: 
                   5972: 
                   5973: 
                   5974: 
                   5975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   5976: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   5977: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   5978:   $as_echo_n "(cached) " >&6
                   5979: else
                   5980:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   5981: 
                   5982: case $host_os in
                   5983: cygwin* | mingw* | pw32* | cegcc*)
1.1.1.4 ! misho    5984:   # two different shell functions defined in ltmain.sh;
        !          5985:   # decide which one to use based on capabilities of $DLLTOOL
1.1.1.2   misho    5986:   case `$DLLTOOL --help 2>&1` in
                   5987:   *--identify-strict*)
                   5988:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5989:     ;;
                   5990:   *)
                   5991:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5992:     ;;
                   5993:   esac
                   5994:   ;;
                   5995: *)
                   5996:   # fallback: assume linklib IS sharedlib
1.1.1.4 ! misho    5997:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
1.1.1.2   misho    5998:   ;;
                   5999: esac
                   6000: 
                   6001: fi
                   6002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   6003: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
                   6004: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6005: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6006: 
                   6007: 
                   6008: 
                   6009: 
                   6010: 
                   6011: 
                   6012: 
                   6013: if test -n "$ac_tool_prefix"; then
                   6014:   for ac_prog in ar
                   6015:   do
                   6016:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6017: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   6018: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6019: $as_echo_n "checking for $ac_word... " >&6; }
                   6020: if ${ac_cv_prog_AR+:} false; then :
                   6021:   $as_echo_n "(cached) " >&6
                   6022: else
                   6023:   if test -n "$AR"; then
                   6024:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6025: else
                   6026: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6027: for as_dir in $PATH
                   6028: do
                   6029:   IFS=$as_save_IFS
                   6030:   test -z "$as_dir" && as_dir=.
                   6031:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    6032:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    6033:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   6034:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6035:     break 2
                   6036:   fi
                   6037: done
                   6038:   done
                   6039: IFS=$as_save_IFS
                   6040: 
                   6041: fi
                   6042: fi
                   6043: AR=$ac_cv_prog_AR
                   6044: if test -n "$AR"; then
                   6045:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6046: $as_echo "$AR" >&6; }
                   6047: else
                   6048:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6049: $as_echo "no" >&6; }
                   6050: fi
                   6051: 
                   6052: 
                   6053:     test -n "$AR" && break
                   6054:   done
                   6055: fi
                   6056: if test -z "$AR"; then
                   6057:   ac_ct_AR=$AR
                   6058:   for ac_prog in ar
                   6059: do
                   6060:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6061: set dummy $ac_prog; ac_word=$2
                   6062: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6063: $as_echo_n "checking for $ac_word... " >&6; }
                   6064: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6065:   $as_echo_n "(cached) " >&6
                   6066: else
                   6067:   if test -n "$ac_ct_AR"; then
                   6068:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6069: else
                   6070: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6071: for as_dir in $PATH
                   6072: do
                   6073:   IFS=$as_save_IFS
                   6074:   test -z "$as_dir" && as_dir=.
                   6075:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    6076:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    6077:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   6078:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6079:     break 2
                   6080:   fi
                   6081: done
                   6082:   done
                   6083: IFS=$as_save_IFS
                   6084: 
                   6085: fi
                   6086: fi
                   6087: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6088: if test -n "$ac_ct_AR"; then
                   6089:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6090: $as_echo "$ac_ct_AR" >&6; }
                   6091: else
                   6092:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6093: $as_echo "no" >&6; }
                   6094: fi
                   6095: 
                   6096: 
                   6097:   test -n "$ac_ct_AR" && break
                   6098: done
                   6099: 
                   6100:   if test "x$ac_ct_AR" = x; then
                   6101:     AR="false"
                   6102:   else
                   6103:     case $cross_compiling:$ac_tool_warned in
                   6104: yes:)
                   6105: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6106: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6107: ac_tool_warned=yes ;;
                   6108: esac
                   6109:     AR=$ac_ct_AR
                   6110:   fi
                   6111: fi
                   6112: 
                   6113: : ${AR=ar}
                   6114: : ${AR_FLAGS=cru}
                   6115: 
                   6116: 
                   6117: 
                   6118: 
                   6119: 
                   6120: 
                   6121: 
                   6122: 
                   6123: 
                   6124: 
                   6125: 
                   6126: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   6127: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   6128: if ${lt_cv_ar_at_file+:} false; then :
                   6129:   $as_echo_n "(cached) " >&6
                   6130: else
                   6131:   lt_cv_ar_at_file=no
                   6132:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6133: /* end confdefs.h.  */
                   6134: 
                   6135: int
                   6136: main ()
                   6137: {
                   6138: 
                   6139:   ;
                   6140:   return 0;
                   6141: }
                   6142: _ACEOF
                   6143: if ac_fn_c_try_compile "$LINENO"; then :
                   6144:   echo conftest.$ac_objext > conftest.lst
                   6145:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   6146:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   6147:   (eval $lt_ar_try) 2>&5
                   6148:   ac_status=$?
                   6149:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6150:   test $ac_status = 0; }
1.1.1.4 ! misho    6151:       if test 0 -eq "$ac_status"; then
1.1.1.2   misho    6152:        # Ensure the archiver fails upon bogus file names.
                   6153:        rm -f conftest.$ac_objext libconftest.a
                   6154:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   6155:   (eval $lt_ar_try) 2>&5
                   6156:   ac_status=$?
                   6157:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6158:   test $ac_status = 0; }
1.1.1.4 ! misho    6159:        if test 0 -ne "$ac_status"; then
1.1.1.2   misho    6160:           lt_cv_ar_at_file=@
                   6161:         fi
                   6162:       fi
                   6163:       rm -f conftest.* libconftest.a
                   6164: 
                   6165: fi
                   6166: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6167: 
                   6168: fi
                   6169: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   6170: $as_echo "$lt_cv_ar_at_file" >&6; }
                   6171: 
1.1.1.4 ! misho    6172: if test no = "$lt_cv_ar_at_file"; then
1.1.1.2   misho    6173:   archiver_list_spec=
                   6174: else
                   6175:   archiver_list_spec=$lt_cv_ar_at_file
                   6176: fi
                   6177: 
                   6178: 
                   6179: 
                   6180: 
                   6181: 
                   6182: 
                   6183: 
                   6184: if test -n "$ac_tool_prefix"; then
                   6185:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6186: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   6187: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6188: $as_echo_n "checking for $ac_word... " >&6; }
                   6189: if ${ac_cv_prog_STRIP+:} false; then :
                   6190:   $as_echo_n "(cached) " >&6
                   6191: else
                   6192:   if test -n "$STRIP"; then
                   6193:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6194: else
                   6195: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6196: for as_dir in $PATH
                   6197: do
                   6198:   IFS=$as_save_IFS
                   6199:   test -z "$as_dir" && as_dir=.
                   6200:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    6201:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    6202:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   6203:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6204:     break 2
                   6205:   fi
                   6206: done
                   6207:   done
                   6208: IFS=$as_save_IFS
                   6209: 
                   6210: fi
                   6211: fi
                   6212: STRIP=$ac_cv_prog_STRIP
                   6213: if test -n "$STRIP"; then
                   6214:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6215: $as_echo "$STRIP" >&6; }
                   6216: else
                   6217:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6218: $as_echo "no" >&6; }
                   6219: fi
                   6220: 
                   6221: 
                   6222: fi
                   6223: if test -z "$ac_cv_prog_STRIP"; then
                   6224:   ac_ct_STRIP=$STRIP
                   6225:   # Extract the first word of "strip", so it can be a program name with args.
                   6226: set dummy strip; ac_word=$2
                   6227: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6228: $as_echo_n "checking for $ac_word... " >&6; }
                   6229: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   6230:   $as_echo_n "(cached) " >&6
                   6231: else
                   6232:   if test -n "$ac_ct_STRIP"; then
                   6233:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6234: else
                   6235: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6236: for as_dir in $PATH
                   6237: do
                   6238:   IFS=$as_save_IFS
                   6239:   test -z "$as_dir" && as_dir=.
                   6240:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    6241:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    6242:     ac_cv_prog_ac_ct_STRIP="strip"
                   6243:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6244:     break 2
                   6245:   fi
                   6246: done
                   6247:   done
                   6248: IFS=$as_save_IFS
                   6249: 
                   6250: fi
                   6251: fi
                   6252: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6253: if test -n "$ac_ct_STRIP"; then
                   6254:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6255: $as_echo "$ac_ct_STRIP" >&6; }
                   6256: else
                   6257:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6258: $as_echo "no" >&6; }
                   6259: fi
                   6260: 
                   6261:   if test "x$ac_ct_STRIP" = x; then
                   6262:     STRIP=":"
                   6263:   else
                   6264:     case $cross_compiling:$ac_tool_warned in
                   6265: yes:)
                   6266: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6267: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6268: ac_tool_warned=yes ;;
                   6269: esac
                   6270:     STRIP=$ac_ct_STRIP
                   6271:   fi
                   6272: else
                   6273:   STRIP="$ac_cv_prog_STRIP"
                   6274: fi
                   6275: 
                   6276: test -z "$STRIP" && STRIP=:
                   6277: 
                   6278: 
                   6279: 
                   6280: 
                   6281: 
                   6282: 
                   6283: if test -n "$ac_tool_prefix"; then
                   6284:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6285: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   6286: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6287: $as_echo_n "checking for $ac_word... " >&6; }
                   6288: if ${ac_cv_prog_RANLIB+:} false; then :
                   6289:   $as_echo_n "(cached) " >&6
                   6290: else
                   6291:   if test -n "$RANLIB"; then
                   6292:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6293: else
                   6294: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6295: for as_dir in $PATH
                   6296: do
                   6297:   IFS=$as_save_IFS
                   6298:   test -z "$as_dir" && as_dir=.
                   6299:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    6300:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    6301:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   6302:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6303:     break 2
                   6304:   fi
                   6305: done
                   6306:   done
                   6307: IFS=$as_save_IFS
                   6308: 
                   6309: fi
                   6310: fi
                   6311: RANLIB=$ac_cv_prog_RANLIB
                   6312: if test -n "$RANLIB"; then
                   6313:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6314: $as_echo "$RANLIB" >&6; }
                   6315: else
                   6316:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6317: $as_echo "no" >&6; }
                   6318: fi
                   6319: 
                   6320: 
                   6321: fi
                   6322: if test -z "$ac_cv_prog_RANLIB"; then
                   6323:   ac_ct_RANLIB=$RANLIB
                   6324:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6325: set dummy ranlib; ac_word=$2
                   6326: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6327: $as_echo_n "checking for $ac_word... " >&6; }
                   6328: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   6329:   $as_echo_n "(cached) " >&6
                   6330: else
                   6331:   if test -n "$ac_ct_RANLIB"; then
                   6332:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6333: else
                   6334: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6335: for as_dir in $PATH
                   6336: do
                   6337:   IFS=$as_save_IFS
                   6338:   test -z "$as_dir" && as_dir=.
                   6339:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    6340:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    6341:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   6342:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6343:     break 2
                   6344:   fi
                   6345: done
                   6346:   done
                   6347: IFS=$as_save_IFS
                   6348: 
                   6349: fi
                   6350: fi
                   6351: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6352: if test -n "$ac_ct_RANLIB"; then
                   6353:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6354: $as_echo "$ac_ct_RANLIB" >&6; }
                   6355: else
                   6356:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6357: $as_echo "no" >&6; }
                   6358: fi
                   6359: 
                   6360:   if test "x$ac_ct_RANLIB" = x; then
                   6361:     RANLIB=":"
                   6362:   else
                   6363:     case $cross_compiling:$ac_tool_warned in
                   6364: yes:)
                   6365: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6366: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6367: ac_tool_warned=yes ;;
                   6368: esac
                   6369:     RANLIB=$ac_ct_RANLIB
                   6370:   fi
                   6371: else
                   6372:   RANLIB="$ac_cv_prog_RANLIB"
                   6373: fi
                   6374: 
                   6375: test -z "$RANLIB" && RANLIB=:
                   6376: 
                   6377: 
                   6378: 
                   6379: 
                   6380: 
                   6381: 
                   6382: # Determine commands to create old-style static archives.
                   6383: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6384: old_postinstall_cmds='chmod 644 $oldlib'
                   6385: old_postuninstall_cmds=
                   6386: 
                   6387: if test -n "$RANLIB"; then
                   6388:   case $host_os in
1.1.1.4 ! misho    6389:   bitrig* | openbsd*)
        !          6390:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.1.1.2   misho    6391:     ;;
                   6392:   *)
1.1.1.4 ! misho    6393:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.1.1.2   misho    6394:     ;;
                   6395:   esac
1.1.1.4 ! misho    6396:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.1.1.2   misho    6397: fi
                   6398: 
                   6399: case $host_os in
                   6400:   darwin*)
                   6401:     lock_old_archive_extraction=yes ;;
                   6402:   *)
                   6403:     lock_old_archive_extraction=no ;;
                   6404: esac
                   6405: 
                   6406: 
                   6407: 
                   6408: 
                   6409: 
                   6410: 
                   6411: 
                   6412: 
                   6413: 
                   6414: 
                   6415: 
                   6416: 
                   6417: 
                   6418: 
                   6419: 
                   6420: 
                   6421: 
                   6422: 
                   6423: 
                   6424: 
                   6425: 
                   6426: 
                   6427: 
                   6428: 
                   6429: 
                   6430: 
                   6431: 
                   6432: 
                   6433: 
                   6434: 
                   6435: 
                   6436: 
                   6437: 
                   6438: 
                   6439: 
                   6440: 
                   6441: 
                   6442: 
                   6443: 
                   6444: # If no C compiler was specified, use CC.
                   6445: LTCC=${LTCC-"$CC"}
                   6446: 
                   6447: # If no C compiler flags were specified, use CFLAGS.
                   6448: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6449: 
                   6450: # Allow CC to be a program name with arguments.
                   6451: compiler=$CC
                   6452: 
                   6453: 
                   6454: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   6455: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6456: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   6457: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   6458:   $as_echo_n "(cached) " >&6
                   6459: else
                   6460: 
                   6461: # These are sane defaults that work on at least a few old systems.
                   6462: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   6463: 
                   6464: # Character class describing NM global symbol codes.
                   6465: symcode='[BCDEGRST]'
                   6466: 
                   6467: # Regexp to match symbols that can be accessed directly from C.
                   6468: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   6469: 
                   6470: # Define system-specific variables.
                   6471: case $host_os in
                   6472: aix*)
                   6473:   symcode='[BCDT]'
                   6474:   ;;
                   6475: cygwin* | mingw* | pw32* | cegcc*)
                   6476:   symcode='[ABCDGISTW]'
                   6477:   ;;
                   6478: hpux*)
1.1.1.4 ! misho    6479:   if test ia64 = "$host_cpu"; then
1.1.1.2   misho    6480:     symcode='[ABCDEGRST]'
                   6481:   fi
                   6482:   ;;
                   6483: irix* | nonstopux*)
                   6484:   symcode='[BCDEGRST]'
                   6485:   ;;
                   6486: osf*)
                   6487:   symcode='[BCDEGQRST]'
                   6488:   ;;
                   6489: solaris*)
                   6490:   symcode='[BDRT]'
                   6491:   ;;
                   6492: sco3.2v5*)
                   6493:   symcode='[DT]'
                   6494:   ;;
                   6495: sysv4.2uw2*)
                   6496:   symcode='[DT]'
                   6497:   ;;
                   6498: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6499:   symcode='[ABDT]'
                   6500:   ;;
                   6501: sysv4)
                   6502:   symcode='[DFNSTU]'
                   6503:   ;;
                   6504: esac
                   6505: 
                   6506: # If we're using GNU nm, then use its standard symbol codes.
                   6507: case `$NM -V 2>&1` in
                   6508: *GNU* | *'with BFD'*)
                   6509:   symcode='[ABCDGIRSTW]' ;;
                   6510: esac
                   6511: 
1.1.1.4 ! misho    6512: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          6513:   # Gets list of data symbols to import.
        !          6514:   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
        !          6515:   # Adjust the below global symbol transforms to fixup imported variables.
        !          6516:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
        !          6517:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
        !          6518:   lt_c_name_lib_hook="\
        !          6519:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
        !          6520:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
        !          6521: else
        !          6522:   # Disable hooks by default.
        !          6523:   lt_cv_sys_global_symbol_to_import=
        !          6524:   lt_cdecl_hook=
        !          6525:   lt_c_name_hook=
        !          6526:   lt_c_name_lib_hook=
        !          6527: fi
        !          6528: 
1.1.1.2   misho    6529: # Transform an extracted symbol line into a proper C declaration.
                   6530: # Some systems (esp. on ia64) link data and code symbols differently,
                   6531: # so use this general approach.
1.1.1.4 ! misho    6532: lt_cv_sys_global_symbol_to_cdecl="sed -n"\
        !          6533: $lt_cdecl_hook\
        !          6534: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
        !          6535: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
1.1.1.2   misho    6536: 
                   6537: # Transform an extracted symbol line into symbol name and symbol address
1.1.1.4 ! misho    6538: lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
        !          6539: $lt_c_name_hook\
        !          6540: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
        !          6541: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
        !          6542: 
        !          6543: # Transform an extracted symbol line into symbol name with lib prefix and
        !          6544: # symbol address.
        !          6545: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
        !          6546: $lt_c_name_lib_hook\
        !          6547: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
        !          6548: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
        !          6549: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
1.1.1.2   misho    6550: 
                   6551: # Handle CRLF in mingw tool chain
                   6552: opt_cr=
                   6553: case $build_os in
                   6554: mingw*)
                   6555:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6556:   ;;
                   6557: esac
                   6558: 
                   6559: # Try without a prefix underscore, then with it.
                   6560: for ac_symprfx in "" "_"; do
                   6561: 
                   6562:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6563:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6564: 
                   6565:   # Write the raw and C identifiers.
                   6566:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
1.1.1.4 ! misho    6567:     # Fake it for dumpbin and say T for any non-static function,
        !          6568:     # D for any global variable and I for any imported variable.
1.1.1.2   misho    6569:     # Also find C++ and __fastcall symbols from MSVC++,
                   6570:     # which start with @ or ?.
                   6571:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6572: "     {last_section=section; section=\$ 3};"\
1.1.1.4 ! misho    6573: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
1.1.1.2   misho    6574: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
1.1.1.4 ! misho    6575: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
        !          6576: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
        !          6577: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
1.1.1.2   misho    6578: "     \$ 0!~/External *\|/{next};"\
                   6579: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6580: "     {if(hide[section]) next};"\
1.1.1.4 ! misho    6581: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
        !          6582: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
        !          6583: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
        !          6584: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
1.1.1.2   misho    6585: "     ' prfx=^$ac_symprfx"
                   6586:   else
                   6587:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6588:   fi
                   6589:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   6590: 
                   6591:   # Check to see that the pipe works correctly.
                   6592:   pipe_works=no
                   6593: 
                   6594:   rm -f conftest*
                   6595:   cat > conftest.$ac_ext <<_LT_EOF
                   6596: #ifdef __cplusplus
                   6597: extern "C" {
                   6598: #endif
                   6599: char nm_test_var;
                   6600: void nm_test_func(void);
                   6601: void nm_test_func(void){}
                   6602: #ifdef __cplusplus
                   6603: }
                   6604: #endif
                   6605: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6606: _LT_EOF
                   6607: 
                   6608:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6609:   (eval $ac_compile) 2>&5
                   6610:   ac_status=$?
                   6611:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6612:   test $ac_status = 0; }; then
                   6613:     # Now try to grab the symbols.
                   6614:     nlist=conftest.nm
1.1.1.4 ! misho    6615:     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
        !          6616:     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
1.1.1.2   misho    6617:       # Try sorting and uniquifying the output.
                   6618:       if sort "$nlist" | uniq > "$nlist"T; then
                   6619:        mv -f "$nlist"T "$nlist"
                   6620:       else
                   6621:        rm -f "$nlist"T
                   6622:       fi
                   6623: 
                   6624:       # Make sure that we snagged all the symbols we need.
                   6625:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6626:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6627:          cat <<_LT_EOF > conftest.$ac_ext
                   6628: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
1.1.1.4 ! misho    6629: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
        !          6630: /* DATA imports from DLLs on WIN32 can't be const, because runtime
1.1.1.2   misho    6631:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6632: # define LT_DLSYM_CONST
1.1.1.4 ! misho    6633: #elif defined __osf__
1.1.1.2   misho    6634: /* This system does not cope well with relocations in const data.  */
                   6635: # define LT_DLSYM_CONST
                   6636: #else
                   6637: # define LT_DLSYM_CONST const
                   6638: #endif
                   6639: 
                   6640: #ifdef __cplusplus
                   6641: extern "C" {
                   6642: #endif
                   6643: 
                   6644: _LT_EOF
                   6645:          # Now generate the symbol file.
                   6646:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6647: 
                   6648:          cat <<_LT_EOF >> conftest.$ac_ext
                   6649: 
                   6650: /* The mapping between symbol names and symbols.  */
                   6651: LT_DLSYM_CONST struct {
                   6652:   const char *name;
                   6653:   void       *address;
                   6654: }
                   6655: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6656: {
                   6657:   { "@PROGRAM@", (void *) 0 },
                   6658: _LT_EOF
1.1.1.4 ! misho    6659:          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
1.1.1.2   misho    6660:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6661:   {0, (void *) 0}
                   6662: };
                   6663: 
                   6664: /* This works around a problem in FreeBSD linker */
                   6665: #ifdef FREEBSD_WORKAROUND
                   6666: static const void *lt_preloaded_setup() {
                   6667:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6668: }
                   6669: #endif
                   6670: 
                   6671: #ifdef __cplusplus
                   6672: }
                   6673: #endif
                   6674: _LT_EOF
                   6675:          # Now try linking the two files.
                   6676:          mv conftest.$ac_objext conftstm.$ac_objext
                   6677:          lt_globsym_save_LIBS=$LIBS
                   6678:          lt_globsym_save_CFLAGS=$CFLAGS
1.1.1.4 ! misho    6679:          LIBS=conftstm.$ac_objext
1.1.1.2   misho    6680:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6681:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   6682:   (eval $ac_link) 2>&5
                   6683:   ac_status=$?
                   6684:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1.1.4 ! misho    6685:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
1.1.1.2   misho    6686:            pipe_works=yes
                   6687:          fi
                   6688:          LIBS=$lt_globsym_save_LIBS
                   6689:          CFLAGS=$lt_globsym_save_CFLAGS
                   6690:        else
                   6691:          echo "cannot find nm_test_func in $nlist" >&5
                   6692:        fi
                   6693:       else
                   6694:        echo "cannot find nm_test_var in $nlist" >&5
                   6695:       fi
                   6696:     else
                   6697:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6698:     fi
                   6699:   else
                   6700:     echo "$progname: failed program was:" >&5
                   6701:     cat conftest.$ac_ext >&5
                   6702:   fi
                   6703:   rm -rf conftest* conftst*
                   6704: 
                   6705:   # Do not use the global_symbol_pipe unless it works.
1.1.1.4 ! misho    6706:   if test yes = "$pipe_works"; then
1.1.1.2   misho    6707:     break
                   6708:   else
                   6709:     lt_cv_sys_global_symbol_pipe=
                   6710:   fi
                   6711: done
                   6712: 
                   6713: fi
                   6714: 
                   6715: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6716:   lt_cv_sys_global_symbol_to_cdecl=
                   6717: fi
                   6718: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6719:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   6720: $as_echo "failed" >&6; }
                   6721: else
                   6722:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   6723: $as_echo "ok" >&6; }
                   6724: fi
                   6725: 
                   6726: # Response file support.
                   6727: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6728:   nm_file_list_spec='@'
                   6729: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   6730:   nm_file_list_spec='@'
                   6731: fi
                   6732: 
                   6733: 
                   6734: 
                   6735: 
                   6736: 
                   6737: 
                   6738: 
                   6739: 
                   6740: 
                   6741: 
                   6742: 
                   6743: 
                   6744: 
                   6745: 
                   6746: 
                   6747: 
                   6748: 
                   6749: 
                   6750: 
                   6751: 
                   6752: 
                   6753: 
                   6754: 
                   6755: 
                   6756: 
                   6757: 
                   6758: 
1.1.1.4 ! misho    6759: 
        !          6760: 
        !          6761: 
        !          6762: 
        !          6763: 
        !          6764: 
        !          6765: 
        !          6766: 
        !          6767: 
        !          6768: 
1.1.1.2   misho    6769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   6770: $as_echo_n "checking for sysroot... " >&6; }
                   6771: 
                   6772: # Check whether --with-sysroot was given.
                   6773: if test "${with_sysroot+set}" = set; then :
                   6774:   withval=$with_sysroot;
                   6775: else
                   6776:   with_sysroot=no
                   6777: fi
                   6778: 
                   6779: 
                   6780: lt_sysroot=
1.1.1.4 ! misho    6781: case $with_sysroot in #(
1.1.1.2   misho    6782:  yes)
1.1.1.4 ! misho    6783:    if test yes = "$GCC"; then
1.1.1.2   misho    6784:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6785:    fi
                   6786:    ;; #(
                   6787:  /*)
                   6788:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6789:    ;; #(
                   6790:  no|'')
                   6791:    ;; #(
                   6792:  *)
1.1.1.4 ! misho    6793:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
        !          6794: $as_echo "$with_sysroot" >&6; }
1.1.1.2   misho    6795:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
                   6796:    ;;
                   6797: esac
                   6798: 
                   6799:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   6800: $as_echo "${lt_sysroot:-no}" >&6; }
                   6801: 
                   6802: 
                   6803: 
                   6804: 
                   6805: 
1.1.1.4 ! misho    6806: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
        !          6807: $as_echo_n "checking for a working dd... " >&6; }
        !          6808: if ${ac_cv_path_lt_DD+:} false; then :
        !          6809:   $as_echo_n "(cached) " >&6
        !          6810: else
        !          6811:   printf 0123456789abcdef0123456789abcdef >conftest.i
        !          6812: cat conftest.i conftest.i >conftest2.i
        !          6813: : ${lt_DD:=$DD}
        !          6814: if test -z "$lt_DD"; then
        !          6815:   ac_path_lt_DD_found=false
        !          6816:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          6817:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6818: for as_dir in $PATH
        !          6819: do
        !          6820:   IFS=$as_save_IFS
        !          6821:   test -z "$as_dir" && as_dir=.
        !          6822:     for ac_prog in dd; do
        !          6823:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6824:       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
        !          6825:       as_fn_executable_p "$ac_path_lt_DD" || continue
        !          6826: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
        !          6827:   cmp -s conftest.i conftest.out \
        !          6828:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
        !          6829: fi
        !          6830:       $ac_path_lt_DD_found && break 3
        !          6831:     done
        !          6832:   done
        !          6833:   done
        !          6834: IFS=$as_save_IFS
        !          6835:   if test -z "$ac_cv_path_lt_DD"; then
        !          6836:     :
        !          6837:   fi
        !          6838: else
        !          6839:   ac_cv_path_lt_DD=$lt_DD
        !          6840: fi
        !          6841: 
        !          6842: rm -f conftest.i conftest2.i conftest.out
        !          6843: fi
        !          6844: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
        !          6845: $as_echo "$ac_cv_path_lt_DD" >&6; }
        !          6846: 
        !          6847: 
        !          6848: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
        !          6849: $as_echo_n "checking how to truncate binary pipes... " >&6; }
        !          6850: if ${lt_cv_truncate_bin+:} false; then :
        !          6851:   $as_echo_n "(cached) " >&6
        !          6852: else
        !          6853:   printf 0123456789abcdef0123456789abcdef >conftest.i
        !          6854: cat conftest.i conftest.i >conftest2.i
        !          6855: lt_cv_truncate_bin=
        !          6856: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
        !          6857:   cmp -s conftest.i conftest.out \
        !          6858:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
        !          6859: fi
        !          6860: rm -f conftest.i conftest2.i conftest.out
        !          6861: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
        !          6862: fi
        !          6863: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
        !          6864: $as_echo "$lt_cv_truncate_bin" >&6; }
        !          6865: 
        !          6866: 
        !          6867: 
        !          6868: 
        !          6869: 
        !          6870: 
        !          6871: 
        !          6872: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
        !          6873: func_cc_basename ()
        !          6874: {
        !          6875:     for cc_temp in $*""; do
        !          6876:       case $cc_temp in
        !          6877:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
        !          6878:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
        !          6879:         \-*) ;;
        !          6880:         *) break;;
        !          6881:       esac
        !          6882:     done
        !          6883:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
        !          6884: }
        !          6885: 
1.1.1.2   misho    6886: # Check whether --enable-libtool-lock was given.
                   6887: if test "${enable_libtool_lock+set}" = set; then :
                   6888:   enableval=$enable_libtool_lock;
                   6889: fi
                   6890: 
1.1.1.4 ! misho    6891: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1.1.1.2   misho    6892: 
                   6893: # Some flags need to be propagated to the compiler or linker for good
                   6894: # libtool support.
                   6895: case $host in
                   6896: ia64-*-hpux*)
1.1.1.4 ! misho    6897:   # Find out what ABI is being produced by ac_compile, and set mode
        !          6898:   # options accordingly.
1.1.1.2   misho    6899:   echo 'int i;' > conftest.$ac_ext
                   6900:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6901:   (eval $ac_compile) 2>&5
                   6902:   ac_status=$?
                   6903:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6904:   test $ac_status = 0; }; then
                   6905:     case `/usr/bin/file conftest.$ac_objext` in
                   6906:       *ELF-32*)
1.1.1.4 ! misho    6907:        HPUX_IA64_MODE=32
1.1.1.2   misho    6908:        ;;
                   6909:       *ELF-64*)
1.1.1.4 ! misho    6910:        HPUX_IA64_MODE=64
1.1.1.2   misho    6911:        ;;
                   6912:     esac
                   6913:   fi
                   6914:   rm -rf conftest*
                   6915:   ;;
                   6916: *-*-irix6*)
1.1.1.4 ! misho    6917:   # Find out what ABI is being produced by ac_compile, and set linker
        !          6918:   # options accordingly.
1.1.1.2   misho    6919:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   6920:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6921:   (eval $ac_compile) 2>&5
                   6922:   ac_status=$?
                   6923:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6924:   test $ac_status = 0; }; then
1.1.1.4 ! misho    6925:     if test yes = "$lt_cv_prog_gnu_ld"; then
1.1.1.2   misho    6926:       case `/usr/bin/file conftest.$ac_objext` in
                   6927:        *32-bit*)
                   6928:          LD="${LD-ld} -melf32bsmip"
                   6929:          ;;
                   6930:        *N32*)
                   6931:          LD="${LD-ld} -melf32bmipn32"
                   6932:          ;;
                   6933:        *64-bit*)
                   6934:          LD="${LD-ld} -melf64bmip"
                   6935:        ;;
                   6936:       esac
                   6937:     else
                   6938:       case `/usr/bin/file conftest.$ac_objext` in
                   6939:        *32-bit*)
                   6940:          LD="${LD-ld} -32"
                   6941:          ;;
                   6942:        *N32*)
                   6943:          LD="${LD-ld} -n32"
                   6944:          ;;
                   6945:        *64-bit*)
                   6946:          LD="${LD-ld} -64"
                   6947:          ;;
                   6948:       esac
                   6949:     fi
                   6950:   fi
                   6951:   rm -rf conftest*
                   6952:   ;;
                   6953: 
1.1.1.4 ! misho    6954: mips64*-*linux*)
        !          6955:   # Find out what ABI is being produced by ac_compile, and set linker
        !          6956:   # options accordingly.
        !          6957:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
        !          6958:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          6959:   (eval $ac_compile) 2>&5
        !          6960:   ac_status=$?
        !          6961:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          6962:   test $ac_status = 0; }; then
        !          6963:     emul=elf
        !          6964:     case `/usr/bin/file conftest.$ac_objext` in
        !          6965:       *32-bit*)
        !          6966:        emul="${emul}32"
        !          6967:        ;;
        !          6968:       *64-bit*)
        !          6969:        emul="${emul}64"
        !          6970:        ;;
        !          6971:     esac
        !          6972:     case `/usr/bin/file conftest.$ac_objext` in
        !          6973:       *MSB*)
        !          6974:        emul="${emul}btsmip"
        !          6975:        ;;
        !          6976:       *LSB*)
        !          6977:        emul="${emul}ltsmip"
        !          6978:        ;;
        !          6979:     esac
        !          6980:     case `/usr/bin/file conftest.$ac_objext` in
        !          6981:       *N32*)
        !          6982:        emul="${emul}n32"
        !          6983:        ;;
        !          6984:     esac
        !          6985:     LD="${LD-ld} -m $emul"
        !          6986:   fi
        !          6987:   rm -rf conftest*
        !          6988:   ;;
        !          6989: 
        !          6990: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1.1.1.2   misho    6991: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1.1.1.4 ! misho    6992:   # Find out what ABI is being produced by ac_compile, and set linker
        !          6993:   # options accordingly.  Note that the listed cases only cover the
        !          6994:   # situations where additional linker options are needed (such as when
        !          6995:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
        !          6996:   # vice versa); the common cases where no linker options are needed do
        !          6997:   # not appear in the list.
1.1.1.2   misho    6998:   echo 'int i;' > conftest.$ac_ext
                   6999:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   7000:   (eval $ac_compile) 2>&5
                   7001:   ac_status=$?
                   7002:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7003:   test $ac_status = 0; }; then
                   7004:     case `/usr/bin/file conftest.o` in
                   7005:       *32-bit*)
                   7006:        case $host in
                   7007:          x86_64-*kfreebsd*-gnu)
                   7008:            LD="${LD-ld} -m elf_i386_fbsd"
                   7009:            ;;
                   7010:          x86_64-*linux*)
1.1.1.4 ! misho    7011:            case `/usr/bin/file conftest.o` in
        !          7012:              *x86-64*)
        !          7013:                LD="${LD-ld} -m elf32_x86_64"
        !          7014:                ;;
        !          7015:              *)
        !          7016:                LD="${LD-ld} -m elf_i386"
        !          7017:                ;;
        !          7018:            esac
1.1.1.2   misho    7019:            ;;
1.1.1.4 ! misho    7020:          powerpc64le-*linux*)
        !          7021:            LD="${LD-ld} -m elf32lppclinux"
        !          7022:            ;;
        !          7023:          powerpc64-*linux*)
1.1.1.2   misho    7024:            LD="${LD-ld} -m elf32ppclinux"
                   7025:            ;;
                   7026:          s390x-*linux*)
                   7027:            LD="${LD-ld} -m elf_s390"
                   7028:            ;;
                   7029:          sparc64-*linux*)
                   7030:            LD="${LD-ld} -m elf32_sparc"
                   7031:            ;;
                   7032:        esac
                   7033:        ;;
                   7034:       *64-bit*)
                   7035:        case $host in
                   7036:          x86_64-*kfreebsd*-gnu)
                   7037:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7038:            ;;
                   7039:          x86_64-*linux*)
                   7040:            LD="${LD-ld} -m elf_x86_64"
                   7041:            ;;
1.1.1.4 ! misho    7042:          powerpcle-*linux*)
        !          7043:            LD="${LD-ld} -m elf64lppc"
        !          7044:            ;;
        !          7045:          powerpc-*linux*)
1.1.1.2   misho    7046:            LD="${LD-ld} -m elf64ppc"
                   7047:            ;;
                   7048:          s390*-*linux*|s390*-*tpf*)
                   7049:            LD="${LD-ld} -m elf64_s390"
                   7050:            ;;
                   7051:          sparc*-*linux*)
                   7052:            LD="${LD-ld} -m elf64_sparc"
                   7053:            ;;
                   7054:        esac
                   7055:        ;;
                   7056:     esac
                   7057:   fi
                   7058:   rm -rf conftest*
                   7059:   ;;
                   7060: 
                   7061: *-*-sco3.2v5*)
                   7062:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1.1.1.4 ! misho    7063:   SAVE_CFLAGS=$CFLAGS
1.1.1.2   misho    7064:   CFLAGS="$CFLAGS -belf"
                   7065:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7066: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7067: if ${lt_cv_cc_needs_belf+:} false; then :
                   7068:   $as_echo_n "(cached) " >&6
                   7069: else
                   7070:   ac_ext=c
                   7071: ac_cpp='$CPP $CPPFLAGS'
                   7072: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7073: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7074: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7075: 
                   7076:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7077: /* end confdefs.h.  */
                   7078: 
                   7079: int
                   7080: main ()
                   7081: {
                   7082: 
                   7083:   ;
                   7084:   return 0;
                   7085: }
                   7086: _ACEOF
                   7087: if ac_fn_c_try_link "$LINENO"; then :
                   7088:   lt_cv_cc_needs_belf=yes
                   7089: else
                   7090:   lt_cv_cc_needs_belf=no
                   7091: fi
                   7092: rm -f core conftest.err conftest.$ac_objext \
                   7093:     conftest$ac_exeext conftest.$ac_ext
                   7094:      ac_ext=c
                   7095: ac_cpp='$CPP $CPPFLAGS'
                   7096: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7097: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7098: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7099: 
                   7100: fi
                   7101: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7102: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.1.1.4 ! misho    7103:   if test yes != "$lt_cv_cc_needs_belf"; then
1.1.1.2   misho    7104:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1.1.1.4 ! misho    7105:     CFLAGS=$SAVE_CFLAGS
1.1.1.2   misho    7106:   fi
                   7107:   ;;
1.1.1.4 ! misho    7108: *-*solaris*)
        !          7109:   # Find out what ABI is being produced by ac_compile, and set linker
        !          7110:   # options accordingly.
1.1.1.2   misho    7111:   echo 'int i;' > conftest.$ac_ext
                   7112:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   7113:   (eval $ac_compile) 2>&5
                   7114:   ac_status=$?
                   7115:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7116:   test $ac_status = 0; }; then
                   7117:     case `/usr/bin/file conftest.o` in
                   7118:     *64-bit*)
                   7119:       case $lt_cv_prog_gnu_ld in
1.1.1.4 ! misho    7120:       yes*)
        !          7121:         case $host in
        !          7122:         i?86-*-solaris*|x86_64-*-solaris*)
        !          7123:           LD="${LD-ld} -m elf_x86_64"
        !          7124:           ;;
        !          7125:         sparc*-*-solaris*)
        !          7126:           LD="${LD-ld} -m elf64_sparc"
        !          7127:           ;;
        !          7128:         esac
        !          7129:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
        !          7130:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
        !          7131:           LD=${LD-ld}_sol2
        !          7132:         fi
        !          7133:         ;;
1.1.1.2   misho    7134:       *)
                   7135:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7136:          LD="${LD-ld} -64"
                   7137:        fi
                   7138:        ;;
                   7139:       esac
                   7140:       ;;
                   7141:     esac
                   7142:   fi
                   7143:   rm -rf conftest*
                   7144:   ;;
                   7145: esac
                   7146: 
1.1.1.4 ! misho    7147: need_locks=$enable_libtool_lock
1.1.1.2   misho    7148: 
                   7149: if test -n "$ac_tool_prefix"; then
                   7150:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7151: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   7152: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7153: $as_echo_n "checking for $ac_word... " >&6; }
                   7154: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7155:   $as_echo_n "(cached) " >&6
                   7156: else
                   7157:   if test -n "$MANIFEST_TOOL"; then
                   7158:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7159: else
                   7160: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7161: for as_dir in $PATH
                   7162: do
                   7163:   IFS=$as_save_IFS
                   7164:   test -z "$as_dir" && as_dir=.
                   7165:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7166:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7167:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   7168:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7169:     break 2
                   7170:   fi
                   7171: done
                   7172:   done
                   7173: IFS=$as_save_IFS
                   7174: 
                   7175: fi
                   7176: fi
                   7177: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7178: if test -n "$MANIFEST_TOOL"; then
                   7179:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   7180: $as_echo "$MANIFEST_TOOL" >&6; }
                   7181: else
                   7182:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7183: $as_echo "no" >&6; }
                   7184: fi
                   7185: 
                   7186: 
                   7187: fi
                   7188: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7189:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7190:   # Extract the first word of "mt", so it can be a program name with args.
                   7191: set dummy mt; ac_word=$2
                   7192: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7193: $as_echo_n "checking for $ac_word... " >&6; }
                   7194: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   7195:   $as_echo_n "(cached) " >&6
                   7196: else
                   7197:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7198:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7199: else
                   7200: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7201: for as_dir in $PATH
                   7202: do
                   7203:   IFS=$as_save_IFS
                   7204:   test -z "$as_dir" && as_dir=.
                   7205:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7206:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7207:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   7208:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7209:     break 2
                   7210:   fi
                   7211: done
                   7212:   done
                   7213: IFS=$as_save_IFS
                   7214: 
                   7215: fi
                   7216: fi
                   7217: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7218: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7219:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7220: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
                   7221: else
                   7222:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7223: $as_echo "no" >&6; }
                   7224: fi
                   7225: 
                   7226:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7227:     MANIFEST_TOOL=":"
                   7228:   else
                   7229:     case $cross_compiling:$ac_tool_warned in
                   7230: yes:)
                   7231: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7232: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7233: ac_tool_warned=yes ;;
                   7234: esac
                   7235:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7236:   fi
                   7237: else
                   7238:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7239: fi
                   7240: 
                   7241: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   7242: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7243: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7244: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7245:   $as_echo_n "(cached) " >&6
                   7246: else
                   7247:   lt_cv_path_mainfest_tool=no
                   7248:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7249:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7250:   cat conftest.err >&5
                   7251:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7252:     lt_cv_path_mainfest_tool=yes
                   7253:   fi
                   7254:   rm -f conftest*
                   7255: fi
                   7256: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7257: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.1.1.4 ! misho    7258: if test yes != "$lt_cv_path_mainfest_tool"; then
1.1.1.2   misho    7259:   MANIFEST_TOOL=:
                   7260: fi
                   7261: 
                   7262: 
                   7263: 
                   7264: 
                   7265: 
                   7266: 
                   7267:   case $host_os in
                   7268:     rhapsody* | darwin*)
                   7269:     if test -n "$ac_tool_prefix"; then
                   7270:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7271: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   7272: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7273: $as_echo_n "checking for $ac_word... " >&6; }
                   7274: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7275:   $as_echo_n "(cached) " >&6
                   7276: else
                   7277:   if test -n "$DSYMUTIL"; then
                   7278:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7279: else
                   7280: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7281: for as_dir in $PATH
                   7282: do
                   7283:   IFS=$as_save_IFS
                   7284:   test -z "$as_dir" && as_dir=.
                   7285:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7286:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7287:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   7288:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7289:     break 2
                   7290:   fi
                   7291: done
                   7292:   done
                   7293: IFS=$as_save_IFS
                   7294: 
                   7295: fi
                   7296: fi
                   7297: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7298: if test -n "$DSYMUTIL"; then
                   7299:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7300: $as_echo "$DSYMUTIL" >&6; }
                   7301: else
                   7302:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7303: $as_echo "no" >&6; }
                   7304: fi
                   7305: 
                   7306: 
                   7307: fi
                   7308: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7309:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7310:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7311: set dummy dsymutil; ac_word=$2
                   7312: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7313: $as_echo_n "checking for $ac_word... " >&6; }
                   7314: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   7315:   $as_echo_n "(cached) " >&6
                   7316: else
                   7317:   if test -n "$ac_ct_DSYMUTIL"; then
                   7318:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7319: else
                   7320: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7321: for as_dir in $PATH
                   7322: do
                   7323:   IFS=$as_save_IFS
                   7324:   test -z "$as_dir" && as_dir=.
                   7325:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7326:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7327:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   7328:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7329:     break 2
                   7330:   fi
                   7331: done
                   7332:   done
                   7333: IFS=$as_save_IFS
                   7334: 
                   7335: fi
                   7336: fi
                   7337: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7338: if test -n "$ac_ct_DSYMUTIL"; then
                   7339:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7340: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   7341: else
                   7342:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7343: $as_echo "no" >&6; }
                   7344: fi
                   7345: 
                   7346:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7347:     DSYMUTIL=":"
                   7348:   else
                   7349:     case $cross_compiling:$ac_tool_warned in
                   7350: yes:)
                   7351: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7352: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7353: ac_tool_warned=yes ;;
                   7354: esac
                   7355:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7356:   fi
                   7357: else
                   7358:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7359: fi
                   7360: 
                   7361:     if test -n "$ac_tool_prefix"; then
                   7362:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7363: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   7364: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7365: $as_echo_n "checking for $ac_word... " >&6; }
                   7366: if ${ac_cv_prog_NMEDIT+:} false; then :
                   7367:   $as_echo_n "(cached) " >&6
                   7368: else
                   7369:   if test -n "$NMEDIT"; then
                   7370:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7371: else
                   7372: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7373: for as_dir in $PATH
                   7374: do
                   7375:   IFS=$as_save_IFS
                   7376:   test -z "$as_dir" && as_dir=.
                   7377:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7378:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7379:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   7380:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7381:     break 2
                   7382:   fi
                   7383: done
                   7384:   done
                   7385: IFS=$as_save_IFS
                   7386: 
                   7387: fi
                   7388: fi
                   7389: NMEDIT=$ac_cv_prog_NMEDIT
                   7390: if test -n "$NMEDIT"; then
                   7391:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7392: $as_echo "$NMEDIT" >&6; }
                   7393: else
                   7394:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7395: $as_echo "no" >&6; }
                   7396: fi
                   7397: 
                   7398: 
                   7399: fi
                   7400: if test -z "$ac_cv_prog_NMEDIT"; then
                   7401:   ac_ct_NMEDIT=$NMEDIT
                   7402:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7403: set dummy nmedit; ac_word=$2
                   7404: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7405: $as_echo_n "checking for $ac_word... " >&6; }
                   7406: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   7407:   $as_echo_n "(cached) " >&6
                   7408: else
                   7409:   if test -n "$ac_ct_NMEDIT"; then
                   7410:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7411: else
                   7412: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7413: for as_dir in $PATH
                   7414: do
                   7415:   IFS=$as_save_IFS
                   7416:   test -z "$as_dir" && as_dir=.
                   7417:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7418:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7419:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   7420:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7421:     break 2
                   7422:   fi
                   7423: done
                   7424:   done
                   7425: IFS=$as_save_IFS
                   7426: 
                   7427: fi
                   7428: fi
                   7429: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7430: if test -n "$ac_ct_NMEDIT"; then
                   7431:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7432: $as_echo "$ac_ct_NMEDIT" >&6; }
                   7433: else
                   7434:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7435: $as_echo "no" >&6; }
                   7436: fi
                   7437: 
                   7438:   if test "x$ac_ct_NMEDIT" = x; then
                   7439:     NMEDIT=":"
                   7440:   else
                   7441:     case $cross_compiling:$ac_tool_warned in
                   7442: yes:)
                   7443: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7444: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7445: ac_tool_warned=yes ;;
                   7446: esac
                   7447:     NMEDIT=$ac_ct_NMEDIT
                   7448:   fi
                   7449: else
                   7450:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7451: fi
                   7452: 
                   7453:     if test -n "$ac_tool_prefix"; then
                   7454:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7455: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   7456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7457: $as_echo_n "checking for $ac_word... " >&6; }
                   7458: if ${ac_cv_prog_LIPO+:} false; then :
                   7459:   $as_echo_n "(cached) " >&6
                   7460: else
                   7461:   if test -n "$LIPO"; then
                   7462:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7463: else
                   7464: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7465: for as_dir in $PATH
                   7466: do
                   7467:   IFS=$as_save_IFS
                   7468:   test -z "$as_dir" && as_dir=.
                   7469:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7470:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7471:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   7472:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7473:     break 2
                   7474:   fi
                   7475: done
                   7476:   done
                   7477: IFS=$as_save_IFS
                   7478: 
                   7479: fi
                   7480: fi
                   7481: LIPO=$ac_cv_prog_LIPO
                   7482: if test -n "$LIPO"; then
                   7483:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7484: $as_echo "$LIPO" >&6; }
                   7485: else
                   7486:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7487: $as_echo "no" >&6; }
                   7488: fi
                   7489: 
                   7490: 
                   7491: fi
                   7492: if test -z "$ac_cv_prog_LIPO"; then
                   7493:   ac_ct_LIPO=$LIPO
                   7494:   # Extract the first word of "lipo", so it can be a program name with args.
                   7495: set dummy lipo; ac_word=$2
                   7496: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7497: $as_echo_n "checking for $ac_word... " >&6; }
                   7498: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7499:   $as_echo_n "(cached) " >&6
                   7500: else
                   7501:   if test -n "$ac_ct_LIPO"; then
                   7502:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7503: else
                   7504: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7505: for as_dir in $PATH
                   7506: do
                   7507:   IFS=$as_save_IFS
                   7508:   test -z "$as_dir" && as_dir=.
                   7509:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7510:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7511:     ac_cv_prog_ac_ct_LIPO="lipo"
                   7512:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7513:     break 2
                   7514:   fi
                   7515: done
                   7516:   done
                   7517: IFS=$as_save_IFS
                   7518: 
                   7519: fi
                   7520: fi
                   7521: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7522: if test -n "$ac_ct_LIPO"; then
                   7523:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7524: $as_echo "$ac_ct_LIPO" >&6; }
                   7525: else
                   7526:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7527: $as_echo "no" >&6; }
                   7528: fi
                   7529: 
                   7530:   if test "x$ac_ct_LIPO" = x; then
                   7531:     LIPO=":"
                   7532:   else
                   7533:     case $cross_compiling:$ac_tool_warned in
                   7534: yes:)
                   7535: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7536: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7537: ac_tool_warned=yes ;;
                   7538: esac
                   7539:     LIPO=$ac_ct_LIPO
                   7540:   fi
                   7541: else
                   7542:   LIPO="$ac_cv_prog_LIPO"
                   7543: fi
                   7544: 
                   7545:     if test -n "$ac_tool_prefix"; then
                   7546:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7547: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   7548: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7549: $as_echo_n "checking for $ac_word... " >&6; }
                   7550: if ${ac_cv_prog_OTOOL+:} false; then :
                   7551:   $as_echo_n "(cached) " >&6
                   7552: else
                   7553:   if test -n "$OTOOL"; then
                   7554:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7555: else
                   7556: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7557: for as_dir in $PATH
                   7558: do
                   7559:   IFS=$as_save_IFS
                   7560:   test -z "$as_dir" && as_dir=.
                   7561:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7562:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7563:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   7564:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7565:     break 2
                   7566:   fi
                   7567: done
                   7568:   done
                   7569: IFS=$as_save_IFS
                   7570: 
                   7571: fi
                   7572: fi
                   7573: OTOOL=$ac_cv_prog_OTOOL
                   7574: if test -n "$OTOOL"; then
                   7575:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7576: $as_echo "$OTOOL" >&6; }
                   7577: else
                   7578:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7579: $as_echo "no" >&6; }
                   7580: fi
                   7581: 
                   7582: 
                   7583: fi
                   7584: if test -z "$ac_cv_prog_OTOOL"; then
                   7585:   ac_ct_OTOOL=$OTOOL
                   7586:   # Extract the first word of "otool", so it can be a program name with args.
                   7587: set dummy otool; ac_word=$2
                   7588: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7589: $as_echo_n "checking for $ac_word... " >&6; }
                   7590: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   7591:   $as_echo_n "(cached) " >&6
                   7592: else
                   7593:   if test -n "$ac_ct_OTOOL"; then
                   7594:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7595: else
                   7596: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7597: for as_dir in $PATH
                   7598: do
                   7599:   IFS=$as_save_IFS
                   7600:   test -z "$as_dir" && as_dir=.
                   7601:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7602:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7603:     ac_cv_prog_ac_ct_OTOOL="otool"
                   7604:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7605:     break 2
                   7606:   fi
                   7607: done
                   7608:   done
                   7609: IFS=$as_save_IFS
                   7610: 
                   7611: fi
                   7612: fi
                   7613: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7614: if test -n "$ac_ct_OTOOL"; then
                   7615:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7616: $as_echo "$ac_ct_OTOOL" >&6; }
                   7617: else
                   7618:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7619: $as_echo "no" >&6; }
                   7620: fi
                   7621: 
                   7622:   if test "x$ac_ct_OTOOL" = x; then
                   7623:     OTOOL=":"
                   7624:   else
                   7625:     case $cross_compiling:$ac_tool_warned in
                   7626: yes:)
                   7627: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7628: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7629: ac_tool_warned=yes ;;
                   7630: esac
                   7631:     OTOOL=$ac_ct_OTOOL
                   7632:   fi
                   7633: else
                   7634:   OTOOL="$ac_cv_prog_OTOOL"
                   7635: fi
                   7636: 
                   7637:     if test -n "$ac_tool_prefix"; then
                   7638:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7639: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   7640: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7641: $as_echo_n "checking for $ac_word... " >&6; }
                   7642: if ${ac_cv_prog_OTOOL64+:} false; then :
                   7643:   $as_echo_n "(cached) " >&6
                   7644: else
                   7645:   if test -n "$OTOOL64"; then
                   7646:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7647: else
                   7648: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7649: for as_dir in $PATH
                   7650: do
                   7651:   IFS=$as_save_IFS
                   7652:   test -z "$as_dir" && as_dir=.
                   7653:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7654:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7655:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   7656:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7657:     break 2
                   7658:   fi
                   7659: done
                   7660:   done
                   7661: IFS=$as_save_IFS
                   7662: 
                   7663: fi
                   7664: fi
                   7665: OTOOL64=$ac_cv_prog_OTOOL64
                   7666: if test -n "$OTOOL64"; then
                   7667:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   7668: $as_echo "$OTOOL64" >&6; }
                   7669: else
                   7670:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7671: $as_echo "no" >&6; }
                   7672: fi
                   7673: 
                   7674: 
                   7675: fi
                   7676: if test -z "$ac_cv_prog_OTOOL64"; then
                   7677:   ac_ct_OTOOL64=$OTOOL64
                   7678:   # Extract the first word of "otool64", so it can be a program name with args.
                   7679: set dummy otool64; ac_word=$2
                   7680: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7681: $as_echo_n "checking for $ac_word... " >&6; }
                   7682: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   7683:   $as_echo_n "(cached) " >&6
                   7684: else
                   7685:   if test -n "$ac_ct_OTOOL64"; then
                   7686:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   7687: else
                   7688: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7689: for as_dir in $PATH
                   7690: do
                   7691:   IFS=$as_save_IFS
                   7692:   test -z "$as_dir" && as_dir=.
                   7693:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.4 ! misho    7694:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.2   misho    7695:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   7696:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7697:     break 2
                   7698:   fi
                   7699: done
                   7700:   done
                   7701: IFS=$as_save_IFS
                   7702: 
                   7703: fi
                   7704: fi
                   7705: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7706: if test -n "$ac_ct_OTOOL64"; then
                   7707:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   7708: $as_echo "$ac_ct_OTOOL64" >&6; }
                   7709: else
                   7710:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7711: $as_echo "no" >&6; }
                   7712: fi
                   7713: 
                   7714:   if test "x$ac_ct_OTOOL64" = x; then
                   7715:     OTOOL64=":"
                   7716:   else
                   7717:     case $cross_compiling:$ac_tool_warned in
                   7718: yes:)
                   7719: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7720: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7721: ac_tool_warned=yes ;;
                   7722: esac
                   7723:     OTOOL64=$ac_ct_OTOOL64
                   7724:   fi
                   7725: else
                   7726:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7727: fi
                   7728: 
                   7729: 
                   7730: 
                   7731: 
                   7732: 
                   7733: 
                   7734: 
                   7735: 
                   7736: 
                   7737: 
                   7738: 
                   7739: 
                   7740: 
                   7741: 
                   7742: 
                   7743: 
                   7744: 
                   7745: 
                   7746: 
                   7747: 
                   7748: 
                   7749: 
                   7750: 
                   7751: 
                   7752: 
                   7753: 
                   7754: 
                   7755:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   7756: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   7757: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   7758:   $as_echo_n "(cached) " >&6
                   7759: else
                   7760:   lt_cv_apple_cc_single_mod=no
1.1.1.4 ! misho    7761:       if test -z "$LT_MULTI_MODULE"; then
1.1.1.2   misho    7762:        # By default we will add the -single_module flag. You can override
                   7763:        # by either setting the environment variable LT_MULTI_MODULE
                   7764:        # non-empty at configure time, or by adding -multi_module to the
                   7765:        # link flags.
                   7766:        rm -rf libconftest.dylib*
                   7767:        echo "int foo(void){return 1;}" > conftest.c
                   7768:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7769: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7770:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7771:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7772:         _lt_result=$?
1.1.1.4 ! misho    7773:        # If there is a non-empty error log, and "single_module"
        !          7774:        # appears in it, assume the flag caused a linker warning
        !          7775:         if test -s conftest.err && $GREP single_module conftest.err; then
        !          7776:          cat conftest.err >&5
        !          7777:        # Otherwise, if the output was created with a 0 exit code from
        !          7778:        # the compiler, it worked.
        !          7779:        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1.1.1.2   misho    7780:          lt_cv_apple_cc_single_mod=yes
                   7781:        else
                   7782:          cat conftest.err >&5
                   7783:        fi
                   7784:        rm -rf libconftest.dylib*
                   7785:        rm -f conftest.*
                   7786:       fi
                   7787: fi
                   7788: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   7789: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.1.1.4 ! misho    7790: 
1.1.1.2   misho    7791:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   7792: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   7793: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   7794:   $as_echo_n "(cached) " >&6
                   7795: else
                   7796:   lt_cv_ld_exported_symbols_list=no
                   7797:       save_LDFLAGS=$LDFLAGS
                   7798:       echo "_main" > conftest.sym
                   7799:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   7800:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7801: /* end confdefs.h.  */
                   7802: 
                   7803: int
                   7804: main ()
                   7805: {
                   7806: 
                   7807:   ;
                   7808:   return 0;
                   7809: }
                   7810: _ACEOF
                   7811: if ac_fn_c_try_link "$LINENO"; then :
                   7812:   lt_cv_ld_exported_symbols_list=yes
                   7813: else
                   7814:   lt_cv_ld_exported_symbols_list=no
                   7815: fi
                   7816: rm -f core conftest.err conftest.$ac_objext \
                   7817:     conftest$ac_exeext conftest.$ac_ext
1.1.1.4 ! misho    7818:        LDFLAGS=$save_LDFLAGS
1.1.1.2   misho    7819: 
                   7820: fi
                   7821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   7822: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.1.1.4 ! misho    7823: 
1.1.1.2   misho    7824:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   7825: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   7826: if ${lt_cv_ld_force_load+:} false; then :
                   7827:   $as_echo_n "(cached) " >&6
                   7828: else
                   7829:   lt_cv_ld_force_load=no
                   7830:       cat > conftest.c << _LT_EOF
                   7831: int forced_loaded() { return 2;}
                   7832: _LT_EOF
                   7833:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   7834:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   7835:       echo "$AR cru libconftest.a conftest.o" >&5
                   7836:       $AR cru libconftest.a conftest.o 2>&5
                   7837:       echo "$RANLIB libconftest.a" >&5
                   7838:       $RANLIB libconftest.a 2>&5
                   7839:       cat > conftest.c << _LT_EOF
                   7840: int main() { return 0;}
                   7841: _LT_EOF
                   7842:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   7843:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   7844:       _lt_result=$?
1.1.1.4 ! misho    7845:       if test -s conftest.err && $GREP force_load conftest.err; then
        !          7846:        cat conftest.err >&5
        !          7847:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1.1.1.2   misho    7848:        lt_cv_ld_force_load=yes
                   7849:       else
                   7850:        cat conftest.err >&5
                   7851:       fi
                   7852:         rm -f conftest.err libconftest.a conftest conftest.c
                   7853:         rm -rf conftest.dSYM
                   7854: 
                   7855: fi
                   7856: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   7857: $as_echo "$lt_cv_ld_force_load" >&6; }
                   7858:     case $host_os in
                   7859:     rhapsody* | darwin1.[012])
1.1.1.4 ! misho    7860:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1.1.1.2   misho    7861:     darwin1.*)
1.1.1.4 ! misho    7862:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1.1.1.2   misho    7863:     darwin*) # darwin 5.x on
                   7864:       # if running on 10.5 or later, the deployment target defaults
                   7865:       # to the OS version, if on x86, and 10.4, the deployment
                   7866:       # target defaults to 10.4. Don't you love it?
                   7867:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7868:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
1.1.1.4 ! misho    7869:          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
        !          7870:        10.[012][,.]*)
        !          7871:          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1.1.1.2   misho    7872:        10.*)
1.1.1.4 ! misho    7873:          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1.1.1.2   misho    7874:       esac
                   7875:     ;;
                   7876:   esac
1.1.1.4 ! misho    7877:     if test yes = "$lt_cv_apple_cc_single_mod"; then
1.1.1.2   misho    7878:       _lt_dar_single_mod='$single_module'
                   7879:     fi
1.1.1.4 ! misho    7880:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
        !          7881:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1.1.1.2   misho    7882:     else
1.1.1.4 ! misho    7883:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1.1.1.2   misho    7884:     fi
1.1.1.4 ! misho    7885:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1.1.1.2   misho    7886:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7887:     else
                   7888:       _lt_dsymutil=
                   7889:     fi
                   7890:     ;;
                   7891:   esac
                   7892: 
1.1.1.4 ! misho    7893: # func_munge_path_list VARIABLE PATH
        !          7894: # -----------------------------------
        !          7895: # VARIABLE is name of variable containing _space_ separated list of
        !          7896: # directories to be munged by the contents of PATH, which is string
        !          7897: # having a format:
        !          7898: # "DIR[:DIR]:"
        !          7899: #       string "DIR[ DIR]" will be prepended to VARIABLE
        !          7900: # ":DIR[:DIR]"
        !          7901: #       string "DIR[ DIR]" will be appended to VARIABLE
        !          7902: # "DIRP[:DIRP]::[DIRA:]DIRA"
        !          7903: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
        !          7904: #       "DIRA[ DIRA]" will be appended to VARIABLE
        !          7905: # "DIR[:DIR]"
        !          7906: #       VARIABLE will be replaced by "DIR[ DIR]"
        !          7907: func_munge_path_list ()
        !          7908: {
        !          7909:     case x$2 in
        !          7910:     x)
        !          7911:         ;;
        !          7912:     *:)
        !          7913:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
        !          7914:         ;;
        !          7915:     x:*)
        !          7916:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
        !          7917:         ;;
        !          7918:     *::*)
        !          7919:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
        !          7920:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
        !          7921:         ;;
        !          7922:     *)
        !          7923:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
        !          7924:         ;;
        !          7925:     esac
        !          7926: }
        !          7927: 
1.1.1.2   misho    7928: for ac_header in dlfcn.h
                   7929: do :
                   7930:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   7931: "
                   7932: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   7933:   cat >>confdefs.h <<_ACEOF
                   7934: #define HAVE_DLFCN_H 1
                   7935: _ACEOF
                   7936: 
                   7937: fi
                   7938: 
                   7939: done
                   7940: 
                   7941: 
                   7942: 
                   7943: 
                   7944: 
                   7945: # Set options
                   7946: 
1.1.1.4 ! misho    7947: # Check whether --with-pic was given.
        !          7948: if test "${with_pic+set}" = set; then :
        !          7949:   withval=$with_pic; lt_p=${PACKAGE-default}
        !          7950:     case $withval in
        !          7951:     yes|no) pic_mode=$withval ;;
        !          7952:     *)
        !          7953:       pic_mode=default
        !          7954:       # Look at the argument we got.  We use all the common list separators.
        !          7955:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
        !          7956:       for lt_pkg in $withval; do
        !          7957:        IFS=$lt_save_ifs
        !          7958:        if test "X$lt_pkg" = "X$lt_p"; then
        !          7959:          pic_mode=yes
        !          7960:        fi
        !          7961:       done
        !          7962:       IFS=$lt_save_ifs
        !          7963:       ;;
        !          7964:     esac
        !          7965: else
        !          7966:   pic_mode=yes
        !          7967: fi
        !          7968: 
        !          7969: 
        !          7970: 
        !          7971: 
        !          7972: 
        !          7973: 
        !          7974: 
1.1.1.2   misho    7975: 
                   7976: 
                   7977:         enable_dlopen=no
                   7978: 
                   7979: 
                   7980:   enable_win32_dll=no
                   7981: 
                   7982: 
                   7983:             # Check whether --enable-shared was given.
                   7984: if test "${enable_shared+set}" = set; then :
                   7985:   enableval=$enable_shared; p=${PACKAGE-default}
                   7986:     case $enableval in
                   7987:     yes) enable_shared=yes ;;
                   7988:     no) enable_shared=no ;;
                   7989:     *)
                   7990:       enable_shared=no
                   7991:       # Look at the argument we got.  We use all the common list separators.
1.1.1.4 ! misho    7992:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.1.1.2   misho    7993:       for pkg in $enableval; do
1.1.1.4 ! misho    7994:        IFS=$lt_save_ifs
1.1.1.2   misho    7995:        if test "X$pkg" = "X$p"; then
                   7996:          enable_shared=yes
                   7997:        fi
                   7998:       done
1.1.1.4 ! misho    7999:       IFS=$lt_save_ifs
1.1.1.2   misho    8000:       ;;
                   8001:     esac
                   8002: else
                   8003:   enable_shared=yes
                   8004: fi
                   8005: 
                   8006: 
                   8007: 
                   8008: 
                   8009: 
                   8010: 
                   8011: 
                   8012: 
                   8013: 
                   8014:   # Check whether --enable-static was given.
                   8015: if test "${enable_static+set}" = set; then :
                   8016:   enableval=$enable_static; p=${PACKAGE-default}
                   8017:     case $enableval in
                   8018:     yes) enable_static=yes ;;
                   8019:     no) enable_static=no ;;
                   8020:     *)
                   8021:      enable_static=no
                   8022:       # Look at the argument we got.  We use all the common list separators.
1.1.1.4 ! misho    8023:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.1.1.2   misho    8024:       for pkg in $enableval; do
1.1.1.4 ! misho    8025:        IFS=$lt_save_ifs
1.1.1.2   misho    8026:        if test "X$pkg" = "X$p"; then
                   8027:          enable_static=yes
                   8028:        fi
                   8029:       done
1.1.1.4 ! misho    8030:       IFS=$lt_save_ifs
1.1.1.2   misho    8031:       ;;
                   8032:     esac
                   8033: else
                   8034:   enable_static=yes
                   8035: fi
                   8036: 
                   8037: 
                   8038: 
                   8039: 
                   8040: 
                   8041: 
                   8042: 
                   8043: 
                   8044: 
                   8045: 
                   8046:   # Check whether --enable-fast-install was given.
                   8047: if test "${enable_fast_install+set}" = set; then :
                   8048:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   8049:     case $enableval in
                   8050:     yes) enable_fast_install=yes ;;
                   8051:     no) enable_fast_install=no ;;
                   8052:     *)
                   8053:       enable_fast_install=no
                   8054:       # Look at the argument we got.  We use all the common list separators.
1.1.1.4 ! misho    8055:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.1.1.2   misho    8056:       for pkg in $enableval; do
1.1.1.4 ! misho    8057:        IFS=$lt_save_ifs
1.1.1.2   misho    8058:        if test "X$pkg" = "X$p"; then
                   8059:          enable_fast_install=yes
                   8060:        fi
                   8061:       done
1.1.1.4 ! misho    8062:       IFS=$lt_save_ifs
1.1.1.2   misho    8063:       ;;
                   8064:     esac
                   8065: else
                   8066:   enable_fast_install=yes
                   8067: fi
                   8068: 
                   8069: 
                   8070: 
                   8071: 
                   8072: 
                   8073: 
                   8074: 
                   8075: 
1.1.1.4 ! misho    8076:   shared_archive_member_spec=
        !          8077: case $host,$enable_shared in
        !          8078: power*-*-aix[5-9]*,yes)
        !          8079:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
        !          8080: $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
        !          8081: 
        !          8082: # Check whether --with-aix-soname was given.
        !          8083: if test "${with_aix_soname+set}" = set; then :
        !          8084:   withval=$with_aix_soname; case $withval in
        !          8085:     aix|svr4|both)
        !          8086:       ;;
        !          8087:     *)
        !          8088:       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
        !          8089:       ;;
        !          8090:     esac
        !          8091:     lt_cv_with_aix_soname=$with_aix_soname
        !          8092: else
        !          8093:   if ${lt_cv_with_aix_soname+:} false; then :
        !          8094:   $as_echo_n "(cached) " >&6
        !          8095: else
        !          8096:   lt_cv_with_aix_soname=aix
        !          8097: fi
        !          8098: 
        !          8099:     with_aix_soname=$lt_cv_with_aix_soname
        !          8100: fi
        !          8101: 
        !          8102:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
        !          8103: $as_echo "$with_aix_soname" >&6; }
        !          8104:   if test aix != "$with_aix_soname"; then
        !          8105:     # For the AIX way of multilib, we name the shared archive member
        !          8106:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
        !          8107:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
        !          8108:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
        !          8109:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
        !          8110:     if test 64 = "${OBJECT_MODE-32}"; then
        !          8111:       shared_archive_member_spec=shr_64
        !          8112:     else
        !          8113:       shared_archive_member_spec=shr
        !          8114:     fi
        !          8115:   fi
        !          8116:   ;;
        !          8117: *)
        !          8118:   with_aix_soname=aix
        !          8119:   ;;
        !          8120: esac
        !          8121: 
        !          8122: 
        !          8123: 
        !          8124: 
        !          8125: 
        !          8126: 
        !          8127: 
1.1.1.2   misho    8128: 
                   8129: 
                   8130: 
                   8131: # This can be used to rebuild libtool when needed
1.1.1.4 ! misho    8132: LIBTOOL_DEPS=$ltmain
1.1.1.2   misho    8133: 
                   8134: # Always use our own libtool.
                   8135: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8136: 
                   8137: 
                   8138: 
                   8139: 
                   8140: 
                   8141: 
                   8142: 
                   8143: 
                   8144: 
                   8145: 
                   8146: 
                   8147: 
                   8148: 
                   8149: 
                   8150: 
                   8151: 
                   8152: 
                   8153: 
                   8154: 
                   8155: 
                   8156: 
                   8157: 
                   8158: 
                   8159: 
                   8160: 
                   8161: 
1.1.1.4 ! misho    8162: 
        !          8163: 
        !          8164: 
        !          8165: 
1.1.1.2   misho    8166: test -z "$LN_S" && LN_S="ln -s"
                   8167: 
                   8168: 
                   8169: 
                   8170: 
                   8171: 
                   8172: 
                   8173: 
                   8174: 
                   8175: 
                   8176: 
                   8177: 
                   8178: 
                   8179: 
                   8180: 
1.1.1.4 ! misho    8181: if test -n "${ZSH_VERSION+set}"; then
1.1.1.2   misho    8182:    setopt NO_GLOB_SUBST
                   8183: fi
                   8184: 
                   8185: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   8186: $as_echo_n "checking for objdir... " >&6; }
                   8187: if ${lt_cv_objdir+:} false; then :
                   8188:   $as_echo_n "(cached) " >&6
                   8189: else
                   8190:   rm -f .libs 2>/dev/null
                   8191: mkdir .libs 2>/dev/null
                   8192: if test -d .libs; then
                   8193:   lt_cv_objdir=.libs
                   8194: else
                   8195:   # MS-DOS does not allow filenames that begin with a dot.
                   8196:   lt_cv_objdir=_libs
                   8197: fi
                   8198: rmdir .libs 2>/dev/null
                   8199: fi
                   8200: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   8201: $as_echo "$lt_cv_objdir" >&6; }
                   8202: objdir=$lt_cv_objdir
                   8203: 
                   8204: 
                   8205: 
                   8206: 
                   8207: 
                   8208: cat >>confdefs.h <<_ACEOF
                   8209: #define LT_OBJDIR "$lt_cv_objdir/"
                   8210: _ACEOF
                   8211: 
                   8212: 
                   8213: 
                   8214: 
                   8215: case $host_os in
                   8216: aix3*)
                   8217:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8218:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8219:   # vanish in a puff of smoke.
1.1.1.4 ! misho    8220:   if test set != "${COLLECT_NAMES+set}"; then
1.1.1.2   misho    8221:     COLLECT_NAMES=
                   8222:     export COLLECT_NAMES
                   8223:   fi
                   8224:   ;;
                   8225: esac
                   8226: 
                   8227: # Global variables:
                   8228: ofile=libtool
                   8229: can_build_shared=yes
                   8230: 
1.1.1.4 ! misho    8231: # All known linkers require a '.a' archive for static linking (except MSVC,
1.1.1.2   misho    8232: # which needs '.lib').
                   8233: libext=a
                   8234: 
1.1.1.4 ! misho    8235: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1.1.2   misho    8236: 
1.1.1.4 ! misho    8237: old_CC=$CC
        !          8238: old_CFLAGS=$CFLAGS
1.1.1.2   misho    8239: 
                   8240: # Set sane defaults for various variables
                   8241: test -z "$CC" && CC=cc
                   8242: test -z "$LTCC" && LTCC=$CC
                   8243: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8244: test -z "$LD" && LD=ld
                   8245: test -z "$ac_objext" && ac_objext=o
                   8246: 
1.1.1.4 ! misho    8247: func_cc_basename $compiler
        !          8248: cc_basename=$func_cc_basename_result
1.1.1.2   misho    8249: 
                   8250: 
                   8251: # Only perform the check for file, if the check method requires it
                   8252: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8253: case $deplibs_check_method in
                   8254: file_magic*)
                   8255:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   8256:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   8257: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   8258: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   8259:   $as_echo_n "(cached) " >&6
                   8260: else
                   8261:   case $MAGIC_CMD in
                   8262: [\\/*] |  ?:[\\/]*)
1.1.1.4 ! misho    8263:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.1.1.2   misho    8264:   ;;
                   8265: *)
1.1.1.4 ! misho    8266:   lt_save_MAGIC_CMD=$MAGIC_CMD
        !          8267:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.1.1.2   misho    8268:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8269:   for ac_dir in $ac_dummy; do
1.1.1.4 ! misho    8270:     IFS=$lt_save_ifs
1.1.1.2   misho    8271:     test -z "$ac_dir" && ac_dir=.
1.1.1.4 ! misho    8272:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
        !          8273:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
1.1.1.2   misho    8274:       if test -n "$file_magic_test_file"; then
                   8275:        case $deplibs_check_method in
                   8276:        "file_magic "*)
                   8277:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.1.1.4 ! misho    8278:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.1.1.2   misho    8279:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8280:            $EGREP "$file_magic_regex" > /dev/null; then
                   8281:            :
                   8282:          else
                   8283:            cat <<_LT_EOF 1>&2
                   8284: 
                   8285: *** Warning: the command libtool uses to detect shared libraries,
                   8286: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8287: *** The result is that libtool may fail to recognize shared libraries
                   8288: *** as such.  This will affect the creation of libtool libraries that
                   8289: *** depend on shared libraries, but programs linked with such libtool
                   8290: *** libraries will work regardless of this problem.  Nevertheless, you
                   8291: *** may want to report the problem to your system manager and/or to
                   8292: *** bug-libtool@gnu.org
                   8293: 
                   8294: _LT_EOF
                   8295:          fi ;;
                   8296:        esac
                   8297:       fi
                   8298:       break
                   8299:     fi
                   8300:   done
1.1.1.4 ! misho    8301:   IFS=$lt_save_ifs
        !          8302:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.1.1.2   misho    8303:   ;;
                   8304: esac
                   8305: fi
                   8306: 
1.1.1.4 ! misho    8307: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.1.1.2   misho    8308: if test -n "$MAGIC_CMD"; then
                   8309:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8310: $as_echo "$MAGIC_CMD" >&6; }
                   8311: else
                   8312:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8313: $as_echo "no" >&6; }
                   8314: fi
                   8315: 
                   8316: 
                   8317: 
                   8318: 
                   8319: 
                   8320: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8321:   if test -n "$ac_tool_prefix"; then
                   8322:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   8323: $as_echo_n "checking for file... " >&6; }
                   8324: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   8325:   $as_echo_n "(cached) " >&6
                   8326: else
                   8327:   case $MAGIC_CMD in
                   8328: [\\/*] |  ?:[\\/]*)
1.1.1.4 ! misho    8329:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.1.1.2   misho    8330:   ;;
                   8331: *)
1.1.1.4 ! misho    8332:   lt_save_MAGIC_CMD=$MAGIC_CMD
        !          8333:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.1.1.2   misho    8334:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8335:   for ac_dir in $ac_dummy; do
1.1.1.4 ! misho    8336:     IFS=$lt_save_ifs
1.1.1.2   misho    8337:     test -z "$ac_dir" && ac_dir=.
1.1.1.4 ! misho    8338:     if test -f "$ac_dir/file"; then
        !          8339:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
1.1.1.2   misho    8340:       if test -n "$file_magic_test_file"; then
                   8341:        case $deplibs_check_method in
                   8342:        "file_magic "*)
                   8343:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.1.1.4 ! misho    8344:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.1.1.2   misho    8345:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8346:            $EGREP "$file_magic_regex" > /dev/null; then
                   8347:            :
                   8348:          else
                   8349:            cat <<_LT_EOF 1>&2
                   8350: 
                   8351: *** Warning: the command libtool uses to detect shared libraries,
                   8352: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8353: *** The result is that libtool may fail to recognize shared libraries
                   8354: *** as such.  This will affect the creation of libtool libraries that
                   8355: *** depend on shared libraries, but programs linked with such libtool
                   8356: *** libraries will work regardless of this problem.  Nevertheless, you
                   8357: *** may want to report the problem to your system manager and/or to
                   8358: *** bug-libtool@gnu.org
                   8359: 
                   8360: _LT_EOF
                   8361:          fi ;;
                   8362:        esac
                   8363:       fi
                   8364:       break
                   8365:     fi
                   8366:   done
1.1.1.4 ! misho    8367:   IFS=$lt_save_ifs
        !          8368:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.1.1.2   misho    8369:   ;;
                   8370: esac
                   8371: fi
                   8372: 
1.1.1.4 ! misho    8373: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.1.1.2   misho    8374: if test -n "$MAGIC_CMD"; then
                   8375:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8376: $as_echo "$MAGIC_CMD" >&6; }
                   8377: else
                   8378:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8379: $as_echo "no" >&6; }
                   8380: fi
                   8381: 
                   8382: 
                   8383:   else
                   8384:     MAGIC_CMD=:
                   8385:   fi
                   8386: fi
                   8387: 
                   8388:   fi
                   8389:   ;;
                   8390: esac
                   8391: 
                   8392: # Use C for the default configuration in the libtool script
                   8393: 
1.1.1.4 ! misho    8394: lt_save_CC=$CC
1.1.1.2   misho    8395: ac_ext=c
                   8396: ac_cpp='$CPP $CPPFLAGS'
                   8397: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8398: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8399: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8400: 
                   8401: 
                   8402: # Source file extension for C test sources.
                   8403: ac_ext=c
                   8404: 
                   8405: # Object file extension for compiled C test sources.
                   8406: objext=o
                   8407: objext=$objext
                   8408: 
                   8409: # Code to be used in simple compile tests
                   8410: lt_simple_compile_test_code="int some_variable = 0;"
                   8411: 
                   8412: # Code to be used in simple link tests
                   8413: lt_simple_link_test_code='int main(){return(0);}'
                   8414: 
                   8415: 
                   8416: 
                   8417: 
                   8418: 
                   8419: 
                   8420: 
                   8421: # If no C compiler was specified, use CC.
                   8422: LTCC=${LTCC-"$CC"}
                   8423: 
                   8424: # If no C compiler flags were specified, use CFLAGS.
                   8425: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   8426: 
                   8427: # Allow CC to be a program name with arguments.
                   8428: compiler=$CC
                   8429: 
                   8430: # Save the default compiler, since it gets overwritten when the other
                   8431: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8432: compiler_DEFAULT=$CC
                   8433: 
                   8434: # save warnings/boilerplate of simple test code
                   8435: ac_outfile=conftest.$ac_objext
                   8436: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8437: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8438: _lt_compiler_boilerplate=`cat conftest.err`
                   8439: $RM conftest*
                   8440: 
                   8441: ac_outfile=conftest.$ac_objext
                   8442: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8443: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8444: _lt_linker_boilerplate=`cat conftest.err`
                   8445: $RM -r conftest*
                   8446: 
                   8447: 
1.1.1.4 ! misho    8448: ## CAVEAT EMPTOR:
        !          8449: ## There is no encapsulation within the following macros, do not change
        !          8450: ## the running order or otherwise move them around unless you know exactly
        !          8451: ## what you are doing...
1.1.1.2   misho    8452: if test -n "$compiler"; then
                   8453: 
                   8454: lt_prog_compiler_no_builtin_flag=
                   8455: 
1.1.1.4 ! misho    8456: if test yes = "$GCC"; then
1.1.1.2   misho    8457:   case $cc_basename in
                   8458:   nvcc*)
                   8459:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8460:   *)
                   8461:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   8462:   esac
                   8463: 
                   8464:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8465: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   8466: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   8467:   $as_echo_n "(cached) " >&6
                   8468: else
                   8469:   lt_cv_prog_compiler_rtti_exceptions=no
                   8470:    ac_outfile=conftest.$ac_objext
                   8471:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.1.1.4 ! misho    8472:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
1.1.1.2   misho    8473:    # Insert the option either (1) after the last *FLAGS variable, or
                   8474:    # (2) before a word containing "conftest.", or (3) at the end.
                   8475:    # Note that $ac_compile itself does not contain backslashes and begins
                   8476:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8477:    # The option is referenced via a variable to avoid confusing sed.
                   8478:    lt_compile=`echo "$ac_compile" | $SED \
                   8479:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8480:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8481:    -e 's:$: $lt_compiler_flag:'`
                   8482:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8483:    (eval "$lt_compile" 2>conftest.err)
                   8484:    ac_status=$?
                   8485:    cat conftest.err >&5
                   8486:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8487:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8488:      # The compiler can only warn and ignore the option if not recognized
                   8489:      # So say no if there are warnings other than the usual output.
                   8490:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8491:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8492:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8493:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8494:      fi
                   8495:    fi
                   8496:    $RM conftest*
                   8497: 
                   8498: fi
                   8499: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8500: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
                   8501: 
1.1.1.4 ! misho    8502: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
1.1.1.2   misho    8503:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8504: else
                   8505:     :
                   8506: fi
                   8507: 
                   8508: fi
                   8509: 
                   8510: 
                   8511: 
                   8512: 
                   8513: 
                   8514: 
                   8515:   lt_prog_compiler_wl=
                   8516: lt_prog_compiler_pic=
                   8517: lt_prog_compiler_static=
                   8518: 
                   8519: 
1.1.1.4 ! misho    8520:   if test yes = "$GCC"; then
1.1.1.2   misho    8521:     lt_prog_compiler_wl='-Wl,'
                   8522:     lt_prog_compiler_static='-static'
                   8523: 
                   8524:     case $host_os in
                   8525:       aix*)
                   8526:       # All AIX code is PIC.
1.1.1.4 ! misho    8527:       if test ia64 = "$host_cpu"; then
1.1.1.2   misho    8528:        # AIX 5 now supports IA64 processor
                   8529:        lt_prog_compiler_static='-Bstatic'
                   8530:       fi
1.1.1.4 ! misho    8531:       lt_prog_compiler_pic='-fPIC'
1.1.1.2   misho    8532:       ;;
                   8533: 
                   8534:     amigaos*)
                   8535:       case $host_cpu in
                   8536:       powerpc)
                   8537:             # see comment about AmigaOS4 .so support
                   8538:             lt_prog_compiler_pic='-fPIC'
                   8539:         ;;
                   8540:       m68k)
                   8541:             # FIXME: we need at least 68020 code to build shared libraries, but
1.1.1.4 ! misho    8542:             # adding the '-m68020' flag to GCC prevents building anything better,
        !          8543:             # like '-m68040'.
1.1.1.2   misho    8544:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8545:         ;;
                   8546:       esac
                   8547:       ;;
                   8548: 
                   8549:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8550:       # PIC is the default for these OSes.
                   8551:       ;;
                   8552: 
                   8553:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8554:       # This hack is so that the source file can tell whether it is being
                   8555:       # built for inclusion in a dll (and should export symbols for example).
                   8556:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8557:       # (--disable-auto-import) libraries
                   8558:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.1.1.4 ! misho    8559:       case $host_os in
        !          8560:       os2*)
        !          8561:        lt_prog_compiler_static='$wl-static'
        !          8562:        ;;
        !          8563:       esac
1.1.1.2   misho    8564:       ;;
                   8565: 
                   8566:     darwin* | rhapsody*)
                   8567:       # PIC is the default on this platform
                   8568:       # Common symbols not allowed in MH_DYLIB files
                   8569:       lt_prog_compiler_pic='-fno-common'
                   8570:       ;;
                   8571: 
                   8572:     haiku*)
                   8573:       # PIC is the default for Haiku.
                   8574:       # The "-static" flag exists, but is broken.
                   8575:       lt_prog_compiler_static=
                   8576:       ;;
                   8577: 
                   8578:     hpux*)
                   8579:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8580:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8581:       # sets the default TLS model and affects inlining.
                   8582:       case $host_cpu in
                   8583:       hppa*64*)
                   8584:        # +Z the default
                   8585:        ;;
                   8586:       *)
                   8587:        lt_prog_compiler_pic='-fPIC'
                   8588:        ;;
                   8589:       esac
                   8590:       ;;
                   8591: 
                   8592:     interix[3-9]*)
                   8593:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8594:       # Instead, we relocate shared libraries at runtime.
                   8595:       ;;
                   8596: 
                   8597:     msdosdjgpp*)
                   8598:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8599:       # on systems that don't support them.
                   8600:       lt_prog_compiler_can_build_shared=no
                   8601:       enable_shared=no
                   8602:       ;;
                   8603: 
                   8604:     *nto* | *qnx*)
                   8605:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8606:       # it will coredump.
                   8607:       lt_prog_compiler_pic='-fPIC -shared'
                   8608:       ;;
                   8609: 
                   8610:     sysv4*MP*)
                   8611:       if test -d /usr/nec; then
                   8612:        lt_prog_compiler_pic=-Kconform_pic
                   8613:       fi
                   8614:       ;;
                   8615: 
                   8616:     *)
                   8617:       lt_prog_compiler_pic='-fPIC'
                   8618:       ;;
                   8619:     esac
                   8620: 
                   8621:     case $cc_basename in
                   8622:     nvcc*) # Cuda Compiler Driver 2.2
                   8623:       lt_prog_compiler_wl='-Xlinker '
1.1.1.4 ! misho    8624:       if test -n "$lt_prog_compiler_pic"; then
        !          8625:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
        !          8626:       fi
1.1.1.2   misho    8627:       ;;
                   8628:     esac
                   8629:   else
                   8630:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8631:     case $host_os in
                   8632:     aix*)
                   8633:       lt_prog_compiler_wl='-Wl,'
1.1.1.4 ! misho    8634:       if test ia64 = "$host_cpu"; then
1.1.1.2   misho    8635:        # AIX 5 now supports IA64 processor
                   8636:        lt_prog_compiler_static='-Bstatic'
                   8637:       else
                   8638:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8639:       fi
                   8640:       ;;
                   8641: 
1.1.1.4 ! misho    8642:     darwin* | rhapsody*)
        !          8643:       # PIC is the default on this platform
        !          8644:       # Common symbols not allowed in MH_DYLIB files
        !          8645:       lt_prog_compiler_pic='-fno-common'
        !          8646:       case $cc_basename in
        !          8647:       nagfor*)
        !          8648:         # NAG Fortran compiler
        !          8649:         lt_prog_compiler_wl='-Wl,-Wl,,'
        !          8650:         lt_prog_compiler_pic='-PIC'
        !          8651:         lt_prog_compiler_static='-Bstatic'
        !          8652:         ;;
        !          8653:       esac
        !          8654:       ;;
        !          8655: 
1.1.1.2   misho    8656:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8657:       # This hack is so that the source file can tell whether it is being
                   8658:       # built for inclusion in a dll (and should export symbols for example).
                   8659:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.1.1.4 ! misho    8660:       case $host_os in
        !          8661:       os2*)
        !          8662:        lt_prog_compiler_static='$wl-static'
        !          8663:        ;;
        !          8664:       esac
1.1.1.2   misho    8665:       ;;
                   8666: 
                   8667:     hpux9* | hpux10* | hpux11*)
                   8668:       lt_prog_compiler_wl='-Wl,'
                   8669:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8670:       # not for PA HP-UX.
                   8671:       case $host_cpu in
                   8672:       hppa*64*|ia64*)
                   8673:        # +Z the default
                   8674:        ;;
                   8675:       *)
                   8676:        lt_prog_compiler_pic='+Z'
                   8677:        ;;
                   8678:       esac
                   8679:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.1.1.4 ! misho    8680:       lt_prog_compiler_static='$wl-a ${wl}archive'
1.1.1.2   misho    8681:       ;;
                   8682: 
                   8683:     irix5* | irix6* | nonstopux*)
                   8684:       lt_prog_compiler_wl='-Wl,'
                   8685:       # PIC (with -KPIC) is the default.
                   8686:       lt_prog_compiler_static='-non_shared'
                   8687:       ;;
                   8688: 
1.1.1.4 ! misho    8689:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.1.1.2   misho    8690:       case $cc_basename in
1.1.1.4 ! misho    8691:       # old Intel for x86_64, which still supported -KPIC.
1.1.1.2   misho    8692:       ecc*)
                   8693:        lt_prog_compiler_wl='-Wl,'
                   8694:        lt_prog_compiler_pic='-KPIC'
                   8695:        lt_prog_compiler_static='-static'
                   8696:         ;;
1.1.1.4 ! misho    8697:       # flang / f18. f95 an alias for gfortran or flang on Debian
        !          8698:       flang* | f18* | f95*)
        !          8699:        lt_prog_compiler_wl='-Wl,'
        !          8700:        lt_prog_compiler_pic='-fPIC'
        !          8701:        lt_prog_compiler_static='-static'
        !          8702:         ;;
1.1.1.2   misho    8703:       # icc used to be incompatible with GCC.
                   8704:       # ICC 10 doesn't accept -KPIC any more.
                   8705:       icc* | ifort*)
                   8706:        lt_prog_compiler_wl='-Wl,'
                   8707:        lt_prog_compiler_pic='-fPIC'
                   8708:        lt_prog_compiler_static='-static'
                   8709:         ;;
                   8710:       # Lahey Fortran 8.1.
                   8711:       lf95*)
                   8712:        lt_prog_compiler_wl='-Wl,'
                   8713:        lt_prog_compiler_pic='--shared'
                   8714:        lt_prog_compiler_static='--static'
                   8715:        ;;
                   8716:       nagfor*)
                   8717:        # NAG Fortran compiler
                   8718:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8719:        lt_prog_compiler_pic='-PIC'
                   8720:        lt_prog_compiler_static='-Bstatic'
                   8721:        ;;
1.1.1.4 ! misho    8722:       tcc*)
        !          8723:        # Fabrice Bellard et al's Tiny C Compiler
        !          8724:        lt_prog_compiler_wl='-Wl,'
        !          8725:        lt_prog_compiler_pic='-fPIC'
        !          8726:        lt_prog_compiler_static='-static'
        !          8727:        ;;
1.1.1.2   misho    8728:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8729:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8730:        # which looks to be a dead project)
                   8731:        lt_prog_compiler_wl='-Wl,'
                   8732:        lt_prog_compiler_pic='-fpic'
                   8733:        lt_prog_compiler_static='-Bstatic'
                   8734:         ;;
                   8735:       ccc*)
                   8736:         lt_prog_compiler_wl='-Wl,'
                   8737:         # All Alpha code is PIC.
                   8738:         lt_prog_compiler_static='-non_shared'
                   8739:         ;;
                   8740:       xl* | bgxl* | bgf* | mpixl*)
                   8741:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8742:        lt_prog_compiler_wl='-Wl,'
                   8743:        lt_prog_compiler_pic='-qpic'
                   8744:        lt_prog_compiler_static='-qstaticlink'
                   8745:        ;;
                   8746:       *)
                   8747:        case `$CC -V 2>&1 | sed 5q` in
1.1.1.4 ! misho    8748:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
1.1.1.2   misho    8749:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8750:          lt_prog_compiler_pic='-KPIC'
                   8751:          lt_prog_compiler_static='-Bstatic'
                   8752:          lt_prog_compiler_wl=''
                   8753:          ;;
1.1.1.4 ! misho    8754:        *Sun\ F* | *Sun*Fortran*)
        !          8755:          lt_prog_compiler_pic='-KPIC'
        !          8756:          lt_prog_compiler_static='-Bstatic'
        !          8757:          lt_prog_compiler_wl='-Qoption ld '
        !          8758:          ;;
1.1.1.2   misho    8759:        *Sun\ C*)
                   8760:          # Sun C 5.9
                   8761:          lt_prog_compiler_pic='-KPIC'
                   8762:          lt_prog_compiler_static='-Bstatic'
                   8763:          lt_prog_compiler_wl='-Wl,'
                   8764:          ;;
1.1.1.4 ! misho    8765:         *Intel*\ [CF]*Compiler*)
        !          8766:          lt_prog_compiler_wl='-Wl,'
        !          8767:          lt_prog_compiler_pic='-fPIC'
        !          8768:          lt_prog_compiler_static='-static'
        !          8769:          ;;
        !          8770:        *Portland\ Group*)
        !          8771:          lt_prog_compiler_wl='-Wl,'
        !          8772:          lt_prog_compiler_pic='-fpic'
        !          8773:          lt_prog_compiler_static='-Bstatic'
        !          8774:          ;;
1.1.1.2   misho    8775:        esac
                   8776:        ;;
                   8777:       esac
                   8778:       ;;
                   8779: 
                   8780:     newsos6)
                   8781:       lt_prog_compiler_pic='-KPIC'
                   8782:       lt_prog_compiler_static='-Bstatic'
                   8783:       ;;
                   8784: 
                   8785:     *nto* | *qnx*)
                   8786:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8787:       # it will coredump.
                   8788:       lt_prog_compiler_pic='-fPIC -shared'
                   8789:       ;;
                   8790: 
                   8791:     osf3* | osf4* | osf5*)
                   8792:       lt_prog_compiler_wl='-Wl,'
                   8793:       # All OSF/1 code is PIC.
                   8794:       lt_prog_compiler_static='-non_shared'
                   8795:       ;;
                   8796: 
                   8797:     rdos*)
                   8798:       lt_prog_compiler_static='-non_shared'
                   8799:       ;;
                   8800: 
                   8801:     solaris*)
                   8802:       lt_prog_compiler_pic='-KPIC'
                   8803:       lt_prog_compiler_static='-Bstatic'
                   8804:       case $cc_basename in
                   8805:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8806:        lt_prog_compiler_wl='-Qoption ld ';;
                   8807:       *)
                   8808:        lt_prog_compiler_wl='-Wl,';;
                   8809:       esac
                   8810:       ;;
                   8811: 
                   8812:     sunos4*)
                   8813:       lt_prog_compiler_wl='-Qoption ld '
                   8814:       lt_prog_compiler_pic='-PIC'
                   8815:       lt_prog_compiler_static='-Bstatic'
                   8816:       ;;
                   8817: 
                   8818:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8819:       lt_prog_compiler_wl='-Wl,'
                   8820:       lt_prog_compiler_pic='-KPIC'
                   8821:       lt_prog_compiler_static='-Bstatic'
                   8822:       ;;
                   8823: 
                   8824:     sysv4*MP*)
1.1.1.4 ! misho    8825:       if test -d /usr/nec; then
1.1.1.2   misho    8826:        lt_prog_compiler_pic='-Kconform_pic'
                   8827:        lt_prog_compiler_static='-Bstatic'
                   8828:       fi
                   8829:       ;;
                   8830: 
                   8831:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8832:       lt_prog_compiler_wl='-Wl,'
                   8833:       lt_prog_compiler_pic='-KPIC'
                   8834:       lt_prog_compiler_static='-Bstatic'
                   8835:       ;;
                   8836: 
                   8837:     unicos*)
                   8838:       lt_prog_compiler_wl='-Wl,'
                   8839:       lt_prog_compiler_can_build_shared=no
                   8840:       ;;
                   8841: 
                   8842:     uts4*)
                   8843:       lt_prog_compiler_pic='-pic'
                   8844:       lt_prog_compiler_static='-Bstatic'
                   8845:       ;;
                   8846: 
                   8847:     *)
                   8848:       lt_prog_compiler_can_build_shared=no
                   8849:       ;;
                   8850:     esac
                   8851:   fi
                   8852: 
                   8853: case $host_os in
1.1.1.4 ! misho    8854:   # For platforms that do not support PIC, -DPIC is meaningless:
1.1.1.2   misho    8855:   *djgpp*)
                   8856:     lt_prog_compiler_pic=
                   8857:     ;;
                   8858:   *)
                   8859:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8860:     ;;
                   8861: esac
                   8862: 
                   8863: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   8864: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   8865: if ${lt_cv_prog_compiler_pic+:} false; then :
                   8866:   $as_echo_n "(cached) " >&6
                   8867: else
                   8868:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8869: fi
                   8870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   8871: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
                   8872: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8873: 
                   8874: #
                   8875: # Check to make sure the PIC flag actually works.
                   8876: #
                   8877: if test -n "$lt_prog_compiler_pic"; then
                   8878:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8879: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   8880: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   8881:   $as_echo_n "(cached) " >&6
                   8882: else
                   8883:   lt_cv_prog_compiler_pic_works=no
                   8884:    ac_outfile=conftest.$ac_objext
                   8885:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.1.1.4 ! misho    8886:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
1.1.1.2   misho    8887:    # Insert the option either (1) after the last *FLAGS variable, or
                   8888:    # (2) before a word containing "conftest.", or (3) at the end.
                   8889:    # Note that $ac_compile itself does not contain backslashes and begins
                   8890:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8891:    # The option is referenced via a variable to avoid confusing sed.
                   8892:    lt_compile=`echo "$ac_compile" | $SED \
                   8893:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8894:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8895:    -e 's:$: $lt_compiler_flag:'`
                   8896:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8897:    (eval "$lt_compile" 2>conftest.err)
                   8898:    ac_status=$?
                   8899:    cat conftest.err >&5
                   8900:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8901:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8902:      # The compiler can only warn and ignore the option if not recognized
                   8903:      # So say no if there are warnings other than the usual output.
                   8904:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8905:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8906:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8907:        lt_cv_prog_compiler_pic_works=yes
                   8908:      fi
                   8909:    fi
                   8910:    $RM conftest*
                   8911: 
                   8912: fi
                   8913: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   8914: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   8915: 
1.1.1.4 ! misho    8916: if test yes = "$lt_cv_prog_compiler_pic_works"; then
1.1.1.2   misho    8917:     case $lt_prog_compiler_pic in
                   8918:      "" | " "*) ;;
                   8919:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8920:      esac
                   8921: else
                   8922:     lt_prog_compiler_pic=
                   8923:      lt_prog_compiler_can_build_shared=no
                   8924: fi
                   8925: 
                   8926: fi
                   8927: 
                   8928: 
                   8929: 
                   8930: 
                   8931: 
                   8932: 
                   8933: 
                   8934: 
                   8935: 
                   8936: 
                   8937: 
                   8938: #
                   8939: # Check to make sure the static flag actually works.
                   8940: #
                   8941: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8942: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8943: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   8944: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   8945:   $as_echo_n "(cached) " >&6
                   8946: else
                   8947:   lt_cv_prog_compiler_static_works=no
1.1.1.4 ! misho    8948:    save_LDFLAGS=$LDFLAGS
1.1.1.2   misho    8949:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8950:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8951:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8952:      # The linker can only warn and ignore the option if not recognized
                   8953:      # So say no if there are warnings
                   8954:      if test -s conftest.err; then
                   8955:        # Append any errors to the config.log.
                   8956:        cat conftest.err 1>&5
                   8957:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8958:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8959:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8960:          lt_cv_prog_compiler_static_works=yes
                   8961:        fi
                   8962:      else
                   8963:        lt_cv_prog_compiler_static_works=yes
                   8964:      fi
                   8965:    fi
                   8966:    $RM -r conftest*
1.1.1.4 ! misho    8967:    LDFLAGS=$save_LDFLAGS
1.1.1.2   misho    8968: 
                   8969: fi
                   8970: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   8971: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
                   8972: 
1.1.1.4 ! misho    8973: if test yes = "$lt_cv_prog_compiler_static_works"; then
1.1.1.2   misho    8974:     :
                   8975: else
                   8976:     lt_prog_compiler_static=
                   8977: fi
                   8978: 
                   8979: 
                   8980: 
                   8981: 
                   8982: 
                   8983: 
                   8984: 
                   8985:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8986: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   8987: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   8988:   $as_echo_n "(cached) " >&6
                   8989: else
                   8990:   lt_cv_prog_compiler_c_o=no
                   8991:    $RM -r conftest 2>/dev/null
                   8992:    mkdir conftest
                   8993:    cd conftest
                   8994:    mkdir out
                   8995:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8996: 
                   8997:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8998:    # Insert the option either (1) after the last *FLAGS variable, or
                   8999:    # (2) before a word containing "conftest.", or (3) at the end.
                   9000:    # Note that $ac_compile itself does not contain backslashes and begins
                   9001:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9002:    lt_compile=`echo "$ac_compile" | $SED \
                   9003:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9004:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9005:    -e 's:$: $lt_compiler_flag:'`
                   9006:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9007:    (eval "$lt_compile" 2>out/conftest.err)
                   9008:    ac_status=$?
                   9009:    cat out/conftest.err >&5
                   9010:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9011:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9012:    then
                   9013:      # The compiler can only warn and ignore the option if not recognized
                   9014:      # So say no if there are warnings
                   9015:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9016:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9017:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9018:        lt_cv_prog_compiler_c_o=yes
                   9019:      fi
                   9020:    fi
                   9021:    chmod u+w . 2>&5
                   9022:    $RM conftest*
                   9023:    # SGI C++ compiler will create directory out/ii_files/ for
                   9024:    # template instantiation
                   9025:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9026:    $RM out/* && rmdir out
                   9027:    cd ..
                   9028:    $RM -r conftest
                   9029:    $RM conftest*
                   9030: 
                   9031: fi
                   9032: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9033: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   9034: 
                   9035: 
                   9036: 
                   9037: 
                   9038: 
                   9039: 
                   9040:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9041: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9042: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9043:   $as_echo_n "(cached) " >&6
                   9044: else
                   9045:   lt_cv_prog_compiler_c_o=no
                   9046:    $RM -r conftest 2>/dev/null
                   9047:    mkdir conftest
                   9048:    cd conftest
                   9049:    mkdir out
                   9050:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9051: 
                   9052:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9053:    # Insert the option either (1) after the last *FLAGS variable, or
                   9054:    # (2) before a word containing "conftest.", or (3) at the end.
                   9055:    # Note that $ac_compile itself does not contain backslashes and begins
                   9056:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9057:    lt_compile=`echo "$ac_compile" | $SED \
                   9058:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9059:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9060:    -e 's:$: $lt_compiler_flag:'`
                   9061:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9062:    (eval "$lt_compile" 2>out/conftest.err)
                   9063:    ac_status=$?
                   9064:    cat out/conftest.err >&5
                   9065:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9066:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9067:    then
                   9068:      # The compiler can only warn and ignore the option if not recognized
                   9069:      # So say no if there are warnings
                   9070:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9071:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9072:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9073:        lt_cv_prog_compiler_c_o=yes
                   9074:      fi
                   9075:    fi
                   9076:    chmod u+w . 2>&5
                   9077:    $RM conftest*
                   9078:    # SGI C++ compiler will create directory out/ii_files/ for
                   9079:    # template instantiation
                   9080:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9081:    $RM out/* && rmdir out
                   9082:    cd ..
                   9083:    $RM -r conftest
                   9084:    $RM conftest*
                   9085: 
                   9086: fi
                   9087: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9088: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   9089: 
                   9090: 
                   9091: 
                   9092: 
1.1.1.4 ! misho    9093: hard_links=nottested
        !          9094: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
1.1.1.2   misho    9095:   # do not overwrite the value of need_locks provided by the user
                   9096:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   9097: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   9098:   hard_links=yes
                   9099:   $RM conftest*
                   9100:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9101:   touch conftest.a
                   9102:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9103:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9104:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   9105: $as_echo "$hard_links" >&6; }
1.1.1.4 ! misho    9106:   if test no = "$hard_links"; then
        !          9107:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
        !          9108: $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1.1.1.2   misho    9109:     need_locks=warn
                   9110:   fi
                   9111: else
                   9112:   need_locks=no
                   9113: fi
                   9114: 
                   9115: 
                   9116: 
                   9117: 
                   9118: 
                   9119: 
                   9120:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9121: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   9122: 
                   9123:   runpath_var=
                   9124:   allow_undefined_flag=
                   9125:   always_export_symbols=no
                   9126:   archive_cmds=
                   9127:   archive_expsym_cmds=
                   9128:   compiler_needs_object=no
                   9129:   enable_shared_with_static_runtimes=no
                   9130:   export_dynamic_flag_spec=
                   9131:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9132:   hardcode_automatic=no
                   9133:   hardcode_direct=no
                   9134:   hardcode_direct_absolute=no
                   9135:   hardcode_libdir_flag_spec=
                   9136:   hardcode_libdir_separator=
                   9137:   hardcode_minus_L=no
                   9138:   hardcode_shlibpath_var=unsupported
                   9139:   inherit_rpath=no
                   9140:   link_all_deplibs=unknown
                   9141:   module_cmds=
                   9142:   module_expsym_cmds=
                   9143:   old_archive_from_new_cmds=
                   9144:   old_archive_from_expsyms_cmds=
                   9145:   thread_safe_flag_spec=
                   9146:   whole_archive_flag_spec=
                   9147:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9148:   # included in the symbol list
                   9149:   include_expsyms=
                   9150:   # exclude_expsyms can be an extended regexp of symbols to exclude
1.1.1.4 ! misho    9151:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
        !          9152:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
        !          9153:   # as well as any symbol that contains 'd'.
1.1.1.2   misho    9154:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9155:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9156:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9157:   # the symbol is explicitly referenced.  Since portable code cannot
                   9158:   # rely on this symbol name, it's probably fine to never include it in
                   9159:   # preloaded symbol tables.
                   9160:   # Exclude shared library initialization/finalization symbols.
                   9161:   extract_expsyms_cmds=
                   9162: 
                   9163:   case $host_os in
                   9164:   cygwin* | mingw* | pw32* | cegcc*)
                   9165:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9166:     # When not using gcc, we currently assume that we are using
                   9167:     # Microsoft Visual C++.
1.1.1.4 ! misho    9168:     if test yes != "$GCC"; then
1.1.1.2   misho    9169:       with_gnu_ld=no
                   9170:     fi
                   9171:     ;;
                   9172:   interix*)
                   9173:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9174:     with_gnu_ld=yes
                   9175:     ;;
1.1.1.4 ! misho    9176:   openbsd* | bitrig*)
1.1.1.2   misho    9177:     with_gnu_ld=no
                   9178:     ;;
                   9179:   linux* | k*bsd*-gnu | gnu*)
                   9180:     link_all_deplibs=no
                   9181:     ;;
                   9182:   esac
                   9183: 
                   9184:   ld_shlibs=yes
                   9185: 
                   9186:   # On some targets, GNU ld is compatible enough with the native linker
                   9187:   # that we're better off using the native interface for both.
                   9188:   lt_use_gnu_ld_interface=no
1.1.1.4 ! misho    9189:   if test yes = "$with_gnu_ld"; then
1.1.1.2   misho    9190:     case $host_os in
                   9191:       aix*)
                   9192:        # The AIX port of GNU ld has always aspired to compatibility
                   9193:        # with the native linker.  However, as the warning in the GNU ld
                   9194:        # block says, versions before 2.19.5* couldn't really create working
                   9195:        # shared libraries, regardless of the interface used.
                   9196:        case `$LD -v 2>&1` in
                   9197:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9198:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9199:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9200:          *)
                   9201:            lt_use_gnu_ld_interface=yes
                   9202:            ;;
                   9203:        esac
                   9204:        ;;
                   9205:       *)
                   9206:        lt_use_gnu_ld_interface=yes
                   9207:        ;;
                   9208:     esac
                   9209:   fi
                   9210: 
1.1.1.4 ! misho    9211:   if test yes = "$lt_use_gnu_ld_interface"; then
1.1.1.2   misho    9212:     # If archive_cmds runs LD, not CC, wlarc should be empty
1.1.1.4 ! misho    9213:     wlarc='$wl'
1.1.1.2   misho    9214: 
                   9215:     # Set some defaults for GNU ld with shared library support. These
                   9216:     # are reset later if shared libraries are not supported. Putting them
                   9217:     # here allows them to be overridden if necessary.
                   9218:     runpath_var=LD_RUN_PATH
1.1.1.4 ! misho    9219:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          9220:     export_dynamic_flag_spec='$wl--export-dynamic'
1.1.1.2   misho    9221:     # ancient GNU ld didn't support --whole-archive et. al.
                   9222:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
1.1.1.4 ! misho    9223:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.1.1.2   misho    9224:     else
                   9225:       whole_archive_flag_spec=
                   9226:     fi
                   9227:     supports_anon_versioning=no
1.1.1.4 ! misho    9228:     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
1.1.1.2   misho    9229:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   9230:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9231:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9232:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9233:       *\ 2.11.*) ;; # other 2.11 versions
                   9234:       *) supports_anon_versioning=yes ;;
                   9235:     esac
                   9236: 
                   9237:     # See if GNU ld supports shared libraries.
                   9238:     case $host_os in
                   9239:     aix[3-9]*)
                   9240:       # On AIX/PPC, the GNU linker is very broken
1.1.1.4 ! misho    9241:       if test ia64 != "$host_cpu"; then
1.1.1.2   misho    9242:        ld_shlibs=no
                   9243:        cat <<_LT_EOF 1>&2
                   9244: 
                   9245: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   9246: *** to be unable to reliably create shared libraries on AIX.
                   9247: *** Therefore, libtool is disabling shared libraries support.  If you
                   9248: *** really care for shared libraries, you may want to install binutils
                   9249: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   9250: *** You will then need to restart the configuration process.
                   9251: 
                   9252: _LT_EOF
                   9253:       fi
                   9254:       ;;
                   9255: 
                   9256:     amigaos*)
                   9257:       case $host_cpu in
                   9258:       powerpc)
                   9259:             # see comment about AmigaOS4 .so support
1.1.1.4 ! misho    9260:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.1.1.2   misho    9261:             archive_expsym_cmds=''
                   9262:         ;;
                   9263:       m68k)
                   9264:             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)'
                   9265:             hardcode_libdir_flag_spec='-L$libdir'
                   9266:             hardcode_minus_L=yes
                   9267:         ;;
                   9268:       esac
                   9269:       ;;
                   9270: 
                   9271:     beos*)
                   9272:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9273:        allow_undefined_flag=unsupported
                   9274:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9275:        # support --undefined.  This deserves some investigation.  FIXME
1.1.1.4 ! misho    9276:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.1.1.2   misho    9277:       else
                   9278:        ld_shlibs=no
                   9279:       fi
                   9280:       ;;
                   9281: 
                   9282:     cygwin* | mingw* | pw32* | cegcc*)
                   9283:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9284:       # as there is no search path for DLLs.
                   9285:       hardcode_libdir_flag_spec='-L$libdir'
1.1.1.4 ! misho    9286:       export_dynamic_flag_spec='$wl--export-all-symbols'
1.1.1.2   misho    9287:       allow_undefined_flag=unsupported
                   9288:       always_export_symbols=no
                   9289:       enable_shared_with_static_runtimes=yes
                   9290:       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'
                   9291:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   9292: 
                   9293:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.1.1.4 ! misho    9294:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
        !          9295:        # If the export-symbols file already is a .def file, use it as
        !          9296:        # is; otherwise, prepend EXPORTS...
        !          9297:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
        !          9298:           cp $export_symbols $output_objdir/$soname.def;
        !          9299:         else
        !          9300:           echo EXPORTS > $output_objdir/$soname.def;
        !          9301:           cat $export_symbols >> $output_objdir/$soname.def;
        !          9302:         fi~
        !          9303:         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1.1.1.2   misho    9304:       else
                   9305:        ld_shlibs=no
                   9306:       fi
                   9307:       ;;
                   9308: 
                   9309:     haiku*)
1.1.1.4 ! misho    9310:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.1.1.2   misho    9311:       link_all_deplibs=yes
                   9312:       ;;
                   9313: 
1.1.1.4 ! misho    9314:     os2*)
        !          9315:       hardcode_libdir_flag_spec='-L$libdir'
        !          9316:       hardcode_minus_L=yes
        !          9317:       allow_undefined_flag=unsupported
        !          9318:       shrext_cmds=.dll
        !          9319:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          9320:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          9321:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          9322:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          9323:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
        !          9324:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          9325:        emximp -o $lib $output_objdir/$libname.def'
        !          9326:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          9327:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          9328:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          9329:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          9330:        prefix_cmds="$SED"~
        !          9331:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
        !          9332:          prefix_cmds="$prefix_cmds -e 1d";
        !          9333:        fi~
        !          9334:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
        !          9335:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
        !          9336:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          9337:        emximp -o $lib $output_objdir/$libname.def'
        !          9338:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
        !          9339:       enable_shared_with_static_runtimes=yes
        !          9340:       ;;
        !          9341: 
1.1.1.2   misho    9342:     interix[3-9]*)
                   9343:       hardcode_direct=no
                   9344:       hardcode_shlibpath_var=no
1.1.1.4 ! misho    9345:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
        !          9346:       export_dynamic_flag_spec='$wl-E'
1.1.1.2   misho    9347:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9348:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9349:       # default) and relocated if they conflict, which is a slow very memory
                   9350:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9351:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9352:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
1.1.1.4 ! misho    9353:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
        !          9354:       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'
1.1.1.2   misho    9355:       ;;
                   9356: 
                   9357:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   9358:       tmp_diet=no
1.1.1.4 ! misho    9359:       if test linux-dietlibc = "$host_os"; then
1.1.1.2   misho    9360:        case $cc_basename in
                   9361:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9362:        esac
                   9363:       fi
                   9364:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
1.1.1.4 ! misho    9365:         && test no = "$tmp_diet"
1.1.1.2   misho    9366:       then
                   9367:        tmp_addflag=' $pic_flag'
                   9368:        tmp_sharedflag='-shared'
                   9369:        case $cc_basename,$host_cpu in
                   9370:         pgcc*)                         # Portland Group C compiler
1.1.1.4 ! misho    9371:          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'
1.1.1.2   misho    9372:          tmp_addflag=' $pic_flag'
                   9373:          ;;
                   9374:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   9375:                                        # Portland Group f77 and f90 compilers
1.1.1.4 ! misho    9376:          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'
1.1.1.2   misho    9377:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9378:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9379:          tmp_addflag=' -i_dynamic' ;;
                   9380:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9381:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9382:        ifc* | ifort*)                  # Intel Fortran compiler
                   9383:          tmp_addflag=' -nofor_main' ;;
                   9384:        lf95*)                          # Lahey Fortran 8.1
                   9385:          whole_archive_flag_spec=
                   9386:          tmp_sharedflag='--shared' ;;
1.1.1.4 ! misho    9387:         nagfor*)                        # NAGFOR 5.3
        !          9388:           tmp_sharedflag='-Wl,-shared' ;;
1.1.1.2   misho    9389:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   9390:          tmp_sharedflag='-qmkshrobj'
                   9391:          tmp_addflag= ;;
                   9392:        nvcc*)  # Cuda Compiler Driver 2.2
1.1.1.4 ! misho    9393:          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'
1.1.1.2   misho    9394:          compiler_needs_object=yes
                   9395:          ;;
                   9396:        esac
                   9397:        case `$CC -V 2>&1 | sed 5q` in
                   9398:        *Sun\ C*)                       # Sun C 5.9
1.1.1.4 ! misho    9399:          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'
1.1.1.2   misho    9400:          compiler_needs_object=yes
                   9401:          tmp_sharedflag='-G' ;;
                   9402:        *Sun\ F*)                       # Sun Fortran 8.3
                   9403:          tmp_sharedflag='-G' ;;
                   9404:        esac
1.1.1.4 ! misho    9405:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.1.1.2   misho    9406: 
1.1.1.4 ! misho    9407:         if test yes = "$supports_anon_versioning"; then
1.1.1.2   misho    9408:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.1.1.4 ! misho    9409:             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
        !          9410:             echo "local: *; };" >> $output_objdir/$libname.ver~
        !          9411:             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
1.1.1.2   misho    9412:         fi
                   9413: 
                   9414:        case $cc_basename in
1.1.1.4 ! misho    9415:        tcc*)
        !          9416:          export_dynamic_flag_spec='-rdynamic'
        !          9417:          ;;
1.1.1.2   misho    9418:        xlf* | bgf* | bgxlf* | mpixlf*)
                   9419:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9420:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1.1.1.4 ! misho    9421:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.1.1.2   misho    9422:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
1.1.1.4 ! misho    9423:          if test yes = "$supports_anon_versioning"; then
1.1.1.2   misho    9424:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.1.1.4 ! misho    9425:               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
        !          9426:               echo "local: *; };" >> $output_objdir/$libname.ver~
        !          9427:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
1.1.1.2   misho    9428:          fi
                   9429:          ;;
                   9430:        esac
                   9431:       else
                   9432:         ld_shlibs=no
                   9433:       fi
                   9434:       ;;
                   9435: 
                   9436:     netbsd* | netbsdelf*-gnu)
                   9437:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9438:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9439:        wlarc=
                   9440:       else
1.1.1.4 ! misho    9441:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9442:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.1.1.2   misho    9443:       fi
                   9444:       ;;
                   9445: 
                   9446:     solaris*)
                   9447:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9448:        ld_shlibs=no
                   9449:        cat <<_LT_EOF 1>&2
                   9450: 
                   9451: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9452: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9453: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9454: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9455: *** your PATH or compiler configuration so that the native linker is
                   9456: *** used, and then restart.
                   9457: 
                   9458: _LT_EOF
                   9459:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1.4 ! misho    9460:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9461:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.1.1.2   misho    9462:       else
                   9463:        ld_shlibs=no
                   9464:       fi
                   9465:       ;;
                   9466: 
                   9467:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9468:       case `$LD -v 2>&1` in
                   9469:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9470:        ld_shlibs=no
                   9471:        cat <<_LT_EOF 1>&2
                   9472: 
1.1.1.4 ! misho    9473: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
1.1.1.2   misho    9474: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9475: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9476: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9477: *** your PATH or compiler configuration so that the native linker is
                   9478: *** used, and then restart.
                   9479: 
                   9480: _LT_EOF
                   9481:        ;;
                   9482:        *)
                   9483:          # For security reasons, it is highly recommended that you always
                   9484:          # use absolute paths for naming shared libraries, and exclude the
                   9485:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9486:          # requires that you compile everything twice, which is a pain.
                   9487:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1.4 ! misho    9488:            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
        !          9489:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9490:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.1.1.2   misho    9491:          else
                   9492:            ld_shlibs=no
                   9493:          fi
                   9494:        ;;
                   9495:       esac
                   9496:       ;;
                   9497: 
                   9498:     sunos4*)
                   9499:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9500:       wlarc=
                   9501:       hardcode_direct=yes
                   9502:       hardcode_shlibpath_var=no
                   9503:       ;;
                   9504: 
                   9505:     *)
                   9506:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1.4 ! misho    9507:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
        !          9508:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.1.1.2   misho    9509:       else
                   9510:        ld_shlibs=no
                   9511:       fi
                   9512:       ;;
                   9513:     esac
                   9514: 
1.1.1.4 ! misho    9515:     if test no = "$ld_shlibs"; then
1.1.1.2   misho    9516:       runpath_var=
                   9517:       hardcode_libdir_flag_spec=
                   9518:       export_dynamic_flag_spec=
                   9519:       whole_archive_flag_spec=
                   9520:     fi
                   9521:   else
                   9522:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9523:     case $host_os in
                   9524:     aix3*)
                   9525:       allow_undefined_flag=unsupported
                   9526:       always_export_symbols=yes
                   9527:       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'
                   9528:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9529:       # are no directories specified by -L.
                   9530:       hardcode_minus_L=yes
1.1.1.4 ! misho    9531:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
1.1.1.2   misho    9532:        # Neither direct hardcoding nor static linking is supported with a
                   9533:        # broken collect2.
                   9534:        hardcode_direct=unsupported
                   9535:       fi
                   9536:       ;;
                   9537: 
                   9538:     aix[4-9]*)
1.1.1.4 ! misho    9539:       if test ia64 = "$host_cpu"; then
1.1.1.2   misho    9540:        # On IA64, the linker does run time linking by default, so we don't
                   9541:        # have to do anything special.
                   9542:        aix_use_runtimelinking=no
                   9543:        exp_sym_flag='-Bexport'
1.1.1.4 ! misho    9544:        no_entry_flag=
1.1.1.2   misho    9545:       else
                   9546:        # If we're using GNU nm, then we don't want the "-C" option.
1.1.1.4 ! misho    9547:        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
        !          9548:        # Without the "-l" option, or with the "-B" option, AIX nm treats
        !          9549:        # weak defined symbols like other global defined symbols, whereas
        !          9550:        # GNU nm marks them as "W".
        !          9551:        # While the 'weak' keyword is ignored in the Export File, we need
        !          9552:        # it in the Import File for the 'aix-soname' feature, so we have
        !          9553:        # to replace the "-B" option with "-P" for AIX nm.
1.1.1.2   misho    9554:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.1.1.4 ! misho    9555:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
1.1.1.2   misho    9556:        else
1.1.1.4 ! misho    9557:          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
1.1.1.2   misho    9558:        fi
                   9559:        aix_use_runtimelinking=no
                   9560: 
                   9561:        # Test if we are trying to use run time linking or normal
                   9562:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.1.1.4 ! misho    9563:        # have runtime linking enabled, and use it for executables.
        !          9564:        # For shared libraries, we enable/disable runtime linking
        !          9565:        # depending on the kind of the shared library created -
        !          9566:        # when "with_aix_soname,aix_use_runtimelinking" is:
        !          9567:        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
        !          9568:        # "aix,yes"  lib.so          shared, rtl:yes, for executables
        !          9569:        #            lib.a           static archive
        !          9570:        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
        !          9571:        #            lib.a(lib.so.V) shared, rtl:no,  for executables
        !          9572:        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
        !          9573:        #            lib.a(lib.so.V) shared, rtl:no
        !          9574:        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
        !          9575:        #            lib.a           static archive
1.1.1.2   misho    9576:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9577:          for ld_flag in $LDFLAGS; do
1.1.1.4 ! misho    9578:          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
1.1.1.2   misho    9579:            aix_use_runtimelinking=yes
                   9580:            break
                   9581:          fi
                   9582:          done
1.1.1.4 ! misho    9583:          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
        !          9584:            # With aix-soname=svr4, we create the lib.so.V shared archives only,
        !          9585:            # so we don't have lib.a shared libs to link our executables.
        !          9586:            # We have to force runtime linking in this case.
        !          9587:            aix_use_runtimelinking=yes
        !          9588:            LDFLAGS="$LDFLAGS -Wl,-brtl"
        !          9589:          fi
1.1.1.2   misho    9590:          ;;
                   9591:        esac
                   9592: 
                   9593:        exp_sym_flag='-bexport'
                   9594:        no_entry_flag='-bnoentry'
                   9595:       fi
                   9596: 
                   9597:       # When large executables or shared objects are built, AIX ld can
                   9598:       # have problems creating the table of contents.  If linking a library
                   9599:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9600:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9601:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9602: 
                   9603:       archive_cmds=''
                   9604:       hardcode_direct=yes
                   9605:       hardcode_direct_absolute=yes
                   9606:       hardcode_libdir_separator=':'
                   9607:       link_all_deplibs=yes
1.1.1.4 ! misho    9608:       file_list_spec='$wl-f,'
        !          9609:       case $with_aix_soname,$aix_use_runtimelinking in
        !          9610:       aix,*) ;; # traditional, no import file
        !          9611:       svr4,* | *,yes) # use import file
        !          9612:        # The Import File defines what to hardcode.
        !          9613:        hardcode_direct=no
        !          9614:        hardcode_direct_absolute=no
        !          9615:        ;;
        !          9616:       esac
1.1.1.2   misho    9617: 
1.1.1.4 ! misho    9618:       if test yes = "$GCC"; then
1.1.1.2   misho    9619:        case $host_os in aix4.[012]|aix4.[012].*)
                   9620:        # We only want to do this on AIX 4.2 and lower, the check
                   9621:        # below for broken collect2 doesn't work under 4.3+
1.1.1.4 ! misho    9622:          collect2name=`$CC -print-prog-name=collect2`
1.1.1.2   misho    9623:          if test -f "$collect2name" &&
                   9624:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9625:          then
                   9626:          # We have reworked collect2
                   9627:          :
                   9628:          else
                   9629:          # We have old collect2
                   9630:          hardcode_direct=unsupported
                   9631:          # It fails to find uninstalled libraries when the uninstalled
                   9632:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9633:          # to unsupported forces relinking
                   9634:          hardcode_minus_L=yes
                   9635:          hardcode_libdir_flag_spec='-L$libdir'
                   9636:          hardcode_libdir_separator=
                   9637:          fi
                   9638:          ;;
                   9639:        esac
                   9640:        shared_flag='-shared'
1.1.1.4 ! misho    9641:        if test yes = "$aix_use_runtimelinking"; then
        !          9642:          shared_flag="$shared_flag "'$wl-G'
1.1.1.2   misho    9643:        fi
1.1.1.4 ! misho    9644:        # Need to ensure runtime linking is disabled for the traditional
        !          9645:        # shared library, or the linker may eventually find shared libraries
        !          9646:        # /with/ Import File - we do not want to mix them.
        !          9647:        shared_flag_aix='-shared'
        !          9648:        shared_flag_svr4='-shared $wl-G'
1.1.1.2   misho    9649:       else
                   9650:        # not using gcc
1.1.1.4 ! misho    9651:        if test ia64 = "$host_cpu"; then
1.1.1.2   misho    9652:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9653:        # chokes on -Wl,-G. The following line is correct:
                   9654:          shared_flag='-G'
                   9655:        else
1.1.1.4 ! misho    9656:          if test yes = "$aix_use_runtimelinking"; then
        !          9657:            shared_flag='$wl-G'
1.1.1.2   misho    9658:          else
1.1.1.4 ! misho    9659:            shared_flag='$wl-bM:SRE'
1.1.1.2   misho    9660:          fi
1.1.1.4 ! misho    9661:          shared_flag_aix='$wl-bM:SRE'
        !          9662:          shared_flag_svr4='$wl-G'
1.1.1.2   misho    9663:        fi
                   9664:       fi
                   9665: 
1.1.1.4 ! misho    9666:       export_dynamic_flag_spec='$wl-bexpall'
1.1.1.2   misho    9667:       # It seems that -bexpall does not export symbols beginning with
                   9668:       # underscore (_), so it is better to generate a list of symbols to export.
                   9669:       always_export_symbols=yes
1.1.1.4 ! misho    9670:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
1.1.1.2   misho    9671:        # Warning - without using the other runtime loading flags (-brtl),
                   9672:        # -berok will link without error, but may produce a broken library.
                   9673:        allow_undefined_flag='-berok'
                   9674:         # Determine the default libpath from the value encoded in an
                   9675:         # empty executable.
1.1.1.4 ! misho    9676:         if test set = "${lt_cv_aix_libpath+set}"; then
1.1.1.2   misho    9677:   aix_libpath=$lt_cv_aix_libpath
                   9678: else
                   9679:   if ${lt_cv_aix_libpath_+:} false; then :
                   9680:   $as_echo_n "(cached) " >&6
                   9681: else
                   9682:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9683: /* end confdefs.h.  */
                   9684: 
                   9685: int
                   9686: main ()
                   9687: {
                   9688: 
                   9689:   ;
                   9690:   return 0;
                   9691: }
                   9692: _ACEOF
                   9693: if ac_fn_c_try_link "$LINENO"; then :
                   9694: 
                   9695:   lt_aix_libpath_sed='
                   9696:       /Import File Strings/,/^$/ {
                   9697:          /^0/ {
                   9698:              s/^0  *\([^ ]*\) *$/\1/
                   9699:              p
                   9700:          }
                   9701:       }'
                   9702:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9703:   # Check for a 64-bit object if we didn't find anything.
                   9704:   if test -z "$lt_cv_aix_libpath_"; then
                   9705:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9706:   fi
                   9707: fi
                   9708: rm -f core conftest.err conftest.$ac_objext \
                   9709:     conftest$ac_exeext conftest.$ac_ext
                   9710:   if test -z "$lt_cv_aix_libpath_"; then
1.1.1.4 ! misho    9711:     lt_cv_aix_libpath_=/usr/lib:/lib
1.1.1.2   misho    9712:   fi
                   9713: 
                   9714: fi
                   9715: 
                   9716:   aix_libpath=$lt_cv_aix_libpath_
                   9717: fi
                   9718: 
1.1.1.4 ! misho    9719:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
        !          9720:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
1.1.1.2   misho    9721:       else
1.1.1.4 ! misho    9722:        if test ia64 = "$host_cpu"; then
        !          9723:          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
1.1.1.2   misho    9724:          allow_undefined_flag="-z nodefs"
1.1.1.4 ! misho    9725:          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"
1.1.1.2   misho    9726:        else
                   9727:         # Determine the default libpath from the value encoded in an
                   9728:         # empty executable.
1.1.1.4 ! misho    9729:         if test set = "${lt_cv_aix_libpath+set}"; then
1.1.1.2   misho    9730:   aix_libpath=$lt_cv_aix_libpath
                   9731: else
                   9732:   if ${lt_cv_aix_libpath_+:} false; then :
                   9733:   $as_echo_n "(cached) " >&6
                   9734: else
                   9735:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9736: /* end confdefs.h.  */
                   9737: 
                   9738: int
                   9739: main ()
                   9740: {
                   9741: 
                   9742:   ;
                   9743:   return 0;
                   9744: }
                   9745: _ACEOF
                   9746: if ac_fn_c_try_link "$LINENO"; then :
                   9747: 
                   9748:   lt_aix_libpath_sed='
                   9749:       /Import File Strings/,/^$/ {
                   9750:          /^0/ {
                   9751:              s/^0  *\([^ ]*\) *$/\1/
                   9752:              p
                   9753:          }
                   9754:       }'
                   9755:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9756:   # Check for a 64-bit object if we didn't find anything.
                   9757:   if test -z "$lt_cv_aix_libpath_"; then
                   9758:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9759:   fi
                   9760: fi
                   9761: rm -f core conftest.err conftest.$ac_objext \
                   9762:     conftest$ac_exeext conftest.$ac_ext
                   9763:   if test -z "$lt_cv_aix_libpath_"; then
1.1.1.4 ! misho    9764:     lt_cv_aix_libpath_=/usr/lib:/lib
1.1.1.2   misho    9765:   fi
                   9766: 
                   9767: fi
                   9768: 
                   9769:   aix_libpath=$lt_cv_aix_libpath_
                   9770: fi
                   9771: 
1.1.1.4 ! misho    9772:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
1.1.1.2   misho    9773:          # Warning - without using the other run time loading flags,
                   9774:          # -berok will link without error, but may produce a broken library.
1.1.1.4 ! misho    9775:          no_undefined_flag=' $wl-bernotok'
        !          9776:          allow_undefined_flag=' $wl-berok'
        !          9777:          if test yes = "$with_gnu_ld"; then
1.1.1.2   misho    9778:            # We only use this code for GNU lds that support --whole-archive.
1.1.1.4 ! misho    9779:            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
1.1.1.2   misho    9780:          else
                   9781:            # Exported symbols can be pulled into shared objects from archives
                   9782:            whole_archive_flag_spec='$convenience'
                   9783:          fi
                   9784:          archive_cmds_need_lc=yes
1.1.1.4 ! misho    9785:          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
        !          9786:          # -brtl affects multiple linker settings, -berok does not and is overridden later
        !          9787:          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
        !          9788:          if test svr4 != "$with_aix_soname"; then
        !          9789:            # This is similar to how AIX traditionally builds its shared libraries.
        !          9790:            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
        !          9791:          fi
        !          9792:          if test aix != "$with_aix_soname"; then
        !          9793:            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
        !          9794:          else
        !          9795:            # used by -dlpreopen to get the symbols
        !          9796:            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
        !          9797:          fi
        !          9798:          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
1.1.1.2   misho    9799:        fi
                   9800:       fi
                   9801:       ;;
                   9802: 
                   9803:     amigaos*)
                   9804:       case $host_cpu in
                   9805:       powerpc)
                   9806:             # see comment about AmigaOS4 .so support
1.1.1.4 ! misho    9807:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.1.1.2   misho    9808:             archive_expsym_cmds=''
                   9809:         ;;
                   9810:       m68k)
                   9811:             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)'
                   9812:             hardcode_libdir_flag_spec='-L$libdir'
                   9813:             hardcode_minus_L=yes
                   9814:         ;;
                   9815:       esac
                   9816:       ;;
                   9817: 
                   9818:     bsdi[45]*)
                   9819:       export_dynamic_flag_spec=-rdynamic
                   9820:       ;;
                   9821: 
                   9822:     cygwin* | mingw* | pw32* | cegcc*)
                   9823:       # When not using gcc, we currently assume that we are using
                   9824:       # Microsoft Visual C++.
                   9825:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9826:       # no search path for DLLs.
                   9827:       case $cc_basename in
                   9828:       cl*)
                   9829:        # Native MSVC
                   9830:        hardcode_libdir_flag_spec=' '
                   9831:        allow_undefined_flag=unsupported
                   9832:        always_export_symbols=yes
                   9833:        file_list_spec='@'
                   9834:        # Tell ltmain to make .lib files, not .a files.
                   9835:        libext=lib
                   9836:        # Tell ltmain to make .dll files, not .so files.
1.1.1.4 ! misho    9837:        shrext_cmds=.dll
1.1.1.2   misho    9838:        # FIXME: Setting linknames here is a bad hack.
1.1.1.4 ! misho    9839:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
        !          9840:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
        !          9841:             cp "$export_symbols" "$output_objdir/$soname.def";
        !          9842:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
        !          9843:           else
        !          9844:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
        !          9845:           fi~
        !          9846:           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
        !          9847:           linknames='
1.1.1.2   misho    9848:        # The linker will not automatically build a static lib if we build a DLL.
                   9849:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9850:        enable_shared_with_static_runtimes=yes
1.1.1.4 ! misho    9851:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
1.1.1.2   misho    9852:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9853:        # Don't use ranlib
                   9854:        old_postinstall_cmds='chmod 644 $oldlib'
                   9855:        postlink_cmds='lt_outputfile="@OUTPUT@"~
1.1.1.4 ! misho    9856:           lt_tool_outputfile="@TOOL_OUTPUT@"~
        !          9857:           case $lt_outputfile in
        !          9858:             *.exe|*.EXE) ;;
        !          9859:             *)
        !          9860:               lt_outputfile=$lt_outputfile.exe
        !          9861:               lt_tool_outputfile=$lt_tool_outputfile.exe
        !          9862:               ;;
        !          9863:           esac~
        !          9864:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
        !          9865:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
        !          9866:             $RM "$lt_outputfile.manifest";
        !          9867:           fi'
1.1.1.2   misho    9868:        ;;
                   9869:       *)
                   9870:        # Assume MSVC wrapper
                   9871:        hardcode_libdir_flag_spec=' '
                   9872:        allow_undefined_flag=unsupported
                   9873:        # Tell ltmain to make .lib files, not .a files.
                   9874:        libext=lib
                   9875:        # Tell ltmain to make .dll files, not .so files.
1.1.1.4 ! misho    9876:        shrext_cmds=.dll
1.1.1.2   misho    9877:        # FIXME: Setting linknames here is a bad hack.
                   9878:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9879:        # The linker will automatically build a .lib file if we build a DLL.
                   9880:        old_archive_from_new_cmds='true'
                   9881:        # FIXME: Should let the user specify the lib program.
                   9882:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9883:        enable_shared_with_static_runtimes=yes
                   9884:        ;;
                   9885:       esac
                   9886:       ;;
                   9887: 
                   9888:     darwin* | rhapsody*)
                   9889: 
                   9890: 
                   9891:   archive_cmds_need_lc=no
                   9892:   hardcode_direct=no
                   9893:   hardcode_automatic=yes
                   9894:   hardcode_shlibpath_var=unsupported
1.1.1.4 ! misho    9895:   if test yes = "$lt_cv_ld_force_load"; then
        !          9896:     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\"`'
        !          9897: 
1.1.1.2   misho    9898:   else
                   9899:     whole_archive_flag_spec=''
                   9900:   fi
                   9901:   link_all_deplibs=yes
1.1.1.4 ! misho    9902:   allow_undefined_flag=$_lt_dar_allow_undefined
1.1.1.2   misho    9903:   case $cc_basename in
1.1.1.4 ! misho    9904:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1.1.1.2   misho    9905:      *) _lt_dar_can_shared=$GCC ;;
                   9906:   esac
1.1.1.4 ! misho    9907:   if test yes = "$_lt_dar_can_shared"; then
1.1.1.2   misho    9908:     output_verbose_link_cmd=func_echo_all
1.1.1.4 ! misho    9909:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
        !          9910:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
        !          9911:     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"
        !          9912:     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"
1.1.1.2   misho    9913: 
                   9914:   else
                   9915:   ld_shlibs=no
                   9916:   fi
                   9917: 
                   9918:       ;;
                   9919: 
                   9920:     dgux*)
                   9921:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9922:       hardcode_libdir_flag_spec='-L$libdir'
                   9923:       hardcode_shlibpath_var=no
                   9924:       ;;
                   9925: 
                   9926:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9927:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9928:     # does not break anything, and helps significantly (at the cost of a little
                   9929:     # extra space).
                   9930:     freebsd2.2*)
                   9931:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9932:       hardcode_libdir_flag_spec='-R$libdir'
                   9933:       hardcode_direct=yes
                   9934:       hardcode_shlibpath_var=no
                   9935:       ;;
                   9936: 
                   9937:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.1.1.4 ! misho    9938:     freebsd2.*)
1.1.1.2   misho    9939:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9940:       hardcode_direct=yes
                   9941:       hardcode_minus_L=yes
                   9942:       hardcode_shlibpath_var=no
                   9943:       ;;
                   9944: 
                   9945:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9946:     freebsd* | dragonfly*)
                   9947:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9948:       hardcode_libdir_flag_spec='-R$libdir'
                   9949:       hardcode_direct=yes
                   9950:       hardcode_shlibpath_var=no
                   9951:       ;;
                   9952: 
                   9953:     hpux9*)
1.1.1.4 ! misho    9954:       if test yes = "$GCC"; then
        !          9955:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
1.1.1.2   misho    9956:       else
1.1.1.4 ! misho    9957:        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
1.1.1.2   misho    9958:       fi
1.1.1.4 ! misho    9959:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.1.1.2   misho    9960:       hardcode_libdir_separator=:
                   9961:       hardcode_direct=yes
                   9962: 
                   9963:       # hardcode_minus_L: Not really in the search PATH,
                   9964:       # but as the default location of the library.
                   9965:       hardcode_minus_L=yes
1.1.1.4 ! misho    9966:       export_dynamic_flag_spec='$wl-E'
1.1.1.2   misho    9967:       ;;
                   9968: 
                   9969:     hpux10*)
1.1.1.4 ! misho    9970:       if test yes,no = "$GCC,$with_gnu_ld"; then
        !          9971:        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    9972:       else
                   9973:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9974:       fi
1.1.1.4 ! misho    9975:       if test no = "$with_gnu_ld"; then
        !          9976:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.1.1.2   misho    9977:        hardcode_libdir_separator=:
                   9978:        hardcode_direct=yes
                   9979:        hardcode_direct_absolute=yes
1.1.1.4 ! misho    9980:        export_dynamic_flag_spec='$wl-E'
1.1.1.2   misho    9981:        # hardcode_minus_L: Not really in the search PATH,
                   9982:        # but as the default location of the library.
                   9983:        hardcode_minus_L=yes
                   9984:       fi
                   9985:       ;;
                   9986: 
                   9987:     hpux11*)
1.1.1.4 ! misho    9988:       if test yes,no = "$GCC,$with_gnu_ld"; then
1.1.1.2   misho    9989:        case $host_cpu in
                   9990:        hppa*64*)
1.1.1.4 ! misho    9991:          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    9992:          ;;
                   9993:        ia64*)
1.1.1.4 ! misho    9994:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    9995:          ;;
                   9996:        *)
1.1.1.4 ! misho    9997:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    9998:          ;;
                   9999:        esac
                   10000:       else
                   10001:        case $host_cpu in
                   10002:        hppa*64*)
1.1.1.4 ! misho    10003:          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    10004:          ;;
                   10005:        ia64*)
1.1.1.4 ! misho    10006:          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    10007:          ;;
                   10008:        *)
                   10009: 
                   10010:          # Older versions of the 11.00 compiler do not understand -b yet
                   10011:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   10012:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   10013: $as_echo_n "checking if $CC understands -b... " >&6; }
                   10014: if ${lt_cv_prog_compiler__b+:} false; then :
                   10015:   $as_echo_n "(cached) " >&6
                   10016: else
                   10017:   lt_cv_prog_compiler__b=no
1.1.1.4 ! misho    10018:    save_LDFLAGS=$LDFLAGS
1.1.1.2   misho    10019:    LDFLAGS="$LDFLAGS -b"
                   10020:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10021:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10022:      # The linker can only warn and ignore the option if not recognized
                   10023:      # So say no if there are warnings
                   10024:      if test -s conftest.err; then
                   10025:        # Append any errors to the config.log.
                   10026:        cat conftest.err 1>&5
                   10027:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10028:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10029:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10030:          lt_cv_prog_compiler__b=yes
                   10031:        fi
                   10032:      else
                   10033:        lt_cv_prog_compiler__b=yes
                   10034:      fi
                   10035:    fi
                   10036:    $RM -r conftest*
1.1.1.4 ! misho    10037:    LDFLAGS=$save_LDFLAGS
1.1.1.2   misho    10038: 
                   10039: fi
                   10040: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   10041: $as_echo "$lt_cv_prog_compiler__b" >&6; }
                   10042: 
1.1.1.4 ! misho    10043: if test yes = "$lt_cv_prog_compiler__b"; then
        !          10044:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    10045: else
                   10046:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10047: fi
                   10048: 
                   10049:          ;;
                   10050:        esac
                   10051:       fi
1.1.1.4 ! misho    10052:       if test no = "$with_gnu_ld"; then
        !          10053:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.1.1.2   misho    10054:        hardcode_libdir_separator=:
                   10055: 
                   10056:        case $host_cpu in
                   10057:        hppa*64*|ia64*)
                   10058:          hardcode_direct=no
                   10059:          hardcode_shlibpath_var=no
                   10060:          ;;
                   10061:        *)
                   10062:          hardcode_direct=yes
                   10063:          hardcode_direct_absolute=yes
1.1.1.4 ! misho    10064:          export_dynamic_flag_spec='$wl-E'
1.1.1.2   misho    10065: 
                   10066:          # hardcode_minus_L: Not really in the search PATH,
                   10067:          # but as the default location of the library.
                   10068:          hardcode_minus_L=yes
                   10069:          ;;
                   10070:        esac
                   10071:       fi
                   10072:       ;;
                   10073: 
                   10074:     irix5* | irix6* | nonstopux*)
1.1.1.4 ! misho    10075:       if test yes = "$GCC"; then
        !          10076:        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'
1.1.1.2   misho    10077:        # Try to use the -exported_symbol ld option, if it does not
                   10078:        # work, assume that -exports_file does not work either and
                   10079:        # implicitly export all symbols.
                   10080:        # This should be the same for all languages, so no per-tag cache variable.
                   10081:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10082: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   10083: if ${lt_cv_irix_exported_symbol+:} false; then :
                   10084:   $as_echo_n "(cached) " >&6
                   10085: else
1.1.1.4 ! misho    10086:   save_LDFLAGS=$LDFLAGS
        !          10087:           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
1.1.1.2   misho    10088:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10089: /* end confdefs.h.  */
                   10090: int foo (void) { return 0; }
                   10091: _ACEOF
                   10092: if ac_fn_c_try_link "$LINENO"; then :
                   10093:   lt_cv_irix_exported_symbol=yes
                   10094: else
                   10095:   lt_cv_irix_exported_symbol=no
                   10096: fi
                   10097: rm -f core conftest.err conftest.$ac_objext \
                   10098:     conftest$ac_exeext conftest.$ac_ext
1.1.1.4 ! misho    10099:            LDFLAGS=$save_LDFLAGS
1.1.1.2   misho    10100: fi
                   10101: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   10102: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.1.1.4 ! misho    10103:        if test yes = "$lt_cv_irix_exported_symbol"; then
        !          10104:           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'
1.1.1.2   misho    10105:        fi
1.1.1.4 ! misho    10106:        link_all_deplibs=no
1.1.1.2   misho    10107:       else
1.1.1.4 ! misho    10108:        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'
        !          10109:        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'
1.1.1.2   misho    10110:       fi
                   10111:       archive_cmds_need_lc='no'
1.1.1.4 ! misho    10112:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.1.1.2   misho    10113:       hardcode_libdir_separator=:
                   10114:       inherit_rpath=yes
                   10115:       link_all_deplibs=yes
                   10116:       ;;
                   10117: 
1.1.1.4 ! misho    10118:     linux*)
        !          10119:       case $cc_basename in
        !          10120:       tcc*)
        !          10121:        # Fabrice Bellard et al's Tiny C Compiler
        !          10122:        ld_shlibs=yes
        !          10123:        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          10124:        ;;
        !          10125:       esac
        !          10126:       ;;
        !          10127: 
1.1.1.2   misho    10128:     netbsd* | netbsdelf*-gnu)
                   10129:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10130:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10131:       else
                   10132:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10133:       fi
                   10134:       hardcode_libdir_flag_spec='-R$libdir'
                   10135:       hardcode_direct=yes
                   10136:       hardcode_shlibpath_var=no
                   10137:       ;;
                   10138: 
                   10139:     newsos6)
                   10140:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10141:       hardcode_direct=yes
1.1.1.4 ! misho    10142:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.1.1.2   misho    10143:       hardcode_libdir_separator=:
                   10144:       hardcode_shlibpath_var=no
                   10145:       ;;
                   10146: 
                   10147:     *nto* | *qnx*)
                   10148:       ;;
                   10149: 
1.1.1.4 ! misho    10150:     openbsd* | bitrig*)
1.1.1.2   misho    10151:       if test -f /usr/libexec/ld.so; then
                   10152:        hardcode_direct=yes
                   10153:        hardcode_shlibpath_var=no
                   10154:        hardcode_direct_absolute=yes
1.1.1.4 ! misho    10155:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.1.1.2   misho    10156:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.4 ! misho    10157:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
        !          10158:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
        !          10159:          export_dynamic_flag_spec='$wl-E'
1.1.1.2   misho    10160:        else
1.1.1.4 ! misho    10161:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        !          10162:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
1.1.1.2   misho    10163:        fi
                   10164:       else
                   10165:        ld_shlibs=no
                   10166:       fi
                   10167:       ;;
                   10168: 
                   10169:     os2*)
                   10170:       hardcode_libdir_flag_spec='-L$libdir'
                   10171:       hardcode_minus_L=yes
                   10172:       allow_undefined_flag=unsupported
1.1.1.4 ! misho    10173:       shrext_cmds=.dll
        !          10174:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          10175:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          10176:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          10177:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          10178:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
        !          10179:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          10180:        emximp -o $lib $output_objdir/$libname.def'
        !          10181:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
        !          10182:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
        !          10183:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
        !          10184:        $ECHO EXPORTS >> $output_objdir/$libname.def~
        !          10185:        prefix_cmds="$SED"~
        !          10186:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
        !          10187:          prefix_cmds="$prefix_cmds -e 1d";
        !          10188:        fi~
        !          10189:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
        !          10190:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
        !          10191:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
        !          10192:        emximp -o $lib $output_objdir/$libname.def'
        !          10193:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
        !          10194:       enable_shared_with_static_runtimes=yes
1.1.1.2   misho    10195:       ;;
                   10196: 
                   10197:     osf3*)
1.1.1.4 ! misho    10198:       if test yes = "$GCC"; then
        !          10199:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
        !          10200:        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'
1.1.1.2   misho    10201:       else
                   10202:        allow_undefined_flag=' -expect_unresolved \*'
1.1.1.4 ! misho    10203:        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'
1.1.1.2   misho    10204:       fi
                   10205:       archive_cmds_need_lc='no'
1.1.1.4 ! misho    10206:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.1.1.2   misho    10207:       hardcode_libdir_separator=:
                   10208:       ;;
                   10209: 
                   10210:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
1.1.1.4 ! misho    10211:       if test yes = "$GCC"; then
        !          10212:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
        !          10213:        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'
        !          10214:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.1.1.2   misho    10215:       else
                   10216:        allow_undefined_flag=' -expect_unresolved \*'
1.1.1.4 ! misho    10217:        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'
1.1.1.2   misho    10218:        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~
1.1.1.4 ! misho    10219:           $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'
1.1.1.2   misho    10220: 
                   10221:        # Both c and cxx compiler support -rpath directly
                   10222:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10223:       fi
                   10224:       archive_cmds_need_lc='no'
                   10225:       hardcode_libdir_separator=:
                   10226:       ;;
                   10227: 
                   10228:     solaris*)
                   10229:       no_undefined_flag=' -z defs'
1.1.1.4 ! misho    10230:       if test yes = "$GCC"; then
        !          10231:        wlarc='$wl'
        !          10232:        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    10233:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.1.1.4 ! misho    10234:           $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'
1.1.1.2   misho    10235:       else
                   10236:        case `$CC -V 2>&1` in
                   10237:        *"Compilers 5.0"*)
                   10238:          wlarc=''
1.1.1.4 ! misho    10239:          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.1.1.2   misho    10240:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.1.1.4 ! misho    10241:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
1.1.1.2   misho    10242:          ;;
                   10243:        *)
1.1.1.4 ! misho    10244:          wlarc='$wl'
        !          10245:          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    10246:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.1.1.4 ! misho    10247:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
1.1.1.2   misho    10248:          ;;
                   10249:        esac
                   10250:       fi
                   10251:       hardcode_libdir_flag_spec='-R$libdir'
                   10252:       hardcode_shlibpath_var=no
                   10253:       case $host_os in
                   10254:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10255:       *)
                   10256:        # The compiler driver will combine and reorder linker options,
1.1.1.4 ! misho    10257:        # but understands '-z linker_flag'.  GCC discards it without '$wl',
1.1.1.2   misho    10258:        # but is careful enough not to reorder.
                   10259:        # Supported since Solaris 2.6 (maybe 2.5.1?)
1.1.1.4 ! misho    10260:        if test yes = "$GCC"; then
        !          10261:          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
1.1.1.2   misho    10262:        else
                   10263:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10264:        fi
                   10265:        ;;
                   10266:       esac
                   10267:       link_all_deplibs=yes
                   10268:       ;;
                   10269: 
                   10270:     sunos4*)
1.1.1.4 ! misho    10271:       if test sequent = "$host_vendor"; then
1.1.1.2   misho    10272:        # Use $CC to link under sequent, because it throws in some extra .o
                   10273:        # files that make .init and .fini sections work.
1.1.1.4 ! misho    10274:        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    10275:       else
                   10276:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10277:       fi
                   10278:       hardcode_libdir_flag_spec='-L$libdir'
                   10279:       hardcode_direct=yes
                   10280:       hardcode_minus_L=yes
                   10281:       hardcode_shlibpath_var=no
                   10282:       ;;
                   10283: 
                   10284:     sysv4)
                   10285:       case $host_vendor in
                   10286:        sni)
                   10287:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10288:          hardcode_direct=yes # is this really true???
                   10289:        ;;
                   10290:        siemens)
                   10291:          ## LD is ld it makes a PLAMLIB
                   10292:          ## CC just makes a GrossModule.
                   10293:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10294:          reload_cmds='$CC -r -o $output$reload_objs'
                   10295:          hardcode_direct=no
                   10296:         ;;
                   10297:        motorola)
                   10298:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10299:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10300:        ;;
                   10301:       esac
                   10302:       runpath_var='LD_RUN_PATH'
                   10303:       hardcode_shlibpath_var=no
                   10304:       ;;
                   10305: 
                   10306:     sysv4.3*)
                   10307:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10308:       hardcode_shlibpath_var=no
                   10309:       export_dynamic_flag_spec='-Bexport'
                   10310:       ;;
                   10311: 
                   10312:     sysv4*MP*)
                   10313:       if test -d /usr/nec; then
                   10314:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10315:        hardcode_shlibpath_var=no
                   10316:        runpath_var=LD_RUN_PATH
                   10317:        hardcode_runpath_var=yes
                   10318:        ld_shlibs=yes
                   10319:       fi
                   10320:       ;;
                   10321: 
                   10322:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.1.1.4 ! misho    10323:       no_undefined_flag='$wl-z,text'
1.1.1.2   misho    10324:       archive_cmds_need_lc=no
                   10325:       hardcode_shlibpath_var=no
                   10326:       runpath_var='LD_RUN_PATH'
                   10327: 
1.1.1.4 ! misho    10328:       if test yes = "$GCC"; then
        !          10329:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10330:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    10331:       else
1.1.1.4 ! misho    10332:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10333:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    10334:       fi
                   10335:       ;;
                   10336: 
                   10337:     sysv5* | sco3.2v5* | sco5v6*)
1.1.1.4 ! misho    10338:       # Note: We CANNOT use -z defs as we might desire, because we do not
1.1.1.2   misho    10339:       # link with -lc, and that would cause any symbols used from libc to
                   10340:       # always be unresolved, which means just about no library would
                   10341:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10342:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10343:       # as -z defs.
1.1.1.4 ! misho    10344:       no_undefined_flag='$wl-z,text'
        !          10345:       allow_undefined_flag='$wl-z,nodefs'
1.1.1.2   misho    10346:       archive_cmds_need_lc=no
                   10347:       hardcode_shlibpath_var=no
1.1.1.4 ! misho    10348:       hardcode_libdir_flag_spec='$wl-R,$libdir'
1.1.1.2   misho    10349:       hardcode_libdir_separator=':'
                   10350:       link_all_deplibs=yes
1.1.1.4 ! misho    10351:       export_dynamic_flag_spec='$wl-Bexport'
1.1.1.2   misho    10352:       runpath_var='LD_RUN_PATH'
                   10353: 
1.1.1.4 ! misho    10354:       if test yes = "$GCC"; then
        !          10355:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10356:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    10357:       else
1.1.1.4 ! misho    10358:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
        !          10359:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.1.2   misho    10360:       fi
                   10361:       ;;
                   10362: 
                   10363:     uts4*)
                   10364:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10365:       hardcode_libdir_flag_spec='-L$libdir'
                   10366:       hardcode_shlibpath_var=no
                   10367:       ;;
                   10368: 
                   10369:     *)
                   10370:       ld_shlibs=no
                   10371:       ;;
                   10372:     esac
                   10373: 
1.1.1.4 ! misho    10374:     if test sni = "$host_vendor"; then
1.1.1.2   misho    10375:       case $host in
                   10376:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.1.1.4 ! misho    10377:        export_dynamic_flag_spec='$wl-Blargedynsym'
1.1.1.2   misho    10378:        ;;
                   10379:       esac
                   10380:     fi
                   10381:   fi
                   10382: 
                   10383: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   10384: $as_echo "$ld_shlibs" >&6; }
1.1.1.4 ! misho    10385: test no = "$ld_shlibs" && can_build_shared=no
1.1.1.2   misho    10386: 
                   10387: with_gnu_ld=$with_gnu_ld
                   10388: 
                   10389: 
                   10390: 
                   10391: 
                   10392: 
                   10393: 
                   10394: 
                   10395: 
                   10396: 
                   10397: 
                   10398: 
                   10399: 
                   10400: 
                   10401: 
                   10402: 
                   10403: #
                   10404: # Do we need to explicitly link libc?
                   10405: #
                   10406: case "x$archive_cmds_need_lc" in
                   10407: x|xyes)
                   10408:   # Assume -lc should be added
                   10409:   archive_cmds_need_lc=yes
                   10410: 
1.1.1.4 ! misho    10411:   if test yes,yes = "$GCC,$enable_shared"; then
1.1.1.2   misho    10412:     case $archive_cmds in
                   10413:     *'~'*)
                   10414:       # FIXME: we may have to deal with multi-command sequences.
                   10415:       ;;
                   10416:     '$CC '*)
                   10417:       # Test whether the compiler implicitly links with -lc since on some
                   10418:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10419:       # to ld, don't add -lc before -lgcc.
                   10420:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   10421: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   10422: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   10423:   $as_echo_n "(cached) " >&6
                   10424: else
                   10425:   $RM conftest*
                   10426:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10427: 
                   10428:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   10429:   (eval $ac_compile) 2>&5
                   10430:   ac_status=$?
                   10431:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10432:   test $ac_status = 0; } 2>conftest.err; then
                   10433:          soname=conftest
                   10434:          lib=conftest
                   10435:          libobjs=conftest.$ac_objext
                   10436:          deplibs=
                   10437:          wl=$lt_prog_compiler_wl
                   10438:          pic_flag=$lt_prog_compiler_pic
                   10439:          compiler_flags=-v
                   10440:          linker_flags=-v
                   10441:          verstring=
                   10442:          output_objdir=.
                   10443:          libname=conftest
                   10444:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   10445:          allow_undefined_flag=
                   10446:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   10447:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10448:   ac_status=$?
                   10449:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10450:   test $ac_status = 0; }
                   10451:          then
                   10452:            lt_cv_archive_cmds_need_lc=no
                   10453:          else
                   10454:            lt_cv_archive_cmds_need_lc=yes
                   10455:          fi
                   10456:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   10457:        else
                   10458:          cat conftest.err 1>&5
                   10459:        fi
                   10460:        $RM conftest*
                   10461: 
                   10462: fi
                   10463: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   10464: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
                   10465:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   10466:       ;;
                   10467:     esac
                   10468:   fi
                   10469:   ;;
                   10470: esac
                   10471: 
                   10472: 
                   10473: 
                   10474: 
                   10475: 
                   10476: 
                   10477: 
                   10478: 
                   10479: 
                   10480: 
                   10481: 
                   10482: 
                   10483: 
                   10484: 
                   10485: 
                   10486: 
                   10487: 
                   10488: 
                   10489: 
                   10490: 
                   10491: 
                   10492: 
                   10493: 
                   10494: 
                   10495: 
                   10496: 
                   10497: 
                   10498: 
                   10499: 
                   10500: 
                   10501: 
                   10502: 
                   10503: 
                   10504: 
                   10505: 
                   10506: 
                   10507: 
                   10508: 
                   10509: 
                   10510: 
                   10511: 
                   10512: 
                   10513: 
                   10514: 
                   10515: 
                   10516: 
                   10517: 
                   10518: 
                   10519: 
                   10520: 
                   10521: 
                   10522: 
                   10523: 
                   10524: 
                   10525: 
                   10526: 
                   10527: 
                   10528: 
                   10529: 
                   10530: 
                   10531: 
                   10532: 
                   10533: 
                   10534: 
                   10535: 
                   10536: 
                   10537: 
                   10538: 
                   10539: 
                   10540: 
                   10541: 
                   10542: 
                   10543: 
                   10544: 
                   10545: 
                   10546: 
                   10547: 
                   10548: 
                   10549: 
                   10550: 
                   10551: 
                   10552: 
                   10553: 
                   10554: 
                   10555: 
                   10556: 
                   10557: 
                   10558: 
                   10559: 
                   10560: 
                   10561: 
                   10562: 
                   10563: 
                   10564: 
                   10565: 
                   10566: 
                   10567: 
                   10568: 
                   10569: 
                   10570: 
                   10571: 
                   10572: 
                   10573: 
                   10574: 
                   10575: 
                   10576: 
                   10577: 
                   10578: 
                   10579: 
                   10580: 
                   10581: 
                   10582: 
                   10583: 
                   10584: 
                   10585: 
                   10586: 
                   10587: 
                   10588: 
                   10589: 
                   10590: 
                   10591: 
                   10592: 
                   10593: 
                   10594: 
                   10595: 
                   10596: 
                   10597: 
                   10598: 
                   10599: 
                   10600: 
                   10601: 
                   10602: 
                   10603: 
                   10604: 
                   10605: 
                   10606: 
                   10607: 
                   10608: 
                   10609: 
                   10610: 
                   10611: 
                   10612: 
                   10613: 
                   10614: 
                   10615: 
                   10616: 
                   10617: 
                   10618: 
                   10619: 
                   10620: 
                   10621: 
                   10622: 
                   10623:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   10624: $as_echo_n "checking dynamic linker characteristics... " >&6; }
                   10625: 
1.1.1.4 ! misho    10626: if test yes = "$GCC"; then
1.1.1.2   misho    10627:   case $host_os in
1.1.1.4 ! misho    10628:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
        !          10629:     *) lt_awk_arg='/^libraries:/' ;;
1.1.1.2   misho    10630:   esac
                   10631:   case $host_os in
1.1.1.4 ! misho    10632:     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
        !          10633:     *) lt_sed_strip_eq='s|=/|/|g' ;;
1.1.1.2   misho    10634:   esac
                   10635:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10636:   case $lt_search_path_spec in
                   10637:   *\;*)
                   10638:     # if the path contains ";" then we assume it to be the separator
                   10639:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10640:     # assumed that no part of a normal pathname contains ";" but that should
                   10641:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10642:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   10643:     ;;
                   10644:   *)
                   10645:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   10646:     ;;
                   10647:   esac
                   10648:   # Ok, now we have the path, separated by spaces, we can step through it
1.1.1.4 ! misho    10649:   # and add multilib dir if necessary...
1.1.1.2   misho    10650:   lt_tmp_lt_search_path_spec=
1.1.1.4 ! misho    10651:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
        !          10652:   # ...but if some path component already ends with the multilib dir we assume
        !          10653:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
        !          10654:   case "$lt_multi_os_dir; $lt_search_path_spec " in
        !          10655:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
        !          10656:     lt_multi_os_dir=
        !          10657:     ;;
        !          10658:   esac
1.1.1.2   misho    10659:   for lt_sys_path in $lt_search_path_spec; do
1.1.1.4 ! misho    10660:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
        !          10661:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
        !          10662:     elif test -n "$lt_multi_os_dir"; then
1.1.1.2   misho    10663:       test -d "$lt_sys_path" && \
                   10664:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10665:     fi
                   10666:   done
                   10667:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1.1.1.4 ! misho    10668: BEGIN {RS = " "; FS = "/|\n";} {
        !          10669:   lt_foo = "";
        !          10670:   lt_count = 0;
1.1.1.2   misho    10671:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10672:     if ($lt_i != "" && $lt_i != ".") {
                   10673:       if ($lt_i == "..") {
                   10674:         lt_count++;
                   10675:       } else {
                   10676:         if (lt_count == 0) {
1.1.1.4 ! misho    10677:           lt_foo = "/" $lt_i lt_foo;
1.1.1.2   misho    10678:         } else {
                   10679:           lt_count--;
                   10680:         }
                   10681:       }
                   10682:     }
                   10683:   }
                   10684:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10685:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10686: }'`
                   10687:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10688:   # for these hosts.
                   10689:   case $host_os in
                   10690:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
1.1.1.4 ! misho    10691:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
1.1.1.2   misho    10692:   esac
                   10693:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   10694: else
                   10695:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   10696: fi
                   10697: library_names_spec=
                   10698: libname_spec='lib$name'
                   10699: soname_spec=
1.1.1.4 ! misho    10700: shrext_cmds=.so
1.1.1.2   misho    10701: postinstall_cmds=
                   10702: postuninstall_cmds=
                   10703: finish_cmds=
                   10704: finish_eval=
                   10705: shlibpath_var=
                   10706: shlibpath_overrides_runpath=unknown
                   10707: version_type=none
                   10708: dynamic_linker="$host_os ld.so"
                   10709: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10710: need_lib_prefix=unknown
                   10711: hardcode_into_libs=no
                   10712: 
                   10713: # when you set need_version to no, make sure it does not cause -set_version
                   10714: # flags to be left without arguments
                   10715: need_version=unknown
                   10716: 
1.1.1.4 ! misho    10717: 
        !          10718: 
1.1.1.2   misho    10719: case $host_os in
                   10720: aix3*)
1.1.1.4 ! misho    10721:   version_type=linux # correct to gnu/linux during the next big refactor
        !          10722:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
1.1.1.2   misho    10723:   shlibpath_var=LIBPATH
                   10724: 
                   10725:   # AIX 3 has no versioning support, so we append a major version to the name.
1.1.1.4 ! misho    10726:   soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    10727:   ;;
                   10728: 
                   10729: aix[4-9]*)
1.1.1.4 ! misho    10730:   version_type=linux # correct to gnu/linux during the next big refactor
1.1.1.2   misho    10731:   need_lib_prefix=no
                   10732:   need_version=no
                   10733:   hardcode_into_libs=yes
1.1.1.4 ! misho    10734:   if test ia64 = "$host_cpu"; then
1.1.1.2   misho    10735:     # AIX 5 supports IA64
1.1.1.4 ! misho    10736:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
1.1.1.2   misho    10737:     shlibpath_var=LD_LIBRARY_PATH
                   10738:   else
                   10739:     # With GCC up to 2.95.x, collect2 would create an import file
                   10740:     # for dependence libraries.  The import file would start with
1.1.1.4 ! misho    10741:     # the line '#! .'.  This would cause the generated library to
        !          10742:     # depend on '.', always an invalid library.  This was fixed in
1.1.1.2   misho    10743:     # development snapshots of GCC prior to 3.0.
                   10744:     case $host_os in
                   10745:       aix4 | aix4.[01] | aix4.[01].*)
                   10746:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10747:           echo ' yes '
1.1.1.4 ! misho    10748:           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
1.1.1.2   misho    10749:        :
                   10750:       else
                   10751:        can_build_shared=no
                   10752:       fi
                   10753:       ;;
                   10754:     esac
1.1.1.4 ! misho    10755:     # Using Import Files as archive members, it is possible to support
        !          10756:     # filename-based versioning of shared library archives on AIX. While
        !          10757:     # this would work for both with and without runtime linking, it will
        !          10758:     # prevent static linking of such archives. So we do filename-based
        !          10759:     # shared library versioning with .so extension only, which is used
        !          10760:     # when both runtime linking and shared linking is enabled.
        !          10761:     # Unfortunately, runtime linking may impact performance, so we do
        !          10762:     # not want this to be the default eventually. Also, we use the
        !          10763:     # versioned .so libs for executables only if there is the -brtl
        !          10764:     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
        !          10765:     # To allow for filename-based versioning support, we need to create
        !          10766:     # libNAME.so.V as an archive file, containing:
        !          10767:     # *) an Import File, referring to the versioned filename of the
        !          10768:     #    archive as well as the shared archive member, telling the
        !          10769:     #    bitwidth (32 or 64) of that shared object, and providing the
        !          10770:     #    list of exported symbols of that shared object, eventually
        !          10771:     #    decorated with the 'weak' keyword
        !          10772:     # *) the shared object with the F_LOADONLY flag set, to really avoid
        !          10773:     #    it being seen by the linker.
        !          10774:     # At run time we better use the real file rather than another symlink,
        !          10775:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
        !          10776: 
        !          10777:     case $with_aix_soname,$aix_use_runtimelinking in
        !          10778:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
1.1.1.2   misho    10779:     # soname into executable. Probably we can add versioning support to
                   10780:     # collect2, so additional links can be useful in future.
1.1.1.4 ! misho    10781:     aix,yes) # traditional libtool
        !          10782:       dynamic_linker='AIX unversionable lib.so'
1.1.1.2   misho    10783:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10784:       # instead of lib<name>.a to let people know that these are not
                   10785:       # typical AIX shared libraries.
1.1.1.4 ! misho    10786:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10787:       ;;
        !          10788:     aix,no) # traditional AIX only
        !          10789:       dynamic_linker='AIX lib.a(lib.so.V)'
1.1.1.2   misho    10790:       # We preserve .a as extension for shared libraries through AIX4.2
                   10791:       # and later when we are not doing run time linking.
1.1.1.4 ! misho    10792:       library_names_spec='$libname$release.a $libname.a'
        !          10793:       soname_spec='$libname$release$shared_ext$major'
        !          10794:       ;;
        !          10795:     svr4,*) # full svr4 only
        !          10796:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
        !          10797:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
        !          10798:       # We do not specify a path in Import Files, so LIBPATH fires.
        !          10799:       shlibpath_overrides_runpath=yes
        !          10800:       ;;
        !          10801:     *,yes) # both, prefer svr4
        !          10802:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
        !          10803:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
        !          10804:       # unpreferred sharedlib libNAME.a needs extra handling
        !          10805:       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
        !          10806:       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
        !          10807:       # We do not specify a path in Import Files, so LIBPATH fires.
        !          10808:       shlibpath_overrides_runpath=yes
        !          10809:       ;;
        !          10810:     *,no) # both, prefer aix
        !          10811:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
        !          10812:       library_names_spec='$libname$release.a $libname.a'
        !          10813:       soname_spec='$libname$release$shared_ext$major'
        !          10814:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
        !          10815:       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
        !          10816:       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
        !          10817:       ;;
        !          10818:     esac
        !          10819:     shlibpath_var=LIBPATH
1.1.1.2   misho    10820:   fi
                   10821:   ;;
                   10822: 
                   10823: amigaos*)
                   10824:   case $host_cpu in
                   10825:   powerpc)
                   10826:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10827:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
1.1.1.4 ! misho    10828:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.1.1.2   misho    10829:     ;;
                   10830:   m68k)
                   10831:     library_names_spec='$libname.ixlibrary $libname.a'
                   10832:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.1.1.4 ! misho    10833:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
1.1.1.2   misho    10834:     ;;
                   10835:   esac
                   10836:   ;;
                   10837: 
                   10838: beos*)
1.1.1.4 ! misho    10839:   library_names_spec='$libname$shared_ext'
1.1.1.2   misho    10840:   dynamic_linker="$host_os ld.so"
                   10841:   shlibpath_var=LIBRARY_PATH
                   10842:   ;;
                   10843: 
                   10844: bsdi[45]*)
1.1.1.4 ! misho    10845:   version_type=linux # correct to gnu/linux during the next big refactor
1.1.1.2   misho    10846:   need_version=no
1.1.1.4 ! misho    10847:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10848:   soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    10849:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10850:   shlibpath_var=LD_LIBRARY_PATH
                   10851:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10852:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10853:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10854:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10855:   # libtool to hard-code these into programs
                   10856:   ;;
                   10857: 
                   10858: cygwin* | mingw* | pw32* | cegcc*)
                   10859:   version_type=windows
1.1.1.4 ! misho    10860:   shrext_cmds=.dll
1.1.1.2   misho    10861:   need_version=no
                   10862:   need_lib_prefix=no
                   10863: 
                   10864:   case $GCC,$cc_basename in
                   10865:   yes,*)
                   10866:     # gcc
                   10867:     library_names_spec='$libname.dll.a'
                   10868:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.1.1.4 ! misho    10869:     postinstall_cmds='base_file=`basename \$file`~
        !          10870:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.1.1.2   misho    10871:       dldir=$destdir/`dirname \$dlpath`~
                   10872:       test -d \$dldir || mkdir -p \$dldir~
                   10873:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10874:       chmod a+x \$dldir/$dlname~
                   10875:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10876:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10877:       fi'
                   10878:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10879:       dlpath=$dir/\$dldll~
                   10880:        $RM \$dlpath'
                   10881:     shlibpath_overrides_runpath=yes
                   10882: 
                   10883:     case $host_os in
                   10884:     cygwin*)
                   10885:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.1.1.4 ! misho    10886:       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.1.1.2   misho    10887: 
                   10888:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10889:       ;;
                   10890:     mingw* | cegcc*)
                   10891:       # MinGW DLLs use traditional 'lib' prefix
1.1.1.4 ! misho    10892:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.1.1.2   misho    10893:       ;;
                   10894:     pw32*)
                   10895:       # pw32 DLLs use 'pw' prefix rather than 'lib'
1.1.1.4 ! misho    10896:       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.1.1.2   misho    10897:       ;;
                   10898:     esac
                   10899:     dynamic_linker='Win32 ld.exe'
                   10900:     ;;
                   10901: 
                   10902:   *,cl*)
                   10903:     # Native MSVC
                   10904:     libname_spec='$name'
1.1.1.4 ! misho    10905:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
        !          10906:     library_names_spec='$libname.dll.lib'
1.1.1.2   misho    10907: 
                   10908:     case $build_os in
                   10909:     mingw*)
                   10910:       sys_lib_search_path_spec=
                   10911:       lt_save_ifs=$IFS
                   10912:       IFS=';'
                   10913:       for lt_path in $LIB
                   10914:       do
                   10915:         IFS=$lt_save_ifs
                   10916:         # Let DOS variable expansion print the short 8.3 style file name.
                   10917:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10918:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10919:       done
                   10920:       IFS=$lt_save_ifs
                   10921:       # Convert to MSYS style.
                   10922:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10923:       ;;
                   10924:     cygwin*)
                   10925:       # Convert to unix form, then to dos form, then back to unix form
                   10926:       # but this time dos style (no spaces!) so that the unix form looks
                   10927:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10928:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10929:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10930:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10931:       ;;
                   10932:     *)
1.1.1.4 ! misho    10933:       sys_lib_search_path_spec=$LIB
1.1.1.2   misho    10934:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10935:         # It is most probably a Windows format PATH.
                   10936:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10937:       else
                   10938:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10939:       fi
                   10940:       # FIXME: find the short name or the path components, as spaces are
                   10941:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10942:       ;;
                   10943:     esac
                   10944: 
                   10945:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.1.1.4 ! misho    10946:     postinstall_cmds='base_file=`basename \$file`~
        !          10947:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.1.1.2   misho    10948:       dldir=$destdir/`dirname \$dlpath`~
                   10949:       test -d \$dldir || mkdir -p \$dldir~
                   10950:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10951:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10952:       dlpath=$dir/\$dldll~
                   10953:        $RM \$dlpath'
                   10954:     shlibpath_overrides_runpath=yes
                   10955:     dynamic_linker='Win32 link.exe'
                   10956:     ;;
                   10957: 
                   10958:   *)
                   10959:     # Assume MSVC wrapper
1.1.1.4 ! misho    10960:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1.1.1.2   misho    10961:     dynamic_linker='Win32 ld.exe'
                   10962:     ;;
                   10963:   esac
                   10964:   # FIXME: first we should search . and the directory the executable is in
                   10965:   shlibpath_var=PATH
                   10966:   ;;
                   10967: 
                   10968: darwin* | rhapsody*)
                   10969:   dynamic_linker="$host_os dyld"
                   10970:   version_type=darwin
                   10971:   need_lib_prefix=no
                   10972:   need_version=no
1.1.1.4 ! misho    10973:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
        !          10974:   soname_spec='$libname$release$major$shared_ext'
1.1.1.2   misho    10975:   shlibpath_overrides_runpath=yes
                   10976:   shlibpath_var=DYLD_LIBRARY_PATH
                   10977:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10978: 
                   10979:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10980:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10981:   ;;
                   10982: 
                   10983: dgux*)
1.1.1.4 ! misho    10984:   version_type=linux # correct to gnu/linux during the next big refactor
1.1.1.2   misho    10985:   need_lib_prefix=no
                   10986:   need_version=no
1.1.1.4 ! misho    10987:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          10988:   soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    10989:   shlibpath_var=LD_LIBRARY_PATH
                   10990:   ;;
                   10991: 
                   10992: freebsd* | dragonfly*)
                   10993:   # DragonFly does not have aout.  When/if they implement a new
                   10994:   # versioning mechanism, adjust this.
                   10995:   if test -x /usr/bin/objformat; then
                   10996:     objformat=`/usr/bin/objformat`
                   10997:   else
                   10998:     case $host_os in
1.1.1.4 ! misho    10999:     freebsd[23].*) objformat=aout ;;
1.1.1.2   misho    11000:     *) objformat=elf ;;
                   11001:     esac
                   11002:   fi
                   11003:   version_type=freebsd-$objformat
                   11004:   case $version_type in
                   11005:     freebsd-elf*)
1.1.1.4 ! misho    11006:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11007:       soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11008:       need_version=no
                   11009:       need_lib_prefix=no
                   11010:       ;;
                   11011:     freebsd-*)
1.1.1.4 ! misho    11012:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.1.1.2   misho    11013:       need_version=yes
                   11014:       ;;
                   11015:   esac
                   11016:   shlibpath_var=LD_LIBRARY_PATH
                   11017:   case $host_os in
1.1.1.4 ! misho    11018:   freebsd2.*)
1.1.1.2   misho    11019:     shlibpath_overrides_runpath=yes
                   11020:     ;;
                   11021:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11022:     shlibpath_overrides_runpath=yes
                   11023:     hardcode_into_libs=yes
                   11024:     ;;
                   11025:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11026:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11027:     shlibpath_overrides_runpath=no
                   11028:     hardcode_into_libs=yes
                   11029:     ;;
                   11030:   *) # from 4.6 on, and DragonFly
                   11031:     shlibpath_overrides_runpath=yes
                   11032:     hardcode_into_libs=yes
                   11033:     ;;
                   11034:   esac
                   11035:   ;;
                   11036: 
                   11037: haiku*)
1.1.1.4 ! misho    11038:   version_type=linux # correct to gnu/linux during the next big refactor
1.1.1.2   misho    11039:   need_lib_prefix=no
                   11040:   need_version=no
                   11041:   dynamic_linker="$host_os runtime_loader"
1.1.1.4 ! misho    11042:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11043:   soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11044:   shlibpath_var=LIBRARY_PATH
1.1.1.4 ! misho    11045:   shlibpath_overrides_runpath=no
1.1.1.2   misho    11046:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   11047:   hardcode_into_libs=yes
                   11048:   ;;
                   11049: 
                   11050: hpux9* | hpux10* | hpux11*)
                   11051:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11052:   # link against other versions.
                   11053:   version_type=sunos
                   11054:   need_lib_prefix=no
                   11055:   need_version=no
                   11056:   case $host_cpu in
                   11057:   ia64*)
                   11058:     shrext_cmds='.so'
                   11059:     hardcode_into_libs=yes
                   11060:     dynamic_linker="$host_os dld.so"
                   11061:     shlibpath_var=LD_LIBRARY_PATH
                   11062:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.1.1.4 ! misho    11063:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11064:     soname_spec='$libname$release$shared_ext$major'
        !          11065:     if test 32 = "$HPUX_IA64_MODE"; then
1.1.1.2   misho    11066:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.1.1.4 ! misho    11067:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
1.1.1.2   misho    11068:     else
                   11069:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.1.1.4 ! misho    11070:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
1.1.1.2   misho    11071:     fi
                   11072:     ;;
                   11073:   hppa*64*)
                   11074:     shrext_cmds='.sl'
                   11075:     hardcode_into_libs=yes
                   11076:     dynamic_linker="$host_os dld.sl"
                   11077:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11078:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.1.1.4 ! misho    11079:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11080:     soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11081:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11082:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11083:     ;;
                   11084:   *)
                   11085:     shrext_cmds='.sl'
                   11086:     dynamic_linker="$host_os dld.sl"
                   11087:     shlibpath_var=SHLIB_PATH
                   11088:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.1.1.4 ! misho    11089:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11090:     soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11091:     ;;
                   11092:   esac
                   11093:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11094:   postinstall_cmds='chmod 555 $lib'
                   11095:   # or fails outright, so override atomically:
                   11096:   install_override_mode=555
                   11097:   ;;
                   11098: 
                   11099: interix[3-9]*)
1.1.1.4 ! misho    11100:   version_type=linux # correct to gnu/linux during the next big refactor
1.1.1.2   misho    11101:   need_lib_prefix=no
                   11102:   need_version=no
1.1.1.4 ! misho    11103:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11104:   soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11105:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11106:   shlibpath_var=LD_LIBRARY_PATH
                   11107:   shlibpath_overrides_runpath=no
                   11108:   hardcode_into_libs=yes
                   11109:   ;;
                   11110: 
                   11111: irix5* | irix6* | nonstopux*)
                   11112:   case $host_os in
                   11113:     nonstopux*) version_type=nonstopux ;;
                   11114:     *)
1.1.1.4 ! misho    11115:        if test yes = "$lt_cv_prog_gnu_ld"; then
        !          11116:                version_type=linux # correct to gnu/linux during the next big refactor
1.1.1.2   misho    11117:        else
                   11118:                version_type=irix
                   11119:        fi ;;
                   11120:   esac
                   11121:   need_lib_prefix=no
                   11122:   need_version=no
1.1.1.4 ! misho    11123:   soname_spec='$libname$release$shared_ext$major'
        !          11124:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
1.1.1.2   misho    11125:   case $host_os in
                   11126:   irix5* | nonstopux*)
                   11127:     libsuff= shlibsuff=
                   11128:     ;;
                   11129:   *)
                   11130:     case $LD in # libtool.m4 will add one of these switches to LD
                   11131:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11132:       libsuff= shlibsuff= libmagic=32-bit;;
                   11133:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11134:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11135:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11136:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11137:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11138:     esac
                   11139:     ;;
                   11140:   esac
                   11141:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11142:   shlibpath_overrides_runpath=no
1.1.1.4 ! misho    11143:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
        !          11144:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
1.1.1.2   misho    11145:   hardcode_into_libs=yes
                   11146:   ;;
                   11147: 
                   11148: # No shared lib support for Linux oldld, aout, or coff.
                   11149: linux*oldld* | linux*aout* | linux*coff*)
                   11150:   dynamic_linker=no
                   11151:   ;;
                   11152: 
1.1.1.4 ! misho    11153: linux*android*)
        !          11154:   version_type=none # Android doesn't support versioned libraries.
1.1.1.2   misho    11155:   need_lib_prefix=no
                   11156:   need_version=no
1.1.1.4 ! misho    11157:   library_names_spec='$libname$release$shared_ext'
        !          11158:   soname_spec='$libname$release$shared_ext'
        !          11159:   finish_cmds=
        !          11160:   shlibpath_var=LD_LIBRARY_PATH
        !          11161:   shlibpath_overrides_runpath=yes
        !          11162: 
        !          11163:   # This implies no fast_install, which is unacceptable.
        !          11164:   # Some rework will be needed to allow for fast_install
        !          11165:   # before this can be enabled.
        !          11166:   hardcode_into_libs=yes
        !          11167: 
        !          11168:   dynamic_linker='Android linker'
        !          11169:   # Don't embed -rpath directories since the linker doesn't support them.
        !          11170:   hardcode_libdir_flag_spec='-L$libdir'
        !          11171:   ;;
        !          11172: 
        !          11173: # This must be glibc/ELF.
        !          11174: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        !          11175:   version_type=linux # correct to gnu/linux during the next big refactor
        !          11176:   need_lib_prefix=no
        !          11177:   need_version=no
        !          11178:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11179:   soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11180:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11181:   shlibpath_var=LD_LIBRARY_PATH
                   11182:   shlibpath_overrides_runpath=no
                   11183: 
                   11184:   # Some binutils ld are patched to set DT_RUNPATH
                   11185:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   11186:   $as_echo_n "(cached) " >&6
                   11187: else
                   11188:   lt_cv_shlibpath_overrides_runpath=no
                   11189:     save_LDFLAGS=$LDFLAGS
                   11190:     save_libdir=$libdir
                   11191:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11192:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   11193:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11194: /* end confdefs.h.  */
                   11195: 
                   11196: int
                   11197: main ()
                   11198: {
                   11199: 
                   11200:   ;
                   11201:   return 0;
                   11202: }
                   11203: _ACEOF
                   11204: if ac_fn_c_try_link "$LINENO"; then :
                   11205:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
                   11206:   lt_cv_shlibpath_overrides_runpath=yes
                   11207: fi
                   11208: fi
                   11209: rm -f core conftest.err conftest.$ac_objext \
                   11210:     conftest$ac_exeext conftest.$ac_ext
                   11211:     LDFLAGS=$save_LDFLAGS
                   11212:     libdir=$save_libdir
                   11213: 
                   11214: fi
                   11215: 
                   11216:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11217: 
                   11218:   # This implies no fast_install, which is unacceptable.
                   11219:   # Some rework will be needed to allow for fast_install
                   11220:   # before this can be enabled.
                   11221:   hardcode_into_libs=yes
                   11222: 
1.1.1.4 ! misho    11223:   # Ideally, we could use ldconfig to report *all* directores which are
        !          11224:   # searched for libraries, however this is still not possible.  Aside from not
        !          11225:   # being certain /sbin/ldconfig is available, command
        !          11226:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
        !          11227:   # even though it is searched at run-time.  Try to do the best guess by
        !          11228:   # appending ld.so.conf contents (and includes) to the search path.
1.1.1.2   misho    11229:   if test -f /etc/ld.so.conf; then
                   11230:     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' ' '`
                   11231:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11232:   fi
                   11233: 
                   11234:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11235:   # powerpc, because MkLinux only supported shared libraries with the
                   11236:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11237:   # most powerpc-linux boxes support dynamic linking these days and
                   11238:   # people can always --disable-shared, the test was removed, and we
                   11239:   # assume the GNU/Linux dynamic linker is in use.
                   11240:   dynamic_linker='GNU/Linux ld.so'
                   11241:   ;;
                   11242: 
                   11243: netbsdelf*-gnu)
                   11244:   version_type=linux
                   11245:   need_lib_prefix=no
                   11246:   need_version=no
                   11247:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11248:   soname_spec='${libname}${release}${shared_ext}$major'
                   11249:   shlibpath_var=LD_LIBRARY_PATH
                   11250:   shlibpath_overrides_runpath=no
                   11251:   hardcode_into_libs=yes
                   11252:   dynamic_linker='NetBSD ld.elf_so'
                   11253:   ;;
                   11254: 
                   11255: netbsd*)
                   11256:   version_type=sunos
                   11257:   need_lib_prefix=no
                   11258:   need_version=no
                   11259:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.1.1.4 ! misho    11260:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.1.1.2   misho    11261:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11262:     dynamic_linker='NetBSD (a.out) ld.so'
                   11263:   else
1.1.1.4 ! misho    11264:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11265:     soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11266:     dynamic_linker='NetBSD ld.elf_so'
                   11267:   fi
                   11268:   shlibpath_var=LD_LIBRARY_PATH
                   11269:   shlibpath_overrides_runpath=yes
                   11270:   hardcode_into_libs=yes
                   11271:   ;;
                   11272: 
                   11273: newsos6)
1.1.1.4 ! misho    11274:   version_type=linux # correct to gnu/linux during the next big refactor
        !          11275:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.1.1.2   misho    11276:   shlibpath_var=LD_LIBRARY_PATH
                   11277:   shlibpath_overrides_runpath=yes
                   11278:   ;;
                   11279: 
                   11280: *nto* | *qnx*)
                   11281:   version_type=qnx
                   11282:   need_lib_prefix=no
                   11283:   need_version=no
1.1.1.4 ! misho    11284:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11285:   soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11286:   shlibpath_var=LD_LIBRARY_PATH
                   11287:   shlibpath_overrides_runpath=no
                   11288:   hardcode_into_libs=yes
                   11289:   dynamic_linker='ldqnx.so'
                   11290:   ;;
                   11291: 
1.1.1.4 ! misho    11292: openbsd* | bitrig*)
1.1.1.2   misho    11293:   version_type=sunos
1.1.1.4 ! misho    11294:   sys_lib_dlsearch_path_spec=/usr/lib
1.1.1.2   misho    11295:   need_lib_prefix=no
1.1.1.4 ! misho    11296:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
        !          11297:     need_version=no
1.1.1.2   misho    11298:   else
1.1.1.4 ! misho    11299:     need_version=yes
1.1.1.2   misho    11300:   fi
1.1.1.4 ! misho    11301:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
        !          11302:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
        !          11303:   shlibpath_var=LD_LIBRARY_PATH
        !          11304:   shlibpath_overrides_runpath=yes
1.1.1.2   misho    11305:   ;;
                   11306: 
                   11307: os2*)
                   11308:   libname_spec='$name'
1.1.1.4 ! misho    11309:   version_type=windows
        !          11310:   shrext_cmds=.dll
        !          11311:   need_version=no
1.1.1.2   misho    11312:   need_lib_prefix=no
1.1.1.4 ! misho    11313:   # OS/2 can only load a DLL with a base name of 8 characters or less.
        !          11314:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
        !          11315:     v=$($ECHO $release$versuffix | tr -d .-);
        !          11316:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
        !          11317:     $ECHO $n$v`$shared_ext'
        !          11318:   library_names_spec='${libname}_dll.$libext'
1.1.1.2   misho    11319:   dynamic_linker='OS/2 ld.exe'
1.1.1.4 ! misho    11320:   shlibpath_var=BEGINLIBPATH
        !          11321:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
        !          11322:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
        !          11323:   postinstall_cmds='base_file=`basename \$file`~
        !          11324:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
        !          11325:     dldir=$destdir/`dirname \$dlpath`~
        !          11326:     test -d \$dldir || mkdir -p \$dldir~
        !          11327:     $install_prog $dir/$dlname \$dldir/$dlname~
        !          11328:     chmod a+x \$dldir/$dlname~
        !          11329:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
        !          11330:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
        !          11331:     fi'
        !          11332:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
        !          11333:     dlpath=$dir/\$dldll~
        !          11334:     $RM \$dlpath'
1.1.1.2   misho    11335:   ;;
                   11336: 
                   11337: osf3* | osf4* | osf5*)
                   11338:   version_type=osf
                   11339:   need_lib_prefix=no
                   11340:   need_version=no
1.1.1.4 ! misho    11341:   soname_spec='$libname$release$shared_ext$major'
        !          11342:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.1.1.2   misho    11343:   shlibpath_var=LD_LIBRARY_PATH
                   11344:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.1.1.4 ! misho    11345:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.1.1.2   misho    11346:   ;;
                   11347: 
                   11348: rdos*)
                   11349:   dynamic_linker=no
                   11350:   ;;
                   11351: 
                   11352: solaris*)
1.1.1.4 ! misho    11353:   version_type=linux # correct to gnu/linux during the next big refactor
1.1.1.2   misho    11354:   need_lib_prefix=no
                   11355:   need_version=no
1.1.1.4 ! misho    11356:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11357:   soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11358:   shlibpath_var=LD_LIBRARY_PATH
                   11359:   shlibpath_overrides_runpath=yes
                   11360:   hardcode_into_libs=yes
                   11361:   # ldd complains unless libraries are executable
                   11362:   postinstall_cmds='chmod +x $lib'
                   11363:   ;;
                   11364: 
                   11365: sunos4*)
                   11366:   version_type=sunos
1.1.1.4 ! misho    11367:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.1.1.2   misho    11368:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11369:   shlibpath_var=LD_LIBRARY_PATH
                   11370:   shlibpath_overrides_runpath=yes
1.1.1.4 ! misho    11371:   if test yes = "$with_gnu_ld"; then
1.1.1.2   misho    11372:     need_lib_prefix=no
                   11373:   fi
                   11374:   need_version=yes
                   11375:   ;;
                   11376: 
                   11377: sysv4 | sysv4.3*)
1.1.1.4 ! misho    11378:   version_type=linux # correct to gnu/linux during the next big refactor
        !          11379:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11380:   soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11381:   shlibpath_var=LD_LIBRARY_PATH
                   11382:   case $host_vendor in
                   11383:     sni)
                   11384:       shlibpath_overrides_runpath=no
                   11385:       need_lib_prefix=no
                   11386:       runpath_var=LD_RUN_PATH
                   11387:       ;;
                   11388:     siemens)
                   11389:       need_lib_prefix=no
                   11390:       ;;
                   11391:     motorola)
                   11392:       need_lib_prefix=no
                   11393:       need_version=no
                   11394:       shlibpath_overrides_runpath=no
                   11395:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11396:       ;;
                   11397:   esac
                   11398:   ;;
                   11399: 
                   11400: sysv4*MP*)
1.1.1.4 ! misho    11401:   if test -d /usr/nec; then
        !          11402:     version_type=linux # correct to gnu/linux during the next big refactor
        !          11403:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
        !          11404:     soname_spec='$libname$shared_ext.$major'
1.1.1.2   misho    11405:     shlibpath_var=LD_LIBRARY_PATH
                   11406:   fi
                   11407:   ;;
                   11408: 
                   11409: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.1.1.4 ! misho    11410:   version_type=sco
1.1.1.2   misho    11411:   need_lib_prefix=no
                   11412:   need_version=no
1.1.1.4 ! misho    11413:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
        !          11414:   soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11415:   shlibpath_var=LD_LIBRARY_PATH
                   11416:   shlibpath_overrides_runpath=yes
                   11417:   hardcode_into_libs=yes
1.1.1.4 ! misho    11418:   if test yes = "$with_gnu_ld"; then
1.1.1.2   misho    11419:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11420:   else
                   11421:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11422:     case $host_os in
                   11423:       sco3.2v5*)
                   11424:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11425:        ;;
                   11426:     esac
                   11427:   fi
                   11428:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11429:   ;;
                   11430: 
                   11431: tpf*)
                   11432:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
1.1.1.4 ! misho    11433:   version_type=linux # correct to gnu/linux during the next big refactor
1.1.1.2   misho    11434:   need_lib_prefix=no
                   11435:   need_version=no
1.1.1.4 ! misho    11436:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.1.1.2   misho    11437:   shlibpath_var=LD_LIBRARY_PATH
                   11438:   shlibpath_overrides_runpath=no
                   11439:   hardcode_into_libs=yes
                   11440:   ;;
                   11441: 
                   11442: uts4*)
1.1.1.4 ! misho    11443:   version_type=linux # correct to gnu/linux during the next big refactor
        !          11444:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
        !          11445:   soname_spec='$libname$release$shared_ext$major'
1.1.1.2   misho    11446:   shlibpath_var=LD_LIBRARY_PATH
                   11447:   ;;
                   11448: 
                   11449: *)
                   11450:   dynamic_linker=no
                   11451:   ;;
                   11452: esac
                   11453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   11454: $as_echo "$dynamic_linker" >&6; }
1.1.1.4 ! misho    11455: test no = "$dynamic_linker" && can_build_shared=no
1.1.1.2   misho    11456: 
                   11457: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.1.1.4 ! misho    11458: if test yes = "$GCC"; then
1.1.1.2   misho    11459:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11460: fi
                   11461: 
1.1.1.4 ! misho    11462: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
        !          11463:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
1.1.1.2   misho    11464: fi
1.1.1.4 ! misho    11465: 
        !          11466: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
        !          11467:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
1.1.1.2   misho    11468: fi
                   11469: 
1.1.1.4 ! misho    11470: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
        !          11471: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
        !          11472: 
        !          11473: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
        !          11474: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
        !          11475: 
        !          11476: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
        !          11477: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
        !          11478: 
        !          11479: 
        !          11480: 
        !          11481: 
        !          11482: 
        !          11483: 
1.1.1.2   misho    11484: 
                   11485: 
                   11486: 
                   11487: 
                   11488: 
                   11489: 
                   11490: 
                   11491: 
                   11492: 
                   11493: 
                   11494: 
                   11495: 
                   11496: 
                   11497: 
                   11498: 
                   11499: 
                   11500: 
                   11501: 
                   11502: 
                   11503: 
                   11504: 
                   11505: 
                   11506: 
                   11507: 
                   11508: 
                   11509: 
                   11510: 
                   11511: 
                   11512: 
                   11513: 
                   11514: 
                   11515: 
                   11516: 
                   11517: 
                   11518: 
                   11519: 
                   11520: 
                   11521: 
                   11522: 
                   11523: 
                   11524: 
                   11525: 
                   11526: 
                   11527: 
                   11528: 
                   11529: 
                   11530: 
                   11531: 
                   11532: 
                   11533: 
                   11534: 
                   11535: 
                   11536: 
                   11537: 
                   11538: 
                   11539: 
                   11540: 
                   11541: 
                   11542: 
                   11543: 
                   11544: 
                   11545: 
                   11546: 
                   11547: 
                   11548: 
                   11549: 
                   11550: 
                   11551: 
                   11552: 
                   11553: 
                   11554: 
                   11555: 
                   11556: 
                   11557: 
                   11558: 
                   11559: 
                   11560: 
                   11561: 
                   11562: 
                   11563: 
                   11564: 
                   11565: 
                   11566: 
                   11567: 
                   11568: 
                   11569: 
                   11570: 
                   11571: 
                   11572: 
                   11573: 
                   11574: 
                   11575:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   11576: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   11577: hardcode_action=
                   11578: if test -n "$hardcode_libdir_flag_spec" ||
                   11579:    test -n "$runpath_var" ||
1.1.1.4 ! misho    11580:    test yes = "$hardcode_automatic"; then
1.1.1.2   misho    11581: 
                   11582:   # We can hardcode non-existent directories.
1.1.1.4 ! misho    11583:   if test no != "$hardcode_direct" &&
1.1.1.2   misho    11584:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11585:      # have to relink, otherwise we might link with an installed library
                   11586:      # when we should be linking with a yet-to-be-installed one
1.1.1.4 ! misho    11587:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
        !          11588:      test no != "$hardcode_minus_L"; then
1.1.1.2   misho    11589:     # Linking always hardcodes the temporary library directory.
                   11590:     hardcode_action=relink
                   11591:   else
                   11592:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   11593:     hardcode_action=immediate
                   11594:   fi
                   11595: else
                   11596:   # We cannot hardcode anything, or else we can only hardcode existing
                   11597:   # directories.
                   11598:   hardcode_action=unsupported
                   11599: fi
                   11600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   11601: $as_echo "$hardcode_action" >&6; }
                   11602: 
1.1.1.4 ! misho    11603: if test relink = "$hardcode_action" ||
        !          11604:    test yes = "$inherit_rpath"; then
1.1.1.2   misho    11605:   # Fast installation is not supported
                   11606:   enable_fast_install=no
1.1.1.4 ! misho    11607: elif test yes = "$shlibpath_overrides_runpath" ||
        !          11608:      test no = "$enable_shared"; then
1.1.1.2   misho    11609:   # Fast installation is not necessary
                   11610:   enable_fast_install=needless
                   11611: fi
                   11612: 
                   11613: 
                   11614: 
                   11615: 
                   11616: 
                   11617: 
1.1.1.4 ! misho    11618:   if test yes != "$enable_dlopen"; then
1.1.1.2   misho    11619:   enable_dlopen=unknown
                   11620:   enable_dlopen_self=unknown
                   11621:   enable_dlopen_self_static=unknown
                   11622: else
                   11623:   lt_cv_dlopen=no
                   11624:   lt_cv_dlopen_libs=
                   11625: 
                   11626:   case $host_os in
                   11627:   beos*)
1.1.1.4 ! misho    11628:     lt_cv_dlopen=load_add_on
1.1.1.2   misho    11629:     lt_cv_dlopen_libs=
                   11630:     lt_cv_dlopen_self=yes
                   11631:     ;;
                   11632: 
                   11633:   mingw* | pw32* | cegcc*)
1.1.1.4 ! misho    11634:     lt_cv_dlopen=LoadLibrary
1.1.1.2   misho    11635:     lt_cv_dlopen_libs=
                   11636:     ;;
                   11637: 
                   11638:   cygwin*)
1.1.1.4 ! misho    11639:     lt_cv_dlopen=dlopen
1.1.1.2   misho    11640:     lt_cv_dlopen_libs=
                   11641:     ;;
                   11642: 
                   11643:   darwin*)
1.1.1.4 ! misho    11644:     # if libdl is installed we need to link against it
1.1.1.2   misho    11645:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11646: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   11647: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   11648:   $as_echo_n "(cached) " >&6
                   11649: else
                   11650:   ac_check_lib_save_LIBS=$LIBS
                   11651: LIBS="-ldl  $LIBS"
                   11652: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11653: /* end confdefs.h.  */
                   11654: 
                   11655: /* Override any GCC internal prototype to avoid an error.
                   11656:    Use char because int might match the return type of a GCC
                   11657:    builtin and then its argument prototype would still apply.  */
                   11658: #ifdef __cplusplus
                   11659: extern "C"
                   11660: #endif
                   11661: char dlopen ();
                   11662: int
                   11663: main ()
                   11664: {
                   11665: return dlopen ();
                   11666:   ;
                   11667:   return 0;
                   11668: }
                   11669: _ACEOF
                   11670: if ac_fn_c_try_link "$LINENO"; then :
                   11671:   ac_cv_lib_dl_dlopen=yes
                   11672: else
                   11673:   ac_cv_lib_dl_dlopen=no
                   11674: fi
                   11675: rm -f core conftest.err conftest.$ac_objext \
                   11676:     conftest$ac_exeext conftest.$ac_ext
                   11677: LIBS=$ac_check_lib_save_LIBS
                   11678: fi
                   11679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11680: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11681: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.1.1.4 ! misho    11682:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
1.1.1.2   misho    11683: else
                   11684: 
1.1.1.4 ! misho    11685:     lt_cv_dlopen=dyld
1.1.1.2   misho    11686:     lt_cv_dlopen_libs=
                   11687:     lt_cv_dlopen_self=yes
                   11688: 
                   11689: fi
                   11690: 
                   11691:     ;;
                   11692: 
1.1.1.4 ! misho    11693:   tpf*)
        !          11694:     # Don't try to run any link tests for TPF.  We know it's impossible
        !          11695:     # because TPF is a cross-compiler, and we know how we open DSOs.
        !          11696:     lt_cv_dlopen=dlopen
        !          11697:     lt_cv_dlopen_libs=
        !          11698:     lt_cv_dlopen_self=no
        !          11699:     ;;
        !          11700: 
1.1.1.2   misho    11701:   *)
                   11702:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   11703: if test "x$ac_cv_func_shl_load" = xyes; then :
1.1.1.4 ! misho    11704:   lt_cv_dlopen=shl_load
1.1.1.2   misho    11705: else
                   11706:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   11707: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   11708: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   11709:   $as_echo_n "(cached) " >&6
                   11710: else
                   11711:   ac_check_lib_save_LIBS=$LIBS
                   11712: LIBS="-ldld  $LIBS"
                   11713: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11714: /* end confdefs.h.  */
                   11715: 
                   11716: /* Override any GCC internal prototype to avoid an error.
                   11717:    Use char because int might match the return type of a GCC
                   11718:    builtin and then its argument prototype would still apply.  */
                   11719: #ifdef __cplusplus
                   11720: extern "C"
                   11721: #endif
                   11722: char shl_load ();
                   11723: int
                   11724: main ()
                   11725: {
                   11726: return shl_load ();
                   11727:   ;
                   11728:   return 0;
                   11729: }
                   11730: _ACEOF
                   11731: if ac_fn_c_try_link "$LINENO"; then :
                   11732:   ac_cv_lib_dld_shl_load=yes
                   11733: else
                   11734:   ac_cv_lib_dld_shl_load=no
                   11735: fi
                   11736: rm -f core conftest.err conftest.$ac_objext \
                   11737:     conftest$ac_exeext conftest.$ac_ext
                   11738: LIBS=$ac_check_lib_save_LIBS
                   11739: fi
                   11740: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   11741: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   11742: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1.1.4 ! misho    11743:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
1.1.1.2   misho    11744: else
                   11745:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   11746: if test "x$ac_cv_func_dlopen" = xyes; then :
1.1.1.4 ! misho    11747:   lt_cv_dlopen=dlopen
1.1.1.2   misho    11748: else
                   11749:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11750: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   11751: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   11752:   $as_echo_n "(cached) " >&6
                   11753: else
                   11754:   ac_check_lib_save_LIBS=$LIBS
                   11755: LIBS="-ldl  $LIBS"
                   11756: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11757: /* end confdefs.h.  */
                   11758: 
                   11759: /* Override any GCC internal prototype to avoid an error.
                   11760:    Use char because int might match the return type of a GCC
                   11761:    builtin and then its argument prototype would still apply.  */
                   11762: #ifdef __cplusplus
                   11763: extern "C"
                   11764: #endif
                   11765: char dlopen ();
                   11766: int
                   11767: main ()
                   11768: {
                   11769: return dlopen ();
                   11770:   ;
                   11771:   return 0;
                   11772: }
                   11773: _ACEOF
                   11774: if ac_fn_c_try_link "$LINENO"; then :
                   11775:   ac_cv_lib_dl_dlopen=yes
                   11776: else
                   11777:   ac_cv_lib_dl_dlopen=no
                   11778: fi
                   11779: rm -f core conftest.err conftest.$ac_objext \
                   11780:     conftest$ac_exeext conftest.$ac_ext
                   11781: LIBS=$ac_check_lib_save_LIBS
                   11782: fi
                   11783: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11784: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11785: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.1.1.4 ! misho    11786:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
1.1.1.2   misho    11787: else
                   11788:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   11789: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   11790: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   11791:   $as_echo_n "(cached) " >&6
                   11792: else
                   11793:   ac_check_lib_save_LIBS=$LIBS
                   11794: LIBS="-lsvld  $LIBS"
                   11795: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11796: /* end confdefs.h.  */
                   11797: 
                   11798: /* Override any GCC internal prototype to avoid an error.
                   11799:    Use char because int might match the return type of a GCC
                   11800:    builtin and then its argument prototype would still apply.  */
                   11801: #ifdef __cplusplus
                   11802: extern "C"
                   11803: #endif
                   11804: char dlopen ();
                   11805: int
                   11806: main ()
                   11807: {
                   11808: return dlopen ();
                   11809:   ;
                   11810:   return 0;
                   11811: }
                   11812: _ACEOF
                   11813: if ac_fn_c_try_link "$LINENO"; then :
                   11814:   ac_cv_lib_svld_dlopen=yes
                   11815: else
                   11816:   ac_cv_lib_svld_dlopen=no
                   11817: fi
                   11818: rm -f core conftest.err conftest.$ac_objext \
                   11819:     conftest$ac_exeext conftest.$ac_ext
                   11820: LIBS=$ac_check_lib_save_LIBS
                   11821: fi
                   11822: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   11823: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   11824: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.1.1.4 ! misho    11825:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
1.1.1.2   misho    11826: else
                   11827:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   11828: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   11829: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   11830:   $as_echo_n "(cached) " >&6
                   11831: else
                   11832:   ac_check_lib_save_LIBS=$LIBS
                   11833: LIBS="-ldld  $LIBS"
                   11834: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11835: /* end confdefs.h.  */
                   11836: 
                   11837: /* Override any GCC internal prototype to avoid an error.
                   11838:    Use char because int might match the return type of a GCC
                   11839:    builtin and then its argument prototype would still apply.  */
                   11840: #ifdef __cplusplus
                   11841: extern "C"
                   11842: #endif
                   11843: char dld_link ();
                   11844: int
                   11845: main ()
                   11846: {
                   11847: return dld_link ();
                   11848:   ;
                   11849:   return 0;
                   11850: }
                   11851: _ACEOF
                   11852: if ac_fn_c_try_link "$LINENO"; then :
                   11853:   ac_cv_lib_dld_dld_link=yes
                   11854: else
                   11855:   ac_cv_lib_dld_dld_link=no
                   11856: fi
                   11857: rm -f core conftest.err conftest.$ac_objext \
                   11858:     conftest$ac_exeext conftest.$ac_ext
                   11859: LIBS=$ac_check_lib_save_LIBS
                   11860: fi
                   11861: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   11862: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   11863: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.1.1.4 ! misho    11864:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1.1.1.2   misho    11865: fi
                   11866: 
                   11867: 
                   11868: fi
                   11869: 
                   11870: 
                   11871: fi
                   11872: 
                   11873: 
                   11874: fi
                   11875: 
                   11876: 
                   11877: fi
                   11878: 
                   11879: 
                   11880: fi
                   11881: 
                   11882:     ;;
                   11883:   esac
                   11884: 
1.1.1.4 ! misho    11885:   if test no = "$lt_cv_dlopen"; then
1.1.1.2   misho    11886:     enable_dlopen=no
1.1.1.4 ! misho    11887:   else
        !          11888:     enable_dlopen=yes
1.1.1.2   misho    11889:   fi
                   11890: 
                   11891:   case $lt_cv_dlopen in
                   11892:   dlopen)
1.1.1.4 ! misho    11893:     save_CPPFLAGS=$CPPFLAGS
        !          11894:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.1.1.2   misho    11895: 
1.1.1.4 ! misho    11896:     save_LDFLAGS=$LDFLAGS
1.1.1.2   misho    11897:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   11898: 
1.1.1.4 ! misho    11899:     save_LIBS=$LIBS
1.1.1.2   misho    11900:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11901: 
                   11902:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   11903: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   11904: if ${lt_cv_dlopen_self+:} false; then :
                   11905:   $as_echo_n "(cached) " >&6
                   11906: else
1.1.1.4 ! misho    11907:          if test yes = "$cross_compiling"; then :
1.1.1.2   misho    11908:   lt_cv_dlopen_self=cross
                   11909: else
                   11910:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11911:   lt_status=$lt_dlunknown
                   11912:   cat > conftest.$ac_ext <<_LT_EOF
                   11913: #line $LINENO "configure"
                   11914: #include "confdefs.h"
                   11915: 
                   11916: #if HAVE_DLFCN_H
                   11917: #include <dlfcn.h>
                   11918: #endif
                   11919: 
                   11920: #include <stdio.h>
                   11921: 
                   11922: #ifdef RTLD_GLOBAL
                   11923: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11924: #else
                   11925: #  ifdef DL_GLOBAL
                   11926: #    define LT_DLGLOBAL                DL_GLOBAL
                   11927: #  else
                   11928: #    define LT_DLGLOBAL                0
                   11929: #  endif
                   11930: #endif
                   11931: 
                   11932: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11933:    find out it does not work in some platform. */
                   11934: #ifndef LT_DLLAZY_OR_NOW
                   11935: #  ifdef RTLD_LAZY
                   11936: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11937: #  else
                   11938: #    ifdef DL_LAZY
                   11939: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11940: #    else
                   11941: #      ifdef RTLD_NOW
                   11942: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11943: #      else
                   11944: #        ifdef DL_NOW
                   11945: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11946: #        else
                   11947: #          define LT_DLLAZY_OR_NOW     0
                   11948: #        endif
                   11949: #      endif
                   11950: #    endif
                   11951: #  endif
                   11952: #endif
                   11953: 
1.1.1.4 ! misho    11954: /* When -fvisibility=hidden is used, assume the code has been annotated
1.1.1.2   misho    11955:    correspondingly for the symbols needed.  */
1.1.1.4 ! misho    11956: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1.1.1.2   misho    11957: int fnord () __attribute__((visibility("default")));
                   11958: #endif
                   11959: 
                   11960: int fnord () { return 42; }
                   11961: int main ()
                   11962: {
                   11963:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11964:   int status = $lt_dlunknown;
                   11965: 
                   11966:   if (self)
                   11967:     {
                   11968:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11969:       else
                   11970:         {
                   11971:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11972:           else puts (dlerror ());
                   11973:        }
                   11974:       /* dlclose (self); */
                   11975:     }
                   11976:   else
                   11977:     puts (dlerror ());
                   11978: 
                   11979:   return status;
                   11980: }
                   11981: _LT_EOF
                   11982:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11983:   (eval $ac_link) 2>&5
                   11984:   ac_status=$?
                   11985:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1.1.4 ! misho    11986:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.1.1.2   misho    11987:     (./conftest; exit; ) >&5 2>/dev/null
                   11988:     lt_status=$?
                   11989:     case x$lt_status in
                   11990:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11991:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   11992:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   11993:     esac
                   11994:   else :
                   11995:     # compilation failed
                   11996:     lt_cv_dlopen_self=no
                   11997:   fi
                   11998: fi
                   11999: rm -fr conftest*
                   12000: 
                   12001: 
                   12002: fi
                   12003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12004: $as_echo "$lt_cv_dlopen_self" >&6; }
                   12005: 
1.1.1.4 ! misho    12006:     if test yes = "$lt_cv_dlopen_self"; then
1.1.1.2   misho    12007:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   12008:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12009: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12010: if ${lt_cv_dlopen_self_static+:} false; then :
                   12011:   $as_echo_n "(cached) " >&6
                   12012: else
1.1.1.4 ! misho    12013:          if test yes = "$cross_compiling"; then :
1.1.1.2   misho    12014:   lt_cv_dlopen_self_static=cross
                   12015: else
                   12016:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12017:   lt_status=$lt_dlunknown
                   12018:   cat > conftest.$ac_ext <<_LT_EOF
                   12019: #line $LINENO "configure"
                   12020: #include "confdefs.h"
                   12021: 
                   12022: #if HAVE_DLFCN_H
                   12023: #include <dlfcn.h>
                   12024: #endif
                   12025: 
                   12026: #include <stdio.h>
                   12027: 
                   12028: #ifdef RTLD_GLOBAL
                   12029: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12030: #else
                   12031: #  ifdef DL_GLOBAL
                   12032: #    define LT_DLGLOBAL                DL_GLOBAL
                   12033: #  else
                   12034: #    define LT_DLGLOBAL                0
                   12035: #  endif
                   12036: #endif
                   12037: 
                   12038: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12039:    find out it does not work in some platform. */
                   12040: #ifndef LT_DLLAZY_OR_NOW
                   12041: #  ifdef RTLD_LAZY
                   12042: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12043: #  else
                   12044: #    ifdef DL_LAZY
                   12045: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12046: #    else
                   12047: #      ifdef RTLD_NOW
                   12048: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12049: #      else
                   12050: #        ifdef DL_NOW
                   12051: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12052: #        else
                   12053: #          define LT_DLLAZY_OR_NOW     0
                   12054: #        endif
                   12055: #      endif
                   12056: #    endif
                   12057: #  endif
                   12058: #endif
                   12059: 
1.1.1.4 ! misho    12060: /* When -fvisibility=hidden is used, assume the code has been annotated
1.1.1.2   misho    12061:    correspondingly for the symbols needed.  */
1.1.1.4 ! misho    12062: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1.1.1.2   misho    12063: int fnord () __attribute__((visibility("default")));
                   12064: #endif
                   12065: 
                   12066: int fnord () { return 42; }
                   12067: int main ()
                   12068: {
                   12069:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12070:   int status = $lt_dlunknown;
                   12071: 
                   12072:   if (self)
                   12073:     {
                   12074:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12075:       else
                   12076:         {
                   12077:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12078:           else puts (dlerror ());
                   12079:        }
                   12080:       /* dlclose (self); */
                   12081:     }
                   12082:   else
                   12083:     puts (dlerror ());
                   12084: 
                   12085:   return status;
                   12086: }
                   12087: _LT_EOF
                   12088:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   12089:   (eval $ac_link) 2>&5
                   12090:   ac_status=$?
                   12091:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1.1.4 ! misho    12092:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.1.1.2   misho    12093:     (./conftest; exit; ) >&5 2>/dev/null
                   12094:     lt_status=$?
                   12095:     case x$lt_status in
                   12096:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12097:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12098:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12099:     esac
                   12100:   else :
                   12101:     # compilation failed
                   12102:     lt_cv_dlopen_self_static=no
                   12103:   fi
                   12104: fi
                   12105: rm -fr conftest*
                   12106: 
                   12107: 
                   12108: fi
                   12109: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   12110: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   12111:     fi
                   12112: 
1.1.1.4 ! misho    12113:     CPPFLAGS=$save_CPPFLAGS
        !          12114:     LDFLAGS=$save_LDFLAGS
        !          12115:     LIBS=$save_LIBS
1.1.1.2   misho    12116:     ;;
                   12117:   esac
                   12118: 
                   12119:   case $lt_cv_dlopen_self in
                   12120:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12121:   *) enable_dlopen_self=unknown ;;
                   12122:   esac
                   12123: 
                   12124:   case $lt_cv_dlopen_self_static in
                   12125:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12126:   *) enable_dlopen_self_static=unknown ;;
                   12127:   esac
                   12128: fi
                   12129: 
                   12130: 
                   12131: 
                   12132: 
                   12133: 
                   12134: 
                   12135: 
                   12136: 
                   12137: 
                   12138: 
                   12139: 
                   12140: 
                   12141: 
                   12142: 
                   12143: 
                   12144: 
                   12145: 
                   12146: striplib=
                   12147: old_striplib=
                   12148: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12149: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   12150: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12151:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12152:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   12153:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12154: $as_echo "yes" >&6; }
                   12155: else
                   12156: # FIXME - insert some real tests, host_os isn't really good enough
                   12157:   case $host_os in
                   12158:   darwin*)
1.1.1.4 ! misho    12159:     if test -n "$STRIP"; then
1.1.1.2   misho    12160:       striplib="$STRIP -x"
                   12161:       old_striplib="$STRIP -S"
                   12162:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12163: $as_echo "yes" >&6; }
                   12164:     else
                   12165:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12166: $as_echo "no" >&6; }
                   12167:     fi
                   12168:     ;;
                   12169:   *)
                   12170:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12171: $as_echo "no" >&6; }
                   12172:     ;;
                   12173:   esac
                   12174: fi
                   12175: 
                   12176: 
                   12177: 
                   12178: 
                   12179: 
                   12180: 
                   12181: 
                   12182: 
                   12183: 
                   12184: 
                   12185: 
                   12186: 
1.1.1.4 ! misho    12187:   # Report what library types will actually be built
1.1.1.2   misho    12188:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12189: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12190:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12191: $as_echo "$can_build_shared" >&6; }
                   12192: 
                   12193:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12194: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.1.1.4 ! misho    12195:   test no = "$can_build_shared" && enable_shared=no
1.1.1.2   misho    12196: 
                   12197:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12198:   # are all built from PIC.
                   12199:   case $host_os in
                   12200:   aix3*)
1.1.1.4 ! misho    12201:     test yes = "$enable_shared" && enable_static=no
1.1.1.2   misho    12202:     if test -n "$RANLIB"; then
                   12203:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12204:       postinstall_cmds='$RANLIB $lib'
                   12205:     fi
                   12206:     ;;
                   12207: 
                   12208:   aix[4-9]*)
1.1.1.4 ! misho    12209:     if test ia64 != "$host_cpu"; then
        !          12210:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
        !          12211:       yes,aix,yes) ;;                  # shared object as lib.so file only
        !          12212:       yes,svr4,*) ;;                   # shared object as lib.so archive member only
        !          12213:       yes,*) enable_static=no ;;       # shared object in lib.a archive as well
        !          12214:       esac
1.1.1.2   misho    12215:     fi
                   12216:     ;;
                   12217:   esac
                   12218:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12219: $as_echo "$enable_shared" >&6; }
                   12220: 
                   12221:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12222: $as_echo_n "checking whether to build static libraries... " >&6; }
                   12223:   # Make sure either enable_shared or enable_static is yes.
1.1.1.4 ! misho    12224:   test yes = "$enable_shared" || enable_static=yes
1.1.1.2   misho    12225:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12226: $as_echo "$enable_static" >&6; }
                   12227: 
                   12228: 
                   12229: 
                   12230: 
                   12231: fi
                   12232: ac_ext=c
                   12233: ac_cpp='$CPP $CPPFLAGS'
                   12234: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12235: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12236: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12237: 
1.1.1.4 ! misho    12238: CC=$lt_save_CC
        !          12239: 
        !          12240: 
1.1.1.2   misho    12241: 
                   12242: 
                   12243: 
                   12244: 
                   12245: 
                   12246: 
                   12247: 
                   12248: 
                   12249: 
                   12250: 
                   12251: 
                   12252: 
                   12253: 
                   12254:         ac_config_commands="$ac_config_commands libtool"
                   12255: 
                   12256: 
                   12257: 
                   12258: 
                   12259: # Only expand once:
                   12260: 
                   12261: 
                   12262: 
1.1.1.4 ! misho    12263: #
        !          12264: # Check for headers
        !          12265: #
1.1.1.2   misho    12266: for ac_header in sys/sockio.h
                   12267: do :
                   12268:   ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
                   12269: if test "x$ac_cv_header_sys_sockio_h" = xyes; then :
                   12270:   cat >>confdefs.h <<_ACEOF
                   12271: #define HAVE_SYS_SOCKIO_H 1
                   12272: _ACEOF
                   12273: 
                   12274: fi
                   12275: 
                   12276: done
                   12277: 
                   12278: for ac_func in gethostbyname2
                   12279: do :
                   12280:   ac_fn_c_check_func "$LINENO" "gethostbyname2" "ac_cv_func_gethostbyname2"
                   12281: if test "x$ac_cv_func_gethostbyname2" = xyes; then :
                   12282:   cat >>confdefs.h <<_ACEOF
                   12283: #define HAVE_GETHOSTBYNAME2 1
                   12284: _ACEOF
                   12285: 
                   12286: fi
                   12287: done
                   12288: 
                   12289: for ac_func in getifaddrs
                   12290: do :
                   12291:   ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
                   12292: if test "x$ac_cv_func_getifaddrs" = xyes; then :
                   12293:   cat >>confdefs.h <<_ACEOF
                   12294: #define HAVE_GETIFADDRS 1
                   12295: _ACEOF
                   12296: 
                   12297: fi
                   12298: done
                   12299: 
                   12300: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   12301: case $ac_cv_c_uint16_t in #(
                   12302:   no|yes) ;; #(
                   12303:   *)
                   12304: 
                   12305: 
                   12306: cat >>confdefs.h <<_ACEOF
                   12307: #define uint16_t $ac_cv_c_uint16_t
                   12308: _ACEOF
                   12309: ;;
                   12310:   esac
                   12311: 
                   12312: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   12313: case $ac_cv_c_uint32_t in #(
                   12314:   no|yes) ;; #(
                   12315:   *)
                   12316: 
                   12317: $as_echo "#define _UINT32_T 1" >>confdefs.h
                   12318: 
                   12319: 
                   12320: cat >>confdefs.h <<_ACEOF
                   12321: #define uint32_t $ac_cv_c_uint32_t
                   12322: _ACEOF
                   12323: ;;
                   12324:   esac
                   12325: 
                   12326: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   12327: case $ac_cv_c_uint64_t in #(
                   12328:   no|yes) ;; #(
                   12329:   *)
                   12330: 
                   12331: $as_echo "#define _UINT64_T 1" >>confdefs.h
                   12332: 
                   12333: 
                   12334: cat >>confdefs.h <<_ACEOF
                   12335: #define uint64_t $ac_cv_c_uint64_t
                   12336: _ACEOF
                   12337: ;;
                   12338:   esac
                   12339: 
                   12340: 
1.1.1.4 ! misho    12341: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
        !          12342: $as_echo_n "checking for socklen_t... " >&6; }
        !          12343: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          12344: /* end confdefs.h.  */
        !          12345: 
        !          12346:         #include <sys/types.h>
        !          12347:         #include <sys/socket.h>
        !          12348: 
        !          12349: int
        !          12350: main ()
        !          12351: {
        !          12352:  socklen_t x;
        !          12353:   ;
        !          12354:   return 0;
        !          12355: }
        !          12356: _ACEOF
        !          12357: if ac_fn_c_try_compile "$LINENO"; then :
        !          12358:   have_socklen_t=yes
        !          12359: else
        !          12360:   have_socklen_t=no
        !          12361: fi
        !          12362: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          12363: if test "x$have_socklen_t" = "xyes"; then :
        !          12364: 
        !          12365: 
        !          12366: $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
1.1.1.2   misho    12367: 
1.1.1.4 ! misho    12368: fi
        !          12369: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_socklen_t" >&5
        !          12370: $as_echo "$have_socklen_t" >&6; }
        !          12371: 
        !          12372: #
        !          12373: # And some custom things
        !          12374: #
1.1.1.2   misho    12375:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   12376: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   12377: if ${ac_cv_c_bigendian+:} false; then :
                   12378:   $as_echo_n "(cached) " >&6
                   12379: else
                   12380:   ac_cv_c_bigendian=unknown
                   12381:     # See if we're dealing with a universal compiler.
                   12382:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12383: /* end confdefs.h.  */
                   12384: #ifndef __APPLE_CC__
                   12385:               not a universal capable compiler
                   12386:             #endif
                   12387:             typedef int dummy;
                   12388: 
                   12389: _ACEOF
                   12390: if ac_fn_c_try_compile "$LINENO"; then :
                   12391: 
                   12392:        # Check for potential -arch flags.  It is not universal unless
                   12393:        # there are at least two -arch flags with different values.
                   12394:        ac_arch=
                   12395:        ac_prev=
                   12396:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   12397:         if test -n "$ac_prev"; then
                   12398:           case $ac_word in
                   12399:             i?86 | x86_64 | ppc | ppc64)
                   12400:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   12401:                 ac_arch=$ac_word
                   12402:               else
                   12403:                 ac_cv_c_bigendian=universal
                   12404:                 break
                   12405:               fi
                   12406:               ;;
                   12407:           esac
                   12408:           ac_prev=
                   12409:         elif test "x$ac_word" = "x-arch"; then
                   12410:           ac_prev=arch
                   12411:         fi
                   12412:        done
                   12413: fi
                   12414: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12415:     if test $ac_cv_c_bigendian = unknown; then
                   12416:       # See if sys/param.h defines the BYTE_ORDER macro.
                   12417:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12418: /* end confdefs.h.  */
                   12419: #include <sys/types.h>
                   12420:             #include <sys/param.h>
                   12421: 
                   12422: int
                   12423: main ()
                   12424: {
                   12425: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   12426:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   12427:                     && LITTLE_ENDIAN)
                   12428:              bogus endian macros
                   12429:             #endif
                   12430: 
                   12431:   ;
                   12432:   return 0;
                   12433: }
                   12434: _ACEOF
                   12435: if ac_fn_c_try_compile "$LINENO"; then :
                   12436:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   12437:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12438: /* end confdefs.h.  */
                   12439: #include <sys/types.h>
                   12440:                #include <sys/param.h>
                   12441: 
                   12442: int
                   12443: main ()
                   12444: {
                   12445: #if BYTE_ORDER != BIG_ENDIAN
                   12446:                 not big endian
                   12447:                #endif
                   12448: 
                   12449:   ;
                   12450:   return 0;
                   12451: }
                   12452: _ACEOF
                   12453: if ac_fn_c_try_compile "$LINENO"; then :
                   12454:   ac_cv_c_bigendian=yes
                   12455: else
                   12456:   ac_cv_c_bigendian=no
                   12457: fi
                   12458: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12459: fi
                   12460: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12461:     fi
                   12462:     if test $ac_cv_c_bigendian = unknown; then
                   12463:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   12464:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12465: /* end confdefs.h.  */
                   12466: #include <limits.h>
                   12467: 
                   12468: int
                   12469: main ()
                   12470: {
                   12471: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   12472:              bogus endian macros
                   12473:             #endif
                   12474: 
                   12475:   ;
                   12476:   return 0;
                   12477: }
                   12478: _ACEOF
                   12479: if ac_fn_c_try_compile "$LINENO"; then :
                   12480:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   12481:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12482: /* end confdefs.h.  */
                   12483: #include <limits.h>
                   12484: 
                   12485: int
                   12486: main ()
                   12487: {
                   12488: #ifndef _BIG_ENDIAN
                   12489:                 not big endian
                   12490:                #endif
                   12491: 
                   12492:   ;
                   12493:   return 0;
                   12494: }
                   12495: _ACEOF
                   12496: if ac_fn_c_try_compile "$LINENO"; then :
                   12497:   ac_cv_c_bigendian=yes
                   12498: else
                   12499:   ac_cv_c_bigendian=no
                   12500: fi
                   12501: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12502: fi
                   12503: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12504:     fi
                   12505:     if test $ac_cv_c_bigendian = unknown; then
                   12506:       # Compile a test program.
                   12507:       if test "$cross_compiling" = yes; then :
                   12508:   # Try to guess by grepping values from an object file.
                   12509:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12510: /* end confdefs.h.  */
                   12511: short int ascii_mm[] =
                   12512:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   12513:                short int ascii_ii[] =
                   12514:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   12515:                int use_ascii (int i) {
                   12516:                  return ascii_mm[i] + ascii_ii[i];
                   12517:                }
                   12518:                short int ebcdic_ii[] =
                   12519:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   12520:                short int ebcdic_mm[] =
                   12521:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   12522:                int use_ebcdic (int i) {
                   12523:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   12524:                }
                   12525:                extern int foo;
                   12526: 
                   12527: int
                   12528: main ()
                   12529: {
                   12530: return use_ascii (foo) == use_ebcdic (foo);
                   12531:   ;
                   12532:   return 0;
                   12533: }
                   12534: _ACEOF
                   12535: if ac_fn_c_try_compile "$LINENO"; then :
                   12536:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   12537:              ac_cv_c_bigendian=yes
                   12538:            fi
                   12539:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   12540:              if test "$ac_cv_c_bigendian" = unknown; then
                   12541:                ac_cv_c_bigendian=no
                   12542:              else
                   12543:                # finding both strings is unlikely to happen, but who knows?
                   12544:                ac_cv_c_bigendian=unknown
                   12545:              fi
                   12546:            fi
                   12547: fi
                   12548: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12549: else
                   12550:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12551: /* end confdefs.h.  */
                   12552: $ac_includes_default
                   12553: int
                   12554: main ()
                   12555: {
                   12556: 
                   12557:             /* Are we little or big endian?  From Harbison&Steele.  */
                   12558:             union
                   12559:             {
                   12560:               long int l;
                   12561:               char c[sizeof (long int)];
                   12562:             } u;
                   12563:             u.l = 1;
                   12564:             return u.c[sizeof (long int) - 1] == 1;
                   12565: 
                   12566:   ;
                   12567:   return 0;
                   12568: }
                   12569: _ACEOF
                   12570: if ac_fn_c_try_run "$LINENO"; then :
                   12571:   ac_cv_c_bigendian=no
                   12572: else
                   12573:   ac_cv_c_bigendian=yes
                   12574: fi
                   12575: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   12576:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   12577: fi
                   12578: 
                   12579:     fi
                   12580: fi
                   12581: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   12582: $as_echo "$ac_cv_c_bigendian" >&6; }
                   12583:  case $ac_cv_c_bigendian in #(
                   12584:    yes)
                   12585:      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
                   12586: ;; #(
                   12587:    no)
                   12588:       ;; #(
                   12589:    universal)
                   12590: 
                   12591: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
                   12592: 
                   12593:      ;; #(
                   12594:    *)
                   12595:      as_fn_error $? "unknown endianness
                   12596:  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
                   12597:  esac
                   12598: 
                   12599:        if test $ac_cv_c_bigendian = yes ; then
                   12600: 
                   12601: $as_echo "#define LIBNET_BIG_ENDIAN 1" >>confdefs.h
                   12602: 
                   12603:             ENDIANESS="LIBNET_BIG_ENDIAN"
1.1.1.4 ! misho    12604:             PKG_CONFIG_DEFINES="$PKG_CONFIG_DEFINES -DLIBNET_BIG_ENDIAN"
1.1.1.2   misho    12605:         else
                   12606: 
                   12607: $as_echo "#define LIBNET_LIL_ENDIAN 1" >>confdefs.h
                   12608: 
                   12609:             ENDIANESS="LIBNET_LIL_ENDIAN"
1.1.1.4 ! misho    12610:             PKG_CONFIG_DEFINES="$PKG_CONFIG_DEFINES -DLIBNET_LIL_ENDIAN"
1.1.1.2   misho    12611:         fi
                   12612: 
                   12613: 
                   12614: 
                   12615: 
                   12616: 
                   12617: 
                   12618: 
                   12619: 
                   12620: 
1.1.1.4 ! misho    12621: # Get link-layer interface type
1.1.1.2   misho    12622: 
                   12623: # Check whether --with-link-layer was given.
                   12624: if test "${with_link_layer+set}" = set; then :
                   12625:   withval=$with_link_layer;
                   12626: fi
                   12627: 
                   12628: 
                   12629: for ac_header in net/pfilt.h sys/net/nit.h net/raw.h sys/dlpi.h linux/socket.h
                   12630: do :
                   12631:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   12632: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   12633: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   12634:   cat >>confdefs.h <<_ACEOF
                   12635: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   12636: _ACEOF
                   12637: 
                   12638: fi
                   12639: 
                   12640: done
                   12641: 
                   12642: 
                   12643: { $as_echo "$as_me:${as_lineno-$LINENO}: checking link-layer packet interface type" >&5
                   12644: $as_echo_n "checking link-layer packet interface type... " >&6; }
                   12645: 
1.1.1.4 ! misho    12646: if test -n "${with_link_layer}"; then :
        !          12647: 
        !          12648:     case ${with_link_layer} in #(
        !          12649:   bpf) :
        !          12650:     case " $LIBOBJS " in
1.1.1.2   misho    12651:   *" libnet_link_bpf.$ac_objext "* ) ;;
                   12652:   *) LIBOBJS="$LIBOBJS libnet_link_bpf.$ac_objext"
                   12653:  ;;
                   12654: esac
1.1.1.4 ! misho    12655:  ;; #(
        !          12656:   pf) :
        !          12657:     case " $LIBOBJS " in
1.1.1.2   misho    12658:   *" libnet_link_pf.$ac_objext "* ) ;;
                   12659:   *) LIBOBJS="$LIBOBJS libnet_link_pf.$ac_objext"
                   12660:  ;;
                   12661: esac
1.1.1.4 ! misho    12662:  ;; #(
        !          12663:   snit) :
        !          12664:     case " $LIBOBJS " in
1.1.1.2   misho    12665:   *" libnet_link_snit.$ac_objext "* ) ;;
                   12666:   *) LIBOBJS="$LIBOBJS libnet_link_snit.$ac_objext"
                   12667:  ;;
                   12668: esac
1.1.1.4 ! misho    12669:  ;; #(
        !          12670:   nit) :
        !          12671:     case " $LIBOBJS " in
1.1.1.2   misho    12672:   *" libnet_link_nit.$ac_objext "* ) ;;
                   12673:   *) LIBOBJS="$LIBOBJS libnet_link_nit.$ac_objext"
                   12674:  ;;
                   12675: esac
1.1.1.4 ! misho    12676:  ;; #(
        !          12677:   snoop) :
        !          12678:     case " $LIBOBJS " in
1.1.1.2   misho    12679:   *" libnet_link_snoop.$ac_objext "* ) ;;
                   12680:   *) LIBOBJS="$LIBOBJS libnet_link_snoop.$ac_objext"
                   12681:  ;;
                   12682: esac
1.1.1.4 ! misho    12683:  ;; #(
        !          12684:   dlpi) :
        !          12685:     case " $LIBOBJS " in
1.1.1.2   misho    12686:   *" libnet_link_dlpi.$ac_objext "* ) ;;
                   12687:   *) LIBOBJS="$LIBOBJS libnet_link_dlpi.$ac_objext"
                   12688:  ;;
                   12689: esac
1.1.1.4 ! misho    12690:  ;; #(
        !          12691:   win32) :
        !          12692:     case " $LIBOBJS " in
        !          12693:   *" libnet_link_win32.$ac_objext "* ) ;;
        !          12694:   *) LIBOBJS="$LIBOBJS libnet_link_win32.$ac_objext"
        !          12695:  ;;
        !          12696: esac
        !          12697:  ;; #(
        !          12698:   none) :
        !          12699:     case " $LIBOBJS " in
        !          12700:   *" libnet_link_none.$ac_objext "* ) ;;
        !          12701:   *) LIBOBJS="$LIBOBJS libnet_link_none.$ac_objext"
1.1.1.2   misho    12702:  ;;
1.1.1.4 ! misho    12703: esac
        !          12704:  ;; #(
        !          12705:   linux) :
        !          12706:     case " $LIBOBJS " in
1.1.1.2   misho    12707:   *" libnet_link_linux.$ac_objext "* ) ;;
                   12708:   *) LIBOBJS="$LIBOBJS libnet_link_linux.$ac_objext"
                   12709:  ;;
                   12710: esac
                   12711: 
                   12712: 
                   12713:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for packet socket (PF_PACKET)" >&5
                   12714: $as_echo_n "checking for packet socket (PF_PACKET)... " >&6; }
                   12715:     if ${libnet_cv_have_packet_socket+:} false; then :
                   12716:   $as_echo_n "(cached) " >&6
                   12717: else
                   12718: 
                   12719:     cat > pf_packet-test.c << EOF
                   12720: #include <stdio.h>
                   12721: #include <errno.h>
                   12722: #include <stdlib.h>
                   12723: #include <netinet/in.h>
                   12724: #include <sys/socket.h>
                   12725: #include <features.h>    /* for the glibc version number */
                   12726: #if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1
                   12727: #include <netpacket/packet.h>
                   12728: #include <net/ethernet.h>     /* the L2 protocols */
                   12729: #else
                   12730: #include <asm/types.h>
                   12731: #include <linux/if_packet.h>
                   12732: #include <linux/if_ether.h>   /* The L2 protocols */
                   12733: #endif
                   12734: 
                   12735: #ifndef SOL_PACKET
                   12736: #define SOL_PACKET 263
                   12737: #endif  /* SOL_PACKET */
                   12738: 
                   12739: int
                   12740: main(int argc, char **argv)
                   12741: {
                   12742:     int fd;
                   12743: 
                   12744:     fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
                   12745:     if (fd == -1)
                   12746:     {
                   12747:         if (errno == EPERM)
                   12748:         {
                   12749:             /* user's UID != 0 */
                   12750:             printf("probably");
                   12751:             exit (EXIT_FAILURE);
                   12752:         }
                   12753:         printf("no");
                   12754:         exit (EXIT_FAILURE);
                   12755:     }
                   12756:     printf("yes");
                   12757:     exit (EXIT_SUCCESS);
                   12758: }
                   12759: EOF
                   12760:     ${CC-cc} -o pf_packet-test $CFLAGS pf_packet-test.c >/dev/null 2>&1
                   12761: 
                   12762:     # Oopz 4.3 BSD doesn't have this.  Sorry.
                   12763:     if test ! -x ./pf_packet-test ; then
                   12764:         libnet_cv_have_packet_socket=choked
                   12765:     else
                   12766:         libnet_cv_have_packet_socket=`./pf_packet-test`;
                   12767:     fi
                   12768:     if test $libnet_cv_have_packet_socket = choked; then
                   12769:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: test program compile choked... assuming no" >&5
                   12770: $as_echo "test program compile choked... assuming no" >&6; }
                   12771:     elif test $libnet_cv_have_packet_socket = yes; then
                   12772:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12773: $as_echo "yes" >&6; }
                   12774:     elif test $libnet_cv_have_packet_socket = probably; then
                   12775:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: test program got EPERM... assuming yes" >&5
                   12776: $as_echo "test program got EPERM... assuming yes" >&6; }
                   12777:     elif test $libnet_cv_have_packet_socket = no; then
                   12778:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12779: $as_echo "no" >&6; }
                   12780:     fi
                   12781: 
                   12782:     rm -f pf_packet-test* core core.pf_packet-test
                   12783: 
                   12784: 
                   12785: fi
                   12786: 
                   12787: 
                   12788:     if test $libnet_cv_have_packet_socket = yes -o $libnet_cv_have_packet_socket = probably; then
                   12789: 
                   12790: $as_echo "#define HAVE_PACKET_SOCKET 1" >>confdefs.h
                   12791: 
                   12792:     fi
                   12793: 
1.1.1.4 ! misho    12794:                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux proc filesystem" >&5
1.1.1.2   misho    12795: $as_echo_n "checking for Linux proc filesystem... " >&6; }
                   12796:     if ${ac_cv_libnet_linux_procfs+:} false; then :
                   12797:   $as_echo_n "(cached) " >&6
                   12798: else
                   12799:   if test "x`cat /proc/sys/kernel/ostype 2>&-`" = "xLinux" ; then
                   12800:             ac_cv_libnet_linux_procfs=yes
                   12801:         else
                   12802:             ac_cv_libnet_linux_procfs=no
                   12803:         fi
                   12804: fi
                   12805: 
                   12806:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libnet_linux_procfs" >&5
                   12807: $as_echo "$ac_cv_libnet_linux_procfs" >&6; }
                   12808:     if test $ac_cv_libnet_linux_procfs = yes ; then
                   12809: 
                   12810: $as_echo "#define HAVE_LINUX_PROCFS 1" >>confdefs.h
                   12811: 
1.1.1.4 ! misho    12812:     fi ;; #(
        !          12813:   *) :
        !          12814:     as_fn_error $? "Invalid link type \"${with_link_layer}\"" "$LINENO" 5 ;;
1.1.1.2   misho    12815: esac
1.1.1.4 ! misho    12816:      { $as_echo "$as_me:${as_lineno-$LINENO}: result: user selected link layer ${with_link_layer}" >&5
1.1.1.2   misho    12817: $as_echo "user selected link layer ${with_link_layer}" >&6; }
1.1.1.4 ! misho    12818: elif test "${cross_compiling}" != "yes" -a -r /dev/bpf0; then :
        !          12819: 
1.1.1.2   misho    12820:     case " $LIBOBJS " in
                   12821:   *" libnet_link_bpf.$ac_objext "* ) ;;
                   12822:   *) LIBOBJS="$LIBOBJS libnet_link_bpf.$ac_objext"
                   12823:  ;;
                   12824: esac
                   12825: 
                   12826:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer bpf" >&5
                   12827: $as_echo "found link layer bpf" >&6; }
1.1.1.4 ! misho    12828: elif test "${ac_cv_header_net_pfilt_h}" = "yes"; then :
        !          12829: 
1.1.1.2   misho    12830:     case " $LIBOBJS " in
                   12831:   *" libnet_link_pf.$ac_objext "* ) ;;
                   12832:   *) LIBOBJS="$LIBOBJS libnet_link_pf.$ac_objext"
                   12833:  ;;
                   12834: esac
                   12835: 
                   12836:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer pf" >&5
                   12837: $as_echo "found link layer pf" >&6; }
1.1.1.4 ! misho    12838: elif test "${cross_compiling}" != "yes" -a -r /dev/nit; then :
        !          12839: 
1.1.1.2   misho    12840:     case " $LIBOBJS " in
                   12841:   *" libnet_link_snit.$ac_objext "* ) ;;
                   12842:   *) LIBOBJS="$LIBOBJS libnet_link_snit.$ac_objext"
                   12843:  ;;
                   12844: esac
                   12845: 
                   12846:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer snit" >&5
                   12847: $as_echo "found link layer snit" >&6; }
1.1.1.4 ! misho    12848: elif test "${ac_cv_header_sys_net_nit_h}" = "yes"; then :
        !          12849: 
1.1.1.2   misho    12850:     case " $LIBOBJS " in
                   12851:   *" libnet_link_nit.$ac_objext "* ) ;;
                   12852:   *) LIBOBJS="$LIBOBJS libnet_link_nit.$ac_objext"
                   12853:  ;;
                   12854: esac
                   12855: 
                   12856:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer nit" >&5
                   12857: $as_echo "found link layer nit" >&6; }
1.1.1.4 ! misho    12858: elif test "${ac_cv_header_net_raw_h}" = "yes"; then :
        !          12859: 
1.1.1.2   misho    12860:     case " $LIBOBJS " in
                   12861:   *" libnet_link_snoop.$ac_objext "* ) ;;
                   12862:   *) LIBOBJS="$LIBOBJS libnet_link_snoop.$ac_objext"
                   12863:  ;;
                   12864: esac
                   12865: 
                   12866:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer snoop" >&5
                   12867: $as_echo "found link layer snoop" >&6; }
1.1.1.4 ! misho    12868: elif test "${ac_cv_header_sys_dlpi_h}" = "yes"; then :
        !          12869: 
1.1.1.2   misho    12870:     case " $LIBOBJS " in
                   12871:   *" libnet_link_dlpi.$ac_objext "* ) ;;
                   12872:   *) LIBOBJS="$LIBOBJS libnet_link_dlpi.$ac_objext"
                   12873:  ;;
                   12874: esac
                   12875: 
                   12876:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer dlpi" >&5
                   12877: $as_echo "found link layer dlpi" >&6; }
                   12878: 
                   12879: $as_echo "#define HAVE_DLPI 1" >>confdefs.h
                   12880: 
1.1.1.4 ! misho    12881: elif test "${ac_cv_header_linux_socket_h}" = "yes"; then :
        !          12882: 
1.1.1.2   misho    12883:     case " $LIBOBJS " in
                   12884:   *" libnet_link_linux.$ac_objext "* ) ;;
                   12885:   *) LIBOBJS="$LIBOBJS libnet_link_linux.$ac_objext"
                   12886:  ;;
                   12887: esac
                   12888: 
                   12889:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer linux" >&5
                   12890: $as_echo "found link layer linux" >&6; }
                   12891: 
                   12892:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for packet socket (PF_PACKET)" >&5
                   12893: $as_echo_n "checking for packet socket (PF_PACKET)... " >&6; }
                   12894:     if ${libnet_cv_have_packet_socket+:} false; then :
                   12895:   $as_echo_n "(cached) " >&6
                   12896: else
                   12897: 
                   12898:     cat > pf_packet-test.c << EOF
                   12899: #include <stdio.h>
                   12900: #include <errno.h>
                   12901: #include <stdlib.h>
                   12902: #include <netinet/in.h>
                   12903: #include <sys/socket.h>
                   12904: #include <features.h>    /* for the glibc version number */
                   12905: #if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1
                   12906: #include <netpacket/packet.h>
                   12907: #include <net/ethernet.h>     /* the L2 protocols */
                   12908: #else
                   12909: #include <asm/types.h>
                   12910: #include <linux/if_packet.h>
                   12911: #include <linux/if_ether.h>   /* The L2 protocols */
                   12912: #endif
                   12913: 
                   12914: #ifndef SOL_PACKET
                   12915: #define SOL_PACKET 263
                   12916: #endif  /* SOL_PACKET */
                   12917: 
                   12918: int
                   12919: main(int argc, char **argv)
                   12920: {
                   12921:     int fd;
                   12922: 
                   12923:     fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
                   12924:     if (fd == -1)
                   12925:     {
                   12926:         if (errno == EPERM)
                   12927:         {
                   12928:             /* user's UID != 0 */
                   12929:             printf("probably");
                   12930:             exit (EXIT_FAILURE);
                   12931:         }
                   12932:         printf("no");
                   12933:         exit (EXIT_FAILURE);
                   12934:     }
                   12935:     printf("yes");
                   12936:     exit (EXIT_SUCCESS);
                   12937: }
                   12938: EOF
                   12939:     ${CC-cc} -o pf_packet-test $CFLAGS pf_packet-test.c >/dev/null 2>&1
                   12940: 
                   12941:     # Oopz 4.3 BSD doesn't have this.  Sorry.
                   12942:     if test ! -x ./pf_packet-test ; then
                   12943:         libnet_cv_have_packet_socket=choked
                   12944:     else
                   12945:         libnet_cv_have_packet_socket=`./pf_packet-test`;
                   12946:     fi
                   12947:     if test $libnet_cv_have_packet_socket = choked; then
                   12948:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: test program compile choked... assuming no" >&5
                   12949: $as_echo "test program compile choked... assuming no" >&6; }
                   12950:     elif test $libnet_cv_have_packet_socket = yes; then
                   12951:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12952: $as_echo "yes" >&6; }
                   12953:     elif test $libnet_cv_have_packet_socket = probably; then
                   12954:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: test program got EPERM... assuming yes" >&5
                   12955: $as_echo "test program got EPERM... assuming yes" >&6; }
                   12956:     elif test $libnet_cv_have_packet_socket = no; then
                   12957:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12958: $as_echo "no" >&6; }
                   12959:     fi
                   12960: 
                   12961:     rm -f pf_packet-test* core core.pf_packet-test
                   12962: 
                   12963: 
                   12964: fi
                   12965: 
                   12966: 
                   12967:     if test $libnet_cv_have_packet_socket = yes -o $libnet_cv_have_packet_socket = probably; then
                   12968: 
                   12969: $as_echo "#define HAVE_PACKET_SOCKET 1" >>confdefs.h
                   12970: 
                   12971:     fi
                   12972: 
                   12973:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux proc filesystem" >&5
                   12974: $as_echo_n "checking for Linux proc filesystem... " >&6; }
                   12975:     if ${ac_cv_libnet_linux_procfs+:} false; then :
                   12976:   $as_echo_n "(cached) " >&6
                   12977: else
                   12978:   if test "x`cat /proc/sys/kernel/ostype 2>&-`" = "xLinux" ; then
                   12979:             ac_cv_libnet_linux_procfs=yes
                   12980:         else
                   12981:             ac_cv_libnet_linux_procfs=no
                   12982:         fi
                   12983: fi
                   12984: 
                   12985:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libnet_linux_procfs" >&5
                   12986: $as_echo "$ac_cv_libnet_linux_procfs" >&6; }
                   12987:     if test $ac_cv_libnet_linux_procfs = yes ; then
                   12988: 
                   12989: $as_echo "#define HAVE_LINUX_PROCFS 1" >>confdefs.h
                   12990: 
                   12991:     fi
1.1.1.4 ! misho    12992: elif test "${cross_compiling}" != "yes" -a -c /dev/bpf0; then :
        !          12993: 
        !          12994:     # check again in case not readable
1.1.1.2   misho    12995:     case " $LIBOBJS " in
                   12996:   *" libnet_link_bpf.$ac_objext "* ) ;;
                   12997:   *) LIBOBJS="$LIBOBJS libnet_link_bpf.$ac_objext"
                   12998:  ;;
                   12999: esac
                   13000: 
                   13001:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer bpf" >&5
                   13002: $as_echo "found link layer bpf" >&6; }
1.1.1.4 ! misho    13003: elif test "${cross_compiling}" != "yes" -a -c /dev/nit; then :
        !          13004: 
        !          13005:     # check again in case not readable
1.1.1.2   misho    13006:     case " $LIBOBJS " in
                   13007:   *" libnet_link_snit.$ac_objext "* ) ;;
                   13008:   *) LIBOBJS="$LIBOBJS libnet_link_snit.$ac_objext"
                   13009:  ;;
                   13010: esac
                   13011: 
                   13012:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer snit" >&5
                   13013: $as_echo "found link layer snit" >&6; }
1.1.1.4 ! misho    13014: elif test "$target_os" = "cygwin"; then :
        !          13015: 
1.1.1.2   misho    13016:     case " $LIBOBJS " in
                   13017:   *" libnet_link_win32.$ac_objext "* ) ;;
                   13018:   *) LIBOBJS="$LIBOBJS libnet_link_win32.$ac_objext"
                   13019:  ;;
                   13020: esac
                   13021: 
                   13022:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer win32 wpcap" >&5
                   13023: $as_echo "found link layer win32 wpcap" >&6; }
1.1.1.4 ! misho    13024: elif test "$host" = "i686-w64-mingw32" -o "x86_64-w64-mingw32" -o "x86_64-pc-mingw64"; then :
        !          13025: 
        !          13026:     case " $LIBOBJS " in
        !          13027:   *" libnet_link_win32.$ac_objext "* ) ;;
        !          13028:   *) LIBOBJS="$LIBOBJS libnet_link_win32.$ac_objext"
        !          13029:  ;;
        !          13030: esac
        !          13031: 
        !          13032:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found link layer win32 [WinPcap]" >&5
        !          13033: $as_echo "found link layer win32 [WinPcap]" >&6; }
1.1.1.2   misho    13034: else
1.1.1.4 ! misho    13035: 
1.1.1.2   misho    13036:     case " $LIBOBJS " in
                   13037:   *" libnet_link_none.$ac_objext "* ) ;;
                   13038:   *) LIBOBJS="$LIBOBJS libnet_link_none.$ac_objext"
                   13039:  ;;
                   13040: esac
                   13041: 
                   13042:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find a link-layer packet interface" >&5
                   13043: $as_echo "$as_me: WARNING: could not find a link-layer packet interface" >&2;}
                   13044:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: link-layer packet injection will not be available" >&5
                   13045: $as_echo "$as_me: WARNING: link-layer packet injection will not be available" >&2;}
                   13046: fi
                   13047: 
1.1.1.4 ! misho    13048: # Check for Doxygen and enable its features.
        !          13049: # For details, see m4/ax_prog_doxygen.m4 and
        !          13050: # http://www.bioinf.uni-freiburg.de/~mmann/HowTo/automake.html#doxygenSupport
1.1.1.2   misho    13051: 
                   13052: 
                   13053: 
                   13054: 
                   13055: 
                   13056: 
                   13057: 
                   13058: 
                   13059: 
                   13060: 
                   13061: 
                   13062: 
1.1.1.4 ! misho    13063: # Files:
        !          13064: DX_PROJECT=${PACKAGE_NAME}
1.1.1.2   misho    13065: 
1.1.1.4 ! misho    13066: DX_CONFIG='${top_builddir}/Doxyfile'
1.1.1.2   misho    13067: 
1.1.1.4 ! misho    13068: DX_DOCDIR='doc'
1.1.1.2   misho    13069: 
                   13070: 
1.1.1.4 ! misho    13071: # Environment variables used inside doxygen.cfg:
        !          13072: DX_ENV="$DX_ENV SRCDIR='$srcdir'"
        !          13073: SRCDIR=$srcdir
1.1.1.2   misho    13074: 
1.1.1.4 ! misho    13075: DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
        !          13076: PROJECT=$DX_PROJECT
1.1.1.2   misho    13077: 
1.1.1.4 ! misho    13078: DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
1.1.1.2   misho    13079: 
                   13080: 
1.1.1.4 ! misho    13081: # Doxygen itself:
1.1.1.2   misho    13082: 
                   13083: 
                   13084: 
1.1.1.4 ! misho    13085:     # Check whether --enable-doxygen-doc was given.
        !          13086: if test "${enable_doxygen_doc+set}" = set; then :
        !          13087:   enableval=$enable_doxygen_doc;
        !          13088: case "$enableval" in
        !          13089: #(
        !          13090: y|Y|yes|Yes|YES)
        !          13091:     DX_FLAG_doc=1
1.1.1.2   misho    13092: 
                   13093: 
1.1.1.4 ! misho    13094: ;; #(
        !          13095: n|N|no|No|NO)
        !          13096:     DX_FLAG_doc=0
1.1.1.2   misho    13097: 
1.1.1.4 ! misho    13098: ;; #(
        !          13099: *)
        !          13100:     as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
        !          13101: ;;
        !          13102: esac
1.1.1.2   misho    13103: 
1.1.1.4 ! misho    13104: else
1.1.1.2   misho    13105: 
1.1.1.4 ! misho    13106: DX_FLAG_doc=1
1.1.1.2   misho    13107: 
                   13108: 
                   13109: 
1.1.1.4 ! misho    13110: fi
1.1.1.2   misho    13111: 
1.1.1.4 ! misho    13112: if test "$DX_FLAG_doc" = 1; then
1.1.1.2   misho    13113: 
1.1.1.4 ! misho    13114: if test -n "$ac_tool_prefix"; then
        !          13115:   # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
        !          13116: set dummy ${ac_tool_prefix}doxygen; ac_word=$2
        !          13117: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          13118: $as_echo_n "checking for $ac_word... " >&6; }
        !          13119: if ${ac_cv_path_DX_DOXYGEN+:} false; then :
        !          13120:   $as_echo_n "(cached) " >&6
        !          13121: else
        !          13122:   case $DX_DOXYGEN in
        !          13123:   [\\/]* | ?:[\\/]*)
        !          13124:   ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
        !          13125:   ;;
        !          13126:   *)
        !          13127:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          13128: for as_dir in $PATH
        !          13129: do
        !          13130:   IFS=$as_save_IFS
        !          13131:   test -z "$as_dir" && as_dir=.
        !          13132:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          13133:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          13134:     ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
        !          13135:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          13136:     break 2
        !          13137:   fi
        !          13138: done
        !          13139:   done
        !          13140: IFS=$as_save_IFS
1.1.1.2   misho    13141: 
1.1.1.4 ! misho    13142:   ;;
        !          13143: esac
        !          13144: fi
        !          13145: DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
        !          13146: if test -n "$DX_DOXYGEN"; then
        !          13147:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
        !          13148: $as_echo "$DX_DOXYGEN" >&6; }
        !          13149: else
        !          13150:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13151: $as_echo "no" >&6; }
        !          13152: fi
1.1.1.2   misho    13153: 
                   13154: 
1.1.1.4 ! misho    13155: fi
        !          13156: if test -z "$ac_cv_path_DX_DOXYGEN"; then
        !          13157:   ac_pt_DX_DOXYGEN=$DX_DOXYGEN
        !          13158:   # Extract the first word of "doxygen", so it can be a program name with args.
        !          13159: set dummy doxygen; ac_word=$2
        !          13160: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          13161: $as_echo_n "checking for $ac_word... " >&6; }
        !          13162: if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
        !          13163:   $as_echo_n "(cached) " >&6
        !          13164: else
        !          13165:   case $ac_pt_DX_DOXYGEN in
        !          13166:   [\\/]* | ?:[\\/]*)
        !          13167:   ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
        !          13168:   ;;
        !          13169:   *)
        !          13170:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          13171: for as_dir in $PATH
        !          13172: do
        !          13173:   IFS=$as_save_IFS
        !          13174:   test -z "$as_dir" && as_dir=.
        !          13175:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          13176:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          13177:     ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
        !          13178:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          13179:     break 2
        !          13180:   fi
        !          13181: done
        !          13182:   done
        !          13183: IFS=$as_save_IFS
1.1.1.2   misho    13184: 
1.1.1.4 ! misho    13185:   ;;
        !          13186: esac
        !          13187: fi
        !          13188: ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
        !          13189: if test -n "$ac_pt_DX_DOXYGEN"; then
        !          13190:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
        !          13191: $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
        !          13192: else
        !          13193:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13194: $as_echo "no" >&6; }
        !          13195: fi
1.1.1.2   misho    13196: 
1.1.1.4 ! misho    13197:   if test "x$ac_pt_DX_DOXYGEN" = x; then
        !          13198:     DX_DOXYGEN=""
        !          13199:   else
        !          13200:     case $cross_compiling:$ac_tool_warned in
        !          13201: yes:)
        !          13202: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          13203: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          13204: ac_tool_warned=yes ;;
        !          13205: esac
        !          13206:     DX_DOXYGEN=$ac_pt_DX_DOXYGEN
        !          13207:   fi
        !          13208: else
        !          13209:   DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
        !          13210: fi
1.1.1.2   misho    13211: 
1.1.1.4 ! misho    13212: if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
        !          13213:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
        !          13214: $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
        !          13215:     DX_FLAG_doc=0
1.1.1.2   misho    13216: 
1.1.1.4 ! misho    13217: fi
        !          13218: 
        !          13219: 
        !          13220: if test -n "$ac_tool_prefix"; then
        !          13221:   # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
        !          13222: set dummy ${ac_tool_prefix}perl; ac_word=$2
        !          13223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          13224: $as_echo_n "checking for $ac_word... " >&6; }
        !          13225: if ${ac_cv_path_DX_PERL+:} false; then :
        !          13226:   $as_echo_n "(cached) " >&6
        !          13227: else
        !          13228:   case $DX_PERL in
        !          13229:   [\\/]* | ?:[\\/]*)
        !          13230:   ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
        !          13231:   ;;
        !          13232:   *)
        !          13233:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          13234: for as_dir in $PATH
        !          13235: do
        !          13236:   IFS=$as_save_IFS
        !          13237:   test -z "$as_dir" && as_dir=.
        !          13238:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          13239:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          13240:     ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
        !          13241:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          13242:     break 2
        !          13243:   fi
        !          13244: done
        !          13245:   done
        !          13246: IFS=$as_save_IFS
        !          13247: 
        !          13248:   ;;
        !          13249: esac
        !          13250: fi
        !          13251: DX_PERL=$ac_cv_path_DX_PERL
        !          13252: if test -n "$DX_PERL"; then
        !          13253:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
        !          13254: $as_echo "$DX_PERL" >&6; }
        !          13255: else
        !          13256:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13257: $as_echo "no" >&6; }
        !          13258: fi
        !          13259: 
        !          13260: 
        !          13261: fi
        !          13262: if test -z "$ac_cv_path_DX_PERL"; then
        !          13263:   ac_pt_DX_PERL=$DX_PERL
        !          13264:   # Extract the first word of "perl", so it can be a program name with args.
        !          13265: set dummy perl; ac_word=$2
        !          13266: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          13267: $as_echo_n "checking for $ac_word... " >&6; }
        !          13268: if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
        !          13269:   $as_echo_n "(cached) " >&6
        !          13270: else
        !          13271:   case $ac_pt_DX_PERL in
        !          13272:   [\\/]* | ?:[\\/]*)
        !          13273:   ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
        !          13274:   ;;
        !          13275:   *)
        !          13276:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          13277: for as_dir in $PATH
        !          13278: do
        !          13279:   IFS=$as_save_IFS
        !          13280:   test -z "$as_dir" && as_dir=.
        !          13281:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          13282:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          13283:     ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
        !          13284:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          13285:     break 2
        !          13286:   fi
        !          13287: done
        !          13288:   done
        !          13289: IFS=$as_save_IFS
        !          13290: 
        !          13291:   ;;
        !          13292: esac
        !          13293: fi
        !          13294: ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
        !          13295: if test -n "$ac_pt_DX_PERL"; then
        !          13296:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
        !          13297: $as_echo "$ac_pt_DX_PERL" >&6; }
        !          13298: else
        !          13299:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13300: $as_echo "no" >&6; }
        !          13301: fi
        !          13302: 
        !          13303:   if test "x$ac_pt_DX_PERL" = x; then
        !          13304:     DX_PERL=""
        !          13305:   else
        !          13306:     case $cross_compiling:$ac_tool_warned in
        !          13307: yes:)
        !          13308: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          13309: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          13310: ac_tool_warned=yes ;;
        !          13311: esac
        !          13312:     DX_PERL=$ac_pt_DX_PERL
        !          13313:   fi
        !          13314: else
        !          13315:   DX_PERL="$ac_cv_path_DX_PERL"
        !          13316: fi
        !          13317: 
        !          13318: if test "$DX_FLAG_doc$DX_PERL" = 1; then
        !          13319:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
        !          13320: $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
        !          13321:     DX_FLAG_doc=0
        !          13322: 
        !          13323: fi
        !          13324: 
        !          13325:     :
        !          13326: fi
        !          13327: if test "$DX_FLAG_doc" = 1; then
        !          13328:     DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
        !          13329: PERL_PATH=$DX_PERL
        !          13330: 
        !          13331:     :
        !          13332: else
        !          13333: 
        !          13334:     :
        !          13335: fi
        !          13336: 
        !          13337: 
        !          13338: # Dot for graphics:
        !          13339: 
        !          13340: 
        !          13341: 
        !          13342:     # Check whether --enable-doxygen-dot was given.
        !          13343: if test "${enable_doxygen_dot+set}" = set; then :
        !          13344:   enableval=$enable_doxygen_dot;
        !          13345: case "$enableval" in
        !          13346: #(
        !          13347: y|Y|yes|Yes|YES)
        !          13348:     DX_FLAG_dot=1
        !          13349: 
        !          13350: 
        !          13351: test "$DX_FLAG_doc" = "1" \
        !          13352: || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
        !          13353: 
        !          13354: ;; #(
        !          13355: n|N|no|No|NO)
        !          13356:     DX_FLAG_dot=0
        !          13357: 
        !          13358: ;; #(
        !          13359: *)
        !          13360:     as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
        !          13361: ;;
        !          13362: esac
        !          13363: 
        !          13364: else
        !          13365: 
        !          13366: DX_FLAG_dot=1
        !          13367: 
        !          13368: 
        !          13369: test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
        !          13370: 
        !          13371: 
        !          13372: 
        !          13373: fi
        !          13374: 
        !          13375: if test "$DX_FLAG_dot" = 1; then
        !          13376: 
        !          13377: if test -n "$ac_tool_prefix"; then
        !          13378:   # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
        !          13379: set dummy ${ac_tool_prefix}dot; ac_word=$2
        !          13380: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          13381: $as_echo_n "checking for $ac_word... " >&6; }
        !          13382: if ${ac_cv_path_DX_DOT+:} false; then :
        !          13383:   $as_echo_n "(cached) " >&6
        !          13384: else
        !          13385:   case $DX_DOT in
        !          13386:   [\\/]* | ?:[\\/]*)
        !          13387:   ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
        !          13388:   ;;
        !          13389:   *)
        !          13390:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          13391: for as_dir in $PATH
        !          13392: do
        !          13393:   IFS=$as_save_IFS
        !          13394:   test -z "$as_dir" && as_dir=.
        !          13395:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          13396:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          13397:     ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
        !          13398:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          13399:     break 2
        !          13400:   fi
        !          13401: done
        !          13402:   done
        !          13403: IFS=$as_save_IFS
        !          13404: 
        !          13405:   ;;
        !          13406: esac
        !          13407: fi
        !          13408: DX_DOT=$ac_cv_path_DX_DOT
        !          13409: if test -n "$DX_DOT"; then
        !          13410:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
        !          13411: $as_echo "$DX_DOT" >&6; }
        !          13412: else
        !          13413:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13414: $as_echo "no" >&6; }
        !          13415: fi
        !          13416: 
        !          13417: 
        !          13418: fi
        !          13419: if test -z "$ac_cv_path_DX_DOT"; then
        !          13420:   ac_pt_DX_DOT=$DX_DOT
        !          13421:   # Extract the first word of "dot", so it can be a program name with args.
        !          13422: set dummy dot; ac_word=$2
        !          13423: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          13424: $as_echo_n "checking for $ac_word... " >&6; }
        !          13425: if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
        !          13426:   $as_echo_n "(cached) " >&6
        !          13427: else
        !          13428:   case $ac_pt_DX_DOT in
        !          13429:   [\\/]* | ?:[\\/]*)
        !          13430:   ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
        !          13431:   ;;
        !          13432:   *)
        !          13433:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          13434: for as_dir in $PATH
        !          13435: do
        !          13436:   IFS=$as_save_IFS
        !          13437:   test -z "$as_dir" && as_dir=.
        !          13438:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          13439:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          13440:     ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
        !          13441:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          13442:     break 2
        !          13443:   fi
        !          13444: done
        !          13445:   done
        !          13446: IFS=$as_save_IFS
        !          13447: 
        !          13448:   ;;
        !          13449: esac
        !          13450: fi
        !          13451: ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
        !          13452: if test -n "$ac_pt_DX_DOT"; then
        !          13453:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
        !          13454: $as_echo "$ac_pt_DX_DOT" >&6; }
        !          13455: else
        !          13456:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13457: $as_echo "no" >&6; }
        !          13458: fi
        !          13459: 
        !          13460:   if test "x$ac_pt_DX_DOT" = x; then
        !          13461:     DX_DOT=""
        !          13462:   else
        !          13463:     case $cross_compiling:$ac_tool_warned in
        !          13464: yes:)
        !          13465: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          13466: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          13467: ac_tool_warned=yes ;;
        !          13468: esac
        !          13469:     DX_DOT=$ac_pt_DX_DOT
        !          13470:   fi
        !          13471: else
        !          13472:   DX_DOT="$ac_cv_path_DX_DOT"
        !          13473: fi
        !          13474: 
        !          13475: if test "$DX_FLAG_dot$DX_DOT" = 1; then
        !          13476:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
        !          13477: $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
        !          13478:     DX_FLAG_dot=0
        !          13479: 
        !          13480: fi
        !          13481: 
        !          13482:     :
        !          13483: fi
        !          13484: if test "$DX_FLAG_dot" = 1; then
        !          13485:     DX_ENV="$DX_ENV HAVE_DOT='YES'"
        !          13486: HAVE_DOT=YES
        !          13487: 
        !          13488:              DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
        !          13489: DOT_PATH=`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`
        !          13490: 
        !          13491:     :
        !          13492: else
        !          13493:     DX_ENV="$DX_ENV HAVE_DOT='NO'"
        !          13494: HAVE_DOT=NO
        !          13495: 
        !          13496:     :
        !          13497: fi
        !          13498: 
        !          13499: 
        !          13500: # Man pages generation:
        !          13501: 
        !          13502: 
        !          13503: 
        !          13504:     # Check whether --enable-doxygen-man was given.
        !          13505: if test "${enable_doxygen_man+set}" = set; then :
        !          13506:   enableval=$enable_doxygen_man;
        !          13507: case "$enableval" in
        !          13508: #(
        !          13509: y|Y|yes|Yes|YES)
        !          13510:     DX_FLAG_man=1
        !          13511: 
        !          13512: 
        !          13513: test "$DX_FLAG_doc" = "1" \
        !          13514: || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
        !          13515: 
        !          13516: ;; #(
        !          13517: n|N|no|No|NO)
        !          13518:     DX_FLAG_man=0
        !          13519: 
        !          13520: ;; #(
        !          13521: *)
        !          13522:     as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
        !          13523: ;;
        !          13524: esac
        !          13525: 
        !          13526: else
        !          13527: 
        !          13528: DX_FLAG_man=1
        !          13529: 
        !          13530: 
        !          13531: test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
        !          13532: 
        !          13533: 
        !          13534: 
        !          13535: fi
        !          13536: 
        !          13537: if test "$DX_FLAG_man" = 1; then
        !          13538: 
        !          13539:     :
        !          13540: fi
        !          13541: if test "$DX_FLAG_man" = 1; then
        !          13542:     DX_ENV="$DX_ENV GENERATE_MAN='YES'"
        !          13543: GENERATE_MAN=YES
        !          13544: 
        !          13545:     :
        !          13546: else
        !          13547:     DX_ENV="$DX_ENV GENERATE_MAN='NO'"
        !          13548: GENERATE_MAN=NO
        !          13549: 
        !          13550:     :
        !          13551: fi
        !          13552: 
        !          13553: 
        !          13554: # RTF file generation:
        !          13555: 
        !          13556: 
        !          13557: 
        !          13558:     # Check whether --enable-doxygen-rtf was given.
        !          13559: if test "${enable_doxygen_rtf+set}" = set; then :
        !          13560:   enableval=$enable_doxygen_rtf;
        !          13561: case "$enableval" in
        !          13562: #(
        !          13563: y|Y|yes|Yes|YES)
        !          13564:     DX_FLAG_rtf=1
        !          13565: 
        !          13566: 
        !          13567: test "$DX_FLAG_doc" = "1" \
        !          13568: || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
        !          13569: 
        !          13570: ;; #(
        !          13571: n|N|no|No|NO)
        !          13572:     DX_FLAG_rtf=0
        !          13573: 
        !          13574: ;; #(
        !          13575: *)
        !          13576:     as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
        !          13577: ;;
        !          13578: esac
        !          13579: 
        !          13580: else
        !          13581: 
        !          13582: DX_FLAG_rtf=0
        !          13583: 
        !          13584: 
        !          13585: test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
        !          13586: 
        !          13587: 
        !          13588: 
        !          13589: fi
        !          13590: 
        !          13591: if test "$DX_FLAG_rtf" = 1; then
        !          13592: 
        !          13593:     :
        !          13594: fi
        !          13595: if test "$DX_FLAG_rtf" = 1; then
        !          13596:     DX_ENV="$DX_ENV GENERATE_RTF='YES'"
        !          13597: GENERATE_RTF=YES
        !          13598: 
        !          13599:     :
        !          13600: else
        !          13601:     DX_ENV="$DX_ENV GENERATE_RTF='NO'"
        !          13602: GENERATE_RTF=NO
        !          13603: 
        !          13604:     :
        !          13605: fi
        !          13606: 
        !          13607: 
        !          13608: # XML file generation:
        !          13609: 
        !          13610: 
        !          13611: 
        !          13612:     # Check whether --enable-doxygen-xml was given.
        !          13613: if test "${enable_doxygen_xml+set}" = set; then :
        !          13614:   enableval=$enable_doxygen_xml;
        !          13615: case "$enableval" in
        !          13616: #(
        !          13617: y|Y|yes|Yes|YES)
        !          13618:     DX_FLAG_xml=1
        !          13619: 
        !          13620: 
        !          13621: test "$DX_FLAG_doc" = "1" \
        !          13622: || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
        !          13623: 
        !          13624: ;; #(
        !          13625: n|N|no|No|NO)
        !          13626:     DX_FLAG_xml=0
        !          13627: 
        !          13628: ;; #(
        !          13629: *)
        !          13630:     as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
        !          13631: ;;
        !          13632: esac
        !          13633: 
        !          13634: else
        !          13635: 
        !          13636: DX_FLAG_xml=0
        !          13637: 
        !          13638: 
        !          13639: test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
        !          13640: 
        !          13641: 
        !          13642: 
        !          13643: fi
        !          13644: 
        !          13645: if test "$DX_FLAG_xml" = 1; then
        !          13646: 
        !          13647:     :
        !          13648: fi
        !          13649: if test "$DX_FLAG_xml" = 1; then
        !          13650:     DX_ENV="$DX_ENV GENERATE_XML='YES'"
        !          13651: GENERATE_XML=YES
        !          13652: 
        !          13653:     :
        !          13654: else
        !          13655:     DX_ENV="$DX_ENV GENERATE_XML='NO'"
        !          13656: GENERATE_XML=NO
        !          13657: 
        !          13658:     :
        !          13659: fi
        !          13660: 
        !          13661: 
        !          13662: # (Compressed) HTML help generation:
        !          13663: 
        !          13664: 
        !          13665: 
        !          13666:     # Check whether --enable-doxygen-chm was given.
        !          13667: if test "${enable_doxygen_chm+set}" = set; then :
        !          13668:   enableval=$enable_doxygen_chm;
        !          13669: case "$enableval" in
        !          13670: #(
        !          13671: y|Y|yes|Yes|YES)
        !          13672:     DX_FLAG_chm=1
        !          13673: 
        !          13674: 
        !          13675: test "$DX_FLAG_doc" = "1" \
        !          13676: || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
        !          13677: 
        !          13678: ;; #(
        !          13679: n|N|no|No|NO)
        !          13680:     DX_FLAG_chm=0
        !          13681: 
        !          13682: ;; #(
        !          13683: *)
        !          13684:     as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
        !          13685: ;;
        !          13686: esac
        !          13687: 
        !          13688: else
        !          13689: 
        !          13690: DX_FLAG_chm=0
        !          13691: 
        !          13692: 
        !          13693: test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
        !          13694: 
        !          13695: 
        !          13696: 
        !          13697: fi
        !          13698: 
        !          13699: if test "$DX_FLAG_chm" = 1; then
        !          13700: 
        !          13701: if test -n "$ac_tool_prefix"; then
        !          13702:   # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
        !          13703: set dummy ${ac_tool_prefix}hhc; ac_word=$2
        !          13704: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          13705: $as_echo_n "checking for $ac_word... " >&6; }
        !          13706: if ${ac_cv_path_DX_HHC+:} false; then :
        !          13707:   $as_echo_n "(cached) " >&6
        !          13708: else
        !          13709:   case $DX_HHC in
        !          13710:   [\\/]* | ?:[\\/]*)
        !          13711:   ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
        !          13712:   ;;
        !          13713:   *)
        !          13714:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          13715: for as_dir in $PATH
        !          13716: do
        !          13717:   IFS=$as_save_IFS
        !          13718:   test -z "$as_dir" && as_dir=.
        !          13719:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          13720:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          13721:     ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
        !          13722:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          13723:     break 2
        !          13724:   fi
        !          13725: done
        !          13726:   done
        !          13727: IFS=$as_save_IFS
        !          13728: 
        !          13729:   ;;
        !          13730: esac
        !          13731: fi
        !          13732: DX_HHC=$ac_cv_path_DX_HHC
        !          13733: if test -n "$DX_HHC"; then
        !          13734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
        !          13735: $as_echo "$DX_HHC" >&6; }
        !          13736: else
        !          13737:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13738: $as_echo "no" >&6; }
        !          13739: fi
        !          13740: 
        !          13741: 
        !          13742: fi
        !          13743: if test -z "$ac_cv_path_DX_HHC"; then
        !          13744:   ac_pt_DX_HHC=$DX_HHC
        !          13745:   # Extract the first word of "hhc", so it can be a program name with args.
        !          13746: set dummy hhc; ac_word=$2
        !          13747: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          13748: $as_echo_n "checking for $ac_word... " >&6; }
        !          13749: if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
        !          13750:   $as_echo_n "(cached) " >&6
        !          13751: else
        !          13752:   case $ac_pt_DX_HHC in
        !          13753:   [\\/]* | ?:[\\/]*)
        !          13754:   ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
        !          13755:   ;;
        !          13756:   *)
        !          13757:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          13758: for as_dir in $PATH
        !          13759: do
        !          13760:   IFS=$as_save_IFS
        !          13761:   test -z "$as_dir" && as_dir=.
        !          13762:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          13763:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          13764:     ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
        !          13765:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          13766:     break 2
        !          13767:   fi
        !          13768: done
        !          13769:   done
        !          13770: IFS=$as_save_IFS
        !          13771: 
        !          13772:   ;;
        !          13773: esac
        !          13774: fi
        !          13775: ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
        !          13776: if test -n "$ac_pt_DX_HHC"; then
        !          13777:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
        !          13778: $as_echo "$ac_pt_DX_HHC" >&6; }
        !          13779: else
        !          13780:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          13781: $as_echo "no" >&6; }
        !          13782: fi
        !          13783: 
        !          13784:   if test "x$ac_pt_DX_HHC" = x; then
        !          13785:     DX_HHC=""
        !          13786:   else
        !          13787:     case $cross_compiling:$ac_tool_warned in
        !          13788: yes:)
        !          13789: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          13790: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          13791: ac_tool_warned=yes ;;
        !          13792: esac
        !          13793:     DX_HHC=$ac_pt_DX_HHC
        !          13794:   fi
        !          13795: else
        !          13796:   DX_HHC="$ac_cv_path_DX_HHC"
        !          13797: fi
        !          13798: 
        !          13799: if test "$DX_FLAG_chm$DX_HHC" = 1; then
        !          13800:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
        !          13801: $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
        !          13802:     DX_FLAG_chm=0
        !          13803: 
        !          13804: fi
        !          13805: 
        !          13806:     :
        !          13807: fi
        !          13808: if test "$DX_FLAG_chm" = 1; then
        !          13809:     DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
        !          13810: HHC_PATH=$DX_HHC
        !          13811: 
        !          13812:              DX_ENV="$DX_ENV GENERATE_HTML='YES'"
        !          13813: GENERATE_HTML=YES
        !          13814: 
        !          13815:              DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
        !          13816: GENERATE_HTMLHELP=YES
        !          13817: 
        !          13818:     :
        !          13819: else
        !          13820:     DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
        !          13821: GENERATE_HTMLHELP=NO
        !          13822: 
        !          13823:     :
        !          13824: fi
        !          13825: 
        !          13826: 
        !          13827: # Seperate CHI file generation.
        !          13828: 
        !          13829: 
        !          13830: 
        !          13831:     # Check whether --enable-doxygen-chi was given.
        !          13832: if test "${enable_doxygen_chi+set}" = set; then :
        !          13833:   enableval=$enable_doxygen_chi;
        !          13834: case "$enableval" in
        !          13835: #(
        !          13836: y|Y|yes|Yes|YES)
        !          13837:     DX_FLAG_chi=1
        !          13838: 
        !          13839: 
        !          13840: test "$DX_FLAG_chm" = "1" \
        !          13841: || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
        !          13842: 
        !          13843: ;; #(
        !          13844: n|N|no|No|NO)
        !          13845:     DX_FLAG_chi=0
        !          13846: 
        !          13847: ;; #(
        !          13848: *)
        !          13849:     as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
        !          13850: ;;
        !          13851: esac
        !          13852: 
        !          13853: else
        !          13854: 
        !          13855: DX_FLAG_chi=0
        !          13856: 
        !          13857: 
        !          13858: test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
        !          13859: 
        !          13860: 
        !          13861: 
        !          13862: fi
        !          13863: 
        !          13864: if test "$DX_FLAG_chi" = 1; then
        !          13865: 
        !          13866:     :
        !          13867: fi
        !          13868: if test "$DX_FLAG_chi" = 1; then
        !          13869:     DX_ENV="$DX_ENV GENERATE_CHI='YES'"
        !          13870: GENERATE_CHI=YES
        !          13871: 
        !          13872:     :
        !          13873: else
        !          13874:     DX_ENV="$DX_ENV GENERATE_CHI='NO'"
        !          13875: GENERATE_CHI=NO
        !          13876: 
        !          13877:     :
        !          13878: fi
        !          13879: 
        !          13880: 
        !          13881: # Plain HTML pages generation:
        !          13882: 
        !          13883: 
        !          13884: 
        !          13885:     # Check whether --enable-doxygen-html was given.
        !          13886: if test "${enable_doxygen_html+set}" = set; then :
        !          13887:   enableval=$enable_doxygen_html;
        !          13888: case "$enableval" in
        !          13889: #(
        !          13890: y|Y|yes|Yes|YES)
        !          13891:     DX_FLAG_html=1
        !          13892: 
        !          13893: 
        !          13894: test "$DX_FLAG_doc" = "1" \
        !          13895: || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
        !          13896: 
        !          13897: test "$DX_FLAG_chm" = "0" \
        !          13898: || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
        !          13899: 
        !          13900: ;; #(
        !          13901: n|N|no|No|NO)
        !          13902:     DX_FLAG_html=0
        !          13903: 
        !          13904: ;; #(
        !          13905: *)
        !          13906:     as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
        !          13907: ;;
        !          13908: esac
        !          13909: 
        !          13910: else
        !          13911: 
        !          13912: DX_FLAG_html=1
        !          13913: 
        !          13914: 
        !          13915: test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
        !          13916: 
        !          13917: 
        !          13918: test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
        !          13919: 
        !          13920: 
        !          13921: 
        !          13922: fi
        !          13923: 
        !          13924: if test "$DX_FLAG_html" = 1; then
        !          13925: 
        !          13926:     :
        !          13927: fi
        !          13928: if test "$DX_FLAG_html" = 1; then
        !          13929:     DX_ENV="$DX_ENV GENERATE_HTML='YES'"
        !          13930: GENERATE_HTML=YES
        !          13931: 
        !          13932:     :
        !          13933: else
        !          13934:     test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
        !          13935: GENERATE_HTML=NO
        !          13936: 
        !          13937:     :
        !          13938: fi
        !          13939: 
        !          13940: 
        !          13941: # PostScript file generation:
        !          13942: 
        !          13943: 
        !          13944: 
        !          13945:     # Check whether --enable-doxygen-ps was given.
        !          13946: if test "${enable_doxygen_ps+set}" = set; then :
        !          13947:   enableval=$enable_doxygen_ps;
        !          13948: case "$enableval" in
        !          13949: #(
        !          13950: y|Y|yes|Yes|YES)
        !          13951:     DX_FLAG_ps=1
        !          13952: 
        !          13953: 
        !          13954: test "$DX_FLAG_doc" = "1" \
        !          13955: || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
        !          13956: 
        !          13957: ;; #(
        !          13958: n|N|no|No|NO)
        !          13959:     DX_FLAG_ps=0
        !          13960: 
        !          13961: ;; #(
        !          13962: *)
        !          13963:     as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
        !          13964: ;;
        !          13965: esac
        !          13966: 
        !          13967: else
        !          13968: 
        !          13969: DX_FLAG_ps=0
        !          13970: 
        !          13971: 
        !          13972: test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
        !          13973: 
        !          13974: 
        !          13975: 
        !          13976: fi
        !          13977: 
        !          13978: if test "$DX_FLAG_ps" = 1; then
        !          13979: 
        !          13980: if test -n "$ac_tool_prefix"; then
        !          13981:   # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
        !          13982: set dummy ${ac_tool_prefix}latex; ac_word=$2
        !          13983: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          13984: $as_echo_n "checking for $ac_word... " >&6; }
        !          13985: if ${ac_cv_path_DX_LATEX+:} false; then :
        !          13986:   $as_echo_n "(cached) " >&6
        !          13987: else
        !          13988:   case $DX_LATEX in
        !          13989:   [\\/]* | ?:[\\/]*)
        !          13990:   ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
        !          13991:   ;;
        !          13992:   *)
        !          13993:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          13994: for as_dir in $PATH
        !          13995: do
        !          13996:   IFS=$as_save_IFS
        !          13997:   test -z "$as_dir" && as_dir=.
        !          13998:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          13999:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14000:     ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
        !          14001:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14002:     break 2
        !          14003:   fi
        !          14004: done
        !          14005:   done
        !          14006: IFS=$as_save_IFS
        !          14007: 
        !          14008:   ;;
        !          14009: esac
        !          14010: fi
        !          14011: DX_LATEX=$ac_cv_path_DX_LATEX
        !          14012: if test -n "$DX_LATEX"; then
        !          14013:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
        !          14014: $as_echo "$DX_LATEX" >&6; }
        !          14015: else
        !          14016:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14017: $as_echo "no" >&6; }
        !          14018: fi
        !          14019: 
        !          14020: 
        !          14021: fi
        !          14022: if test -z "$ac_cv_path_DX_LATEX"; then
        !          14023:   ac_pt_DX_LATEX=$DX_LATEX
        !          14024:   # Extract the first word of "latex", so it can be a program name with args.
        !          14025: set dummy latex; ac_word=$2
        !          14026: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14027: $as_echo_n "checking for $ac_word... " >&6; }
        !          14028: if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
        !          14029:   $as_echo_n "(cached) " >&6
        !          14030: else
        !          14031:   case $ac_pt_DX_LATEX in
        !          14032:   [\\/]* | ?:[\\/]*)
        !          14033:   ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
        !          14034:   ;;
        !          14035:   *)
        !          14036:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14037: for as_dir in $PATH
        !          14038: do
        !          14039:   IFS=$as_save_IFS
        !          14040:   test -z "$as_dir" && as_dir=.
        !          14041:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14042:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14043:     ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
        !          14044:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14045:     break 2
        !          14046:   fi
        !          14047: done
        !          14048:   done
        !          14049: IFS=$as_save_IFS
        !          14050: 
        !          14051:   ;;
        !          14052: esac
        !          14053: fi
        !          14054: ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
        !          14055: if test -n "$ac_pt_DX_LATEX"; then
        !          14056:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
        !          14057: $as_echo "$ac_pt_DX_LATEX" >&6; }
        !          14058: else
        !          14059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14060: $as_echo "no" >&6; }
        !          14061: fi
        !          14062: 
        !          14063:   if test "x$ac_pt_DX_LATEX" = x; then
        !          14064:     DX_LATEX=""
        !          14065:   else
        !          14066:     case $cross_compiling:$ac_tool_warned in
        !          14067: yes:)
        !          14068: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          14069: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          14070: ac_tool_warned=yes ;;
        !          14071: esac
        !          14072:     DX_LATEX=$ac_pt_DX_LATEX
        !          14073:   fi
        !          14074: else
        !          14075:   DX_LATEX="$ac_cv_path_DX_LATEX"
        !          14076: fi
        !          14077: 
        !          14078: if test "$DX_FLAG_ps$DX_LATEX" = 1; then
        !          14079:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
        !          14080: $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
        !          14081:     DX_FLAG_ps=0
        !          14082: 
        !          14083: fi
        !          14084: 
        !          14085: 
        !          14086: if test -n "$ac_tool_prefix"; then
        !          14087:   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
        !          14088: set dummy ${ac_tool_prefix}makeindex; ac_word=$2
        !          14089: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14090: $as_echo_n "checking for $ac_word... " >&6; }
        !          14091: if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
        !          14092:   $as_echo_n "(cached) " >&6
        !          14093: else
        !          14094:   case $DX_MAKEINDEX in
        !          14095:   [\\/]* | ?:[\\/]*)
        !          14096:   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
        !          14097:   ;;
        !          14098:   *)
        !          14099:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14100: for as_dir in $PATH
        !          14101: do
        !          14102:   IFS=$as_save_IFS
        !          14103:   test -z "$as_dir" && as_dir=.
        !          14104:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14105:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14106:     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
        !          14107:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14108:     break 2
        !          14109:   fi
        !          14110: done
        !          14111:   done
        !          14112: IFS=$as_save_IFS
        !          14113: 
        !          14114:   ;;
        !          14115: esac
        !          14116: fi
        !          14117: DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
        !          14118: if test -n "$DX_MAKEINDEX"; then
        !          14119:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
        !          14120: $as_echo "$DX_MAKEINDEX" >&6; }
        !          14121: else
        !          14122:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14123: $as_echo "no" >&6; }
        !          14124: fi
        !          14125: 
        !          14126: 
        !          14127: fi
        !          14128: if test -z "$ac_cv_path_DX_MAKEINDEX"; then
        !          14129:   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
        !          14130:   # Extract the first word of "makeindex", so it can be a program name with args.
        !          14131: set dummy makeindex; ac_word=$2
        !          14132: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14133: $as_echo_n "checking for $ac_word... " >&6; }
        !          14134: if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
        !          14135:   $as_echo_n "(cached) " >&6
        !          14136: else
        !          14137:   case $ac_pt_DX_MAKEINDEX in
        !          14138:   [\\/]* | ?:[\\/]*)
        !          14139:   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
        !          14140:   ;;
        !          14141:   *)
        !          14142:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14143: for as_dir in $PATH
        !          14144: do
        !          14145:   IFS=$as_save_IFS
        !          14146:   test -z "$as_dir" && as_dir=.
        !          14147:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14148:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14149:     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
        !          14150:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14151:     break 2
        !          14152:   fi
        !          14153: done
        !          14154:   done
        !          14155: IFS=$as_save_IFS
        !          14156: 
        !          14157:   ;;
        !          14158: esac
        !          14159: fi
        !          14160: ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
        !          14161: if test -n "$ac_pt_DX_MAKEINDEX"; then
        !          14162:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
        !          14163: $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
        !          14164: else
        !          14165:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14166: $as_echo "no" >&6; }
        !          14167: fi
        !          14168: 
        !          14169:   if test "x$ac_pt_DX_MAKEINDEX" = x; then
        !          14170:     DX_MAKEINDEX=""
        !          14171:   else
        !          14172:     case $cross_compiling:$ac_tool_warned in
        !          14173: yes:)
        !          14174: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          14175: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          14176: ac_tool_warned=yes ;;
        !          14177: esac
        !          14178:     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
        !          14179:   fi
        !          14180: else
        !          14181:   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
        !          14182: fi
        !          14183: 
        !          14184: if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
        !          14185:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
        !          14186: $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
        !          14187:     DX_FLAG_ps=0
        !          14188: 
        !          14189: fi
        !          14190: 
        !          14191: 
        !          14192: if test -n "$ac_tool_prefix"; then
        !          14193:   # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
        !          14194: set dummy ${ac_tool_prefix}dvips; ac_word=$2
        !          14195: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14196: $as_echo_n "checking for $ac_word... " >&6; }
        !          14197: if ${ac_cv_path_DX_DVIPS+:} false; then :
        !          14198:   $as_echo_n "(cached) " >&6
        !          14199: else
        !          14200:   case $DX_DVIPS in
        !          14201:   [\\/]* | ?:[\\/]*)
        !          14202:   ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
        !          14203:   ;;
        !          14204:   *)
        !          14205:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14206: for as_dir in $PATH
        !          14207: do
        !          14208:   IFS=$as_save_IFS
        !          14209:   test -z "$as_dir" && as_dir=.
        !          14210:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14211:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14212:     ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
        !          14213:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14214:     break 2
        !          14215:   fi
        !          14216: done
        !          14217:   done
        !          14218: IFS=$as_save_IFS
        !          14219: 
        !          14220:   ;;
        !          14221: esac
        !          14222: fi
        !          14223: DX_DVIPS=$ac_cv_path_DX_DVIPS
        !          14224: if test -n "$DX_DVIPS"; then
        !          14225:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
        !          14226: $as_echo "$DX_DVIPS" >&6; }
        !          14227: else
        !          14228:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14229: $as_echo "no" >&6; }
        !          14230: fi
        !          14231: 
        !          14232: 
        !          14233: fi
        !          14234: if test -z "$ac_cv_path_DX_DVIPS"; then
        !          14235:   ac_pt_DX_DVIPS=$DX_DVIPS
        !          14236:   # Extract the first word of "dvips", so it can be a program name with args.
        !          14237: set dummy dvips; ac_word=$2
        !          14238: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14239: $as_echo_n "checking for $ac_word... " >&6; }
        !          14240: if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
        !          14241:   $as_echo_n "(cached) " >&6
        !          14242: else
        !          14243:   case $ac_pt_DX_DVIPS in
        !          14244:   [\\/]* | ?:[\\/]*)
        !          14245:   ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
        !          14246:   ;;
        !          14247:   *)
        !          14248:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14249: for as_dir in $PATH
        !          14250: do
        !          14251:   IFS=$as_save_IFS
        !          14252:   test -z "$as_dir" && as_dir=.
        !          14253:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14254:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14255:     ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
        !          14256:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14257:     break 2
        !          14258:   fi
        !          14259: done
        !          14260:   done
        !          14261: IFS=$as_save_IFS
        !          14262: 
        !          14263:   ;;
        !          14264: esac
        !          14265: fi
        !          14266: ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
        !          14267: if test -n "$ac_pt_DX_DVIPS"; then
        !          14268:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
        !          14269: $as_echo "$ac_pt_DX_DVIPS" >&6; }
        !          14270: else
        !          14271:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14272: $as_echo "no" >&6; }
        !          14273: fi
        !          14274: 
        !          14275:   if test "x$ac_pt_DX_DVIPS" = x; then
        !          14276:     DX_DVIPS=""
        !          14277:   else
        !          14278:     case $cross_compiling:$ac_tool_warned in
        !          14279: yes:)
        !          14280: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          14281: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          14282: ac_tool_warned=yes ;;
        !          14283: esac
        !          14284:     DX_DVIPS=$ac_pt_DX_DVIPS
        !          14285:   fi
        !          14286: else
        !          14287:   DX_DVIPS="$ac_cv_path_DX_DVIPS"
        !          14288: fi
        !          14289: 
        !          14290: if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
        !          14291:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
        !          14292: $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
        !          14293:     DX_FLAG_ps=0
        !          14294: 
        !          14295: fi
        !          14296: 
        !          14297: 
        !          14298: if test -n "$ac_tool_prefix"; then
        !          14299:   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
        !          14300: set dummy ${ac_tool_prefix}egrep; ac_word=$2
        !          14301: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14302: $as_echo_n "checking for $ac_word... " >&6; }
        !          14303: if ${ac_cv_path_DX_EGREP+:} false; then :
        !          14304:   $as_echo_n "(cached) " >&6
        !          14305: else
        !          14306:   case $DX_EGREP in
        !          14307:   [\\/]* | ?:[\\/]*)
        !          14308:   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
        !          14309:   ;;
        !          14310:   *)
        !          14311:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14312: for as_dir in $PATH
        !          14313: do
        !          14314:   IFS=$as_save_IFS
        !          14315:   test -z "$as_dir" && as_dir=.
        !          14316:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14317:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14318:     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
        !          14319:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14320:     break 2
        !          14321:   fi
        !          14322: done
        !          14323:   done
        !          14324: IFS=$as_save_IFS
        !          14325: 
        !          14326:   ;;
        !          14327: esac
        !          14328: fi
        !          14329: DX_EGREP=$ac_cv_path_DX_EGREP
        !          14330: if test -n "$DX_EGREP"; then
        !          14331:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
        !          14332: $as_echo "$DX_EGREP" >&6; }
        !          14333: else
        !          14334:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14335: $as_echo "no" >&6; }
        !          14336: fi
        !          14337: 
        !          14338: 
        !          14339: fi
        !          14340: if test -z "$ac_cv_path_DX_EGREP"; then
        !          14341:   ac_pt_DX_EGREP=$DX_EGREP
        !          14342:   # Extract the first word of "egrep", so it can be a program name with args.
        !          14343: set dummy egrep; ac_word=$2
        !          14344: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14345: $as_echo_n "checking for $ac_word... " >&6; }
        !          14346: if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
        !          14347:   $as_echo_n "(cached) " >&6
        !          14348: else
        !          14349:   case $ac_pt_DX_EGREP in
        !          14350:   [\\/]* | ?:[\\/]*)
        !          14351:   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
        !          14352:   ;;
        !          14353:   *)
        !          14354:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14355: for as_dir in $PATH
        !          14356: do
        !          14357:   IFS=$as_save_IFS
        !          14358:   test -z "$as_dir" && as_dir=.
        !          14359:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14360:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14361:     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
        !          14362:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14363:     break 2
        !          14364:   fi
        !          14365: done
        !          14366:   done
        !          14367: IFS=$as_save_IFS
        !          14368: 
        !          14369:   ;;
        !          14370: esac
        !          14371: fi
        !          14372: ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
        !          14373: if test -n "$ac_pt_DX_EGREP"; then
        !          14374:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
        !          14375: $as_echo "$ac_pt_DX_EGREP" >&6; }
        !          14376: else
        !          14377:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14378: $as_echo "no" >&6; }
        !          14379: fi
        !          14380: 
        !          14381:   if test "x$ac_pt_DX_EGREP" = x; then
        !          14382:     DX_EGREP=""
        !          14383:   else
        !          14384:     case $cross_compiling:$ac_tool_warned in
        !          14385: yes:)
        !          14386: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          14387: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          14388: ac_tool_warned=yes ;;
        !          14389: esac
        !          14390:     DX_EGREP=$ac_pt_DX_EGREP
        !          14391:   fi
        !          14392: else
        !          14393:   DX_EGREP="$ac_cv_path_DX_EGREP"
        !          14394: fi
        !          14395: 
        !          14396: if test "$DX_FLAG_ps$DX_EGREP" = 1; then
        !          14397:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
        !          14398: $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
        !          14399:     DX_FLAG_ps=0
        !          14400: 
        !          14401: fi
        !          14402: 
        !          14403:     :
        !          14404: fi
        !          14405: if test "$DX_FLAG_ps" = 1; then
        !          14406: 
        !          14407:     :
        !          14408: else
        !          14409: 
        !          14410:     :
        !          14411: fi
        !          14412: 
        !          14413: 
        !          14414: # PDF file generation:
        !          14415: 
        !          14416: 
        !          14417: 
        !          14418:     # Check whether --enable-doxygen-pdf was given.
        !          14419: if test "${enable_doxygen_pdf+set}" = set; then :
        !          14420:   enableval=$enable_doxygen_pdf;
        !          14421: case "$enableval" in
        !          14422: #(
        !          14423: y|Y|yes|Yes|YES)
        !          14424:     DX_FLAG_pdf=1
        !          14425: 
        !          14426: 
        !          14427: test "$DX_FLAG_doc" = "1" \
        !          14428: || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
        !          14429: 
        !          14430: ;; #(
        !          14431: n|N|no|No|NO)
        !          14432:     DX_FLAG_pdf=0
        !          14433: 
        !          14434: ;; #(
        !          14435: *)
        !          14436:     as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
        !          14437: ;;
        !          14438: esac
        !          14439: 
        !          14440: else
        !          14441: 
        !          14442: DX_FLAG_pdf=0
        !          14443: 
        !          14444: 
        !          14445: test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
        !          14446: 
        !          14447: 
        !          14448: 
        !          14449: fi
        !          14450: 
        !          14451: if test "$DX_FLAG_pdf" = 1; then
        !          14452: 
        !          14453: if test -n "$ac_tool_prefix"; then
        !          14454:   # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
        !          14455: set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
        !          14456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14457: $as_echo_n "checking for $ac_word... " >&6; }
        !          14458: if ${ac_cv_path_DX_PDFLATEX+:} false; then :
        !          14459:   $as_echo_n "(cached) " >&6
        !          14460: else
        !          14461:   case $DX_PDFLATEX in
        !          14462:   [\\/]* | ?:[\\/]*)
        !          14463:   ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
        !          14464:   ;;
        !          14465:   *)
        !          14466:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14467: for as_dir in $PATH
        !          14468: do
        !          14469:   IFS=$as_save_IFS
        !          14470:   test -z "$as_dir" && as_dir=.
        !          14471:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14472:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14473:     ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
        !          14474:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14475:     break 2
        !          14476:   fi
        !          14477: done
        !          14478:   done
        !          14479: IFS=$as_save_IFS
        !          14480: 
        !          14481:   ;;
        !          14482: esac
        !          14483: fi
        !          14484: DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
        !          14485: if test -n "$DX_PDFLATEX"; then
        !          14486:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
        !          14487: $as_echo "$DX_PDFLATEX" >&6; }
        !          14488: else
        !          14489:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14490: $as_echo "no" >&6; }
        !          14491: fi
        !          14492: 
        !          14493: 
        !          14494: fi
        !          14495: if test -z "$ac_cv_path_DX_PDFLATEX"; then
        !          14496:   ac_pt_DX_PDFLATEX=$DX_PDFLATEX
        !          14497:   # Extract the first word of "pdflatex", so it can be a program name with args.
        !          14498: set dummy pdflatex; ac_word=$2
        !          14499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14500: $as_echo_n "checking for $ac_word... " >&6; }
        !          14501: if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
        !          14502:   $as_echo_n "(cached) " >&6
        !          14503: else
        !          14504:   case $ac_pt_DX_PDFLATEX in
        !          14505:   [\\/]* | ?:[\\/]*)
        !          14506:   ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
        !          14507:   ;;
        !          14508:   *)
        !          14509:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14510: for as_dir in $PATH
        !          14511: do
        !          14512:   IFS=$as_save_IFS
        !          14513:   test -z "$as_dir" && as_dir=.
        !          14514:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14515:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14516:     ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
        !          14517:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14518:     break 2
        !          14519:   fi
        !          14520: done
        !          14521:   done
        !          14522: IFS=$as_save_IFS
        !          14523: 
        !          14524:   ;;
        !          14525: esac
        !          14526: fi
        !          14527: ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
        !          14528: if test -n "$ac_pt_DX_PDFLATEX"; then
        !          14529:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
        !          14530: $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
        !          14531: else
        !          14532:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14533: $as_echo "no" >&6; }
        !          14534: fi
        !          14535: 
        !          14536:   if test "x$ac_pt_DX_PDFLATEX" = x; then
        !          14537:     DX_PDFLATEX=""
        !          14538:   else
        !          14539:     case $cross_compiling:$ac_tool_warned in
        !          14540: yes:)
        !          14541: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          14542: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          14543: ac_tool_warned=yes ;;
        !          14544: esac
        !          14545:     DX_PDFLATEX=$ac_pt_DX_PDFLATEX
        !          14546:   fi
        !          14547: else
        !          14548:   DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
        !          14549: fi
        !          14550: 
        !          14551: if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
        !          14552:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
        !          14553: $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
        !          14554:     DX_FLAG_pdf=0
        !          14555: 
        !          14556: fi
        !          14557: 
        !          14558: 
        !          14559: if test -n "$ac_tool_prefix"; then
        !          14560:   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
        !          14561: set dummy ${ac_tool_prefix}makeindex; ac_word=$2
        !          14562: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14563: $as_echo_n "checking for $ac_word... " >&6; }
        !          14564: if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
        !          14565:   $as_echo_n "(cached) " >&6
        !          14566: else
        !          14567:   case $DX_MAKEINDEX in
        !          14568:   [\\/]* | ?:[\\/]*)
        !          14569:   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
        !          14570:   ;;
        !          14571:   *)
        !          14572:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14573: for as_dir in $PATH
        !          14574: do
        !          14575:   IFS=$as_save_IFS
        !          14576:   test -z "$as_dir" && as_dir=.
        !          14577:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14578:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14579:     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
        !          14580:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14581:     break 2
        !          14582:   fi
        !          14583: done
        !          14584:   done
        !          14585: IFS=$as_save_IFS
        !          14586: 
        !          14587:   ;;
        !          14588: esac
        !          14589: fi
        !          14590: DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
        !          14591: if test -n "$DX_MAKEINDEX"; then
        !          14592:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
        !          14593: $as_echo "$DX_MAKEINDEX" >&6; }
        !          14594: else
        !          14595:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14596: $as_echo "no" >&6; }
        !          14597: fi
        !          14598: 
        !          14599: 
        !          14600: fi
        !          14601: if test -z "$ac_cv_path_DX_MAKEINDEX"; then
        !          14602:   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
        !          14603:   # Extract the first word of "makeindex", so it can be a program name with args.
        !          14604: set dummy makeindex; ac_word=$2
        !          14605: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14606: $as_echo_n "checking for $ac_word... " >&6; }
        !          14607: if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
        !          14608:   $as_echo_n "(cached) " >&6
        !          14609: else
        !          14610:   case $ac_pt_DX_MAKEINDEX in
        !          14611:   [\\/]* | ?:[\\/]*)
        !          14612:   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
        !          14613:   ;;
        !          14614:   *)
        !          14615:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14616: for as_dir in $PATH
        !          14617: do
        !          14618:   IFS=$as_save_IFS
        !          14619:   test -z "$as_dir" && as_dir=.
        !          14620:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14621:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14622:     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
        !          14623:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14624:     break 2
        !          14625:   fi
        !          14626: done
        !          14627:   done
        !          14628: IFS=$as_save_IFS
        !          14629: 
        !          14630:   ;;
        !          14631: esac
        !          14632: fi
        !          14633: ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
        !          14634: if test -n "$ac_pt_DX_MAKEINDEX"; then
        !          14635:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
        !          14636: $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
        !          14637: else
        !          14638:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14639: $as_echo "no" >&6; }
        !          14640: fi
        !          14641: 
        !          14642:   if test "x$ac_pt_DX_MAKEINDEX" = x; then
        !          14643:     DX_MAKEINDEX=""
        !          14644:   else
        !          14645:     case $cross_compiling:$ac_tool_warned in
        !          14646: yes:)
        !          14647: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          14648: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          14649: ac_tool_warned=yes ;;
        !          14650: esac
        !          14651:     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
        !          14652:   fi
        !          14653: else
        !          14654:   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
        !          14655: fi
        !          14656: 
        !          14657: if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
        !          14658:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
        !          14659: $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
        !          14660:     DX_FLAG_pdf=0
        !          14661: 
        !          14662: fi
        !          14663: 
        !          14664: 
        !          14665: if test -n "$ac_tool_prefix"; then
        !          14666:   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
        !          14667: set dummy ${ac_tool_prefix}egrep; ac_word=$2
        !          14668: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14669: $as_echo_n "checking for $ac_word... " >&6; }
        !          14670: if ${ac_cv_path_DX_EGREP+:} false; then :
        !          14671:   $as_echo_n "(cached) " >&6
        !          14672: else
        !          14673:   case $DX_EGREP in
        !          14674:   [\\/]* | ?:[\\/]*)
        !          14675:   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
        !          14676:   ;;
        !          14677:   *)
        !          14678:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14679: for as_dir in $PATH
        !          14680: do
        !          14681:   IFS=$as_save_IFS
        !          14682:   test -z "$as_dir" && as_dir=.
        !          14683:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14684:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14685:     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
        !          14686:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14687:     break 2
        !          14688:   fi
        !          14689: done
        !          14690:   done
        !          14691: IFS=$as_save_IFS
        !          14692: 
        !          14693:   ;;
        !          14694: esac
        !          14695: fi
        !          14696: DX_EGREP=$ac_cv_path_DX_EGREP
        !          14697: if test -n "$DX_EGREP"; then
        !          14698:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
        !          14699: $as_echo "$DX_EGREP" >&6; }
        !          14700: else
        !          14701:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14702: $as_echo "no" >&6; }
        !          14703: fi
        !          14704: 
        !          14705: 
        !          14706: fi
        !          14707: if test -z "$ac_cv_path_DX_EGREP"; then
        !          14708:   ac_pt_DX_EGREP=$DX_EGREP
        !          14709:   # Extract the first word of "egrep", so it can be a program name with args.
        !          14710: set dummy egrep; ac_word=$2
        !          14711: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          14712: $as_echo_n "checking for $ac_word... " >&6; }
        !          14713: if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
        !          14714:   $as_echo_n "(cached) " >&6
        !          14715: else
        !          14716:   case $ac_pt_DX_EGREP in
        !          14717:   [\\/]* | ?:[\\/]*)
        !          14718:   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
        !          14719:   ;;
        !          14720:   *)
        !          14721:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          14722: for as_dir in $PATH
        !          14723: do
        !          14724:   IFS=$as_save_IFS
        !          14725:   test -z "$as_dir" && as_dir=.
        !          14726:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          14727:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          14728:     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
        !          14729:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          14730:     break 2
        !          14731:   fi
        !          14732: done
        !          14733:   done
        !          14734: IFS=$as_save_IFS
        !          14735: 
        !          14736:   ;;
        !          14737: esac
        !          14738: fi
        !          14739: ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
        !          14740: if test -n "$ac_pt_DX_EGREP"; then
        !          14741:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
        !          14742: $as_echo "$ac_pt_DX_EGREP" >&6; }
        !          14743: else
        !          14744:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          14745: $as_echo "no" >&6; }
        !          14746: fi
        !          14747: 
        !          14748:   if test "x$ac_pt_DX_EGREP" = x; then
        !          14749:     DX_EGREP=""
        !          14750:   else
        !          14751:     case $cross_compiling:$ac_tool_warned in
        !          14752: yes:)
        !          14753: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          14754: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          14755: ac_tool_warned=yes ;;
        !          14756: esac
        !          14757:     DX_EGREP=$ac_pt_DX_EGREP
        !          14758:   fi
        !          14759: else
        !          14760:   DX_EGREP="$ac_cv_path_DX_EGREP"
        !          14761: fi
        !          14762: 
        !          14763: if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
        !          14764:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
        !          14765: $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
        !          14766:     DX_FLAG_pdf=0
        !          14767: 
        !          14768: fi
        !          14769: 
        !          14770:     :
        !          14771: fi
        !          14772: if test "$DX_FLAG_pdf" = 1; then
        !          14773: 
        !          14774:     :
        !          14775: else
        !          14776: 
        !          14777:     :
        !          14778: fi
        !          14779: 
        !          14780: 
        !          14781: # LaTeX generation for PS and/or PDF:
        !          14782: if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
        !          14783:     DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
        !          14784: GENERATE_LATEX=YES
        !          14785: 
        !          14786: else
        !          14787:     DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
        !          14788: GENERATE_LATEX=NO
        !          14789: 
        !          14790: fi
        !          14791: 
        !          14792: # Paper size for PS and/or PDF:
        !          14793: 
        !          14794: case "$DOXYGEN_PAPER_SIZE" in
        !          14795: #(
        !          14796: "")
        !          14797:     DOXYGEN_PAPER_SIZE=""
        !          14798: 
        !          14799: ;; #(
        !          14800: a4wide|a4|letter|legal|executive)
        !          14801:     DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
        !          14802: PAPER_SIZE=$DOXYGEN_PAPER_SIZE
        !          14803: 
        !          14804: ;; #(
        !          14805: *)
        !          14806:     as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
        !          14807: ;;
        !          14808: esac
        !          14809: 
        !          14810: # Rules:
        !          14811: if test $DX_FLAG_html -eq 1; then :
        !          14812:   DX_SNIPPET_html="## ------------------------------- ##
        !          14813: ## Rules specific for HTML output. ##
        !          14814: ## ------------------------------- ##
        !          14815: 
        !          14816: DX_CLEAN_HTML = \$(DX_DOCDIR)/html\\
        !          14817:                 \$(DX_DOCDIR)/html
        !          14818: 
        !          14819: "
        !          14820: else
        !          14821:   DX_SNIPPET_html=""
        !          14822: fi
        !          14823: if test $DX_FLAG_chi -eq 1; then :
        !          14824:   DX_SNIPPET_chi="
        !          14825: DX_CLEAN_CHI = \$(DX_DOCDIR)/\$(PACKAGE).chi\\
        !          14826:                \$(DX_DOCDIR)/\$(PACKAGE).chi"
        !          14827: else
        !          14828:   DX_SNIPPET_chi=""
        !          14829: fi
        !          14830: if test $DX_FLAG_chm -eq 1; then :
        !          14831:   DX_SNIPPET_chm="## ------------------------------ ##
        !          14832: ## Rules specific for CHM output. ##
        !          14833: ## ------------------------------ ##
        !          14834: 
        !          14835: DX_CLEAN_CHM = \$(DX_DOCDIR)/chm\\
        !          14836:                \$(DX_DOCDIR)/chm\
        !          14837: ${DX_SNIPPET_chi}
        !          14838: 
        !          14839: "
        !          14840: else
        !          14841:   DX_SNIPPET_chm=""
        !          14842: fi
        !          14843: if test $DX_FLAG_man -eq 1; then :
        !          14844:   DX_SNIPPET_man="## ------------------------------ ##
        !          14845: ## Rules specific for MAN output. ##
        !          14846: ## ------------------------------ ##
        !          14847: 
        !          14848: DX_CLEAN_MAN = \$(DX_DOCDIR)/man\\
        !          14849:                \$(DX_DOCDIR)/man
        !          14850: 
        !          14851: "
        !          14852: else
        !          14853:   DX_SNIPPET_man=""
        !          14854: fi
        !          14855: if test $DX_FLAG_rtf -eq 1; then :
        !          14856:   DX_SNIPPET_rtf="## ------------------------------ ##
        !          14857: ## Rules specific for RTF output. ##
        !          14858: ## ------------------------------ ##
        !          14859: 
        !          14860: DX_CLEAN_RTF = \$(DX_DOCDIR)/rtf\\
        !          14861:                \$(DX_DOCDIR)/rtf
        !          14862: 
        !          14863: "
        !          14864: else
        !          14865:   DX_SNIPPET_rtf=""
        !          14866: fi
        !          14867: if test $DX_FLAG_xml -eq 1; then :
        !          14868:   DX_SNIPPET_xml="## ------------------------------ ##
        !          14869: ## Rules specific for XML output. ##
        !          14870: ## ------------------------------ ##
        !          14871: 
        !          14872: DX_CLEAN_XML = \$(DX_DOCDIR)/xml\\
        !          14873:                \$(DX_DOCDIR)/xml
        !          14874: 
        !          14875: "
        !          14876: else
        !          14877:   DX_SNIPPET_xml=""
        !          14878: fi
        !          14879: if test $DX_FLAG_ps -eq 1; then :
        !          14880:   DX_SNIPPET_ps="## ----------------------------- ##
        !          14881: ## Rules specific for PS output. ##
        !          14882: ## ----------------------------- ##
        !          14883: 
        !          14884: DX_CLEAN_PS = \$(DX_DOCDIR)/\$(PACKAGE).ps\\
        !          14885:               \$(DX_DOCDIR)/\$(PACKAGE).ps
        !          14886: 
        !          14887: DX_PS_GOAL = doxygen-ps
        !          14888: 
        !          14889: doxygen-ps: \$(DX_CLEAN_PS)
        !          14890: 
        !          14891: \$(DX_DOCDIR)/\$(PACKAGE).ps: \$(DX_DOCDIR)/\$(PACKAGE).tag
        !          14892:        \$(DX_V_LATEX)cd \$(DX_DOCDIR)/latex; \\
        !          14893:        rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\
        !          14894:        \$(DX_LATEX) refman.tex; \\
        !          14895:        \$(DX_MAKEINDEX) refman.idx; \\
        !          14896:        \$(DX_LATEX) refman.tex; \\
        !          14897:        countdown=5; \\
        !          14898:        while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\
        !          14899:                          refman.log > /dev/null 2>&1 \\
        !          14900:           && test \$\$countdown -gt 0; do \\
        !          14901:            \$(DX_LATEX) refman.tex; \\
        !          14902:             countdown=\`expr \$\$countdown - 1\`; \\
        !          14903:        done; \\
        !          14904:        \$(DX_DVIPS) -o ../\$(PACKAGE).ps refman.dvi
        !          14905: 
        !          14906: "
        !          14907: else
        !          14908:   DX_SNIPPET_ps=""
        !          14909: fi
        !          14910: if test $DX_FLAG_pdf -eq 1; then :
        !          14911:   DX_SNIPPET_pdf="## ------------------------------ ##
        !          14912: ## Rules specific for PDF output. ##
        !          14913: ## ------------------------------ ##
        !          14914: 
        !          14915: DX_CLEAN_PDF = \$(DX_DOCDIR)/\$(PACKAGE).pdf\\
        !          14916:                \$(DX_DOCDIR)/\$(PACKAGE).pdf
        !          14917: 
        !          14918: DX_PDF_GOAL = doxygen-pdf
        !          14919: 
        !          14920: doxygen-pdf: \$(DX_CLEAN_PDF)
        !          14921: 
        !          14922: \$(DX_DOCDIR)/\$(PACKAGE).pdf: \$(DX_DOCDIR)/\$(PACKAGE).tag
        !          14923:        \$(DX_V_LATEX)cd \$(DX_DOCDIR)/latex; \\
        !          14924:        rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\
        !          14925:        \$(DX_PDFLATEX) refman.tex; \\
        !          14926:        \$(DX_MAKEINDEX) refman.idx; \\
        !          14927:        \$(DX_PDFLATEX) refman.tex; \\
        !          14928:        countdown=5; \\
        !          14929:        while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\
        !          14930:                          refman.log > /dev/null 2>&1 \\
        !          14931:           && test \$\$countdown -gt 0; do \\
        !          14932:            \$(DX_PDFLATEX) refman.tex; \\
        !          14933:            countdown=\`expr \$\$countdown - 1\`; \\
        !          14934:        done; \\
        !          14935:        mv refman.pdf ../\$(PACKAGE).pdf
        !          14936: 
        !          14937: "
        !          14938: else
        !          14939:   DX_SNIPPET_pdf=""
        !          14940: fi
        !          14941: if test $DX_FLAG_ps -eq 1 -o $DX_FLAG_pdf -eq 1; then :
        !          14942:   DX_SNIPPET_latex="## ------------------------------------------------- ##
        !          14943: ## Rules specific for LaTeX (shared for PS and PDF). ##
        !          14944: ## ------------------------------------------------- ##
        !          14945: 
        !          14946: DX_V_LATEX = \$(_DX_v_LATEX_\$(V))
        !          14947: _DX_v_LATEX_ = \$(_DX_v_LATEX_\$(AM_DEFAULT_VERBOSITY))
        !          14948: _DX_v_LATEX_0 = @echo \"  LATEX \" \$@;
        !          14949: 
        !          14950: DX_CLEAN_LATEX = \$(DX_DOCDIR)/latex\\
        !          14951:                  \$(DX_DOCDIR)/latex
        !          14952: 
        !          14953: "
        !          14954: else
        !          14955:   DX_SNIPPET_latex=""
        !          14956: fi
        !          14957: 
        !          14958: if test $DX_FLAG_doc -eq 1; then :
        !          14959:   DX_SNIPPET_doc="## --------------------------------- ##
        !          14960: ## Format-independent Doxygen rules. ##
        !          14961: ## --------------------------------- ##
        !          14962: 
        !          14963: ${DX_SNIPPET_html}\
        !          14964: ${DX_SNIPPET_chm}\
        !          14965: ${DX_SNIPPET_man}\
        !          14966: ${DX_SNIPPET_rtf}\
        !          14967: ${DX_SNIPPET_xml}\
        !          14968: ${DX_SNIPPET_ps}\
        !          14969: ${DX_SNIPPET_pdf}\
        !          14970: ${DX_SNIPPET_latex}\
        !          14971: DX_V_DXGEN = \$(_DX_v_DXGEN_\$(V))
        !          14972: _DX_v_DXGEN_ = \$(_DX_v_DXGEN_\$(AM_DEFAULT_VERBOSITY))
        !          14973: _DX_v_DXGEN_0 = @echo \"  DXGEN \" \$<;
        !          14974: 
        !          14975: .PHONY: doxygen-run doxygen-doc \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
        !          14976: 
        !          14977: .INTERMEDIATE: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
        !          14978: 
        !          14979: doxygen-run: \$(DX_DOCDIR)/\$(PACKAGE).tag
        !          14980: 
        !          14981: doxygen-doc: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL)
        !          14982: 
        !          14983: \$(DX_DOCDIR)/\$(PACKAGE).tag: \$(DX_CONFIG) \$(pkginclude_HEADERS)
        !          14984:        \$(DX_V_DXGEN)\$(DX_ENV) DOCDIR=\$(DX_DOCDIR) \$(DX_DOXYGEN) \$(DX_CONFIG)
        !          14985:        \$(A""M_V_at)echo Timestamp >\$@
        !          14986: 
        !          14987: DX_CLEANFILES = \\
        !          14988:        \$(DX_DOCDIR)/doxygen_sqlite3.db \\
        !          14989:        \$(DX_DOCDIR)/\$(PACKAGE).tag \\
        !          14990:        -r \\
        !          14991:        \$(DX_CLEAN_HTML) \\
        !          14992:        \$(DX_CLEAN_CHM) \\
        !          14993:        \$(DX_CLEAN_CHI) \\
        !          14994:        \$(DX_CLEAN_MAN) \\
        !          14995:        \$(DX_CLEAN_RTF) \\
        !          14996:        \$(DX_CLEAN_XML) \\
        !          14997:        \$(DX_CLEAN_PS) \\
        !          14998:        \$(DX_CLEAN_PDF) \\
        !          14999:        \$(DX_CLEAN_LATEX)"
        !          15000: else
        !          15001:   DX_SNIPPET_doc=""
        !          15002: fi
        !          15003: DX_RULES="${DX_SNIPPET_doc}"
        !          15004: 
        !          15005: 
        !          15006: #For debugging:
        !          15007: #echo DX_FLAG_doc=$DX_FLAG_doc
        !          15008: #echo DX_FLAG_dot=$DX_FLAG_dot
        !          15009: #echo DX_FLAG_man=$DX_FLAG_man
        !          15010: #echo DX_FLAG_html=$DX_FLAG_html
        !          15011: #echo DX_FLAG_chm=$DX_FLAG_chm
        !          15012: #echo DX_FLAG_chi=$DX_FLAG_chi
        !          15013: #echo DX_FLAG_rtf=$DX_FLAG_rtf
        !          15014: #echo DX_FLAG_xml=$DX_FLAG_xml
        !          15015: #echo DX_FLAG_pdf=$DX_FLAG_pdf
        !          15016: #echo DX_FLAG_ps=$DX_FLAG_ps
        !          15017: #echo DX_ENV=$DX_ENV
        !          15018: 
        !          15019:  if test "x${DX_FLAG_doc}" = x1; then
        !          15020:   ENABLE_DOXYGEN_TRUE=
        !          15021:   ENABLE_DOXYGEN_FALSE='#'
        !          15022: else
        !          15023:   ENABLE_DOXYGEN_TRUE='#'
        !          15024:   ENABLE_DOXYGEN_FALSE=
        !          15025: fi
        !          15026: 
        !          15027:  if test "x${DX_FLAG_html}" = x1; then
        !          15028:   ENABLE_HTML_TRUE=
        !          15029:   ENABLE_HTML_FALSE='#'
        !          15030: else
        !          15031:   ENABLE_HTML_TRUE='#'
        !          15032:   ENABLE_HTML_FALSE=
        !          15033: fi
        !          15034: 
        !          15035:  if test "x${DX_FLAG_man}" = x1; then
        !          15036:   ENABLE_MAN_TRUE=
        !          15037:   ENABLE_MAN_FALSE='#'
        !          15038: else
        !          15039:   ENABLE_MAN_TRUE='#'
        !          15040:   ENABLE_MAN_FALSE=
        !          15041: fi
        !          15042: 
        !          15043: 
        !          15044: # Check for sample building
        !          15045: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sample programs" >&5
        !          15046: $as_echo_n "checking whether to build sample programs... " >&6; }
        !          15047: # Check whether --enable-samples was given.
        !          15048: if test "${enable_samples+set}" = set; then :
        !          15049:   enableval=$enable_samples; enable_samples=$enableval
        !          15050: else
        !          15051:   enable_samples=no
        !          15052: 
        !          15053: fi
        !          15054: 
        !          15055: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_samples" >&5
        !          15056: $as_echo "$enable_samples" >&6; }
        !          15057:  if test "$enable_samples" = "yes"; then
        !          15058:   ENABLE_SAMPLES_TRUE=
        !          15059:   ENABLE_SAMPLES_FALSE='#'
        !          15060: else
        !          15061:   ENABLE_SAMPLES_TRUE='#'
        !          15062:   ENABLE_SAMPLES_FALSE=
        !          15063: fi
        !          15064: 
        !          15065: 
        !          15066: # what (not) to do if the user disables shared libraries
        !          15067:  if test "x$enable_shared" != xno; then
        !          15068:   COND_SHARED_TRUE=
        !          15069:   COND_SHARED_FALSE='#'
        !          15070: else
        !          15071:   COND_SHARED_TRUE='#'
        !          15072:   COND_SHARED_FALSE=
        !          15073: fi
        !          15074: 
        !          15075: 
        !          15076: # Check and set OS specific parameters
        !          15077: case $target_os in #(
        !          15078:   *linux*) :
        !          15079: 
        !          15080: 
        !          15081: $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
        !          15082: 
        !          15083: 
        !          15084: $as_echo "#define _DEFAULT_SOURCE 1" >>confdefs.h
        !          15085: 
        !          15086: 
        !          15087:     PKG_CONFIG_DEFINES="-D_BSD_SOURCE -D_DEFAULT_SOURCE"
        !          15088:     for ac_header in net/ethernet.h
        !          15089: do :
        !          15090:   ac_fn_c_check_header_mongrel "$LINENO" "net/ethernet.h" "ac_cv_header_net_ethernet_h" "$ac_includes_default"
        !          15091: if test "x$ac_cv_header_net_ethernet_h" = xyes; then :
        !          15092:   cat >>confdefs.h <<_ACEOF
        !          15093: #define HAVE_NET_ETHERNET_H 1
        !          15094: _ACEOF
        !          15095:  \
        !          15096:         PKG_CONFIG_DEFINES="$PKG_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H"
        !          15097: fi
        !          15098: 
        !          15099: done
        !          15100: 
        !          15101:      ;; #(
        !          15102:   *freebsd*) :
        !          15103: 
        !          15104:     PKG_CONFIG_DEFINES="-DHAVE_SOCKADDR_SA_LEN"
1.1.1.2   misho    15105: 
                   15106: $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
                   15107: 
                   15108: 
1.1.1.4 ! misho    15109:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking FreeBSD version, is SOCK_RAW really raw?" >&5
        !          15110: $as_echo_n "checking FreeBSD version, is SOCK_RAW really raw?... " >&6; }
        !          15111:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15112: /* end confdefs.h.  */
        !          15113: #include <sys/param.h>
        !          15114: int
        !          15115: main ()
        !          15116: {
        !          15117: 
        !          15118: #if (__FreeBSD_version >= 1100030)
        !          15119:     return 0;
        !          15120: #else
        !          15121: #error FreeBSD pre-11, SOCK_RAW isn't really raw, see https://www.freebsd.org/cgi/man.cgi?ip(4)#end
        !          15122: #endif
        !          15123:   ;
        !          15124:   return 0;
        !          15125: }
        !          15126: _ACEOF
        !          15127: if ac_fn_c_try_compile "$LINENO"; then :
        !          15128:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          15129: $as_echo "yes" >&6; }
        !          15130: else
        !          15131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          15132: $as_echo "no" >&6; }
        !          15133: 
        !          15134: $as_echo "#define LIBNET_BSD_BYTE_SWAP 1" >>confdefs.h
        !          15135: 
        !          15136:     PKG_CONFIG_DEFINES="${PKG_CONFIG_DEFINES} -DLIBNET_BSD_BYTE_SWAP"
        !          15137: fi
        !          15138: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; #(
        !          15139:   *netbsd*) :
1.1.1.2   misho    15140: 
                   15141: 
1.1.1.4 ! misho    15142: $as_echo "#define LIBNET_BSD_BYTE_SWAP 1" >>confdefs.h
1.1.1.2   misho    15143: 
                   15144: 
1.1.1.4 ! misho    15145:     PKG_CONFIG_DEFINES="-DLIBNET_BSD_BYTE_SWAP"
        !          15146:      ;; #(
        !          15147:   *openbsd*) :
1.1.1.2   misho    15148: 
                   15149: 
1.1.1.4 ! misho    15150: $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
        !          15151: 
        !          15152:      ;; #(
        !          15153:   *bsdi*) :
        !          15154: 
        !          15155: 
        !          15156: $as_echo "#define LIBNET_BSD_BYTE_SWAP 1" >>confdefs.h
        !          15157: 
        !          15158:     PKG_CONFIG_DEFINES="-DLIBNET_BSD_BYTE_SWAP"
        !          15159:      ;; #(
        !          15160:   *darwin*) :
        !          15161: 
        !          15162: 
        !          15163: $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
        !          15164: 
        !          15165: 
        !          15166: $as_echo "#define LIBNET_BSD_BYTE_SWAP 1" >>confdefs.h
        !          15167: 
        !          15168:     PKG_CONFIG_DEFINES="-DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSD_BYTE_SWAP"
        !          15169:      ;; #(
        !          15170:   *solaris*) :
1.1.1.2   misho    15171: 
                   15172: 
                   15173: $as_echo "#define HAVE_SOLARIS 1" >>confdefs.h
                   15174: 
                   15175:     for ac_header in sys/bufmod.h sys/dlpi_ext.h
                   15176: do :
                   15177:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   15178: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   15179: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   15180:   cat >>confdefs.h <<_ACEOF
                   15181: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   15182: _ACEOF
                   15183: 
                   15184: fi
                   15185: 
                   15186: done
                   15187: 
                   15188:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/dlpi device" >&5
                   15189: $as_echo_n "checking for /dev/dlpi device... " >&6; }
1.1.1.4 ! misho    15190:     if test -c /dev/dlpi; then :
        !          15191: 
1.1.1.2   misho    15192:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   15193: $as_echo "yes" >&6; }
                   15194: 
                   15195: $as_echo "#define HAVE_DEV_DLPI 1" >>confdefs.h
                   15196: 
1.1.1.4 ! misho    15197: 
        !          15198: else
        !          15199: 
1.1.1.2   misho    15200:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   15201: $as_echo "no" >&6; }
                   15202:         dir="/dev/dlpi"
                   15203:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dir directory" >&5
                   15204: $as_echo_n "checking for $dir directory... " >&6; }
1.1.1.4 ! misho    15205:         if test -d $dir; then :
        !          15206: 
1.1.1.2   misho    15207:             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   15208: $as_echo "yes" >&6; }
                   15209: 
                   15210: cat >>confdefs.h <<_ACEOF
                   15211: #define DLPI_DEV_PREFIX "$dir"
                   15212: _ACEOF
                   15213: 
1.1.1.4 ! misho    15214: 
        !          15215: else
        !          15216: 
1.1.1.2   misho    15217:             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   15218: $as_echo "no" >&6; }
1.1.1.4 ! misho    15219: 
        !          15220: fi
        !          15221: 
        !          15222: fi
1.1.1.2   misho    15223:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   15224: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   15225: if ${ac_cv_lib_socket_socket+:} false; then :
                   15226:   $as_echo_n "(cached) " >&6
                   15227: else
                   15228:   ac_check_lib_save_LIBS=$LIBS
                   15229: LIBS="-lsocket  $LIBS"
                   15230: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15231: /* end confdefs.h.  */
                   15232: 
                   15233: /* Override any GCC internal prototype to avoid an error.
                   15234:    Use char because int might match the return type of a GCC
                   15235:    builtin and then its argument prototype would still apply.  */
                   15236: #ifdef __cplusplus
                   15237: extern "C"
                   15238: #endif
                   15239: char socket ();
                   15240: int
                   15241: main ()
                   15242: {
                   15243: return socket ();
                   15244:   ;
                   15245:   return 0;
                   15246: }
                   15247: _ACEOF
                   15248: if ac_fn_c_try_link "$LINENO"; then :
                   15249:   ac_cv_lib_socket_socket=yes
                   15250: else
                   15251:   ac_cv_lib_socket_socket=no
                   15252: fi
                   15253: rm -f core conftest.err conftest.$ac_objext \
                   15254:     conftest$ac_exeext conftest.$ac_ext
                   15255: LIBS=$ac_check_lib_save_LIBS
                   15256: fi
                   15257: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   15258: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   15259: if test "x$ac_cv_lib_socket_socket" = xyes; then :
                   15260:   cat >>confdefs.h <<_ACEOF
                   15261: #define HAVE_LIBSOCKET 1
                   15262: _ACEOF
                   15263: 
                   15264:   LIBS="-lsocket $LIBS"
                   15265: 
                   15266: else
                   15267:   as_fn_error $? "libsocket not found." "$LINENO" 5
                   15268: fi
                   15269: 
                   15270:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   15271: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   15272: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   15273:   $as_echo_n "(cached) " >&6
                   15274: else
                   15275:   ac_check_lib_save_LIBS=$LIBS
                   15276: LIBS="-lnsl  $LIBS"
                   15277: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15278: /* end confdefs.h.  */
                   15279: 
                   15280: /* Override any GCC internal prototype to avoid an error.
                   15281:    Use char because int might match the return type of a GCC
                   15282:    builtin and then its argument prototype would still apply.  */
                   15283: #ifdef __cplusplus
                   15284: extern "C"
                   15285: #endif
                   15286: char gethostbyname ();
                   15287: int
                   15288: main ()
                   15289: {
                   15290: return gethostbyname ();
                   15291:   ;
                   15292:   return 0;
                   15293: }
                   15294: _ACEOF
                   15295: if ac_fn_c_try_link "$LINENO"; then :
                   15296:   ac_cv_lib_nsl_gethostbyname=yes
                   15297: else
                   15298:   ac_cv_lib_nsl_gethostbyname=no
                   15299: fi
                   15300: rm -f core conftest.err conftest.$ac_objext \
                   15301:     conftest$ac_exeext conftest.$ac_ext
                   15302: LIBS=$ac_check_lib_save_LIBS
                   15303: fi
                   15304: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   15305: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   15306: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
                   15307:   cat >>confdefs.h <<_ACEOF
                   15308: #define HAVE_LIBNSL 1
                   15309: _ACEOF
                   15310: 
                   15311:   LIBS="-lnsl $LIBS"
                   15312: 
                   15313: else
                   15314:   as_fn_error $? "libnsl not found." "$LINENO" 5
                   15315: fi
                   15316: 
                   15317:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror in -lresolv" >&5
                   15318: $as_echo_n "checking for hstrerror in -lresolv... " >&6; }
                   15319: if ${ac_cv_lib_resolv_hstrerror+:} false; then :
                   15320:   $as_echo_n "(cached) " >&6
                   15321: else
                   15322:   ac_check_lib_save_LIBS=$LIBS
                   15323: LIBS="-lresolv  $LIBS"
                   15324: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15325: /* end confdefs.h.  */
                   15326: 
                   15327: /* Override any GCC internal prototype to avoid an error.
                   15328:    Use char because int might match the return type of a GCC
                   15329:    builtin and then its argument prototype would still apply.  */
                   15330: #ifdef __cplusplus
                   15331: extern "C"
                   15332: #endif
                   15333: char hstrerror ();
                   15334: int
                   15335: main ()
                   15336: {
                   15337: return hstrerror ();
                   15338:   ;
                   15339:   return 0;
                   15340: }
                   15341: _ACEOF
                   15342: if ac_fn_c_try_link "$LINENO"; then :
                   15343:   ac_cv_lib_resolv_hstrerror=yes
                   15344: else
                   15345:   ac_cv_lib_resolv_hstrerror=no
                   15346: fi
                   15347: rm -f core conftest.err conftest.$ac_objext \
                   15348:     conftest$ac_exeext conftest.$ac_ext
                   15349: LIBS=$ac_check_lib_save_LIBS
                   15350: fi
                   15351: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_hstrerror" >&5
                   15352: $as_echo "$ac_cv_lib_resolv_hstrerror" >&6; }
                   15353: if test "x$ac_cv_lib_resolv_hstrerror" = xyes; then :
                   15354:   cat >>confdefs.h <<_ACEOF
                   15355: #define HAVE_LIBRESOLV 1
                   15356: _ACEOF
                   15357: 
                   15358:   LIBS="-lresolv $LIBS"
                   15359: 
                   15360: else
                   15361:   as_fn_error $? "libresolv not found." "$LINENO" 5
                   15362: fi
                   15363: 
                   15364: 
1.1.1.4 ! misho    15365:     #
        !          15366:     # Broken checksums?
        !          15367:     #
        !          15368:     case `uname -r` in #(
        !          15369:   5.4) :
        !          15370: 
1.1.1.2   misho    15371: 
                   15372: $as_echo "#define STUPID_SOLARIS_CHECKSUM_BUG 1" >>confdefs.h
                   15373: 
1.1.1.4 ! misho    15374:          ;; #(
        !          15375:   5.5*) :
        !          15376: 
1.1.1.2   misho    15377: 
                   15378: $as_echo "#define STUPID_SOLARIS_CHECKSUM_BUG 1" >>confdefs.h
                   15379: 
1.1.1.4 ! misho    15380:          ;; #(
        !          15381:   5.8) :
        !          15382: 
1.1.1.2   misho    15383: 
                   15384: $as_echo "#define STUPID_SOLARIS_CHECKSUM_BUG 1" >>confdefs.h
                   15385: 
                   15386: 
                   15387: $as_echo "#define HAVE_SOLARIS_IPV6 1" >>confdefs.h
                   15388: 
                   15389: 
1.1.1.4 ! misho    15390:          ;; #(
        !          15391:   5.9) :
        !          15392: 
1.1.1.2   misho    15393: 
                   15394: $as_echo "#define STUPID_SOLARIS_CHECKSUM_BUG 1" >>confdefs.h
                   15395: 
                   15396: 
                   15397: $as_echo "#define HAVE_SOLARIS_IPV6 1" >>confdefs.h
                   15398: 
1.1.1.4 ! misho    15399:          ;; #(
        !          15400:   5.10 | 5.11 | 5.12) :
        !          15401: 
        !          15402: 
        !          15403: $as_echo "#define HAVE_SOLARIS_IPV6 1" >>confdefs.h
        !          15404: 
        !          15405:          ;; #(
        !          15406:   *) :
        !          15407:      ;;
        !          15408: esac
        !          15409: 
        !          15410:     ADDITIONAL_LIBS="-lresolv -lsocket -lnsl"
        !          15411:     PKG_CONFIG_LIBS="$PKG_CONFIG_LIBS -lresolv -lsocket -lnsl"
        !          15412:      ;; #(
        !          15413:   *hpux11*) :
        !          15414: 
        !          15415: 
        !          15416: $as_echo "#define HAVE_HPUX11 1" >>confdefs.h
        !          15417: 
        !          15418:     for ac_header in sys/dlpi_ext.h
        !          15419: do :
        !          15420:   ac_fn_c_check_header_mongrel "$LINENO" "sys/dlpi_ext.h" "ac_cv_header_sys_dlpi_ext_h" "$ac_includes_default"
        !          15421: if test "x$ac_cv_header_sys_dlpi_ext_h" = xyes; then :
        !          15422:   cat >>confdefs.h <<_ACEOF
        !          15423: #define HAVE_SYS_DLPI_EXT_H 1
        !          15424: _ACEOF
        !          15425: 
        !          15426: fi
        !          15427: 
        !          15428: done
        !          15429: 
        !          15430:      ;; #(
        !          15431:   *cygwin* | *msys*) :
        !          15432: 
        !          15433:     WIN32="yes"
        !          15434: 
        !          15435:     CFLAGS="$CFLAGS -mwin32"
        !          15436:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PacketSetMode in -lpacket" >&5
        !          15437: $as_echo_n "checking for PacketSetMode in -lpacket... " >&6; }
        !          15438: if ${ac_cv_lib_packet_PacketSetMode+:} false; then :
        !          15439:   $as_echo_n "(cached) " >&6
        !          15440: else
        !          15441:   ac_check_lib_save_LIBS=$LIBS
        !          15442: LIBS="-lpacket  $LIBS"
        !          15443: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15444: /* end confdefs.h.  */
        !          15445: 
        !          15446: /* Override any GCC internal prototype to avoid an error.
        !          15447:    Use char because int might match the return type of a GCC
        !          15448:    builtin and then its argument prototype would still apply.  */
        !          15449: #ifdef __cplusplus
        !          15450: extern "C"
        !          15451: #endif
        !          15452: char PacketSetMode ();
        !          15453: int
        !          15454: main ()
        !          15455: {
        !          15456: return PacketSetMode ();
        !          15457:   ;
        !          15458:   return 0;
        !          15459: }
        !          15460: _ACEOF
        !          15461: if ac_fn_c_try_link "$LINENO"; then :
        !          15462:   ac_cv_lib_packet_PacketSetMode=yes
        !          15463: else
        !          15464:   ac_cv_lib_packet_PacketSetMode=no
        !          15465: fi
        !          15466: rm -f core conftest.err conftest.$ac_objext \
        !          15467:     conftest$ac_exeext conftest.$ac_ext
        !          15468: LIBS=$ac_check_lib_save_LIBS
        !          15469: fi
        !          15470: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_packet_PacketSetMode" >&5
        !          15471: $as_echo "$ac_cv_lib_packet_PacketSetMode" >&6; }
        !          15472: if test "x$ac_cv_lib_packet_PacketSetMode" = xyes; then :
        !          15473:   cat >>confdefs.h <<_ACEOF
        !          15474: #define HAVE_LIBPACKET 1
        !          15475: _ACEOF
        !          15476: 
        !          15477:   LIBS="-lpacket $LIBS"
        !          15478: 
        !          15479: else
        !          15480:   as_fn_error $? "packet lib not found." "$LINENO" 5
        !          15481: fi
        !          15482: 
        !          15483:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_setmode in -lwpcap" >&5
        !          15484: $as_echo_n "checking for pcap_setmode in -lwpcap... " >&6; }
        !          15485: if ${ac_cv_lib_wpcap_pcap_setmode+:} false; then :
        !          15486:   $as_echo_n "(cached) " >&6
        !          15487: else
        !          15488:   ac_check_lib_save_LIBS=$LIBS
        !          15489: LIBS="-lwpcap  $LIBS"
        !          15490: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15491: /* end confdefs.h.  */
        !          15492: 
        !          15493: /* Override any GCC internal prototype to avoid an error.
        !          15494:    Use char because int might match the return type of a GCC
        !          15495:    builtin and then its argument prototype would still apply.  */
        !          15496: #ifdef __cplusplus
        !          15497: extern "C"
        !          15498: #endif
        !          15499: char pcap_setmode ();
        !          15500: int
        !          15501: main ()
        !          15502: {
        !          15503: return pcap_setmode ();
        !          15504:   ;
        !          15505:   return 0;
        !          15506: }
        !          15507: _ACEOF
        !          15508: if ac_fn_c_try_link "$LINENO"; then :
        !          15509:   ac_cv_lib_wpcap_pcap_setmode=yes
        !          15510: else
        !          15511:   ac_cv_lib_wpcap_pcap_setmode=no
        !          15512: fi
        !          15513: rm -f core conftest.err conftest.$ac_objext \
        !          15514:     conftest$ac_exeext conftest.$ac_ext
        !          15515: LIBS=$ac_check_lib_save_LIBS
        !          15516: fi
        !          15517: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wpcap_pcap_setmode" >&5
        !          15518: $as_echo "$ac_cv_lib_wpcap_pcap_setmode" >&6; }
        !          15519: if test "x$ac_cv_lib_wpcap_pcap_setmode" = xyes; then :
        !          15520:   cat >>confdefs.h <<_ACEOF
        !          15521: #define HAVE_LIBWPCAP 1
        !          15522: _ACEOF
1.1.1.2   misho    15523: 
1.1.1.4 ! misho    15524:   LIBS="-lwpcap $LIBS"
1.1.1.2   misho    15525: 
1.1.1.4 ! misho    15526: else
        !          15527:   as_fn_error $? "pcap lib not found." "$LINENO" 5
        !          15528: fi
1.1.1.2   misho    15529: 
1.1.1.4 ! misho    15530:     LIBS="$LIBS -lws2_32"
        !          15531:      ;; #(
        !          15532:   *mingw*) :
1.1.1.2   misho    15533: 
1.1.1.4 ! misho    15534:     WIN32="yes"
1.1.1.2   misho    15535: 
                   15536: 
1.1.1.4 ! misho    15537:     if test "$enable_shared" = "yes"; then :
        !          15538:   if test -n "$ac_tool_prefix"; then
        !          15539:   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
        !          15540: set dummy ${ac_tool_prefix}windres; ac_word=$2
        !          15541: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          15542: $as_echo_n "checking for $ac_word... " >&6; }
        !          15543: if ${ac_cv_prog_WINDRES+:} false; then :
        !          15544:   $as_echo_n "(cached) " >&6
        !          15545: else
        !          15546:   if test -n "$WINDRES"; then
        !          15547:   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
        !          15548: else
        !          15549: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          15550: for as_dir in $PATH
        !          15551: do
        !          15552:   IFS=$as_save_IFS
        !          15553:   test -z "$as_dir" && as_dir=.
        !          15554:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          15555:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          15556:     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
        !          15557:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          15558:     break 2
        !          15559:   fi
        !          15560: done
        !          15561:   done
        !          15562: IFS=$as_save_IFS
1.1.1.2   misho    15563: 
1.1.1.4 ! misho    15564: fi
        !          15565: fi
        !          15566: WINDRES=$ac_cv_prog_WINDRES
        !          15567: if test -n "$WINDRES"; then
        !          15568:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
        !          15569: $as_echo "$WINDRES" >&6; }
        !          15570: else
        !          15571:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          15572: $as_echo "no" >&6; }
        !          15573: fi
1.1.1.2   misho    15574: 
                   15575: 
                   15576: fi
1.1.1.4 ! misho    15577: if test -z "$ac_cv_prog_WINDRES"; then
        !          15578:   ac_ct_WINDRES=$WINDRES
        !          15579:   # Extract the first word of "windres", so it can be a program name with args.
        !          15580: set dummy windres; ac_word=$2
        !          15581: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          15582: $as_echo_n "checking for $ac_word... " >&6; }
        !          15583: if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
        !          15584:   $as_echo_n "(cached) " >&6
        !          15585: else
        !          15586:   if test -n "$ac_ct_WINDRES"; then
        !          15587:   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
        !          15588: else
        !          15589: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          15590: for as_dir in $PATH
        !          15591: do
        !          15592:   IFS=$as_save_IFS
        !          15593:   test -z "$as_dir" && as_dir=.
        !          15594:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          15595:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          15596:     ac_cv_prog_ac_ct_WINDRES="windres"
        !          15597:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          15598:     break 2
        !          15599:   fi
1.1.1.2   misho    15600: done
1.1.1.4 ! misho    15601:   done
        !          15602: IFS=$as_save_IFS
1.1.1.2   misho    15603: 
1.1.1.4 ! misho    15604: fi
        !          15605: fi
        !          15606: ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
        !          15607: if test -n "$ac_ct_WINDRES"; then
        !          15608:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
        !          15609: $as_echo "$ac_ct_WINDRES" >&6; }
        !          15610: else
        !          15611:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          15612: $as_echo "no" >&6; }
        !          15613: fi
        !          15614: 
        !          15615:   if test "x$ac_ct_WINDRES" = x; then
        !          15616:     WINDRES=":"
        !          15617:   else
        !          15618:     case $cross_compiling:$ac_tool_warned in
        !          15619: yes:)
        !          15620: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          15621: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          15622: ac_tool_warned=yes ;;
        !          15623: esac
        !          15624:     WINDRES=$ac_ct_WINDRES
        !          15625:   fi
        !          15626: else
        !          15627:   WINDRES="$ac_cv_prog_WINDRES"
        !          15628: fi
1.1.1.2   misho    15629: 
1.1.1.4 ! misho    15630: fi
1.1.1.2   misho    15631: 
                   15632: 
1.1.1.4 ! misho    15633: $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h
1.1.1.2   misho    15634: 
                   15635: 
1.1.1.4 ! misho    15636:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PacketSetMode in -lpacket" >&5
1.1.1.2   misho    15637: $as_echo_n "checking for PacketSetMode in -lpacket... " >&6; }
                   15638: if ${ac_cv_lib_packet_PacketSetMode+:} false; then :
                   15639:   $as_echo_n "(cached) " >&6
                   15640: else
                   15641:   ac_check_lib_save_LIBS=$LIBS
                   15642: LIBS="-lpacket  $LIBS"
                   15643: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15644: /* end confdefs.h.  */
                   15645: 
                   15646: /* Override any GCC internal prototype to avoid an error.
                   15647:    Use char because int might match the return type of a GCC
                   15648:    builtin and then its argument prototype would still apply.  */
                   15649: #ifdef __cplusplus
                   15650: extern "C"
                   15651: #endif
                   15652: char PacketSetMode ();
                   15653: int
                   15654: main ()
                   15655: {
                   15656: return PacketSetMode ();
                   15657:   ;
                   15658:   return 0;
                   15659: }
                   15660: _ACEOF
                   15661: if ac_fn_c_try_link "$LINENO"; then :
                   15662:   ac_cv_lib_packet_PacketSetMode=yes
                   15663: else
                   15664:   ac_cv_lib_packet_PacketSetMode=no
                   15665: fi
                   15666: rm -f core conftest.err conftest.$ac_objext \
                   15667:     conftest$ac_exeext conftest.$ac_ext
                   15668: LIBS=$ac_check_lib_save_LIBS
                   15669: fi
                   15670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_packet_PacketSetMode" >&5
                   15671: $as_echo "$ac_cv_lib_packet_PacketSetMode" >&6; }
                   15672: if test "x$ac_cv_lib_packet_PacketSetMode" = xyes; then :
                   15673:   cat >>confdefs.h <<_ACEOF
                   15674: #define HAVE_LIBPACKET 1
                   15675: _ACEOF
                   15676: 
                   15677:   LIBS="-lpacket $LIBS"
                   15678: 
                   15679: else
1.1.1.4 ! misho    15680:   as_fn_error $? "libpacket.a not found. See README.win32 for more information" "$LINENO" 5
1.1.1.2   misho    15681: fi
                   15682: 
1.1.1.4 ! misho    15683:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_setmode in -lwpcap" >&5
1.1.1.2   misho    15684: $as_echo_n "checking for pcap_setmode in -lwpcap... " >&6; }
                   15685: if ${ac_cv_lib_wpcap_pcap_setmode+:} false; then :
                   15686:   $as_echo_n "(cached) " >&6
                   15687: else
                   15688:   ac_check_lib_save_LIBS=$LIBS
                   15689: LIBS="-lwpcap  $LIBS"
                   15690: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15691: /* end confdefs.h.  */
                   15692: 
                   15693: /* Override any GCC internal prototype to avoid an error.
                   15694:    Use char because int might match the return type of a GCC
                   15695:    builtin and then its argument prototype would still apply.  */
                   15696: #ifdef __cplusplus
                   15697: extern "C"
                   15698: #endif
                   15699: char pcap_setmode ();
                   15700: int
                   15701: main ()
                   15702: {
                   15703: return pcap_setmode ();
                   15704:   ;
                   15705:   return 0;
                   15706: }
                   15707: _ACEOF
                   15708: if ac_fn_c_try_link "$LINENO"; then :
                   15709:   ac_cv_lib_wpcap_pcap_setmode=yes
                   15710: else
                   15711:   ac_cv_lib_wpcap_pcap_setmode=no
                   15712: fi
                   15713: rm -f core conftest.err conftest.$ac_objext \
                   15714:     conftest$ac_exeext conftest.$ac_ext
                   15715: LIBS=$ac_check_lib_save_LIBS
                   15716: fi
                   15717: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wpcap_pcap_setmode" >&5
                   15718: $as_echo "$ac_cv_lib_wpcap_pcap_setmode" >&6; }
                   15719: if test "x$ac_cv_lib_wpcap_pcap_setmode" = xyes; then :
                   15720:   cat >>confdefs.h <<_ACEOF
                   15721: #define HAVE_LIBWPCAP 1
                   15722: _ACEOF
                   15723: 
                   15724:   LIBS="-lwpcap $LIBS"
                   15725: 
                   15726: else
1.1.1.4 ! misho    15727:   as_fn_error $? "libwpcap.a not found. See README.win32 for more information" "$LINENO" 5
1.1.1.2   misho    15728: fi
                   15729: 
1.1.1.4 ! misho    15730:     LIBS="$LIBS -lws2_32 -liphlpapi"
1.1.1.2   misho    15731: 
1.1.1.4 ! misho    15732:     if test "$host" = "i686-w64-mingw32"; then :
1.1       misho    15733: 
1.1.1.4 ! misho    15734:         CFLAGS="$CFLAGS -march=i686 -mwin32"
        !          15735: else
1.1.1.2   misho    15736: 
1.1.1.4 ! misho    15737:        CFLAGS="$CFLAGS -mwin32"
1.1.1.2   misho    15738: 
1.1.1.4 ! misho    15739:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--high-entropy-va" >&5
        !          15740: $as_echo_n "checking whether the linker accepts -Wl,--high-entropy-va... " >&6; }
        !          15741: if ${ax_cv_check_ldflags___Wl___high_entropy_va+:} false; then :
        !          15742:   $as_echo_n "(cached) " >&6
        !          15743: else
        !          15744: 
        !          15745:   ax_check_save_flags=$LDFLAGS
        !          15746:   LDFLAGS="$LDFLAGS  -Wl,--high-entropy-va"
        !          15747:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          15748: /* end confdefs.h.  */
1.1.1.2   misho    15749: 
1.1.1.4 ! misho    15750: int
        !          15751: main ()
        !          15752: {
1.1.1.2   misho    15753: 
1.1.1.4 ! misho    15754:   ;
        !          15755:   return 0;
        !          15756: }
        !          15757: _ACEOF
        !          15758: if ac_fn_c_try_link "$LINENO"; then :
        !          15759:   ax_cv_check_ldflags___Wl___high_entropy_va=yes
        !          15760: else
        !          15761:   ax_cv_check_ldflags___Wl___high_entropy_va=no
        !          15762: fi
        !          15763: rm -f core conftest.err conftest.$ac_objext \
        !          15764:     conftest$ac_exeext conftest.$ac_ext
        !          15765:   LDFLAGS=$ax_check_save_flags
        !          15766: fi
        !          15767: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___high_entropy_va" >&5
        !          15768: $as_echo "$ax_cv_check_ldflags___Wl___high_entropy_va" >&6; }
        !          15769: if test "x$ax_cv_check_ldflags___Wl___high_entropy_va" = xyes; then :
        !          15770:   LDFLAGS="$LDFLAGS -Wl,--high-entropy-va"
1.1.1.2   misho    15771: else
1.1.1.4 ! misho    15772:   { $as_echo "$as_me:${as_lineno-$LINENO}: Consider updating your toolchain." >&5
        !          15773: $as_echo "$as_me: Consider updating your toolchain." >&6;}
        !          15774: fi
        !          15775: 
        !          15776: 
1.1.1.2   misho    15777: fi
                   15778: 
1.1.1.4 ! misho    15779:     if test "${cross_compiling}" = "yes"; then :
        !          15780: 
        !          15781:         CFLAGS="$CFLAGS -static-libgcc"
        !          15782: fi
        !          15783:      ;; #(
        !          15784:   *irix*) :
        !          15785: 
        !          15786:     CFLAGS="$CFLAGS -DINET6=1"
        !          15787:      ;; #(
        !          15788:   *) :
        !          15789: 
        !          15790:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${target_os} is not officially supported yet." >&5
        !          15791: $as_echo "$as_me: WARNING: ${target_os} is not officially supported yet." >&2;}
        !          15792:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Please report this to ${PACKAGE_BUGREPORT}" >&5
        !          15793: $as_echo "Please report this to ${PACKAGE_BUGREPORT}" >&6; } ;;
        !          15794: esac
1.1.1.2   misho    15795: 
1.1.1.4 ! misho    15796: # this only matters if we are building for Windows...
        !          15797:  if test "${WIN32}" = "yes"; then
        !          15798:   WIN32_TRUE=
        !          15799:   WIN32_FALSE='#'
        !          15800: else
        !          15801:   WIN32_TRUE='#'
        !          15802:   WIN32_FALSE=
        !          15803: fi
1.1.1.2   misho    15804: 
1.1.1.4 ! misho    15805: 
        !          15806: # Create all files from AC_CONFIG_FILES()
1.1.1.2   misho    15807: cat >confcache <<\_ACEOF
                   15808: # This file is a shell script that caches the results of configure
                   15809: # tests run on this system so they can be shared between configure
                   15810: # scripts and configure runs, see configure's option --config-cache.
                   15811: # It is not useful on other systems.  If it contains results you don't
                   15812: # want to keep, you may remove or edit it.
                   15813: #
                   15814: # config.status only pays attention to the cache file if you give it
                   15815: # the --recheck option to rerun configure.
                   15816: #
                   15817: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   15818: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   15819: # following values.
                   15820: 
                   15821: _ACEOF
                   15822: 
                   15823: # The following way of writing the cache mishandles newlines in values,
                   15824: # but we know of no workaround that is simple, portable, and efficient.
                   15825: # So, we kill variables containing newlines.
                   15826: # Ultrix sh set writes to stderr and can't be redirected directly,
                   15827: # and sets the high bit in the cache file unless we assign to the vars.
                   15828: (
                   15829:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   15830:     eval ac_val=\$$ac_var
                   15831:     case $ac_val in #(
                   15832:     *${as_nl}*)
                   15833:       case $ac_var in #(
                   15834:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   15835: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   15836:       esac
                   15837:       case $ac_var in #(
                   15838:       _ | IFS | as_nl) ;; #(
                   15839:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   15840:       *) { eval $ac_var=; unset $ac_var;} ;;
                   15841:       esac ;;
                   15842:     esac
                   15843:   done
                   15844: 
                   15845:   (set) 2>&1 |
                   15846:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   15847:     *${as_nl}ac_space=\ *)
                   15848:       # `set' does not quote correctly, so add quotes: double-quote
                   15849:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   15850:       sed -n \
                   15851:        "s/'/'\\\\''/g;
                   15852:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   15853:       ;; #(
                   15854:     *)
                   15855:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   15856:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   15857:       ;;
                   15858:     esac |
                   15859:     sort
                   15860: ) |
                   15861:   sed '
                   15862:      /^ac_cv_env_/b end
                   15863:      t clear
                   15864:      :clear
                   15865:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   15866:      t end
                   15867:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   15868:      :end' >>confcache
                   15869: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   15870:   if test -w "$cache_file"; then
                   15871:     if test "x$cache_file" != "x/dev/null"; then
                   15872:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   15873: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   15874:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   15875:        cat confcache >"$cache_file"
                   15876:       else
                   15877:         case $cache_file in #(
                   15878:         */* | ?:*)
                   15879:          mv -f confcache "$cache_file"$$ &&
                   15880:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   15881:         *)
                   15882:          mv -f confcache "$cache_file" ;;
                   15883:        esac
                   15884:       fi
                   15885:     fi
                   15886:   else
                   15887:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   15888: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   15889:   fi
                   15890: fi
                   15891: rm -f confcache
                   15892: 
                   15893: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   15894: # Let make expand exec_prefix.
                   15895: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   15896: 
                   15897: DEFS=-DHAVE_CONFIG_H
                   15898: 
                   15899: ac_libobjs=
                   15900: ac_ltlibobjs=
                   15901: U=
                   15902: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   15903:   # 1. Remove the extension, and $U if already installed.
                   15904:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   15905:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   15906:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   15907:   #    will be set to the directory where LIBOBJS objects are built.
                   15908:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   15909:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   15910: done
                   15911: LIBOBJS=$ac_libobjs
                   15912: 
                   15913: LTLIBOBJS=$ac_ltlibobjs
                   15914: 
                   15915: 
1.1.1.4 ! misho    15916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
        !          15917: $as_echo_n "checking that generated files are newer than configure... " >&6; }
        !          15918:    if test -n "$am_sleep_pid"; then
        !          15919:      # Hide warnings about reused PIDs.
        !          15920:      wait $am_sleep_pid 2>/dev/null
        !          15921:    fi
        !          15922:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
        !          15923: $as_echo "done" >&6; }
1.1.1.2   misho    15924:  if test -n "$EXEEXT"; then
                   15925:   am__EXEEXT_TRUE=
                   15926:   am__EXEEXT_FALSE='#'
                   15927: else
                   15928:   am__EXEEXT_TRUE='#'
                   15929:   am__EXEEXT_FALSE=
                   15930: fi
                   15931: 
1.1.1.4 ! misho    15932: 
        !          15933: if test -z "${ENABLE_DOXYGEN_TRUE}" && test -z "${ENABLE_DOXYGEN_FALSE}"; then
        !          15934:   as_fn_error $? "conditional \"ENABLE_DOXYGEN\" was never defined.
1.1.1.2   misho    15935: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15936: fi
1.1.1.4 ! misho    15937: if test -z "${ENABLE_HTML_TRUE}" && test -z "${ENABLE_HTML_FALSE}"; then
        !          15938:   as_fn_error $? "conditional \"ENABLE_HTML\" was never defined.
1.1.1.2   misho    15939: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15940: fi
1.1.1.4 ! misho    15941: if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then
        !          15942:   as_fn_error $? "conditional \"ENABLE_MAN\" was never defined.
1.1.1.2   misho    15943: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15944: fi
1.1.1.4 ! misho    15945: if test -z "${ENABLE_SAMPLES_TRUE}" && test -z "${ENABLE_SAMPLES_FALSE}"; then
        !          15946:   as_fn_error $? "conditional \"ENABLE_SAMPLES\" was never defined.
        !          15947: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          15948: fi
        !          15949: if test -z "${COND_SHARED_TRUE}" && test -z "${COND_SHARED_FALSE}"; then
        !          15950:   as_fn_error $? "conditional \"COND_SHARED\" was never defined.
        !          15951: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          15952: fi
        !          15953: if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
        !          15954:   as_fn_error $? "conditional \"WIN32\" was never defined.
1.1.1.2   misho    15955: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15956: fi
                   15957: 
                   15958: : "${CONFIG_STATUS=./config.status}"
                   15959: ac_write_fail=0
                   15960: ac_clean_files_save=$ac_clean_files
                   15961: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   15962: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   15963: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   15964: as_write_fail=0
                   15965: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   15966: #! $SHELL
                   15967: # Generated by $as_me.
                   15968: # Run this file to recreate the current configuration.
                   15969: # Compiler output produced by configure, useful for debugging
                   15970: # configure, is in config.log if it exists.
                   15971: 
                   15972: debug=false
                   15973: ac_cs_recheck=false
                   15974: ac_cs_silent=false
                   15975: 
                   15976: SHELL=\${CONFIG_SHELL-$SHELL}
                   15977: export SHELL
                   15978: _ASEOF
                   15979: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   15980: ## -------------------- ##
                   15981: ## M4sh Initialization. ##
                   15982: ## -------------------- ##
                   15983: 
                   15984: # Be more Bourne compatible
                   15985: DUALCASE=1; export DUALCASE # for MKS sh
                   15986: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   15987:   emulate sh
                   15988:   NULLCMD=:
                   15989:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   15990:   # is contrary to our usage.  Disable this feature.
                   15991:   alias -g '${1+"$@"}'='"$@"'
                   15992:   setopt NO_GLOB_SUBST
                   15993: else
                   15994:   case `(set -o) 2>/dev/null` in #(
                   15995:   *posix*) :
                   15996:     set -o posix ;; #(
                   15997:   *) :
                   15998:      ;;
                   15999: esac
                   16000: fi
                   16001: 
                   16002: 
                   16003: as_nl='
                   16004: '
                   16005: export as_nl
                   16006: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   16007: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   16008: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   16009: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   16010: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   16011: # but without wasting forks for bash or zsh.
                   16012: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   16013:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   16014:   as_echo='print -r --'
                   16015:   as_echo_n='print -rn --'
                   16016: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   16017:   as_echo='printf %s\n'
                   16018:   as_echo_n='printf %s'
                   16019: else
                   16020:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   16021:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   16022:     as_echo_n='/usr/ucb/echo -n'
                   16023:   else
                   16024:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   16025:     as_echo_n_body='eval
                   16026:       arg=$1;
                   16027:       case $arg in #(
                   16028:       *"$as_nl"*)
                   16029:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   16030:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   16031:       esac;
                   16032:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   16033:     '
                   16034:     export as_echo_n_body
                   16035:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   16036:   fi
                   16037:   export as_echo_body
                   16038:   as_echo='sh -c $as_echo_body as_echo'
                   16039: fi
                   16040: 
                   16041: # The user is always right.
                   16042: if test "${PATH_SEPARATOR+set}" != set; then
                   16043:   PATH_SEPARATOR=:
                   16044:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   16045:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   16046:       PATH_SEPARATOR=';'
                   16047:   }
                   16048: fi
                   16049: 
                   16050: 
                   16051: # IFS
                   16052: # We need space, tab and new line, in precisely that order.  Quoting is
                   16053: # there to prevent editors from complaining about space-tab.
                   16054: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   16055: # splitting by setting IFS to empty value.)
                   16056: IFS=" ""       $as_nl"
                   16057: 
                   16058: # Find who we are.  Look in the path if we contain no directory separator.
                   16059: as_myself=
                   16060: case $0 in #((
                   16061:   *[\\/]* ) as_myself=$0 ;;
                   16062:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   16063: for as_dir in $PATH
                   16064: do
                   16065:   IFS=$as_save_IFS
                   16066:   test -z "$as_dir" && as_dir=.
                   16067:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   16068:   done
                   16069: IFS=$as_save_IFS
                   16070: 
                   16071:      ;;
                   16072: esac
                   16073: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   16074: # in which case we are not to be found in the path.
                   16075: if test "x$as_myself" = x; then
                   16076:   as_myself=$0
                   16077: fi
                   16078: if test ! -f "$as_myself"; then
                   16079:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   16080:   exit 1
                   16081: fi
                   16082: 
                   16083: # Unset variables that we do not need and which cause bugs (e.g. in
                   16084: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   16085: # suppresses any "Segmentation fault" message there.  '((' could
                   16086: # trigger a bug in pdksh 5.2.14.
                   16087: for as_var in BASH_ENV ENV MAIL MAILPATH
                   16088: do eval test x\${$as_var+set} = xset \
                   16089:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   16090: done
                   16091: PS1='$ '
                   16092: PS2='> '
                   16093: PS4='+ '
                   16094: 
                   16095: # NLS nuisances.
                   16096: LC_ALL=C
                   16097: export LC_ALL
                   16098: LANGUAGE=C
                   16099: export LANGUAGE
                   16100: 
                   16101: # CDPATH.
                   16102: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   16103: 
                   16104: 
                   16105: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   16106: # ----------------------------------------
                   16107: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   16108: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   16109: # script with STATUS, using 1 if that was 0.
                   16110: as_fn_error ()
                   16111: {
                   16112:   as_status=$1; test $as_status -eq 0 && as_status=1
                   16113:   if test "$4"; then
                   16114:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   16115:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   16116:   fi
                   16117:   $as_echo "$as_me: error: $2" >&2
                   16118:   as_fn_exit $as_status
                   16119: } # as_fn_error
                   16120: 
                   16121: 
                   16122: # as_fn_set_status STATUS
                   16123: # -----------------------
                   16124: # Set $? to STATUS, without forking.
                   16125: as_fn_set_status ()
                   16126: {
                   16127:   return $1
                   16128: } # as_fn_set_status
                   16129: 
                   16130: # as_fn_exit STATUS
                   16131: # -----------------
                   16132: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   16133: as_fn_exit ()
                   16134: {
                   16135:   set +e
                   16136:   as_fn_set_status $1
                   16137:   exit $1
                   16138: } # as_fn_exit
                   16139: 
                   16140: # as_fn_unset VAR
                   16141: # ---------------
                   16142: # Portably unset VAR.
                   16143: as_fn_unset ()
                   16144: {
                   16145:   { eval $1=; unset $1;}
                   16146: }
                   16147: as_unset=as_fn_unset
                   16148: # as_fn_append VAR VALUE
                   16149: # ----------------------
                   16150: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   16151: # advantage of any shell optimizations that allow amortized linear growth over
                   16152: # repeated appends, instead of the typical quadratic growth present in naive
                   16153: # implementations.
                   16154: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   16155:   eval 'as_fn_append ()
                   16156:   {
                   16157:     eval $1+=\$2
                   16158:   }'
                   16159: else
                   16160:   as_fn_append ()
                   16161:   {
                   16162:     eval $1=\$$1\$2
                   16163:   }
                   16164: fi # as_fn_append
                   16165: 
                   16166: # as_fn_arith ARG...
                   16167: # ------------------
                   16168: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   16169: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   16170: # must be portable across $(()) and expr.
                   16171: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   16172:   eval 'as_fn_arith ()
                   16173:   {
                   16174:     as_val=$(( $* ))
                   16175:   }'
                   16176: else
                   16177:   as_fn_arith ()
                   16178:   {
                   16179:     as_val=`expr "$@" || test $? -eq 1`
                   16180:   }
                   16181: fi # as_fn_arith
                   16182: 
                   16183: 
                   16184: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   16185:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   16186:   as_expr=expr
                   16187: else
                   16188:   as_expr=false
                   16189: fi
                   16190: 
                   16191: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   16192:   as_basename=basename
                   16193: else
                   16194:   as_basename=false
                   16195: fi
                   16196: 
                   16197: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   16198:   as_dirname=dirname
                   16199: else
                   16200:   as_dirname=false
                   16201: fi
                   16202: 
                   16203: as_me=`$as_basename -- "$0" ||
                   16204: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   16205:         X"$0" : 'X\(//\)$' \| \
                   16206:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   16207: $as_echo X/"$0" |
                   16208:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   16209:            s//\1/
                   16210:            q
                   16211:          }
                   16212:          /^X\/\(\/\/\)$/{
                   16213:            s//\1/
                   16214:            q
                   16215:          }
                   16216:          /^X\/\(\/\).*/{
                   16217:            s//\1/
                   16218:            q
                   16219:          }
                   16220:          s/.*/./; q'`
                   16221: 
                   16222: # Avoid depending upon Character Ranges.
                   16223: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   16224: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   16225: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   16226: as_cr_digits='0123456789'
                   16227: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   16228: 
                   16229: ECHO_C= ECHO_N= ECHO_T=
                   16230: case `echo -n x` in #(((((
                   16231: -n*)
                   16232:   case `echo 'xy\c'` in
                   16233:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   16234:   xy)  ECHO_C='\c';;
                   16235:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   16236:        ECHO_T='        ';;
                   16237:   esac;;
                   16238: *)
                   16239:   ECHO_N='-n';;
                   16240: esac
                   16241: 
                   16242: rm -f conf$$ conf$$.exe conf$$.file
                   16243: if test -d conf$$.dir; then
                   16244:   rm -f conf$$.dir/conf$$.file
                   16245: else
                   16246:   rm -f conf$$.dir
                   16247:   mkdir conf$$.dir 2>/dev/null
                   16248: fi
                   16249: if (echo >conf$$.file) 2>/dev/null; then
                   16250:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   16251:     as_ln_s='ln -s'
                   16252:     # ... but there are two gotchas:
                   16253:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   16254:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.4 ! misho    16255:     # In both cases, we have to default to `cp -pR'.
1.1.1.2   misho    16256:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.4 ! misho    16257:       as_ln_s='cp -pR'
1.1.1.2   misho    16258:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   16259:     as_ln_s=ln
                   16260:   else
1.1.1.4 ! misho    16261:     as_ln_s='cp -pR'
1.1.1.2   misho    16262:   fi
                   16263: else
1.1.1.4 ! misho    16264:   as_ln_s='cp -pR'
1.1.1.2   misho    16265: fi
                   16266: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   16267: rmdir conf$$.dir 2>/dev/null
                   16268: 
                   16269: 
                   16270: # as_fn_mkdir_p
                   16271: # -------------
                   16272: # Create "$as_dir" as a directory, including parents if necessary.
                   16273: as_fn_mkdir_p ()
                   16274: {
                   16275: 
                   16276:   case $as_dir in #(
                   16277:   -*) as_dir=./$as_dir;;
                   16278:   esac
                   16279:   test -d "$as_dir" || eval $as_mkdir_p || {
                   16280:     as_dirs=
                   16281:     while :; do
                   16282:       case $as_dir in #(
                   16283:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   16284:       *) as_qdir=$as_dir;;
                   16285:       esac
                   16286:       as_dirs="'$as_qdir' $as_dirs"
                   16287:       as_dir=`$as_dirname -- "$as_dir" ||
                   16288: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16289:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   16290:         X"$as_dir" : 'X\(//\)$' \| \
                   16291:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   16292: $as_echo X"$as_dir" |
                   16293:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16294:            s//\1/
                   16295:            q
                   16296:          }
                   16297:          /^X\(\/\/\)[^/].*/{
                   16298:            s//\1/
                   16299:            q
                   16300:          }
                   16301:          /^X\(\/\/\)$/{
                   16302:            s//\1/
                   16303:            q
                   16304:          }
                   16305:          /^X\(\/\).*/{
                   16306:            s//\1/
                   16307:            q
                   16308:          }
                   16309:          s/.*/./; q'`
                   16310:       test -d "$as_dir" && break
                   16311:     done
                   16312:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   16313:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   16314: 
                   16315: 
                   16316: } # as_fn_mkdir_p
                   16317: if mkdir -p . 2>/dev/null; then
                   16318:   as_mkdir_p='mkdir -p "$as_dir"'
                   16319: else
                   16320:   test -d ./-p && rmdir ./-p
                   16321:   as_mkdir_p=false
                   16322: fi
                   16323: 
1.1.1.4 ! misho    16324: 
        !          16325: # as_fn_executable_p FILE
        !          16326: # -----------------------
        !          16327: # Test if FILE is an executable regular file.
        !          16328: as_fn_executable_p ()
        !          16329: {
        !          16330:   test -f "$1" && test -x "$1"
        !          16331: } # as_fn_executable_p
        !          16332: as_test_x='test -x'
        !          16333: as_executable_p=as_fn_executable_p
1.1.1.2   misho    16334: 
                   16335: # Sed expression to map a string onto a valid CPP name.
                   16336: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   16337: 
                   16338: # Sed expression to map a string onto a valid variable name.
                   16339: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   16340: 
                   16341: 
                   16342: exec 6>&1
                   16343: ## ----------------------------------- ##
                   16344: ## Main body of $CONFIG_STATUS script. ##
                   16345: ## ----------------------------------- ##
                   16346: _ASEOF
                   16347: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   16348: 
                   16349: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16350: # Save the log message, to keep $0 and so on meaningful, and to
                   16351: # report actual input values of CONFIG_FILES etc. instead of their
                   16352: # values after options handling.
                   16353: ac_log="
1.1.1.4 ! misho    16354: This file was extended by libnet $as_me 1.2, which was
        !          16355: generated by GNU Autoconf 2.69.  Invocation command line was
1.1.1.2   misho    16356: 
                   16357:   CONFIG_FILES    = $CONFIG_FILES
                   16358:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   16359:   CONFIG_LINKS    = $CONFIG_LINKS
                   16360:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   16361:   $ $0 $@
                   16362: 
                   16363: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   16364: "
                   16365: 
1.1       misho    16366: _ACEOF
                   16367: 
1.1.1.2   misho    16368: case $ac_config_files in *"
                   16369: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   16370: esac
                   16371: 
                   16372: case $ac_config_headers in *"
                   16373: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   16374: esac
                   16375: 
                   16376: 
                   16377: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16378: # Files that config.status was made for.
                   16379: config_files="$ac_config_files"
                   16380: config_headers="$ac_config_headers"
                   16381: config_commands="$ac_config_commands"
                   16382: 
                   16383: _ACEOF
                   16384: 
                   16385: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16386: ac_cs_usage="\
                   16387: \`$as_me' instantiates files and other configuration actions
                   16388: from templates according to the current configuration.  Unless the files
                   16389: and actions are specified as TAGs, all are instantiated by default.
                   16390: 
                   16391: Usage: $0 [OPTION]... [TAG]...
                   16392: 
                   16393:   -h, --help       print this help, then exit
                   16394:   -V, --version    print version number and configuration settings, then exit
                   16395:       --config     print configuration, then exit
                   16396:   -q, --quiet, --silent
                   16397:                    do not print progress messages
                   16398:   -d, --debug      don't remove temporary files
                   16399:       --recheck    update $as_me by reconfiguring in the same conditions
                   16400:       --file=FILE[:TEMPLATE]
                   16401:                    instantiate the configuration file FILE
                   16402:       --header=FILE[:TEMPLATE]
                   16403:                    instantiate the configuration header FILE
                   16404: 
                   16405: Configuration files:
                   16406: $config_files
                   16407: 
                   16408: Configuration headers:
                   16409: $config_headers
                   16410: 
                   16411: Configuration commands:
                   16412: $config_commands
                   16413: 
1.1.1.4 ! misho    16414: Report bugs to <https://github.com/libnet/libnet/issues>.
        !          16415: libnet home page: <https://github.com/libnet/libnet>."
1.1.1.2   misho    16416: 
                   16417: _ACEOF
                   16418: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16419: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   16420: ac_cs_version="\\
1.1.1.4 ! misho    16421: libnet config.status 1.2
        !          16422: configured by $0, generated by GNU Autoconf 2.69,
1.1.1.2   misho    16423:   with options \\"\$ac_cs_config\\"
                   16424: 
1.1.1.4 ! misho    16425: Copyright (C) 2012 Free Software Foundation, Inc.
1.1.1.2   misho    16426: This config.status script is free software; the Free Software Foundation
                   16427: gives unlimited permission to copy, distribute and modify it."
                   16428: 
                   16429: ac_pwd='$ac_pwd'
                   16430: srcdir='$srcdir'
                   16431: INSTALL='$INSTALL'
                   16432: MKDIR_P='$MKDIR_P'
                   16433: AWK='$AWK'
                   16434: test -n "\$AWK" || AWK=awk
                   16435: _ACEOF
                   16436: 
                   16437: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16438: # The default lists apply if the user does not specify any file.
                   16439: ac_need_defaults=:
                   16440: while test $# != 0
                   16441: do
                   16442:   case $1 in
                   16443:   --*=?*)
                   16444:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   16445:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   16446:     ac_shift=:
                   16447:     ;;
                   16448:   --*=)
                   16449:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   16450:     ac_optarg=
                   16451:     ac_shift=:
                   16452:     ;;
                   16453:   *)
                   16454:     ac_option=$1
                   16455:     ac_optarg=$2
                   16456:     ac_shift=shift
1.1       misho    16457:     ;;
1.1.1.2   misho    16458:   esac
                   16459: 
                   16460:   case $ac_option in
                   16461:   # Handling of the options.
                   16462:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   16463:     ac_cs_recheck=: ;;
                   16464:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   16465:     $as_echo "$ac_cs_version"; exit ;;
                   16466:   --config | --confi | --conf | --con | --co | --c )
                   16467:     $as_echo "$ac_cs_config"; exit ;;
                   16468:   --debug | --debu | --deb | --de | --d | -d )
                   16469:     debug=: ;;
                   16470:   --file | --fil | --fi | --f )
                   16471:     $ac_shift
                   16472:     case $ac_optarg in
                   16473:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   16474:     '') as_fn_error $? "missing file argument" ;;
                   16475:     esac
                   16476:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   16477:     ac_need_defaults=false;;
                   16478:   --header | --heade | --head | --hea )
                   16479:     $ac_shift
                   16480:     case $ac_optarg in
                   16481:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   16482:     esac
                   16483:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   16484:     ac_need_defaults=false;;
                   16485:   --he | --h)
                   16486:     # Conflict between --help and --header
                   16487:     as_fn_error $? "ambiguous option: \`$1'
                   16488: Try \`$0 --help' for more information.";;
                   16489:   --help | --hel | -h )
                   16490:     $as_echo "$ac_cs_usage"; exit ;;
                   16491:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   16492:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   16493:     ac_cs_silent=: ;;
1.1       misho    16494: 
1.1.1.2   misho    16495:   # This is an error.
                   16496:   -*) as_fn_error $? "unrecognized option: \`$1'
                   16497: Try \`$0 --help' for more information." ;;
1.1       misho    16498: 
1.1.1.2   misho    16499:   *) as_fn_append ac_config_targets " $1"
                   16500:      ac_need_defaults=false ;;
1.1       misho    16501: 
1.1.1.2   misho    16502:   esac
                   16503:   shift
                   16504: done
1.1       misho    16505: 
1.1.1.2   misho    16506: ac_configure_extra_args=
1.1       misho    16507: 
1.1.1.2   misho    16508: if $ac_cs_silent; then
                   16509:   exec 6>/dev/null
                   16510:   ac_configure_extra_args="$ac_configure_extra_args --silent"
1.1       misho    16511: fi
                   16512: 
                   16513: _ACEOF
1.1.1.2   misho    16514: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16515: if \$ac_cs_recheck; then
1.1.1.4 ! misho    16516:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.1.1.2   misho    16517:   shift
                   16518:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   16519:   CONFIG_SHELL='$SHELL'
                   16520:   export CONFIG_SHELL
                   16521:   exec "\$@"
1.1       misho    16522: fi
                   16523: 
1.1.1.2   misho    16524: _ACEOF
                   16525: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16526: exec 5>>config.log
                   16527: {
                   16528:   echo
                   16529:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   16530: ## Running $as_me. ##
1.1       misho    16531: _ASBOX
1.1.1.2   misho    16532:   $as_echo "$ac_log"
                   16533: } >&5
1.1       misho    16534: 
                   16535: _ACEOF
1.1.1.2   misho    16536: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16537: #
                   16538: # INIT-COMMANDS
                   16539: #
1.1       misho    16540: 
                   16541: 
1.1.1.2   misho    16542: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   16543: # if CDPATH is set.
                   16544: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   16545: 
                   16546: sed_quote_subst='$sed_quote_subst'
                   16547: double_quote_subst='$double_quote_subst'
                   16548: delay_variable_subst='$delay_variable_subst'
                   16549: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   16550: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
1.1.1.4 ! misho    16551: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.1.1.2   misho    16552: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   16553: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   16554: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
1.1.1.4 ! misho    16555: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
1.1.1.2   misho    16556: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   16557: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
1.1.1.4 ! misho    16558: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
1.1.1.2   misho    16559: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   16560: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   16561: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   16562: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   16563: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   16564: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   16565: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   16566: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   16567: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   16568: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   16569: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   16570: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   16571: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   16572: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   16573: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   16574: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   16575: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   16576: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   16577: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   16578: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   16579: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   16580: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   16581: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   16582: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   16583: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   16584: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   16585: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   16586: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   16587: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   16588: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   16589: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   16590: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   16591: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   16592: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   16593: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   16594: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   16595: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   16596: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   16597: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   16598: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   16599: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   16600: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   16601: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   16602: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   16603: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   16604: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
1.1.1.4 ! misho    16605: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
1.1.1.2   misho    16606: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   16607: 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"`'
1.1.1.4 ! misho    16608: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
1.1.1.2   misho    16609: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   16610: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
1.1.1.4 ! misho    16611: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
1.1.1.2   misho    16612: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   16613: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   16614: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   16615: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   16616: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   16617: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   16618: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   16619: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   16620: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   16621: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   16622: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   16623: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   16624: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   16625: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   16626: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   16627: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   16628: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   16629: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   16630: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   16631: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   16632: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   16633: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   16634: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   16635: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   16636: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   16637: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   16638: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   16639: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   16640: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   16641: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   16642: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   16643: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   16644: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   16645: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   16646: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   16647: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   16648: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   16649: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   16650: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   16651: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   16652: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   16653: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   16654: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   16655: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   16656: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   16657: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   16658: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   16659: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   16660: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   16661: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   16662: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   16663: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   16664: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   16665: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   16666: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   16667: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   16668: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   16669: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   16670: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   16671: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   16672: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   16673: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   16674: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   16675: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
1.1.1.4 ! misho    16676: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
        !          16677: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
1.1.1.2   misho    16678: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   16679: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   16680: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   16681: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   16682: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   16683: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   16684: 
                   16685: LTCC='$LTCC'
                   16686: LTCFLAGS='$LTCFLAGS'
                   16687: compiler='$compiler_DEFAULT'
                   16688: 
                   16689: # A function that is used when there is no print builtin or printf.
                   16690: func_fallback_echo ()
                   16691: {
                   16692:   eval 'cat <<_LTECHO_EOF
                   16693: \$1
                   16694: _LTECHO_EOF'
                   16695: }
                   16696: 
                   16697: # Quote evaled strings.
                   16698: for var in SHELL \
                   16699: ECHO \
1.1.1.4 ! misho    16700: PATH_SEPARATOR \
1.1.1.2   misho    16701: SED \
                   16702: GREP \
                   16703: EGREP \
                   16704: FGREP \
                   16705: LD \
                   16706: NM \
                   16707: LN_S \
                   16708: lt_SP2NL \
                   16709: lt_NL2SP \
                   16710: reload_flag \
                   16711: OBJDUMP \
                   16712: deplibs_check_method \
                   16713: file_magic_cmd \
                   16714: file_magic_glob \
                   16715: want_nocaseglob \
                   16716: DLLTOOL \
                   16717: sharedlib_from_linklib_cmd \
                   16718: AR \
                   16719: AR_FLAGS \
                   16720: archiver_list_spec \
                   16721: STRIP \
                   16722: RANLIB \
                   16723: CC \
                   16724: CFLAGS \
                   16725: compiler \
                   16726: lt_cv_sys_global_symbol_pipe \
                   16727: lt_cv_sys_global_symbol_to_cdecl \
1.1.1.4 ! misho    16728: lt_cv_sys_global_symbol_to_import \
1.1.1.2   misho    16729: lt_cv_sys_global_symbol_to_c_name_address \
                   16730: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
1.1.1.4 ! misho    16731: lt_cv_nm_interface \
1.1.1.2   misho    16732: nm_file_list_spec \
1.1.1.4 ! misho    16733: lt_cv_truncate_bin \
1.1.1.2   misho    16734: lt_prog_compiler_no_builtin_flag \
                   16735: lt_prog_compiler_pic \
                   16736: lt_prog_compiler_wl \
                   16737: lt_prog_compiler_static \
                   16738: lt_cv_prog_compiler_c_o \
                   16739: need_locks \
                   16740: MANIFEST_TOOL \
                   16741: DSYMUTIL \
                   16742: NMEDIT \
                   16743: LIPO \
                   16744: OTOOL \
                   16745: OTOOL64 \
                   16746: shrext_cmds \
                   16747: export_dynamic_flag_spec \
                   16748: whole_archive_flag_spec \
                   16749: compiler_needs_object \
                   16750: with_gnu_ld \
                   16751: allow_undefined_flag \
                   16752: no_undefined_flag \
                   16753: hardcode_libdir_flag_spec \
                   16754: hardcode_libdir_separator \
                   16755: exclude_expsyms \
                   16756: include_expsyms \
                   16757: file_list_spec \
                   16758: variables_saved_for_relink \
                   16759: libname_spec \
                   16760: library_names_spec \
                   16761: soname_spec \
                   16762: install_override_mode \
                   16763: finish_eval \
                   16764: old_striplib \
                   16765: striplib; do
                   16766:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   16767:     *[\\\\\\\`\\"\\\$]*)
1.1.1.4 ! misho    16768:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.1.1.2   misho    16769:       ;;
                   16770:     *)
                   16771:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   16772:       ;;
                   16773:     esac
1.1       misho    16774: done
                   16775: 
1.1.1.2   misho    16776: # Double-quote double-evaled strings.
                   16777: for var in reload_cmds \
                   16778: old_postinstall_cmds \
                   16779: old_postuninstall_cmds \
                   16780: old_archive_cmds \
                   16781: extract_expsyms_cmds \
                   16782: old_archive_from_new_cmds \
                   16783: old_archive_from_expsyms_cmds \
                   16784: archive_cmds \
                   16785: archive_expsym_cmds \
                   16786: module_cmds \
                   16787: module_expsym_cmds \
                   16788: export_symbols_cmds \
                   16789: prelink_cmds \
                   16790: postlink_cmds \
                   16791: postinstall_cmds \
                   16792: postuninstall_cmds \
                   16793: finish_cmds \
                   16794: sys_lib_search_path_spec \
1.1.1.4 ! misho    16795: configure_time_dlsearch_path \
        !          16796: configure_time_lt_sys_library_path; do
1.1.1.2   misho    16797:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   16798:     *[\\\\\\\`\\"\\\$]*)
1.1.1.4 ! misho    16799:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.1.1.2   misho    16800:       ;;
                   16801:     *)
                   16802:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   16803:       ;;
                   16804:     esac
                   16805: done
                   16806: 
                   16807: ac_aux_dir='$ac_aux_dir'
                   16808: 
1.1.1.4 ! misho    16809: # See if we are running on zsh, and set the options that allow our
1.1.1.2   misho    16810: # commands through without removal of \ escapes INIT.
1.1.1.4 ! misho    16811: if test -n "\${ZSH_VERSION+set}"; then
1.1.1.2   misho    16812:    setopt NO_GLOB_SUBST
                   16813: fi
                   16814: 
                   16815: 
                   16816:     PACKAGE='$PACKAGE'
                   16817:     VERSION='$VERSION'
                   16818:     RM='$RM'
                   16819:     ofile='$ofile'
                   16820: 
1.1       misho    16821: 
                   16822: 
                   16823: 
                   16824: _ACEOF
                   16825: 
1.1.1.2   misho    16826: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16827: 
                   16828: # Handling of arguments.
                   16829: for ac_config_target in $ac_config_targets
                   16830: do
                   16831:   case $ac_config_target in
                   16832:     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
                   16833:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1.1.1.4 ! misho    16834:     "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
        !          16835:     "libnet-config") CONFIG_FILES="$CONFIG_FILES libnet-config" ;;
1.1.1.2   misho    16836:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
                   16837:     "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
1.1.1.4 ! misho    16838:     "doc/man/man1/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/man1/Makefile" ;;
1.1.1.2   misho    16839:     "doc/man/man3/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/man3/Makefile" ;;
1.1.1.4 ! misho    16840:     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
1.1.1.2   misho    16841:     "include/libnet.h") CONFIG_FILES="$CONFIG_FILES include/libnet.h" ;;
1.1.1.4 ! misho    16842:     "libnet.pc") CONFIG_FILES="$CONFIG_FILES libnet.pc" ;;
        !          16843:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
        !          16844:     "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
        !          16845:     "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
        !          16846:     "doc/fixmanpages") CONFIG_FILES="$CONFIG_FILES doc/fixmanpages" ;;
        !          16847:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
1.1.1.2   misho    16848: 
                   16849:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
                   16850:   esac
                   16851: done
                   16852: 
                   16853: 
                   16854: # If the user did not use the arguments to specify the items to instantiate,
                   16855: # then the envvar interface is used.  Set only those that are not.
                   16856: # We use the long form for the default assignment because of an extremely
                   16857: # bizarre bug on SunOS 4.1.3.
                   16858: if $ac_need_defaults; then
                   16859:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   16860:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   16861:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   16862: fi
                   16863: 
                   16864: # Have a temporary directory for convenience.  Make it in the build tree
                   16865: # simply because there is no reason against having it here, and in addition,
                   16866: # creating and moving files from /tmp can sometimes cause problems.
                   16867: # Hook for its removal unless debugging.
                   16868: # Note that there is a small window in which the directory will not be cleaned:
                   16869: # after its creation but before its name has been assigned to `$tmp'.
                   16870: $debug ||
1.1       misho    16871: {
1.1.1.2   misho    16872:   tmp= ac_tmp=
                   16873:   trap 'exit_status=$?
                   16874:   : "${ac_tmp:=$tmp}"
                   16875:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   16876: ' 0
                   16877:   trap 'as_fn_exit 1' 1 2 13 15
1.1       misho    16878: }
1.1.1.2   misho    16879: # Create a (secure) tmp directory for tmp files.
                   16880: 
                   16881: {
                   16882:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   16883:   test -d "$tmp"
                   16884: }  ||
                   16885: {
                   16886:   tmp=./conf$$-$RANDOM
                   16887:   (umask 077 && mkdir "$tmp")
                   16888: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   16889: ac_tmp=$tmp
                   16890: 
                   16891: # Set up the scripts for CONFIG_FILES section.
                   16892: # No need to generate them if there are no CONFIG_FILES.
                   16893: # This happens for instance with `./config.status config.h'.
                   16894: if test -n "$CONFIG_FILES"; then
1.1       misho    16895: 
1.1.1.2   misho    16896: 
                   16897: ac_cr=`echo X | tr X '\015'`
                   16898: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   16899: # But we know of no other shell where ac_cr would be empty at this
                   16900: # point, so we can use a bashism as a fallback.
                   16901: if test "x$ac_cr" = x; then
                   16902:   eval ac_cr=\$\'\\r\'
1.1       misho    16903: fi
1.1.1.2   misho    16904: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   16905: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   16906:   ac_cs_awk_cr='\\r'
                   16907: else
                   16908:   ac_cs_awk_cr=$ac_cr
1.1       misho    16909: fi
1.1.1.2   misho    16910: 
                   16911: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.1       misho    16912: _ACEOF
                   16913: 
                   16914: 
1.1.1.2   misho    16915: {
                   16916:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   16917:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   16918:   echo "_ACEOF"
                   16919: } >conf$$subs.sh ||
                   16920:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   16921: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   16922: ac_delim='%!_!# '
                   16923: for ac_last_try in false false false false false :; do
                   16924:   . ./conf$$subs.sh ||
                   16925:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    16926: 
1.1.1.2   misho    16927:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   16928:   if test $ac_delim_n = $ac_delim_num; then
                   16929:     break
                   16930:   elif $ac_last_try; then
                   16931:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   16932:   else
                   16933:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   16934:   fi
                   16935: done
                   16936: rm -f conf$$subs.sh
1.1       misho    16937: 
1.1.1.2   misho    16938: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16939: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.1       misho    16940: _ACEOF
1.1.1.2   misho    16941: sed -n '
                   16942: h
                   16943: s/^/S["/; s/!.*/"]=/
                   16944: p
                   16945: g
                   16946: s/^[^!]*!//
                   16947: :repl
                   16948: t repl
                   16949: s/'"$ac_delim"'$//
                   16950: t delim
                   16951: :nl
                   16952: h
                   16953: s/\(.\{148\}\)..*/\1/
                   16954: t more1
                   16955: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   16956: p
                   16957: n
                   16958: b repl
                   16959: :more1
                   16960: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   16961: p
                   16962: g
                   16963: s/.\{148\}//
                   16964: t nl
                   16965: :delim
                   16966: h
                   16967: s/\(.\{148\}\)..*/\1/
                   16968: t more2
                   16969: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   16970: p
                   16971: b
                   16972: :more2
                   16973: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   16974: p
                   16975: g
                   16976: s/.\{148\}//
                   16977: t delim
                   16978: ' <conf$$subs.awk | sed '
                   16979: /^[^""]/{
                   16980:   N
                   16981:   s/\n//
                   16982: }
                   16983: ' >>$CONFIG_STATUS || ac_write_fail=1
                   16984: rm -f conf$$subs.awk
                   16985: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16986: _ACAWK
                   16987: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   16988:   for (key in S) S_is_set[key] = 1
                   16989:   FS = ""
1.1       misho    16990: 
1.1.1.2   misho    16991: }
1.1       misho    16992: {
1.1.1.2   misho    16993:   line = $ 0
                   16994:   nfields = split(line, field, "@")
                   16995:   substed = 0
                   16996:   len = length(field[1])
                   16997:   for (i = 2; i < nfields; i++) {
                   16998:     key = field[i]
                   16999:     keylen = length(key)
                   17000:     if (S_is_set[key]) {
                   17001:       value = S[key]
                   17002:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   17003:       len += length(value) + length(field[++i])
                   17004:       substed = 1
                   17005:     } else
                   17006:       len += 1 + keylen
                   17007:   }
                   17008: 
                   17009:   print line
1.1       misho    17010: }
1.1.1.2   misho    17011: 
                   17012: _ACAWK
1.1       misho    17013: _ACEOF
1.1.1.2   misho    17014: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17015: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   17016:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
1.1       misho    17017: else
1.1.1.2   misho    17018:   cat
                   17019: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   17020:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   17021: _ACEOF
1.1       misho    17022: 
1.1.1.2   misho    17023: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   17024: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   17025: # trailing colons and then remove the whole line if VPATH becomes empty
                   17026: # (actually we leave an empty line to preserve line numbers).
                   17027: if test "x$srcdir" = x.; then
                   17028:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   17029: h
                   17030: s///
                   17031: s/^/:/
                   17032: s/[     ]*$/:/
                   17033: s/:\$(srcdir):/:/g
                   17034: s/:\${srcdir}:/:/g
                   17035: s/:@srcdir@:/:/g
                   17036: s/^:*//
                   17037: s/:*$//
                   17038: x
                   17039: s/\(=[  ]*\).*/\1/
                   17040: G
                   17041: s/\n//
                   17042: s/^[^=]*=[      ]*$//
                   17043: }'
1.1       misho    17044: fi
1.1.1.2   misho    17045: 
                   17046: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17047: fi # test -n "$CONFIG_FILES"
                   17048: 
                   17049: # Set up the scripts for CONFIG_HEADERS section.
                   17050: # No need to generate them if there are no CONFIG_HEADERS.
                   17051: # This happens for instance with `./config.status Makefile'.
                   17052: if test -n "$CONFIG_HEADERS"; then
                   17053: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   17054: BEGIN {
                   17055: _ACEOF
                   17056: 
                   17057: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   17058: # here-document in config.status, that substitutes the proper values into
                   17059: # config.h.in to produce config.h.
                   17060: 
                   17061: # Create a delimiter string that does not exist in confdefs.h, to ease
                   17062: # handling of long lines.
                   17063: ac_delim='%!_!# '
                   17064: for ac_last_try in false false :; do
                   17065:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   17066:   if test -z "$ac_tt"; then
                   17067:     break
                   17068:   elif $ac_last_try; then
                   17069:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   17070:   else
                   17071:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   17072:   fi
                   17073: done
                   17074: 
                   17075: # For the awk script, D is an array of macro values keyed by name,
                   17076: # likewise P contains macro parameters if any.  Preserve backslash
                   17077: # newline sequences.
                   17078: 
                   17079: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   17080: sed -n '
                   17081: s/.\{148\}/&'"$ac_delim"'/g
                   17082: t rset
                   17083: :rset
                   17084: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   17085: t def
                   17086: d
                   17087: :def
                   17088: s/\\$//
                   17089: t bsnl
                   17090: s/["\\]/\\&/g
                   17091: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   17092: D["\1"]=" \3"/p
                   17093: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   17094: d
                   17095: :bsnl
                   17096: s/["\\]/\\&/g
                   17097: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   17098: D["\1"]=" \3\\\\\\n"\\/p
                   17099: t cont
                   17100: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   17101: t cont
                   17102: d
                   17103: :cont
                   17104: n
                   17105: s/.\{148\}/&'"$ac_delim"'/g
                   17106: t clear
                   17107: :clear
                   17108: s/\\$//
                   17109: t bsnlc
                   17110: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   17111: d
                   17112: :bsnlc
                   17113: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   17114: b cont
                   17115: ' <confdefs.h | sed '
                   17116: s/'"$ac_delim"'/"\\\
                   17117: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   17118: 
                   17119: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17120:   for (key in D) D_is_set[key] = 1
                   17121:   FS = ""
                   17122: }
                   17123: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   17124:   line = \$ 0
                   17125:   split(line, arg, " ")
                   17126:   if (arg[1] == "#") {
                   17127:     defundef = arg[2]
                   17128:     mac1 = arg[3]
                   17129:   } else {
                   17130:     defundef = substr(arg[1], 2)
                   17131:     mac1 = arg[2]
                   17132:   }
                   17133:   split(mac1, mac2, "(") #)
                   17134:   macro = mac2[1]
                   17135:   prefix = substr(line, 1, index(line, defundef) - 1)
                   17136:   if (D_is_set[macro]) {
                   17137:     # Preserve the white space surrounding the "#".
                   17138:     print prefix "define", macro P[macro] D[macro]
                   17139:     next
                   17140:   } else {
                   17141:     # Replace #undef with comments.  This is necessary, for example,
                   17142:     # in the case of _POSIX_SOURCE, which is predefined and required
                   17143:     # on some systems where configure will not decide to define it.
                   17144:     if (defundef == "undef") {
                   17145:       print "/*", prefix defundef, macro, "*/"
                   17146:       next
                   17147:     }
                   17148:   }
                   17149: }
                   17150: { print }
                   17151: _ACAWK
1.1       misho    17152: _ACEOF
1.1.1.2   misho    17153: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17154:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   17155: fi # test -n "$CONFIG_HEADERS"
1.1       misho    17156: 
                   17157: 
1.1.1.2   misho    17158: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   17159: shift
                   17160: for ac_tag
                   17161: do
                   17162:   case $ac_tag in
                   17163:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   17164:   esac
                   17165:   case $ac_mode$ac_tag in
                   17166:   :[FHL]*:*);;
                   17167:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   17168:   :[FH]-) ac_tag=-:-;;
                   17169:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   17170:   esac
                   17171:   ac_save_IFS=$IFS
                   17172:   IFS=:
                   17173:   set x $ac_tag
                   17174:   IFS=$ac_save_IFS
                   17175:   shift
                   17176:   ac_file=$1
                   17177:   shift
                   17178: 
                   17179:   case $ac_mode in
                   17180:   :L) ac_source=$1;;
                   17181:   :[FH])
                   17182:     ac_file_inputs=
                   17183:     for ac_f
                   17184:     do
                   17185:       case $ac_f in
                   17186:       -) ac_f="$ac_tmp/stdin";;
                   17187:       *) # Look for the file first in the build tree, then in the source tree
                   17188:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   17189:         # because $ac_f cannot contain `:'.
                   17190:         test -f "$ac_f" ||
                   17191:           case $ac_f in
                   17192:           [\\/$]*) false;;
                   17193:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   17194:           esac ||
                   17195:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   17196:       esac
                   17197:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   17198:       as_fn_append ac_file_inputs " '$ac_f'"
                   17199:     done
1.1       misho    17200: 
1.1.1.2   misho    17201:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   17202:     # use $as_me), people would be surprised to read:
                   17203:     #    /* config.h.  Generated by config.status.  */
                   17204:     configure_input='Generated from '`
                   17205:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   17206:        `' by configure.'
                   17207:     if test x"$ac_file" != x-; then
                   17208:       configure_input="$ac_file.  $configure_input"
                   17209:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   17210: $as_echo "$as_me: creating $ac_file" >&6;}
                   17211:     fi
                   17212:     # Neutralize special characters interpreted by sed in replacement strings.
                   17213:     case $configure_input in #(
                   17214:     *\&* | *\|* | *\\* )
                   17215:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   17216:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   17217:     *) ac_sed_conf_input=$configure_input;;
                   17218:     esac
1.1       misho    17219: 
1.1.1.2   misho    17220:     case $ac_tag in
                   17221:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   17222:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   17223:     esac
                   17224:     ;;
                   17225:   esac
                   17226: 
                   17227:   ac_dir=`$as_dirname -- "$ac_file" ||
                   17228: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   17229:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   17230:         X"$ac_file" : 'X\(//\)$' \| \
                   17231:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   17232: $as_echo X"$ac_file" |
                   17233:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   17234:            s//\1/
                   17235:            q
                   17236:          }
                   17237:          /^X\(\/\/\)[^/].*/{
                   17238:            s//\1/
                   17239:            q
                   17240:          }
                   17241:          /^X\(\/\/\)$/{
                   17242:            s//\1/
                   17243:            q
                   17244:          }
                   17245:          /^X\(\/\).*/{
                   17246:            s//\1/
                   17247:            q
                   17248:          }
                   17249:          s/.*/./; q'`
                   17250:   as_dir="$ac_dir"; as_fn_mkdir_p
                   17251:   ac_builddir=.
                   17252: 
                   17253: case "$ac_dir" in
                   17254: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   17255: *)
                   17256:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   17257:   # A ".." for each directory in $ac_dir_suffix.
                   17258:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   17259:   case $ac_top_builddir_sub in
                   17260:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   17261:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   17262:   esac ;;
                   17263: esac
                   17264: ac_abs_top_builddir=$ac_pwd
                   17265: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   17266: # for backward compatibility:
                   17267: ac_top_builddir=$ac_top_build_prefix
                   17268: 
                   17269: case $srcdir in
                   17270:   .)  # We are building in place.
                   17271:     ac_srcdir=.
                   17272:     ac_top_srcdir=$ac_top_builddir_sub
                   17273:     ac_abs_top_srcdir=$ac_pwd ;;
                   17274:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   17275:     ac_srcdir=$srcdir$ac_dir_suffix;
                   17276:     ac_top_srcdir=$srcdir
                   17277:     ac_abs_top_srcdir=$srcdir ;;
                   17278:   *) # Relative name.
                   17279:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   17280:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   17281:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   17282: esac
                   17283: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   17284: 
                   17285: 
                   17286:   case $ac_mode in
                   17287:   :F)
                   17288:   #
                   17289:   # CONFIG_FILE
                   17290:   #
                   17291: 
                   17292:   case $INSTALL in
                   17293:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   17294:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   17295:   esac
                   17296:   ac_MKDIR_P=$MKDIR_P
                   17297:   case $MKDIR_P in
                   17298:   [\\/$]* | ?:[\\/]* ) ;;
                   17299:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   17300:   esac
1.1       misho    17301: _ACEOF
                   17302: 
1.1.1.2   misho    17303: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17304: # If the template does not know about datarootdir, expand it.
                   17305: # FIXME: This hack should be removed a few years after 2.60.
                   17306: ac_datarootdir_hack=; ac_datarootdir_seen=
                   17307: ac_sed_dataroot='
                   17308: /datarootdir/ {
                   17309:   p
                   17310:   q
                   17311: }
                   17312: /@datadir@/p
                   17313: /@docdir@/p
                   17314: /@infodir@/p
                   17315: /@localedir@/p
                   17316: /@mandir@/p'
                   17317: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   17318: *datarootdir*) ac_datarootdir_seen=yes;;
                   17319: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   17320:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   17321: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   17322: _ACEOF
                   17323: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17324:   ac_datarootdir_hack='
                   17325:   s&@datadir@&$datadir&g
                   17326:   s&@docdir@&$docdir&g
                   17327:   s&@infodir@&$infodir&g
                   17328:   s&@localedir@&$localedir&g
                   17329:   s&@mandir@&$mandir&g
                   17330:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   17331: esac
1.1       misho    17332: _ACEOF
                   17333: 
1.1.1.2   misho    17334: # Neutralize VPATH when `$srcdir' = `.'.
                   17335: # Shell code in configure.ac might set extrasub.
                   17336: # FIXME: do we really want to maintain this feature?
                   17337: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   17338: ac_sed_extra="$ac_vpsub
                   17339: $extrasub
1.1       misho    17340: _ACEOF
1.1.1.2   misho    17341: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   17342: :t
                   17343: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   17344: s|@configure_input@|$ac_sed_conf_input|;t t
                   17345: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   17346: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   17347: s&@srcdir@&$ac_srcdir&;t t
                   17348: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   17349: s&@top_srcdir@&$ac_top_srcdir&;t t
                   17350: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   17351: s&@builddir@&$ac_builddir&;t t
                   17352: s&@abs_builddir@&$ac_abs_builddir&;t t
                   17353: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   17354: s&@INSTALL@&$ac_INSTALL&;t t
                   17355: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   17356: $ac_datarootdir_hack
                   17357: "
                   17358: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   17359:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   17360: 
                   17361: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   17362:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   17363:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   17364:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   17365:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   17366: which seems to be undefined.  Please make sure it is defined" >&5
                   17367: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   17368: which seems to be undefined.  Please make sure it is defined" >&2;}
                   17369: 
                   17370:   rm -f "$ac_tmp/stdin"
                   17371:   case $ac_file in
                   17372:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   17373:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   17374:   esac \
                   17375:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   17376:  ;;
                   17377:   :H)
                   17378:   #
                   17379:   # CONFIG_HEADER
                   17380:   #
                   17381:   if test x"$ac_file" != x-; then
                   17382:     {
                   17383:       $as_echo "/* $configure_input  */" \
                   17384:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   17385:     } >"$ac_tmp/config.h" \
                   17386:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   17387:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   17388:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   17389: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   17390:     else
                   17391:       rm -f "$ac_file"
                   17392:       mv "$ac_tmp/config.h" "$ac_file" \
                   17393:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   17394:     fi
                   17395:   else
                   17396:     $as_echo "/* $configure_input  */" \
                   17397:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   17398:       || as_fn_error $? "could not create -" "$LINENO" 5
                   17399:   fi
                   17400: # Compute "$ac_file"'s index in $config_headers.
                   17401: _am_arg="$ac_file"
                   17402: _am_stamp_count=1
                   17403: for _am_header in $config_headers :; do
                   17404:   case $_am_header in
                   17405:     $_am_arg | $_am_arg:* )
                   17406:       break ;;
                   17407:     * )
                   17408:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   17409:   esac
                   17410: done
                   17411: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   17412: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   17413:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   17414:         X"$_am_arg" : 'X\(//\)$' \| \
                   17415:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   17416: $as_echo X"$_am_arg" |
                   17417:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   17418:            s//\1/
                   17419:            q
                   17420:          }
                   17421:          /^X\(\/\/\)[^/].*/{
                   17422:            s//\1/
                   17423:            q
                   17424:          }
                   17425:          /^X\(\/\/\)$/{
                   17426:            s//\1/
                   17427:            q
                   17428:          }
                   17429:          /^X\(\/\).*/{
                   17430:            s//\1/
                   17431:            q
                   17432:          }
                   17433:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   17434:  ;;
1.1       misho    17435: 
1.1.1.2   misho    17436:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   17437: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   17438:  ;;
                   17439:   esac
1.1       misho    17440: 
                   17441: 
1.1.1.2   misho    17442:   case $ac_file$ac_mode in
1.1.1.4 ! misho    17443:     "doc/fixmanpages":F) chmod a+x doc/fixmanpages ;;
1.1.1.2   misho    17444:     "libtool":C)
1.1       misho    17445: 
1.1.1.4 ! misho    17446:     # See if we are running on zsh, and set the options that allow our
1.1.1.2   misho    17447:     # commands through without removal of \ escapes.
1.1.1.4 ! misho    17448:     if test -n "${ZSH_VERSION+set}"; then
1.1.1.2   misho    17449:       setopt NO_GLOB_SUBST
                   17450:     fi
1.1       misho    17451: 
1.1.1.4 ! misho    17452:     cfgfile=${ofile}T
1.1.1.2   misho    17453:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   17454:     $RM "$cfgfile"
1.1       misho    17455: 
1.1.1.2   misho    17456:     cat <<_LT_EOF >> "$cfgfile"
                   17457: #! $SHELL
1.1.1.4 ! misho    17458: # Generated automatically by $as_me ($PACKAGE) $VERSION
1.1.1.2   misho    17459: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1.1.1.4 ! misho    17460: 
        !          17461: # Provide generalized library-building support services.
        !          17462: # Written by Gordon Matzigkeit, 1996
        !          17463: 
        !          17464: # Copyright (C) 2014 Free Software Foundation, Inc.
        !          17465: # This is free software; see the source for copying conditions.  There is NO
        !          17466: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
        !          17467: 
        !          17468: # GNU Libtool is free software; you can redistribute it and/or modify
        !          17469: # it under the terms of the GNU General Public License as published by
        !          17470: # the Free Software Foundation; either version 2 of of the License, or
        !          17471: # (at your option) any later version.
1.1.1.2   misho    17472: #
1.1.1.4 ! misho    17473: # As a special exception to the GNU General Public License, if you
        !          17474: # distribute this file as part of a program or library that is built
        !          17475: # using GNU Libtool, you may include this file under the  same
        !          17476: # distribution terms that you use for the rest of that program.
1.1.1.2   misho    17477: #
1.1.1.4 ! misho    17478: # GNU Libtool is distributed in the hope that it will be useful, but
        !          17479: # WITHOUT ANY WARRANTY; without even the implied warranty of
1.1.1.2   misho    17480: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   17481: # GNU General Public License for more details.
                   17482: #
                   17483: # You should have received a copy of the GNU General Public License
1.1.1.4 ! misho    17484: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
1.1       misho    17485: 
                   17486: 
1.1.1.2   misho    17487: # The names of the tagged configurations supported by this script.
1.1.1.4 ! misho    17488: available_tags=''
        !          17489: 
        !          17490: # Configured defaults for sys_lib_dlsearch_path munging.
        !          17491: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
1.1       misho    17492: 
1.1.1.2   misho    17493: # ### BEGIN LIBTOOL CONFIG
1.1       misho    17494: 
1.1.1.2   misho    17495: # Which release of libtool.m4 was used?
                   17496: macro_version=$macro_version
                   17497: macro_revision=$macro_revision
1.1       misho    17498: 
1.1.1.4 ! misho    17499: # What type of objects to build.
        !          17500: pic_mode=$pic_mode
        !          17501: 
1.1.1.2   misho    17502: # Whether or not to build shared libraries.
                   17503: build_libtool_libs=$enable_shared
1.1       misho    17504: 
1.1.1.2   misho    17505: # Whether or not to build static libraries.
                   17506: build_old_libs=$enable_static
1.1       misho    17507: 
1.1.1.2   misho    17508: # Whether or not to optimize for fast installation.
                   17509: fast_install=$enable_fast_install
1.1       misho    17510: 
1.1.1.4 ! misho    17511: # Shared archive member basename,for filename based shared library versioning on AIX.
        !          17512: shared_archive_member_spec=$shared_archive_member_spec
        !          17513: 
1.1.1.2   misho    17514: # Shell to use when invoking shell scripts.
                   17515: SHELL=$lt_SHELL
1.1       misho    17516: 
1.1.1.2   misho    17517: # An echo program that protects backslashes.
                   17518: ECHO=$lt_ECHO
1.1       misho    17519: 
1.1.1.4 ! misho    17520: # The PATH separator for the build system.
        !          17521: PATH_SEPARATOR=$lt_PATH_SEPARATOR
        !          17522: 
1.1.1.2   misho    17523: # The host system.
                   17524: host_alias=$host_alias
                   17525: host=$host
                   17526: host_os=$host_os
1.1       misho    17527: 
1.1.1.2   misho    17528: # The build system.
                   17529: build_alias=$build_alias
                   17530: build=$build
                   17531: build_os=$build_os
1.1       misho    17532: 
1.1.1.2   misho    17533: # A sed program that does not truncate output.
                   17534: SED=$lt_SED
1.1       misho    17535: 
1.1.1.2   misho    17536: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   17537: Xsed="\$SED -e 1s/^X//"
1.1       misho    17538: 
1.1.1.2   misho    17539: # A grep program that handles long lines.
                   17540: GREP=$lt_GREP
1.1       misho    17541: 
1.1.1.2   misho    17542: # An ERE matcher.
                   17543: EGREP=$lt_EGREP
1.1       misho    17544: 
1.1.1.2   misho    17545: # A literal string matcher.
                   17546: FGREP=$lt_FGREP
1.1       misho    17547: 
1.1.1.2   misho    17548: # A BSD- or MS-compatible name lister.
                   17549: NM=$lt_NM
1.1       misho    17550: 
1.1.1.2   misho    17551: # Whether we need soft or hard links.
                   17552: LN_S=$lt_LN_S
1.1       misho    17553: 
1.1.1.2   misho    17554: # What is the maximum length of a command?
                   17555: max_cmd_len=$max_cmd_len
1.1       misho    17556: 
1.1.1.2   misho    17557: # Object file suffix (normally "o").
                   17558: objext=$ac_objext
1.1       misho    17559: 
1.1.1.2   misho    17560: # Executable file suffix (normally "").
                   17561: exeext=$exeext
1.1       misho    17562: 
1.1.1.2   misho    17563: # whether the shell understands "unset".
                   17564: lt_unset=$lt_unset
1.1       misho    17565: 
1.1.1.2   misho    17566: # turn spaces into newlines.
                   17567: SP2NL=$lt_lt_SP2NL
1.1       misho    17568: 
1.1.1.2   misho    17569: # turn newlines into spaces.
                   17570: NL2SP=$lt_lt_NL2SP
1.1       misho    17571: 
1.1.1.2   misho    17572: # convert \$build file names to \$host format.
                   17573: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.1       misho    17574: 
1.1.1.2   misho    17575: # convert \$build files to toolchain format.
                   17576: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.1       misho    17577: 
1.1.1.2   misho    17578: # An object symbol dumper.
                   17579: OBJDUMP=$lt_OBJDUMP
1.1       misho    17580: 
1.1.1.2   misho    17581: # Method to check whether dependent libraries are shared objects.
                   17582: deplibs_check_method=$lt_deplibs_check_method
1.1       misho    17583: 
1.1.1.2   misho    17584: # Command to use when deplibs_check_method = "file_magic".
                   17585: file_magic_cmd=$lt_file_magic_cmd
1.1       misho    17586: 
1.1.1.2   misho    17587: # How to find potential files when deplibs_check_method = "file_magic".
                   17588: file_magic_glob=$lt_file_magic_glob
1.1       misho    17589: 
1.1.1.2   misho    17590: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   17591: want_nocaseglob=$lt_want_nocaseglob
1.1       misho    17592: 
1.1.1.2   misho    17593: # DLL creation program.
                   17594: DLLTOOL=$lt_DLLTOOL
1.1       misho    17595: 
1.1.1.2   misho    17596: # Command to associate shared and link libraries.
                   17597: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1.1       misho    17598: 
1.1.1.2   misho    17599: # The archiver.
                   17600: AR=$lt_AR
1.1       misho    17601: 
1.1.1.2   misho    17602: # Flags to create an archive.
                   17603: AR_FLAGS=$lt_AR_FLAGS
1.1       misho    17604: 
1.1.1.2   misho    17605: # How to feed a file listing to the archiver.
                   17606: archiver_list_spec=$lt_archiver_list_spec
1.1       misho    17607: 
1.1.1.2   misho    17608: # A symbol stripping program.
                   17609: STRIP=$lt_STRIP
1.1       misho    17610: 
1.1.1.2   misho    17611: # Commands used to install an old-style archive.
                   17612: RANLIB=$lt_RANLIB
                   17613: old_postinstall_cmds=$lt_old_postinstall_cmds
                   17614: old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.1       misho    17615: 
1.1.1.2   misho    17616: # Whether to use a lock for old archive extraction.
                   17617: lock_old_archive_extraction=$lock_old_archive_extraction
1.1       misho    17618: 
1.1.1.2   misho    17619: # A C compiler.
                   17620: LTCC=$lt_CC
1.1       misho    17621: 
1.1.1.2   misho    17622: # LTCC compiler flags.
                   17623: LTCFLAGS=$lt_CFLAGS
1.1       misho    17624: 
1.1.1.2   misho    17625: # Take the output of nm and produce a listing of raw symbols and C names.
                   17626: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.1       misho    17627: 
1.1.1.2   misho    17628: # Transform the output of nm in a proper C declaration.
                   17629: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.1       misho    17630: 
1.1.1.4 ! misho    17631: # Transform the output of nm into a list of symbols to manually relocate.
        !          17632: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
        !          17633: 
1.1.1.2   misho    17634: # Transform the output of nm in a C name address pair.
                   17635: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.1       misho    17636: 
1.1.1.2   misho    17637: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   17638: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1.1       misho    17639: 
1.1.1.4 ! misho    17640: # The name lister interface.
        !          17641: nm_interface=$lt_lt_cv_nm_interface
        !          17642: 
1.1.1.2   misho    17643: # Specify filename containing input files for \$NM.
                   17644: nm_file_list_spec=$lt_nm_file_list_spec
1.1       misho    17645: 
1.1.1.4 ! misho    17646: # The root where to search for dependent libraries,and where our libraries should be installed.
1.1.1.2   misho    17647: lt_sysroot=$lt_sysroot
1.1       misho    17648: 
1.1.1.4 ! misho    17649: # Command to truncate a binary pipe.
        !          17650: lt_truncate_bin=$lt_lt_cv_truncate_bin
        !          17651: 
1.1.1.2   misho    17652: # The name of the directory that contains temporary libtool files.
                   17653: objdir=$objdir
1.1       misho    17654: 
1.1.1.2   misho    17655: # Used to examine libraries when file_magic_cmd begins with "file".
                   17656: MAGIC_CMD=$MAGIC_CMD
1.1       misho    17657: 
1.1.1.2   misho    17658: # Must we lock files when doing compilation?
                   17659: need_locks=$lt_need_locks
1.1       misho    17660: 
1.1.1.2   misho    17661: # Manifest tool.
                   17662: MANIFEST_TOOL=$lt_MANIFEST_TOOL
1.1       misho    17663: 
1.1.1.2   misho    17664: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   17665: DSYMUTIL=$lt_DSYMUTIL
1.1       misho    17666: 
1.1.1.2   misho    17667: # Tool to change global to local symbols on Mac OS X.
                   17668: NMEDIT=$lt_NMEDIT
1.1       misho    17669: 
1.1.1.2   misho    17670: # Tool to manipulate fat objects and archives on Mac OS X.
                   17671: LIPO=$lt_LIPO
1.1       misho    17672: 
1.1.1.2   misho    17673: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   17674: OTOOL=$lt_OTOOL
1.1       misho    17675: 
1.1.1.2   misho    17676: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   17677: OTOOL64=$lt_OTOOL64
1.1       misho    17678: 
1.1.1.2   misho    17679: # Old archive suffix (normally "a").
                   17680: libext=$libext
1.1       misho    17681: 
1.1.1.2   misho    17682: # Shared library suffix (normally ".so").
                   17683: shrext_cmds=$lt_shrext_cmds
1.1       misho    17684: 
1.1.1.2   misho    17685: # The commands to extract the exported symbol list from a shared archive.
                   17686: extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.1       misho    17687: 
1.1.1.2   misho    17688: # Variables whose values should be saved in libtool wrapper scripts and
                   17689: # restored at link time.
                   17690: variables_saved_for_relink=$lt_variables_saved_for_relink
1.1       misho    17691: 
1.1.1.2   misho    17692: # Do we need the "lib" prefix for modules?
                   17693: need_lib_prefix=$need_lib_prefix
1.1       misho    17694: 
1.1.1.2   misho    17695: # Do we need a version for libraries?
                   17696: need_version=$need_version
1.1       misho    17697: 
1.1.1.2   misho    17698: # Library versioning type.
                   17699: version_type=$version_type
1.1       misho    17700: 
1.1.1.2   misho    17701: # Shared library runtime path variable.
                   17702: runpath_var=$runpath_var
1.1       misho    17703: 
1.1.1.2   misho    17704: # Shared library path variable.
                   17705: shlibpath_var=$shlibpath_var
1.1       misho    17706: 
1.1.1.2   misho    17707: # Is shlibpath searched before the hard-coded library search path?
                   17708: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.1       misho    17709: 
1.1.1.2   misho    17710: # Format of library name prefix.
                   17711: libname_spec=$lt_libname_spec
1.1       misho    17712: 
1.1.1.2   misho    17713: # List of archive names.  First name is the real one, the rest are links.
                   17714: # The last name is the one that the linker finds with -lNAME
                   17715: library_names_spec=$lt_library_names_spec
1.1       misho    17716: 
1.1.1.2   misho    17717: # The coded name of the library, if different from the real name.
                   17718: soname_spec=$lt_soname_spec
1.1       misho    17719: 
1.1.1.2   misho    17720: # Permission mode override for installation of shared libraries.
                   17721: install_override_mode=$lt_install_override_mode
1.1       misho    17722: 
1.1.1.2   misho    17723: # Command to use after installation of a shared archive.
                   17724: postinstall_cmds=$lt_postinstall_cmds
1.1       misho    17725: 
1.1.1.2   misho    17726: # Command to use after uninstallation of a shared archive.
                   17727: postuninstall_cmds=$lt_postuninstall_cmds
1.1       misho    17728: 
1.1.1.2   misho    17729: # Commands used to finish a libtool library installation in a directory.
                   17730: finish_cmds=$lt_finish_cmds
1.1       misho    17731: 
1.1.1.2   misho    17732: # As "finish_cmds", except a single script fragment to be evaled but
                   17733: # not shown.
                   17734: finish_eval=$lt_finish_eval
1.1       misho    17735: 
1.1.1.2   misho    17736: # Whether we should hardcode library paths into libraries.
                   17737: hardcode_into_libs=$hardcode_into_libs
1.1       misho    17738: 
1.1.1.2   misho    17739: # Compile-time system search path for libraries.
                   17740: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.1       misho    17741: 
1.1.1.4 ! misho    17742: # Detected run-time system search path for libraries.
        !          17743: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
        !          17744: 
        !          17745: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
        !          17746: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
1.1       misho    17747: 
1.1.1.2   misho    17748: # Whether dlopen is supported.
                   17749: dlopen_support=$enable_dlopen
1.1       misho    17750: 
1.1.1.2   misho    17751: # Whether dlopen of programs is supported.
                   17752: dlopen_self=$enable_dlopen_self
1.1       misho    17753: 
1.1.1.2   misho    17754: # Whether dlopen of statically linked programs is supported.
                   17755: dlopen_self_static=$enable_dlopen_self_static
1.1       misho    17756: 
1.1.1.2   misho    17757: # Commands to strip libraries.
                   17758: old_striplib=$lt_old_striplib
                   17759: striplib=$lt_striplib
1.1       misho    17760: 
                   17761: 
1.1.1.2   misho    17762: # The linker used to build libraries.
                   17763: LD=$lt_LD
1.1       misho    17764: 
1.1.1.2   misho    17765: # How to create reloadable object files.
                   17766: reload_flag=$lt_reload_flag
                   17767: reload_cmds=$lt_reload_cmds
1.1       misho    17768: 
1.1.1.2   misho    17769: # Commands used to build an old-style archive.
                   17770: old_archive_cmds=$lt_old_archive_cmds
1.1       misho    17771: 
1.1.1.2   misho    17772: # A language specific compiler.
                   17773: CC=$lt_compiler
1.1       misho    17774: 
1.1.1.2   misho    17775: # Is the compiler the GNU compiler?
                   17776: with_gcc=$GCC
1.1       misho    17777: 
1.1.1.2   misho    17778: # Compiler flag to turn off builtin functions.
                   17779: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1.1       misho    17780: 
1.1.1.2   misho    17781: # Additional compiler flags for building library objects.
                   17782: pic_flag=$lt_lt_prog_compiler_pic
1.1       misho    17783: 
1.1.1.2   misho    17784: # How to pass a linker flag through the compiler.
                   17785: wl=$lt_lt_prog_compiler_wl
1.1       misho    17786: 
1.1.1.2   misho    17787: # Compiler flag to prevent dynamic linking.
                   17788: link_static_flag=$lt_lt_prog_compiler_static
1.1       misho    17789: 
1.1.1.2   misho    17790: # Does compiler simultaneously support -c and -o options?
                   17791: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1.1       misho    17792: 
1.1.1.2   misho    17793: # Whether or not to add -lc for building shared libraries.
                   17794: build_libtool_need_lc=$archive_cmds_need_lc
1.1       misho    17795: 
1.1.1.2   misho    17796: # Whether or not to disallow shared libs when runtime libs are static.
                   17797: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1.1       misho    17798: 
1.1.1.2   misho    17799: # Compiler flag to allow reflexive dlopens.
                   17800: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1.1       misho    17801: 
1.1.1.2   misho    17802: # Compiler flag to generate shared objects directly from archives.
                   17803: whole_archive_flag_spec=$lt_whole_archive_flag_spec
1.1       misho    17804: 
1.1.1.2   misho    17805: # Whether the compiler copes with passing no objects directly.
                   17806: compiler_needs_object=$lt_compiler_needs_object
1.1       misho    17807: 
1.1.1.2   misho    17808: # Create an old-style archive from a shared archive.
                   17809: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1.1       misho    17810: 
1.1.1.2   misho    17811: # Create a temporary old-style archive to link instead of a shared archive.
                   17812: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1.1       misho    17813: 
1.1.1.2   misho    17814: # Commands used to build a shared archive.
                   17815: archive_cmds=$lt_archive_cmds
                   17816: archive_expsym_cmds=$lt_archive_expsym_cmds
1.1       misho    17817: 
1.1.1.2   misho    17818: # Commands used to build a loadable module if different from building
                   17819: # a shared archive.
                   17820: module_cmds=$lt_module_cmds
                   17821: module_expsym_cmds=$lt_module_expsym_cmds
1.1       misho    17822: 
1.1.1.2   misho    17823: # Whether we are building with GNU ld or not.
                   17824: with_gnu_ld=$lt_with_gnu_ld
1.1       misho    17825: 
1.1.1.2   misho    17826: # Flag that allows shared libraries with undefined symbols to be built.
                   17827: allow_undefined_flag=$lt_allow_undefined_flag
1.1       misho    17828: 
1.1.1.2   misho    17829: # Flag that enforces no undefined symbols.
                   17830: no_undefined_flag=$lt_no_undefined_flag
1.1       misho    17831: 
1.1.1.2   misho    17832: # Flag to hardcode \$libdir into a binary during linking.
                   17833: # This must work even if \$libdir does not exist
                   17834: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1.1       misho    17835: 
1.1.1.2   misho    17836: # Whether we need a single "-rpath" flag with a separated argument.
                   17837: hardcode_libdir_separator=$lt_hardcode_libdir_separator
1.1       misho    17838: 
1.1.1.4 ! misho    17839: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.1.1.2   misho    17840: # DIR into the resulting binary.
                   17841: hardcode_direct=$hardcode_direct
1.1       misho    17842: 
1.1.1.4 ! misho    17843: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.1.1.2   misho    17844: # DIR into the resulting binary and the resulting library dependency is
1.1.1.4 ! misho    17845: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
1.1.1.2   misho    17846: # library is relocated.
                   17847: hardcode_direct_absolute=$hardcode_direct_absolute
1.1       misho    17848: 
1.1.1.2   misho    17849: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   17850: # into the resulting binary.
                   17851: hardcode_minus_L=$hardcode_minus_L
1.1       misho    17852: 
1.1.1.2   misho    17853: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   17854: # into the resulting binary.
                   17855: hardcode_shlibpath_var=$hardcode_shlibpath_var
1.1       misho    17856: 
1.1.1.2   misho    17857: # Set to "yes" if building a shared library automatically hardcodes DIR
                   17858: # into the library and all subsequent libraries and executables linked
                   17859: # against it.
                   17860: hardcode_automatic=$hardcode_automatic
1.1       misho    17861: 
1.1.1.2   misho    17862: # Set to yes if linker adds runtime paths of dependent libraries
                   17863: # to runtime path list.
                   17864: inherit_rpath=$inherit_rpath
1.1       misho    17865: 
1.1.1.2   misho    17866: # Whether libtool must link a program against all its dependency libraries.
                   17867: link_all_deplibs=$link_all_deplibs
1.1       misho    17868: 
1.1.1.2   misho    17869: # Set to "yes" if exported symbols are required.
                   17870: always_export_symbols=$always_export_symbols
1.1       misho    17871: 
1.1.1.2   misho    17872: # The commands to list exported symbols.
                   17873: export_symbols_cmds=$lt_export_symbols_cmds
1.1       misho    17874: 
1.1.1.2   misho    17875: # Symbols that should not be listed in the preloaded symbols.
                   17876: exclude_expsyms=$lt_exclude_expsyms
1.1       misho    17877: 
1.1.1.2   misho    17878: # Symbols that must always be exported.
                   17879: include_expsyms=$lt_include_expsyms
1.1       misho    17880: 
1.1.1.2   misho    17881: # Commands necessary for linking programs (against libraries) with templates.
                   17882: prelink_cmds=$lt_prelink_cmds
1.1       misho    17883: 
1.1.1.2   misho    17884: # Commands necessary for finishing linking programs.
                   17885: postlink_cmds=$lt_postlink_cmds
1.1       misho    17886: 
1.1.1.2   misho    17887: # Specify filename containing input files.
                   17888: file_list_spec=$lt_file_list_spec
1.1       misho    17889: 
1.1.1.2   misho    17890: # How to hardcode a shared library path into an executable.
                   17891: hardcode_action=$hardcode_action
1.1       misho    17892: 
1.1.1.2   misho    17893: # ### END LIBTOOL CONFIG
1.1       misho    17894: 
1.1.1.2   misho    17895: _LT_EOF
                   17896: 
1.1.1.4 ! misho    17897:     cat <<'_LT_EOF' >> "$cfgfile"
        !          17898: 
        !          17899: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
        !          17900: 
        !          17901: # func_munge_path_list VARIABLE PATH
        !          17902: # -----------------------------------
        !          17903: # VARIABLE is name of variable containing _space_ separated list of
        !          17904: # directories to be munged by the contents of PATH, which is string
        !          17905: # having a format:
        !          17906: # "DIR[:DIR]:"
        !          17907: #       string "DIR[ DIR]" will be prepended to VARIABLE
        !          17908: # ":DIR[:DIR]"
        !          17909: #       string "DIR[ DIR]" will be appended to VARIABLE
        !          17910: # "DIRP[:DIRP]::[DIRA:]DIRA"
        !          17911: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
        !          17912: #       "DIRA[ DIRA]" will be appended to VARIABLE
        !          17913: # "DIR[:DIR]"
        !          17914: #       VARIABLE will be replaced by "DIR[ DIR]"
        !          17915: func_munge_path_list ()
        !          17916: {
        !          17917:     case x$2 in
        !          17918:     x)
        !          17919:         ;;
        !          17920:     *:)
        !          17921:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
        !          17922:         ;;
        !          17923:     x:*)
        !          17924:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
        !          17925:         ;;
        !          17926:     *::*)
        !          17927:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
        !          17928:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
        !          17929:         ;;
        !          17930:     *)
        !          17931:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
        !          17932:         ;;
        !          17933:     esac
        !          17934: }
        !          17935: 
        !          17936: 
        !          17937: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
        !          17938: func_cc_basename ()
        !          17939: {
        !          17940:     for cc_temp in $*""; do
        !          17941:       case $cc_temp in
        !          17942:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
        !          17943:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
        !          17944:         \-*) ;;
        !          17945:         *) break;;
        !          17946:       esac
        !          17947:     done
        !          17948:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
        !          17949: }
        !          17950: 
        !          17951: 
        !          17952: # ### END FUNCTIONS SHARED WITH CONFIGURE
        !          17953: 
        !          17954: _LT_EOF
        !          17955: 
1.1.1.2   misho    17956:   case $host_os in
                   17957:   aix3*)
                   17958:     cat <<\_LT_EOF >> "$cfgfile"
                   17959: # AIX sometimes has problems with the GCC collect2 program.  For some
                   17960: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   17961: # vanish in a puff of smoke.
1.1.1.4 ! misho    17962: if test set != "${COLLECT_NAMES+set}"; then
1.1.1.2   misho    17963:   COLLECT_NAMES=
                   17964:   export COLLECT_NAMES
                   17965: fi
                   17966: _LT_EOF
                   17967:     ;;
1.1       misho    17968:   esac
                   17969: 
                   17970: 
1.1.1.4 ! misho    17971: ltmain=$ac_aux_dir/ltmain.sh
1.1       misho    17972: 
                   17973: 
1.1.1.2   misho    17974:   # We use sed instead of cat because bash on DJGPP gets confused if
                   17975:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   17976:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   17977:   # is reportedly fixed, but why not run on old versions too?
                   17978:   sed '$q' "$ltmain" >> "$cfgfile" \
                   17979:      || (rm -f "$cfgfile"; exit 1)
                   17980: 
                   17981:    mv -f "$cfgfile" "$ofile" ||
                   17982:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   17983:   chmod +x "$ofile"
                   17984: 
1.1       misho    17985:  ;;
1.1.1.2   misho    17986: 
1.1       misho    17987:   esac
1.1.1.2   misho    17988: done # for ac_tag
1.1       misho    17989: 
                   17990: 
1.1.1.2   misho    17991: as_fn_exit 0
1.1       misho    17992: _ACEOF
                   17993: ac_clean_files=$ac_clean_files_save
                   17994: 
1.1.1.2   misho    17995: test $ac_write_fail = 0 ||
                   17996:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   17997: 
1.1       misho    17998: 
                   17999: # configure is writing to config.log, and then calls config.status.
                   18000: # config.status does its own redirection, appending to config.log.
                   18001: # Unfortunately, on DOS this fails, as config.log is still kept open
                   18002: # by configure, so config.status won't be able to write to it; its
                   18003: # output is simply discarded.  So we exec the FD to /dev/null,
                   18004: # effectively closing config.log, so it can be properly (re)opened and
                   18005: # appended to by config.status.  When coming back to configure, we
                   18006: # need to make the FD available again.
                   18007: if test "$no_create" != yes; then
                   18008:   ac_cs_success=:
                   18009:   ac_config_status_args=
                   18010:   test "$silent" = yes &&
                   18011:     ac_config_status_args="$ac_config_status_args --quiet"
                   18012:   exec 5>/dev/null
                   18013:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   18014:   exec 5>>config.log
                   18015:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   18016:   # would make configure fail if this is the last instruction.
1.1.1.2   misho    18017:   $ac_cs_success || as_fn_exit 1
                   18018: fi
                   18019: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   18020:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   18021: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       misho    18022: fi
                   18023: 
1.1.1.4 ! misho    18024: 
        !          18025: # Helper variables for summary, below
        !          18026: if test ${DX_FLAG_doc} -eq 1; then :
        !          18027:   rebuild_docs=yes
        !          18028: else
        !          18029:   rebuild_docs=no
        !          18030: fi
        !          18031: link_layer=`"echo"${LTLIBOBJS}"" | sed 's/.*libnet_link_\(.*\)\$.*/\1/'`
        !          18032: 
        !          18033: { $as_echo "$as_me:${as_lineno-$LINENO}: result:
        !          18034: -=-=-=-=-=-=-=-=-=-= $PACKAGE Configuration Complete =-=-=-=-=-=-=-=-=-=-
        !          18035: 
        !          18036:     Version ....................... ${VERSION}
        !          18037: 
        !          18038:     Host .......................... ${host}
        !          18039:     Operating System .............. ${host_os}
        !          18040:     Host CPU ...................... ${host_cpu}
        !          18041:     Host Vendor ................... ${host_vendor}
        !          18042:     Host OS ....................... ${host_os}
        !          18043:     Prefix ........................ ${prefix}
        !          18044: 
        !          18045:     Cross-compiling ............... ${cross_compiling}
        !          18046:     Compiler is GCC ............... ${ac_cv_c_compiler_gnu}
        !          18047:     CC ............................ ${CC}
        !          18048:     CFLAGS ........................ ${CFLAGS}
        !          18049:     LD ............................ ${LD}
        !          18050:     LDFLAGS ....................... ${LDFLAGS}
        !          18051:     LIBS .......................... ${LIBS}
        !          18052: 
        !          18053:     Link Layer .................... ${link_layer}
        !          18054:     Shared Libraries .............. ${enable_shared}
        !          18055:     Static Libraries .............. ${enable_static}
        !          18056:     PIC ........................... ${pic_mode}
        !          18057:     Build Sample Programs ......... ${enable_samples}
        !          18058:     Rebuild docs .................. ${rebuild_docs}
        !          18059: 
        !          18060: To override options
        !          18061: 
        !          18062:        $0 --help
        !          18063: 
        !          18064: Report bugs to ${PACKAGE_BUGREPORT}
        !          18065: 
        !          18066: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
        !          18067: To disable silent build and print the full command line of every stage
        !          18068: 
        !          18069:        make V=1
        !          18070: " >&5
        !          18071: $as_echo "
        !          18072: -=-=-=-=-=-=-=-=-=-= $PACKAGE Configuration Complete =-=-=-=-=-=-=-=-=-=-
        !          18073: 
        !          18074:     Version ....................... ${VERSION}
        !          18075: 
        !          18076:     Host .......................... ${host}
        !          18077:     Operating System .............. ${host_os}
        !          18078:     Host CPU ...................... ${host_cpu}
        !          18079:     Host Vendor ................... ${host_vendor}
        !          18080:     Host OS ....................... ${host_os}
        !          18081:     Prefix ........................ ${prefix}
        !          18082: 
        !          18083:     Cross-compiling ............... ${cross_compiling}
        !          18084:     Compiler is GCC ............... ${ac_cv_c_compiler_gnu}
        !          18085:     CC ............................ ${CC}
        !          18086:     CFLAGS ........................ ${CFLAGS}
        !          18087:     LD ............................ ${LD}
        !          18088:     LDFLAGS ....................... ${LDFLAGS}
        !          18089:     LIBS .......................... ${LIBS}
        !          18090: 
        !          18091:     Link Layer .................... ${link_layer}
        !          18092:     Shared Libraries .............. ${enable_shared}
        !          18093:     Static Libraries .............. ${enable_static}
        !          18094:     PIC ........................... ${pic_mode}
        !          18095:     Build Sample Programs ......... ${enable_samples}
        !          18096:     Rebuild docs .................. ${rebuild_docs}
        !          18097: 
        !          18098: To override options
        !          18099: 
        !          18100:        $0 --help
        !          18101: 
        !          18102: Report bugs to ${PACKAGE_BUGREPORT}
        !          18103: 
        !          18104: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
        !          18105: To disable silent build and print the full command line of every stage
        !          18106: 
        !          18107:        make V=1
        !          18108: " >&6; }
        !          18109: if test "$WIN32" = "yes"; then :
        !          18110:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: To compile shared libraries on MinGW use the bundled WinPcap libraries
        !          18111: in ./win32/.  GCC can NOT produce x64 compatible images with official
        !          18112: WinPcap Developer Pack.  See README.win32 for more info.
        !          18113: " >&5
        !          18114: $as_echo "To compile shared libraries on MinGW use the bundled WinPcap libraries
        !          18115: in ./win32/.  GCC can NOT produce x64 compatible images with official
        !          18116: WinPcap Developer Pack.  See README.win32 for more info.
        !          18117: " >&6; }
        !          18118: fi
        !          18119: if test "$rebuild_docs" = "yes"; then :
        !          18120:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: To build/update the documentation
        !          18121: 
        !          18122:        make doc
        !          18123: " >&5
        !          18124: $as_echo "To build/update the documentation
        !          18125: 
        !          18126:        make doc
        !          18127: " >&6; }
        !          18128: fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>