Annotation of embedaddon/sudo/configure, revision 1.1
1.1 ! misho 1: #! /bin/sh
! 2: # Guess values for system-dependent variables and create Makefiles.
! 3: # Generated by GNU Autoconf 2.68 for sudo 1.8.3p2.
! 4: #
! 5: # Report bugs to <http://www.sudo.ws/bugs/>.
! 6: #
! 7: #
! 8: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 9: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
! 10: # Foundation, Inc.
! 11: #
! 12: #
! 13: # This configure script is free software; the Free Software Foundation
! 14: # gives unlimited permission to copy, distribute and modify it.
! 15: ## -------------------- ##
! 16: ## M4sh Initialization. ##
! 17: ## -------------------- ##
! 18:
! 19: # Be more Bourne compatible
! 20: DUALCASE=1; export DUALCASE # for MKS sh
! 21: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
! 22: emulate sh
! 23: NULLCMD=:
! 24: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 25: # is contrary to our usage. Disable this feature.
! 26: alias -g '${1+"$@"}'='"$@"'
! 27: setopt NO_GLOB_SUBST
! 28: else
! 29: case `(set -o) 2>/dev/null` in #(
! 30: *posix*) :
! 31: set -o posix ;; #(
! 32: *) :
! 33: ;;
! 34: esac
! 35: fi
! 36:
! 37:
! 38: as_nl='
! 39: '
! 40: export as_nl
! 41: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 42: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 43: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 44: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 45: # Prefer a ksh shell builtin over an external printf program on Solaris,
! 46: # but without wasting forks for bash or zsh.
! 47: if test -z "$BASH_VERSION$ZSH_VERSION" \
! 48: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
! 49: as_echo='print -r --'
! 50: as_echo_n='print -rn --'
! 51: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 52: as_echo='printf %s\n'
! 53: as_echo_n='printf %s'
! 54: else
! 55: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 56: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 57: as_echo_n='/usr/ucb/echo -n'
! 58: else
! 59: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 60: as_echo_n_body='eval
! 61: arg=$1;
! 62: case $arg in #(
! 63: *"$as_nl"*)
! 64: expr "X$arg" : "X\\(.*\\)$as_nl";
! 65: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 66: esac;
! 67: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 68: '
! 69: export as_echo_n_body
! 70: as_echo_n='sh -c $as_echo_n_body as_echo'
! 71: fi
! 72: export as_echo_body
! 73: as_echo='sh -c $as_echo_body as_echo'
! 74: fi
! 75:
! 76: # The user is always right.
! 77: if test "${PATH_SEPARATOR+set}" != set; then
! 78: PATH_SEPARATOR=:
! 79: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 80: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 81: PATH_SEPARATOR=';'
! 82: }
! 83: fi
! 84:
! 85:
! 86: # IFS
! 87: # We need space, tab and new line, in precisely that order. Quoting is
! 88: # there to prevent editors from complaining about space-tab.
! 89: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 90: # splitting by setting IFS to empty value.)
! 91: IFS=" "" $as_nl"
! 92:
! 93: # Find who we are. Look in the path if we contain no directory separator.
! 94: as_myself=
! 95: case $0 in #((
! 96: *[\\/]* ) as_myself=$0 ;;
! 97: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 98: for as_dir in $PATH
! 99: do
! 100: IFS=$as_save_IFS
! 101: test -z "$as_dir" && as_dir=.
! 102: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 103: done
! 104: IFS=$as_save_IFS
! 105:
! 106: ;;
! 107: esac
! 108: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 109: # in which case we are not to be found in the path.
! 110: if test "x$as_myself" = x; then
! 111: as_myself=$0
! 112: fi
! 113: if test ! -f "$as_myself"; then
! 114: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 115: exit 1
! 116: fi
! 117:
! 118: # Unset variables that we do not need and which cause bugs (e.g. in
! 119: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
! 120: # suppresses any "Segmentation fault" message there. '((' could
! 121: # trigger a bug in pdksh 5.2.14.
! 122: for as_var in BASH_ENV ENV MAIL MAILPATH
! 123: do eval test x\${$as_var+set} = xset \
! 124: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! 125: done
! 126: PS1='$ '
! 127: PS2='> '
! 128: PS4='+ '
! 129:
! 130: # NLS nuisances.
! 131: LC_ALL=C
! 132: export LC_ALL
! 133: LANGUAGE=C
! 134: export LANGUAGE
! 135:
! 136: # CDPATH.
! 137: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 138:
! 139: if test "x$CONFIG_SHELL" = x; then
! 140: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
! 141: emulate sh
! 142: NULLCMD=:
! 143: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
! 144: # is contrary to our usage. Disable this feature.
! 145: alias -g '\${1+\"\$@\"}'='\"\$@\"'
! 146: setopt NO_GLOB_SUBST
! 147: else
! 148: case \`(set -o) 2>/dev/null\` in #(
! 149: *posix*) :
! 150: set -o posix ;; #(
! 151: *) :
! 152: ;;
! 153: esac
! 154: fi
! 155: "
! 156: as_required="as_fn_return () { (exit \$1); }
! 157: as_fn_success () { as_fn_return 0; }
! 158: as_fn_failure () { as_fn_return 1; }
! 159: as_fn_ret_success () { return 0; }
! 160: as_fn_ret_failure () { return 1; }
! 161:
! 162: exitcode=0
! 163: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
! 164: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
! 165: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
! 166: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
! 167: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
! 168:
! 169: else
! 170: exitcode=1; echo positional parameters were not saved.
! 171: fi
! 172: test x\$exitcode = x0 || exit 1"
! 173: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
! 174: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
! 175: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
! 176: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
! 177:
! 178: test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
! 179: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 180: ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
! 181: ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
! 182: PATH=/empty FPATH=/empty; export PATH FPATH
! 183: test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
! 184: || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
! 185: test \$(( 1 + 1 )) = 2 || exit 1"
! 186: if (eval "$as_required") 2>/dev/null; then :
! 187: as_have_required=yes
! 188: else
! 189: as_have_required=no
! 190: fi
! 191: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
! 192:
! 193: else
! 194: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 195: as_found=false
! 196: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 197: do
! 198: IFS=$as_save_IFS
! 199: test -z "$as_dir" && as_dir=.
! 200: as_found=:
! 201: case $as_dir in #(
! 202: /*)
! 203: for as_base in sh bash ksh sh5; do
! 204: # Try only shells that exist, to save several forks.
! 205: as_shell=$as_dir/$as_base
! 206: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
! 207: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
! 208: CONFIG_SHELL=$as_shell as_have_required=yes
! 209: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
! 210: break 2
! 211: fi
! 212: fi
! 213: done;;
! 214: esac
! 215: as_found=false
! 216: done
! 217: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
! 218: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
! 219: CONFIG_SHELL=$SHELL as_have_required=yes
! 220: fi; }
! 221: IFS=$as_save_IFS
! 222:
! 223:
! 224: if test "x$CONFIG_SHELL" != x; then :
! 225: # We cannot yet assume a decent shell, so we have to provide a
! 226: # neutralization value for shells without unset; and this also
! 227: # works around shells that cannot unset nonexistent variables.
! 228: # Preserve -v and -x to the replacement shell.
! 229: BASH_ENV=/dev/null
! 230: ENV=/dev/null
! 231: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
! 232: export CONFIG_SHELL
! 233: case $- in # ((((
! 234: *v*x* | *x*v* ) as_opts=-vx ;;
! 235: *v* ) as_opts=-v ;;
! 236: *x* ) as_opts=-x ;;
! 237: * ) as_opts= ;;
! 238: esac
! 239: exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
! 240: fi
! 241:
! 242: if test x$as_have_required = xno; then :
! 243: $as_echo "$0: This script requires a shell more modern than all"
! 244: $as_echo "$0: the shells that I found on your system."
! 245: if test x${ZSH_VERSION+set} = xset ; then
! 246: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
! 247: $as_echo "$0: be upgraded to zsh 4.3.4 or later."
! 248: else
! 249: $as_echo "$0: Please tell bug-autoconf@gnu.org and
! 250: $0: http://www.sudo.ws/bugs/ about your system, including
! 251: $0: any error possibly output before this message. Then
! 252: $0: install a modern shell, or manually run the script
! 253: $0: under such a shell if you do have one."
! 254: fi
! 255: exit 1
! 256: fi
! 257: fi
! 258: fi
! 259: SHELL=${CONFIG_SHELL-/bin/sh}
! 260: export SHELL
! 261: # Unset more variables known to interfere with behavior of common tools.
! 262: CLICOLOR_FORCE= GREP_OPTIONS=
! 263: unset CLICOLOR_FORCE GREP_OPTIONS
! 264:
! 265: ## --------------------- ##
! 266: ## M4sh Shell Functions. ##
! 267: ## --------------------- ##
! 268: # as_fn_unset VAR
! 269: # ---------------
! 270: # Portably unset VAR.
! 271: as_fn_unset ()
! 272: {
! 273: { eval $1=; unset $1;}
! 274: }
! 275: as_unset=as_fn_unset
! 276:
! 277: # as_fn_set_status STATUS
! 278: # -----------------------
! 279: # Set $? to STATUS, without forking.
! 280: as_fn_set_status ()
! 281: {
! 282: return $1
! 283: } # as_fn_set_status
! 284:
! 285: # as_fn_exit STATUS
! 286: # -----------------
! 287: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
! 288: as_fn_exit ()
! 289: {
! 290: set +e
! 291: as_fn_set_status $1
! 292: exit $1
! 293: } # as_fn_exit
! 294:
! 295: # as_fn_mkdir_p
! 296: # -------------
! 297: # Create "$as_dir" as a directory, including parents if necessary.
! 298: as_fn_mkdir_p ()
! 299: {
! 300:
! 301: case $as_dir in #(
! 302: -*) as_dir=./$as_dir;;
! 303: esac
! 304: test -d "$as_dir" || eval $as_mkdir_p || {
! 305: as_dirs=
! 306: while :; do
! 307: case $as_dir in #(
! 308: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 309: *) as_qdir=$as_dir;;
! 310: esac
! 311: as_dirs="'$as_qdir' $as_dirs"
! 312: as_dir=`$as_dirname -- "$as_dir" ||
! 313: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 314: X"$as_dir" : 'X\(//\)[^/]' \| \
! 315: X"$as_dir" : 'X\(//\)$' \| \
! 316: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 317: $as_echo X"$as_dir" |
! 318: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 319: s//\1/
! 320: q
! 321: }
! 322: /^X\(\/\/\)[^/].*/{
! 323: s//\1/
! 324: q
! 325: }
! 326: /^X\(\/\/\)$/{
! 327: s//\1/
! 328: q
! 329: }
! 330: /^X\(\/\).*/{
! 331: s//\1/
! 332: q
! 333: }
! 334: s/.*/./; q'`
! 335: test -d "$as_dir" && break
! 336: done
! 337: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 338: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
! 339:
! 340:
! 341: } # as_fn_mkdir_p
! 342: # as_fn_append VAR VALUE
! 343: # ----------------------
! 344: # Append the text in VALUE to the end of the definition contained in VAR. Take
! 345: # advantage of any shell optimizations that allow amortized linear growth over
! 346: # repeated appends, instead of the typical quadratic growth present in naive
! 347: # implementations.
! 348: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
! 349: eval 'as_fn_append ()
! 350: {
! 351: eval $1+=\$2
! 352: }'
! 353: else
! 354: as_fn_append ()
! 355: {
! 356: eval $1=\$$1\$2
! 357: }
! 358: fi # as_fn_append
! 359:
! 360: # as_fn_arith ARG...
! 361: # ------------------
! 362: # Perform arithmetic evaluation on the ARGs, and store the result in the
! 363: # global $as_val. Take advantage of shells that can avoid forks. The arguments
! 364: # must be portable across $(()) and expr.
! 365: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
! 366: eval 'as_fn_arith ()
! 367: {
! 368: as_val=$(( $* ))
! 369: }'
! 370: else
! 371: as_fn_arith ()
! 372: {
! 373: as_val=`expr "$@" || test $? -eq 1`
! 374: }
! 375: fi # as_fn_arith
! 376:
! 377:
! 378: # as_fn_error STATUS ERROR [LINENO LOG_FD]
! 379: # ----------------------------------------
! 380: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
! 381: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
! 382: # script with STATUS, using 1 if that was 0.
! 383: as_fn_error ()
! 384: {
! 385: as_status=$1; test $as_status -eq 0 && as_status=1
! 386: if test "$4"; then
! 387: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 388: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
! 389: fi
! 390: $as_echo "$as_me: error: $2" >&2
! 391: as_fn_exit $as_status
! 392: } # as_fn_error
! 393:
! 394: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 395: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 396: as_expr=expr
! 397: else
! 398: as_expr=false
! 399: fi
! 400:
! 401: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 402: as_basename=basename
! 403: else
! 404: as_basename=false
! 405: fi
! 406:
! 407: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 408: as_dirname=dirname
! 409: else
! 410: as_dirname=false
! 411: fi
! 412:
! 413: as_me=`$as_basename -- "$0" ||
! 414: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 415: X"$0" : 'X\(//\)$' \| \
! 416: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 417: $as_echo X/"$0" |
! 418: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 419: s//\1/
! 420: q
! 421: }
! 422: /^X\/\(\/\/\)$/{
! 423: s//\1/
! 424: q
! 425: }
! 426: /^X\/\(\/\).*/{
! 427: s//\1/
! 428: q
! 429: }
! 430: s/.*/./; q'`
! 431:
! 432: # Avoid depending upon Character Ranges.
! 433: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 434: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 435: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 436: as_cr_digits='0123456789'
! 437: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 438:
! 439:
! 440: as_lineno_1=$LINENO as_lineno_1a=$LINENO
! 441: as_lineno_2=$LINENO as_lineno_2a=$LINENO
! 442: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
! 443: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
! 444: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
! 445: sed -n '
! 446: p
! 447: /[$]LINENO/=
! 448: ' <$as_myself |
! 449: sed '
! 450: s/[$]LINENO.*/&-/
! 451: t lineno
! 452: b
! 453: :lineno
! 454: N
! 455: :loop
! 456: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 457: t loop
! 458: s/-\n.*//
! 459: ' >$as_me.lineno &&
! 460: chmod +x "$as_me.lineno" ||
! 461: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
! 462:
! 463: # Don't try to exec as it changes $[0], causing all sort of problems
! 464: # (the dirname of $[0] is not the place where we might find the
! 465: # original and so on. Autoconf is especially sensitive to this).
! 466: . "./$as_me.lineno"
! 467: # Exit status is that of the last command.
! 468: exit
! 469: }
! 470:
! 471: ECHO_C= ECHO_N= ECHO_T=
! 472: case `echo -n x` in #(((((
! 473: -n*)
! 474: case `echo 'xy\c'` in
! 475: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 476: xy) ECHO_C='\c';;
! 477: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
! 478: ECHO_T=' ';;
! 479: esac;;
! 480: *)
! 481: ECHO_N='-n';;
! 482: esac
! 483:
! 484: rm -f conf$$ conf$$.exe conf$$.file
! 485: if test -d conf$$.dir; then
! 486: rm -f conf$$.dir/conf$$.file
! 487: else
! 488: rm -f conf$$.dir
! 489: mkdir conf$$.dir 2>/dev/null
! 490: fi
! 491: if (echo >conf$$.file) 2>/dev/null; then
! 492: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 493: as_ln_s='ln -s'
! 494: # ... but there are two gotchas:
! 495: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 496: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 497: # In both cases, we have to default to `cp -p'.
! 498: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 499: as_ln_s='cp -p'
! 500: elif ln conf$$.file conf$$ 2>/dev/null; then
! 501: as_ln_s=ln
! 502: else
! 503: as_ln_s='cp -p'
! 504: fi
! 505: else
! 506: as_ln_s='cp -p'
! 507: fi
! 508: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 509: rmdir conf$$.dir 2>/dev/null
! 510:
! 511: if mkdir -p . 2>/dev/null; then
! 512: as_mkdir_p='mkdir -p "$as_dir"'
! 513: else
! 514: test -d ./-p && rmdir ./-p
! 515: as_mkdir_p=false
! 516: fi
! 517:
! 518: if test -x / >/dev/null 2>&1; then
! 519: as_test_x='test -x'
! 520: else
! 521: if ls -dL / >/dev/null 2>&1; then
! 522: as_ls_L_option=L
! 523: else
! 524: as_ls_L_option=
! 525: fi
! 526: as_test_x='
! 527: eval sh -c '\''
! 528: if test -d "$1"; then
! 529: test -d "$1/.";
! 530: else
! 531: case $1 in #(
! 532: -*)set "./$1";;
! 533: esac;
! 534: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
! 535: ???[sx]*):;;*)false;;esac;fi
! 536: '\'' sh
! 537: '
! 538: fi
! 539: as_executable_p=$as_test_x
! 540:
! 541: # Sed expression to map a string onto a valid CPP name.
! 542: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 543:
! 544: # Sed expression to map a string onto a valid variable name.
! 545: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 546:
! 547: SHELL=${CONFIG_SHELL-/bin/sh}
! 548:
! 549:
! 550: test -n "$DJDIR" || exec 7<&0 </dev/null
! 551: exec 6>&1
! 552:
! 553: # Name of the host.
! 554: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
! 555: # so uname gets run too.
! 556: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 557:
! 558: #
! 559: # Initializations.
! 560: #
! 561: ac_default_prefix=/usr/local
! 562: ac_clean_files=
! 563: ac_config_libobj_dir=.
! 564: LIBOBJS=
! 565: cross_compiling=no
! 566: subdirs=
! 567: MFLAGS=
! 568: MAKEFLAGS=
! 569:
! 570: # Identity of this package.
! 571: PACKAGE_NAME='sudo'
! 572: PACKAGE_TARNAME='sudo'
! 573: PACKAGE_VERSION='1.8.3p2'
! 574: PACKAGE_STRING='sudo 1.8.3p2'
! 575: PACKAGE_BUGREPORT='http://www.sudo.ws/bugs/'
! 576: PACKAGE_URL=''
! 577:
! 578: ac_config_libobj_dir=compat
! 579: # Factoring default headers for most tests.
! 580: ac_includes_default="\
! 581: #include <stdio.h>
! 582: #ifdef HAVE_SYS_TYPES_H
! 583: # include <sys/types.h>
! 584: #endif
! 585: #ifdef HAVE_SYS_STAT_H
! 586: # include <sys/stat.h>
! 587: #endif
! 588: #ifdef STDC_HEADERS
! 589: # include <stdlib.h>
! 590: # include <stddef.h>
! 591: #else
! 592: # ifdef HAVE_STDLIB_H
! 593: # include <stdlib.h>
! 594: # endif
! 595: #endif
! 596: #ifdef HAVE_STRING_H
! 597: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
! 598: # include <memory.h>
! 599: # endif
! 600: # include <string.h>
! 601: #endif
! 602: #ifdef HAVE_STRINGS_H
! 603: # include <strings.h>
! 604: #endif
! 605: #ifdef HAVE_INTTYPES_H
! 606: # include <inttypes.h>
! 607: #endif
! 608: #ifdef HAVE_STDINT_H
! 609: # include <stdint.h>
! 610: #endif
! 611: #ifdef HAVE_UNISTD_H
! 612: # include <unistd.h>
! 613: #endif"
! 614:
! 615: ac_subst_vars='LTLIBOBJS
! 616: KRB5CONFIG
! 617: LIBOBJS
! 618: FLEX
! 619: YFLAGS
! 620: YACC
! 621: NROFFPROG
! 622: TRPROG
! 623: UNAMEPROG
! 624: OTOOL64
! 625: OTOOL
! 626: LIPO
! 627: NMEDIT
! 628: DSYMUTIL
! 629: MANIFEST_TOOL
! 630: AWK
! 631: STRIP
! 632: ac_ct_AR
! 633: DLLTOOL
! 634: OBJDUMP
! 635: LN_S
! 636: NM
! 637: ac_ct_DUMPBIN
! 638: DUMPBIN
! 639: LD
! 640: FGREP
! 641: EGREP
! 642: GREP
! 643: SED
! 644: host_os
! 645: host_vendor
! 646: host_cpu
! 647: host
! 648: build_os
! 649: build_vendor
! 650: build_cpu
! 651: build
! 652: RANLIB
! 653: AR
! 654: CPP
! 655: OBJEXT
! 656: EXEEXT
! 657: ac_ct_CC
! 658: CC
! 659: editor
! 660: secure_path
! 661: netsvc_conf
! 662: nsswitch_conf
! 663: ldap_secret
! 664: ldap_conf
! 665: path_info
! 666: root_sudo
! 667: insults
! 668: tty_tickets
! 669: passwd_tries
! 670: env_reset
! 671: env_editor
! 672: runas_default
! 673: fqdn
! 674: badpass_message
! 675: mailsub
! 676: mailto
! 677: mail_no_perms
! 678: mail_no_host
! 679: mail_no_user
! 680: ignore_dot
! 681: loglen
! 682: badpri
! 683: goodpri
! 684: logfac
! 685: lecture
! 686: long_otp_prompt
! 687: passprompt
! 688: umask_override
! 689: sudo_umask
! 690: password_timeout
! 691: timeout
! 692: timedir
! 693: iolog_dir
! 694: SUDO_NLS
! 695: LIBINTL
! 696: LT_STATIC
! 697: LIBDL
! 698: CONFIGURE_ARGS
! 699: ac_config_libobj_dir
! 700: LIBTOOL_DEPS
! 701: ZLIB_SRC
! 702: ZLIB
! 703: LOGINCAP_USAGE
! 704: LDAP
! 705: SELINUX_USAGE
! 706: BSDAUTH_USAGE
! 707: DONT_LEAK_PATH_INFO
! 708: INSTALL_NOEXEC
! 709: noexec_file
! 710: SOEXT
! 711: PLUGINDIR
! 712: NOEXECDIR
! 713: NOEXECFILE
! 714: mansrcdir
! 715: mansectform
! 716: mansectsu
! 717: devdir
! 718: SEMAN
! 719: LCMAN
! 720: BAMAN
! 721: DEV
! 722: SUDOERS_GID
! 723: SUDOERS_UID
! 724: SUDOERS_MODE
! 725: MAN_POSTINSTALL
! 726: MANTYPE
! 727: AUTH_OBJS
! 728: OSDEFS
! 729: GETGROUPS_LIB
! 730: REPLAY_LIBS
! 731: AFS_LIBS
! 732: NET_LIBS
! 733: SUDOERS_LIBS
! 734: SUDO_LIBS
! 735: SUDO_OBJS
! 736: SUDOERS_OBJS
! 737: COMMON_OBJS
! 738: LTLDFLAGS
! 739: SUDOERS_LDFLAGS
! 740: LDFLAGS
! 741: CPPFLAGS
! 742: PROGS
! 743: CFLAGS
! 744: LIBTOOL
! 745: HAVE_BSM_AUDIT
! 746: target_alias
! 747: host_alias
! 748: build_alias
! 749: LIBS
! 750: ECHO_T
! 751: ECHO_N
! 752: ECHO_C
! 753: DEFS
! 754: mandir
! 755: localedir
! 756: libdir
! 757: psdir
! 758: pdfdir
! 759: dvidir
! 760: htmldir
! 761: infodir
! 762: docdir
! 763: oldincludedir
! 764: includedir
! 765: localstatedir
! 766: sharedstatedir
! 767: sysconfdir
! 768: datadir
! 769: datarootdir
! 770: libexecdir
! 771: sbindir
! 772: bindir
! 773: program_transform_name
! 774: prefix
! 775: exec_prefix
! 776: PACKAGE_URL
! 777: PACKAGE_BUGREPORT
! 778: PACKAGE_STRING
! 779: PACKAGE_VERSION
! 780: PACKAGE_TARNAME
! 781: PACKAGE_NAME
! 782: PATH_SEPARATOR
! 783: SHELL'
! 784: ac_subst_files=''
! 785: ac_user_opts='
! 786: enable_option_checking
! 787: with_otp_only
! 788: with_alertmail
! 789: with_devel
! 790: with_CC
! 791: with_rpath
! 792: with_blibpath
! 793: with_bsm_audit
! 794: with_linux_audit
! 795: with_incpath
! 796: with_libpath
! 797: with_libraries
! 798: with_efence
! 799: with_csops
! 800: with_passwd
! 801: with_skey
! 802: with_opie
! 803: with_long_otp_prompt
! 804: with_SecurID
! 805: with_fwtk
! 806: with_kerb4
! 807: with_kerb5
! 808: with_aixauth
! 809: with_pam
! 810: with_AFS
! 811: with_DCE
! 812: with_logincap
! 813: with_bsdauth
! 814: with_project
! 815: with_lecture
! 816: with_logging
! 817: with_logfac
! 818: with_goodpri
! 819: with_badpri
! 820: with_logpath
! 821: with_loglen
! 822: with_ignore_dot
! 823: with_mail_if_no_user
! 824: with_mail_if_no_host
! 825: with_mail_if_noperms
! 826: with_mailto
! 827: with_mailsubject
! 828: with_passprompt
! 829: with_badpass_message
! 830: with_fqdn
! 831: with_timedir
! 832: with_iologdir
! 833: with_sendmail
! 834: with_sudoers_mode
! 835: with_sudoers_uid
! 836: with_sudoers_gid
! 837: with_umask
! 838: with_umask_override
! 839: with_runas_default
! 840: with_exempt
! 841: with_editor
! 842: with_env_editor
! 843: with_passwd_tries
! 844: with_timeout
! 845: with_password_timeout
! 846: with_tty_tickets
! 847: with_insults
! 848: with_all_insults
! 849: with_classic_insults
! 850: with_csops_insults
! 851: with_hal_insults
! 852: with_goons_insults
! 853: with_nsswitch
! 854: with_ldap
! 855: with_ldap_conf_file
! 856: with_ldap_secret_file
! 857: with_pc_insults
! 858: with_secure_path
! 859: with_interfaces
! 860: with_stow
! 861: with_askpass
! 862: with_plugindir
! 863: enable_authentication
! 864: enable_root_mailer
! 865: enable_setreuid
! 866: enable_setresuid
! 867: enable_shadow
! 868: enable_root_sudo
! 869: enable_log_host
! 870: enable_noargs_shell
! 871: enable_shell_sets_home
! 872: enable_path_info
! 873: enable_env_debug
! 874: enable_zlib
! 875: enable_env_reset
! 876: enable_warnings
! 877: enable_werror
! 878: enable_admin_flag
! 879: enable_nls
! 880: with_selinux
! 881: enable_gss_krb5_ccache_name
! 882: enable_shared
! 883: enable_static
! 884: with_pic
! 885: enable_fast_install
! 886: with_gnu_ld
! 887: with_sysroot
! 888: enable_libtool_lock
! 889: with_noexec
! 890: with_netsvc
! 891: enable_sia
! 892: enable_largefile
! 893: with_pam_login
! 894: enable_pam_session
! 895: '
! 896: ac_precious_vars='build_alias
! 897: host_alias
! 898: target_alias
! 899: CC
! 900: CFLAGS
! 901: LDFLAGS
! 902: LIBS
! 903: CPPFLAGS
! 904: CPP
! 905: YACC
! 906: YFLAGS'
! 907:
! 908:
! 909: # Initialize some variables set by options.
! 910: ac_init_help=
! 911: ac_init_version=false
! 912: ac_unrecognized_opts=
! 913: ac_unrecognized_sep=
! 914: # The variables have the same names as the options, with
! 915: # dashes changed to underlines.
! 916: cache_file=/dev/null
! 917: exec_prefix=NONE
! 918: no_create=
! 919: no_recursion=
! 920: prefix=NONE
! 921: program_prefix=NONE
! 922: program_suffix=NONE
! 923: program_transform_name=s,x,x,
! 924: silent=
! 925: site=
! 926: srcdir=
! 927: verbose=
! 928: x_includes=NONE
! 929: x_libraries=NONE
! 930:
! 931: # Installation directory options.
! 932: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 933: # and all the variables that are supposed to be based on exec_prefix
! 934: # by default will actually change.
! 935: # Use braces instead of parens because sh, perl, etc. also accept them.
! 936: # (The list follows the same order as the GNU Coding Standards.)
! 937: bindir='${exec_prefix}/bin'
! 938: sbindir='${exec_prefix}/sbin'
! 939: libexecdir='${exec_prefix}/libexec'
! 940: datarootdir='${prefix}/share'
! 941: datadir='${datarootdir}'
! 942: sysconfdir='${prefix}/etc'
! 943: sharedstatedir='${prefix}/com'
! 944: localstatedir='${prefix}/var'
! 945: includedir='${prefix}/include'
! 946: oldincludedir='/usr/include'
! 947: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
! 948: infodir='${datarootdir}/info'
! 949: htmldir='${docdir}'
! 950: dvidir='${docdir}'
! 951: pdfdir='${docdir}'
! 952: psdir='${docdir}'
! 953: libdir='${exec_prefix}/lib'
! 954: localedir='${datarootdir}/locale'
! 955: mandir='${datarootdir}/man'
! 956:
! 957: ac_prev=
! 958: ac_dashdash=
! 959: for ac_option
! 960: do
! 961: # If the previous option needs an argument, assign it.
! 962: if test -n "$ac_prev"; then
! 963: eval $ac_prev=\$ac_option
! 964: ac_prev=
! 965: continue
! 966: fi
! 967:
! 968: case $ac_option in
! 969: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 970: *=) ac_optarg= ;;
! 971: *) ac_optarg=yes ;;
! 972: esac
! 973:
! 974: # Accept the important Cygnus configure options, so we can diagnose typos.
! 975:
! 976: case $ac_dashdash$ac_option in
! 977: --)
! 978: ac_dashdash=yes ;;
! 979:
! 980: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 981: ac_prev=bindir ;;
! 982: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 983: bindir=$ac_optarg ;;
! 984:
! 985: -build | --build | --buil | --bui | --bu)
! 986: ac_prev=build_alias ;;
! 987: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 988: build_alias=$ac_optarg ;;
! 989:
! 990: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 991: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 992: ac_prev=cache_file ;;
! 993: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 994: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 995: cache_file=$ac_optarg ;;
! 996:
! 997: --config-cache | -C)
! 998: cache_file=config.cache ;;
! 999:
! 1000: -datadir | --datadir | --datadi | --datad)
! 1001: ac_prev=datadir ;;
! 1002: -datadir=* | --datadir=* | --datadi=* | --datad=*)
! 1003: datadir=$ac_optarg ;;
! 1004:
! 1005: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 1006: | --dataroo | --dataro | --datar)
! 1007: ac_prev=datarootdir ;;
! 1008: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 1009: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 1010: datarootdir=$ac_optarg ;;
! 1011:
! 1012: -disable-* | --disable-*)
! 1013: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 1014: # Reject names that are not valid shell variable names.
! 1015: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1016: as_fn_error $? "invalid feature name: $ac_useropt"
! 1017: ac_useropt_orig=$ac_useropt
! 1018: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1019: case $ac_user_opts in
! 1020: *"
! 1021: "enable_$ac_useropt"
! 1022: "*) ;;
! 1023: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 1024: ac_unrecognized_sep=', ';;
! 1025: esac
! 1026: eval enable_$ac_useropt=no ;;
! 1027:
! 1028: -docdir | --docdir | --docdi | --doc | --do)
! 1029: ac_prev=docdir ;;
! 1030: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 1031: docdir=$ac_optarg ;;
! 1032:
! 1033: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 1034: ac_prev=dvidir ;;
! 1035: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 1036: dvidir=$ac_optarg ;;
! 1037:
! 1038: -enable-* | --enable-*)
! 1039: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 1040: # Reject names that are not valid shell variable names.
! 1041: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1042: as_fn_error $? "invalid feature name: $ac_useropt"
! 1043: ac_useropt_orig=$ac_useropt
! 1044: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1045: case $ac_user_opts in
! 1046: *"
! 1047: "enable_$ac_useropt"
! 1048: "*) ;;
! 1049: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 1050: ac_unrecognized_sep=', ';;
! 1051: esac
! 1052: eval enable_$ac_useropt=\$ac_optarg ;;
! 1053:
! 1054: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 1055: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 1056: | --exec | --exe | --ex)
! 1057: ac_prev=exec_prefix ;;
! 1058: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 1059: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 1060: | --exec=* | --exe=* | --ex=*)
! 1061: exec_prefix=$ac_optarg ;;
! 1062:
! 1063: -gas | --gas | --ga | --g)
! 1064: # Obsolete; use --with-gas.
! 1065: with_gas=yes ;;
! 1066:
! 1067: -help | --help | --hel | --he | -h)
! 1068: ac_init_help=long ;;
! 1069: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 1070: ac_init_help=recursive ;;
! 1071: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 1072: ac_init_help=short ;;
! 1073:
! 1074: -host | --host | --hos | --ho)
! 1075: ac_prev=host_alias ;;
! 1076: -host=* | --host=* | --hos=* | --ho=*)
! 1077: host_alias=$ac_optarg ;;
! 1078:
! 1079: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 1080: ac_prev=htmldir ;;
! 1081: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 1082: | --ht=*)
! 1083: htmldir=$ac_optarg ;;
! 1084:
! 1085: -includedir | --includedir | --includedi | --included | --include \
! 1086: | --includ | --inclu | --incl | --inc)
! 1087: ac_prev=includedir ;;
! 1088: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 1089: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 1090: includedir=$ac_optarg ;;
! 1091:
! 1092: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 1093: ac_prev=infodir ;;
! 1094: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 1095: infodir=$ac_optarg ;;
! 1096:
! 1097: -libdir | --libdir | --libdi | --libd)
! 1098: ac_prev=libdir ;;
! 1099: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 1100: libdir=$ac_optarg ;;
! 1101:
! 1102: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 1103: | --libexe | --libex | --libe)
! 1104: ac_prev=libexecdir ;;
! 1105: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 1106: | --libexe=* | --libex=* | --libe=*)
! 1107: libexecdir=$ac_optarg ;;
! 1108:
! 1109: -localedir | --localedir | --localedi | --localed | --locale)
! 1110: ac_prev=localedir ;;
! 1111: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 1112: localedir=$ac_optarg ;;
! 1113:
! 1114: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 1115: | --localstate | --localstat | --localsta | --localst | --locals)
! 1116: ac_prev=localstatedir ;;
! 1117: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 1118: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
! 1119: localstatedir=$ac_optarg ;;
! 1120:
! 1121: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 1122: ac_prev=mandir ;;
! 1123: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 1124: mandir=$ac_optarg ;;
! 1125:
! 1126: -nfp | --nfp | --nf)
! 1127: # Obsolete; use --without-fp.
! 1128: with_fp=no ;;
! 1129:
! 1130: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 1131: | --no-cr | --no-c | -n)
! 1132: no_create=yes ;;
! 1133:
! 1134: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 1135: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 1136: no_recursion=yes ;;
! 1137:
! 1138: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 1139: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 1140: | --oldin | --oldi | --old | --ol | --o)
! 1141: ac_prev=oldincludedir ;;
! 1142: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 1143: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 1144: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 1145: oldincludedir=$ac_optarg ;;
! 1146:
! 1147: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 1148: ac_prev=prefix ;;
! 1149: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 1150: prefix=$ac_optarg ;;
! 1151:
! 1152: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 1153: | --program-pre | --program-pr | --program-p)
! 1154: ac_prev=program_prefix ;;
! 1155: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 1156: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 1157: program_prefix=$ac_optarg ;;
! 1158:
! 1159: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 1160: | --program-suf | --program-su | --program-s)
! 1161: ac_prev=program_suffix ;;
! 1162: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 1163: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 1164: program_suffix=$ac_optarg ;;
! 1165:
! 1166: -program-transform-name | --program-transform-name \
! 1167: | --program-transform-nam | --program-transform-na \
! 1168: | --program-transform-n | --program-transform- \
! 1169: | --program-transform | --program-transfor \
! 1170: | --program-transfo | --program-transf \
! 1171: | --program-trans | --program-tran \
! 1172: | --progr-tra | --program-tr | --program-t)
! 1173: ac_prev=program_transform_name ;;
! 1174: -program-transform-name=* | --program-transform-name=* \
! 1175: | --program-transform-nam=* | --program-transform-na=* \
! 1176: | --program-transform-n=* | --program-transform-=* \
! 1177: | --program-transform=* | --program-transfor=* \
! 1178: | --program-transfo=* | --program-transf=* \
! 1179: | --program-trans=* | --program-tran=* \
! 1180: | --progr-tra=* | --program-tr=* | --program-t=*)
! 1181: program_transform_name=$ac_optarg ;;
! 1182:
! 1183: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 1184: ac_prev=pdfdir ;;
! 1185: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 1186: pdfdir=$ac_optarg ;;
! 1187:
! 1188: -psdir | --psdir | --psdi | --psd | --ps)
! 1189: ac_prev=psdir ;;
! 1190: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 1191: psdir=$ac_optarg ;;
! 1192:
! 1193: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1194: | -silent | --silent | --silen | --sile | --sil)
! 1195: silent=yes ;;
! 1196:
! 1197: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 1198: ac_prev=sbindir ;;
! 1199: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 1200: | --sbi=* | --sb=*)
! 1201: sbindir=$ac_optarg ;;
! 1202:
! 1203: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 1204: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 1205: | --sharedst | --shareds | --shared | --share | --shar \
! 1206: | --sha | --sh)
! 1207: ac_prev=sharedstatedir ;;
! 1208: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 1209: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 1210: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 1211: | --sha=* | --sh=*)
! 1212: sharedstatedir=$ac_optarg ;;
! 1213:
! 1214: -site | --site | --sit)
! 1215: ac_prev=site ;;
! 1216: -site=* | --site=* | --sit=*)
! 1217: site=$ac_optarg ;;
! 1218:
! 1219: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 1220: ac_prev=srcdir ;;
! 1221: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 1222: srcdir=$ac_optarg ;;
! 1223:
! 1224: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 1225: | --syscon | --sysco | --sysc | --sys | --sy)
! 1226: ac_prev=sysconfdir ;;
! 1227: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 1228: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 1229: sysconfdir=$ac_optarg ;;
! 1230:
! 1231: -target | --target | --targe | --targ | --tar | --ta | --t)
! 1232: ac_prev=target_alias ;;
! 1233: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 1234: target_alias=$ac_optarg ;;
! 1235:
! 1236: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 1237: verbose=yes ;;
! 1238:
! 1239: -version | --version | --versio | --versi | --vers | -V)
! 1240: ac_init_version=: ;;
! 1241:
! 1242: -with-* | --with-*)
! 1243: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 1244: # Reject names that are not valid shell variable names.
! 1245: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1246: as_fn_error $? "invalid package name: $ac_useropt"
! 1247: ac_useropt_orig=$ac_useropt
! 1248: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1249: case $ac_user_opts in
! 1250: *"
! 1251: "with_$ac_useropt"
! 1252: "*) ;;
! 1253: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 1254: ac_unrecognized_sep=', ';;
! 1255: esac
! 1256: eval with_$ac_useropt=\$ac_optarg ;;
! 1257:
! 1258: -without-* | --without-*)
! 1259: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 1260: # Reject names that are not valid shell variable names.
! 1261: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1262: as_fn_error $? "invalid package name: $ac_useropt"
! 1263: ac_useropt_orig=$ac_useropt
! 1264: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1265: case $ac_user_opts in
! 1266: *"
! 1267: "with_$ac_useropt"
! 1268: "*) ;;
! 1269: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1270: ac_unrecognized_sep=', ';;
! 1271: esac
! 1272: eval with_$ac_useropt=no ;;
! 1273:
! 1274: --x)
! 1275: # Obsolete; use --with-x.
! 1276: with_x=yes ;;
! 1277:
! 1278: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 1279: | --x-incl | --x-inc | --x-in | --x-i)
! 1280: ac_prev=x_includes ;;
! 1281: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 1282: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 1283: x_includes=$ac_optarg ;;
! 1284:
! 1285: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 1286: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 1287: ac_prev=x_libraries ;;
! 1288: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 1289: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 1290: x_libraries=$ac_optarg ;;
! 1291:
! 1292: -*) as_fn_error $? "unrecognized option: \`$ac_option'
! 1293: Try \`$0 --help' for more information"
! 1294: ;;
! 1295:
! 1296: *=*)
! 1297: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 1298: # Reject names that are not valid shell variable names.
! 1299: case $ac_envvar in #(
! 1300: '' | [0-9]* | *[!_$as_cr_alnum]* )
! 1301: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
! 1302: esac
! 1303: eval $ac_envvar=\$ac_optarg
! 1304: export $ac_envvar ;;
! 1305:
! 1306: *)
! 1307: # FIXME: should be removed in autoconf 3.0.
! 1308: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 1309: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1310: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1311: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
! 1312: ;;
! 1313:
! 1314: esac
! 1315: done
! 1316:
! 1317: if test -n "$ac_prev"; then
! 1318: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 1319: as_fn_error $? "missing argument to $ac_option"
! 1320: fi
! 1321:
! 1322: if test -n "$ac_unrecognized_opts"; then
! 1323: case $enable_option_checking in
! 1324: no) ;;
! 1325: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
! 1326: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1327: esac
! 1328: fi
! 1329:
! 1330: # Check all directory arguments for consistency.
! 1331: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1332: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1333: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1334: libdir localedir mandir
! 1335: do
! 1336: eval ac_val=\$$ac_var
! 1337: # Remove trailing slashes.
! 1338: case $ac_val in
! 1339: */ )
! 1340: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1341: eval $ac_var=\$ac_val;;
! 1342: esac
! 1343: # Be sure to have absolute directory names.
! 1344: case $ac_val in
! 1345: [\\/$]* | ?:[\\/]* ) continue;;
! 1346: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
! 1347: esac
! 1348: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
! 1349: done
! 1350:
! 1351: # There might be people who depend on the old broken behavior: `$host'
! 1352: # used to hold the argument of --host etc.
! 1353: # FIXME: To remove some day.
! 1354: build=$build_alias
! 1355: host=$host_alias
! 1356: target=$target_alias
! 1357:
! 1358: # FIXME: To remove some day.
! 1359: if test "x$host_alias" != x; then
! 1360: if test "x$build_alias" = x; then
! 1361: cross_compiling=maybe
! 1362: $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
! 1363: If a cross compiler is detected then cross compile mode will be used" >&2
! 1364: elif test "x$build_alias" != "x$host_alias"; then
! 1365: cross_compiling=yes
! 1366: fi
! 1367: fi
! 1368:
! 1369: ac_tool_prefix=
! 1370: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 1371:
! 1372: test "$silent" = yes && exec 6>/dev/null
! 1373:
! 1374:
! 1375: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1376: ac_ls_di=`ls -di .` &&
! 1377: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1378: as_fn_error $? "working directory cannot be determined"
! 1379: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1380: as_fn_error $? "pwd does not report name of working directory"
! 1381:
! 1382:
! 1383: # Find the source files, if location was not specified.
! 1384: if test -z "$srcdir"; then
! 1385: ac_srcdir_defaulted=yes
! 1386: # Try the directory containing this script, then the parent directory.
! 1387: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1388: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1389: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1390: X"$as_myself" : 'X\(//\)$' \| \
! 1391: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1392: $as_echo X"$as_myself" |
! 1393: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1394: s//\1/
! 1395: q
! 1396: }
! 1397: /^X\(\/\/\)[^/].*/{
! 1398: s//\1/
! 1399: q
! 1400: }
! 1401: /^X\(\/\/\)$/{
! 1402: s//\1/
! 1403: q
! 1404: }
! 1405: /^X\(\/\).*/{
! 1406: s//\1/
! 1407: q
! 1408: }
! 1409: s/.*/./; q'`
! 1410: srcdir=$ac_confdir
! 1411: if test ! -r "$srcdir/$ac_unique_file"; then
! 1412: srcdir=..
! 1413: fi
! 1414: else
! 1415: ac_srcdir_defaulted=no
! 1416: fi
! 1417: if test ! -r "$srcdir/$ac_unique_file"; then
! 1418: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1419: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
! 1420: fi
! 1421: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1422: ac_abs_confdir=`(
! 1423: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
! 1424: pwd)`
! 1425: # When building in place, set srcdir=.
! 1426: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1427: srcdir=.
! 1428: fi
! 1429: # Remove unnecessary trailing slashes from srcdir.
! 1430: # Double slashes in file names in object file debugging info
! 1431: # mess up M-x gdb in Emacs.
! 1432: case $srcdir in
! 1433: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1434: esac
! 1435: for ac_var in $ac_precious_vars; do
! 1436: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1437: eval ac_env_${ac_var}_value=\$${ac_var}
! 1438: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1439: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1440: done
! 1441:
! 1442: #
! 1443: # Report the --help message.
! 1444: #
! 1445: if test "$ac_init_help" = "long"; then
! 1446: # Omit some internal or obsolete options to make the list less imposing.
! 1447: # This message is too long to be a string in the A/UX 3.1 sh.
! 1448: cat <<_ACEOF
! 1449: \`configure' configures sudo 1.8.3p2 to adapt to many kinds of systems.
! 1450:
! 1451: Usage: $0 [OPTION]... [VAR=VALUE]...
! 1452:
! 1453: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 1454: VAR=VALUE. See below for descriptions of some of the useful variables.
! 1455:
! 1456: Defaults for the options are specified in brackets.
! 1457:
! 1458: Configuration:
! 1459: -h, --help display this help and exit
! 1460: --help=short display options specific to this package
! 1461: --help=recursive display the short help of all the included packages
! 1462: -V, --version display version information and exit
! 1463: -q, --quiet, --silent do not print \`checking ...' messages
! 1464: --cache-file=FILE cache test results in FILE [disabled]
! 1465: -C, --config-cache alias for \`--cache-file=config.cache'
! 1466: -n, --no-create do not create output files
! 1467: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 1468:
! 1469: Installation directories:
! 1470: --prefix=PREFIX install architecture-independent files in PREFIX
! 1471: [$ac_default_prefix]
! 1472: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 1473: [PREFIX]
! 1474:
! 1475: By default, \`make install' will install all the files in
! 1476: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 1477: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 1478: for instance \`--prefix=\$HOME'.
! 1479:
! 1480: For better control, use the options below.
! 1481:
! 1482: Fine tuning of the installation directories:
! 1483: --bindir=DIR user executables [EPREFIX/bin]
! 1484: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1485: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1486: --sysconfdir=DIR read-only single-machine data [/etc]
! 1487: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1488: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1489: --libdir=DIR object code libraries [EPREFIX/lib]
! 1490: --includedir=DIR C header files [PREFIX/include]
! 1491: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1492: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1493: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1494: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1495: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1496: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1497: --docdir=DIR documentation root [DATAROOTDIR/doc/sudo]
! 1498: --htmldir=DIR html documentation [DOCDIR]
! 1499: --dvidir=DIR dvi documentation [DOCDIR]
! 1500: --pdfdir=DIR pdf documentation [DOCDIR]
! 1501: --psdir=DIR ps documentation [DOCDIR]
! 1502: _ACEOF
! 1503:
! 1504: cat <<\_ACEOF
! 1505:
! 1506: System types:
! 1507: --build=BUILD configure for building on BUILD [guessed]
! 1508: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1509: _ACEOF
! 1510: fi
! 1511:
! 1512: if test -n "$ac_init_help"; then
! 1513: case $ac_init_help in
! 1514: short | recursive ) echo "Configuration of sudo 1.8.3p2:";;
! 1515: esac
! 1516: cat <<\_ACEOF
! 1517:
! 1518: Optional Features:
! 1519: --disable-option-checking ignore unrecognized --enable/--with options
! 1520: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1521: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1522: --disable-authentication
! 1523: Do not require authentication by default
! 1524: --disable-root-mailer Don't run the mailer as root, run as the user
! 1525: --disable-setreuid Don't try to use the setreuid() function
! 1526: --disable-setresuid Don't try to use the setresuid() function
! 1527: --disable-shadow Never use shadow passwords
! 1528: --disable-root-sudo Don't allow root to run sudo
! 1529: --enable-log-host Log the hostname in the log file
! 1530: --enable-noargs-shell If sudo is given no arguments run a shell
! 1531: --enable-shell-sets-home
! 1532: Set $HOME to target user in shell mode
! 1533: --disable-path-info Print 'command not allowed' not 'command not found'
! 1534: --enable-env-debug Whether to enable environment debugging.
! 1535: --enable-zlib[=PATH] Whether to enable or disable zlib
! 1536: --enable-env-reset Whether to enable environment resetting by default.
! 1537: --enable-warnings Whether to enable compiler warnings
! 1538: --enable-werror Whether to enable the -Werror compiler option
! 1539: --enable-admin-flag Whether to create a Ubuntu-style admin flag file
! 1540: --disable-nls Disable natural language support using gettext
! 1541: --enable-gss-krb5-ccache-name
! 1542: Use GSS-API to set the Kerberos V cred cache name
! 1543: --enable-shared[=PKGS] build shared libraries [default=yes]
! 1544: --enable-static[=PKGS] build static libraries [default=yes]
! 1545: --enable-fast-install[=PKGS]
! 1546: optimize for fast installation [default=yes]
! 1547: --disable-libtool-lock avoid locking (might break parallel builds)
! 1548: --disable-sia Disable SIA on Digital UNIX
! 1549: --disable-largefile omit support for large files
! 1550: --disable-pam-session Disable PAM session support
! 1551:
! 1552: Optional Packages:
! 1553: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 1554: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 1555: --with-otp-only deprecated
! 1556: --with-alertmail deprecated
! 1557: --with-devel add development options
! 1558: --with-CC C compiler to use
! 1559: --with-rpath pass -R flag in addition to -L for lib paths
! 1560: --with-blibpath=PATH pass -blibpath flag to ld for additional lib paths
! 1561: --with-bsm-audit enable BSM audit support
! 1562: --with-linux-audit enable Linux audit support
! 1563: --with-incpath additional places to look for include files
! 1564: --with-libpath additional places to look for libraries
! 1565: --with-libraries additional libraries to link with
! 1566: --with-efence link with -lefence for malloc() debugging
! 1567: --with-csops add CSOps standard options
! 1568: --without-passwd don't use passwd/shadow file for authentication
! 1569: --with-skey=DIR enable S/Key support
! 1570: --with-opie=DIR enable OPIE support
! 1571: --with-long-otp-prompt use a two line OTP (skey/opie) prompt
! 1572: --with-SecurID[=DIR] enable SecurID support
! 1573: --with-fwtk[=DIR] enable FWTK AuthSRV support
! 1574: --with-kerb4[=DIR] enable Kerberos IV support
! 1575: --with-kerb5[=DIR] enable Kerberos V support
! 1576: --with-aixauth enable AIX general authentication support
! 1577: --with-pam enable PAM support
! 1578: --with-AFS enable AFS support
! 1579: --with-DCE enable DCE support
! 1580: --with-logincap enable BSD login class support
! 1581: --with-bsdauth enable BSD authentication support
! 1582: --with-project enable Solaris project support
! 1583: --without-lecture don't print lecture for first-time sudoer
! 1584: --with-logging log via syslog, file, or both
! 1585: --with-logfac syslog facility to log with (default is "auth")
! 1586: --with-goodpri syslog priority for commands (def is "notice")
! 1587: --with-badpri syslog priority for failures (def is "alert")
! 1588: --with-logpath path to the sudo log file
! 1589: --with-loglen maximum length of a log file line (default is 80)
! 1590: --with-ignore-dot ignore '.' in the PATH
! 1591: --without-mail-if-no-user
! 1592: do not send mail if user not in sudoers
! 1593: --with-mail-if-no-host send mail if user in sudoers but not for this host
! 1594: --with-mail-if-noperms send mail if user not allowed to run command
! 1595: --with-mailto who should get sudo mail (default is "root")
! 1596: --with-mailsubject subject of sudo mail
! 1597: --with-passprompt default password prompt
! 1598: --with-badpass-message message the user sees when the password is wrong
! 1599: --with-fqdn expect fully qualified hosts in sudoers
! 1600: --with-timedir path to the sudo timestamp dir
! 1601: --with-iologdir=DIR directory to store sudo I/O log files in
! 1602: --with-sendmail set path to sendmail
! 1603: --without-sendmail do not send mail at all
! 1604: --with-sudoers-mode mode of sudoers file (defaults to 0440)
! 1605: --with-sudoers-uid uid that owns sudoers file (defaults to 0)
! 1606: --with-sudoers-gid gid that owns sudoers file (defaults to 0)
! 1607: --with-umask umask with which the prog should run (default is
! 1608: 022)
! 1609: --without-umask Preserves the umask of the user invoking sudo.
! 1610: --with-umask-override Use the umask specified in sudoers even if it is
! 1611: less restrictive than the user's.
! 1612: --with-runas-default User to run commands as (default is "root")
! 1613: --with-exempt=group no passwd needed for users in this group
! 1614: --with-editor=path Default editor for visudo (defaults to vi)
! 1615: --with-env-editor Use the environment variable EDITOR for visudo
! 1616: --with-passwd-tries number of tries to enter password (default is 3)
! 1617: --with-timeout minutes before sudo asks for passwd again (def is 5
! 1618: minutes)
! 1619: --with-password-timeout passwd prompt timeout in minutes (default is 5
! 1620: minutes)
! 1621: --with-tty-tickets use a different ticket file for each tty
! 1622: --with-insults insult the user for entering an incorrect password
! 1623: --with-all-insults include all the sudo insult sets
! 1624: --with-classic-insults include the insults from the "classic" sudo
! 1625: --with-csops-insults include CSOps insults
! 1626: --with-hal-insults include 2001-like insults
! 1627: --with-goons-insults include the insults from the "Goon Show"
! 1628: --with-nsswitch[=PATH] path to nsswitch.conf
! 1629: --with-ldap[=DIR] enable LDAP support
! 1630: --with-ldap-conf-file path to LDAP configuration file
! 1631: --with-ldap-secret-file path to LDAP secret password file
! 1632: --with-pc-insults replace politically incorrect insults with less
! 1633: offensive ones
! 1634: --with-secure-path override the user's path with a built-in one
! 1635: --without-interfaces don't try to read the ip addr of ether interfaces
! 1636: --with-stow properly handle GNU stow packaging
! 1637: --with-askpass=PATH Fully qualified pathname of askpass helper
! 1638: --with-plugindir set directory to load plugins from
! 1639: --with-selinux enable SELinux support
! 1640: --with-pic try to use only PIC/non-PIC objects [default=use
! 1641: both]
! 1642: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
! 1643: --with-sysroot=DIR Search for dependent libraries within DIR
! 1644: (or the compiler's sysroot if not specified).
! 1645: --with-noexec=PATH fully qualified pathname of sudo_noexec.so
! 1646: --with-netsvc[=PATH] path to netsvc.conf
! 1647: --with-pam-login enable specific PAM session for sudo -i
! 1648:
! 1649: Some influential environment variables:
! 1650: CC C compiler command
! 1651: CFLAGS C compiler flags
! 1652: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1653: nonstandard directory <lib dir>
! 1654: LIBS libraries to pass to the linker, e.g. -l<library>
! 1655: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
! 1656: you have headers in a nonstandard directory <include dir>
! 1657: CPP C preprocessor
! 1658: YACC The `Yet Another Compiler Compiler' implementation to use.
! 1659: Defaults to the first program found out of: `bison -y', `byacc',
! 1660: `yacc'.
! 1661: YFLAGS The list of arguments that will be passed by default to $YACC.
! 1662: This script will default YFLAGS to the empty string to avoid a
! 1663: default value of `-d' given by some make applications.
! 1664:
! 1665: Use these variables to override the choices made by `configure' or to help
! 1666: it to find libraries and programs with nonstandard names/locations.
! 1667:
! 1668: Report bugs to <http://www.sudo.ws/bugs/>.
! 1669: _ACEOF
! 1670: ac_status=$?
! 1671: fi
! 1672:
! 1673: if test "$ac_init_help" = "recursive"; then
! 1674: # If there are subdirs, report their specific --help.
! 1675: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1676: test -d "$ac_dir" ||
! 1677: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1678: continue
! 1679: ac_builddir=.
! 1680:
! 1681: case "$ac_dir" in
! 1682: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1683: *)
! 1684: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1685: # A ".." for each directory in $ac_dir_suffix.
! 1686: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1687: case $ac_top_builddir_sub in
! 1688: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1689: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1690: esac ;;
! 1691: esac
! 1692: ac_abs_top_builddir=$ac_pwd
! 1693: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1694: # for backward compatibility:
! 1695: ac_top_builddir=$ac_top_build_prefix
! 1696:
! 1697: case $srcdir in
! 1698: .) # We are building in place.
! 1699: ac_srcdir=.
! 1700: ac_top_srcdir=$ac_top_builddir_sub
! 1701: ac_abs_top_srcdir=$ac_pwd ;;
! 1702: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1703: ac_srcdir=$srcdir$ac_dir_suffix;
! 1704: ac_top_srcdir=$srcdir
! 1705: ac_abs_top_srcdir=$srcdir ;;
! 1706: *) # Relative name.
! 1707: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1708: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1709: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1710: esac
! 1711: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1712:
! 1713: cd "$ac_dir" || { ac_status=$?; continue; }
! 1714: # Check for guested configure.
! 1715: if test -f "$ac_srcdir/configure.gnu"; then
! 1716: echo &&
! 1717: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1718: elif test -f "$ac_srcdir/configure"; then
! 1719: echo &&
! 1720: $SHELL "$ac_srcdir/configure" --help=recursive
! 1721: else
! 1722: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1723: fi || ac_status=$?
! 1724: cd "$ac_pwd" || { ac_status=$?; break; }
! 1725: done
! 1726: fi
! 1727:
! 1728: test -n "$ac_init_help" && exit $ac_status
! 1729: if $ac_init_version; then
! 1730: cat <<\_ACEOF
! 1731: sudo configure 1.8.3p2
! 1732: generated by GNU Autoconf 2.68
! 1733:
! 1734: Copyright (C) 2010 Free Software Foundation, Inc.
! 1735: This configure script is free software; the Free Software Foundation
! 1736: gives unlimited permission to copy, distribute and modify it.
! 1737: _ACEOF
! 1738: exit
! 1739: fi
! 1740:
! 1741: ## ------------------------ ##
! 1742: ## Autoconf initialization. ##
! 1743: ## ------------------------ ##
! 1744:
! 1745: # ac_fn_c_try_compile LINENO
! 1746: # --------------------------
! 1747: # Try to compile conftest.$ac_ext, and return whether this succeeded.
! 1748: ac_fn_c_try_compile ()
! 1749: {
! 1750: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1751: rm -f conftest.$ac_objext
! 1752: if { { ac_try="$ac_compile"
! 1753: case "(($ac_try" in
! 1754: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1755: *) ac_try_echo=$ac_try;;
! 1756: esac
! 1757: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1758: $as_echo "$ac_try_echo"; } >&5
! 1759: (eval "$ac_compile") 2>conftest.err
! 1760: ac_status=$?
! 1761: if test -s conftest.err; then
! 1762: grep -v '^ *+' conftest.err >conftest.er1
! 1763: cat conftest.er1 >&5
! 1764: mv -f conftest.er1 conftest.err
! 1765: fi
! 1766: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1767: test $ac_status = 0; } && {
! 1768: test -z "$ac_c_werror_flag" ||
! 1769: test ! -s conftest.err
! 1770: } && test -s conftest.$ac_objext; then :
! 1771: ac_retval=0
! 1772: else
! 1773: $as_echo "$as_me: failed program was:" >&5
! 1774: sed 's/^/| /' conftest.$ac_ext >&5
! 1775:
! 1776: ac_retval=1
! 1777: fi
! 1778: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1779: as_fn_set_status $ac_retval
! 1780:
! 1781: } # ac_fn_c_try_compile
! 1782:
! 1783: # ac_fn_c_try_link LINENO
! 1784: # -----------------------
! 1785: # Try to link conftest.$ac_ext, and return whether this succeeded.
! 1786: ac_fn_c_try_link ()
! 1787: {
! 1788: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1789: rm -f conftest.$ac_objext conftest$ac_exeext
! 1790: if { { ac_try="$ac_link"
! 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_link") 2>conftest.err
! 1798: ac_status=$?
! 1799: if test -s conftest.err; then
! 1800: grep -v '^ *+' conftest.err >conftest.er1
! 1801: cat conftest.er1 >&5
! 1802: mv -f conftest.er1 conftest.err
! 1803: fi
! 1804: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1805: test $ac_status = 0; } && {
! 1806: test -z "$ac_c_werror_flag" ||
! 1807: test ! -s conftest.err
! 1808: } && test -s conftest$ac_exeext && {
! 1809: test "$cross_compiling" = yes ||
! 1810: $as_test_x conftest$ac_exeext
! 1811: }; then :
! 1812: ac_retval=0
! 1813: else
! 1814: $as_echo "$as_me: failed program was:" >&5
! 1815: sed 's/^/| /' conftest.$ac_ext >&5
! 1816:
! 1817: ac_retval=1
! 1818: fi
! 1819: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
! 1820: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
! 1821: # interfere with the next link command; also delete a directory that is
! 1822: # left behind by Apple's compiler. We do this before executing the actions.
! 1823: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
! 1824: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1825: as_fn_set_status $ac_retval
! 1826:
! 1827: } # ac_fn_c_try_link
! 1828:
! 1829: # ac_fn_c_try_cpp LINENO
! 1830: # ----------------------
! 1831: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
! 1832: ac_fn_c_try_cpp ()
! 1833: {
! 1834: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1835: if { { ac_try="$ac_cpp conftest.$ac_ext"
! 1836: case "(($ac_try" in
! 1837: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1838: *) ac_try_echo=$ac_try;;
! 1839: esac
! 1840: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1841: $as_echo "$ac_try_echo"; } >&5
! 1842: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
! 1843: ac_status=$?
! 1844: if test -s conftest.err; then
! 1845: grep -v '^ *+' conftest.err >conftest.er1
! 1846: cat conftest.er1 >&5
! 1847: mv -f conftest.er1 conftest.err
! 1848: fi
! 1849: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1850: test $ac_status = 0; } > conftest.i && {
! 1851: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 1852: test ! -s conftest.err
! 1853: }; then :
! 1854: ac_retval=0
! 1855: else
! 1856: $as_echo "$as_me: failed program was:" >&5
! 1857: sed 's/^/| /' conftest.$ac_ext >&5
! 1858:
! 1859: ac_retval=1
! 1860: fi
! 1861: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1862: as_fn_set_status $ac_retval
! 1863:
! 1864: } # ac_fn_c_try_cpp
! 1865:
! 1866: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
! 1867: # -------------------------------------------------------
! 1868: # Tests whether HEADER exists and can be compiled using the include files in
! 1869: # INCLUDES, setting the cache variable VAR accordingly.
! 1870: ac_fn_c_check_header_compile ()
! 1871: {
! 1872: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1873: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1874: $as_echo_n "checking for $2... " >&6; }
! 1875: if eval \${$3+:} false; then :
! 1876: $as_echo_n "(cached) " >&6
! 1877: else
! 1878: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1879: /* end confdefs.h. */
! 1880: $4
! 1881: #include <$2>
! 1882: _ACEOF
! 1883: if ac_fn_c_try_compile "$LINENO"; then :
! 1884: eval "$3=yes"
! 1885: else
! 1886: eval "$3=no"
! 1887: fi
! 1888: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1889: fi
! 1890: eval ac_res=\$$3
! 1891: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1892: $as_echo "$ac_res" >&6; }
! 1893: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1894:
! 1895: } # ac_fn_c_check_header_compile
! 1896:
! 1897: # ac_fn_c_try_run LINENO
! 1898: # ----------------------
! 1899: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
! 1900: # that executables *can* be run.
! 1901: ac_fn_c_try_run ()
! 1902: {
! 1903: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1904: if { { ac_try="$ac_link"
! 1905: case "(($ac_try" in
! 1906: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1907: *) ac_try_echo=$ac_try;;
! 1908: esac
! 1909: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1910: $as_echo "$ac_try_echo"; } >&5
! 1911: (eval "$ac_link") 2>&5
! 1912: ac_status=$?
! 1913: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1914: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
! 1915: { { case "(($ac_try" in
! 1916: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1917: *) ac_try_echo=$ac_try;;
! 1918: esac
! 1919: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1920: $as_echo "$ac_try_echo"; } >&5
! 1921: (eval "$ac_try") 2>&5
! 1922: ac_status=$?
! 1923: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1924: test $ac_status = 0; }; }; then :
! 1925: ac_retval=0
! 1926: else
! 1927: $as_echo "$as_me: program exited with status $ac_status" >&5
! 1928: $as_echo "$as_me: failed program was:" >&5
! 1929: sed 's/^/| /' conftest.$ac_ext >&5
! 1930:
! 1931: ac_retval=$ac_status
! 1932: fi
! 1933: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
! 1934: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1935: as_fn_set_status $ac_retval
! 1936:
! 1937: } # ac_fn_c_try_run
! 1938:
! 1939: # ac_fn_c_check_func LINENO FUNC VAR
! 1940: # ----------------------------------
! 1941: # Tests whether FUNC exists, setting the cache variable VAR accordingly
! 1942: ac_fn_c_check_func ()
! 1943: {
! 1944: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1945: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1946: $as_echo_n "checking for $2... " >&6; }
! 1947: if eval \${$3+:} false; then :
! 1948: $as_echo_n "(cached) " >&6
! 1949: else
! 1950: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1951: /* end confdefs.h. */
! 1952: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
! 1953: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 1954: #define $2 innocuous_$2
! 1955:
! 1956: /* System header to define __stub macros and hopefully few prototypes,
! 1957: which can conflict with char $2 (); below.
! 1958: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 1959: <limits.h> exists even on freestanding compilers. */
! 1960:
! 1961: #ifdef __STDC__
! 1962: # include <limits.h>
! 1963: #else
! 1964: # include <assert.h>
! 1965: #endif
! 1966:
! 1967: #undef $2
! 1968:
! 1969: /* Override any GCC internal prototype to avoid an error.
! 1970: Use char because int might match the return type of a GCC
! 1971: builtin and then its argument prototype would still apply. */
! 1972: #ifdef __cplusplus
! 1973: extern "C"
! 1974: #endif
! 1975: char $2 ();
! 1976: /* The GNU C library defines this for functions which it implements
! 1977: to always fail with ENOSYS. Some functions are actually named
! 1978: something starting with __ and the normal name is an alias. */
! 1979: #if defined __stub_$2 || defined __stub___$2
! 1980: choke me
! 1981: #endif
! 1982:
! 1983: int
! 1984: main ()
! 1985: {
! 1986: return $2 ();
! 1987: ;
! 1988: return 0;
! 1989: }
! 1990: _ACEOF
! 1991: if ac_fn_c_try_link "$LINENO"; then :
! 1992: eval "$3=yes"
! 1993: else
! 1994: eval "$3=no"
! 1995: fi
! 1996: rm -f core conftest.err conftest.$ac_objext \
! 1997: conftest$ac_exeext conftest.$ac_ext
! 1998: fi
! 1999: eval ac_res=\$$3
! 2000: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 2001: $as_echo "$ac_res" >&6; }
! 2002: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 2003:
! 2004: } # ac_fn_c_check_func
! 2005:
! 2006: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
! 2007: # -------------------------------------------------------
! 2008: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
! 2009: # the include files in INCLUDES and setting the cache variable VAR
! 2010: # accordingly.
! 2011: ac_fn_c_check_header_mongrel ()
! 2012: {
! 2013: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 2014: if eval \${$3+:} false; then :
! 2015: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 2016: $as_echo_n "checking for $2... " >&6; }
! 2017: if eval \${$3+:} false; then :
! 2018: $as_echo_n "(cached) " >&6
! 2019: fi
! 2020: eval ac_res=\$$3
! 2021: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 2022: $as_echo "$ac_res" >&6; }
! 2023: else
! 2024: # Is the header compilable?
! 2025: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
! 2026: $as_echo_n "checking $2 usability... " >&6; }
! 2027: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2028: /* end confdefs.h. */
! 2029: $4
! 2030: #include <$2>
! 2031: _ACEOF
! 2032: if ac_fn_c_try_compile "$LINENO"; then :
! 2033: ac_header_compiler=yes
! 2034: else
! 2035: ac_header_compiler=no
! 2036: fi
! 2037: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
! 2039: $as_echo "$ac_header_compiler" >&6; }
! 2040:
! 2041: # Is the header present?
! 2042: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
! 2043: $as_echo_n "checking $2 presence... " >&6; }
! 2044: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2045: /* end confdefs.h. */
! 2046: #include <$2>
! 2047: _ACEOF
! 2048: if ac_fn_c_try_cpp "$LINENO"; then :
! 2049: ac_header_preproc=yes
! 2050: else
! 2051: ac_header_preproc=no
! 2052: fi
! 2053: rm -f conftest.err conftest.i conftest.$ac_ext
! 2054: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
! 2055: $as_echo "$ac_header_preproc" >&6; }
! 2056:
! 2057: # So? What about this header?
! 2058: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
! 2059: yes:no: )
! 2060: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
! 2061: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 2062: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
! 2063: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
! 2064: ;;
! 2065: no:yes:* )
! 2066: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
! 2067: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
! 2068: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
! 2069: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
! 2070: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
! 2071: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
! 2072: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
! 2073: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
! 2074: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
! 2075: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
! 2076: ( $as_echo "## --------------------------------------- ##
! 2077: ## Report this to http://www.sudo.ws/bugs/ ##
! 2078: ## --------------------------------------- ##"
! 2079: ) | sed "s/^/$as_me: WARNING: /" >&2
! 2080: ;;
! 2081: esac
! 2082: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 2083: $as_echo_n "checking for $2... " >&6; }
! 2084: if eval \${$3+:} false; then :
! 2085: $as_echo_n "(cached) " >&6
! 2086: else
! 2087: eval "$3=\$ac_header_compiler"
! 2088: fi
! 2089: eval ac_res=\$$3
! 2090: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 2091: $as_echo "$ac_res" >&6; }
! 2092: fi
! 2093: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 2094:
! 2095: } # ac_fn_c_check_header_mongrel
! 2096:
! 2097: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
! 2098: # -------------------------------------------
! 2099: # Tests whether TYPE exists after having included INCLUDES, setting cache
! 2100: # variable VAR accordingly.
! 2101: ac_fn_c_check_type ()
! 2102: {
! 2103: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 2104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 2105: $as_echo_n "checking for $2... " >&6; }
! 2106: if eval \${$3+:} false; then :
! 2107: $as_echo_n "(cached) " >&6
! 2108: else
! 2109: eval "$3=no"
! 2110: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2111: /* end confdefs.h. */
! 2112: $4
! 2113: int
! 2114: main ()
! 2115: {
! 2116: if (sizeof ($2))
! 2117: return 0;
! 2118: ;
! 2119: return 0;
! 2120: }
! 2121: _ACEOF
! 2122: if ac_fn_c_try_compile "$LINENO"; then :
! 2123: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2124: /* end confdefs.h. */
! 2125: $4
! 2126: int
! 2127: main ()
! 2128: {
! 2129: if (sizeof (($2)))
! 2130: return 0;
! 2131: ;
! 2132: return 0;
! 2133: }
! 2134: _ACEOF
! 2135: if ac_fn_c_try_compile "$LINENO"; then :
! 2136:
! 2137: else
! 2138: eval "$3=yes"
! 2139: fi
! 2140: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2141: fi
! 2142: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2143: fi
! 2144: eval ac_res=\$$3
! 2145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 2146: $as_echo "$ac_res" >&6; }
! 2147: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 2148:
! 2149: } # ac_fn_c_check_type
! 2150:
! 2151: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
! 2152: # --------------------------------------------
! 2153: # Tries to find the compile-time value of EXPR in a program that includes
! 2154: # INCLUDES, setting VAR accordingly. Returns whether the value could be
! 2155: # computed
! 2156: ac_fn_c_compute_int ()
! 2157: {
! 2158: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 2159: if test "$cross_compiling" = yes; then
! 2160: # Depending upon the size, compute the lo and hi bounds.
! 2161: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2162: /* end confdefs.h. */
! 2163: $4
! 2164: int
! 2165: main ()
! 2166: {
! 2167: static int test_array [1 - 2 * !(($2) >= 0)];
! 2168: test_array [0] = 0
! 2169:
! 2170: ;
! 2171: return 0;
! 2172: }
! 2173: _ACEOF
! 2174: if ac_fn_c_try_compile "$LINENO"; then :
! 2175: ac_lo=0 ac_mid=0
! 2176: while :; do
! 2177: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2178: /* end confdefs.h. */
! 2179: $4
! 2180: int
! 2181: main ()
! 2182: {
! 2183: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
! 2184: test_array [0] = 0
! 2185:
! 2186: ;
! 2187: return 0;
! 2188: }
! 2189: _ACEOF
! 2190: if ac_fn_c_try_compile "$LINENO"; then :
! 2191: ac_hi=$ac_mid; break
! 2192: else
! 2193: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
! 2194: if test $ac_lo -le $ac_mid; then
! 2195: ac_lo= ac_hi=
! 2196: break
! 2197: fi
! 2198: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
! 2199: fi
! 2200: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2201: done
! 2202: else
! 2203: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2204: /* end confdefs.h. */
! 2205: $4
! 2206: int
! 2207: main ()
! 2208: {
! 2209: static int test_array [1 - 2 * !(($2) < 0)];
! 2210: test_array [0] = 0
! 2211:
! 2212: ;
! 2213: return 0;
! 2214: }
! 2215: _ACEOF
! 2216: if ac_fn_c_try_compile "$LINENO"; then :
! 2217: ac_hi=-1 ac_mid=-1
! 2218: while :; do
! 2219: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2220: /* end confdefs.h. */
! 2221: $4
! 2222: int
! 2223: main ()
! 2224: {
! 2225: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
! 2226: test_array [0] = 0
! 2227:
! 2228: ;
! 2229: return 0;
! 2230: }
! 2231: _ACEOF
! 2232: if ac_fn_c_try_compile "$LINENO"; then :
! 2233: ac_lo=$ac_mid; break
! 2234: else
! 2235: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
! 2236: if test $ac_mid -le $ac_hi; then
! 2237: ac_lo= ac_hi=
! 2238: break
! 2239: fi
! 2240: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
! 2241: fi
! 2242: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2243: done
! 2244: else
! 2245: ac_lo= ac_hi=
! 2246: fi
! 2247: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2248: fi
! 2249: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2250: # Binary search between lo and hi bounds.
! 2251: while test "x$ac_lo" != "x$ac_hi"; do
! 2252: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
! 2253: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2254: /* end confdefs.h. */
! 2255: $4
! 2256: int
! 2257: main ()
! 2258: {
! 2259: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
! 2260: test_array [0] = 0
! 2261:
! 2262: ;
! 2263: return 0;
! 2264: }
! 2265: _ACEOF
! 2266: if ac_fn_c_try_compile "$LINENO"; then :
! 2267: ac_hi=$ac_mid
! 2268: else
! 2269: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
! 2270: fi
! 2271: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2272: done
! 2273: case $ac_lo in #((
! 2274: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
! 2275: '') ac_retval=1 ;;
! 2276: esac
! 2277: else
! 2278: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2279: /* end confdefs.h. */
! 2280: $4
! 2281: static long int longval () { return $2; }
! 2282: static unsigned long int ulongval () { return $2; }
! 2283: #include <stdio.h>
! 2284: #include <stdlib.h>
! 2285: int
! 2286: main ()
! 2287: {
! 2288:
! 2289: FILE *f = fopen ("conftest.val", "w");
! 2290: if (! f)
! 2291: return 1;
! 2292: if (($2) < 0)
! 2293: {
! 2294: long int i = longval ();
! 2295: if (i != ($2))
! 2296: return 1;
! 2297: fprintf (f, "%ld", i);
! 2298: }
! 2299: else
! 2300: {
! 2301: unsigned long int i = ulongval ();
! 2302: if (i != ($2))
! 2303: return 1;
! 2304: fprintf (f, "%lu", i);
! 2305: }
! 2306: /* Do not output a trailing newline, as this causes \r\n confusion
! 2307: on some platforms. */
! 2308: return ferror (f) || fclose (f) != 0;
! 2309:
! 2310: ;
! 2311: return 0;
! 2312: }
! 2313: _ACEOF
! 2314: if ac_fn_c_try_run "$LINENO"; then :
! 2315: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
! 2316: else
! 2317: ac_retval=1
! 2318: fi
! 2319: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 2320: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 2321: rm -f conftest.val
! 2322:
! 2323: fi
! 2324: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 2325: as_fn_set_status $ac_retval
! 2326:
! 2327: } # ac_fn_c_compute_int
! 2328:
! 2329: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
! 2330: # ----------------------------------------------------
! 2331: # Tries to find if the field MEMBER exists in type AGGR, after including
! 2332: # INCLUDES, setting cache variable VAR accordingly.
! 2333: ac_fn_c_check_member ()
! 2334: {
! 2335: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 2336: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
! 2337: $as_echo_n "checking for $2.$3... " >&6; }
! 2338: if eval \${$4+:} false; then :
! 2339: $as_echo_n "(cached) " >&6
! 2340: else
! 2341: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2342: /* end confdefs.h. */
! 2343: $5
! 2344: int
! 2345: main ()
! 2346: {
! 2347: static $2 ac_aggr;
! 2348: if (ac_aggr.$3)
! 2349: return 0;
! 2350: ;
! 2351: return 0;
! 2352: }
! 2353: _ACEOF
! 2354: if ac_fn_c_try_compile "$LINENO"; then :
! 2355: eval "$4=yes"
! 2356: else
! 2357: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2358: /* end confdefs.h. */
! 2359: $5
! 2360: int
! 2361: main ()
! 2362: {
! 2363: static $2 ac_aggr;
! 2364: if (sizeof ac_aggr.$3)
! 2365: return 0;
! 2366: ;
! 2367: return 0;
! 2368: }
! 2369: _ACEOF
! 2370: if ac_fn_c_try_compile "$LINENO"; then :
! 2371: eval "$4=yes"
! 2372: else
! 2373: eval "$4=no"
! 2374: fi
! 2375: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2376: fi
! 2377: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2378: fi
! 2379: eval ac_res=\$$4
! 2380: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 2381: $as_echo "$ac_res" >&6; }
! 2382: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 2383:
! 2384: } # ac_fn_c_check_member
! 2385:
! 2386: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
! 2387: # ---------------------------------------------
! 2388: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
! 2389: # accordingly.
! 2390: ac_fn_c_check_decl ()
! 2391: {
! 2392: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 2393: as_decl_name=`echo $2|sed 's/ *(.*//'`
! 2394: as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
! 2395: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
! 2396: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
! 2397: if eval \${$3+:} false; then :
! 2398: $as_echo_n "(cached) " >&6
! 2399: else
! 2400: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 2401: /* end confdefs.h. */
! 2402: $4
! 2403: int
! 2404: main ()
! 2405: {
! 2406: #ifndef $as_decl_name
! 2407: #ifdef __cplusplus
! 2408: (void) $as_decl_use;
! 2409: #else
! 2410: (void) $as_decl_name;
! 2411: #endif
! 2412: #endif
! 2413:
! 2414: ;
! 2415: return 0;
! 2416: }
! 2417: _ACEOF
! 2418: if ac_fn_c_try_compile "$LINENO"; then :
! 2419: eval "$3=yes"
! 2420: else
! 2421: eval "$3=no"
! 2422: fi
! 2423: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2424: fi
! 2425: eval ac_res=\$$3
! 2426: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 2427: $as_echo "$ac_res" >&6; }
! 2428: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 2429:
! 2430: } # ac_fn_c_check_decl
! 2431: cat >config.log <<_ACEOF
! 2432: This file contains any messages produced by compilers while
! 2433: running configure, to aid debugging if configure makes a mistake.
! 2434:
! 2435: It was created by sudo $as_me 1.8.3p2, which was
! 2436: generated by GNU Autoconf 2.68. Invocation command line was
! 2437:
! 2438: $ $0 $@
! 2439:
! 2440: _ACEOF
! 2441: exec 5>>config.log
! 2442: {
! 2443: cat <<_ASUNAME
! 2444: ## --------- ##
! 2445: ## Platform. ##
! 2446: ## --------- ##
! 2447:
! 2448: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 2449: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 2450: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 2451: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 2452: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 2453:
! 2454: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 2455: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 2456:
! 2457: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 2458: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 2459: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 2460: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
! 2461: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 2462: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 2463: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 2464:
! 2465: _ASUNAME
! 2466:
! 2467: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2468: for as_dir in $PATH
! 2469: do
! 2470: IFS=$as_save_IFS
! 2471: test -z "$as_dir" && as_dir=.
! 2472: $as_echo "PATH: $as_dir"
! 2473: done
! 2474: IFS=$as_save_IFS
! 2475:
! 2476: } >&5
! 2477:
! 2478: cat >&5 <<_ACEOF
! 2479:
! 2480:
! 2481: ## ----------- ##
! 2482: ## Core tests. ##
! 2483: ## ----------- ##
! 2484:
! 2485: _ACEOF
! 2486:
! 2487:
! 2488: # Keep a trace of the command line.
! 2489: # Strip out --no-create and --no-recursion so they do not pile up.
! 2490: # Strip out --silent because we don't want to record it for future runs.
! 2491: # Also quote any args containing shell meta-characters.
! 2492: # Make two passes to allow for proper duplicate-argument suppression.
! 2493: ac_configure_args=
! 2494: ac_configure_args0=
! 2495: ac_configure_args1=
! 2496: ac_must_keep_next=false
! 2497: for ac_pass in 1 2
! 2498: do
! 2499: for ac_arg
! 2500: do
! 2501: case $ac_arg in
! 2502: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 2503: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 2504: | -silent | --silent | --silen | --sile | --sil)
! 2505: continue ;;
! 2506: *\'*)
! 2507: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 2508: esac
! 2509: case $ac_pass in
! 2510: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
! 2511: 2)
! 2512: as_fn_append ac_configure_args1 " '$ac_arg'"
! 2513: if test $ac_must_keep_next = true; then
! 2514: ac_must_keep_next=false # Got value, back to normal.
! 2515: else
! 2516: case $ac_arg in
! 2517: *=* | --config-cache | -C | -disable-* | --disable-* \
! 2518: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 2519: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 2520: | -with-* | --with-* | -without-* | --without-* | --x)
! 2521: case "$ac_configure_args0 " in
! 2522: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 2523: esac
! 2524: ;;
! 2525: -* ) ac_must_keep_next=true ;;
! 2526: esac
! 2527: fi
! 2528: as_fn_append ac_configure_args " '$ac_arg'"
! 2529: ;;
! 2530: esac
! 2531: done
! 2532: done
! 2533: { ac_configure_args0=; unset ac_configure_args0;}
! 2534: { ac_configure_args1=; unset ac_configure_args1;}
! 2535:
! 2536: # When interrupted or exit'd, cleanup temporary files, and complete
! 2537: # config.log. We remove comments because anyway the quotes in there
! 2538: # would cause problems or look ugly.
! 2539: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 2540: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
! 2541: trap 'exit_status=$?
! 2542: # Save into config.log some information that might help in debugging.
! 2543: {
! 2544: echo
! 2545:
! 2546: $as_echo "## ---------------- ##
! 2547: ## Cache variables. ##
! 2548: ## ---------------- ##"
! 2549: echo
! 2550: # The following way of writing the cache mishandles newlines in values,
! 2551: (
! 2552: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 2553: eval ac_val=\$$ac_var
! 2554: case $ac_val in #(
! 2555: *${as_nl}*)
! 2556: case $ac_var in #(
! 2557: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 2558: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 2559: esac
! 2560: case $ac_var in #(
! 2561: _ | IFS | as_nl) ;; #(
! 2562: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 2563: *) { eval $ac_var=; unset $ac_var;} ;;
! 2564: esac ;;
! 2565: esac
! 2566: done
! 2567: (set) 2>&1 |
! 2568: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 2569: *${as_nl}ac_space=\ *)
! 2570: sed -n \
! 2571: "s/'\''/'\''\\\\'\'''\''/g;
! 2572: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 2573: ;; #(
! 2574: *)
! 2575: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 2576: ;;
! 2577: esac |
! 2578: sort
! 2579: )
! 2580: echo
! 2581:
! 2582: $as_echo "## ----------------- ##
! 2583: ## Output variables. ##
! 2584: ## ----------------- ##"
! 2585: echo
! 2586: for ac_var in $ac_subst_vars
! 2587: do
! 2588: eval ac_val=\$$ac_var
! 2589: case $ac_val in
! 2590: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 2591: esac
! 2592: $as_echo "$ac_var='\''$ac_val'\''"
! 2593: done | sort
! 2594: echo
! 2595:
! 2596: if test -n "$ac_subst_files"; then
! 2597: $as_echo "## ------------------- ##
! 2598: ## File substitutions. ##
! 2599: ## ------------------- ##"
! 2600: echo
! 2601: for ac_var in $ac_subst_files
! 2602: do
! 2603: eval ac_val=\$$ac_var
! 2604: case $ac_val in
! 2605: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 2606: esac
! 2607: $as_echo "$ac_var='\''$ac_val'\''"
! 2608: done | sort
! 2609: echo
! 2610: fi
! 2611:
! 2612: if test -s confdefs.h; then
! 2613: $as_echo "## ----------- ##
! 2614: ## confdefs.h. ##
! 2615: ## ----------- ##"
! 2616: echo
! 2617: cat confdefs.h
! 2618: echo
! 2619: fi
! 2620: test "$ac_signal" != 0 &&
! 2621: $as_echo "$as_me: caught signal $ac_signal"
! 2622: $as_echo "$as_me: exit $exit_status"
! 2623: } >&5
! 2624: rm -f core *.core core.conftest.* &&
! 2625: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
! 2626: exit $exit_status
! 2627: ' 0
! 2628: for ac_signal in 1 2 13 15; do
! 2629: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
! 2630: done
! 2631: ac_signal=0
! 2632:
! 2633: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 2634: rm -f -r conftest* confdefs.h
! 2635:
! 2636: $as_echo "/* confdefs.h */" > confdefs.h
! 2637:
! 2638: # Predefined preprocessor variables.
! 2639:
! 2640: cat >>confdefs.h <<_ACEOF
! 2641: #define PACKAGE_NAME "$PACKAGE_NAME"
! 2642: _ACEOF
! 2643:
! 2644: cat >>confdefs.h <<_ACEOF
! 2645: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 2646: _ACEOF
! 2647:
! 2648: cat >>confdefs.h <<_ACEOF
! 2649: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 2650: _ACEOF
! 2651:
! 2652: cat >>confdefs.h <<_ACEOF
! 2653: #define PACKAGE_STRING "$PACKAGE_STRING"
! 2654: _ACEOF
! 2655:
! 2656: cat >>confdefs.h <<_ACEOF
! 2657: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 2658: _ACEOF
! 2659:
! 2660: cat >>confdefs.h <<_ACEOF
! 2661: #define PACKAGE_URL "$PACKAGE_URL"
! 2662: _ACEOF
! 2663:
! 2664:
! 2665: # Let the site file select an alternate cache file if it wants to.
! 2666: # Prefer an explicitly selected file to automatically selected ones.
! 2667: ac_site_file1=NONE
! 2668: ac_site_file2=NONE
! 2669: if test -n "$CONFIG_SITE"; then
! 2670: # We do not want a PATH search for config.site.
! 2671: case $CONFIG_SITE in #((
! 2672: -*) ac_site_file1=./$CONFIG_SITE;;
! 2673: */*) ac_site_file1=$CONFIG_SITE;;
! 2674: *) ac_site_file1=./$CONFIG_SITE;;
! 2675: esac
! 2676: elif test "x$prefix" != xNONE; then
! 2677: ac_site_file1=$prefix/share/config.site
! 2678: ac_site_file2=$prefix/etc/config.site
! 2679: else
! 2680: ac_site_file1=$ac_default_prefix/share/config.site
! 2681: ac_site_file2=$ac_default_prefix/etc/config.site
! 2682: fi
! 2683: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
! 2684: do
! 2685: test "x$ac_site_file" = xNONE && continue
! 2686: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
! 2687: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
! 2688: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
! 2689: sed 's/^/| /' "$ac_site_file" >&5
! 2690: . "$ac_site_file" \
! 2691: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2692: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2693: as_fn_error $? "failed to load site script $ac_site_file
! 2694: See \`config.log' for more details" "$LINENO" 5; }
! 2695: fi
! 2696: done
! 2697:
! 2698: if test -r "$cache_file"; then
! 2699: # Some versions of bash will fail to source /dev/null (special files
! 2700: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
! 2701: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
! 2702: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
! 2703: $as_echo "$as_me: loading cache $cache_file" >&6;}
! 2704: case $cache_file in
! 2705: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 2706: *) . "./$cache_file";;
! 2707: esac
! 2708: fi
! 2709: else
! 2710: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
! 2711: $as_echo "$as_me: creating cache $cache_file" >&6;}
! 2712: >$cache_file
! 2713: fi
! 2714:
! 2715: # Check that the precious variables saved in the cache have kept the same
! 2716: # value.
! 2717: ac_cache_corrupted=false
! 2718: for ac_var in $ac_precious_vars; do
! 2719: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 2720: eval ac_new_set=\$ac_env_${ac_var}_set
! 2721: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 2722: eval ac_new_val=\$ac_env_${ac_var}_value
! 2723: case $ac_old_set,$ac_new_set in
! 2724: set,)
! 2725: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 2726: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 2727: ac_cache_corrupted=: ;;
! 2728: ,set)
! 2729: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
! 2730: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 2731: ac_cache_corrupted=: ;;
! 2732: ,);;
! 2733: *)
! 2734: if test "x$ac_old_val" != "x$ac_new_val"; then
! 2735: # differences in whitespace do not lead to failure.
! 2736: ac_old_val_w=`echo x $ac_old_val`
! 2737: ac_new_val_w=`echo x $ac_new_val`
! 2738: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 2739: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
! 2740: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 2741: ac_cache_corrupted=:
! 2742: else
! 2743: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 2744: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 2745: eval $ac_var=\$ac_old_val
! 2746: fi
! 2747: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
! 2748: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 2749: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
! 2750: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
! 2751: fi;;
! 2752: esac
! 2753: # Pass precious variables to config.status.
! 2754: if test "$ac_new_set" = set; then
! 2755: case $ac_new_val in
! 2756: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 2757: *) ac_arg=$ac_var=$ac_new_val ;;
! 2758: esac
! 2759: case " $ac_configure_args " in
! 2760: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 2761: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
! 2762: esac
! 2763: fi
! 2764: done
! 2765: if $ac_cache_corrupted; then
! 2766: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 2767: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2768: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
! 2769: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 2770: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
! 2771: fi
! 2772: ## -------------------- ##
! 2773: ## Main body of script. ##
! 2774: ## -------------------- ##
! 2775:
! 2776: ac_ext=c
! 2777: ac_cpp='$CPP $CPPFLAGS'
! 2778: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2779: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2780: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2781:
! 2782:
! 2783: ac_config_headers="$ac_config_headers config.h pathnames.h"
! 2784:
! 2785: { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Sudo version $PACKAGE_VERSION" >&5
! 2786: $as_echo "$as_me: Configuring Sudo version $PACKAGE_VERSION" >&6;}
! 2787:
! 2788:
! 2789:
! 2790:
! 2791:
! 2792:
! 2793:
! 2794:
! 2795:
! 2796:
! 2797:
! 2798:
! 2799:
! 2800:
! 2801:
! 2802:
! 2803:
! 2804:
! 2805:
! 2806:
! 2807:
! 2808:
! 2809:
! 2810:
! 2811:
! 2812:
! 2813:
! 2814:
! 2815:
! 2816:
! 2817:
! 2818:
! 2819:
! 2820:
! 2821:
! 2822:
! 2823:
! 2824:
! 2825:
! 2826:
! 2827:
! 2828:
! 2829:
! 2830:
! 2831:
! 2832:
! 2833:
! 2834:
! 2835:
! 2836:
! 2837:
! 2838:
! 2839:
! 2840:
! 2841:
! 2842:
! 2843:
! 2844:
! 2845:
! 2846:
! 2847:
! 2848:
! 2849:
! 2850:
! 2851:
! 2852:
! 2853:
! 2854:
! 2855:
! 2856:
! 2857:
! 2858:
! 2859:
! 2860:
! 2861:
! 2862:
! 2863:
! 2864:
! 2865:
! 2866:
! 2867:
! 2868:
! 2869:
! 2870:
! 2871:
! 2872:
! 2873:
! 2874: #
! 2875: # Begin initial values for man page substitution
! 2876: #
! 2877: iolog_dir=/var/log/sudo-io
! 2878: timedir=/var/adm/sudo
! 2879: timeout=5
! 2880: password_timeout=5
! 2881: sudo_umask=0022
! 2882: umask_override=off
! 2883: passprompt="Password:"
! 2884: long_otp_prompt=off
! 2885: lecture=once
! 2886: logfac=auth
! 2887: goodpri=notice
! 2888: badpri=alert
! 2889: loglen=80
! 2890: ignore_dot=off
! 2891: mail_no_user=on
! 2892: mail_no_host=off
! 2893: mail_no_perms=off
! 2894: mailto=root
! 2895: mailsub="*** SECURITY information for %h ***"
! 2896: badpass_message="Sorry, try again."
! 2897: fqdn=off
! 2898: runas_default=root
! 2899: env_editor=off
! 2900: env_reset=on
! 2901: editor=vi
! 2902: passwd_tries=3
! 2903: tty_tickets=on
! 2904: insults=off
! 2905: root_sudo=on
! 2906: path_info=on
! 2907: ldap_conf=/etc/ldap.conf
! 2908: ldap_secret=/etc/ldap.secret
! 2909: netsvc_conf=/etc/netsvc.conf
! 2910: noexec_file=/usr/local/libexec/sudo_noexec.so
! 2911: nsswitch_conf=/etc/nsswitch.conf
! 2912: secure_path="not set"
! 2913: #
! 2914: # End initial values for man page substitution
! 2915: #
! 2916: INSTALL_NOEXEC=
! 2917: devdir='$(srcdir)'
! 2918: PROGS="sudo"
! 2919: : ${MANTYPE='man'}
! 2920: : ${mansrcdir='.'}
! 2921: : ${SUDOERS_MODE='0440'}
! 2922: : ${SUDOERS_UID='0'}
! 2923: : ${SUDOERS_GID='0'}
! 2924: DEV="#"
! 2925: LDAP="#"
! 2926: BAMAN=0
! 2927: LCMAN=0
! 2928: SEMAN=0
! 2929: LIBINTL=
! 2930: ZLIB=
! 2931: ZLIB_SRC=
! 2932: AUTH_OBJS=
! 2933: AUTH_REG=
! 2934: AUTH_EXCL=
! 2935: AUTH_EXCL_DEF=
! 2936: AUTH_DEF=passwd
! 2937: SUDO_NLS=disabled
! 2938:
! 2939: CHECKSHADOW=true
! 2940: shadow_defs=
! 2941: shadow_funcs=
! 2942: shadow_libs=
! 2943: shadow_libs_optional=
! 2944: CONFIGURE_ARGS="$@"
! 2945:
! 2946:
! 2947:
! 2948:
! 2949:
! 2950: # Check whether --with-otp-only was given.
! 2951: if test "${with_otp_only+set}" = set; then :
! 2952: withval=$with_otp_only; case $with_otp_only in
! 2953: yes) with_passwd="no"
! 2954: { $as_echo "$as_me:${as_lineno-$LINENO}: --with-otp-only option deprecated, treating as --without-passwd" >&5
! 2955: $as_echo "$as_me: --with-otp-only option deprecated, treating as --without-passwd" >&6;}
! 2956: ;;
! 2957: esac
! 2958: fi
! 2959:
! 2960:
! 2961:
! 2962: # Check whether --with-alertmail was given.
! 2963: if test "${with_alertmail+set}" = set; then :
! 2964: withval=$with_alertmail; case $with_alertmail in
! 2965: *) with_mailto="$with_alertmail"
! 2966: { $as_echo "$as_me:${as_lineno-$LINENO}: --with-alertmail option deprecated, treating as --mailto" >&5
! 2967: $as_echo "$as_me: --with-alertmail option deprecated, treating as --mailto" >&6;}
! 2968: ;;
! 2969: esac
! 2970: fi
! 2971:
! 2972:
! 2973:
! 2974:
! 2975: # Check whether --with-devel was given.
! 2976: if test "${with_devel+set}" = set; then :
! 2977: withval=$with_devel; case $with_devel in
! 2978: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: Setting up for development: -Wall, flex, yacc" >&5
! 2979: $as_echo "$as_me: Setting up for development: -Wall, flex, yacc" >&6;}
! 2980: OSDEFS="${OSDEFS} -DSUDO_DEVEL"
! 2981: DEV=""
! 2982: devdir=.
! 2983: ;;
! 2984: no) ;;
! 2985: *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --with-devel: $with_devel" >&5
! 2986: $as_echo "$as_me: WARNING: Ignoring unknown argument to --with-devel: $with_devel" >&2;}
! 2987: ;;
! 2988: esac
! 2989: fi
! 2990:
! 2991:
! 2992:
! 2993: # Check whether --with-CC was given.
! 2994: if test "${with_CC+set}" = set; then :
! 2995: withval=$with_CC; case $with_CC in
! 2996: *) as_fn_error $? "the --with-CC option is no longer supported, please set the CC environment variable instead." "$LINENO" 5
! 2997: ;;
! 2998: esac
! 2999: fi
! 3000:
! 3001:
! 3002:
! 3003: # Check whether --with-rpath was given.
! 3004: if test "${with_rpath+set}" = set; then :
! 3005: withval=$with_rpath; case $with_rpath in
! 3006: yes|no) ;;
! 3007: *) as_fn_error $? "\"--with-rpath does not take an argument.\"" "$LINENO" 5
! 3008: ;;
! 3009: esac
! 3010: fi
! 3011:
! 3012:
! 3013:
! 3014: # Check whether --with-blibpath was given.
! 3015: if test "${with_blibpath+set}" = set; then :
! 3016: withval=$with_blibpath; case $with_blibpath in
! 3017: yes|no) ;;
! 3018: *) { $as_echo "$as_me:${as_lineno-$LINENO}: will pass -blibpath:${with_blibpath} to the loader." >&5
! 3019: $as_echo "$as_me: will pass -blibpath:${with_blibpath} to the loader." >&6;}
! 3020: ;;
! 3021: esac
! 3022: fi
! 3023:
! 3024:
! 3025:
! 3026: # Check whether --with-bsm-audit was given.
! 3027: if test "${with_bsm_audit+set}" = set; then :
! 3028: withval=$with_bsm_audit; case $with_bsm_audit in
! 3029: yes) $as_echo "#define HAVE_BSM_AUDIT 1" >>confdefs.h
! 3030:
! 3031: SUDOERS_LIBS="${SUDOERS_LIBS} -lbsm"
! 3032: SUDOERS_OBJS="${SUDOERS_OBJS} bsm_audit.lo"
! 3033: ;;
! 3034: no) ;;
! 3035: *) as_fn_error $? "\"--with-bsm-audit does not take an argument.\"" "$LINENO" 5
! 3036: ;;
! 3037: esac
! 3038: fi
! 3039:
! 3040:
! 3041: ac_ext=c
! 3042: ac_cpp='$CPP $CPPFLAGS'
! 3043: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3044: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3045: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3046: if test -n "$ac_tool_prefix"; then
! 3047: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 3048: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 3049: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3050: $as_echo_n "checking for $ac_word... " >&6; }
! 3051: if ${ac_cv_prog_CC+:} false; then :
! 3052: $as_echo_n "(cached) " >&6
! 3053: else
! 3054: if test -n "$CC"; then
! 3055: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3056: else
! 3057: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3058: for as_dir in $PATH
! 3059: do
! 3060: IFS=$as_save_IFS
! 3061: test -z "$as_dir" && as_dir=.
! 3062: for ac_exec_ext in '' $ac_executable_extensions; do
! 3063: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3064: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 3065: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3066: break 2
! 3067: fi
! 3068: done
! 3069: done
! 3070: IFS=$as_save_IFS
! 3071:
! 3072: fi
! 3073: fi
! 3074: CC=$ac_cv_prog_CC
! 3075: if test -n "$CC"; then
! 3076: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3077: $as_echo "$CC" >&6; }
! 3078: else
! 3079: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3080: $as_echo "no" >&6; }
! 3081: fi
! 3082:
! 3083:
! 3084: fi
! 3085: if test -z "$ac_cv_prog_CC"; then
! 3086: ac_ct_CC=$CC
! 3087: # Extract the first word of "gcc", so it can be a program name with args.
! 3088: set dummy gcc; ac_word=$2
! 3089: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3090: $as_echo_n "checking for $ac_word... " >&6; }
! 3091: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 3092: $as_echo_n "(cached) " >&6
! 3093: else
! 3094: if test -n "$ac_ct_CC"; then
! 3095: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 3096: else
! 3097: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3098: for as_dir in $PATH
! 3099: do
! 3100: IFS=$as_save_IFS
! 3101: test -z "$as_dir" && as_dir=.
! 3102: for ac_exec_ext in '' $ac_executable_extensions; do
! 3103: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3104: ac_cv_prog_ac_ct_CC="gcc"
! 3105: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3106: break 2
! 3107: fi
! 3108: done
! 3109: done
! 3110: IFS=$as_save_IFS
! 3111:
! 3112: fi
! 3113: fi
! 3114: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 3115: if test -n "$ac_ct_CC"; then
! 3116: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 3117: $as_echo "$ac_ct_CC" >&6; }
! 3118: else
! 3119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3120: $as_echo "no" >&6; }
! 3121: fi
! 3122:
! 3123: if test "x$ac_ct_CC" = x; then
! 3124: CC=""
! 3125: else
! 3126: case $cross_compiling:$ac_tool_warned in
! 3127: yes:)
! 3128: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 3129: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 3130: ac_tool_warned=yes ;;
! 3131: esac
! 3132: CC=$ac_ct_CC
! 3133: fi
! 3134: else
! 3135: CC="$ac_cv_prog_CC"
! 3136: fi
! 3137:
! 3138: if test -z "$CC"; then
! 3139: if test -n "$ac_tool_prefix"; then
! 3140: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 3141: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 3142: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3143: $as_echo_n "checking for $ac_word... " >&6; }
! 3144: if ${ac_cv_prog_CC+:} false; then :
! 3145: $as_echo_n "(cached) " >&6
! 3146: else
! 3147: if test -n "$CC"; then
! 3148: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3149: else
! 3150: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3151: for as_dir in $PATH
! 3152: do
! 3153: IFS=$as_save_IFS
! 3154: test -z "$as_dir" && as_dir=.
! 3155: for ac_exec_ext in '' $ac_executable_extensions; do
! 3156: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3157: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 3158: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3159: break 2
! 3160: fi
! 3161: done
! 3162: done
! 3163: IFS=$as_save_IFS
! 3164:
! 3165: fi
! 3166: fi
! 3167: CC=$ac_cv_prog_CC
! 3168: if test -n "$CC"; then
! 3169: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3170: $as_echo "$CC" >&6; }
! 3171: else
! 3172: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3173: $as_echo "no" >&6; }
! 3174: fi
! 3175:
! 3176:
! 3177: fi
! 3178: fi
! 3179: if test -z "$CC"; then
! 3180: # Extract the first word of "cc", so it can be a program name with args.
! 3181: set dummy cc; ac_word=$2
! 3182: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3183: $as_echo_n "checking for $ac_word... " >&6; }
! 3184: if ${ac_cv_prog_CC+:} false; then :
! 3185: $as_echo_n "(cached) " >&6
! 3186: else
! 3187: if test -n "$CC"; then
! 3188: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3189: else
! 3190: ac_prog_rejected=no
! 3191: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3192: for as_dir in $PATH
! 3193: do
! 3194: IFS=$as_save_IFS
! 3195: test -z "$as_dir" && as_dir=.
! 3196: for ac_exec_ext in '' $ac_executable_extensions; do
! 3197: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3198: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 3199: ac_prog_rejected=yes
! 3200: continue
! 3201: fi
! 3202: ac_cv_prog_CC="cc"
! 3203: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3204: break 2
! 3205: fi
! 3206: done
! 3207: done
! 3208: IFS=$as_save_IFS
! 3209:
! 3210: if test $ac_prog_rejected = yes; then
! 3211: # We found a bogon in the path, so make sure we never use it.
! 3212: set dummy $ac_cv_prog_CC
! 3213: shift
! 3214: if test $# != 0; then
! 3215: # We chose a different compiler from the bogus one.
! 3216: # However, it has the same basename, so the bogon will be chosen
! 3217: # first if we set CC to just the basename; use the full file name.
! 3218: shift
! 3219: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 3220: fi
! 3221: fi
! 3222: fi
! 3223: fi
! 3224: CC=$ac_cv_prog_CC
! 3225: if test -n "$CC"; then
! 3226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3227: $as_echo "$CC" >&6; }
! 3228: else
! 3229: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3230: $as_echo "no" >&6; }
! 3231: fi
! 3232:
! 3233:
! 3234: fi
! 3235: if test -z "$CC"; then
! 3236: if test -n "$ac_tool_prefix"; then
! 3237: for ac_prog in cl.exe
! 3238: do
! 3239: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 3240: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 3241: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3242: $as_echo_n "checking for $ac_word... " >&6; }
! 3243: if ${ac_cv_prog_CC+:} false; then :
! 3244: $as_echo_n "(cached) " >&6
! 3245: else
! 3246: if test -n "$CC"; then
! 3247: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3248: else
! 3249: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3250: for as_dir in $PATH
! 3251: do
! 3252: IFS=$as_save_IFS
! 3253: test -z "$as_dir" && as_dir=.
! 3254: for ac_exec_ext in '' $ac_executable_extensions; do
! 3255: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3256: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 3257: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3258: break 2
! 3259: fi
! 3260: done
! 3261: done
! 3262: IFS=$as_save_IFS
! 3263:
! 3264: fi
! 3265: fi
! 3266: CC=$ac_cv_prog_CC
! 3267: if test -n "$CC"; then
! 3268: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3269: $as_echo "$CC" >&6; }
! 3270: else
! 3271: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3272: $as_echo "no" >&6; }
! 3273: fi
! 3274:
! 3275:
! 3276: test -n "$CC" && break
! 3277: done
! 3278: fi
! 3279: if test -z "$CC"; then
! 3280: ac_ct_CC=$CC
! 3281: for ac_prog in cl.exe
! 3282: do
! 3283: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 3284: set dummy $ac_prog; ac_word=$2
! 3285: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3286: $as_echo_n "checking for $ac_word... " >&6; }
! 3287: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 3288: $as_echo_n "(cached) " >&6
! 3289: else
! 3290: if test -n "$ac_ct_CC"; then
! 3291: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 3292: else
! 3293: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3294: for as_dir in $PATH
! 3295: do
! 3296: IFS=$as_save_IFS
! 3297: test -z "$as_dir" && as_dir=.
! 3298: for ac_exec_ext in '' $ac_executable_extensions; do
! 3299: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3300: ac_cv_prog_ac_ct_CC="$ac_prog"
! 3301: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3302: break 2
! 3303: fi
! 3304: done
! 3305: done
! 3306: IFS=$as_save_IFS
! 3307:
! 3308: fi
! 3309: fi
! 3310: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 3311: if test -n "$ac_ct_CC"; then
! 3312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 3313: $as_echo "$ac_ct_CC" >&6; }
! 3314: else
! 3315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3316: $as_echo "no" >&6; }
! 3317: fi
! 3318:
! 3319:
! 3320: test -n "$ac_ct_CC" && break
! 3321: done
! 3322:
! 3323: if test "x$ac_ct_CC" = x; then
! 3324: CC=""
! 3325: else
! 3326: case $cross_compiling:$ac_tool_warned in
! 3327: yes:)
! 3328: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 3329: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 3330: ac_tool_warned=yes ;;
! 3331: esac
! 3332: CC=$ac_ct_CC
! 3333: fi
! 3334: fi
! 3335:
! 3336: fi
! 3337:
! 3338:
! 3339: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3340: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3341: as_fn_error $? "no acceptable C compiler found in \$PATH
! 3342: See \`config.log' for more details" "$LINENO" 5; }
! 3343:
! 3344: # Provide some information about the compiler.
! 3345: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
! 3346: set X $ac_compile
! 3347: ac_compiler=$2
! 3348: for ac_option in --version -v -V -qversion; do
! 3349: { { ac_try="$ac_compiler $ac_option >&5"
! 3350: case "(($ac_try" in
! 3351: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3352: *) ac_try_echo=$ac_try;;
! 3353: esac
! 3354: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3355: $as_echo "$ac_try_echo"; } >&5
! 3356: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
! 3357: ac_status=$?
! 3358: if test -s conftest.err; then
! 3359: sed '10a\
! 3360: ... rest of stderr output deleted ...
! 3361: 10q' conftest.err >conftest.er1
! 3362: cat conftest.er1 >&5
! 3363: fi
! 3364: rm -f conftest.er1 conftest.err
! 3365: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3366: test $ac_status = 0; }
! 3367: done
! 3368:
! 3369: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3370: /* end confdefs.h. */
! 3371:
! 3372: int
! 3373: main ()
! 3374: {
! 3375:
! 3376: ;
! 3377: return 0;
! 3378: }
! 3379: _ACEOF
! 3380: ac_clean_files_save=$ac_clean_files
! 3381: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
! 3382: # Try to create an executable without -o first, disregard a.out.
! 3383: # It will help us diagnose broken compilers, and finding out an intuition
! 3384: # of exeext.
! 3385: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
! 3386: $as_echo_n "checking whether the C compiler works... " >&6; }
! 3387: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 3388:
! 3389: # The possible output files:
! 3390: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 3391:
! 3392: ac_rmfiles=
! 3393: for ac_file in $ac_files
! 3394: do
! 3395: case $ac_file in
! 3396: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 3397: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 3398: esac
! 3399: done
! 3400: rm -f $ac_rmfiles
! 3401:
! 3402: if { { ac_try="$ac_link_default"
! 3403: case "(($ac_try" in
! 3404: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3405: *) ac_try_echo=$ac_try;;
! 3406: esac
! 3407: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3408: $as_echo "$ac_try_echo"; } >&5
! 3409: (eval "$ac_link_default") 2>&5
! 3410: ac_status=$?
! 3411: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3412: test $ac_status = 0; }; then :
! 3413: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 3414: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 3415: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 3416: # so that the user can short-circuit this test for compilers unknown to
! 3417: # Autoconf.
! 3418: for ac_file in $ac_files ''
! 3419: do
! 3420: test -f "$ac_file" || continue
! 3421: case $ac_file in
! 3422: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
! 3423: ;;
! 3424: [ab].out )
! 3425: # We found the default executable, but exeext='' is most
! 3426: # certainly right.
! 3427: break;;
! 3428: *.* )
! 3429: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 3430: then :; else
! 3431: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 3432: fi
! 3433: # We set ac_cv_exeext here because the later test for it is not
! 3434: # safe: cross compilers may not add the suffix if given an `-o'
! 3435: # argument, so we may need to know it at that point already.
! 3436: # Even if this section looks crufty: it has the advantage of
! 3437: # actually working.
! 3438: break;;
! 3439: * )
! 3440: break;;
! 3441: esac
! 3442: done
! 3443: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 3444:
! 3445: else
! 3446: ac_file=''
! 3447: fi
! 3448: if test -z "$ac_file"; then :
! 3449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3450: $as_echo "no" >&6; }
! 3451: $as_echo "$as_me: failed program was:" >&5
! 3452: sed 's/^/| /' conftest.$ac_ext >&5
! 3453:
! 3454: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3455: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3456: as_fn_error 77 "C compiler cannot create executables
! 3457: See \`config.log' for more details" "$LINENO" 5; }
! 3458: else
! 3459: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 3460: $as_echo "yes" >&6; }
! 3461: fi
! 3462: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
! 3463: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 3464: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
! 3465: $as_echo "$ac_file" >&6; }
! 3466: ac_exeext=$ac_cv_exeext
! 3467:
! 3468: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 3469: ac_clean_files=$ac_clean_files_save
! 3470: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
! 3471: $as_echo_n "checking for suffix of executables... " >&6; }
! 3472: if { { ac_try="$ac_link"
! 3473: case "(($ac_try" in
! 3474: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3475: *) ac_try_echo=$ac_try;;
! 3476: esac
! 3477: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3478: $as_echo "$ac_try_echo"; } >&5
! 3479: (eval "$ac_link") 2>&5
! 3480: ac_status=$?
! 3481: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3482: test $ac_status = 0; }; then :
! 3483: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 3484: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 3485: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 3486: # `rm'.
! 3487: for ac_file in conftest.exe conftest conftest.*; do
! 3488: test -f "$ac_file" || continue
! 3489: case $ac_file in
! 3490: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 3491: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 3492: break;;
! 3493: * ) break;;
! 3494: esac
! 3495: done
! 3496: else
! 3497: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3498: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3499: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
! 3500: See \`config.log' for more details" "$LINENO" 5; }
! 3501: fi
! 3502: rm -f conftest conftest$ac_cv_exeext
! 3503: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
! 3504: $as_echo "$ac_cv_exeext" >&6; }
! 3505:
! 3506: rm -f conftest.$ac_ext
! 3507: EXEEXT=$ac_cv_exeext
! 3508: ac_exeext=$EXEEXT
! 3509: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3510: /* end confdefs.h. */
! 3511: #include <stdio.h>
! 3512: int
! 3513: main ()
! 3514: {
! 3515: FILE *f = fopen ("conftest.out", "w");
! 3516: return ferror (f) || fclose (f) != 0;
! 3517:
! 3518: ;
! 3519: return 0;
! 3520: }
! 3521: _ACEOF
! 3522: ac_clean_files="$ac_clean_files conftest.out"
! 3523: # Check that the compiler produces executables we can run. If not, either
! 3524: # the compiler is broken, or we cross compile.
! 3525: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
! 3526: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 3527: if test "$cross_compiling" != yes; then
! 3528: { { ac_try="$ac_link"
! 3529: case "(($ac_try" in
! 3530: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3531: *) ac_try_echo=$ac_try;;
! 3532: esac
! 3533: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3534: $as_echo "$ac_try_echo"; } >&5
! 3535: (eval "$ac_link") 2>&5
! 3536: ac_status=$?
! 3537: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3538: test $ac_status = 0; }
! 3539: if { ac_try='./conftest$ac_cv_exeext'
! 3540: { { case "(($ac_try" in
! 3541: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3542: *) ac_try_echo=$ac_try;;
! 3543: esac
! 3544: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3545: $as_echo "$ac_try_echo"; } >&5
! 3546: (eval "$ac_try") 2>&5
! 3547: ac_status=$?
! 3548: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3549: test $ac_status = 0; }; }; then
! 3550: cross_compiling=no
! 3551: else
! 3552: if test "$cross_compiling" = maybe; then
! 3553: cross_compiling=yes
! 3554: else
! 3555: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3556: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3557: as_fn_error $? "cannot run C compiled programs.
! 3558: If you meant to cross compile, use \`--host'.
! 3559: See \`config.log' for more details" "$LINENO" 5; }
! 3560: fi
! 3561: fi
! 3562: fi
! 3563: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
! 3564: $as_echo "$cross_compiling" >&6; }
! 3565:
! 3566: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
! 3567: ac_clean_files=$ac_clean_files_save
! 3568: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
! 3569: $as_echo_n "checking for suffix of object files... " >&6; }
! 3570: if ${ac_cv_objext+:} false; then :
! 3571: $as_echo_n "(cached) " >&6
! 3572: else
! 3573: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3574: /* end confdefs.h. */
! 3575:
! 3576: int
! 3577: main ()
! 3578: {
! 3579:
! 3580: ;
! 3581: return 0;
! 3582: }
! 3583: _ACEOF
! 3584: rm -f conftest.o conftest.obj
! 3585: if { { ac_try="$ac_compile"
! 3586: case "(($ac_try" in
! 3587: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3588: *) ac_try_echo=$ac_try;;
! 3589: esac
! 3590: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 3591: $as_echo "$ac_try_echo"; } >&5
! 3592: (eval "$ac_compile") 2>&5
! 3593: ac_status=$?
! 3594: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 3595: test $ac_status = 0; }; then :
! 3596: for ac_file in conftest.o conftest.obj conftest.*; do
! 3597: test -f "$ac_file" || continue;
! 3598: case $ac_file in
! 3599: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
! 3600: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 3601: break;;
! 3602: esac
! 3603: done
! 3604: else
! 3605: $as_echo "$as_me: failed program was:" >&5
! 3606: sed 's/^/| /' conftest.$ac_ext >&5
! 3607:
! 3608: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 3609: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 3610: as_fn_error $? "cannot compute suffix of object files: cannot compile
! 3611: See \`config.log' for more details" "$LINENO" 5; }
! 3612: fi
! 3613: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 3614: fi
! 3615: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
! 3616: $as_echo "$ac_cv_objext" >&6; }
! 3617: OBJEXT=$ac_cv_objext
! 3618: ac_objext=$OBJEXT
! 3619: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
! 3620: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 3621: if ${ac_cv_c_compiler_gnu+:} false; then :
! 3622: $as_echo_n "(cached) " >&6
! 3623: else
! 3624: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3625: /* end confdefs.h. */
! 3626:
! 3627: int
! 3628: main ()
! 3629: {
! 3630: #ifndef __GNUC__
! 3631: choke me
! 3632: #endif
! 3633:
! 3634: ;
! 3635: return 0;
! 3636: }
! 3637: _ACEOF
! 3638: if ac_fn_c_try_compile "$LINENO"; then :
! 3639: ac_compiler_gnu=yes
! 3640: else
! 3641: ac_compiler_gnu=no
! 3642: fi
! 3643: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3644: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 3645:
! 3646: fi
! 3647: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
! 3648: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 3649: if test $ac_compiler_gnu = yes; then
! 3650: GCC=yes
! 3651: else
! 3652: GCC=
! 3653: fi
! 3654: ac_test_CFLAGS=${CFLAGS+set}
! 3655: ac_save_CFLAGS=$CFLAGS
! 3656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
! 3657: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 3658: if ${ac_cv_prog_cc_g+:} false; then :
! 3659: $as_echo_n "(cached) " >&6
! 3660: else
! 3661: ac_save_c_werror_flag=$ac_c_werror_flag
! 3662: ac_c_werror_flag=yes
! 3663: ac_cv_prog_cc_g=no
! 3664: CFLAGS="-g"
! 3665: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3666: /* end confdefs.h. */
! 3667:
! 3668: int
! 3669: main ()
! 3670: {
! 3671:
! 3672: ;
! 3673: return 0;
! 3674: }
! 3675: _ACEOF
! 3676: if ac_fn_c_try_compile "$LINENO"; then :
! 3677: ac_cv_prog_cc_g=yes
! 3678: else
! 3679: CFLAGS=""
! 3680: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3681: /* end confdefs.h. */
! 3682:
! 3683: int
! 3684: main ()
! 3685: {
! 3686:
! 3687: ;
! 3688: return 0;
! 3689: }
! 3690: _ACEOF
! 3691: if ac_fn_c_try_compile "$LINENO"; then :
! 3692:
! 3693: else
! 3694: ac_c_werror_flag=$ac_save_c_werror_flag
! 3695: CFLAGS="-g"
! 3696: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3697: /* end confdefs.h. */
! 3698:
! 3699: int
! 3700: main ()
! 3701: {
! 3702:
! 3703: ;
! 3704: return 0;
! 3705: }
! 3706: _ACEOF
! 3707: if ac_fn_c_try_compile "$LINENO"; then :
! 3708: ac_cv_prog_cc_g=yes
! 3709: fi
! 3710: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3711: fi
! 3712: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3713: fi
! 3714: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3715: ac_c_werror_flag=$ac_save_c_werror_flag
! 3716: fi
! 3717: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
! 3718: $as_echo "$ac_cv_prog_cc_g" >&6; }
! 3719: if test "$ac_test_CFLAGS" = set; then
! 3720: CFLAGS=$ac_save_CFLAGS
! 3721: elif test $ac_cv_prog_cc_g = yes; then
! 3722: if test "$GCC" = yes; then
! 3723: CFLAGS="-g -O2"
! 3724: else
! 3725: CFLAGS="-g"
! 3726: fi
! 3727: else
! 3728: if test "$GCC" = yes; then
! 3729: CFLAGS="-O2"
! 3730: else
! 3731: CFLAGS=
! 3732: fi
! 3733: fi
! 3734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
! 3735: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 3736: if ${ac_cv_prog_cc_c89+:} false; then :
! 3737: $as_echo_n "(cached) " >&6
! 3738: else
! 3739: ac_cv_prog_cc_c89=no
! 3740: ac_save_CC=$CC
! 3741: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3742: /* end confdefs.h. */
! 3743: #include <stdarg.h>
! 3744: #include <stdio.h>
! 3745: #include <sys/types.h>
! 3746: #include <sys/stat.h>
! 3747: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 3748: struct buf { int x; };
! 3749: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 3750: static char *e (p, i)
! 3751: char **p;
! 3752: int i;
! 3753: {
! 3754: return p[i];
! 3755: }
! 3756: static char *f (char * (*g) (char **, int), char **p, ...)
! 3757: {
! 3758: char *s;
! 3759: va_list v;
! 3760: va_start (v,p);
! 3761: s = g (p, va_arg (v,int));
! 3762: va_end (v);
! 3763: return s;
! 3764: }
! 3765:
! 3766: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 3767: function prototypes and stuff, but not '\xHH' hex character constants.
! 3768: These don't provoke an error unfortunately, instead are silently treated
! 3769: as 'x'. The following induces an error, until -std is added to get
! 3770: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 3771: array size at least. It's necessary to write '\x00'==0 to get something
! 3772: that's true only with -std. */
! 3773: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 3774:
! 3775: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 3776: inside strings and character constants. */
! 3777: #define FOO(x) 'x'
! 3778: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 3779:
! 3780: int test (int i, double x);
! 3781: struct s1 {int (*f) (int a);};
! 3782: struct s2 {int (*f) (double a);};
! 3783: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 3784: int argc;
! 3785: char **argv;
! 3786: int
! 3787: main ()
! 3788: {
! 3789: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 3790: ;
! 3791: return 0;
! 3792: }
! 3793: _ACEOF
! 3794: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 3795: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 3796: do
! 3797: CC="$ac_save_CC $ac_arg"
! 3798: if ac_fn_c_try_compile "$LINENO"; then :
! 3799: ac_cv_prog_cc_c89=$ac_arg
! 3800: fi
! 3801: rm -f core conftest.err conftest.$ac_objext
! 3802: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 3803: done
! 3804: rm -f conftest.$ac_ext
! 3805: CC=$ac_save_CC
! 3806:
! 3807: fi
! 3808: # AC_CACHE_VAL
! 3809: case "x$ac_cv_prog_cc_c89" in
! 3810: x)
! 3811: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
! 3812: $as_echo "none needed" >&6; } ;;
! 3813: xno)
! 3814: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
! 3815: $as_echo "unsupported" >&6; } ;;
! 3816: *)
! 3817: CC="$CC $ac_cv_prog_cc_c89"
! 3818: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
! 3819: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 3820: esac
! 3821: if test "x$ac_cv_prog_cc_c89" != xno; then :
! 3822:
! 3823: fi
! 3824:
! 3825: ac_ext=c
! 3826: ac_cpp='$CPP $CPPFLAGS'
! 3827: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3828: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3829: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3830:
! 3831:
! 3832:
! 3833: # Check whether --with-linux-audit was given.
! 3834: if test "${with_linux_audit+set}" = set; then :
! 3835: withval=$with_linux_audit; case $with_linux_audit in
! 3836: yes) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 3837: /* end confdefs.h. */
! 3838: #include <libaudit.h>
! 3839: int
! 3840: main ()
! 3841: {
! 3842: int i = AUDIT_USER_CMD; (void)i;
! 3843: ;
! 3844: return 0;
! 3845: }
! 3846: _ACEOF
! 3847: if ac_fn_c_try_compile "$LINENO"; then :
! 3848:
! 3849: $as_echo "#define HAVE_LINUX_AUDIT 1" >>confdefs.h
! 3850:
! 3851: SUDO_LIBS="${SUDO_LIBS} -laudit"
! 3852: SUDOERS_LIBS="${SUDO_LIBS} -laudit"
! 3853: SUDOERS_OBJS="${SUDOERS_OBJS} linux_audit.lo"
! 3854:
! 3855: else
! 3856:
! 3857: as_fn_error $? "unable to find AUDIT_USER_CMD in libaudit.h for --with-linux-audit" "$LINENO" 5
! 3858:
! 3859: fi
! 3860: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3861: ;;
! 3862: no) ;;
! 3863: *) as_fn_error $? "\"--with-linux-audit does not take an argument.\"" "$LINENO" 5
! 3864: ;;
! 3865: esac
! 3866: fi
! 3867:
! 3868:
! 3869:
! 3870: # Check whether --with-incpath was given.
! 3871: if test "${with_incpath+set}" = set; then :
! 3872: withval=$with_incpath; case $with_incpath in
! 3873: yes) as_fn_error $? "\"must give --with-incpath an argument.\"" "$LINENO" 5
! 3874: ;;
! 3875: no) as_fn_error $? "\"--without-incpath not supported.\"" "$LINENO" 5
! 3876: ;;
! 3877: *) { $as_echo "$as_me:${as_lineno-$LINENO}: Adding ${with_incpath} to CPPFLAGS" >&5
! 3878: $as_echo "$as_me: Adding ${with_incpath} to CPPFLAGS" >&6;}
! 3879: for i in ${with_incpath}; do
! 3880: CPPFLAGS="${CPPFLAGS} -I${i}"
! 3881: done
! 3882: ;;
! 3883: esac
! 3884: fi
! 3885:
! 3886:
! 3887:
! 3888: # Check whether --with-libpath was given.
! 3889: if test "${with_libpath+set}" = set; then :
! 3890: withval=$with_libpath; case $with_libpath in
! 3891: yes) as_fn_error $? "\"must give --with-libpath an argument.\"" "$LINENO" 5
! 3892: ;;
! 3893: no) as_fn_error $? "\"--without-libpath not supported.\"" "$LINENO" 5
! 3894: ;;
! 3895: *) { $as_echo "$as_me:${as_lineno-$LINENO}: Adding ${with_libpath} to LDFLAGS" >&5
! 3896: $as_echo "$as_me: Adding ${with_libpath} to LDFLAGS" >&6;}
! 3897: ;;
! 3898: esac
! 3899: fi
! 3900:
! 3901:
! 3902:
! 3903: # Check whether --with-libraries was given.
! 3904: if test "${with_libraries+set}" = set; then :
! 3905: withval=$with_libraries; case $with_libraries in
! 3906: yes) as_fn_error $? "\"must give --with-libraries an argument.\"" "$LINENO" 5
! 3907: ;;
! 3908: no) as_fn_error $? "\"--without-libraries not supported.\"" "$LINENO" 5
! 3909: ;;
! 3910: *) { $as_echo "$as_me:${as_lineno-$LINENO}: Adding ${with_libraries} to LIBS" >&5
! 3911: $as_echo "$as_me: Adding ${with_libraries} to LIBS" >&6;}
! 3912: ;;
! 3913: esac
! 3914: fi
! 3915:
! 3916:
! 3917:
! 3918: # Check whether --with-efence was given.
! 3919: if test "${with_efence+set}" = set; then :
! 3920: withval=$with_efence; case $with_efence in
! 3921: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: Sudo will link with -lefence (Electric Fence)" >&5
! 3922: $as_echo "$as_me: Sudo will link with -lefence (Electric Fence)" >&6;}
! 3923: LIBS="${LIBS} -lefence"
! 3924: if test -f /usr/local/lib/libefence.a; then
! 3925: with_libpath="${with_libpath} /usr/local/lib"
! 3926: fi
! 3927: ;;
! 3928: no) ;;
! 3929: *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --with-efence: $with_efence" >&5
! 3930: $as_echo "$as_me: WARNING: Ignoring unknown argument to --with-efence: $with_efence" >&2;}
! 3931: ;;
! 3932: esac
! 3933: fi
! 3934:
! 3935:
! 3936:
! 3937: # Check whether --with-csops was given.
! 3938: if test "${with_csops+set}" = set; then :
! 3939: withval=$with_csops; case $with_csops in
! 3940: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: Adding CSOps standard options" >&5
! 3941: $as_echo "$as_me: Adding CSOps standard options" >&6;}
! 3942: CHECKSIA=false
! 3943: with_ignore_dot=yes
! 3944: insults=on
! 3945: with_classic_insults=yes
! 3946: with_csops_insults=yes
! 3947: with_env_editor=yes
! 3948: : ${mansectsu='8'}
! 3949: : ${mansectform='5'}
! 3950: ;;
! 3951: no) ;;
! 3952: *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --with-csops: $with_csops" >&5
! 3953: $as_echo "$as_me: WARNING: Ignoring unknown argument to --with-csops: $with_csops" >&2;}
! 3954: ;;
! 3955: esac
! 3956: fi
! 3957:
! 3958:
! 3959:
! 3960: # Check whether --with-passwd was given.
! 3961: if test "${with_passwd+set}" = set; then :
! 3962: withval=$with_passwd; case $with_passwd in
! 3963: yes|no) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use shadow/passwd file authentication" >&5
! 3964: $as_echo_n "checking whether to use shadow/passwd file authentication... " >&6; }
! 3965: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_passwd" >&5
! 3966: $as_echo "$with_passwd" >&6; }
! 3967: AUTH_DEF=""
! 3968: test "$with_passwd" = "yes" && AUTH_REG="$AUTH_REG passwd"
! 3969: ;;
! 3970: *) as_fn_error $? "\"Sorry, --with-passwd does not take an argument.\"" "$LINENO" 5
! 3971: ;;
! 3972: esac
! 3973: fi
! 3974:
! 3975:
! 3976:
! 3977: # Check whether --with-skey was given.
! 3978: if test "${with_skey+set}" = set; then :
! 3979: withval=$with_skey; case $with_skey in
! 3980: no) ;;
! 3981: *) $as_echo "#define HAVE_SKEY 1" >>confdefs.h
! 3982:
! 3983: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to try S/Key authentication" >&5
! 3984: $as_echo_n "checking whether to try S/Key authentication... " >&6; }
! 3985: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 3986: $as_echo "yes" >&6; }
! 3987: AUTH_REG="$AUTH_REG S/Key"
! 3988: ;;
! 3989: esac
! 3990: fi
! 3991:
! 3992:
! 3993:
! 3994: # Check whether --with-opie was given.
! 3995: if test "${with_opie+set}" = set; then :
! 3996: withval=$with_opie; case $with_opie in
! 3997: no) ;;
! 3998: *) $as_echo "#define HAVE_OPIE 1" >>confdefs.h
! 3999:
! 4000: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to try NRL OPIE authentication" >&5
! 4001: $as_echo_n "checking whether to try NRL OPIE authentication... " >&6; }
! 4002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4003: $as_echo "yes" >&6; }
! 4004: AUTH_REG="$AUTH_REG NRL_OPIE"
! 4005: ;;
! 4006: esac
! 4007: fi
! 4008:
! 4009:
! 4010:
! 4011: # Check whether --with-long-otp-prompt was given.
! 4012: if test "${with_long_otp_prompt+set}" = set; then :
! 4013: withval=$with_long_otp_prompt; case $with_long_otp_prompt in
! 4014: yes) $as_echo "#define LONG_OTP_PROMPT 1" >>confdefs.h
! 4015:
! 4016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use a two line prompt for OTP authentication" >&5
! 4017: $as_echo_n "checking whether to use a two line prompt for OTP authentication... " >&6; }
! 4018: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4019: $as_echo "yes" >&6; }
! 4020: long_otp_prompt=on
! 4021: ;;
! 4022: no) long_otp_prompt=off
! 4023: ;;
! 4024: *) as_fn_error $? "\"--with-long-otp-prompt does not take an argument.\"" "$LINENO" 5
! 4025: ;;
! 4026: esac
! 4027: fi
! 4028:
! 4029:
! 4030:
! 4031: # Check whether --with-SecurID was given.
! 4032: if test "${with_SecurID+set}" = set; then :
! 4033: withval=$with_SecurID; case $with_SecurID in
! 4034: no) ;;
! 4035: *) $as_echo "#define HAVE_SECURID 1" >>confdefs.h
! 4036:
! 4037: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use SecurID for authentication" >&5
! 4038: $as_echo_n "checking whether to use SecurID for authentication... " >&6; }
! 4039: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4040: $as_echo "yes" >&6; }
! 4041: AUTH_EXCL="$AUTH_EXCL SecurID"
! 4042: ;;
! 4043: esac
! 4044: fi
! 4045:
! 4046:
! 4047:
! 4048: # Check whether --with-fwtk was given.
! 4049: if test "${with_fwtk+set}" = set; then :
! 4050: withval=$with_fwtk; case $with_fwtk in
! 4051: no) ;;
! 4052: *) $as_echo "#define HAVE_FWTK 1" >>confdefs.h
! 4053:
! 4054: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use FWTK AuthSRV for authentication" >&5
! 4055: $as_echo_n "checking whether to use FWTK AuthSRV for authentication... " >&6; }
! 4056: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4057: $as_echo "yes" >&6; }
! 4058: AUTH_EXCL="$AUTH_EXCL FWTK"
! 4059: ;;
! 4060: esac
! 4061: fi
! 4062:
! 4063:
! 4064:
! 4065: # Check whether --with-kerb4 was given.
! 4066: if test "${with_kerb4+set}" = set; then :
! 4067: withval=$with_kerb4; case $with_kerb4 in
! 4068: no) ;;
! 4069: *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to try kerberos IV authentication" >&5
! 4070: $as_echo_n "checking whether to try kerberos IV authentication... " >&6; }
! 4071: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4072: $as_echo "yes" >&6; }
! 4073: AUTH_REG="$AUTH_REG kerb4"
! 4074: ;;
! 4075: esac
! 4076: fi
! 4077:
! 4078:
! 4079:
! 4080: # Check whether --with-kerb5 was given.
! 4081: if test "${with_kerb5+set}" = set; then :
! 4082: withval=$with_kerb5; case $with_kerb5 in
! 4083: no) ;;
! 4084: *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to try Kerberos V authentication" >&5
! 4085: $as_echo_n "checking whether to try Kerberos V authentication... " >&6; }
! 4086: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4087: $as_echo "yes" >&6; }
! 4088: AUTH_REG="$AUTH_REG kerb5"
! 4089: ;;
! 4090: esac
! 4091: fi
! 4092:
! 4093:
! 4094:
! 4095: # Check whether --with-aixauth was given.
! 4096: if test "${with_aixauth+set}" = set; then :
! 4097: withval=$with_aixauth; case $with_aixauth in
! 4098: yes) AUTH_EXCL="$AUTH_EXCL AIX_AUTH";;
! 4099: no) ;;
! 4100: *) as_fn_error $? "\"--with-aixauth does not take an argument.\"" "$LINENO" 5
! 4101: ;;
! 4102: esac
! 4103: fi
! 4104:
! 4105:
! 4106:
! 4107: # Check whether --with-pam was given.
! 4108: if test "${with_pam+set}" = set; then :
! 4109: withval=$with_pam; case $with_pam in
! 4110: yes) AUTH_EXCL="$AUTH_EXCL PAM";;
! 4111: no) ;;
! 4112: *) as_fn_error $? "\"--with-pam does not take an argument.\"" "$LINENO" 5
! 4113: ;;
! 4114: esac
! 4115: fi
! 4116:
! 4117:
! 4118:
! 4119: # Check whether --with-AFS was given.
! 4120: if test "${with_AFS+set}" = set; then :
! 4121: withval=$with_AFS; case $with_AFS in
! 4122: yes) $as_echo "#define HAVE_AFS 1" >>confdefs.h
! 4123:
! 4124: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to try AFS (kerberos) authentication" >&5
! 4125: $as_echo_n "checking whether to try AFS (kerberos) authentication... " >&6; }
! 4126: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4127: $as_echo "yes" >&6; }
! 4128: AUTH_REG="$AUTH_REG AFS"
! 4129: ;;
! 4130: no) ;;
! 4131: *) as_fn_error $? "\"--with-AFS does not take an argument.\"" "$LINENO" 5
! 4132: ;;
! 4133: esac
! 4134: fi
! 4135:
! 4136:
! 4137:
! 4138: # Check whether --with-DCE was given.
! 4139: if test "${with_DCE+set}" = set; then :
! 4140: withval=$with_DCE; case $with_DCE in
! 4141: yes) $as_echo "#define HAVE_DCE 1" >>confdefs.h
! 4142:
! 4143: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to try DCE (kerberos) authentication" >&5
! 4144: $as_echo_n "checking whether to try DCE (kerberos) authentication... " >&6; }
! 4145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4146: $as_echo "yes" >&6; }
! 4147: AUTH_REG="$AUTH_REG DCE"
! 4148: ;;
! 4149: no) ;;
! 4150: *) as_fn_error $? "\"--with-DCE does not take an argument.\"" "$LINENO" 5
! 4151: ;;
! 4152: esac
! 4153: fi
! 4154:
! 4155:
! 4156:
! 4157: # Check whether --with-logincap was given.
! 4158: if test "${with_logincap+set}" = set; then :
! 4159: withval=$with_logincap; case $with_logincap in
! 4160: yes|no) ;;
! 4161: *) as_fn_error $? "\"--with-logincap does not take an argument.\"" "$LINENO" 5
! 4162: ;;
! 4163: esac
! 4164: fi
! 4165:
! 4166:
! 4167:
! 4168: # Check whether --with-bsdauth was given.
! 4169: if test "${with_bsdauth+set}" = set; then :
! 4170: withval=$with_bsdauth; case $with_bsdauth in
! 4171: yes) AUTH_EXCL="$AUTH_EXCL BSD_AUTH";;
! 4172: no) ;;
! 4173: *) as_fn_error $? "\"--with-bsdauth does not take an argument.\"" "$LINENO" 5
! 4174: ;;
! 4175: esac
! 4176: fi
! 4177:
! 4178:
! 4179:
! 4180: # Check whether --with-project was given.
! 4181: if test "${with_project+set}" = set; then :
! 4182: withval=$with_project; case $with_project in
! 4183: yes|no) ;;
! 4184: no) ;;
! 4185: *) as_fn_error $? "\"--with-project does not take an argument.\"" "$LINENO" 5
! 4186: ;;
! 4187: esac
! 4188: fi
! 4189:
! 4190:
! 4191: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to lecture users the first time they run sudo" >&5
! 4192: $as_echo_n "checking whether to lecture users the first time they run sudo... " >&6; }
! 4193:
! 4194: # Check whether --with-lecture was given.
! 4195: if test "${with_lecture+set}" = set; then :
! 4196: withval=$with_lecture; case $with_lecture in
! 4197: yes|short|always) lecture=once
! 4198: ;;
! 4199: no|none|never) lecture=never
! 4200: ;;
! 4201: *) as_fn_error $? "\"unknown argument to --with-lecture: $with_lecture\"" "$LINENO" 5
! 4202: ;;
! 4203: esac
! 4204: fi
! 4205:
! 4206: if test "$lecture" = "once"; then
! 4207: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4208: $as_echo "yes" >&6; }
! 4209: else
! 4210: $as_echo "#define NO_LECTURE 1" >>confdefs.h
! 4211:
! 4212: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4213: $as_echo "no" >&6; }
! 4214: fi
! 4215:
! 4216: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sudo should log via syslog or to a file by default" >&5
! 4217: $as_echo_n "checking whether sudo should log via syslog or to a file by default... " >&6; }
! 4218:
! 4219: # Check whether --with-logging was given.
! 4220: if test "${with_logging+set}" = set; then :
! 4221: withval=$with_logging; case $with_logging in
! 4222: yes) as_fn_error $? "\"must give --with-logging an argument.\"" "$LINENO" 5
! 4223: ;;
! 4224: no) as_fn_error $? "\"--without-logging not supported.\"" "$LINENO" 5
! 4225: ;;
! 4226: syslog) $as_echo "#define LOGGING SLOG_SYSLOG" >>confdefs.h
! 4227:
! 4228: { $as_echo "$as_me:${as_lineno-$LINENO}: result: syslog" >&5
! 4229: $as_echo "syslog" >&6; }
! 4230: ;;
! 4231: file) $as_echo "#define LOGGING SLOG_FILE" >>confdefs.h
! 4232:
! 4233: { $as_echo "$as_me:${as_lineno-$LINENO}: result: file" >&5
! 4234: $as_echo "file" >&6; }
! 4235: ;;
! 4236: both) $as_echo "#define LOGGING SLOG_BOTH" >>confdefs.h
! 4237:
! 4238: { $as_echo "$as_me:${as_lineno-$LINENO}: result: both" >&5
! 4239: $as_echo "both" >&6; }
! 4240: ;;
! 4241: *) as_fn_error $? "\"unknown argument to --with-logging: $with_logging\"" "$LINENO" 5
! 4242: ;;
! 4243: esac
! 4244: else
! 4245: $as_echo "#define LOGGING SLOG_SYSLOG" >>confdefs.h
! 4246: { $as_echo "$as_me:${as_lineno-$LINENO}: result: syslog" >&5
! 4247: $as_echo "syslog" >&6; }
! 4248: fi
! 4249:
! 4250:
! 4251:
! 4252: # Check whether --with-logfac was given.
! 4253: if test "${with_logfac+set}" = set; then :
! 4254: withval=$with_logfac; case $with_logfac in
! 4255: yes) as_fn_error $? "\"must give --with-logfac an argument.\"" "$LINENO" 5
! 4256: ;;
! 4257: no) as_fn_error $? "\"--without-logfac not supported.\"" "$LINENO" 5
! 4258: ;;
! 4259: authpriv|auth|daemon|user|local0|local1|local2|local3|local4|local5|local6|local7) logfac=$with_logfac
! 4260: ;;
! 4261: *) as_fn_error $? "\"$with_logfac is not a supported syslog facility.\"" "$LINENO" 5
! 4262: ;;
! 4263: esac
! 4264: fi
! 4265:
! 4266:
! 4267: { $as_echo "$as_me:${as_lineno-$LINENO}: checking at which syslog priority to log commands" >&5
! 4268: $as_echo_n "checking at which syslog priority to log commands... " >&6; }
! 4269:
! 4270: # Check whether --with-goodpri was given.
! 4271: if test "${with_goodpri+set}" = set; then :
! 4272: withval=$with_goodpri; case $with_goodpri in
! 4273: yes) as_fn_error $? "\"must give --with-goodpri an argument.\"" "$LINENO" 5
! 4274: ;;
! 4275: no) as_fn_error $? "\"--without-goodpri not supported.\"" "$LINENO" 5
! 4276: ;;
! 4277: alert|crit|debug|emerg|err|info|notice|warning)
! 4278: goodpri=$with_goodpri
! 4279: ;;
! 4280: *) as_fn_error $? "\"$with_goodpri is not a supported syslog priority.\"" "$LINENO" 5
! 4281: ;;
! 4282: esac
! 4283: fi
! 4284:
! 4285:
! 4286: cat >>confdefs.h <<_ACEOF
! 4287: #define PRI_SUCCESS "$goodpri"
! 4288: _ACEOF
! 4289:
! 4290: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $goodpri" >&5
! 4291: $as_echo "$goodpri" >&6; }
! 4292:
! 4293: { $as_echo "$as_me:${as_lineno-$LINENO}: checking at which syslog priority to log failures" >&5
! 4294: $as_echo_n "checking at which syslog priority to log failures... " >&6; }
! 4295:
! 4296: # Check whether --with-badpri was given.
! 4297: if test "${with_badpri+set}" = set; then :
! 4298: withval=$with_badpri; case $with_badpri in
! 4299: yes) as_fn_error $? "\"must give --with-badpri an argument.\"" "$LINENO" 5
! 4300: ;;
! 4301: no) as_fn_error $? "\"--without-badpri not supported.\"" "$LINENO" 5
! 4302: ;;
! 4303: alert|crit|debug|emerg|err|info|notice|warning)
! 4304: badpri=$with_badpri
! 4305: ;;
! 4306: *) as_fn_error $? "$with_badpri is not a supported syslog priority." "$LINENO" 5
! 4307: ;;
! 4308: esac
! 4309: fi
! 4310:
! 4311:
! 4312: cat >>confdefs.h <<_ACEOF
! 4313: #define PRI_FAILURE "$badpri"
! 4314: _ACEOF
! 4315:
! 4316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $badpri" >&5
! 4317: $as_echo "$badpri" >&6; }
! 4318:
! 4319:
! 4320: # Check whether --with-logpath was given.
! 4321: if test "${with_logpath+set}" = set; then :
! 4322: withval=$with_logpath; case $with_logpath in
! 4323: yes) as_fn_error $? "\"must give --with-logpath an argument.\"" "$LINENO" 5
! 4324: ;;
! 4325: no) as_fn_error $? "\"--without-logpath not supported.\"" "$LINENO" 5
! 4326: ;;
! 4327: esac
! 4328: fi
! 4329:
! 4330:
! 4331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how long a line in the log file should be" >&5
! 4332: $as_echo_n "checking how long a line in the log file should be... " >&6; }
! 4333:
! 4334: # Check whether --with-loglen was given.
! 4335: if test "${with_loglen+set}" = set; then :
! 4336: withval=$with_loglen; case $with_loglen in
! 4337: yes) as_fn_error $? "\"must give --with-loglen an argument.\"" "$LINENO" 5
! 4338: ;;
! 4339: no) as_fn_error $? "\"--without-loglen not supported.\"" "$LINENO" 5
! 4340: ;;
! 4341: [0-9]*) loglen=$with_loglen
! 4342: ;;
! 4343: *) as_fn_error $? "\"you must enter a number, not $with_loglen\"" "$LINENO" 5
! 4344: ;;
! 4345: esac
! 4346: fi
! 4347:
! 4348:
! 4349: cat >>confdefs.h <<_ACEOF
! 4350: #define MAXLOGFILELEN $loglen
! 4351: _ACEOF
! 4352:
! 4353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $loglen" >&5
! 4354: $as_echo "$loglen" >&6; }
! 4355:
! 4356: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sudo should ignore '.' or '' in \$PATH" >&5
! 4357: $as_echo_n "checking whether sudo should ignore '.' or '' in \$PATH... " >&6; }
! 4358:
! 4359: # Check whether --with-ignore-dot was given.
! 4360: if test "${with_ignore_dot+set}" = set; then :
! 4361: withval=$with_ignore_dot; case $with_ignore_dot in
! 4362: yes) ignore_dot=on
! 4363: ;;
! 4364: no) ignore_dot=off
! 4365: ;;
! 4366: *) as_fn_error $? "\"--with-ignore-dot does not take an argument.\"" "$LINENO" 5
! 4367: ;;
! 4368: esac
! 4369: fi
! 4370:
! 4371: if test "$ignore_dot" = "on"; then
! 4372: $as_echo "#define IGNORE_DOT_PATH 1" >>confdefs.h
! 4373:
! 4374: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4375: $as_echo "yes" >&6; }
! 4376: else
! 4377: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4378: $as_echo "no" >&6; }
! 4379: fi
! 4380:
! 4381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to send mail when a user is not in sudoers" >&5
! 4382: $as_echo_n "checking whether to send mail when a user is not in sudoers... " >&6; }
! 4383:
! 4384: # Check whether --with-mail-if-no-user was given.
! 4385: if test "${with_mail_if_no_user+set}" = set; then :
! 4386: withval=$with_mail_if_no_user; case $with_mail_if_no_user in
! 4387: yes) mail_no_user=on
! 4388: ;;
! 4389: no) mail_no_user=off
! 4390: ;;
! 4391: *) as_fn_error $? "\"--with-mail-if-no-user does not take an argument.\"" "$LINENO" 5
! 4392: ;;
! 4393: esac
! 4394: fi
! 4395:
! 4396: if test "$mail_no_user" = "on"; then
! 4397: $as_echo "#define SEND_MAIL_WHEN_NO_USER 1" >>confdefs.h
! 4398:
! 4399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4400: $as_echo "yes" >&6; }
! 4401: else
! 4402: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4403: $as_echo "no" >&6; }
! 4404: fi
! 4405:
! 4406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to send mail when user listed but not for this host" >&5
! 4407: $as_echo_n "checking whether to send mail when user listed but not for this host... " >&6; }
! 4408:
! 4409: # Check whether --with-mail-if-no-host was given.
! 4410: if test "${with_mail_if_no_host+set}" = set; then :
! 4411: withval=$with_mail_if_no_host; case $with_mail_if_no_host in
! 4412: yes) mail_no_host=on
! 4413: ;;
! 4414: no) mail_no_host=off
! 4415: ;;
! 4416: *) as_fn_error $? "\"--with-mail-if-no-host does not take an argument.\"" "$LINENO" 5
! 4417: ;;
! 4418: esac
! 4419: fi
! 4420:
! 4421: if test "$mail_no_host" = "on"; then
! 4422: $as_echo "#define SEND_MAIL_WHEN_NO_HOST 1" >>confdefs.h
! 4423:
! 4424: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4425: $as_echo "yes" >&6; }
! 4426: else
! 4427: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4428: $as_echo "no" >&6; }
! 4429: fi
! 4430:
! 4431: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to send mail when a user tries a disallowed command" >&5
! 4432: $as_echo_n "checking whether to send mail when a user tries a disallowed command... " >&6; }
! 4433:
! 4434: # Check whether --with-mail-if-noperms was given.
! 4435: if test "${with_mail_if_noperms+set}" = set; then :
! 4436: withval=$with_mail_if_noperms; case $with_mail_if_noperms in
! 4437: yes) mail_noperms=on
! 4438: ;;
! 4439: no) mail_noperms=off
! 4440: ;;
! 4441: *) as_fn_error $? "\"--with-mail-if-noperms does not take an argument.\"" "$LINENO" 5
! 4442: ;;
! 4443: esac
! 4444: fi
! 4445:
! 4446: if test "$mail_noperms" = "on"; then
! 4447: $as_echo "#define SEND_MAIL_WHEN_NOT_OK 1" >>confdefs.h
! 4448:
! 4449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4450: $as_echo "yes" >&6; }
! 4451: else
! 4452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4453: $as_echo "no" >&6; }
! 4454: fi
! 4455:
! 4456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking who should get the mail that sudo sends" >&5
! 4457: $as_echo_n "checking who should get the mail that sudo sends... " >&6; }
! 4458:
! 4459: # Check whether --with-mailto was given.
! 4460: if test "${with_mailto+set}" = set; then :
! 4461: withval=$with_mailto; case $with_mailto in
! 4462: yes) as_fn_error $? "\"must give --with-mailto an argument.\"" "$LINENO" 5
! 4463: ;;
! 4464: no) as_fn_error $? "\"--without-mailto not supported.\"" "$LINENO" 5
! 4465: ;;
! 4466: *) mailto=$with_mailto
! 4467: ;;
! 4468: esac
! 4469: fi
! 4470:
! 4471:
! 4472: cat >>confdefs.h <<_ACEOF
! 4473: #define MAILTO "$mailto"
! 4474: _ACEOF
! 4475:
! 4476: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mailto" >&5
! 4477: $as_echo "$mailto" >&6; }
! 4478:
! 4479:
! 4480: # Check whether --with-mailsubject was given.
! 4481: if test "${with_mailsubject+set}" = set; then :
! 4482: withval=$with_mailsubject; case $with_mailsubject in
! 4483: yes) as_fn_error $? "\"must give --with-mailsubject an argument.\"" "$LINENO" 5
! 4484: ;;
! 4485: no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, --without-mailsubject not supported." >&5
! 4486: $as_echo "$as_me: WARNING: Sorry, --without-mailsubject not supported." >&2;}
! 4487: ;;
! 4488: *) mailsub="$with_mailsubject"
! 4489: { $as_echo "$as_me:${as_lineno-$LINENO}: checking sudo mail subject" >&5
! 4490: $as_echo_n "checking sudo mail subject... " >&6; }
! 4491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using alert mail subject: $mailsub" >&5
! 4492: $as_echo "Using alert mail subject: $mailsub" >&6; }
! 4493: ;;
! 4494: esac
! 4495: fi
! 4496:
! 4497:
! 4498: cat >>confdefs.h <<_ACEOF
! 4499: #define MAILSUBJECT "$mailsub"
! 4500: _ACEOF
! 4501:
! 4502:
! 4503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bad password prompt" >&5
! 4504: $as_echo_n "checking for bad password prompt... " >&6; }
! 4505:
! 4506: # Check whether --with-passprompt was given.
! 4507: if test "${with_passprompt+set}" = set; then :
! 4508: withval=$with_passprompt; case $with_passprompt in
! 4509: yes) as_fn_error $? "\"must give --with-passprompt an argument.\"" "$LINENO" 5
! 4510: ;;
! 4511: no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, --without-passprompt not supported." >&5
! 4512: $as_echo "$as_me: WARNING: Sorry, --without-passprompt not supported." >&2;}
! 4513: ;;
! 4514: *) passprompt="$with_passprompt"
! 4515: esac
! 4516: fi
! 4517:
! 4518: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $passprompt" >&5
! 4519: $as_echo "$passprompt" >&6; }
! 4520:
! 4521: cat >>confdefs.h <<_ACEOF
! 4522: #define PASSPROMPT "$passprompt"
! 4523: _ACEOF
! 4524:
! 4525:
! 4526: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bad password message" >&5
! 4527: $as_echo_n "checking for bad password message... " >&6; }
! 4528:
! 4529: # Check whether --with-badpass-message was given.
! 4530: if test "${with_badpass_message+set}" = set; then :
! 4531: withval=$with_badpass_message; case $with_badpass_message in
! 4532: yes) as_fn_error $? "\"Must give --with-badpass-message an argument.\"" "$LINENO" 5
! 4533: ;;
! 4534: no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, --without-badpass-message not supported." >&5
! 4535: $as_echo "$as_me: WARNING: Sorry, --without-badpass-message not supported." >&2;}
! 4536: ;;
! 4537: *) badpass_message="$with_badpass_message"
! 4538: ;;
! 4539: esac
! 4540: fi
! 4541:
! 4542:
! 4543: cat >>confdefs.h <<_ACEOF
! 4544: #define INCORRECT_PASSWORD "$badpass_message"
! 4545: _ACEOF
! 4546:
! 4547: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $badpass_message" >&5
! 4548: $as_echo "$badpass_message" >&6; }
! 4549:
! 4550: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to expect fully qualified hosts in sudoers" >&5
! 4551: $as_echo_n "checking whether to expect fully qualified hosts in sudoers... " >&6; }
! 4552:
! 4553: # Check whether --with-fqdn was given.
! 4554: if test "${with_fqdn+set}" = set; then :
! 4555: withval=$with_fqdn; case $with_fqdn in
! 4556: yes) fqdn=on
! 4557: ;;
! 4558: no) fqdn=off
! 4559: ;;
! 4560: *) as_fn_error $? "\"--with-fqdn does not take an argument.\"" "$LINENO" 5
! 4561: ;;
! 4562: esac
! 4563: fi
! 4564:
! 4565: if test "$fqdn" = "on"; then
! 4566: $as_echo "#define FQDN 1" >>confdefs.h
! 4567:
! 4568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4569: $as_echo "yes" >&6; }
! 4570: else
! 4571: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4572: $as_echo "no" >&6; }
! 4573: fi
! 4574:
! 4575:
! 4576: # Check whether --with-timedir was given.
! 4577: if test "${with_timedir+set}" = set; then :
! 4578: withval=$with_timedir; case $with_timedir in
! 4579: yes) as_fn_error $? "\"must give --with-timedir an argument.\"" "$LINENO" 5
! 4580: ;;
! 4581: no) as_fn_error $? "\"--without-timedir not supported.\"" "$LINENO" 5
! 4582: ;;
! 4583: esac
! 4584: fi
! 4585:
! 4586:
! 4587:
! 4588: # Check whether --with-iologdir was given.
! 4589: if test "${with_iologdir+set}" = set; then :
! 4590: withval=$with_iologdir; case $with_iologdir in
! 4591: yes) ;;
! 4592: no) as_fn_error $? "\"--without-iologdir not supported.\"" "$LINENO" 5
! 4593: ;;
! 4594: esac
! 4595: fi
! 4596:
! 4597:
! 4598:
! 4599: # Check whether --with-sendmail was given.
! 4600: if test "${with_sendmail+set}" = set; then :
! 4601: withval=$with_sendmail; case $with_sendmail in
! 4602: yes) with_sendmail=""
! 4603: ;;
! 4604: no) ;;
! 4605: *) cat >>confdefs.h <<EOF
! 4606: #define _PATH_SUDO_SENDMAIL "$with_sendmail"
! 4607: EOF
! 4608:
! 4609: ;;
! 4610: esac
! 4611: fi
! 4612:
! 4613:
! 4614:
! 4615: # Check whether --with-sudoers-mode was given.
! 4616: if test "${with_sudoers_mode+set}" = set; then :
! 4617: withval=$with_sudoers_mode; case $with_sudoers_mode in
! 4618: yes) as_fn_error $? "\"must give --with-sudoers-mode an argument.\"" "$LINENO" 5
! 4619: ;;
! 4620: no) as_fn_error $? "\"--without-sudoers-mode not supported.\"" "$LINENO" 5
! 4621: ;;
! 4622: [1-9]*) SUDOERS_MODE=0${with_sudoers_mode}
! 4623: ;;
! 4624: 0*) SUDOERS_MODE=$with_sudoers_mode
! 4625: ;;
! 4626: *) as_fn_error $? "\"you must use an octal mode, not a name.\"" "$LINENO" 5
! 4627: ;;
! 4628: esac
! 4629: fi
! 4630:
! 4631:
! 4632:
! 4633: # Check whether --with-sudoers-uid was given.
! 4634: if test "${with_sudoers_uid+set}" = set; then :
! 4635: withval=$with_sudoers_uid; case $with_sudoers_uid in
! 4636: yes) as_fn_error $? "\"must give --with-sudoers-uid an argument.\"" "$LINENO" 5
! 4637: ;;
! 4638: no) as_fn_error $? "\"--without-sudoers-uid not supported.\"" "$LINENO" 5
! 4639: ;;
! 4640: [0-9]*) SUDOERS_UID=$with_sudoers_uid
! 4641: ;;
! 4642: *) as_fn_error $? "\"you must use an unsigned numeric uid, not a name.\"" "$LINENO" 5
! 4643: ;;
! 4644: esac
! 4645: fi
! 4646:
! 4647:
! 4648:
! 4649: # Check whether --with-sudoers-gid was given.
! 4650: if test "${with_sudoers_gid+set}" = set; then :
! 4651: withval=$with_sudoers_gid; case $with_sudoers_gid in
! 4652: yes) as_fn_error $? "\"must give --with-sudoers-gid an argument.\"" "$LINENO" 5
! 4653: ;;
! 4654: no) as_fn_error $? "\"--without-sudoers-gid not supported.\"" "$LINENO" 5
! 4655: ;;
! 4656: [0-9]*) SUDOERS_GID=$with_sudoers_gid
! 4657: ;;
! 4658: *) as_fn_error $? "\"you must use an unsigned numeric gid, not a name.\"" "$LINENO" 5
! 4659: ;;
! 4660: esac
! 4661: fi
! 4662:
! 4663:
! 4664: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umask programs should be run with" >&5
! 4665: $as_echo_n "checking for umask programs should be run with... " >&6; }
! 4666:
! 4667: # Check whether --with-umask was given.
! 4668: if test "${with_umask+set}" = set; then :
! 4669: withval=$with_umask; case $with_umask in
! 4670: yes) as_fn_error $? "\"must give --with-umask an argument.\"" "$LINENO" 5
! 4671: ;;
! 4672: no) sudo_umask=0777
! 4673: ;;
! 4674: [0-9]*) sudo_umask=$with_umask
! 4675: ;;
! 4676: *) as_fn_error $? "\"you must enter a numeric mask.\"" "$LINENO" 5
! 4677: ;;
! 4678: esac
! 4679: fi
! 4680:
! 4681:
! 4682: cat >>confdefs.h <<_ACEOF
! 4683: #define SUDO_UMASK $sudo_umask
! 4684: _ACEOF
! 4685:
! 4686: if test "$sudo_umask" = "0777"; then
! 4687: { $as_echo "$as_me:${as_lineno-$LINENO}: result: user" >&5
! 4688: $as_echo "user" >&6; }
! 4689: else
! 4690: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_umask" >&5
! 4691: $as_echo "$sudo_umask" >&6; }
! 4692: fi
! 4693:
! 4694:
! 4695: # Check whether --with-umask-override was given.
! 4696: if test "${with_umask_override+set}" = set; then :
! 4697: withval=$with_umask_override; case $with_umask_override in
! 4698: yes) $as_echo "#define UMASK_OVERRIDE 1" >>confdefs.h
! 4699:
! 4700: umask_override=on
! 4701: ;;
! 4702: no) umask_override=off
! 4703: ;;
! 4704: *) as_fn_error $? "\"--with-umask-override does not take an argument.\"" "$LINENO" 5
! 4705: ;;
! 4706: esac
! 4707: fi
! 4708:
! 4709:
! 4710: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default user to run commands as" >&5
! 4711: $as_echo_n "checking for default user to run commands as... " >&6; }
! 4712:
! 4713: # Check whether --with-runas-default was given.
! 4714: if test "${with_runas_default+set}" = set; then :
! 4715: withval=$with_runas_default; case $with_runas_default in
! 4716: yes) as_fn_error $? "\"must give --with-runas-default an argument.\"" "$LINENO" 5
! 4717: ;;
! 4718: no) as_fn_error $? "\"--without-runas-default not supported.\"" "$LINENO" 5
! 4719: ;;
! 4720: *) runas_default="$with_runas_default"
! 4721: ;;
! 4722: esac
! 4723: fi
! 4724:
! 4725:
! 4726: cat >>confdefs.h <<_ACEOF
! 4727: #define RUNAS_DEFAULT "$runas_default"
! 4728: _ACEOF
! 4729:
! 4730: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $runas_default" >&5
! 4731: $as_echo "$runas_default" >&6; }
! 4732:
! 4733:
! 4734: # Check whether --with-exempt was given.
! 4735: if test "${with_exempt+set}" = set; then :
! 4736: withval=$with_exempt; case $with_exempt in
! 4737: yes) as_fn_error $? "\"must give --with-exempt an argument.\"" "$LINENO" 5
! 4738: ;;
! 4739: no) as_fn_error $? "\"--without-exempt not supported.\"" "$LINENO" 5
! 4740: ;;
! 4741: *)
! 4742: cat >>confdefs.h <<_ACEOF
! 4743: #define EXEMPTGROUP "$with_exempt"
! 4744: _ACEOF
! 4745:
! 4746: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for group to be exempt from password" >&5
! 4747: $as_echo_n "checking for group to be exempt from password... " >&6; }
! 4748: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_exempt" >&5
! 4749: $as_echo "$with_exempt" >&6; }
! 4750: ;;
! 4751: esac
! 4752: fi
! 4753:
! 4754:
! 4755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for editor that visudo should use" >&5
! 4756: $as_echo_n "checking for editor that visudo should use... " >&6; }
! 4757:
! 4758: # Check whether --with-editor was given.
! 4759: if test "${with_editor+set}" = set; then :
! 4760: withval=$with_editor; case $with_editor in
! 4761: yes) as_fn_error $? "\"must give --with-editor an argument.\"" "$LINENO" 5
! 4762: ;;
! 4763: no) as_fn_error $? "\"--without-editor not supported.\"" "$LINENO" 5
! 4764: ;;
! 4765: *)
! 4766: cat >>confdefs.h <<_ACEOF
! 4767: #define EDITOR "$with_editor"
! 4768: _ACEOF
! 4769:
! 4770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_editor" >&5
! 4771: $as_echo "$with_editor" >&6; }
! 4772: editor="$with_editor"
! 4773: ;;
! 4774: esac
! 4775: else
! 4776: $as_echo "#define EDITOR _PATH_VI" >>confdefs.h
! 4777: { $as_echo "$as_me:${as_lineno-$LINENO}: result: vi" >&5
! 4778: $as_echo "vi" >&6; }
! 4779: fi
! 4780:
! 4781:
! 4782: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to obey EDITOR and VISUAL environment variables" >&5
! 4783: $as_echo_n "checking whether to obey EDITOR and VISUAL environment variables... " >&6; }
! 4784:
! 4785: # Check whether --with-env-editor was given.
! 4786: if test "${with_env_editor+set}" = set; then :
! 4787: withval=$with_env_editor; case $with_env_editor in
! 4788: yes) env_editor=on
! 4789: ;;
! 4790: no) env_editor=off
! 4791: ;;
! 4792: *) as_fn_error $? "\"--with-env-editor does not take an argument.\"" "$LINENO" 5
! 4793: ;;
! 4794: esac
! 4795: fi
! 4796:
! 4797: if test "$env_editor" = "on"; then
! 4798: $as_echo "#define ENV_EDITOR 1" >>confdefs.h
! 4799:
! 4800: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4801: $as_echo "yes" >&6; }
! 4802: else
! 4803: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4804: $as_echo "no" >&6; }
! 4805: fi
! 4806:
! 4807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of tries a user gets to enter their password" >&5
! 4808: $as_echo_n "checking number of tries a user gets to enter their password... " >&6; }
! 4809:
! 4810: # Check whether --with-passwd-tries was given.
! 4811: if test "${with_passwd_tries+set}" = set; then :
! 4812: withval=$with_passwd_tries; case $with_passwd_tries in
! 4813: yes) ;;
! 4814: no) as_fn_error $? "\"--without-editor not supported.\"" "$LINENO" 5
! 4815: ;;
! 4816: [1-9]*) passwd_tries=$with_passwd_tries
! 4817: ;;
! 4818: *) as_fn_error $? "\"you must enter the numer of tries, > 0\"" "$LINENO" 5
! 4819: ;;
! 4820: esac
! 4821: fi
! 4822:
! 4823:
! 4824: cat >>confdefs.h <<_ACEOF
! 4825: #define TRIES_FOR_PASSWORD $passwd_tries
! 4826: _ACEOF
! 4827:
! 4828: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $passwd_tries" >&5
! 4829: $as_echo "$passwd_tries" >&6; }
! 4830:
! 4831: { $as_echo "$as_me:${as_lineno-$LINENO}: checking time in minutes after which sudo will ask for a password again" >&5
! 4832: $as_echo_n "checking time in minutes after which sudo will ask for a password again... " >&6; }
! 4833:
! 4834: # Check whether --with-timeout was given.
! 4835: if test "${with_timeout+set}" = set; then :
! 4836: withval=$with_timeout; case $with_timeout in
! 4837: yes) ;;
! 4838: no) timeout=0
! 4839: ;;
! 4840: [0-9]*) timeout=$with_timeout
! 4841: ;;
! 4842: *) as_fn_error $? "\"you must enter the numer of minutes.\"" "$LINENO" 5
! 4843: ;;
! 4844: esac
! 4845: fi
! 4846:
! 4847:
! 4848: cat >>confdefs.h <<_ACEOF
! 4849: #define TIMEOUT $timeout
! 4850: _ACEOF
! 4851:
! 4852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $timeout" >&5
! 4853: $as_echo "$timeout" >&6; }
! 4854:
! 4855: { $as_echo "$as_me:${as_lineno-$LINENO}: checking time in minutes after the password prompt will time out" >&5
! 4856: $as_echo_n "checking time in minutes after the password prompt will time out... " >&6; }
! 4857:
! 4858: # Check whether --with-password-timeout was given.
! 4859: if test "${with_password_timeout+set}" = set; then :
! 4860: withval=$with_password_timeout; case $with_password_timeout in
! 4861: yes) ;;
! 4862: no) password_timeout=0
! 4863: ;;
! 4864: [0-9]*) password_timeout=$with_password_timeout
! 4865: ;;
! 4866: *) as_fn_error $? "\"you must enter the numer of minutes.\"" "$LINENO" 5
! 4867: ;;
! 4868: esac
! 4869: fi
! 4870:
! 4871:
! 4872: cat >>confdefs.h <<_ACEOF
! 4873: #define PASSWORD_TIMEOUT $password_timeout
! 4874: _ACEOF
! 4875:
! 4876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $password_timeout" >&5
! 4877: $as_echo "$password_timeout" >&6; }
! 4878:
! 4879: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use per-tty ticket files" >&5
! 4880: $as_echo_n "checking whether to use per-tty ticket files... " >&6; }
! 4881:
! 4882: # Check whether --with-tty-tickets was given.
! 4883: if test "${with_tty_tickets+set}" = set; then :
! 4884: withval=$with_tty_tickets; case $with_tty_tickets in
! 4885: yes) tty_tickets=on
! 4886: ;;
! 4887: no) tty_tickets=off
! 4888: ;;
! 4889: *) as_fn_error $? "\"--with-tty-tickets does not take an argument.\"" "$LINENO" 5
! 4890: ;;
! 4891: esac
! 4892: fi
! 4893:
! 4894: if test "$tty_tickets" = "off"; then
! 4895: $as_echo "#define NO_TTY_TICKETS 1" >>confdefs.h
! 4896:
! 4897: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4898: $as_echo "no" >&6; }
! 4899: else
! 4900: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4901: $as_echo "yes" >&6; }
! 4902: fi
! 4903:
! 4904: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include insults" >&5
! 4905: $as_echo_n "checking whether to include insults... " >&6; }
! 4906:
! 4907: # Check whether --with-insults was given.
! 4908: if test "${with_insults+set}" = set; then :
! 4909: withval=$with_insults; case $with_insults in
! 4910: yes) insults=on
! 4911: with_classic_insults=yes
! 4912: with_csops_insults=yes
! 4913: ;;
! 4914: disabled) insults=off
! 4915: with_classic_insults=yes
! 4916: with_csops_insults=yes
! 4917: ;;
! 4918: no) insults=off
! 4919: ;;
! 4920: *) as_fn_error $? "\"--with-insults does not take an argument.\"" "$LINENO" 5
! 4921: ;;
! 4922: esac
! 4923: fi
! 4924:
! 4925: if test "$insults" = "on"; then
! 4926: $as_echo "#define USE_INSULTS 1" >>confdefs.h
! 4927:
! 4928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4929: $as_echo "yes" >&6; }
! 4930: else
! 4931: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4932: $as_echo "no" >&6; }
! 4933: fi
! 4934:
! 4935:
! 4936: # Check whether --with-all-insults was given.
! 4937: if test "${with_all_insults+set}" = set; then :
! 4938: withval=$with_all_insults; case $with_all_insults in
! 4939: yes) with_classic_insults=yes
! 4940: with_csops_insults=yes
! 4941: with_hal_insults=yes
! 4942: with_goons_insults=yes
! 4943: ;;
! 4944: no) ;;
! 4945: *) as_fn_error $? "\"--with-all-insults does not take an argument.\"" "$LINENO" 5
! 4946: ;;
! 4947: esac
! 4948: fi
! 4949:
! 4950:
! 4951:
! 4952: # Check whether --with-classic-insults was given.
! 4953: if test "${with_classic_insults+set}" = set; then :
! 4954: withval=$with_classic_insults; case $with_classic_insults in
! 4955: yes) $as_echo "#define CLASSIC_INSULTS 1" >>confdefs.h
! 4956:
! 4957: ;;
! 4958: no) ;;
! 4959: *) as_fn_error $? "\"--with-classic-insults does not take an argument.\"" "$LINENO" 5
! 4960: ;;
! 4961: esac
! 4962: fi
! 4963:
! 4964:
! 4965:
! 4966: # Check whether --with-csops-insults was given.
! 4967: if test "${with_csops_insults+set}" = set; then :
! 4968: withval=$with_csops_insults; case $with_csops_insults in
! 4969: yes) $as_echo "#define CSOPS_INSULTS 1" >>confdefs.h
! 4970:
! 4971: ;;
! 4972: no) ;;
! 4973: *) as_fn_error $? "\"--with-csops-insults does not take an argument.\"" "$LINENO" 5
! 4974: ;;
! 4975: esac
! 4976: fi
! 4977:
! 4978:
! 4979:
! 4980: # Check whether --with-hal-insults was given.
! 4981: if test "${with_hal_insults+set}" = set; then :
! 4982: withval=$with_hal_insults; case $with_hal_insults in
! 4983: yes) $as_echo "#define HAL_INSULTS 1" >>confdefs.h
! 4984:
! 4985: ;;
! 4986: no) ;;
! 4987: *) as_fn_error $? "\"--with-hal-insults does not take an argument.\"" "$LINENO" 5
! 4988: ;;
! 4989: esac
! 4990: fi
! 4991:
! 4992:
! 4993:
! 4994: # Check whether --with-goons-insults was given.
! 4995: if test "${with_goons_insults+set}" = set; then :
! 4996: withval=$with_goons_insults; case $with_goons_insults in
! 4997: yes) $as_echo "#define GOONS_INSULTS 1" >>confdefs.h
! 4998:
! 4999: ;;
! 5000: no) ;;
! 5001: *) as_fn_error $? "\"--with-goons-insults does not take an argument.\"" "$LINENO" 5
! 5002: ;;
! 5003: esac
! 5004: fi
! 5005:
! 5006:
! 5007:
! 5008: # Check whether --with-nsswitch was given.
! 5009: if test "${with_nsswitch+set}" = set; then :
! 5010: withval=$with_nsswitch; case $with_nsswitch in
! 5011: no) ;;
! 5012: yes) with_nsswitch="/etc/nsswitch.conf"
! 5013: ;;
! 5014: *) ;;
! 5015: esac
! 5016: fi
! 5017:
! 5018:
! 5019:
! 5020: # Check whether --with-ldap was given.
! 5021: if test "${with_ldap+set}" = set; then :
! 5022: withval=$with_ldap; case $with_ldap in
! 5023: no) ;;
! 5024: *) $as_echo "#define HAVE_LDAP 1" >>confdefs.h
! 5025:
! 5026: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use sudoers from LDAP" >&5
! 5027: $as_echo_n "checking whether to use sudoers from LDAP... " >&6; }
! 5028: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5029: $as_echo "yes" >&6; }
! 5030: ;;
! 5031: esac
! 5032: fi
! 5033:
! 5034:
! 5035:
! 5036: # Check whether --with-ldap-conf-file was given.
! 5037: if test "${with_ldap_conf_file+set}" = set; then :
! 5038: withval=$with_ldap_conf_file;
! 5039: fi
! 5040:
! 5041: test -n "$with_ldap_conf_file" && ldap_conf="$with_ldap_conf_file"
! 5042: cat >>confdefs.h <<EOF
! 5043: #define _PATH_LDAP_CONF "$ldap_conf"
! 5044: EOF
! 5045:
! 5046:
! 5047:
! 5048: # Check whether --with-ldap-secret-file was given.
! 5049: if test "${with_ldap_secret_file+set}" = set; then :
! 5050: withval=$with_ldap_secret_file;
! 5051: fi
! 5052:
! 5053: test -n "$with_ldap_secret_file" && ldap_secret="$with_ldap_secret_file"
! 5054: cat >>confdefs.h <<EOF
! 5055: #define _PATH_LDAP_SECRET "$ldap_secret"
! 5056: EOF
! 5057:
! 5058:
! 5059:
! 5060: # Check whether --with-pc-insults was given.
! 5061: if test "${with_pc_insults+set}" = set; then :
! 5062: withval=$with_pc_insults; case $with_pc_insults in
! 5063: yes) $as_echo "#define PC_INSULTS 1" >>confdefs.h
! 5064:
! 5065: ;;
! 5066: no) ;;
! 5067: *) as_fn_error $? "\"--with-pc-insults does not take an argument.\"" "$LINENO" 5
! 5068: ;;
! 5069: esac
! 5070: fi
! 5071:
! 5072:
! 5073: if test "$insults" = "on"; then
! 5074: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which insult sets to include" >&5
! 5075: $as_echo_n "checking which insult sets to include... " >&6; }
! 5076: i=""
! 5077: test "$with_goons_insults" = "yes" && i="goons ${i}"
! 5078: test "$with_hal_insults" = "yes" && i="hal ${i}"
! 5079: test "$with_csops_insults" = "yes" && i="csops ${i}"
! 5080: test "$with_classic_insults" = "yes" && i="classic ${i}"
! 5081: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $i" >&5
! 5082: $as_echo "$i" >&6; }
! 5083: fi
! 5084:
! 5085: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to override the user's path" >&5
! 5086: $as_echo_n "checking whether to override the user's path... " >&6; }
! 5087:
! 5088: # Check whether --with-secure-path was given.
! 5089: if test "${with_secure_path+set}" = set; then :
! 5090: withval=$with_secure_path; case $with_secure_path in
! 5091: yes) with_secure_path="/bin:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc"
! 5092: cat >>confdefs.h <<_ACEOF
! 5093: #define SECURE_PATH "$with_secure_path"
! 5094: _ACEOF
! 5095:
! 5096: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_secure_path" >&5
! 5097: $as_echo "$with_secure_path" >&6; }
! 5098: secure_path="set to $with_secure_path"
! 5099: ;;
! 5100: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5101: $as_echo "no" >&6; }
! 5102: ;;
! 5103: *) cat >>confdefs.h <<_ACEOF
! 5104: #define SECURE_PATH "$with_secure_path"
! 5105: _ACEOF
! 5106:
! 5107: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_secure_path" >&5
! 5108: $as_echo "$with_secure_path" >&6; }
! 5109: secure_path="set to F<$with_secure_path>"
! 5110: ;;
! 5111: esac
! 5112: else
! 5113: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5114: $as_echo "no" >&6; }
! 5115: fi
! 5116:
! 5117:
! 5118: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to get ip addresses from the network interfaces" >&5
! 5119: $as_echo_n "checking whether to get ip addresses from the network interfaces... " >&6; }
! 5120:
! 5121: # Check whether --with-interfaces was given.
! 5122: if test "${with_interfaces+set}" = set; then :
! 5123: withval=$with_interfaces; case $with_interfaces in
! 5124: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5125: $as_echo "yes" >&6; }
! 5126: ;;
! 5127: no) $as_echo "#define STUB_LOAD_INTERFACES 1" >>confdefs.h
! 5128:
! 5129: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5130: $as_echo "no" >&6; }
! 5131: ;;
! 5132: *) as_fn_error $? "\"--with-interfaces does not take an argument.\"" "$LINENO" 5
! 5133: ;;
! 5134: esac
! 5135: else
! 5136: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5137: $as_echo "yes" >&6; }
! 5138: fi
! 5139:
! 5140:
! 5141: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stow should be used" >&5
! 5142: $as_echo_n "checking whether stow should be used... " >&6; }
! 5143:
! 5144: # Check whether --with-stow was given.
! 5145: if test "${with_stow+set}" = set; then :
! 5146: withval=$with_stow; case $with_stow in
! 5147: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5148: $as_echo "yes" >&6; }
! 5149: $as_echo "#define USE_STOW 1" >>confdefs.h
! 5150:
! 5151: ;;
! 5152: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5153: $as_echo "no" >&6; }
! 5154: ;;
! 5155: *) as_fn_error $? "\"--with-stow does not take an argument.\"" "$LINENO" 5
! 5156: ;;
! 5157: esac
! 5158: else
! 5159: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5160: $as_echo "no" >&6; }
! 5161: fi
! 5162:
! 5163:
! 5164: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use an askpass helper" >&5
! 5165: $as_echo_n "checking whether to use an askpass helper... " >&6; }
! 5166:
! 5167: # Check whether --with-askpass was given.
! 5168: if test "${with_askpass+set}" = set; then :
! 5169: withval=$with_askpass; case $with_askpass in
! 5170: yes) as_fn_error $? "\"--with-askpass takes a path as an argument.\"" "$LINENO" 5
! 5171: ;;
! 5172: no) ;;
! 5173: *) cat >>confdefs.h <<EOF
! 5174: #define _PATH_SUDO_ASKPASS "$with_askpass"
! 5175: EOF
! 5176:
! 5177: ;;
! 5178: esac
! 5179: else
! 5180: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5181: $as_echo "no" >&6; }
! 5182: fi
! 5183:
! 5184:
! 5185:
! 5186: # Check whether --with-plugindir was given.
! 5187: if test "${with_plugindir+set}" = set; then :
! 5188: withval=$with_plugindir; case $with_plugindir in
! 5189: no) as_fn_error $? "\"illegal argument: --without-plugindir.\"" "$LINENO" 5
! 5190: ;;
! 5191: *) ;;
! 5192: esac
! 5193: else
! 5194: with_plugindir="$libexecdir"
! 5195: fi
! 5196:
! 5197:
! 5198:
! 5199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to do user authentication by default" >&5
! 5200: $as_echo_n "checking whether to do user authentication by default... " >&6; }
! 5201: # Check whether --enable-authentication was given.
! 5202: if test "${enable_authentication+set}" = set; then :
! 5203: enableval=$enable_authentication; case "$enableval" in
! 5204: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5205: $as_echo "yes" >&6; }
! 5206: ;;
! 5207: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5208: $as_echo "no" >&6; }
! 5209: $as_echo "#define NO_AUTHENTICATION 1" >>confdefs.h
! 5210:
! 5211: ;;
! 5212: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5213: $as_echo "no" >&6; }
! 5214: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-authentication: $enableval" >&5
! 5215: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-authentication: $enableval" >&2;}
! 5216: ;;
! 5217: esac
! 5218:
! 5219: else
! 5220: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5221: $as_echo "yes" >&6; }
! 5222: fi
! 5223:
! 5224:
! 5225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable running the mailer as root" >&5
! 5226: $as_echo_n "checking whether to disable running the mailer as root... " >&6; }
! 5227: # Check whether --enable-root-mailer was given.
! 5228: if test "${enable_root_mailer+set}" = set; then :
! 5229: enableval=$enable_root_mailer; case "$enableval" in
! 5230: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5231: $as_echo "no" >&6; }
! 5232: ;;
! 5233: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5234: $as_echo "yes" >&6; }
! 5235: $as_echo "#define NO_ROOT_MAILER 1" >>confdefs.h
! 5236:
! 5237: ;;
! 5238: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5239: $as_echo "no" >&6; }
! 5240: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-root-mailer: $enableval" >&5
! 5241: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-root-mailer: $enableval" >&2;}
! 5242: ;;
! 5243: esac
! 5244:
! 5245: else
! 5246: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5247: $as_echo "no" >&6; }
! 5248: fi
! 5249:
! 5250:
! 5251: # Check whether --enable-setreuid was given.
! 5252: if test "${enable_setreuid+set}" = set; then :
! 5253: enableval=$enable_setreuid; case "$enableval" in
! 5254: no) SKIP_SETREUID=yes
! 5255: ;;
! 5256: *) ;;
! 5257: esac
! 5258:
! 5259: fi
! 5260:
! 5261:
! 5262: # Check whether --enable-setresuid was given.
! 5263: if test "${enable_setresuid+set}" = set; then :
! 5264: enableval=$enable_setresuid; case "$enableval" in
! 5265: no) SKIP_SETRESUID=yes
! 5266: ;;
! 5267: *) ;;
! 5268: esac
! 5269:
! 5270: fi
! 5271:
! 5272:
! 5273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable shadow password support" >&5
! 5274: $as_echo_n "checking whether to disable shadow password support... " >&6; }
! 5275: # Check whether --enable-shadow was given.
! 5276: if test "${enable_shadow+set}" = set; then :
! 5277: enableval=$enable_shadow; case "$enableval" in
! 5278: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5279: $as_echo "no" >&6; }
! 5280: ;;
! 5281: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5282: $as_echo "yes" >&6; }
! 5283: CHECKSHADOW="false"
! 5284: ;;
! 5285: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5286: $as_echo "no" >&6; }
! 5287: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-shadow: $enableval" >&5
! 5288: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-shadow: $enableval" >&2;}
! 5289: ;;
! 5290: esac
! 5291:
! 5292: else
! 5293: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5294: $as_echo "no" >&6; }
! 5295: fi
! 5296:
! 5297:
! 5298: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether root should be allowed to use sudo" >&5
! 5299: $as_echo_n "checking whether root should be allowed to use sudo... " >&6; }
! 5300: # Check whether --enable-root-sudo was given.
! 5301: if test "${enable_root_sudo+set}" = set; then :
! 5302: enableval=$enable_root_sudo; case "$enableval" in
! 5303: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5304: $as_echo "yes" >&6; }
! 5305: ;;
! 5306: no) $as_echo "#define NO_ROOT_SUDO 1" >>confdefs.h
! 5307:
! 5308: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5309: $as_echo "no" >&6; }
! 5310: root_sudo=off
! 5311: ;;
! 5312: *) as_fn_error $? "\"--enable-root-sudo does not take an argument.\"" "$LINENO" 5
! 5313: ;;
! 5314: esac
! 5315:
! 5316: else
! 5317: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5318: $as_echo "yes" >&6; }
! 5319: fi
! 5320:
! 5321:
! 5322: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to log the hostname in the log file" >&5
! 5323: $as_echo_n "checking whether to log the hostname in the log file... " >&6; }
! 5324: # Check whether --enable-log-host was given.
! 5325: if test "${enable_log_host+set}" = set; then :
! 5326: enableval=$enable_log_host; case "$enableval" in
! 5327: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5328: $as_echo "yes" >&6; }
! 5329: $as_echo "#define HOST_IN_LOG 1" >>confdefs.h
! 5330:
! 5331: ;;
! 5332: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5333: $as_echo "no" >&6; }
! 5334: ;;
! 5335: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5336: $as_echo "no" >&6; }
! 5337: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-log-host: $enableval" >&5
! 5338: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-log-host: $enableval" >&2;}
! 5339: ;;
! 5340: esac
! 5341:
! 5342: else
! 5343: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5344: $as_echo "no" >&6; }
! 5345: fi
! 5346:
! 5347:
! 5348: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to invoke a shell if sudo is given no arguments" >&5
! 5349: $as_echo_n "checking whether to invoke a shell if sudo is given no arguments... " >&6; }
! 5350: # Check whether --enable-noargs-shell was given.
! 5351: if test "${enable_noargs_shell+set}" = set; then :
! 5352: enableval=$enable_noargs_shell; case "$enableval" in
! 5353: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5354: $as_echo "yes" >&6; }
! 5355: $as_echo "#define SHELL_IF_NO_ARGS 1" >>confdefs.h
! 5356:
! 5357: ;;
! 5358: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5359: $as_echo "no" >&6; }
! 5360: ;;
! 5361: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5362: $as_echo "no" >&6; }
! 5363: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-noargs-shell: $enableval" >&5
! 5364: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-noargs-shell: $enableval" >&2;}
! 5365: ;;
! 5366: esac
! 5367:
! 5368: else
! 5369: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5370: $as_echo "no" >&6; }
! 5371: fi
! 5372:
! 5373:
! 5374: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to set \$HOME to target user in shell mode" >&5
! 5375: $as_echo_n "checking whether to set \$HOME to target user in shell mode... " >&6; }
! 5376: # Check whether --enable-shell-sets-home was given.
! 5377: if test "${enable_shell_sets_home+set}" = set; then :
! 5378: enableval=$enable_shell_sets_home; case "$enableval" in
! 5379: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5380: $as_echo "yes" >&6; }
! 5381: $as_echo "#define SHELL_SETS_HOME 1" >>confdefs.h
! 5382:
! 5383: ;;
! 5384: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5385: $as_echo "no" >&6; }
! 5386: ;;
! 5387: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5388: $as_echo "no" >&6; }
! 5389: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-shell-sets-home: $enableval" >&5
! 5390: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-shell-sets-home: $enableval" >&2;}
! 5391: ;;
! 5392: esac
! 5393:
! 5394: else
! 5395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5396: $as_echo "no" >&6; }
! 5397: fi
! 5398:
! 5399:
! 5400: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable 'command not found' messages" >&5
! 5401: $as_echo_n "checking whether to disable 'command not found' messages... " >&6; }
! 5402: # Check whether --enable-path_info was given.
! 5403: if test "${enable_path_info+set}" = set; then :
! 5404: enableval=$enable_path_info; case "$enableval" in
! 5405: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5406: $as_echo "no" >&6; }
! 5407: ;;
! 5408: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5409: $as_echo "yes" >&6; }
! 5410: $as_echo "#define DONT_LEAK_PATH_INFO 1" >>confdefs.h
! 5411:
! 5412: path_info=off
! 5413: ;;
! 5414: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5415: $as_echo "no" >&6; }
! 5416: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-path-info: $enableval" >&5
! 5417: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-path-info: $enableval" >&2;}
! 5418: ;;
! 5419: esac
! 5420:
! 5421: else
! 5422: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5423: $as_echo "no" >&6; }
! 5424: fi
! 5425:
! 5426:
! 5427: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable environment debugging" >&5
! 5428: $as_echo_n "checking whether to enable environment debugging... " >&6; }
! 5429: # Check whether --enable-env_debug was given.
! 5430: if test "${enable_env_debug+set}" = set; then :
! 5431: enableval=$enable_env_debug; case "$enableval" in
! 5432: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5433: $as_echo "yes" >&6; }
! 5434: $as_echo "#define ENV_DEBUG 1" >>confdefs.h
! 5435:
! 5436: ;;
! 5437: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5438: $as_echo "no" >&6; }
! 5439: ;;
! 5440: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5441: $as_echo "no" >&6; }
! 5442: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-env-debug: $enableval" >&5
! 5443: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-env-debug: $enableval" >&2;}
! 5444: ;;
! 5445: esac
! 5446:
! 5447: else
! 5448: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5449: $as_echo "no" >&6; }
! 5450: fi
! 5451:
! 5452:
! 5453: # Check whether --enable-zlib was given.
! 5454: if test "${enable_zlib+set}" = set; then :
! 5455: enableval=$enable_zlib;
! 5456: else
! 5457: enable_zlib=yes
! 5458: fi
! 5459:
! 5460:
! 5461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable environment resetting by default" >&5
! 5462: $as_echo_n "checking whether to enable environment resetting by default... " >&6; }
! 5463: # Check whether --enable-env_reset was given.
! 5464: if test "${enable_env_reset+set}" = set; then :
! 5465: enableval=$enable_env_reset; case "$enableval" in
! 5466: yes) env_reset=on
! 5467: ;;
! 5468: no) env_reset=off
! 5469: ;;
! 5470: *) env_reset=on
! 5471: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-env-reset: $enableval" >&5
! 5472: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-env-reset: $enableval" >&2;}
! 5473: ;;
! 5474: esac
! 5475:
! 5476: fi
! 5477:
! 5478: if test "$env_reset" = "on"; then
! 5479: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 5480: $as_echo "yes" >&6; }
! 5481: $as_echo "#define ENV_RESET TRUE" >>confdefs.h
! 5482:
! 5483: else
! 5484: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5485: $as_echo "no" >&6; }
! 5486: $as_echo "#define ENV_RESET FALSE" >>confdefs.h
! 5487:
! 5488: fi
! 5489:
! 5490: # Check whether --enable-warnings was given.
! 5491: if test "${enable_warnings+set}" = set; then :
! 5492: enableval=$enable_warnings; case "$enableval" in
! 5493: yes) ;;
! 5494: no) ;;
! 5495: *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-warnings: $enableval" >&5
! 5496: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-warnings: $enableval" >&2;}
! 5497: ;;
! 5498: esac
! 5499:
! 5500: fi
! 5501:
! 5502:
! 5503: # Check whether --enable-werror was given.
! 5504: if test "${enable_werror+set}" = set; then :
! 5505: enableval=$enable_werror; case "$enableval" in
! 5506: yes) ;;
! 5507: no) ;;
! 5508: *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-werror: $enableval" >&5
! 5509: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-werror: $enableval" >&2;}
! 5510: ;;
! 5511: esac
! 5512:
! 5513: fi
! 5514:
! 5515:
! 5516: # Check whether --enable-admin-flag was given.
! 5517: if test "${enable_admin_flag+set}" = set; then :
! 5518: enableval=$enable_admin_flag; case "$enableval" in
! 5519: yes) $as_echo "#define USE_ADMIN_FLAG 1" >>confdefs.h
! 5520:
! 5521: ;;
! 5522: no) ;;
! 5523: *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-admin-flag: $enableval" >&5
! 5524: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-admin-flag: $enableval" >&2;}
! 5525: ;;
! 5526: esac
! 5527:
! 5528: fi
! 5529:
! 5530:
! 5531: # Check whether --enable-nls was given.
! 5532: if test "${enable_nls+set}" = set; then :
! 5533: enableval=$enable_nls;
! 5534: else
! 5535: enable_nls=yes
! 5536: fi
! 5537:
! 5538:
! 5539:
! 5540: # Check whether --with-selinux was given.
! 5541: if test "${with_selinux+set}" = set; then :
! 5542: withval=$with_selinux; case $with_selinux in
! 5543: yes) SELINUX_USAGE="[-r role] [-t type] "
! 5544: $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
! 5545:
! 5546: SUDO_LIBS="${SUDO_LIBS} -lselinux"
! 5547: SUDO_OBJS="${SUDO_OBJS} selinux.o"
! 5548: PROGS="${PROGS} sesh"
! 5549: SEMAN=1
! 5550: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setkeycreatecon in -lselinux" >&5
! 5551: $as_echo_n "checking for setkeycreatecon in -lselinux... " >&6; }
! 5552: if ${ac_cv_lib_selinux_setkeycreatecon+:} false; then :
! 5553: $as_echo_n "(cached) " >&6
! 5554: else
! 5555: ac_check_lib_save_LIBS=$LIBS
! 5556: LIBS="-lselinux $LIBS"
! 5557: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5558: /* end confdefs.h. */
! 5559:
! 5560: /* Override any GCC internal prototype to avoid an error.
! 5561: Use char because int might match the return type of a GCC
! 5562: builtin and then its argument prototype would still apply. */
! 5563: #ifdef __cplusplus
! 5564: extern "C"
! 5565: #endif
! 5566: char setkeycreatecon ();
! 5567: int
! 5568: main ()
! 5569: {
! 5570: return setkeycreatecon ();
! 5571: ;
! 5572: return 0;
! 5573: }
! 5574: _ACEOF
! 5575: if ac_fn_c_try_link "$LINENO"; then :
! 5576: ac_cv_lib_selinux_setkeycreatecon=yes
! 5577: else
! 5578: ac_cv_lib_selinux_setkeycreatecon=no
! 5579: fi
! 5580: rm -f core conftest.err conftest.$ac_objext \
! 5581: conftest$ac_exeext conftest.$ac_ext
! 5582: LIBS=$ac_check_lib_save_LIBS
! 5583: fi
! 5584: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_setkeycreatecon" >&5
! 5585: $as_echo "$ac_cv_lib_selinux_setkeycreatecon" >&6; }
! 5586: if test "x$ac_cv_lib_selinux_setkeycreatecon" = xyes; then :
! 5587: $as_echo "#define HAVE_SETKEYCREATECON 1" >>confdefs.h
! 5588:
! 5589: fi
! 5590:
! 5591: ;;
! 5592: no) ;;
! 5593: *) as_fn_error $? "\"--with-selinux does not take an argument.\"" "$LINENO" 5
! 5594: ;;
! 5595: esac
! 5596: fi
! 5597:
! 5598:
! 5599: # Check whether --enable-gss_krb5_ccache_name was given.
! 5600: if test "${enable_gss_krb5_ccache_name+set}" = set; then :
! 5601: enableval=$enable_gss_krb5_ccache_name; check_gss_krb5_ccache_name=$enableval
! 5602: else
! 5603: check_gss_krb5_ccache_name=no
! 5604: fi
! 5605:
! 5606:
! 5607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
! 5608: $as_echo_n "checking for library containing strerror... " >&6; }
! 5609: if ${ac_cv_search_strerror+:} false; then :
! 5610: $as_echo_n "(cached) " >&6
! 5611: else
! 5612: ac_func_search_save_LIBS=$LIBS
! 5613: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5614: /* end confdefs.h. */
! 5615:
! 5616: /* Override any GCC internal prototype to avoid an error.
! 5617: Use char because int might match the return type of a GCC
! 5618: builtin and then its argument prototype would still apply. */
! 5619: #ifdef __cplusplus
! 5620: extern "C"
! 5621: #endif
! 5622: char strerror ();
! 5623: int
! 5624: main ()
! 5625: {
! 5626: return strerror ();
! 5627: ;
! 5628: return 0;
! 5629: }
! 5630: _ACEOF
! 5631: for ac_lib in '' cposix; do
! 5632: if test -z "$ac_lib"; then
! 5633: ac_res="none required"
! 5634: else
! 5635: ac_res=-l$ac_lib
! 5636: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 5637: fi
! 5638: if ac_fn_c_try_link "$LINENO"; then :
! 5639: ac_cv_search_strerror=$ac_res
! 5640: fi
! 5641: rm -f core conftest.err conftest.$ac_objext \
! 5642: conftest$ac_exeext
! 5643: if ${ac_cv_search_strerror+:} false; then :
! 5644: break
! 5645: fi
! 5646: done
! 5647: if ${ac_cv_search_strerror+:} false; then :
! 5648:
! 5649: else
! 5650: ac_cv_search_strerror=no
! 5651: fi
! 5652: rm conftest.$ac_ext
! 5653: LIBS=$ac_func_search_save_LIBS
! 5654: fi
! 5655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
! 5656: $as_echo "$ac_cv_search_strerror" >&6; }
! 5657: ac_res=$ac_cv_search_strerror
! 5658: if test "$ac_res" != no; then :
! 5659: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 5660:
! 5661: fi
! 5662:
! 5663: ac_ext=c
! 5664: ac_cpp='$CPP $CPPFLAGS'
! 5665: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5666: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5667: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5668: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
! 5669: $as_echo_n "checking how to run the C preprocessor... " >&6; }
! 5670: # On Suns, sometimes $CPP names a directory.
! 5671: if test -n "$CPP" && test -d "$CPP"; then
! 5672: CPP=
! 5673: fi
! 5674: if test -z "$CPP"; then
! 5675: if ${ac_cv_prog_CPP+:} false; then :
! 5676: $as_echo_n "(cached) " >&6
! 5677: else
! 5678: # Double quotes because CPP needs to be expanded
! 5679: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 5680: do
! 5681: ac_preproc_ok=false
! 5682: for ac_c_preproc_warn_flag in '' yes
! 5683: do
! 5684: # Use a header file that comes with gcc, so configuring glibc
! 5685: # with a fresh cross-compiler works.
! 5686: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5687: # <limits.h> exists even on freestanding compilers.
! 5688: # On the NeXT, cc -E runs the code through the compiler's parser,
! 5689: # not just through cpp. "Syntax error" is here to catch this case.
! 5690: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5691: /* end confdefs.h. */
! 5692: #ifdef __STDC__
! 5693: # include <limits.h>
! 5694: #else
! 5695: # include <assert.h>
! 5696: #endif
! 5697: Syntax error
! 5698: _ACEOF
! 5699: if ac_fn_c_try_cpp "$LINENO"; then :
! 5700:
! 5701: else
! 5702: # Broken: fails on valid input.
! 5703: continue
! 5704: fi
! 5705: rm -f conftest.err conftest.i conftest.$ac_ext
! 5706:
! 5707: # OK, works on sane cases. Now check whether nonexistent headers
! 5708: # can be detected and how.
! 5709: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5710: /* end confdefs.h. */
! 5711: #include <ac_nonexistent.h>
! 5712: _ACEOF
! 5713: if ac_fn_c_try_cpp "$LINENO"; then :
! 5714: # Broken: success on invalid input.
! 5715: continue
! 5716: else
! 5717: # Passes both tests.
! 5718: ac_preproc_ok=:
! 5719: break
! 5720: fi
! 5721: rm -f conftest.err conftest.i conftest.$ac_ext
! 5722:
! 5723: done
! 5724: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 5725: rm -f conftest.i conftest.err conftest.$ac_ext
! 5726: if $ac_preproc_ok; then :
! 5727: break
! 5728: fi
! 5729:
! 5730: done
! 5731: ac_cv_prog_CPP=$CPP
! 5732:
! 5733: fi
! 5734: CPP=$ac_cv_prog_CPP
! 5735: else
! 5736: ac_cv_prog_CPP=$CPP
! 5737: fi
! 5738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
! 5739: $as_echo "$CPP" >&6; }
! 5740: ac_preproc_ok=false
! 5741: for ac_c_preproc_warn_flag in '' yes
! 5742: do
! 5743: # Use a header file that comes with gcc, so configuring glibc
! 5744: # with a fresh cross-compiler works.
! 5745: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5746: # <limits.h> exists even on freestanding compilers.
! 5747: # On the NeXT, cc -E runs the code through the compiler's parser,
! 5748: # not just through cpp. "Syntax error" is here to catch this case.
! 5749: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5750: /* end confdefs.h. */
! 5751: #ifdef __STDC__
! 5752: # include <limits.h>
! 5753: #else
! 5754: # include <assert.h>
! 5755: #endif
! 5756: Syntax error
! 5757: _ACEOF
! 5758: if ac_fn_c_try_cpp "$LINENO"; then :
! 5759:
! 5760: else
! 5761: # Broken: fails on valid input.
! 5762: continue
! 5763: fi
! 5764: rm -f conftest.err conftest.i conftest.$ac_ext
! 5765:
! 5766: # OK, works on sane cases. Now check whether nonexistent headers
! 5767: # can be detected and how.
! 5768: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5769: /* end confdefs.h. */
! 5770: #include <ac_nonexistent.h>
! 5771: _ACEOF
! 5772: if ac_fn_c_try_cpp "$LINENO"; then :
! 5773: # Broken: success on invalid input.
! 5774: continue
! 5775: else
! 5776: # Passes both tests.
! 5777: ac_preproc_ok=:
! 5778: break
! 5779: fi
! 5780: rm -f conftest.err conftest.i conftest.$ac_ext
! 5781:
! 5782: done
! 5783: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 5784: rm -f conftest.i conftest.err conftest.$ac_ext
! 5785: if $ac_preproc_ok; then :
! 5786:
! 5787: else
! 5788: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 5789: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 5790: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
! 5791: See \`config.log' for more details" "$LINENO" 5; }
! 5792: fi
! 5793:
! 5794: ac_ext=c
! 5795: ac_cpp='$CPP $CPPFLAGS'
! 5796: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 5797: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 5798: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 5799:
! 5800: if test -n "$ac_tool_prefix"; then
! 5801: # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
! 5802: set dummy ${ac_tool_prefix}ar; ac_word=$2
! 5803: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5804: $as_echo_n "checking for $ac_word... " >&6; }
! 5805: if ${ac_cv_prog_AR+:} false; then :
! 5806: $as_echo_n "(cached) " >&6
! 5807: else
! 5808: if test -n "$AR"; then
! 5809: ac_cv_prog_AR="$AR" # Let the user override the test.
! 5810: else
! 5811: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5812: for as_dir in $PATH
! 5813: do
! 5814: IFS=$as_save_IFS
! 5815: test -z "$as_dir" && as_dir=.
! 5816: for ac_exec_ext in '' $ac_executable_extensions; do
! 5817: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5818: ac_cv_prog_AR="${ac_tool_prefix}ar"
! 5819: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5820: break 2
! 5821: fi
! 5822: done
! 5823: done
! 5824: IFS=$as_save_IFS
! 5825:
! 5826: fi
! 5827: fi
! 5828: AR=$ac_cv_prog_AR
! 5829: if test -n "$AR"; then
! 5830: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! 5831: $as_echo "$AR" >&6; }
! 5832: else
! 5833: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5834: $as_echo "no" >&6; }
! 5835: fi
! 5836:
! 5837:
! 5838: fi
! 5839: if test -z "$ac_cv_prog_AR"; then
! 5840: ac_ct_AR=$AR
! 5841: # Extract the first word of "ar", so it can be a program name with args.
! 5842: set dummy ar; ac_word=$2
! 5843: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5844: $as_echo_n "checking for $ac_word... " >&6; }
! 5845: if ${ac_cv_prog_ac_ct_AR+:} false; then :
! 5846: $as_echo_n "(cached) " >&6
! 5847: else
! 5848: if test -n "$ac_ct_AR"; then
! 5849: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 5850: else
! 5851: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5852: for as_dir in $PATH
! 5853: do
! 5854: IFS=$as_save_IFS
! 5855: test -z "$as_dir" && as_dir=.
! 5856: for ac_exec_ext in '' $ac_executable_extensions; do
! 5857: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5858: ac_cv_prog_ac_ct_AR="ar"
! 5859: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5860: break 2
! 5861: fi
! 5862: done
! 5863: done
! 5864: IFS=$as_save_IFS
! 5865:
! 5866: fi
! 5867: fi
! 5868: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 5869: if test -n "$ac_ct_AR"; then
! 5870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! 5871: $as_echo "$ac_ct_AR" >&6; }
! 5872: else
! 5873: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5874: $as_echo "no" >&6; }
! 5875: fi
! 5876:
! 5877: if test "x$ac_ct_AR" = x; then
! 5878: AR="false"
! 5879: else
! 5880: case $cross_compiling:$ac_tool_warned in
! 5881: yes:)
! 5882: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5883: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5884: ac_tool_warned=yes ;;
! 5885: esac
! 5886: AR=$ac_ct_AR
! 5887: fi
! 5888: else
! 5889: AR="$ac_cv_prog_AR"
! 5890: fi
! 5891:
! 5892: if test -n "$ac_tool_prefix"; then
! 5893: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 5894: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 5895: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5896: $as_echo_n "checking for $ac_word... " >&6; }
! 5897: if ${ac_cv_prog_RANLIB+:} false; then :
! 5898: $as_echo_n "(cached) " >&6
! 5899: else
! 5900: if test -n "$RANLIB"; then
! 5901: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 5902: else
! 5903: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5904: for as_dir in $PATH
! 5905: do
! 5906: IFS=$as_save_IFS
! 5907: test -z "$as_dir" && as_dir=.
! 5908: for ac_exec_ext in '' $ac_executable_extensions; do
! 5909: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5910: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 5911: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5912: break 2
! 5913: fi
! 5914: done
! 5915: done
! 5916: IFS=$as_save_IFS
! 5917:
! 5918: fi
! 5919: fi
! 5920: RANLIB=$ac_cv_prog_RANLIB
! 5921: if test -n "$RANLIB"; then
! 5922: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
! 5923: $as_echo "$RANLIB" >&6; }
! 5924: else
! 5925: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5926: $as_echo "no" >&6; }
! 5927: fi
! 5928:
! 5929:
! 5930: fi
! 5931: if test -z "$ac_cv_prog_RANLIB"; then
! 5932: ac_ct_RANLIB=$RANLIB
! 5933: # Extract the first word of "ranlib", so it can be a program name with args.
! 5934: set dummy ranlib; ac_word=$2
! 5935: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5936: $as_echo_n "checking for $ac_word... " >&6; }
! 5937: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
! 5938: $as_echo_n "(cached) " >&6
! 5939: else
! 5940: if test -n "$ac_ct_RANLIB"; then
! 5941: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 5942: else
! 5943: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5944: for as_dir in $PATH
! 5945: do
! 5946: IFS=$as_save_IFS
! 5947: test -z "$as_dir" && as_dir=.
! 5948: for ac_exec_ext in '' $ac_executable_extensions; do
! 5949: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 5950: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 5951: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5952: break 2
! 5953: fi
! 5954: done
! 5955: done
! 5956: IFS=$as_save_IFS
! 5957:
! 5958: fi
! 5959: fi
! 5960: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 5961: if test -n "$ac_ct_RANLIB"; then
! 5962: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
! 5963: $as_echo "$ac_ct_RANLIB" >&6; }
! 5964: else
! 5965: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5966: $as_echo "no" >&6; }
! 5967: fi
! 5968:
! 5969: if test "x$ac_ct_RANLIB" = x; then
! 5970: RANLIB=":"
! 5971: else
! 5972: case $cross_compiling:$ac_tool_warned in
! 5973: yes:)
! 5974: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5975: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5976: ac_tool_warned=yes ;;
! 5977: esac
! 5978: RANLIB=$ac_ct_RANLIB
! 5979: fi
! 5980: else
! 5981: RANLIB="$ac_cv_prog_RANLIB"
! 5982: fi
! 5983:
! 5984: if test X"$AR" = X"false"; then
! 5985: as_fn_error $? "the \"ar\" utility is required to build sudo" "$LINENO" 5
! 5986: fi
! 5987:
! 5988: if test "x$ac_cv_prog_cc_c89" = "xno"; then
! 5989: as_fn_error $? "Sudo version $PACKAGE_VERSION requires an ANSI C compiler to build." "$LINENO" 5
! 5990: fi
! 5991:
! 5992: if test "$enable_static" = "no"; then
! 5993: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring --disable-static, sudo does not install static libs" >&5
! 5994: $as_echo "$as_me: WARNING: Ignoring --disable-static, sudo does not install static libs" >&2;}
! 5995: enable_static=yes
! 5996: fi
! 5997:
! 5998: ac_aux_dir=
! 5999: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
! 6000: if test -f "$ac_dir/install-sh"; then
! 6001: ac_aux_dir=$ac_dir
! 6002: ac_install_sh="$ac_aux_dir/install-sh -c"
! 6003: break
! 6004: elif test -f "$ac_dir/install.sh"; then
! 6005: ac_aux_dir=$ac_dir
! 6006: ac_install_sh="$ac_aux_dir/install.sh -c"
! 6007: break
! 6008: elif test -f "$ac_dir/shtool"; then
! 6009: ac_aux_dir=$ac_dir
! 6010: ac_install_sh="$ac_aux_dir/shtool install -c"
! 6011: break
! 6012: fi
! 6013: done
! 6014: if test -z "$ac_aux_dir"; then
! 6015: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
! 6016: fi
! 6017:
! 6018: # These three variables are undocumented and unsupported,
! 6019: # and are intended to be withdrawn in a future Autoconf release.
! 6020: # They can cause serious problems if a builder's source tree is in a directory
! 6021: # whose full name contains unusual characters.
! 6022: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 6023: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 6024: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 6025:
! 6026:
! 6027: # Make sure we can run config.sub.
! 6028: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
! 6029: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
! 6030:
! 6031: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
! 6032: $as_echo_n "checking build system type... " >&6; }
! 6033: if ${ac_cv_build+:} false; then :
! 6034: $as_echo_n "(cached) " >&6
! 6035: else
! 6036: ac_build_alias=$build_alias
! 6037: test "x$ac_build_alias" = x &&
! 6038: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
! 6039: test "x$ac_build_alias" = x &&
! 6040: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
! 6041: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
! 6042: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
! 6043:
! 6044: fi
! 6045: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
! 6046: $as_echo "$ac_cv_build" >&6; }
! 6047: case $ac_cv_build in
! 6048: *-*-*) ;;
! 6049: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
! 6050: esac
! 6051: build=$ac_cv_build
! 6052: ac_save_IFS=$IFS; IFS='-'
! 6053: set x $ac_cv_build
! 6054: shift
! 6055: build_cpu=$1
! 6056: build_vendor=$2
! 6057: shift; shift
! 6058: # Remember, the first character of IFS is used to create $*,
! 6059: # except with old shells:
! 6060: build_os=$*
! 6061: IFS=$ac_save_IFS
! 6062: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
! 6063:
! 6064:
! 6065: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
! 6066: $as_echo_n "checking host system type... " >&6; }
! 6067: if ${ac_cv_host+:} false; then :
! 6068: $as_echo_n "(cached) " >&6
! 6069: else
! 6070: if test "x$host_alias" = x; then
! 6071: ac_cv_host=$ac_cv_build
! 6072: else
! 6073: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
! 6074: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
! 6075: fi
! 6076:
! 6077: fi
! 6078: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
! 6079: $as_echo "$ac_cv_host" >&6; }
! 6080: case $ac_cv_host in
! 6081: *-*-*) ;;
! 6082: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
! 6083: esac
! 6084: host=$ac_cv_host
! 6085: ac_save_IFS=$IFS; IFS='-'
! 6086: set x $ac_cv_host
! 6087: shift
! 6088: host_cpu=$1
! 6089: host_vendor=$2
! 6090: shift; shift
! 6091: # Remember, the first character of IFS is used to create $*,
! 6092: # except with old shells:
! 6093: host_os=$*
! 6094: IFS=$ac_save_IFS
! 6095: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
! 6096:
! 6097:
! 6098:
! 6099:
! 6100: case `pwd` in
! 6101: *\ * | *\ *)
! 6102: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
! 6103: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
! 6104: esac
! 6105:
! 6106:
! 6107:
! 6108: macro_version='2.4'
! 6109: macro_revision='1.3293'
! 6110:
! 6111:
! 6112:
! 6113:
! 6114:
! 6115:
! 6116:
! 6117:
! 6118:
! 6119:
! 6120:
! 6121:
! 6122:
! 6123: ltmain="$ac_aux_dir/ltmain.sh"
! 6124:
! 6125: # Backslashify metacharacters that are still active within
! 6126: # double-quoted strings.
! 6127: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
! 6128:
! 6129: # Same as above, but do not quote variable references.
! 6130: double_quote_subst='s/\(["`\\]\)/\\\1/g'
! 6131:
! 6132: # Sed substitution to delay expansion of an escaped shell variable in a
! 6133: # double_quote_subst'ed string.
! 6134: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 6135:
! 6136: # Sed substitution to delay expansion of an escaped single quote.
! 6137: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
! 6138:
! 6139: # Sed substitution to avoid accidental globbing in evaled expressions
! 6140: no_glob_subst='s/\*/\\\*/g'
! 6141:
! 6142: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 6143: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
! 6144: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
! 6145:
! 6146: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
! 6147: $as_echo_n "checking how to print strings... " >&6; }
! 6148: # Test print first, because it will be a builtin if present.
! 6149: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
! 6150: test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
! 6151: ECHO='print -r --'
! 6152: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
! 6153: ECHO='printf %s\n'
! 6154: else
! 6155: # Use this function as a fallback that always works.
! 6156: func_fallback_echo ()
! 6157: {
! 6158: eval 'cat <<_LTECHO_EOF
! 6159: $1
! 6160: _LTECHO_EOF'
! 6161: }
! 6162: ECHO='func_fallback_echo'
! 6163: fi
! 6164:
! 6165: # func_echo_all arg...
! 6166: # Invoke $ECHO with all args, space-separated.
! 6167: func_echo_all ()
! 6168: {
! 6169: $ECHO ""
! 6170: }
! 6171:
! 6172: case "$ECHO" in
! 6173: printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
! 6174: $as_echo "printf" >&6; } ;;
! 6175: print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
! 6176: $as_echo "print -r" >&6; } ;;
! 6177: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
! 6178: $as_echo "cat" >&6; } ;;
! 6179: esac
! 6180:
! 6181:
! 6182:
! 6183:
! 6184:
! 6185:
! 6186:
! 6187:
! 6188:
! 6189:
! 6190:
! 6191:
! 6192:
! 6193:
! 6194: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
! 6195: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
! 6196: if ${ac_cv_path_SED+:} false; then :
! 6197: $as_echo_n "(cached) " >&6
! 6198: else
! 6199: ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
! 6200: for ac_i in 1 2 3 4 5 6 7; do
! 6201: ac_script="$ac_script$as_nl$ac_script"
! 6202: done
! 6203: echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
! 6204: { ac_script=; unset ac_script;}
! 6205: if test -z "$SED"; then
! 6206: ac_path_SED_found=false
! 6207: # Loop through the user's path and test for each of PROGNAME-LIST
! 6208: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6209: for as_dir in $PATH
! 6210: do
! 6211: IFS=$as_save_IFS
! 6212: test -z "$as_dir" && as_dir=.
! 6213: for ac_prog in sed gsed; do
! 6214: for ac_exec_ext in '' $ac_executable_extensions; do
! 6215: ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
! 6216: { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
! 6217: # Check for GNU ac_path_SED and select it if it is found.
! 6218: # Check for GNU $ac_path_SED
! 6219: case `"$ac_path_SED" --version 2>&1` in
! 6220: *GNU*)
! 6221: ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
! 6222: *)
! 6223: ac_count=0
! 6224: $as_echo_n 0123456789 >"conftest.in"
! 6225: while :
! 6226: do
! 6227: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 6228: mv "conftest.tmp" "conftest.in"
! 6229: cp "conftest.in" "conftest.nl"
! 6230: $as_echo '' >> "conftest.nl"
! 6231: "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 6232: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 6233: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 6234: if test $ac_count -gt ${ac_path_SED_max-0}; then
! 6235: # Best one so far, save it but keep looking for a better one
! 6236: ac_cv_path_SED="$ac_path_SED"
! 6237: ac_path_SED_max=$ac_count
! 6238: fi
! 6239: # 10*(2^10) chars as input seems more than enough
! 6240: test $ac_count -gt 10 && break
! 6241: done
! 6242: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 6243: esac
! 6244:
! 6245: $ac_path_SED_found && break 3
! 6246: done
! 6247: done
! 6248: done
! 6249: IFS=$as_save_IFS
! 6250: if test -z "$ac_cv_path_SED"; then
! 6251: as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
! 6252: fi
! 6253: else
! 6254: ac_cv_path_SED=$SED
! 6255: fi
! 6256:
! 6257: fi
! 6258: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
! 6259: $as_echo "$ac_cv_path_SED" >&6; }
! 6260: SED="$ac_cv_path_SED"
! 6261: rm -f conftest.sed
! 6262:
! 6263: test -z "$SED" && SED=sed
! 6264: Xsed="$SED -e 1s/^X//"
! 6265:
! 6266:
! 6267:
! 6268:
! 6269:
! 6270:
! 6271:
! 6272:
! 6273:
! 6274:
! 6275:
! 6276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
! 6277: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
! 6278: if ${ac_cv_path_GREP+:} false; then :
! 6279: $as_echo_n "(cached) " >&6
! 6280: else
! 6281: if test -z "$GREP"; then
! 6282: ac_path_GREP_found=false
! 6283: # Loop through the user's path and test for each of PROGNAME-LIST
! 6284: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6285: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 6286: do
! 6287: IFS=$as_save_IFS
! 6288: test -z "$as_dir" && as_dir=.
! 6289: for ac_prog in grep ggrep; do
! 6290: for ac_exec_ext in '' $ac_executable_extensions; do
! 6291: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 6292: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
! 6293: # Check for GNU ac_path_GREP and select it if it is found.
! 6294: # Check for GNU $ac_path_GREP
! 6295: case `"$ac_path_GREP" --version 2>&1` in
! 6296: *GNU*)
! 6297: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
! 6298: *)
! 6299: ac_count=0
! 6300: $as_echo_n 0123456789 >"conftest.in"
! 6301: while :
! 6302: do
! 6303: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 6304: mv "conftest.tmp" "conftest.in"
! 6305: cp "conftest.in" "conftest.nl"
! 6306: $as_echo 'GREP' >> "conftest.nl"
! 6307: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 6308: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 6309: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 6310: if test $ac_count -gt ${ac_path_GREP_max-0}; then
! 6311: # Best one so far, save it but keep looking for a better one
! 6312: ac_cv_path_GREP="$ac_path_GREP"
! 6313: ac_path_GREP_max=$ac_count
! 6314: fi
! 6315: # 10*(2^10) chars as input seems more than enough
! 6316: test $ac_count -gt 10 && break
! 6317: done
! 6318: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 6319: esac
! 6320:
! 6321: $ac_path_GREP_found && break 3
! 6322: done
! 6323: done
! 6324: done
! 6325: IFS=$as_save_IFS
! 6326: if test -z "$ac_cv_path_GREP"; then
! 6327: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 6328: fi
! 6329: else
! 6330: ac_cv_path_GREP=$GREP
! 6331: fi
! 6332:
! 6333: fi
! 6334: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
! 6335: $as_echo "$ac_cv_path_GREP" >&6; }
! 6336: GREP="$ac_cv_path_GREP"
! 6337:
! 6338:
! 6339: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
! 6340: $as_echo_n "checking for egrep... " >&6; }
! 6341: if ${ac_cv_path_EGREP+:} false; then :
! 6342: $as_echo_n "(cached) " >&6
! 6343: else
! 6344: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
! 6345: then ac_cv_path_EGREP="$GREP -E"
! 6346: else
! 6347: if test -z "$EGREP"; then
! 6348: ac_path_EGREP_found=false
! 6349: # Loop through the user's path and test for each of PROGNAME-LIST
! 6350: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6351: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 6352: do
! 6353: IFS=$as_save_IFS
! 6354: test -z "$as_dir" && as_dir=.
! 6355: for ac_prog in egrep; do
! 6356: for ac_exec_ext in '' $ac_executable_extensions; do
! 6357: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 6358: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
! 6359: # Check for GNU ac_path_EGREP and select it if it is found.
! 6360: # Check for GNU $ac_path_EGREP
! 6361: case `"$ac_path_EGREP" --version 2>&1` in
! 6362: *GNU*)
! 6363: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
! 6364: *)
! 6365: ac_count=0
! 6366: $as_echo_n 0123456789 >"conftest.in"
! 6367: while :
! 6368: do
! 6369: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 6370: mv "conftest.tmp" "conftest.in"
! 6371: cp "conftest.in" "conftest.nl"
! 6372: $as_echo 'EGREP' >> "conftest.nl"
! 6373: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 6374: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 6375: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 6376: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
! 6377: # Best one so far, save it but keep looking for a better one
! 6378: ac_cv_path_EGREP="$ac_path_EGREP"
! 6379: ac_path_EGREP_max=$ac_count
! 6380: fi
! 6381: # 10*(2^10) chars as input seems more than enough
! 6382: test $ac_count -gt 10 && break
! 6383: done
! 6384: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 6385: esac
! 6386:
! 6387: $ac_path_EGREP_found && break 3
! 6388: done
! 6389: done
! 6390: done
! 6391: IFS=$as_save_IFS
! 6392: if test -z "$ac_cv_path_EGREP"; then
! 6393: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 6394: fi
! 6395: else
! 6396: ac_cv_path_EGREP=$EGREP
! 6397: fi
! 6398:
! 6399: fi
! 6400: fi
! 6401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
! 6402: $as_echo "$ac_cv_path_EGREP" >&6; }
! 6403: EGREP="$ac_cv_path_EGREP"
! 6404:
! 6405:
! 6406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
! 6407: $as_echo_n "checking for fgrep... " >&6; }
! 6408: if ${ac_cv_path_FGREP+:} false; then :
! 6409: $as_echo_n "(cached) " >&6
! 6410: else
! 6411: if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
! 6412: then ac_cv_path_FGREP="$GREP -F"
! 6413: else
! 6414: if test -z "$FGREP"; then
! 6415: ac_path_FGREP_found=false
! 6416: # Loop through the user's path and test for each of PROGNAME-LIST
! 6417: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6418: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 6419: do
! 6420: IFS=$as_save_IFS
! 6421: test -z "$as_dir" && as_dir=.
! 6422: for ac_prog in fgrep; do
! 6423: for ac_exec_ext in '' $ac_executable_extensions; do
! 6424: ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
! 6425: { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
! 6426: # Check for GNU ac_path_FGREP and select it if it is found.
! 6427: # Check for GNU $ac_path_FGREP
! 6428: case `"$ac_path_FGREP" --version 2>&1` in
! 6429: *GNU*)
! 6430: ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
! 6431: *)
! 6432: ac_count=0
! 6433: $as_echo_n 0123456789 >"conftest.in"
! 6434: while :
! 6435: do
! 6436: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 6437: mv "conftest.tmp" "conftest.in"
! 6438: cp "conftest.in" "conftest.nl"
! 6439: $as_echo 'FGREP' >> "conftest.nl"
! 6440: "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 6441: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 6442: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 6443: if test $ac_count -gt ${ac_path_FGREP_max-0}; then
! 6444: # Best one so far, save it but keep looking for a better one
! 6445: ac_cv_path_FGREP="$ac_path_FGREP"
! 6446: ac_path_FGREP_max=$ac_count
! 6447: fi
! 6448: # 10*(2^10) chars as input seems more than enough
! 6449: test $ac_count -gt 10 && break
! 6450: done
! 6451: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 6452: esac
! 6453:
! 6454: $ac_path_FGREP_found && break 3
! 6455: done
! 6456: done
! 6457: done
! 6458: IFS=$as_save_IFS
! 6459: if test -z "$ac_cv_path_FGREP"; then
! 6460: as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 6461: fi
! 6462: else
! 6463: ac_cv_path_FGREP=$FGREP
! 6464: fi
! 6465:
! 6466: fi
! 6467: fi
! 6468: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
! 6469: $as_echo "$ac_cv_path_FGREP" >&6; }
! 6470: FGREP="$ac_cv_path_FGREP"
! 6471:
! 6472:
! 6473: test -z "$GREP" && GREP=grep
! 6474:
! 6475:
! 6476:
! 6477:
! 6478:
! 6479:
! 6480:
! 6481:
! 6482:
! 6483:
! 6484:
! 6485:
! 6486:
! 6487:
! 6488:
! 6489:
! 6490:
! 6491:
! 6492:
! 6493: # Check whether --with-gnu-ld was given.
! 6494: if test "${with_gnu_ld+set}" = set; then :
! 6495: withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
! 6496: else
! 6497: with_gnu_ld=no
! 6498: fi
! 6499:
! 6500: ac_prog=ld
! 6501: if test "$GCC" = yes; then
! 6502: # Check if gcc -print-prog-name=ld gives a path.
! 6503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
! 6504: $as_echo_n "checking for ld used by $CC... " >&6; }
! 6505: case $host in
! 6506: *-*-mingw*)
! 6507: # gcc leaves a trailing carriage return which upsets mingw
! 6508: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 6509: *)
! 6510: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 6511: esac
! 6512: case $ac_prog in
! 6513: # Accept absolute paths.
! 6514: [\\/]* | ?:[\\/]*)
! 6515: re_direlt='/[^/][^/]*/\.\./'
! 6516: # Canonicalize the pathname of ld
! 6517: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
! 6518: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
! 6519: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
! 6520: done
! 6521: test -z "$LD" && LD="$ac_prog"
! 6522: ;;
! 6523: "")
! 6524: # If it fails, then pretend we aren't using GCC.
! 6525: ac_prog=ld
! 6526: ;;
! 6527: *)
! 6528: # If it is relative, then search for the first ld in PATH.
! 6529: with_gnu_ld=unknown
! 6530: ;;
! 6531: esac
! 6532: elif test "$with_gnu_ld" = yes; then
! 6533: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
! 6534: $as_echo_n "checking for GNU ld... " >&6; }
! 6535: else
! 6536: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
! 6537: $as_echo_n "checking for non-GNU ld... " >&6; }
! 6538: fi
! 6539: if ${lt_cv_path_LD+:} false; then :
! 6540: $as_echo_n "(cached) " >&6
! 6541: else
! 6542: if test -z "$LD"; then
! 6543: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 6544: for ac_dir in $PATH; do
! 6545: IFS="$lt_save_ifs"
! 6546: test -z "$ac_dir" && ac_dir=.
! 6547: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 6548: lt_cv_path_LD="$ac_dir/$ac_prog"
! 6549: # Check to see if the program is GNU ld. I'd rather use --version,
! 6550: # but apparently some variants of GNU ld only accept -v.
! 6551: # Break only if it was the GNU/non-GNU ld that we prefer.
! 6552: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 6553: *GNU* | *'with BFD'*)
! 6554: test "$with_gnu_ld" != no && break
! 6555: ;;
! 6556: *)
! 6557: test "$with_gnu_ld" != yes && break
! 6558: ;;
! 6559: esac
! 6560: fi
! 6561: done
! 6562: IFS="$lt_save_ifs"
! 6563: else
! 6564: lt_cv_path_LD="$LD" # Let the user override the test with a path.
! 6565: fi
! 6566: fi
! 6567:
! 6568: LD="$lt_cv_path_LD"
! 6569: if test -n "$LD"; then
! 6570: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
! 6571: $as_echo "$LD" >&6; }
! 6572: else
! 6573: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6574: $as_echo "no" >&6; }
! 6575: fi
! 6576: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
! 6577: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
! 6578: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
! 6579: if ${lt_cv_prog_gnu_ld+:} false; then :
! 6580: $as_echo_n "(cached) " >&6
! 6581: else
! 6582: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 6583: case `$LD -v 2>&1 </dev/null` in
! 6584: *GNU* | *'with BFD'*)
! 6585: lt_cv_prog_gnu_ld=yes
! 6586: ;;
! 6587: *)
! 6588: lt_cv_prog_gnu_ld=no
! 6589: ;;
! 6590: esac
! 6591: fi
! 6592: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
! 6593: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
! 6594: with_gnu_ld=$lt_cv_prog_gnu_ld
! 6595:
! 6596:
! 6597:
! 6598:
! 6599:
! 6600:
! 6601:
! 6602:
! 6603:
! 6604: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
! 6605: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
! 6606: if ${lt_cv_path_NM+:} false; then :
! 6607: $as_echo_n "(cached) " >&6
! 6608: else
! 6609: if test -n "$NM"; then
! 6610: # Let the user override the test.
! 6611: lt_cv_path_NM="$NM"
! 6612: else
! 6613: lt_nm_to_check="${ac_tool_prefix}nm"
! 6614: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
! 6615: lt_nm_to_check="$lt_nm_to_check nm"
! 6616: fi
! 6617: for lt_tmp_nm in $lt_nm_to_check; do
! 6618: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 6619: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
! 6620: IFS="$lt_save_ifs"
! 6621: test -z "$ac_dir" && ac_dir=.
! 6622: tmp_nm="$ac_dir/$lt_tmp_nm"
! 6623: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
! 6624: # Check to see if the nm accepts a BSD-compat flag.
! 6625: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 6626: # nm: unknown option "B" ignored
! 6627: # Tru64's nm complains that /dev/null is an invalid object file
! 6628: case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
! 6629: */dev/null* | *'Invalid file or object type'*)
! 6630: lt_cv_path_NM="$tmp_nm -B"
! 6631: break
! 6632: ;;
! 6633: *)
! 6634: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
! 6635: */dev/null*)
! 6636: lt_cv_path_NM="$tmp_nm -p"
! 6637: break
! 6638: ;;
! 6639: *)
! 6640: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 6641: continue # so that we can try to find one that supports BSD flags
! 6642: ;;
! 6643: esac
! 6644: ;;
! 6645: esac
! 6646: fi
! 6647: done
! 6648: IFS="$lt_save_ifs"
! 6649: done
! 6650: : ${lt_cv_path_NM=no}
! 6651: fi
! 6652: fi
! 6653: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
! 6654: $as_echo "$lt_cv_path_NM" >&6; }
! 6655: if test "$lt_cv_path_NM" != "no"; then
! 6656: NM="$lt_cv_path_NM"
! 6657: else
! 6658: # Didn't find any BSD compatible name lister, look for dumpbin.
! 6659: if test -n "$DUMPBIN"; then :
! 6660: # Let the user override the test.
! 6661: else
! 6662: if test -n "$ac_tool_prefix"; then
! 6663: for ac_prog in dumpbin "link -dump"
! 6664: do
! 6665: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 6666: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 6667: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6668: $as_echo_n "checking for $ac_word... " >&6; }
! 6669: if ${ac_cv_prog_DUMPBIN+:} false; then :
! 6670: $as_echo_n "(cached) " >&6
! 6671: else
! 6672: if test -n "$DUMPBIN"; then
! 6673: ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
! 6674: else
! 6675: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6676: for as_dir in $PATH
! 6677: do
! 6678: IFS=$as_save_IFS
! 6679: test -z "$as_dir" && as_dir=.
! 6680: for ac_exec_ext in '' $ac_executable_extensions; do
! 6681: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6682: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
! 6683: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6684: break 2
! 6685: fi
! 6686: done
! 6687: done
! 6688: IFS=$as_save_IFS
! 6689:
! 6690: fi
! 6691: fi
! 6692: DUMPBIN=$ac_cv_prog_DUMPBIN
! 6693: if test -n "$DUMPBIN"; then
! 6694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
! 6695: $as_echo "$DUMPBIN" >&6; }
! 6696: else
! 6697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6698: $as_echo "no" >&6; }
! 6699: fi
! 6700:
! 6701:
! 6702: test -n "$DUMPBIN" && break
! 6703: done
! 6704: fi
! 6705: if test -z "$DUMPBIN"; then
! 6706: ac_ct_DUMPBIN=$DUMPBIN
! 6707: for ac_prog in dumpbin "link -dump"
! 6708: do
! 6709: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 6710: set dummy $ac_prog; ac_word=$2
! 6711: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6712: $as_echo_n "checking for $ac_word... " >&6; }
! 6713: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
! 6714: $as_echo_n "(cached) " >&6
! 6715: else
! 6716: if test -n "$ac_ct_DUMPBIN"; then
! 6717: ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
! 6718: else
! 6719: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6720: for as_dir in $PATH
! 6721: do
! 6722: IFS=$as_save_IFS
! 6723: test -z "$as_dir" && as_dir=.
! 6724: for ac_exec_ext in '' $ac_executable_extensions; do
! 6725: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 6726: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
! 6727: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6728: break 2
! 6729: fi
! 6730: done
! 6731: done
! 6732: IFS=$as_save_IFS
! 6733:
! 6734: fi
! 6735: fi
! 6736: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
! 6737: if test -n "$ac_ct_DUMPBIN"; then
! 6738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
! 6739: $as_echo "$ac_ct_DUMPBIN" >&6; }
! 6740: else
! 6741: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6742: $as_echo "no" >&6; }
! 6743: fi
! 6744:
! 6745:
! 6746: test -n "$ac_ct_DUMPBIN" && break
! 6747: done
! 6748:
! 6749: if test "x$ac_ct_DUMPBIN" = x; then
! 6750: DUMPBIN=":"
! 6751: else
! 6752: case $cross_compiling:$ac_tool_warned in
! 6753: yes:)
! 6754: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 6755: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6756: ac_tool_warned=yes ;;
! 6757: esac
! 6758: DUMPBIN=$ac_ct_DUMPBIN
! 6759: fi
! 6760: fi
! 6761:
! 6762: case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
! 6763: *COFF*)
! 6764: DUMPBIN="$DUMPBIN -symbols"
! 6765: ;;
! 6766: *)
! 6767: DUMPBIN=:
! 6768: ;;
! 6769: esac
! 6770: fi
! 6771:
! 6772: if test "$DUMPBIN" != ":"; then
! 6773: NM="$DUMPBIN"
! 6774: fi
! 6775: fi
! 6776: test -z "$NM" && NM=nm
! 6777:
! 6778:
! 6779:
! 6780:
! 6781:
! 6782:
! 6783: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
! 6784: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
! 6785: if ${lt_cv_nm_interface+:} false; then :
! 6786: $as_echo_n "(cached) " >&6
! 6787: else
! 6788: lt_cv_nm_interface="BSD nm"
! 6789: echo "int some_variable = 0;" > conftest.$ac_ext
! 6790: (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
! 6791: (eval "$ac_compile" 2>conftest.err)
! 6792: cat conftest.err >&5
! 6793: (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
! 6794: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
! 6795: cat conftest.err >&5
! 6796: (eval echo "\"\$as_me:$LINENO: output\"" >&5)
! 6797: cat conftest.out >&5
! 6798: if $GREP 'External.*some_variable' conftest.out > /dev/null; then
! 6799: lt_cv_nm_interface="MS dumpbin"
! 6800: fi
! 6801: rm -f conftest*
! 6802: fi
! 6803: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
! 6804: $as_echo "$lt_cv_nm_interface" >&6; }
! 6805:
! 6806: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
! 6807: $as_echo_n "checking whether ln -s works... " >&6; }
! 6808: LN_S=$as_ln_s
! 6809: if test "$LN_S" = "ln -s"; then
! 6810: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 6811: $as_echo "yes" >&6; }
! 6812: else
! 6813: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
! 6814: $as_echo "no, using $LN_S" >&6; }
! 6815: fi
! 6816:
! 6817: # find the maximum length of command line arguments
! 6818: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
! 6819: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
! 6820: if ${lt_cv_sys_max_cmd_len+:} false; then :
! 6821: $as_echo_n "(cached) " >&6
! 6822: else
! 6823: i=0
! 6824: teststring="ABCD"
! 6825:
! 6826: case $build_os in
! 6827: msdosdjgpp*)
! 6828: # On DJGPP, this test can blow up pretty badly due to problems in libc
! 6829: # (any single argument exceeding 2000 bytes causes a buffer overrun
! 6830: # during glob expansion). Even if it were fixed, the result of this
! 6831: # check would be larger than it should be.
! 6832: lt_cv_sys_max_cmd_len=12288; # 12K is about right
! 6833: ;;
! 6834:
! 6835: gnu*)
! 6836: # Under GNU Hurd, this test is not required because there is
! 6837: # no limit to the length of command line arguments.
! 6838: # Libtool will interpret -1 as no limit whatsoever
! 6839: lt_cv_sys_max_cmd_len=-1;
! 6840: ;;
! 6841:
! 6842: cygwin* | mingw* | cegcc*)
! 6843: # On Win9x/ME, this test blows up -- it succeeds, but takes
! 6844: # about 5 minutes as the teststring grows exponentially.
! 6845: # Worse, since 9x/ME are not pre-emptively multitasking,
! 6846: # you end up with a "frozen" computer, even though with patience
! 6847: # the test eventually succeeds (with a max line length of 256k).
! 6848: # Instead, let's just punt: use the minimum linelength reported by
! 6849: # all of the supported platforms: 8192 (on NT/2K/XP).
! 6850: lt_cv_sys_max_cmd_len=8192;
! 6851: ;;
! 6852:
! 6853: mint*)
! 6854: # On MiNT this can take a long time and run out of memory.
! 6855: lt_cv_sys_max_cmd_len=8192;
! 6856: ;;
! 6857:
! 6858: amigaos*)
! 6859: # On AmigaOS with pdksh, this test takes hours, literally.
! 6860: # So we just punt and use a minimum line length of 8192.
! 6861: lt_cv_sys_max_cmd_len=8192;
! 6862: ;;
! 6863:
! 6864: netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
! 6865: # This has been around since 386BSD, at least. Likely further.
! 6866: if test -x /sbin/sysctl; then
! 6867: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
! 6868: elif test -x /usr/sbin/sysctl; then
! 6869: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
! 6870: else
! 6871: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
! 6872: fi
! 6873: # And add a safety zone
! 6874: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 6875: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 6876: ;;
! 6877:
! 6878: interix*)
! 6879: # We know the value 262144 and hardcode it with a safety zone (like BSD)
! 6880: lt_cv_sys_max_cmd_len=196608
! 6881: ;;
! 6882:
! 6883: osf*)
! 6884: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
! 6885: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
! 6886: # nice to cause kernel panics so lets avoid the loop below.
! 6887: # First set a reasonable default.
! 6888: lt_cv_sys_max_cmd_len=16384
! 6889: #
! 6890: if test -x /sbin/sysconfig; then
! 6891: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
! 6892: *1*) lt_cv_sys_max_cmd_len=-1 ;;
! 6893: esac
! 6894: fi
! 6895: ;;
! 6896: sco3.2v5*)
! 6897: lt_cv_sys_max_cmd_len=102400
! 6898: ;;
! 6899: sysv5* | sco5v6* | sysv4.2uw2*)
! 6900: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
! 6901: if test -n "$kargmax"; then
! 6902: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
! 6903: else
! 6904: lt_cv_sys_max_cmd_len=32768
! 6905: fi
! 6906: ;;
! 6907: *)
! 6908: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
! 6909: if test -n "$lt_cv_sys_max_cmd_len"; then
! 6910: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 6911: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 6912: else
! 6913: # Make teststring a little bigger before we do anything with it.
! 6914: # a 1K string should be a reasonable start.
! 6915: for i in 1 2 3 4 5 6 7 8 ; do
! 6916: teststring=$teststring$teststring
! 6917: done
! 6918: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
! 6919: # If test is not a shell built-in, we'll probably end up computing a
! 6920: # maximum length that is only half of the actual maximum length, but
! 6921: # we can't tell.
! 6922: while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
! 6923: = "X$teststring$teststring"; } >/dev/null 2>&1 &&
! 6924: test $i != 17 # 1/2 MB should be enough
! 6925: do
! 6926: i=`expr $i + 1`
! 6927: teststring=$teststring$teststring
! 6928: done
! 6929: # Only check the string length outside the loop.
! 6930: lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
! 6931: teststring=
! 6932: # Add a significant safety factor because C++ compilers can tack on
! 6933: # massive amounts of additional arguments before passing them to the
! 6934: # linker. It appears as though 1/2 is a usable value.
! 6935: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
! 6936: fi
! 6937: ;;
! 6938: esac
! 6939:
! 6940: fi
! 6941:
! 6942: if test -n $lt_cv_sys_max_cmd_len ; then
! 6943: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
! 6944: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
! 6945: else
! 6946: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
! 6947: $as_echo "none" >&6; }
! 6948: fi
! 6949: max_cmd_len=$lt_cv_sys_max_cmd_len
! 6950:
! 6951:
! 6952:
! 6953:
! 6954:
! 6955:
! 6956: : ${CP="cp -f"}
! 6957: : ${MV="mv -f"}
! 6958: : ${RM="rm -f"}
! 6959:
! 6960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
! 6961: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
! 6962: # Try some XSI features
! 6963: xsi_shell=no
! 6964: ( _lt_dummy="a/b/c"
! 6965: test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
! 6966: = c,a/b,b/c, \
! 6967: && eval 'test $(( 1 + 1 )) -eq 2 \
! 6968: && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
! 6969: && xsi_shell=yes
! 6970: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
! 6971: $as_echo "$xsi_shell" >&6; }
! 6972:
! 6973:
! 6974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
! 6975: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
! 6976: lt_shell_append=no
! 6977: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
! 6978: >/dev/null 2>&1 \
! 6979: && lt_shell_append=yes
! 6980: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
! 6981: $as_echo "$lt_shell_append" >&6; }
! 6982:
! 6983:
! 6984: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 6985: lt_unset=unset
! 6986: else
! 6987: lt_unset=false
! 6988: fi
! 6989:
! 6990:
! 6991:
! 6992:
! 6993:
! 6994: # test EBCDIC or ASCII
! 6995: case `echo X|tr X '\101'` in
! 6996: A) # ASCII based system
! 6997: # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
! 6998: lt_SP2NL='tr \040 \012'
! 6999: lt_NL2SP='tr \015\012 \040\040'
! 7000: ;;
! 7001: *) # EBCDIC based system
! 7002: lt_SP2NL='tr \100 \n'
! 7003: lt_NL2SP='tr \r\n \100\100'
! 7004: ;;
! 7005: esac
! 7006:
! 7007:
! 7008:
! 7009:
! 7010:
! 7011:
! 7012:
! 7013:
! 7014:
! 7015: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
! 7016: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
! 7017: if ${lt_cv_to_host_file_cmd+:} false; then :
! 7018: $as_echo_n "(cached) " >&6
! 7019: else
! 7020: case $host in
! 7021: *-*-mingw* )
! 7022: case $build in
! 7023: *-*-mingw* ) # actually msys
! 7024: lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
! 7025: ;;
! 7026: *-*-cygwin* )
! 7027: lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
! 7028: ;;
! 7029: * ) # otherwise, assume *nix
! 7030: lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
! 7031: ;;
! 7032: esac
! 7033: ;;
! 7034: *-*-cygwin* )
! 7035: case $build in
! 7036: *-*-mingw* ) # actually msys
! 7037: lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
! 7038: ;;
! 7039: *-*-cygwin* )
! 7040: lt_cv_to_host_file_cmd=func_convert_file_noop
! 7041: ;;
! 7042: * ) # otherwise, assume *nix
! 7043: lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
! 7044: ;;
! 7045: esac
! 7046: ;;
! 7047: * ) # unhandled hosts (and "normal" native builds)
! 7048: lt_cv_to_host_file_cmd=func_convert_file_noop
! 7049: ;;
! 7050: esac
! 7051:
! 7052: fi
! 7053:
! 7054: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 7055: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
! 7056: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
! 7057:
! 7058:
! 7059:
! 7060:
! 7061:
! 7062: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
! 7063: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
! 7064: if ${lt_cv_to_tool_file_cmd+:} false; then :
! 7065: $as_echo_n "(cached) " >&6
! 7066: else
! 7067: #assume ordinary cross tools, or native build.
! 7068: lt_cv_to_tool_file_cmd=func_convert_file_noop
! 7069: case $host in
! 7070: *-*-mingw* )
! 7071: case $build in
! 7072: *-*-mingw* ) # actually msys
! 7073: lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
! 7074: ;;
! 7075: esac
! 7076: ;;
! 7077: esac
! 7078:
! 7079: fi
! 7080:
! 7081: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 7082: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
! 7083: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
! 7084:
! 7085:
! 7086:
! 7087:
! 7088:
! 7089: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
! 7090: $as_echo_n "checking for $LD option to reload object files... " >&6; }
! 7091: if ${lt_cv_ld_reload_flag+:} false; then :
! 7092: $as_echo_n "(cached) " >&6
! 7093: else
! 7094: lt_cv_ld_reload_flag='-r'
! 7095: fi
! 7096: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
! 7097: $as_echo "$lt_cv_ld_reload_flag" >&6; }
! 7098: reload_flag=$lt_cv_ld_reload_flag
! 7099: case $reload_flag in
! 7100: "" | " "*) ;;
! 7101: *) reload_flag=" $reload_flag" ;;
! 7102: esac
! 7103: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 7104: case $host_os in
! 7105: cygwin* | mingw* | pw32* | cegcc*)
! 7106: if test "$GCC" != yes; then
! 7107: reload_cmds=false
! 7108: fi
! 7109: ;;
! 7110: darwin*)
! 7111: if test "$GCC" = yes; then
! 7112: reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
! 7113: else
! 7114: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 7115: fi
! 7116: ;;
! 7117: esac
! 7118:
! 7119:
! 7120:
! 7121:
! 7122:
! 7123:
! 7124:
! 7125:
! 7126:
! 7127: if test -n "$ac_tool_prefix"; then
! 7128: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 7129: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 7130: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7131: $as_echo_n "checking for $ac_word... " >&6; }
! 7132: if ${ac_cv_prog_OBJDUMP+:} false; then :
! 7133: $as_echo_n "(cached) " >&6
! 7134: else
! 7135: if test -n "$OBJDUMP"; then
! 7136: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 7137: else
! 7138: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7139: for as_dir in $PATH
! 7140: do
! 7141: IFS=$as_save_IFS
! 7142: test -z "$as_dir" && as_dir=.
! 7143: for ac_exec_ext in '' $ac_executable_extensions; do
! 7144: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7145: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 7146: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7147: break 2
! 7148: fi
! 7149: done
! 7150: done
! 7151: IFS=$as_save_IFS
! 7152:
! 7153: fi
! 7154: fi
! 7155: OBJDUMP=$ac_cv_prog_OBJDUMP
! 7156: if test -n "$OBJDUMP"; then
! 7157: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
! 7158: $as_echo "$OBJDUMP" >&6; }
! 7159: else
! 7160: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7161: $as_echo "no" >&6; }
! 7162: fi
! 7163:
! 7164:
! 7165: fi
! 7166: if test -z "$ac_cv_prog_OBJDUMP"; then
! 7167: ac_ct_OBJDUMP=$OBJDUMP
! 7168: # Extract the first word of "objdump", so it can be a program name with args.
! 7169: set dummy objdump; ac_word=$2
! 7170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7171: $as_echo_n "checking for $ac_word... " >&6; }
! 7172: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
! 7173: $as_echo_n "(cached) " >&6
! 7174: else
! 7175: if test -n "$ac_ct_OBJDUMP"; then
! 7176: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
! 7177: else
! 7178: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7179: for as_dir in $PATH
! 7180: do
! 7181: IFS=$as_save_IFS
! 7182: test -z "$as_dir" && as_dir=.
! 7183: for ac_exec_ext in '' $ac_executable_extensions; do
! 7184: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7185: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 7186: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7187: break 2
! 7188: fi
! 7189: done
! 7190: done
! 7191: IFS=$as_save_IFS
! 7192:
! 7193: fi
! 7194: fi
! 7195: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 7196: if test -n "$ac_ct_OBJDUMP"; then
! 7197: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
! 7198: $as_echo "$ac_ct_OBJDUMP" >&6; }
! 7199: else
! 7200: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7201: $as_echo "no" >&6; }
! 7202: fi
! 7203:
! 7204: if test "x$ac_ct_OBJDUMP" = x; then
! 7205: OBJDUMP="false"
! 7206: else
! 7207: case $cross_compiling:$ac_tool_warned in
! 7208: yes:)
! 7209: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7210: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7211: ac_tool_warned=yes ;;
! 7212: esac
! 7213: OBJDUMP=$ac_ct_OBJDUMP
! 7214: fi
! 7215: else
! 7216: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 7217: fi
! 7218:
! 7219: test -z "$OBJDUMP" && OBJDUMP=objdump
! 7220:
! 7221:
! 7222:
! 7223:
! 7224:
! 7225:
! 7226:
! 7227:
! 7228:
! 7229: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
! 7230: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
! 7231: if ${lt_cv_deplibs_check_method+:} false; then :
! 7232: $as_echo_n "(cached) " >&6
! 7233: else
! 7234: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 7235: lt_cv_file_magic_test_file=
! 7236: lt_cv_deplibs_check_method='unknown'
! 7237: # Need to set the preceding variable on all platforms that support
! 7238: # interlibrary dependencies.
! 7239: # 'none' -- dependencies not supported.
! 7240: # `unknown' -- same as none, but documents that we really don't know.
! 7241: # 'pass_all' -- all dependencies passed with no checks.
! 7242: # 'test_compile' -- check by making test program.
! 7243: # 'file_magic [[regex]]' -- check by looking for files in library path
! 7244: # which responds to the $file_magic_cmd with a given extended regex.
! 7245: # If you have `file' or equivalent on your system and you're not sure
! 7246: # whether `pass_all' will *always* work, you probably want this one.
! 7247:
! 7248: case $host_os in
! 7249: aix[4-9]*)
! 7250: lt_cv_deplibs_check_method=pass_all
! 7251: ;;
! 7252:
! 7253: beos*)
! 7254: lt_cv_deplibs_check_method=pass_all
! 7255: ;;
! 7256:
! 7257: bsdi[45]*)
! 7258: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 7259: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 7260: lt_cv_file_magic_test_file=/shlib/libc.so
! 7261: ;;
! 7262:
! 7263: cygwin*)
! 7264: # func_win32_libid is a shell function defined in ltmain.sh
! 7265: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 7266: lt_cv_file_magic_cmd='func_win32_libid'
! 7267: ;;
! 7268:
! 7269: mingw* | pw32*)
! 7270: # Base MSYS/MinGW do not provide the 'file' command needed by
! 7271: # func_win32_libid shell function, so use a weaker test based on 'objdump',
! 7272: # unless we find 'file', for example because we are cross-compiling.
! 7273: # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
! 7274: if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
! 7275: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 7276: lt_cv_file_magic_cmd='func_win32_libid'
! 7277: else
! 7278: # Keep this pattern in sync with the one in func_win32_libid.
! 7279: lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
! 7280: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 7281: fi
! 7282: ;;
! 7283:
! 7284: cegcc*)
! 7285: # use the weaker test based on 'objdump'. See mingw*.
! 7286: lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
! 7287: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 7288: ;;
! 7289:
! 7290: darwin* | rhapsody*)
! 7291: lt_cv_deplibs_check_method=pass_all
! 7292: ;;
! 7293:
! 7294: freebsd* | dragonfly*)
! 7295: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 7296: case $host_cpu in
! 7297: i*86 )
! 7298: # Not sure whether the presence of OpenBSD here was a mistake.
! 7299: # Let's accept both of them until this is cleared up.
! 7300: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
! 7301: lt_cv_file_magic_cmd=/usr/bin/file
! 7302: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 7303: ;;
! 7304: esac
! 7305: else
! 7306: lt_cv_deplibs_check_method=pass_all
! 7307: fi
! 7308: ;;
! 7309:
! 7310: gnu*)
! 7311: lt_cv_deplibs_check_method=pass_all
! 7312: ;;
! 7313:
! 7314: haiku*)
! 7315: lt_cv_deplibs_check_method=pass_all
! 7316: ;;
! 7317:
! 7318: hpux10.20* | hpux11*)
! 7319: lt_cv_file_magic_cmd=/usr/bin/file
! 7320: case $host_cpu in
! 7321: ia64*)
! 7322: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
! 7323: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
! 7324: ;;
! 7325: hppa*64*)
! 7326: 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]'
! 7327: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
! 7328: ;;
! 7329: *)
! 7330: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
! 7331: lt_cv_file_magic_test_file=/usr/lib/libc.sl
! 7332: ;;
! 7333: esac
! 7334: ;;
! 7335:
! 7336: interix[3-9]*)
! 7337: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
! 7338: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
! 7339: ;;
! 7340:
! 7341: irix5* | irix6* | nonstopux*)
! 7342: case $LD in
! 7343: *-32|*"-32 ") libmagic=32-bit;;
! 7344: *-n32|*"-n32 ") libmagic=N32;;
! 7345: *-64|*"-64 ") libmagic=64-bit;;
! 7346: *) libmagic=never-match;;
! 7347: esac
! 7348: lt_cv_deplibs_check_method=pass_all
! 7349: ;;
! 7350:
! 7351: # This must be Linux ELF.
! 7352: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 7353: lt_cv_deplibs_check_method=pass_all
! 7354: ;;
! 7355:
! 7356: netbsd*)
! 7357: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 7358: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 7359: else
! 7360: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
! 7361: fi
! 7362: ;;
! 7363:
! 7364: newos6*)
! 7365: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
! 7366: lt_cv_file_magic_cmd=/usr/bin/file
! 7367: lt_cv_file_magic_test_file=/usr/lib/libnls.so
! 7368: ;;
! 7369:
! 7370: *nto* | *qnx*)
! 7371: lt_cv_deplibs_check_method=pass_all
! 7372: ;;
! 7373:
! 7374: openbsd*)
! 7375: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 7376: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
! 7377: else
! 7378: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 7379: fi
! 7380: ;;
! 7381:
! 7382: osf3* | osf4* | osf5*)
! 7383: lt_cv_deplibs_check_method=pass_all
! 7384: ;;
! 7385:
! 7386: rdos*)
! 7387: lt_cv_deplibs_check_method=pass_all
! 7388: ;;
! 7389:
! 7390: solaris*)
! 7391: lt_cv_deplibs_check_method=pass_all
! 7392: ;;
! 7393:
! 7394: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 7395: lt_cv_deplibs_check_method=pass_all
! 7396: ;;
! 7397:
! 7398: sysv4 | sysv4.3*)
! 7399: case $host_vendor in
! 7400: motorola)
! 7401: 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]'
! 7402: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
! 7403: ;;
! 7404: ncr)
! 7405: lt_cv_deplibs_check_method=pass_all
! 7406: ;;
! 7407: sequent)
! 7408: lt_cv_file_magic_cmd='/bin/file'
! 7409: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
! 7410: ;;
! 7411: sni)
! 7412: lt_cv_file_magic_cmd='/bin/file'
! 7413: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
! 7414: lt_cv_file_magic_test_file=/lib/libc.so
! 7415: ;;
! 7416: siemens)
! 7417: lt_cv_deplibs_check_method=pass_all
! 7418: ;;
! 7419: pc)
! 7420: lt_cv_deplibs_check_method=pass_all
! 7421: ;;
! 7422: esac
! 7423: ;;
! 7424:
! 7425: tpf*)
! 7426: lt_cv_deplibs_check_method=pass_all
! 7427: ;;
! 7428: esac
! 7429:
! 7430: fi
! 7431: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
! 7432: $as_echo "$lt_cv_deplibs_check_method" >&6; }
! 7433:
! 7434: file_magic_glob=
! 7435: want_nocaseglob=no
! 7436: if test "$build" = "$host"; then
! 7437: case $host_os in
! 7438: mingw* | pw32*)
! 7439: if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
! 7440: want_nocaseglob=yes
! 7441: else
! 7442: file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
! 7443: fi
! 7444: ;;
! 7445: esac
! 7446: fi
! 7447:
! 7448: file_magic_cmd=$lt_cv_file_magic_cmd
! 7449: deplibs_check_method=$lt_cv_deplibs_check_method
! 7450: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 7451:
! 7452:
! 7453:
! 7454:
! 7455:
! 7456:
! 7457:
! 7458:
! 7459:
! 7460:
! 7461:
! 7462:
! 7463:
! 7464:
! 7465:
! 7466:
! 7467:
! 7468:
! 7469:
! 7470:
! 7471:
! 7472:
! 7473: if test -n "$ac_tool_prefix"; then
! 7474: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
! 7475: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
! 7476: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7477: $as_echo_n "checking for $ac_word... " >&6; }
! 7478: if ${ac_cv_prog_DLLTOOL+:} false; then :
! 7479: $as_echo_n "(cached) " >&6
! 7480: else
! 7481: if test -n "$DLLTOOL"; then
! 7482: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
! 7483: else
! 7484: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7485: for as_dir in $PATH
! 7486: do
! 7487: IFS=$as_save_IFS
! 7488: test -z "$as_dir" && as_dir=.
! 7489: for ac_exec_ext in '' $ac_executable_extensions; do
! 7490: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7491: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
! 7492: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7493: break 2
! 7494: fi
! 7495: done
! 7496: done
! 7497: IFS=$as_save_IFS
! 7498:
! 7499: fi
! 7500: fi
! 7501: DLLTOOL=$ac_cv_prog_DLLTOOL
! 7502: if test -n "$DLLTOOL"; then
! 7503: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
! 7504: $as_echo "$DLLTOOL" >&6; }
! 7505: else
! 7506: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7507: $as_echo "no" >&6; }
! 7508: fi
! 7509:
! 7510:
! 7511: fi
! 7512: if test -z "$ac_cv_prog_DLLTOOL"; then
! 7513: ac_ct_DLLTOOL=$DLLTOOL
! 7514: # Extract the first word of "dlltool", so it can be a program name with args.
! 7515: set dummy dlltool; ac_word=$2
! 7516: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7517: $as_echo_n "checking for $ac_word... " >&6; }
! 7518: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
! 7519: $as_echo_n "(cached) " >&6
! 7520: else
! 7521: if test -n "$ac_ct_DLLTOOL"; then
! 7522: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
! 7523: else
! 7524: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7525: for as_dir in $PATH
! 7526: do
! 7527: IFS=$as_save_IFS
! 7528: test -z "$as_dir" && as_dir=.
! 7529: for ac_exec_ext in '' $ac_executable_extensions; do
! 7530: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7531: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
! 7532: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7533: break 2
! 7534: fi
! 7535: done
! 7536: done
! 7537: IFS=$as_save_IFS
! 7538:
! 7539: fi
! 7540: fi
! 7541: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
! 7542: if test -n "$ac_ct_DLLTOOL"; then
! 7543: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
! 7544: $as_echo "$ac_ct_DLLTOOL" >&6; }
! 7545: else
! 7546: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7547: $as_echo "no" >&6; }
! 7548: fi
! 7549:
! 7550: if test "x$ac_ct_DLLTOOL" = x; then
! 7551: DLLTOOL="false"
! 7552: else
! 7553: case $cross_compiling:$ac_tool_warned in
! 7554: yes:)
! 7555: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7556: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7557: ac_tool_warned=yes ;;
! 7558: esac
! 7559: DLLTOOL=$ac_ct_DLLTOOL
! 7560: fi
! 7561: else
! 7562: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 7563: fi
! 7564:
! 7565: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 7566:
! 7567:
! 7568:
! 7569:
! 7570:
! 7571:
! 7572:
! 7573:
! 7574:
! 7575:
! 7576: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
! 7577: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
! 7578: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
! 7579: $as_echo_n "(cached) " >&6
! 7580: else
! 7581: lt_cv_sharedlib_from_linklib_cmd='unknown'
! 7582:
! 7583: case $host_os in
! 7584: cygwin* | mingw* | pw32* | cegcc*)
! 7585: # two different shell functions defined in ltmain.sh
! 7586: # decide which to use based on capabilities of $DLLTOOL
! 7587: case `$DLLTOOL --help 2>&1` in
! 7588: *--identify-strict*)
! 7589: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
! 7590: ;;
! 7591: *)
! 7592: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
! 7593: ;;
! 7594: esac
! 7595: ;;
! 7596: *)
! 7597: # fallback: assume linklib IS sharedlib
! 7598: lt_cv_sharedlib_from_linklib_cmd="$ECHO"
! 7599: ;;
! 7600: esac
! 7601:
! 7602: fi
! 7603: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
! 7604: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
! 7605: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
! 7606: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
! 7607:
! 7608:
! 7609:
! 7610:
! 7611:
! 7612:
! 7613:
! 7614: if test -n "$ac_tool_prefix"; then
! 7615: for ac_prog in ar
! 7616: do
! 7617: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 7618: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 7619: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7620: $as_echo_n "checking for $ac_word... " >&6; }
! 7621: if ${ac_cv_prog_AR+:} false; then :
! 7622: $as_echo_n "(cached) " >&6
! 7623: else
! 7624: if test -n "$AR"; then
! 7625: ac_cv_prog_AR="$AR" # Let the user override the test.
! 7626: else
! 7627: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7628: for as_dir in $PATH
! 7629: do
! 7630: IFS=$as_save_IFS
! 7631: test -z "$as_dir" && as_dir=.
! 7632: for ac_exec_ext in '' $ac_executable_extensions; do
! 7633: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7634: ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
! 7635: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7636: break 2
! 7637: fi
! 7638: done
! 7639: done
! 7640: IFS=$as_save_IFS
! 7641:
! 7642: fi
! 7643: fi
! 7644: AR=$ac_cv_prog_AR
! 7645: if test -n "$AR"; then
! 7646: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! 7647: $as_echo "$AR" >&6; }
! 7648: else
! 7649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7650: $as_echo "no" >&6; }
! 7651: fi
! 7652:
! 7653:
! 7654: test -n "$AR" && break
! 7655: done
! 7656: fi
! 7657: if test -z "$AR"; then
! 7658: ac_ct_AR=$AR
! 7659: for ac_prog in ar
! 7660: do
! 7661: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 7662: set dummy $ac_prog; ac_word=$2
! 7663: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7664: $as_echo_n "checking for $ac_word... " >&6; }
! 7665: if ${ac_cv_prog_ac_ct_AR+:} false; then :
! 7666: $as_echo_n "(cached) " >&6
! 7667: else
! 7668: if test -n "$ac_ct_AR"; then
! 7669: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 7670: else
! 7671: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7672: for as_dir in $PATH
! 7673: do
! 7674: IFS=$as_save_IFS
! 7675: test -z "$as_dir" && as_dir=.
! 7676: for ac_exec_ext in '' $ac_executable_extensions; do
! 7677: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7678: ac_cv_prog_ac_ct_AR="$ac_prog"
! 7679: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7680: break 2
! 7681: fi
! 7682: done
! 7683: done
! 7684: IFS=$as_save_IFS
! 7685:
! 7686: fi
! 7687: fi
! 7688: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 7689: if test -n "$ac_ct_AR"; then
! 7690: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! 7691: $as_echo "$ac_ct_AR" >&6; }
! 7692: else
! 7693: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7694: $as_echo "no" >&6; }
! 7695: fi
! 7696:
! 7697:
! 7698: test -n "$ac_ct_AR" && break
! 7699: done
! 7700:
! 7701: if test "x$ac_ct_AR" = x; then
! 7702: AR="false"
! 7703: else
! 7704: case $cross_compiling:$ac_tool_warned in
! 7705: yes:)
! 7706: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7707: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7708: ac_tool_warned=yes ;;
! 7709: esac
! 7710: AR=$ac_ct_AR
! 7711: fi
! 7712: fi
! 7713:
! 7714: : ${AR=ar}
! 7715: : ${AR_FLAGS=cru}
! 7716:
! 7717:
! 7718:
! 7719:
! 7720:
! 7721:
! 7722:
! 7723:
! 7724:
! 7725:
! 7726:
! 7727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
! 7728: $as_echo_n "checking for archiver @FILE support... " >&6; }
! 7729: if ${lt_cv_ar_at_file+:} false; then :
! 7730: $as_echo_n "(cached) " >&6
! 7731: else
! 7732: lt_cv_ar_at_file=no
! 7733: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 7734: /* end confdefs.h. */
! 7735:
! 7736: int
! 7737: main ()
! 7738: {
! 7739:
! 7740: ;
! 7741: return 0;
! 7742: }
! 7743: _ACEOF
! 7744: if ac_fn_c_try_compile "$LINENO"; then :
! 7745: echo conftest.$ac_objext > conftest.lst
! 7746: lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
! 7747: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
! 7748: (eval $lt_ar_try) 2>&5
! 7749: ac_status=$?
! 7750: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 7751: test $ac_status = 0; }
! 7752: if test "$ac_status" -eq 0; then
! 7753: # Ensure the archiver fails upon bogus file names.
! 7754: rm -f conftest.$ac_objext libconftest.a
! 7755: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
! 7756: (eval $lt_ar_try) 2>&5
! 7757: ac_status=$?
! 7758: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 7759: test $ac_status = 0; }
! 7760: if test "$ac_status" -ne 0; then
! 7761: lt_cv_ar_at_file=@
! 7762: fi
! 7763: fi
! 7764: rm -f conftest.* libconftest.a
! 7765:
! 7766: fi
! 7767: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 7768:
! 7769: fi
! 7770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
! 7771: $as_echo "$lt_cv_ar_at_file" >&6; }
! 7772:
! 7773: if test "x$lt_cv_ar_at_file" = xno; then
! 7774: archiver_list_spec=
! 7775: else
! 7776: archiver_list_spec=$lt_cv_ar_at_file
! 7777: fi
! 7778:
! 7779:
! 7780:
! 7781:
! 7782:
! 7783:
! 7784:
! 7785: if test -n "$ac_tool_prefix"; then
! 7786: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 7787: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 7788: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7789: $as_echo_n "checking for $ac_word... " >&6; }
! 7790: if ${ac_cv_prog_STRIP+:} false; then :
! 7791: $as_echo_n "(cached) " >&6
! 7792: else
! 7793: if test -n "$STRIP"; then
! 7794: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 7795: else
! 7796: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7797: for as_dir in $PATH
! 7798: do
! 7799: IFS=$as_save_IFS
! 7800: test -z "$as_dir" && as_dir=.
! 7801: for ac_exec_ext in '' $ac_executable_extensions; do
! 7802: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7803: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 7804: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7805: break 2
! 7806: fi
! 7807: done
! 7808: done
! 7809: IFS=$as_save_IFS
! 7810:
! 7811: fi
! 7812: fi
! 7813: STRIP=$ac_cv_prog_STRIP
! 7814: if test -n "$STRIP"; then
! 7815: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
! 7816: $as_echo "$STRIP" >&6; }
! 7817: else
! 7818: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7819: $as_echo "no" >&6; }
! 7820: fi
! 7821:
! 7822:
! 7823: fi
! 7824: if test -z "$ac_cv_prog_STRIP"; then
! 7825: ac_ct_STRIP=$STRIP
! 7826: # Extract the first word of "strip", so it can be a program name with args.
! 7827: set dummy strip; ac_word=$2
! 7828: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7829: $as_echo_n "checking for $ac_word... " >&6; }
! 7830: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
! 7831: $as_echo_n "(cached) " >&6
! 7832: else
! 7833: if test -n "$ac_ct_STRIP"; then
! 7834: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 7835: else
! 7836: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7837: for as_dir in $PATH
! 7838: do
! 7839: IFS=$as_save_IFS
! 7840: test -z "$as_dir" && as_dir=.
! 7841: for ac_exec_ext in '' $ac_executable_extensions; do
! 7842: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7843: ac_cv_prog_ac_ct_STRIP="strip"
! 7844: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7845: break 2
! 7846: fi
! 7847: done
! 7848: done
! 7849: IFS=$as_save_IFS
! 7850:
! 7851: fi
! 7852: fi
! 7853: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 7854: if test -n "$ac_ct_STRIP"; then
! 7855: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
! 7856: $as_echo "$ac_ct_STRIP" >&6; }
! 7857: else
! 7858: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7859: $as_echo "no" >&6; }
! 7860: fi
! 7861:
! 7862: if test "x$ac_ct_STRIP" = x; then
! 7863: STRIP=":"
! 7864: else
! 7865: case $cross_compiling:$ac_tool_warned in
! 7866: yes:)
! 7867: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7868: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7869: ac_tool_warned=yes ;;
! 7870: esac
! 7871: STRIP=$ac_ct_STRIP
! 7872: fi
! 7873: else
! 7874: STRIP="$ac_cv_prog_STRIP"
! 7875: fi
! 7876:
! 7877: test -z "$STRIP" && STRIP=:
! 7878:
! 7879:
! 7880:
! 7881:
! 7882:
! 7883:
! 7884: if test -n "$ac_tool_prefix"; then
! 7885: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 7886: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 7887: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7888: $as_echo_n "checking for $ac_word... " >&6; }
! 7889: if ${ac_cv_prog_RANLIB+:} false; then :
! 7890: $as_echo_n "(cached) " >&6
! 7891: else
! 7892: if test -n "$RANLIB"; then
! 7893: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 7894: else
! 7895: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7896: for as_dir in $PATH
! 7897: do
! 7898: IFS=$as_save_IFS
! 7899: test -z "$as_dir" && as_dir=.
! 7900: for ac_exec_ext in '' $ac_executable_extensions; do
! 7901: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7902: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 7903: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7904: break 2
! 7905: fi
! 7906: done
! 7907: done
! 7908: IFS=$as_save_IFS
! 7909:
! 7910: fi
! 7911: fi
! 7912: RANLIB=$ac_cv_prog_RANLIB
! 7913: if test -n "$RANLIB"; then
! 7914: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
! 7915: $as_echo "$RANLIB" >&6; }
! 7916: else
! 7917: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7918: $as_echo "no" >&6; }
! 7919: fi
! 7920:
! 7921:
! 7922: fi
! 7923: if test -z "$ac_cv_prog_RANLIB"; then
! 7924: ac_ct_RANLIB=$RANLIB
! 7925: # Extract the first word of "ranlib", so it can be a program name with args.
! 7926: set dummy ranlib; ac_word=$2
! 7927: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7928: $as_echo_n "checking for $ac_word... " >&6; }
! 7929: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
! 7930: $as_echo_n "(cached) " >&6
! 7931: else
! 7932: if test -n "$ac_ct_RANLIB"; then
! 7933: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 7934: else
! 7935: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7936: for as_dir in $PATH
! 7937: do
! 7938: IFS=$as_save_IFS
! 7939: test -z "$as_dir" && as_dir=.
! 7940: for ac_exec_ext in '' $ac_executable_extensions; do
! 7941: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 7942: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 7943: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7944: break 2
! 7945: fi
! 7946: done
! 7947: done
! 7948: IFS=$as_save_IFS
! 7949:
! 7950: fi
! 7951: fi
! 7952: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 7953: if test -n "$ac_ct_RANLIB"; then
! 7954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
! 7955: $as_echo "$ac_ct_RANLIB" >&6; }
! 7956: else
! 7957: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7958: $as_echo "no" >&6; }
! 7959: fi
! 7960:
! 7961: if test "x$ac_ct_RANLIB" = x; then
! 7962: RANLIB=":"
! 7963: else
! 7964: case $cross_compiling:$ac_tool_warned in
! 7965: yes:)
! 7966: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7967: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7968: ac_tool_warned=yes ;;
! 7969: esac
! 7970: RANLIB=$ac_ct_RANLIB
! 7971: fi
! 7972: else
! 7973: RANLIB="$ac_cv_prog_RANLIB"
! 7974: fi
! 7975:
! 7976: test -z "$RANLIB" && RANLIB=:
! 7977:
! 7978:
! 7979:
! 7980:
! 7981:
! 7982:
! 7983: # Determine commands to create old-style static archives.
! 7984: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
! 7985: old_postinstall_cmds='chmod 644 $oldlib'
! 7986: old_postuninstall_cmds=
! 7987:
! 7988: if test -n "$RANLIB"; then
! 7989: case $host_os in
! 7990: openbsd*)
! 7991: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
! 7992: ;;
! 7993: *)
! 7994: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
! 7995: ;;
! 7996: esac
! 7997: old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
! 7998: fi
! 7999:
! 8000: case $host_os in
! 8001: darwin*)
! 8002: lock_old_archive_extraction=yes ;;
! 8003: *)
! 8004: lock_old_archive_extraction=no ;;
! 8005: esac
! 8006:
! 8007:
! 8008:
! 8009:
! 8010:
! 8011:
! 8012:
! 8013:
! 8014:
! 8015:
! 8016:
! 8017:
! 8018:
! 8019:
! 8020:
! 8021:
! 8022:
! 8023:
! 8024:
! 8025:
! 8026:
! 8027: for ac_prog in gawk mawk nawk awk
! 8028: do
! 8029: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 8030: set dummy $ac_prog; ac_word=$2
! 8031: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8032: $as_echo_n "checking for $ac_word... " >&6; }
! 8033: if ${ac_cv_prog_AWK+:} false; then :
! 8034: $as_echo_n "(cached) " >&6
! 8035: else
! 8036: if test -n "$AWK"; then
! 8037: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 8038: else
! 8039: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8040: for as_dir in $PATH
! 8041: do
! 8042: IFS=$as_save_IFS
! 8043: test -z "$as_dir" && as_dir=.
! 8044: for ac_exec_ext in '' $ac_executable_extensions; do
! 8045: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 8046: ac_cv_prog_AWK="$ac_prog"
! 8047: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8048: break 2
! 8049: fi
! 8050: done
! 8051: done
! 8052: IFS=$as_save_IFS
! 8053:
! 8054: fi
! 8055: fi
! 8056: AWK=$ac_cv_prog_AWK
! 8057: if test -n "$AWK"; then
! 8058: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
! 8059: $as_echo "$AWK" >&6; }
! 8060: else
! 8061: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8062: $as_echo "no" >&6; }
! 8063: fi
! 8064:
! 8065:
! 8066: test -n "$AWK" && break
! 8067: done
! 8068:
! 8069:
! 8070:
! 8071:
! 8072:
! 8073:
! 8074:
! 8075:
! 8076:
! 8077:
! 8078:
! 8079:
! 8080:
! 8081:
! 8082:
! 8083:
! 8084:
! 8085:
! 8086:
! 8087: # If no C compiler was specified, use CC.
! 8088: LTCC=${LTCC-"$CC"}
! 8089:
! 8090: # If no C compiler flags were specified, use CFLAGS.
! 8091: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 8092:
! 8093: # Allow CC to be a program name with arguments.
! 8094: compiler=$CC
! 8095:
! 8096:
! 8097: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 8098: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
! 8099: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
! 8100: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
! 8101: $as_echo_n "(cached) " >&6
! 8102: else
! 8103:
! 8104: # These are sane defaults that work on at least a few old systems.
! 8105: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
! 8106:
! 8107: # Character class describing NM global symbol codes.
! 8108: symcode='[BCDEGRST]'
! 8109:
! 8110: # Regexp to match symbols that can be accessed directly from C.
! 8111: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
! 8112:
! 8113: # Define system-specific variables.
! 8114: case $host_os in
! 8115: aix*)
! 8116: symcode='[BCDT]'
! 8117: ;;
! 8118: cygwin* | mingw* | pw32* | cegcc*)
! 8119: symcode='[ABCDGISTW]'
! 8120: ;;
! 8121: hpux*)
! 8122: if test "$host_cpu" = ia64; then
! 8123: symcode='[ABCDEGRST]'
! 8124: fi
! 8125: ;;
! 8126: irix* | nonstopux*)
! 8127: symcode='[BCDEGRST]'
! 8128: ;;
! 8129: osf*)
! 8130: symcode='[BCDEGQRST]'
! 8131: ;;
! 8132: solaris*)
! 8133: symcode='[BDRT]'
! 8134: ;;
! 8135: sco3.2v5*)
! 8136: symcode='[DT]'
! 8137: ;;
! 8138: sysv4.2uw2*)
! 8139: symcode='[DT]'
! 8140: ;;
! 8141: sysv5* | sco5v6* | unixware* | OpenUNIX*)
! 8142: symcode='[ABDT]'
! 8143: ;;
! 8144: sysv4)
! 8145: symcode='[DFNSTU]'
! 8146: ;;
! 8147: esac
! 8148:
! 8149: # If we're using GNU nm, then use its standard symbol codes.
! 8150: case `$NM -V 2>&1` in
! 8151: *GNU* | *'with BFD'*)
! 8152: symcode='[ABCDGIRSTW]' ;;
! 8153: esac
! 8154:
! 8155: # Transform an extracted symbol line into a proper C declaration.
! 8156: # Some systems (esp. on ia64) link data and code symbols differently,
! 8157: # so use this general approach.
! 8158: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
! 8159:
! 8160: # Transform an extracted symbol line into symbol name and symbol address
! 8161: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
! 8162: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
! 8163:
! 8164: # Handle CRLF in mingw tool chain
! 8165: opt_cr=
! 8166: case $build_os in
! 8167: mingw*)
! 8168: opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 8169: ;;
! 8170: esac
! 8171:
! 8172: # Try without a prefix underscore, then with it.
! 8173: for ac_symprfx in "" "_"; do
! 8174:
! 8175: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
! 8176: symxfrm="\\1 $ac_symprfx\\2 \\2"
! 8177:
! 8178: # Write the raw and C identifiers.
! 8179: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 8180: # Fake it for dumpbin and say T for any non-static function
! 8181: # and D for any global variable.
! 8182: # Also find C++ and __fastcall symbols from MSVC++,
! 8183: # which start with @ or ?.
! 8184: lt_cv_sys_global_symbol_pipe="$AWK '"\
! 8185: " {last_section=section; section=\$ 3};"\
! 8186: " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
! 8187: " \$ 0!~/External *\|/{next};"\
! 8188: " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
! 8189: " {if(hide[section]) next};"\
! 8190: " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
! 8191: " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
! 8192: " s[1]~/^[@?]/{print s[1], s[1]; next};"\
! 8193: " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
! 8194: " ' prfx=^$ac_symprfx"
! 8195: else
! 8196: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
! 8197: fi
! 8198: lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
! 8199:
! 8200: # Check to see that the pipe works correctly.
! 8201: pipe_works=no
! 8202:
! 8203: rm -f conftest*
! 8204: cat > conftest.$ac_ext <<_LT_EOF
! 8205: #ifdef __cplusplus
! 8206: extern "C" {
! 8207: #endif
! 8208: char nm_test_var;
! 8209: void nm_test_func(void);
! 8210: void nm_test_func(void){}
! 8211: #ifdef __cplusplus
! 8212: }
! 8213: #endif
! 8214: int main(){nm_test_var='a';nm_test_func();return(0);}
! 8215: _LT_EOF
! 8216:
! 8217: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 8218: (eval $ac_compile) 2>&5
! 8219: ac_status=$?
! 8220: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 8221: test $ac_status = 0; }; then
! 8222: # Now try to grab the symbols.
! 8223: nlist=conftest.nm
! 8224: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
! 8225: (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
! 8226: ac_status=$?
! 8227: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 8228: test $ac_status = 0; } && test -s "$nlist"; then
! 8229: # Try sorting and uniquifying the output.
! 8230: if sort "$nlist" | uniq > "$nlist"T; then
! 8231: mv -f "$nlist"T "$nlist"
! 8232: else
! 8233: rm -f "$nlist"T
! 8234: fi
! 8235:
! 8236: # Make sure that we snagged all the symbols we need.
! 8237: if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
! 8238: if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
! 8239: cat <<_LT_EOF > conftest.$ac_ext
! 8240: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
! 8241: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
! 8242: /* DATA imports from DLLs on WIN32 con't be const, because runtime
! 8243: relocations are performed -- see ld's documentation on pseudo-relocs. */
! 8244: # define LT_DLSYM_CONST
! 8245: #elif defined(__osf__)
! 8246: /* This system does not cope well with relocations in const data. */
! 8247: # define LT_DLSYM_CONST
! 8248: #else
! 8249: # define LT_DLSYM_CONST const
! 8250: #endif
! 8251:
! 8252: #ifdef __cplusplus
! 8253: extern "C" {
! 8254: #endif
! 8255:
! 8256: _LT_EOF
! 8257: # Now generate the symbol file.
! 8258: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
! 8259:
! 8260: cat <<_LT_EOF >> conftest.$ac_ext
! 8261:
! 8262: /* The mapping between symbol names and symbols. */
! 8263: LT_DLSYM_CONST struct {
! 8264: const char *name;
! 8265: void *address;
! 8266: }
! 8267: lt__PROGRAM__LTX_preloaded_symbols[] =
! 8268: {
! 8269: { "@PROGRAM@", (void *) 0 },
! 8270: _LT_EOF
! 8271: $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
! 8272: cat <<\_LT_EOF >> conftest.$ac_ext
! 8273: {0, (void *) 0}
! 8274: };
! 8275:
! 8276: /* This works around a problem in FreeBSD linker */
! 8277: #ifdef FREEBSD_WORKAROUND
! 8278: static const void *lt_preloaded_setup() {
! 8279: return lt__PROGRAM__LTX_preloaded_symbols;
! 8280: }
! 8281: #endif
! 8282:
! 8283: #ifdef __cplusplus
! 8284: }
! 8285: #endif
! 8286: _LT_EOF
! 8287: # Now try linking the two files.
! 8288: mv conftest.$ac_objext conftstm.$ac_objext
! 8289: lt_globsym_save_LIBS=$LIBS
! 8290: lt_globsym_save_CFLAGS=$CFLAGS
! 8291: LIBS="conftstm.$ac_objext"
! 8292: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
! 8293: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 8294: (eval $ac_link) 2>&5
! 8295: ac_status=$?
! 8296: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 8297: test $ac_status = 0; } && test -s conftest${ac_exeext}; then
! 8298: pipe_works=yes
! 8299: fi
! 8300: LIBS=$lt_globsym_save_LIBS
! 8301: CFLAGS=$lt_globsym_save_CFLAGS
! 8302: else
! 8303: echo "cannot find nm_test_func in $nlist" >&5
! 8304: fi
! 8305: else
! 8306: echo "cannot find nm_test_var in $nlist" >&5
! 8307: fi
! 8308: else
! 8309: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 8310: fi
! 8311: else
! 8312: echo "$progname: failed program was:" >&5
! 8313: cat conftest.$ac_ext >&5
! 8314: fi
! 8315: rm -rf conftest* conftst*
! 8316:
! 8317: # Do not use the global_symbol_pipe unless it works.
! 8318: if test "$pipe_works" = yes; then
! 8319: break
! 8320: else
! 8321: lt_cv_sys_global_symbol_pipe=
! 8322: fi
! 8323: done
! 8324:
! 8325: fi
! 8326:
! 8327: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 8328: lt_cv_sys_global_symbol_to_cdecl=
! 8329: fi
! 8330: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
! 8331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
! 8332: $as_echo "failed" >&6; }
! 8333: else
! 8334: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
! 8335: $as_echo "ok" >&6; }
! 8336: fi
! 8337:
! 8338: # Response file support.
! 8339: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 8340: nm_file_list_spec='@'
! 8341: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
! 8342: nm_file_list_spec='@'
! 8343: fi
! 8344:
! 8345:
! 8346:
! 8347:
! 8348:
! 8349:
! 8350:
! 8351:
! 8352:
! 8353:
! 8354:
! 8355:
! 8356:
! 8357:
! 8358:
! 8359:
! 8360:
! 8361:
! 8362:
! 8363:
! 8364:
! 8365:
! 8366:
! 8367:
! 8368:
! 8369:
! 8370:
! 8371: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
! 8372: $as_echo_n "checking for sysroot... " >&6; }
! 8373:
! 8374: # Check whether --with-sysroot was given.
! 8375: if test "${with_sysroot+set}" = set; then :
! 8376: withval=$with_sysroot;
! 8377: else
! 8378: with_sysroot=no
! 8379: fi
! 8380:
! 8381:
! 8382: lt_sysroot=
! 8383: case ${with_sysroot} in #(
! 8384: yes)
! 8385: if test "$GCC" = yes; then
! 8386: lt_sysroot=`$CC --print-sysroot 2>/dev/null`
! 8387: fi
! 8388: ;; #(
! 8389: /*)
! 8390: lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
! 8391: ;; #(
! 8392: no|'')
! 8393: ;; #(
! 8394: *)
! 8395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
! 8396: $as_echo "${with_sysroot}" >&6; }
! 8397: as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
! 8398: ;;
! 8399: esac
! 8400:
! 8401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
! 8402: $as_echo "${lt_sysroot:-no}" >&6; }
! 8403:
! 8404:
! 8405:
! 8406:
! 8407:
! 8408: # Check whether --enable-libtool-lock was given.
! 8409: if test "${enable_libtool_lock+set}" = set; then :
! 8410: enableval=$enable_libtool_lock;
! 8411: fi
! 8412:
! 8413: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
! 8414:
! 8415: # Some flags need to be propagated to the compiler or linker for good
! 8416: # libtool support.
! 8417: case $host in
! 8418: ia64-*-hpux*)
! 8419: # Find out which ABI we are using.
! 8420: echo 'int i;' > conftest.$ac_ext
! 8421: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 8422: (eval $ac_compile) 2>&5
! 8423: ac_status=$?
! 8424: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 8425: test $ac_status = 0; }; then
! 8426: case `/usr/bin/file conftest.$ac_objext` in
! 8427: *ELF-32*)
! 8428: HPUX_IA64_MODE="32"
! 8429: ;;
! 8430: *ELF-64*)
! 8431: HPUX_IA64_MODE="64"
! 8432: ;;
! 8433: esac
! 8434: fi
! 8435: rm -rf conftest*
! 8436: ;;
! 8437: *-*-irix6*)
! 8438: # Find out which ABI we are using.
! 8439: echo '#line '$LINENO' "configure"' > conftest.$ac_ext
! 8440: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 8441: (eval $ac_compile) 2>&5
! 8442: ac_status=$?
! 8443: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 8444: test $ac_status = 0; }; then
! 8445: if test "$lt_cv_prog_gnu_ld" = yes; then
! 8446: case `/usr/bin/file conftest.$ac_objext` in
! 8447: *32-bit*)
! 8448: LD="${LD-ld} -melf32bsmip"
! 8449: ;;
! 8450: *N32*)
! 8451: LD="${LD-ld} -melf32bmipn32"
! 8452: ;;
! 8453: *64-bit*)
! 8454: LD="${LD-ld} -melf64bmip"
! 8455: ;;
! 8456: esac
! 8457: else
! 8458: case `/usr/bin/file conftest.$ac_objext` in
! 8459: *32-bit*)
! 8460: LD="${LD-ld} -32"
! 8461: ;;
! 8462: *N32*)
! 8463: LD="${LD-ld} -n32"
! 8464: ;;
! 8465: *64-bit*)
! 8466: LD="${LD-ld} -64"
! 8467: ;;
! 8468: esac
! 8469: fi
! 8470: fi
! 8471: rm -rf conftest*
! 8472: ;;
! 8473:
! 8474: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
! 8475: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
! 8476: # Find out which ABI we are using.
! 8477: echo 'int i;' > conftest.$ac_ext
! 8478: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 8479: (eval $ac_compile) 2>&5
! 8480: ac_status=$?
! 8481: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 8482: test $ac_status = 0; }; then
! 8483: case `/usr/bin/file conftest.o` in
! 8484: *32-bit*)
! 8485: case $host in
! 8486: x86_64-*kfreebsd*-gnu)
! 8487: LD="${LD-ld} -m elf_i386_fbsd"
! 8488: ;;
! 8489: x86_64-*linux*)
! 8490: LD="${LD-ld} -m elf_i386"
! 8491: ;;
! 8492: ppc64-*linux*|powerpc64-*linux*)
! 8493: LD="${LD-ld} -m elf32ppclinux"
! 8494: ;;
! 8495: s390x-*linux*)
! 8496: LD="${LD-ld} -m elf_s390"
! 8497: ;;
! 8498: sparc64-*linux*)
! 8499: LD="${LD-ld} -m elf32_sparc"
! 8500: ;;
! 8501: esac
! 8502: ;;
! 8503: *64-bit*)
! 8504: case $host in
! 8505: x86_64-*kfreebsd*-gnu)
! 8506: LD="${LD-ld} -m elf_x86_64_fbsd"
! 8507: ;;
! 8508: x86_64-*linux*)
! 8509: LD="${LD-ld} -m elf_x86_64"
! 8510: ;;
! 8511: ppc*-*linux*|powerpc*-*linux*)
! 8512: LD="${LD-ld} -m elf64ppc"
! 8513: ;;
! 8514: s390*-*linux*|s390*-*tpf*)
! 8515: LD="${LD-ld} -m elf64_s390"
! 8516: ;;
! 8517: sparc*-*linux*)
! 8518: LD="${LD-ld} -m elf64_sparc"
! 8519: ;;
! 8520: esac
! 8521: ;;
! 8522: esac
! 8523: fi
! 8524: rm -rf conftest*
! 8525: ;;
! 8526:
! 8527: *-*-sco3.2v5*)
! 8528: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 8529: SAVE_CFLAGS="$CFLAGS"
! 8530: CFLAGS="$CFLAGS -belf"
! 8531: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
! 8532: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
! 8533: if ${lt_cv_cc_needs_belf+:} false; then :
! 8534: $as_echo_n "(cached) " >&6
! 8535: else
! 8536: ac_ext=c
! 8537: ac_cpp='$CPP $CPPFLAGS'
! 8538: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 8539: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 8540: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 8541:
! 8542: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 8543: /* end confdefs.h. */
! 8544:
! 8545: int
! 8546: main ()
! 8547: {
! 8548:
! 8549: ;
! 8550: return 0;
! 8551: }
! 8552: _ACEOF
! 8553: if ac_fn_c_try_link "$LINENO"; then :
! 8554: lt_cv_cc_needs_belf=yes
! 8555: else
! 8556: lt_cv_cc_needs_belf=no
! 8557: fi
! 8558: rm -f core conftest.err conftest.$ac_objext \
! 8559: conftest$ac_exeext conftest.$ac_ext
! 8560: ac_ext=c
! 8561: ac_cpp='$CPP $CPPFLAGS'
! 8562: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 8563: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 8564: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 8565:
! 8566: fi
! 8567: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
! 8568: $as_echo "$lt_cv_cc_needs_belf" >&6; }
! 8569: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 8570: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 8571: CFLAGS="$SAVE_CFLAGS"
! 8572: fi
! 8573: ;;
! 8574: sparc*-*solaris*)
! 8575: # Find out which ABI we are using.
! 8576: echo 'int i;' > conftest.$ac_ext
! 8577: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 8578: (eval $ac_compile) 2>&5
! 8579: ac_status=$?
! 8580: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 8581: test $ac_status = 0; }; then
! 8582: case `/usr/bin/file conftest.o` in
! 8583: *64-bit*)
! 8584: case $lt_cv_prog_gnu_ld in
! 8585: yes*) LD="${LD-ld} -m elf64_sparc" ;;
! 8586: *)
! 8587: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
! 8588: LD="${LD-ld} -64"
! 8589: fi
! 8590: ;;
! 8591: esac
! 8592: ;;
! 8593: esac
! 8594: fi
! 8595: rm -rf conftest*
! 8596: ;;
! 8597: esac
! 8598:
! 8599: need_locks="$enable_libtool_lock"
! 8600:
! 8601: if test -n "$ac_tool_prefix"; then
! 8602: # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
! 8603: set dummy ${ac_tool_prefix}mt; ac_word=$2
! 8604: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8605: $as_echo_n "checking for $ac_word... " >&6; }
! 8606: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
! 8607: $as_echo_n "(cached) " >&6
! 8608: else
! 8609: if test -n "$MANIFEST_TOOL"; then
! 8610: ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
! 8611: else
! 8612: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8613: for as_dir in $PATH
! 8614: do
! 8615: IFS=$as_save_IFS
! 8616: test -z "$as_dir" && as_dir=.
! 8617: for ac_exec_ext in '' $ac_executable_extensions; do
! 8618: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 8619: ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
! 8620: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8621: break 2
! 8622: fi
! 8623: done
! 8624: done
! 8625: IFS=$as_save_IFS
! 8626:
! 8627: fi
! 8628: fi
! 8629: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
! 8630: if test -n "$MANIFEST_TOOL"; then
! 8631: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
! 8632: $as_echo "$MANIFEST_TOOL" >&6; }
! 8633: else
! 8634: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8635: $as_echo "no" >&6; }
! 8636: fi
! 8637:
! 8638:
! 8639: fi
! 8640: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
! 8641: ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
! 8642: # Extract the first word of "mt", so it can be a program name with args.
! 8643: set dummy mt; ac_word=$2
! 8644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8645: $as_echo_n "checking for $ac_word... " >&6; }
! 8646: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
! 8647: $as_echo_n "(cached) " >&6
! 8648: else
! 8649: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 8650: ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
! 8651: else
! 8652: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8653: for as_dir in $PATH
! 8654: do
! 8655: IFS=$as_save_IFS
! 8656: test -z "$as_dir" && as_dir=.
! 8657: for ac_exec_ext in '' $ac_executable_extensions; do
! 8658: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 8659: ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
! 8660: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8661: break 2
! 8662: fi
! 8663: done
! 8664: done
! 8665: IFS=$as_save_IFS
! 8666:
! 8667: fi
! 8668: fi
! 8669: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
! 8670: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 8671: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
! 8672: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
! 8673: else
! 8674: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8675: $as_echo "no" >&6; }
! 8676: fi
! 8677:
! 8678: if test "x$ac_ct_MANIFEST_TOOL" = x; then
! 8679: MANIFEST_TOOL=":"
! 8680: else
! 8681: case $cross_compiling:$ac_tool_warned in
! 8682: yes:)
! 8683: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 8684: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 8685: ac_tool_warned=yes ;;
! 8686: esac
! 8687: MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
! 8688: fi
! 8689: else
! 8690: MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
! 8691: fi
! 8692:
! 8693: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
! 8694: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
! 8695: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
! 8696: if ${lt_cv_path_mainfest_tool+:} false; then :
! 8697: $as_echo_n "(cached) " >&6
! 8698: else
! 8699: lt_cv_path_mainfest_tool=no
! 8700: echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
! 8701: $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
! 8702: cat conftest.err >&5
! 8703: if $GREP 'Manifest Tool' conftest.out > /dev/null; then
! 8704: lt_cv_path_mainfest_tool=yes
! 8705: fi
! 8706: rm -f conftest*
! 8707: fi
! 8708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
! 8709: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
! 8710: if test "x$lt_cv_path_mainfest_tool" != xyes; then
! 8711: MANIFEST_TOOL=:
! 8712: fi
! 8713:
! 8714:
! 8715:
! 8716:
! 8717:
! 8718:
! 8719: case $host_os in
! 8720: rhapsody* | darwin*)
! 8721: if test -n "$ac_tool_prefix"; then
! 8722: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
! 8723: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
! 8724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8725: $as_echo_n "checking for $ac_word... " >&6; }
! 8726: if ${ac_cv_prog_DSYMUTIL+:} false; then :
! 8727: $as_echo_n "(cached) " >&6
! 8728: else
! 8729: if test -n "$DSYMUTIL"; then
! 8730: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
! 8731: else
! 8732: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8733: for as_dir in $PATH
! 8734: do
! 8735: IFS=$as_save_IFS
! 8736: test -z "$as_dir" && as_dir=.
! 8737: for ac_exec_ext in '' $ac_executable_extensions; do
! 8738: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 8739: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
! 8740: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8741: break 2
! 8742: fi
! 8743: done
! 8744: done
! 8745: IFS=$as_save_IFS
! 8746:
! 8747: fi
! 8748: fi
! 8749: DSYMUTIL=$ac_cv_prog_DSYMUTIL
! 8750: if test -n "$DSYMUTIL"; then
! 8751: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
! 8752: $as_echo "$DSYMUTIL" >&6; }
! 8753: else
! 8754: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8755: $as_echo "no" >&6; }
! 8756: fi
! 8757:
! 8758:
! 8759: fi
! 8760: if test -z "$ac_cv_prog_DSYMUTIL"; then
! 8761: ac_ct_DSYMUTIL=$DSYMUTIL
! 8762: # Extract the first word of "dsymutil", so it can be a program name with args.
! 8763: set dummy dsymutil; ac_word=$2
! 8764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8765: $as_echo_n "checking for $ac_word... " >&6; }
! 8766: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
! 8767: $as_echo_n "(cached) " >&6
! 8768: else
! 8769: if test -n "$ac_ct_DSYMUTIL"; then
! 8770: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
! 8771: else
! 8772: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8773: for as_dir in $PATH
! 8774: do
! 8775: IFS=$as_save_IFS
! 8776: test -z "$as_dir" && as_dir=.
! 8777: for ac_exec_ext in '' $ac_executable_extensions; do
! 8778: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 8779: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
! 8780: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8781: break 2
! 8782: fi
! 8783: done
! 8784: done
! 8785: IFS=$as_save_IFS
! 8786:
! 8787: fi
! 8788: fi
! 8789: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
! 8790: if test -n "$ac_ct_DSYMUTIL"; then
! 8791: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
! 8792: $as_echo "$ac_ct_DSYMUTIL" >&6; }
! 8793: else
! 8794: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8795: $as_echo "no" >&6; }
! 8796: fi
! 8797:
! 8798: if test "x$ac_ct_DSYMUTIL" = x; then
! 8799: DSYMUTIL=":"
! 8800: else
! 8801: case $cross_compiling:$ac_tool_warned in
! 8802: yes:)
! 8803: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 8804: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 8805: ac_tool_warned=yes ;;
! 8806: esac
! 8807: DSYMUTIL=$ac_ct_DSYMUTIL
! 8808: fi
! 8809: else
! 8810: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
! 8811: fi
! 8812:
! 8813: if test -n "$ac_tool_prefix"; then
! 8814: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
! 8815: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
! 8816: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8817: $as_echo_n "checking for $ac_word... " >&6; }
! 8818: if ${ac_cv_prog_NMEDIT+:} false; then :
! 8819: $as_echo_n "(cached) " >&6
! 8820: else
! 8821: if test -n "$NMEDIT"; then
! 8822: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
! 8823: else
! 8824: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8825: for as_dir in $PATH
! 8826: do
! 8827: IFS=$as_save_IFS
! 8828: test -z "$as_dir" && as_dir=.
! 8829: for ac_exec_ext in '' $ac_executable_extensions; do
! 8830: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 8831: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
! 8832: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8833: break 2
! 8834: fi
! 8835: done
! 8836: done
! 8837: IFS=$as_save_IFS
! 8838:
! 8839: fi
! 8840: fi
! 8841: NMEDIT=$ac_cv_prog_NMEDIT
! 8842: if test -n "$NMEDIT"; then
! 8843: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
! 8844: $as_echo "$NMEDIT" >&6; }
! 8845: else
! 8846: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8847: $as_echo "no" >&6; }
! 8848: fi
! 8849:
! 8850:
! 8851: fi
! 8852: if test -z "$ac_cv_prog_NMEDIT"; then
! 8853: ac_ct_NMEDIT=$NMEDIT
! 8854: # Extract the first word of "nmedit", so it can be a program name with args.
! 8855: set dummy nmedit; ac_word=$2
! 8856: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8857: $as_echo_n "checking for $ac_word... " >&6; }
! 8858: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
! 8859: $as_echo_n "(cached) " >&6
! 8860: else
! 8861: if test -n "$ac_ct_NMEDIT"; then
! 8862: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
! 8863: else
! 8864: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8865: for as_dir in $PATH
! 8866: do
! 8867: IFS=$as_save_IFS
! 8868: test -z "$as_dir" && as_dir=.
! 8869: for ac_exec_ext in '' $ac_executable_extensions; do
! 8870: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 8871: ac_cv_prog_ac_ct_NMEDIT="nmedit"
! 8872: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8873: break 2
! 8874: fi
! 8875: done
! 8876: done
! 8877: IFS=$as_save_IFS
! 8878:
! 8879: fi
! 8880: fi
! 8881: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
! 8882: if test -n "$ac_ct_NMEDIT"; then
! 8883: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
! 8884: $as_echo "$ac_ct_NMEDIT" >&6; }
! 8885: else
! 8886: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8887: $as_echo "no" >&6; }
! 8888: fi
! 8889:
! 8890: if test "x$ac_ct_NMEDIT" = x; then
! 8891: NMEDIT=":"
! 8892: else
! 8893: case $cross_compiling:$ac_tool_warned in
! 8894: yes:)
! 8895: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 8896: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 8897: ac_tool_warned=yes ;;
! 8898: esac
! 8899: NMEDIT=$ac_ct_NMEDIT
! 8900: fi
! 8901: else
! 8902: NMEDIT="$ac_cv_prog_NMEDIT"
! 8903: fi
! 8904:
! 8905: if test -n "$ac_tool_prefix"; then
! 8906: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
! 8907: set dummy ${ac_tool_prefix}lipo; ac_word=$2
! 8908: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8909: $as_echo_n "checking for $ac_word... " >&6; }
! 8910: if ${ac_cv_prog_LIPO+:} false; then :
! 8911: $as_echo_n "(cached) " >&6
! 8912: else
! 8913: if test -n "$LIPO"; then
! 8914: ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
! 8915: else
! 8916: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8917: for as_dir in $PATH
! 8918: do
! 8919: IFS=$as_save_IFS
! 8920: test -z "$as_dir" && as_dir=.
! 8921: for ac_exec_ext in '' $ac_executable_extensions; do
! 8922: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 8923: ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
! 8924: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8925: break 2
! 8926: fi
! 8927: done
! 8928: done
! 8929: IFS=$as_save_IFS
! 8930:
! 8931: fi
! 8932: fi
! 8933: LIPO=$ac_cv_prog_LIPO
! 8934: if test -n "$LIPO"; then
! 8935: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
! 8936: $as_echo "$LIPO" >&6; }
! 8937: else
! 8938: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8939: $as_echo "no" >&6; }
! 8940: fi
! 8941:
! 8942:
! 8943: fi
! 8944: if test -z "$ac_cv_prog_LIPO"; then
! 8945: ac_ct_LIPO=$LIPO
! 8946: # Extract the first word of "lipo", so it can be a program name with args.
! 8947: set dummy lipo; ac_word=$2
! 8948: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 8949: $as_echo_n "checking for $ac_word... " >&6; }
! 8950: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
! 8951: $as_echo_n "(cached) " >&6
! 8952: else
! 8953: if test -n "$ac_ct_LIPO"; then
! 8954: ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
! 8955: else
! 8956: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 8957: for as_dir in $PATH
! 8958: do
! 8959: IFS=$as_save_IFS
! 8960: test -z "$as_dir" && as_dir=.
! 8961: for ac_exec_ext in '' $ac_executable_extensions; do
! 8962: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 8963: ac_cv_prog_ac_ct_LIPO="lipo"
! 8964: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 8965: break 2
! 8966: fi
! 8967: done
! 8968: done
! 8969: IFS=$as_save_IFS
! 8970:
! 8971: fi
! 8972: fi
! 8973: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
! 8974: if test -n "$ac_ct_LIPO"; then
! 8975: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
! 8976: $as_echo "$ac_ct_LIPO" >&6; }
! 8977: else
! 8978: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8979: $as_echo "no" >&6; }
! 8980: fi
! 8981:
! 8982: if test "x$ac_ct_LIPO" = x; then
! 8983: LIPO=":"
! 8984: else
! 8985: case $cross_compiling:$ac_tool_warned in
! 8986: yes:)
! 8987: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 8988: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 8989: ac_tool_warned=yes ;;
! 8990: esac
! 8991: LIPO=$ac_ct_LIPO
! 8992: fi
! 8993: else
! 8994: LIPO="$ac_cv_prog_LIPO"
! 8995: fi
! 8996:
! 8997: if test -n "$ac_tool_prefix"; then
! 8998: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
! 8999: set dummy ${ac_tool_prefix}otool; ac_word=$2
! 9000: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 9001: $as_echo_n "checking for $ac_word... " >&6; }
! 9002: if ${ac_cv_prog_OTOOL+:} false; then :
! 9003: $as_echo_n "(cached) " >&6
! 9004: else
! 9005: if test -n "$OTOOL"; then
! 9006: ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
! 9007: else
! 9008: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 9009: for as_dir in $PATH
! 9010: do
! 9011: IFS=$as_save_IFS
! 9012: test -z "$as_dir" && as_dir=.
! 9013: for ac_exec_ext in '' $ac_executable_extensions; do
! 9014: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 9015: ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
! 9016: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 9017: break 2
! 9018: fi
! 9019: done
! 9020: done
! 9021: IFS=$as_save_IFS
! 9022:
! 9023: fi
! 9024: fi
! 9025: OTOOL=$ac_cv_prog_OTOOL
! 9026: if test -n "$OTOOL"; then
! 9027: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
! 9028: $as_echo "$OTOOL" >&6; }
! 9029: else
! 9030: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 9031: $as_echo "no" >&6; }
! 9032: fi
! 9033:
! 9034:
! 9035: fi
! 9036: if test -z "$ac_cv_prog_OTOOL"; then
! 9037: ac_ct_OTOOL=$OTOOL
! 9038: # Extract the first word of "otool", so it can be a program name with args.
! 9039: set dummy otool; ac_word=$2
! 9040: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 9041: $as_echo_n "checking for $ac_word... " >&6; }
! 9042: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
! 9043: $as_echo_n "(cached) " >&6
! 9044: else
! 9045: if test -n "$ac_ct_OTOOL"; then
! 9046: ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
! 9047: else
! 9048: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 9049: for as_dir in $PATH
! 9050: do
! 9051: IFS=$as_save_IFS
! 9052: test -z "$as_dir" && as_dir=.
! 9053: for ac_exec_ext in '' $ac_executable_extensions; do
! 9054: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 9055: ac_cv_prog_ac_ct_OTOOL="otool"
! 9056: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 9057: break 2
! 9058: fi
! 9059: done
! 9060: done
! 9061: IFS=$as_save_IFS
! 9062:
! 9063: fi
! 9064: fi
! 9065: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
! 9066: if test -n "$ac_ct_OTOOL"; then
! 9067: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
! 9068: $as_echo "$ac_ct_OTOOL" >&6; }
! 9069: else
! 9070: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 9071: $as_echo "no" >&6; }
! 9072: fi
! 9073:
! 9074: if test "x$ac_ct_OTOOL" = x; then
! 9075: OTOOL=":"
! 9076: else
! 9077: case $cross_compiling:$ac_tool_warned in
! 9078: yes:)
! 9079: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 9080: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 9081: ac_tool_warned=yes ;;
! 9082: esac
! 9083: OTOOL=$ac_ct_OTOOL
! 9084: fi
! 9085: else
! 9086: OTOOL="$ac_cv_prog_OTOOL"
! 9087: fi
! 9088:
! 9089: if test -n "$ac_tool_prefix"; then
! 9090: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
! 9091: set dummy ${ac_tool_prefix}otool64; ac_word=$2
! 9092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 9093: $as_echo_n "checking for $ac_word... " >&6; }
! 9094: if ${ac_cv_prog_OTOOL64+:} false; then :
! 9095: $as_echo_n "(cached) " >&6
! 9096: else
! 9097: if test -n "$OTOOL64"; then
! 9098: ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
! 9099: else
! 9100: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 9101: for as_dir in $PATH
! 9102: do
! 9103: IFS=$as_save_IFS
! 9104: test -z "$as_dir" && as_dir=.
! 9105: for ac_exec_ext in '' $ac_executable_extensions; do
! 9106: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 9107: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
! 9108: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 9109: break 2
! 9110: fi
! 9111: done
! 9112: done
! 9113: IFS=$as_save_IFS
! 9114:
! 9115: fi
! 9116: fi
! 9117: OTOOL64=$ac_cv_prog_OTOOL64
! 9118: if test -n "$OTOOL64"; then
! 9119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
! 9120: $as_echo "$OTOOL64" >&6; }
! 9121: else
! 9122: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 9123: $as_echo "no" >&6; }
! 9124: fi
! 9125:
! 9126:
! 9127: fi
! 9128: if test -z "$ac_cv_prog_OTOOL64"; then
! 9129: ac_ct_OTOOL64=$OTOOL64
! 9130: # Extract the first word of "otool64", so it can be a program name with args.
! 9131: set dummy otool64; ac_word=$2
! 9132: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 9133: $as_echo_n "checking for $ac_word... " >&6; }
! 9134: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
! 9135: $as_echo_n "(cached) " >&6
! 9136: else
! 9137: if test -n "$ac_ct_OTOOL64"; then
! 9138: ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
! 9139: else
! 9140: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 9141: for as_dir in $PATH
! 9142: do
! 9143: IFS=$as_save_IFS
! 9144: test -z "$as_dir" && as_dir=.
! 9145: for ac_exec_ext in '' $ac_executable_extensions; do
! 9146: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 9147: ac_cv_prog_ac_ct_OTOOL64="otool64"
! 9148: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 9149: break 2
! 9150: fi
! 9151: done
! 9152: done
! 9153: IFS=$as_save_IFS
! 9154:
! 9155: fi
! 9156: fi
! 9157: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
! 9158: if test -n "$ac_ct_OTOOL64"; then
! 9159: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
! 9160: $as_echo "$ac_ct_OTOOL64" >&6; }
! 9161: else
! 9162: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 9163: $as_echo "no" >&6; }
! 9164: fi
! 9165:
! 9166: if test "x$ac_ct_OTOOL64" = x; then
! 9167: OTOOL64=":"
! 9168: else
! 9169: case $cross_compiling:$ac_tool_warned in
! 9170: yes:)
! 9171: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 9172: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 9173: ac_tool_warned=yes ;;
! 9174: esac
! 9175: OTOOL64=$ac_ct_OTOOL64
! 9176: fi
! 9177: else
! 9178: OTOOL64="$ac_cv_prog_OTOOL64"
! 9179: fi
! 9180:
! 9181:
! 9182:
! 9183:
! 9184:
! 9185:
! 9186:
! 9187:
! 9188:
! 9189:
! 9190:
! 9191:
! 9192:
! 9193:
! 9194:
! 9195:
! 9196:
! 9197:
! 9198:
! 9199:
! 9200:
! 9201:
! 9202:
! 9203:
! 9204:
! 9205:
! 9206:
! 9207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
! 9208: $as_echo_n "checking for -single_module linker flag... " >&6; }
! 9209: if ${lt_cv_apple_cc_single_mod+:} false; then :
! 9210: $as_echo_n "(cached) " >&6
! 9211: else
! 9212: lt_cv_apple_cc_single_mod=no
! 9213: if test -z "${LT_MULTI_MODULE}"; then
! 9214: # By default we will add the -single_module flag. You can override
! 9215: # by either setting the environment variable LT_MULTI_MODULE
! 9216: # non-empty at configure time, or by adding -multi_module to the
! 9217: # link flags.
! 9218: rm -rf libconftest.dylib*
! 9219: echo "int foo(void){return 1;}" > conftest.c
! 9220: echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 9221: -dynamiclib -Wl,-single_module conftest.c" >&5
! 9222: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 9223: -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
! 9224: _lt_result=$?
! 9225: if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
! 9226: lt_cv_apple_cc_single_mod=yes
! 9227: else
! 9228: cat conftest.err >&5
! 9229: fi
! 9230: rm -rf libconftest.dylib*
! 9231: rm -f conftest.*
! 9232: fi
! 9233: fi
! 9234: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
! 9235: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
! 9236: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
! 9237: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
! 9238: if ${lt_cv_ld_exported_symbols_list+:} false; then :
! 9239: $as_echo_n "(cached) " >&6
! 9240: else
! 9241: lt_cv_ld_exported_symbols_list=no
! 9242: save_LDFLAGS=$LDFLAGS
! 9243: echo "_main" > conftest.sym
! 9244: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
! 9245: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 9246: /* end confdefs.h. */
! 9247:
! 9248: int
! 9249: main ()
! 9250: {
! 9251:
! 9252: ;
! 9253: return 0;
! 9254: }
! 9255: _ACEOF
! 9256: if ac_fn_c_try_link "$LINENO"; then :
! 9257: lt_cv_ld_exported_symbols_list=yes
! 9258: else
! 9259: lt_cv_ld_exported_symbols_list=no
! 9260: fi
! 9261: rm -f core conftest.err conftest.$ac_objext \
! 9262: conftest$ac_exeext conftest.$ac_ext
! 9263: LDFLAGS="$save_LDFLAGS"
! 9264:
! 9265: fi
! 9266: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
! 9267: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
! 9268: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
! 9269: $as_echo_n "checking for -force_load linker flag... " >&6; }
! 9270: if ${lt_cv_ld_force_load+:} false; then :
! 9271: $as_echo_n "(cached) " >&6
! 9272: else
! 9273: lt_cv_ld_force_load=no
! 9274: cat > conftest.c << _LT_EOF
! 9275: int forced_loaded() { return 2;}
! 9276: _LT_EOF
! 9277: echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
! 9278: $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
! 9279: echo "$AR cru libconftest.a conftest.o" >&5
! 9280: $AR cru libconftest.a conftest.o 2>&5
! 9281: echo "$RANLIB libconftest.a" >&5
! 9282: $RANLIB libconftest.a 2>&5
! 9283: cat > conftest.c << _LT_EOF
! 9284: int main() { return 0;}
! 9285: _LT_EOF
! 9286: echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
! 9287: $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
! 9288: _lt_result=$?
! 9289: if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
! 9290: lt_cv_ld_force_load=yes
! 9291: else
! 9292: cat conftest.err >&5
! 9293: fi
! 9294: rm -f conftest.err libconftest.a conftest conftest.c
! 9295: rm -rf conftest.dSYM
! 9296:
! 9297: fi
! 9298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
! 9299: $as_echo "$lt_cv_ld_force_load" >&6; }
! 9300: case $host_os in
! 9301: rhapsody* | darwin1.[012])
! 9302: _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
! 9303: darwin1.*)
! 9304: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 9305: darwin*) # darwin 5.x on
! 9306: # if running on 10.5 or later, the deployment target defaults
! 9307: # to the OS version, if on x86, and 10.4, the deployment
! 9308: # target defaults to 10.4. Don't you love it?
! 9309: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
! 9310: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
! 9311: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 9312: 10.[012]*)
! 9313: _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
! 9314: 10.*)
! 9315: _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
! 9316: esac
! 9317: ;;
! 9318: esac
! 9319: if test "$lt_cv_apple_cc_single_mod" = "yes"; then
! 9320: _lt_dar_single_mod='$single_module'
! 9321: fi
! 9322: if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
! 9323: _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
! 9324: else
! 9325: _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
! 9326: fi
! 9327: if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
! 9328: _lt_dsymutil='~$DSYMUTIL $lib || :'
! 9329: else
! 9330: _lt_dsymutil=
! 9331: fi
! 9332: ;;
! 9333: esac
! 9334:
! 9335:
! 9336: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
! 9337: $as_echo_n "checking for ANSI C header files... " >&6; }
! 9338: if ${ac_cv_header_stdc+:} false; then :
! 9339: $as_echo_n "(cached) " >&6
! 9340: else
! 9341: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 9342: /* end confdefs.h. */
! 9343: #include <stdlib.h>
! 9344: #include <stdarg.h>
! 9345: #include <string.h>
! 9346: #include <float.h>
! 9347:
! 9348: int
! 9349: main ()
! 9350: {
! 9351:
! 9352: ;
! 9353: return 0;
! 9354: }
! 9355: _ACEOF
! 9356: if ac_fn_c_try_compile "$LINENO"; then :
! 9357: ac_cv_header_stdc=yes
! 9358: else
! 9359: ac_cv_header_stdc=no
! 9360: fi
! 9361: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 9362:
! 9363: if test $ac_cv_header_stdc = yes; then
! 9364: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 9365: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 9366: /* end confdefs.h. */
! 9367: #include <string.h>
! 9368:
! 9369: _ACEOF
! 9370: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 9371: $EGREP "memchr" >/dev/null 2>&1; then :
! 9372:
! 9373: else
! 9374: ac_cv_header_stdc=no
! 9375: fi
! 9376: rm -f conftest*
! 9377:
! 9378: fi
! 9379:
! 9380: if test $ac_cv_header_stdc = yes; then
! 9381: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 9382: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 9383: /* end confdefs.h. */
! 9384: #include <stdlib.h>
! 9385:
! 9386: _ACEOF
! 9387: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 9388: $EGREP "free" >/dev/null 2>&1; then :
! 9389:
! 9390: else
! 9391: ac_cv_header_stdc=no
! 9392: fi
! 9393: rm -f conftest*
! 9394:
! 9395: fi
! 9396:
! 9397: if test $ac_cv_header_stdc = yes; then
! 9398: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 9399: if test "$cross_compiling" = yes; then :
! 9400: :
! 9401: else
! 9402: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 9403: /* end confdefs.h. */
! 9404: #include <ctype.h>
! 9405: #include <stdlib.h>
! 9406: #if ((' ' & 0x0FF) == 0x020)
! 9407: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 9408: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 9409: #else
! 9410: # define ISLOWER(c) \
! 9411: (('a' <= (c) && (c) <= 'i') \
! 9412: || ('j' <= (c) && (c) <= 'r') \
! 9413: || ('s' <= (c) && (c) <= 'z'))
! 9414: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 9415: #endif
! 9416:
! 9417: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 9418: int
! 9419: main ()
! 9420: {
! 9421: int i;
! 9422: for (i = 0; i < 256; i++)
! 9423: if (XOR (islower (i), ISLOWER (i))
! 9424: || toupper (i) != TOUPPER (i))
! 9425: return 2;
! 9426: return 0;
! 9427: }
! 9428: _ACEOF
! 9429: if ac_fn_c_try_run "$LINENO"; then :
! 9430:
! 9431: else
! 9432: ac_cv_header_stdc=no
! 9433: fi
! 9434: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 9435: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 9436: fi
! 9437:
! 9438: fi
! 9439: fi
! 9440: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
! 9441: $as_echo "$ac_cv_header_stdc" >&6; }
! 9442: if test $ac_cv_header_stdc = yes; then
! 9443:
! 9444: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
! 9445:
! 9446: fi
! 9447:
! 9448: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 9449: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 9450: inttypes.h stdint.h unistd.h
! 9451: do :
! 9452: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 9453: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
! 9454: "
! 9455: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 9456: cat >>confdefs.h <<_ACEOF
! 9457: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 9458: _ACEOF
! 9459:
! 9460: fi
! 9461:
! 9462: done
! 9463:
! 9464:
! 9465: for ac_header in dlfcn.h
! 9466: do :
! 9467: ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
! 9468: "
! 9469: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
! 9470: cat >>confdefs.h <<_ACEOF
! 9471: #define HAVE_DLFCN_H 1
! 9472: _ACEOF
! 9473:
! 9474: fi
! 9475:
! 9476: done
! 9477:
! 9478:
! 9479:
! 9480:
! 9481:
! 9482: # Set options
! 9483: enable_dlopen=yes
! 9484:
! 9485:
! 9486:
! 9487:
! 9488: enable_win32_dll=no
! 9489:
! 9490:
! 9491: # Check whether --enable-shared was given.
! 9492: if test "${enable_shared+set}" = set; then :
! 9493: enableval=$enable_shared; p=${PACKAGE-default}
! 9494: case $enableval in
! 9495: yes) enable_shared=yes ;;
! 9496: no) enable_shared=no ;;
! 9497: *)
! 9498: enable_shared=no
! 9499: # Look at the argument we got. We use all the common list separators.
! 9500: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 9501: for pkg in $enableval; do
! 9502: IFS="$lt_save_ifs"
! 9503: if test "X$pkg" = "X$p"; then
! 9504: enable_shared=yes
! 9505: fi
! 9506: done
! 9507: IFS="$lt_save_ifs"
! 9508: ;;
! 9509: esac
! 9510: else
! 9511: enable_shared=yes
! 9512: fi
! 9513:
! 9514:
! 9515:
! 9516:
! 9517:
! 9518:
! 9519:
! 9520:
! 9521:
! 9522: # Check whether --enable-static was given.
! 9523: if test "${enable_static+set}" = set; then :
! 9524: enableval=$enable_static; p=${PACKAGE-default}
! 9525: case $enableval in
! 9526: yes) enable_static=yes ;;
! 9527: no) enable_static=no ;;
! 9528: *)
! 9529: enable_static=no
! 9530: # Look at the argument we got. We use all the common list separators.
! 9531: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 9532: for pkg in $enableval; do
! 9533: IFS="$lt_save_ifs"
! 9534: if test "X$pkg" = "X$p"; then
! 9535: enable_static=yes
! 9536: fi
! 9537: done
! 9538: IFS="$lt_save_ifs"
! 9539: ;;
! 9540: esac
! 9541: else
! 9542: enable_static=yes
! 9543: fi
! 9544:
! 9545:
! 9546:
! 9547:
! 9548:
! 9549:
! 9550:
! 9551:
! 9552:
! 9553:
! 9554: # Check whether --with-pic was given.
! 9555: if test "${with_pic+set}" = set; then :
! 9556: withval=$with_pic; pic_mode="$withval"
! 9557: else
! 9558: pic_mode=default
! 9559: fi
! 9560:
! 9561:
! 9562: test -z "$pic_mode" && pic_mode=default
! 9563:
! 9564:
! 9565:
! 9566:
! 9567:
! 9568:
! 9569:
! 9570: # Check whether --enable-fast-install was given.
! 9571: if test "${enable_fast_install+set}" = set; then :
! 9572: enableval=$enable_fast_install; p=${PACKAGE-default}
! 9573: case $enableval in
! 9574: yes) enable_fast_install=yes ;;
! 9575: no) enable_fast_install=no ;;
! 9576: *)
! 9577: enable_fast_install=no
! 9578: # Look at the argument we got. We use all the common list separators.
! 9579: lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
! 9580: for pkg in $enableval; do
! 9581: IFS="$lt_save_ifs"
! 9582: if test "X$pkg" = "X$p"; then
! 9583: enable_fast_install=yes
! 9584: fi
! 9585: done
! 9586: IFS="$lt_save_ifs"
! 9587: ;;
! 9588: esac
! 9589: else
! 9590: enable_fast_install=yes
! 9591: fi
! 9592:
! 9593:
! 9594:
! 9595:
! 9596:
! 9597:
! 9598:
! 9599:
! 9600:
! 9601:
! 9602:
! 9603: # This can be used to rebuild libtool when needed
! 9604: LIBTOOL_DEPS="$ltmain"
! 9605:
! 9606: # Always use our own libtool.
! 9607: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
! 9608:
! 9609:
! 9610:
! 9611:
! 9612:
! 9613:
! 9614:
! 9615:
! 9616:
! 9617:
! 9618:
! 9619:
! 9620:
! 9621:
! 9622:
! 9623:
! 9624:
! 9625:
! 9626:
! 9627:
! 9628:
! 9629:
! 9630:
! 9631:
! 9632:
! 9633:
! 9634: test -z "$LN_S" && LN_S="ln -s"
! 9635:
! 9636:
! 9637:
! 9638:
! 9639:
! 9640:
! 9641:
! 9642:
! 9643:
! 9644:
! 9645:
! 9646:
! 9647:
! 9648:
! 9649: if test -n "${ZSH_VERSION+set}" ; then
! 9650: setopt NO_GLOB_SUBST
! 9651: fi
! 9652:
! 9653: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
! 9654: $as_echo_n "checking for objdir... " >&6; }
! 9655: if ${lt_cv_objdir+:} false; then :
! 9656: $as_echo_n "(cached) " >&6
! 9657: else
! 9658: rm -f .libs 2>/dev/null
! 9659: mkdir .libs 2>/dev/null
! 9660: if test -d .libs; then
! 9661: lt_cv_objdir=.libs
! 9662: else
! 9663: # MS-DOS does not allow filenames that begin with a dot.
! 9664: lt_cv_objdir=_libs
! 9665: fi
! 9666: rmdir .libs 2>/dev/null
! 9667: fi
! 9668: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
! 9669: $as_echo "$lt_cv_objdir" >&6; }
! 9670: objdir=$lt_cv_objdir
! 9671:
! 9672:
! 9673:
! 9674:
! 9675:
! 9676: cat >>confdefs.h <<_ACEOF
! 9677: #define LT_OBJDIR "$lt_cv_objdir/"
! 9678: _ACEOF
! 9679:
! 9680:
! 9681:
! 9682:
! 9683: case $host_os in
! 9684: aix3*)
! 9685: # AIX sometimes has problems with the GCC collect2 program. For some
! 9686: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 9687: # vanish in a puff of smoke.
! 9688: if test "X${COLLECT_NAMES+set}" != Xset; then
! 9689: COLLECT_NAMES=
! 9690: export COLLECT_NAMES
! 9691: fi
! 9692: ;;
! 9693: esac
! 9694:
! 9695: # Global variables:
! 9696: ofile=libtool
! 9697: can_build_shared=yes
! 9698:
! 9699: # All known linkers require a `.a' archive for static linking (except MSVC,
! 9700: # which needs '.lib').
! 9701: libext=a
! 9702:
! 9703: with_gnu_ld="$lt_cv_prog_gnu_ld"
! 9704:
! 9705: old_CC="$CC"
! 9706: old_CFLAGS="$CFLAGS"
! 9707:
! 9708: # Set sane defaults for various variables
! 9709: test -z "$CC" && CC=cc
! 9710: test -z "$LTCC" && LTCC=$CC
! 9711: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
! 9712: test -z "$LD" && LD=ld
! 9713: test -z "$ac_objext" && ac_objext=o
! 9714:
! 9715: for cc_temp in $compiler""; do
! 9716: case $cc_temp in
! 9717: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 9718: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 9719: \-*) ;;
! 9720: *) break;;
! 9721: esac
! 9722: done
! 9723: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
! 9724:
! 9725:
! 9726: # Only perform the check for file, if the check method requires it
! 9727: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 9728: case $deplibs_check_method in
! 9729: file_magic*)
! 9730: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 9731: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
! 9732: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
! 9733: if ${lt_cv_path_MAGIC_CMD+:} false; then :
! 9734: $as_echo_n "(cached) " >&6
! 9735: else
! 9736: case $MAGIC_CMD in
! 9737: [\\/*] | ?:[\\/]*)
! 9738: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 9739: ;;
! 9740: *)
! 9741: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 9742: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 9743: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 9744: for ac_dir in $ac_dummy; do
! 9745: IFS="$lt_save_ifs"
! 9746: test -z "$ac_dir" && ac_dir=.
! 9747: if test -f $ac_dir/${ac_tool_prefix}file; then
! 9748: lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
! 9749: if test -n "$file_magic_test_file"; then
! 9750: case $deplibs_check_method in
! 9751: "file_magic "*)
! 9752: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 9753: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 9754: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 9755: $EGREP "$file_magic_regex" > /dev/null; then
! 9756: :
! 9757: else
! 9758: cat <<_LT_EOF 1>&2
! 9759:
! 9760: *** Warning: the command libtool uses to detect shared libraries,
! 9761: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 9762: *** The result is that libtool may fail to recognize shared libraries
! 9763: *** as such. This will affect the creation of libtool libraries that
! 9764: *** depend on shared libraries, but programs linked with such libtool
! 9765: *** libraries will work regardless of this problem. Nevertheless, you
! 9766: *** may want to report the problem to your system manager and/or to
! 9767: *** bug-libtool@gnu.org
! 9768:
! 9769: _LT_EOF
! 9770: fi ;;
! 9771: esac
! 9772: fi
! 9773: break
! 9774: fi
! 9775: done
! 9776: IFS="$lt_save_ifs"
! 9777: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 9778: ;;
! 9779: esac
! 9780: fi
! 9781:
! 9782: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 9783: if test -n "$MAGIC_CMD"; then
! 9784: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
! 9785: $as_echo "$MAGIC_CMD" >&6; }
! 9786: else
! 9787: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 9788: $as_echo "no" >&6; }
! 9789: fi
! 9790:
! 9791:
! 9792:
! 9793:
! 9794:
! 9795: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 9796: if test -n "$ac_tool_prefix"; then
! 9797: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
! 9798: $as_echo_n "checking for file... " >&6; }
! 9799: if ${lt_cv_path_MAGIC_CMD+:} false; then :
! 9800: $as_echo_n "(cached) " >&6
! 9801: else
! 9802: case $MAGIC_CMD in
! 9803: [\\/*] | ?:[\\/]*)
! 9804: lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
! 9805: ;;
! 9806: *)
! 9807: lt_save_MAGIC_CMD="$MAGIC_CMD"
! 9808: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
! 9809: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 9810: for ac_dir in $ac_dummy; do
! 9811: IFS="$lt_save_ifs"
! 9812: test -z "$ac_dir" && ac_dir=.
! 9813: if test -f $ac_dir/file; then
! 9814: lt_cv_path_MAGIC_CMD="$ac_dir/file"
! 9815: if test -n "$file_magic_test_file"; then
! 9816: case $deplibs_check_method in
! 9817: "file_magic "*)
! 9818: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 9819: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 9820: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 9821: $EGREP "$file_magic_regex" > /dev/null; then
! 9822: :
! 9823: else
! 9824: cat <<_LT_EOF 1>&2
! 9825:
! 9826: *** Warning: the command libtool uses to detect shared libraries,
! 9827: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 9828: *** The result is that libtool may fail to recognize shared libraries
! 9829: *** as such. This will affect the creation of libtool libraries that
! 9830: *** depend on shared libraries, but programs linked with such libtool
! 9831: *** libraries will work regardless of this problem. Nevertheless, you
! 9832: *** may want to report the problem to your system manager and/or to
! 9833: *** bug-libtool@gnu.org
! 9834:
! 9835: _LT_EOF
! 9836: fi ;;
! 9837: esac
! 9838: fi
! 9839: break
! 9840: fi
! 9841: done
! 9842: IFS="$lt_save_ifs"
! 9843: MAGIC_CMD="$lt_save_MAGIC_CMD"
! 9844: ;;
! 9845: esac
! 9846: fi
! 9847:
! 9848: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
! 9849: if test -n "$MAGIC_CMD"; then
! 9850: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
! 9851: $as_echo "$MAGIC_CMD" >&6; }
! 9852: else
! 9853: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 9854: $as_echo "no" >&6; }
! 9855: fi
! 9856:
! 9857:
! 9858: else
! 9859: MAGIC_CMD=:
! 9860: fi
! 9861: fi
! 9862:
! 9863: fi
! 9864: ;;
! 9865: esac
! 9866:
! 9867: # Use C for the default configuration in the libtool script
! 9868:
! 9869: lt_save_CC="$CC"
! 9870: ac_ext=c
! 9871: ac_cpp='$CPP $CPPFLAGS'
! 9872: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 9873: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 9874: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 9875:
! 9876:
! 9877: # Source file extension for C test sources.
! 9878: ac_ext=c
! 9879:
! 9880: # Object file extension for compiled C test sources.
! 9881: objext=o
! 9882: objext=$objext
! 9883:
! 9884: # Code to be used in simple compile tests
! 9885: lt_simple_compile_test_code="int some_variable = 0;"
! 9886:
! 9887: # Code to be used in simple link tests
! 9888: lt_simple_link_test_code='int main(){return(0);}'
! 9889:
! 9890:
! 9891:
! 9892:
! 9893:
! 9894:
! 9895:
! 9896: # If no C compiler was specified, use CC.
! 9897: LTCC=${LTCC-"$CC"}
! 9898:
! 9899: # If no C compiler flags were specified, use CFLAGS.
! 9900: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 9901:
! 9902: # Allow CC to be a program name with arguments.
! 9903: compiler=$CC
! 9904:
! 9905: # Save the default compiler, since it gets overwritten when the other
! 9906: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
! 9907: compiler_DEFAULT=$CC
! 9908:
! 9909: # save warnings/boilerplate of simple test code
! 9910: ac_outfile=conftest.$ac_objext
! 9911: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 9912: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 9913: _lt_compiler_boilerplate=`cat conftest.err`
! 9914: $RM conftest*
! 9915:
! 9916: ac_outfile=conftest.$ac_objext
! 9917: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 9918: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 9919: _lt_linker_boilerplate=`cat conftest.err`
! 9920: $RM -r conftest*
! 9921:
! 9922:
! 9923: ## CAVEAT EMPTOR:
! 9924: ## There is no encapsulation within the following macros, do not change
! 9925: ## the running order or otherwise move them around unless you know exactly
! 9926: ## what you are doing...
! 9927: if test -n "$compiler"; then
! 9928:
! 9929: lt_prog_compiler_no_builtin_flag=
! 9930:
! 9931: if test "$GCC" = yes; then
! 9932: case $cc_basename in
! 9933: nvcc*)
! 9934: lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
! 9935: *)
! 9936: lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
! 9937: esac
! 9938:
! 9939: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 9940: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
! 9941: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
! 9942: $as_echo_n "(cached) " >&6
! 9943: else
! 9944: lt_cv_prog_compiler_rtti_exceptions=no
! 9945: ac_outfile=conftest.$ac_objext
! 9946: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 9947: lt_compiler_flag="-fno-rtti -fno-exceptions"
! 9948: # Insert the option either (1) after the last *FLAGS variable, or
! 9949: # (2) before a word containing "conftest.", or (3) at the end.
! 9950: # Note that $ac_compile itself does not contain backslashes and begins
! 9951: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 9952: # The option is referenced via a variable to avoid confusing sed.
! 9953: lt_compile=`echo "$ac_compile" | $SED \
! 9954: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 9955: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 9956: -e 's:$: $lt_compiler_flag:'`
! 9957: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 9958: (eval "$lt_compile" 2>conftest.err)
! 9959: ac_status=$?
! 9960: cat conftest.err >&5
! 9961: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9962: if (exit $ac_status) && test -s "$ac_outfile"; then
! 9963: # The compiler can only warn and ignore the option if not recognized
! 9964: # So say no if there are warnings other than the usual output.
! 9965: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 9966: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 9967: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 9968: lt_cv_prog_compiler_rtti_exceptions=yes
! 9969: fi
! 9970: fi
! 9971: $RM conftest*
! 9972:
! 9973: fi
! 9974: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 9975: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
! 9976:
! 9977: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
! 9978: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
! 9979: else
! 9980: :
! 9981: fi
! 9982:
! 9983: fi
! 9984:
! 9985:
! 9986:
! 9987:
! 9988:
! 9989:
! 9990: lt_prog_compiler_wl=
! 9991: lt_prog_compiler_pic=
! 9992: lt_prog_compiler_static=
! 9993:
! 9994:
! 9995: if test "$GCC" = yes; then
! 9996: lt_prog_compiler_wl='-Wl,'
! 9997: lt_prog_compiler_static='-static'
! 9998:
! 9999: case $host_os in
! 10000: aix*)
! 10001: # All AIX code is PIC.
! 10002: if test "$host_cpu" = ia64; then
! 10003: # AIX 5 now supports IA64 processor
! 10004: lt_prog_compiler_static='-Bstatic'
! 10005: fi
! 10006: ;;
! 10007:
! 10008: amigaos*)
! 10009: case $host_cpu in
! 10010: powerpc)
! 10011: # see comment about AmigaOS4 .so support
! 10012: lt_prog_compiler_pic='-fPIC'
! 10013: ;;
! 10014: m68k)
! 10015: # FIXME: we need at least 68020 code to build shared libraries, but
! 10016: # adding the `-m68020' flag to GCC prevents building anything better,
! 10017: # like `-m68040'.
! 10018: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
! 10019: ;;
! 10020: esac
! 10021: ;;
! 10022:
! 10023: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 10024: # PIC is the default for these OSes.
! 10025: ;;
! 10026:
! 10027: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 10028: # This hack is so that the source file can tell whether it is being
! 10029: # built for inclusion in a dll (and should export symbols for example).
! 10030: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 10031: # (--disable-auto-import) libraries
! 10032: lt_prog_compiler_pic='-DDLL_EXPORT'
! 10033: ;;
! 10034:
! 10035: darwin* | rhapsody*)
! 10036: # PIC is the default on this platform
! 10037: # Common symbols not allowed in MH_DYLIB files
! 10038: lt_prog_compiler_pic='-fno-common'
! 10039: ;;
! 10040:
! 10041: haiku*)
! 10042: # PIC is the default for Haiku.
! 10043: # The "-static" flag exists, but is broken.
! 10044: lt_prog_compiler_static=
! 10045: ;;
! 10046:
! 10047: hpux*)
! 10048: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
! 10049: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
! 10050: # sets the default TLS model and affects inlining.
! 10051: case $host_cpu in
! 10052: hppa*64*)
! 10053: # +Z the default
! 10054: ;;
! 10055: *)
! 10056: lt_prog_compiler_pic='-fPIC'
! 10057: ;;
! 10058: esac
! 10059: ;;
! 10060:
! 10061: interix[3-9]*)
! 10062: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 10063: # Instead, we relocate shared libraries at runtime.
! 10064: ;;
! 10065:
! 10066: msdosdjgpp*)
! 10067: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 10068: # on systems that don't support them.
! 10069: lt_prog_compiler_can_build_shared=no
! 10070: enable_shared=no
! 10071: ;;
! 10072:
! 10073: *nto* | *qnx*)
! 10074: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 10075: # it will coredump.
! 10076: lt_prog_compiler_pic='-fPIC -shared'
! 10077: ;;
! 10078:
! 10079: sysv4*MP*)
! 10080: if test -d /usr/nec; then
! 10081: lt_prog_compiler_pic=-Kconform_pic
! 10082: fi
! 10083: ;;
! 10084:
! 10085: *)
! 10086: lt_prog_compiler_pic='-fPIC'
! 10087: ;;
! 10088: esac
! 10089:
! 10090: case $cc_basename in
! 10091: nvcc*) # Cuda Compiler Driver 2.2
! 10092: lt_prog_compiler_wl='-Xlinker '
! 10093: lt_prog_compiler_pic='-Xcompiler -fPIC'
! 10094: ;;
! 10095: esac
! 10096: else
! 10097: # PORTME Check for flag to pass linker flags through the system compiler.
! 10098: case $host_os in
! 10099: aix*)
! 10100: lt_prog_compiler_wl='-Wl,'
! 10101: if test "$host_cpu" = ia64; then
! 10102: # AIX 5 now supports IA64 processor
! 10103: lt_prog_compiler_static='-Bstatic'
! 10104: else
! 10105: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
! 10106: fi
! 10107: ;;
! 10108:
! 10109: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 10110: # This hack is so that the source file can tell whether it is being
! 10111: # built for inclusion in a dll (and should export symbols for example).
! 10112: lt_prog_compiler_pic='-DDLL_EXPORT'
! 10113: ;;
! 10114:
! 10115: hpux9* | hpux10* | hpux11*)
! 10116: lt_prog_compiler_wl='-Wl,'
! 10117: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 10118: # not for PA HP-UX.
! 10119: case $host_cpu in
! 10120: hppa*64*|ia64*)
! 10121: # +Z the default
! 10122: ;;
! 10123: *)
! 10124: lt_prog_compiler_pic='+Z'
! 10125: ;;
! 10126: esac
! 10127: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 10128: lt_prog_compiler_static='${wl}-a ${wl}archive'
! 10129: ;;
! 10130:
! 10131: irix5* | irix6* | nonstopux*)
! 10132: lt_prog_compiler_wl='-Wl,'
! 10133: # PIC (with -KPIC) is the default.
! 10134: lt_prog_compiler_static='-non_shared'
! 10135: ;;
! 10136:
! 10137: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 10138: case $cc_basename in
! 10139: # old Intel for x86_64 which still supported -KPIC.
! 10140: ecc*)
! 10141: lt_prog_compiler_wl='-Wl,'
! 10142: lt_prog_compiler_pic='-KPIC'
! 10143: lt_prog_compiler_static='-static'
! 10144: ;;
! 10145: # icc used to be incompatible with GCC.
! 10146: # ICC 10 doesn't accept -KPIC any more.
! 10147: icc* | ifort*)
! 10148: lt_prog_compiler_wl='-Wl,'
! 10149: lt_prog_compiler_pic='-fPIC'
! 10150: lt_prog_compiler_static='-static'
! 10151: ;;
! 10152: # Lahey Fortran 8.1.
! 10153: lf95*)
! 10154: lt_prog_compiler_wl='-Wl,'
! 10155: lt_prog_compiler_pic='--shared'
! 10156: lt_prog_compiler_static='--static'
! 10157: ;;
! 10158: nagfor*)
! 10159: # NAG Fortran compiler
! 10160: lt_prog_compiler_wl='-Wl,-Wl,,'
! 10161: lt_prog_compiler_pic='-PIC'
! 10162: lt_prog_compiler_static='-Bstatic'
! 10163: ;;
! 10164: pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
! 10165: # Portland Group compilers (*not* the Pentium gcc compiler,
! 10166: # which looks to be a dead project)
! 10167: lt_prog_compiler_wl='-Wl,'
! 10168: lt_prog_compiler_pic='-fpic'
! 10169: lt_prog_compiler_static='-Bstatic'
! 10170: ;;
! 10171: ccc*)
! 10172: lt_prog_compiler_wl='-Wl,'
! 10173: # All Alpha code is PIC.
! 10174: lt_prog_compiler_static='-non_shared'
! 10175: ;;
! 10176: xl* | bgxl* | bgf* | mpixl*)
! 10177: # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
! 10178: lt_prog_compiler_wl='-Wl,'
! 10179: lt_prog_compiler_pic='-qpic'
! 10180: lt_prog_compiler_static='-qstaticlink'
! 10181: ;;
! 10182: *)
! 10183: case `$CC -V 2>&1 | sed 5q` in
! 10184: *Sun\ F* | *Sun*Fortran*)
! 10185: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 10186: lt_prog_compiler_pic='-KPIC'
! 10187: lt_prog_compiler_static='-Bstatic'
! 10188: lt_prog_compiler_wl=''
! 10189: ;;
! 10190: *Sun\ C*)
! 10191: # Sun C 5.9
! 10192: lt_prog_compiler_pic='-KPIC'
! 10193: lt_prog_compiler_static='-Bstatic'
! 10194: lt_prog_compiler_wl='-Wl,'
! 10195: ;;
! 10196: esac
! 10197: ;;
! 10198: esac
! 10199: ;;
! 10200:
! 10201: newsos6)
! 10202: lt_prog_compiler_pic='-KPIC'
! 10203: lt_prog_compiler_static='-Bstatic'
! 10204: ;;
! 10205:
! 10206: *nto* | *qnx*)
! 10207: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 10208: # it will coredump.
! 10209: lt_prog_compiler_pic='-fPIC -shared'
! 10210: ;;
! 10211:
! 10212: osf3* | osf4* | osf5*)
! 10213: lt_prog_compiler_wl='-Wl,'
! 10214: # All OSF/1 code is PIC.
! 10215: lt_prog_compiler_static='-non_shared'
! 10216: ;;
! 10217:
! 10218: rdos*)
! 10219: lt_prog_compiler_static='-non_shared'
! 10220: ;;
! 10221:
! 10222: solaris*)
! 10223: lt_prog_compiler_pic='-KPIC'
! 10224: lt_prog_compiler_static='-Bstatic'
! 10225: case $cc_basename in
! 10226: f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
! 10227: lt_prog_compiler_wl='-Qoption ld ';;
! 10228: *)
! 10229: lt_prog_compiler_wl='-Wl,';;
! 10230: esac
! 10231: ;;
! 10232:
! 10233: sunos4*)
! 10234: lt_prog_compiler_wl='-Qoption ld '
! 10235: lt_prog_compiler_pic='-PIC'
! 10236: lt_prog_compiler_static='-Bstatic'
! 10237: ;;
! 10238:
! 10239: sysv4 | sysv4.2uw2* | sysv4.3*)
! 10240: lt_prog_compiler_wl='-Wl,'
! 10241: lt_prog_compiler_pic='-KPIC'
! 10242: lt_prog_compiler_static='-Bstatic'
! 10243: ;;
! 10244:
! 10245: sysv4*MP*)
! 10246: if test -d /usr/nec ;then
! 10247: lt_prog_compiler_pic='-Kconform_pic'
! 10248: lt_prog_compiler_static='-Bstatic'
! 10249: fi
! 10250: ;;
! 10251:
! 10252: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 10253: lt_prog_compiler_wl='-Wl,'
! 10254: lt_prog_compiler_pic='-KPIC'
! 10255: lt_prog_compiler_static='-Bstatic'
! 10256: ;;
! 10257:
! 10258: unicos*)
! 10259: lt_prog_compiler_wl='-Wl,'
! 10260: lt_prog_compiler_can_build_shared=no
! 10261: ;;
! 10262:
! 10263: uts4*)
! 10264: lt_prog_compiler_pic='-pic'
! 10265: lt_prog_compiler_static='-Bstatic'
! 10266: ;;
! 10267:
! 10268: *)
! 10269: lt_prog_compiler_can_build_shared=no
! 10270: ;;
! 10271: esac
! 10272: fi
! 10273:
! 10274: case $host_os in
! 10275: # For platforms which do not support PIC, -DPIC is meaningless:
! 10276: *djgpp*)
! 10277: lt_prog_compiler_pic=
! 10278: ;;
! 10279: *)
! 10280: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
! 10281: ;;
! 10282: esac
! 10283:
! 10284: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
! 10285: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 10286: if ${lt_cv_prog_compiler_pic+:} false; then :
! 10287: $as_echo_n "(cached) " >&6
! 10288: else
! 10289: lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
! 10290: fi
! 10291: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
! 10292: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
! 10293: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
! 10294:
! 10295: #
! 10296: # Check to make sure the PIC flag actually works.
! 10297: #
! 10298: if test -n "$lt_prog_compiler_pic"; then
! 10299: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
! 10300: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
! 10301: if ${lt_cv_prog_compiler_pic_works+:} false; then :
! 10302: $as_echo_n "(cached) " >&6
! 10303: else
! 10304: lt_cv_prog_compiler_pic_works=no
! 10305: ac_outfile=conftest.$ac_objext
! 10306: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 10307: lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
! 10308: # Insert the option either (1) after the last *FLAGS variable, or
! 10309: # (2) before a word containing "conftest.", or (3) at the end.
! 10310: # Note that $ac_compile itself does not contain backslashes and begins
! 10311: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 10312: # The option is referenced via a variable to avoid confusing sed.
! 10313: lt_compile=`echo "$ac_compile" | $SED \
! 10314: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 10315: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 10316: -e 's:$: $lt_compiler_flag:'`
! 10317: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 10318: (eval "$lt_compile" 2>conftest.err)
! 10319: ac_status=$?
! 10320: cat conftest.err >&5
! 10321: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10322: if (exit $ac_status) && test -s "$ac_outfile"; then
! 10323: # The compiler can only warn and ignore the option if not recognized
! 10324: # So say no if there are warnings other than the usual output.
! 10325: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 10326: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 10327: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 10328: lt_cv_prog_compiler_pic_works=yes
! 10329: fi
! 10330: fi
! 10331: $RM conftest*
! 10332:
! 10333: fi
! 10334: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
! 10335: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
! 10336:
! 10337: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
! 10338: case $lt_prog_compiler_pic in
! 10339: "" | " "*) ;;
! 10340: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
! 10341: esac
! 10342: else
! 10343: lt_prog_compiler_pic=
! 10344: lt_prog_compiler_can_build_shared=no
! 10345: fi
! 10346:
! 10347: fi
! 10348:
! 10349:
! 10350:
! 10351:
! 10352:
! 10353:
! 10354:
! 10355:
! 10356:
! 10357:
! 10358:
! 10359: #
! 10360: # Check to make sure the static flag actually works.
! 10361: #
! 10362: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
! 10363: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 10364: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 10365: if ${lt_cv_prog_compiler_static_works+:} false; then :
! 10366: $as_echo_n "(cached) " >&6
! 10367: else
! 10368: lt_cv_prog_compiler_static_works=no
! 10369: save_LDFLAGS="$LDFLAGS"
! 10370: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 10371: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 10372: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 10373: # The linker can only warn and ignore the option if not recognized
! 10374: # So say no if there are warnings
! 10375: if test -s conftest.err; then
! 10376: # Append any errors to the config.log.
! 10377: cat conftest.err 1>&5
! 10378: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 10379: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 10380: if diff conftest.exp conftest.er2 >/dev/null; then
! 10381: lt_cv_prog_compiler_static_works=yes
! 10382: fi
! 10383: else
! 10384: lt_cv_prog_compiler_static_works=yes
! 10385: fi
! 10386: fi
! 10387: $RM -r conftest*
! 10388: LDFLAGS="$save_LDFLAGS"
! 10389:
! 10390: fi
! 10391: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
! 10392: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
! 10393:
! 10394: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
! 10395: :
! 10396: else
! 10397: lt_prog_compiler_static=
! 10398: fi
! 10399:
! 10400:
! 10401:
! 10402:
! 10403:
! 10404:
! 10405:
! 10406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
! 10407: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 10408: if ${lt_cv_prog_compiler_c_o+:} false; then :
! 10409: $as_echo_n "(cached) " >&6
! 10410: else
! 10411: lt_cv_prog_compiler_c_o=no
! 10412: $RM -r conftest 2>/dev/null
! 10413: mkdir conftest
! 10414: cd conftest
! 10415: mkdir out
! 10416: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 10417:
! 10418: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 10419: # Insert the option either (1) after the last *FLAGS variable, or
! 10420: # (2) before a word containing "conftest.", or (3) at the end.
! 10421: # Note that $ac_compile itself does not contain backslashes and begins
! 10422: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 10423: lt_compile=`echo "$ac_compile" | $SED \
! 10424: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 10425: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 10426: -e 's:$: $lt_compiler_flag:'`
! 10427: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 10428: (eval "$lt_compile" 2>out/conftest.err)
! 10429: ac_status=$?
! 10430: cat out/conftest.err >&5
! 10431: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10432: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 10433: then
! 10434: # The compiler can only warn and ignore the option if not recognized
! 10435: # So say no if there are warnings
! 10436: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 10437: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 10438: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 10439: lt_cv_prog_compiler_c_o=yes
! 10440: fi
! 10441: fi
! 10442: chmod u+w . 2>&5
! 10443: $RM conftest*
! 10444: # SGI C++ compiler will create directory out/ii_files/ for
! 10445: # template instantiation
! 10446: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 10447: $RM out/* && rmdir out
! 10448: cd ..
! 10449: $RM -r conftest
! 10450: $RM conftest*
! 10451:
! 10452: fi
! 10453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
! 10454: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 10455:
! 10456:
! 10457:
! 10458:
! 10459:
! 10460:
! 10461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
! 10462: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 10463: if ${lt_cv_prog_compiler_c_o+:} false; then :
! 10464: $as_echo_n "(cached) " >&6
! 10465: else
! 10466: lt_cv_prog_compiler_c_o=no
! 10467: $RM -r conftest 2>/dev/null
! 10468: mkdir conftest
! 10469: cd conftest
! 10470: mkdir out
! 10471: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 10472:
! 10473: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 10474: # Insert the option either (1) after the last *FLAGS variable, or
! 10475: # (2) before a word containing "conftest.", or (3) at the end.
! 10476: # Note that $ac_compile itself does not contain backslashes and begins
! 10477: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 10478: lt_compile=`echo "$ac_compile" | $SED \
! 10479: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 10480: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 10481: -e 's:$: $lt_compiler_flag:'`
! 10482: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 10483: (eval "$lt_compile" 2>out/conftest.err)
! 10484: ac_status=$?
! 10485: cat out/conftest.err >&5
! 10486: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 10487: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 10488: then
! 10489: # The compiler can only warn and ignore the option if not recognized
! 10490: # So say no if there are warnings
! 10491: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 10492: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 10493: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 10494: lt_cv_prog_compiler_c_o=yes
! 10495: fi
! 10496: fi
! 10497: chmod u+w . 2>&5
! 10498: $RM conftest*
! 10499: # SGI C++ compiler will create directory out/ii_files/ for
! 10500: # template instantiation
! 10501: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 10502: $RM out/* && rmdir out
! 10503: cd ..
! 10504: $RM -r conftest
! 10505: $RM conftest*
! 10506:
! 10507: fi
! 10508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
! 10509: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 10510:
! 10511:
! 10512:
! 10513:
! 10514: hard_links="nottested"
! 10515: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
! 10516: # do not overwrite the value of need_locks provided by the user
! 10517: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
! 10518: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 10519: hard_links=yes
! 10520: $RM conftest*
! 10521: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 10522: touch conftest.a
! 10523: ln conftest.a conftest.b 2>&5 || hard_links=no
! 10524: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 10525: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
! 10526: $as_echo "$hard_links" >&6; }
! 10527: if test "$hard_links" = no; then
! 10528: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
! 10529: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
! 10530: need_locks=warn
! 10531: fi
! 10532: else
! 10533: need_locks=no
! 10534: fi
! 10535:
! 10536:
! 10537:
! 10538:
! 10539:
! 10540:
! 10541: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 10542: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 10543:
! 10544: runpath_var=
! 10545: allow_undefined_flag=
! 10546: always_export_symbols=no
! 10547: archive_cmds=
! 10548: archive_expsym_cmds=
! 10549: compiler_needs_object=no
! 10550: enable_shared_with_static_runtimes=no
! 10551: export_dynamic_flag_spec=
! 10552: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 10553: hardcode_automatic=no
! 10554: hardcode_direct=no
! 10555: hardcode_direct_absolute=no
! 10556: hardcode_libdir_flag_spec=
! 10557: hardcode_libdir_flag_spec_ld=
! 10558: hardcode_libdir_separator=
! 10559: hardcode_minus_L=no
! 10560: hardcode_shlibpath_var=unsupported
! 10561: inherit_rpath=no
! 10562: link_all_deplibs=unknown
! 10563: module_cmds=
! 10564: module_expsym_cmds=
! 10565: old_archive_from_new_cmds=
! 10566: old_archive_from_expsyms_cmds=
! 10567: thread_safe_flag_spec=
! 10568: whole_archive_flag_spec=
! 10569: # include_expsyms should be a list of space-separated symbols to be *always*
! 10570: # included in the symbol list
! 10571: include_expsyms=
! 10572: # exclude_expsyms can be an extended regexp of symbols to exclude
! 10573: # it will be wrapped by ` (' and `)$', so one must not match beginning or
! 10574: # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
! 10575: # as well as any symbol that contains `d'.
! 10576: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 10577: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 10578: # platforms (ab)use it in PIC code, but their linkers get confused if
! 10579: # the symbol is explicitly referenced. Since portable code cannot
! 10580: # rely on this symbol name, it's probably fine to never include it in
! 10581: # preloaded symbol tables.
! 10582: # Exclude shared library initialization/finalization symbols.
! 10583: extract_expsyms_cmds=
! 10584:
! 10585: case $host_os in
! 10586: cygwin* | mingw* | pw32* | cegcc*)
! 10587: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 10588: # When not using gcc, we currently assume that we are using
! 10589: # Microsoft Visual C++.
! 10590: if test "$GCC" != yes; then
! 10591: with_gnu_ld=no
! 10592: fi
! 10593: ;;
! 10594: interix*)
! 10595: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 10596: with_gnu_ld=yes
! 10597: ;;
! 10598: openbsd*)
! 10599: with_gnu_ld=no
! 10600: ;;
! 10601: esac
! 10602:
! 10603: ld_shlibs=yes
! 10604:
! 10605: # On some targets, GNU ld is compatible enough with the native linker
! 10606: # that we're better off using the native interface for both.
! 10607: lt_use_gnu_ld_interface=no
! 10608: if test "$with_gnu_ld" = yes; then
! 10609: case $host_os in
! 10610: aix*)
! 10611: # The AIX port of GNU ld has always aspired to compatibility
! 10612: # with the native linker. However, as the warning in the GNU ld
! 10613: # block says, versions before 2.19.5* couldn't really create working
! 10614: # shared libraries, regardless of the interface used.
! 10615: case `$LD -v 2>&1` in
! 10616: *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
! 10617: *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
! 10618: *\ \(GNU\ Binutils\)\ [3-9]*) ;;
! 10619: *)
! 10620: lt_use_gnu_ld_interface=yes
! 10621: ;;
! 10622: esac
! 10623: ;;
! 10624: *)
! 10625: lt_use_gnu_ld_interface=yes
! 10626: ;;
! 10627: esac
! 10628: fi
! 10629:
! 10630: if test "$lt_use_gnu_ld_interface" = yes; then
! 10631: # If archive_cmds runs LD, not CC, wlarc should be empty
! 10632: wlarc='${wl}'
! 10633:
! 10634: # Set some defaults for GNU ld with shared library support. These
! 10635: # are reset later if shared libraries are not supported. Putting them
! 10636: # here allows them to be overridden if necessary.
! 10637: runpath_var=LD_RUN_PATH
! 10638: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 10639: export_dynamic_flag_spec='${wl}--export-dynamic'
! 10640: # ancient GNU ld didn't support --whole-archive et. al.
! 10641: if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
! 10642: whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
! 10643: else
! 10644: whole_archive_flag_spec=
! 10645: fi
! 10646: supports_anon_versioning=no
! 10647: case `$LD -v 2>&1` in
! 10648: *GNU\ gold*) supports_anon_versioning=yes ;;
! 10649: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 10650: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 10651: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 10652: *\ 2.11.*) ;; # other 2.11 versions
! 10653: *) supports_anon_versioning=yes ;;
! 10654: esac
! 10655:
! 10656: # See if GNU ld supports shared libraries.
! 10657: case $host_os in
! 10658: aix[3-9]*)
! 10659: # On AIX/PPC, the GNU linker is very broken
! 10660: if test "$host_cpu" != ia64; then
! 10661: ld_shlibs=no
! 10662: cat <<_LT_EOF 1>&2
! 10663:
! 10664: *** Warning: the GNU linker, at least up to release 2.19, is reported
! 10665: *** to be unable to reliably create shared libraries on AIX.
! 10666: *** Therefore, libtool is disabling shared libraries support. If you
! 10667: *** really care for shared libraries, you may want to install binutils
! 10668: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
! 10669: *** You will then need to restart the configuration process.
! 10670:
! 10671: _LT_EOF
! 10672: fi
! 10673: ;;
! 10674:
! 10675: amigaos*)
! 10676: case $host_cpu in
! 10677: powerpc)
! 10678: # see comment about AmigaOS4 .so support
! 10679: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10680: archive_expsym_cmds=''
! 10681: ;;
! 10682: m68k)
! 10683: 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)'
! 10684: hardcode_libdir_flag_spec='-L$libdir'
! 10685: hardcode_minus_L=yes
! 10686: ;;
! 10687: esac
! 10688: ;;
! 10689:
! 10690: beos*)
! 10691: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 10692: allow_undefined_flag=unsupported
! 10693: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 10694: # support --undefined. This deserves some investigation. FIXME
! 10695: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10696: else
! 10697: ld_shlibs=no
! 10698: fi
! 10699: ;;
! 10700:
! 10701: cygwin* | mingw* | pw32* | cegcc*)
! 10702: # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
! 10703: # as there is no search path for DLLs.
! 10704: hardcode_libdir_flag_spec='-L$libdir'
! 10705: export_dynamic_flag_spec='${wl}--export-all-symbols'
! 10706: allow_undefined_flag=unsupported
! 10707: always_export_symbols=no
! 10708: enable_shared_with_static_runtimes=yes
! 10709: 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'
! 10710: exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
! 10711:
! 10712: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
! 10713: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 10714: # If the export-symbols file already is a .def file (1st line
! 10715: # is EXPORTS), use it as is; otherwise, prepend...
! 10716: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 10717: cp $export_symbols $output_objdir/$soname.def;
! 10718: else
! 10719: echo EXPORTS > $output_objdir/$soname.def;
! 10720: cat $export_symbols >> $output_objdir/$soname.def;
! 10721: fi~
! 10722: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 10723: else
! 10724: ld_shlibs=no
! 10725: fi
! 10726: ;;
! 10727:
! 10728: haiku*)
! 10729: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10730: link_all_deplibs=yes
! 10731: ;;
! 10732:
! 10733: interix[3-9]*)
! 10734: hardcode_direct=no
! 10735: hardcode_shlibpath_var=no
! 10736: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 10737: export_dynamic_flag_spec='${wl}-E'
! 10738: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 10739: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 10740: # default) and relocated if they conflict, which is a slow very memory
! 10741: # consuming and fragmenting process. To avoid this, we pick a random,
! 10742: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 10743: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 10744: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 10745: 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'
! 10746: ;;
! 10747:
! 10748: gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
! 10749: tmp_diet=no
! 10750: if test "$host_os" = linux-dietlibc; then
! 10751: case $cc_basename in
! 10752: diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
! 10753: esac
! 10754: fi
! 10755: if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
! 10756: && test "$tmp_diet" = no
! 10757: then
! 10758: tmp_addflag=' $pic_flag'
! 10759: tmp_sharedflag='-shared'
! 10760: case $cc_basename,$host_cpu in
! 10761: pgcc*) # Portland Group C compiler
! 10762: 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'
! 10763: tmp_addflag=' $pic_flag'
! 10764: ;;
! 10765: pgf77* | pgf90* | pgf95* | pgfortran*)
! 10766: # Portland Group f77 and f90 compilers
! 10767: 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'
! 10768: tmp_addflag=' $pic_flag -Mnomain' ;;
! 10769: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 10770: tmp_addflag=' -i_dynamic' ;;
! 10771: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 10772: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 10773: ifc* | ifort*) # Intel Fortran compiler
! 10774: tmp_addflag=' -nofor_main' ;;
! 10775: lf95*) # Lahey Fortran 8.1
! 10776: whole_archive_flag_spec=
! 10777: tmp_sharedflag='--shared' ;;
! 10778: xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
! 10779: tmp_sharedflag='-qmkshrobj'
! 10780: tmp_addflag= ;;
! 10781: nvcc*) # Cuda Compiler Driver 2.2
! 10782: 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'
! 10783: compiler_needs_object=yes
! 10784: ;;
! 10785: esac
! 10786: case `$CC -V 2>&1 | sed 5q` in
! 10787: *Sun\ C*) # Sun C 5.9
! 10788: 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'
! 10789: compiler_needs_object=yes
! 10790: tmp_sharedflag='-G' ;;
! 10791: *Sun\ F*) # Sun Fortran 8.3
! 10792: tmp_sharedflag='-G' ;;
! 10793: esac
! 10794: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10795:
! 10796: if test "x$supports_anon_versioning" = xyes; then
! 10797: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 10798: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 10799: echo "local: *; };" >> $output_objdir/$libname.ver~
! 10800: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
! 10801: fi
! 10802:
! 10803: case $cc_basename in
! 10804: xlf* | bgf* | bgxlf* | mpixlf*)
! 10805: # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
! 10806: whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
! 10807: hardcode_libdir_flag_spec=
! 10808: hardcode_libdir_flag_spec_ld='-rpath $libdir'
! 10809: archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
! 10810: if test "x$supports_anon_versioning" = xyes; then
! 10811: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 10812: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 10813: echo "local: *; };" >> $output_objdir/$libname.ver~
! 10814: $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
! 10815: fi
! 10816: ;;
! 10817: esac
! 10818: else
! 10819: ld_shlibs=no
! 10820: fi
! 10821: ;;
! 10822:
! 10823: netbsd*)
! 10824: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 10825: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 10826: wlarc=
! 10827: else
! 10828: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10829: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 10830: fi
! 10831: ;;
! 10832:
! 10833: solaris*)
! 10834: if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
! 10835: ld_shlibs=no
! 10836: cat <<_LT_EOF 1>&2
! 10837:
! 10838: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 10839: *** create shared libraries on Solaris systems. Therefore, libtool
! 10840: *** is disabling shared libraries support. We urge you to upgrade GNU
! 10841: *** binutils to release 2.9.1 or newer. Another option is to modify
! 10842: *** your PATH or compiler configuration so that the native linker is
! 10843: *** used, and then restart.
! 10844:
! 10845: _LT_EOF
! 10846: elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 10847: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10848: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 10849: else
! 10850: ld_shlibs=no
! 10851: fi
! 10852: ;;
! 10853:
! 10854: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 10855: case `$LD -v 2>&1` in
! 10856: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 10857: ld_shlibs=no
! 10858: cat <<_LT_EOF 1>&2
! 10859:
! 10860: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
! 10861: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 10862: *** is disabling shared libraries support. We urge you to upgrade GNU
! 10863: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 10864: *** your PATH or compiler configuration so that the native linker is
! 10865: *** used, and then restart.
! 10866:
! 10867: _LT_EOF
! 10868: ;;
! 10869: *)
! 10870: # For security reasons, it is highly recommended that you always
! 10871: # use absolute paths for naming shared libraries, and exclude the
! 10872: # DT_RUNPATH tag from executables and libraries. But doing so
! 10873: # requires that you compile everything twice, which is a pain.
! 10874: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 10875: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 10876: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10877: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 10878: else
! 10879: ld_shlibs=no
! 10880: fi
! 10881: ;;
! 10882: esac
! 10883: ;;
! 10884:
! 10885: sunos4*)
! 10886: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 10887: wlarc=
! 10888: hardcode_direct=yes
! 10889: hardcode_shlibpath_var=no
! 10890: ;;
! 10891:
! 10892: *)
! 10893: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 10894: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 10895: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 10896: else
! 10897: ld_shlibs=no
! 10898: fi
! 10899: ;;
! 10900: esac
! 10901:
! 10902: if test "$ld_shlibs" = no; then
! 10903: runpath_var=
! 10904: hardcode_libdir_flag_spec=
! 10905: export_dynamic_flag_spec=
! 10906: whole_archive_flag_spec=
! 10907: fi
! 10908: else
! 10909: # PORTME fill in a description of your system's linker (not GNU ld)
! 10910: case $host_os in
! 10911: aix3*)
! 10912: allow_undefined_flag=unsupported
! 10913: always_export_symbols=yes
! 10914: 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'
! 10915: # Note: this linker hardcodes the directories in LIBPATH if there
! 10916: # are no directories specified by -L.
! 10917: hardcode_minus_L=yes
! 10918: if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
! 10919: # Neither direct hardcoding nor static linking is supported with a
! 10920: # broken collect2.
! 10921: hardcode_direct=unsupported
! 10922: fi
! 10923: ;;
! 10924:
! 10925: aix[4-9]*)
! 10926: if test "$host_cpu" = ia64; then
! 10927: # On IA64, the linker does run time linking by default, so we don't
! 10928: # have to do anything special.
! 10929: aix_use_runtimelinking=no
! 10930: exp_sym_flag='-Bexport'
! 10931: no_entry_flag=""
! 10932: else
! 10933: # If we're using GNU nm, then we don't want the "-C" option.
! 10934: # -C means demangle to AIX nm, but means don't demangle with GNU nm
! 10935: # Also, AIX nm treats weak defined symbols like other global
! 10936: # defined symbols, whereas GNU nm marks them as "W".
! 10937: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
! 10938: export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
! 10939: else
! 10940: export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
! 10941: fi
! 10942: aix_use_runtimelinking=no
! 10943:
! 10944: # Test if we are trying to use run time linking or normal
! 10945: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 10946: # need to do runtime linking.
! 10947: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 10948: for ld_flag in $LDFLAGS; do
! 10949: if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
! 10950: aix_use_runtimelinking=yes
! 10951: break
! 10952: fi
! 10953: done
! 10954: ;;
! 10955: esac
! 10956:
! 10957: exp_sym_flag='-bexport'
! 10958: no_entry_flag='-bnoentry'
! 10959: fi
! 10960:
! 10961: # When large executables or shared objects are built, AIX ld can
! 10962: # have problems creating the table of contents. If linking a library
! 10963: # or program results in "error TOC overflow" add -mminimal-toc to
! 10964: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 10965: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 10966:
! 10967: archive_cmds=''
! 10968: hardcode_direct=yes
! 10969: hardcode_direct_absolute=yes
! 10970: hardcode_libdir_separator=':'
! 10971: link_all_deplibs=yes
! 10972: file_list_spec='${wl}-f,'
! 10973:
! 10974: if test "$GCC" = yes; then
! 10975: case $host_os in aix4.[012]|aix4.[012].*)
! 10976: # We only want to do this on AIX 4.2 and lower, the check
! 10977: # below for broken collect2 doesn't work under 4.3+
! 10978: collect2name=`${CC} -print-prog-name=collect2`
! 10979: if test -f "$collect2name" &&
! 10980: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
! 10981: then
! 10982: # We have reworked collect2
! 10983: :
! 10984: else
! 10985: # We have old collect2
! 10986: hardcode_direct=unsupported
! 10987: # It fails to find uninstalled libraries when the uninstalled
! 10988: # path is not listed in the libpath. Setting hardcode_minus_L
! 10989: # to unsupported forces relinking
! 10990: hardcode_minus_L=yes
! 10991: hardcode_libdir_flag_spec='-L$libdir'
! 10992: hardcode_libdir_separator=
! 10993: fi
! 10994: ;;
! 10995: esac
! 10996: shared_flag='-shared'
! 10997: if test "$aix_use_runtimelinking" = yes; then
! 10998: shared_flag="$shared_flag "'${wl}-G'
! 10999: fi
! 11000: else
! 11001: # not using gcc
! 11002: if test "$host_cpu" = ia64; then
! 11003: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 11004: # chokes on -Wl,-G. The following line is correct:
! 11005: shared_flag='-G'
! 11006: else
! 11007: if test "$aix_use_runtimelinking" = yes; then
! 11008: shared_flag='${wl}-G'
! 11009: else
! 11010: shared_flag='${wl}-bM:SRE'
! 11011: fi
! 11012: fi
! 11013: fi
! 11014:
! 11015: export_dynamic_flag_spec='${wl}-bexpall'
! 11016: # It seems that -bexpall does not export symbols beginning with
! 11017: # underscore (_), so it is better to generate a list of symbols to export.
! 11018: always_export_symbols=yes
! 11019: if test "$aix_use_runtimelinking" = yes; then
! 11020: # Warning - without using the other runtime loading flags (-brtl),
! 11021: # -berok will link without error, but may produce a broken library.
! 11022: allow_undefined_flag='-berok'
! 11023: # Determine the default libpath from the value encoded in an
! 11024: # empty executable.
! 11025: if test "${lt_cv_aix_libpath+set}" = set; then
! 11026: aix_libpath=$lt_cv_aix_libpath
! 11027: else
! 11028: if ${lt_cv_aix_libpath_+:} false; then :
! 11029: $as_echo_n "(cached) " >&6
! 11030: else
! 11031: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11032: /* end confdefs.h. */
! 11033:
! 11034: int
! 11035: main ()
! 11036: {
! 11037:
! 11038: ;
! 11039: return 0;
! 11040: }
! 11041: _ACEOF
! 11042: if ac_fn_c_try_link "$LINENO"; then :
! 11043:
! 11044: lt_aix_libpath_sed='
! 11045: /Import File Strings/,/^$/ {
! 11046: /^0/ {
! 11047: s/^0 *\([^ ]*\) *$/\1/
! 11048: p
! 11049: }
! 11050: }'
! 11051: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11052: # Check for a 64-bit object if we didn't find anything.
! 11053: if test -z "$lt_cv_aix_libpath_"; then
! 11054: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11055: fi
! 11056: fi
! 11057: rm -f core conftest.err conftest.$ac_objext \
! 11058: conftest$ac_exeext conftest.$ac_ext
! 11059: if test -z "$lt_cv_aix_libpath_"; then
! 11060: lt_cv_aix_libpath_="/usr/lib:/lib"
! 11061: fi
! 11062:
! 11063: fi
! 11064:
! 11065: aix_libpath=$lt_cv_aix_libpath_
! 11066: fi
! 11067:
! 11068: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 11069: archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
! 11070: else
! 11071: if test "$host_cpu" = ia64; then
! 11072: hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
! 11073: allow_undefined_flag="-z nodefs"
! 11074: 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"
! 11075: else
! 11076: # Determine the default libpath from the value encoded in an
! 11077: # empty executable.
! 11078: if test "${lt_cv_aix_libpath+set}" = set; then
! 11079: aix_libpath=$lt_cv_aix_libpath
! 11080: else
! 11081: if ${lt_cv_aix_libpath_+:} false; then :
! 11082: $as_echo_n "(cached) " >&6
! 11083: else
! 11084: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11085: /* end confdefs.h. */
! 11086:
! 11087: int
! 11088: main ()
! 11089: {
! 11090:
! 11091: ;
! 11092: return 0;
! 11093: }
! 11094: _ACEOF
! 11095: if ac_fn_c_try_link "$LINENO"; then :
! 11096:
! 11097: lt_aix_libpath_sed='
! 11098: /Import File Strings/,/^$/ {
! 11099: /^0/ {
! 11100: s/^0 *\([^ ]*\) *$/\1/
! 11101: p
! 11102: }
! 11103: }'
! 11104: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11105: # Check for a 64-bit object if we didn't find anything.
! 11106: if test -z "$lt_cv_aix_libpath_"; then
! 11107: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 11108: fi
! 11109: fi
! 11110: rm -f core conftest.err conftest.$ac_objext \
! 11111: conftest$ac_exeext conftest.$ac_ext
! 11112: if test -z "$lt_cv_aix_libpath_"; then
! 11113: lt_cv_aix_libpath_="/usr/lib:/lib"
! 11114: fi
! 11115:
! 11116: fi
! 11117:
! 11118: aix_libpath=$lt_cv_aix_libpath_
! 11119: fi
! 11120:
! 11121: hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
! 11122: # Warning - without using the other run time loading flags,
! 11123: # -berok will link without error, but may produce a broken library.
! 11124: no_undefined_flag=' ${wl}-bernotok'
! 11125: allow_undefined_flag=' ${wl}-berok'
! 11126: if test "$with_gnu_ld" = yes; then
! 11127: # We only use this code for GNU lds that support --whole-archive.
! 11128: whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 11129: else
! 11130: # Exported symbols can be pulled into shared objects from archives
! 11131: whole_archive_flag_spec='$convenience'
! 11132: fi
! 11133: archive_cmds_need_lc=yes
! 11134: # This is similar to how AIX traditionally builds its shared libraries.
! 11135: archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
! 11136: fi
! 11137: fi
! 11138: ;;
! 11139:
! 11140: amigaos*)
! 11141: case $host_cpu in
! 11142: powerpc)
! 11143: # see comment about AmigaOS4 .so support
! 11144: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 11145: archive_expsym_cmds=''
! 11146: ;;
! 11147: m68k)
! 11148: 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)'
! 11149: hardcode_libdir_flag_spec='-L$libdir'
! 11150: hardcode_minus_L=yes
! 11151: ;;
! 11152: esac
! 11153: ;;
! 11154:
! 11155: bsdi[45]*)
! 11156: export_dynamic_flag_spec=-rdynamic
! 11157: ;;
! 11158:
! 11159: cygwin* | mingw* | pw32* | cegcc*)
! 11160: # When not using gcc, we currently assume that we are using
! 11161: # Microsoft Visual C++.
! 11162: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 11163: # no search path for DLLs.
! 11164: case $cc_basename in
! 11165: cl*)
! 11166: # Native MSVC
! 11167: hardcode_libdir_flag_spec=' '
! 11168: allow_undefined_flag=unsupported
! 11169: always_export_symbols=yes
! 11170: file_list_spec='@'
! 11171: # Tell ltmain to make .lib files, not .a files.
! 11172: libext=lib
! 11173: # Tell ltmain to make .dll files, not .so files.
! 11174: shrext_cmds=".dll"
! 11175: # FIXME: Setting linknames here is a bad hack.
! 11176: archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
! 11177: archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
! 11178: sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
! 11179: else
! 11180: sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
! 11181: fi~
! 11182: $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
! 11183: linknames='
! 11184: # The linker will not automatically build a static lib if we build a DLL.
! 11185: # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
! 11186: enable_shared_with_static_runtimes=yes
! 11187: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 11188: # Don't use ranlib
! 11189: old_postinstall_cmds='chmod 644 $oldlib'
! 11190: postlink_cmds='lt_outputfile="@OUTPUT@"~
! 11191: lt_tool_outputfile="@TOOL_OUTPUT@"~
! 11192: case $lt_outputfile in
! 11193: *.exe|*.EXE) ;;
! 11194: *)
! 11195: lt_outputfile="$lt_outputfile.exe"
! 11196: lt_tool_outputfile="$lt_tool_outputfile.exe"
! 11197: ;;
! 11198: esac~
! 11199: if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
! 11200: $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
! 11201: $RM "$lt_outputfile.manifest";
! 11202: fi'
! 11203: ;;
! 11204: *)
! 11205: # Assume MSVC wrapper
! 11206: hardcode_libdir_flag_spec=' '
! 11207: allow_undefined_flag=unsupported
! 11208: # Tell ltmain to make .lib files, not .a files.
! 11209: libext=lib
! 11210: # Tell ltmain to make .dll files, not .so files.
! 11211: shrext_cmds=".dll"
! 11212: # FIXME: Setting linknames here is a bad hack.
! 11213: archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
! 11214: # The linker will automatically build a .lib file if we build a DLL.
! 11215: old_archive_from_new_cmds='true'
! 11216: # FIXME: Should let the user specify the lib program.
! 11217: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 11218: enable_shared_with_static_runtimes=yes
! 11219: ;;
! 11220: esac
! 11221: ;;
! 11222:
! 11223: darwin* | rhapsody*)
! 11224:
! 11225:
! 11226: archive_cmds_need_lc=no
! 11227: hardcode_direct=no
! 11228: hardcode_automatic=yes
! 11229: hardcode_shlibpath_var=unsupported
! 11230: if test "$lt_cv_ld_force_load" = "yes"; then
! 11231: 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\"`'
! 11232: else
! 11233: whole_archive_flag_spec=''
! 11234: fi
! 11235: link_all_deplibs=yes
! 11236: allow_undefined_flag="$_lt_dar_allow_undefined"
! 11237: case $cc_basename in
! 11238: ifort*) _lt_dar_can_shared=yes ;;
! 11239: *) _lt_dar_can_shared=$GCC ;;
! 11240: esac
! 11241: if test "$_lt_dar_can_shared" = "yes"; then
! 11242: output_verbose_link_cmd=func_echo_all
! 11243: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
! 11244: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
! 11245: 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}"
! 11246: 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}"
! 11247:
! 11248: else
! 11249: ld_shlibs=no
! 11250: fi
! 11251:
! 11252: ;;
! 11253:
! 11254: dgux*)
! 11255: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 11256: hardcode_libdir_flag_spec='-L$libdir'
! 11257: hardcode_shlibpath_var=no
! 11258: ;;
! 11259:
! 11260: freebsd1*)
! 11261: ld_shlibs=no
! 11262: ;;
! 11263:
! 11264: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 11265: # support. Future versions do this automatically, but an explicit c++rt0.o
! 11266: # does not break anything, and helps significantly (at the cost of a little
! 11267: # extra space).
! 11268: freebsd2.2*)
! 11269: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 11270: hardcode_libdir_flag_spec='-R$libdir'
! 11271: hardcode_direct=yes
! 11272: hardcode_shlibpath_var=no
! 11273: ;;
! 11274:
! 11275: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 11276: freebsd2*)
! 11277: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 11278: hardcode_direct=yes
! 11279: hardcode_minus_L=yes
! 11280: hardcode_shlibpath_var=no
! 11281: ;;
! 11282:
! 11283: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 11284: freebsd* | dragonfly*)
! 11285: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 11286: hardcode_libdir_flag_spec='-R$libdir'
! 11287: hardcode_direct=yes
! 11288: hardcode_shlibpath_var=no
! 11289: ;;
! 11290:
! 11291: hpux9*)
! 11292: if test "$GCC" = yes; then
! 11293: archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
! 11294: else
! 11295: archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
! 11296: fi
! 11297: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 11298: hardcode_libdir_separator=:
! 11299: hardcode_direct=yes
! 11300:
! 11301: # hardcode_minus_L: Not really in the search PATH,
! 11302: # but as the default location of the library.
! 11303: hardcode_minus_L=yes
! 11304: export_dynamic_flag_spec='${wl}-E'
! 11305: ;;
! 11306:
! 11307: hpux10*)
! 11308: if test "$GCC" = yes && test "$with_gnu_ld" = no; then
! 11309: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 11310: else
! 11311: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 11312: fi
! 11313: if test "$with_gnu_ld" = no; then
! 11314: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 11315: hardcode_libdir_flag_spec_ld='+b $libdir'
! 11316: hardcode_libdir_separator=:
! 11317: hardcode_direct=yes
! 11318: hardcode_direct_absolute=yes
! 11319: export_dynamic_flag_spec='${wl}-E'
! 11320: # hardcode_minus_L: Not really in the search PATH,
! 11321: # but as the default location of the library.
! 11322: hardcode_minus_L=yes
! 11323: fi
! 11324: ;;
! 11325:
! 11326: hpux11*)
! 11327: if test "$GCC" = yes && test "$with_gnu_ld" = no; then
! 11328: case $host_cpu in
! 11329: hppa*64*)
! 11330: archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11331: ;;
! 11332: ia64*)
! 11333: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 11334: ;;
! 11335: *)
! 11336: archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 11337: ;;
! 11338: esac
! 11339: else
! 11340: case $host_cpu in
! 11341: hppa*64*)
! 11342: archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11343: ;;
! 11344: ia64*)
! 11345: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 11346: ;;
! 11347: *)
! 11348:
! 11349: # Older versions of the 11.00 compiler do not understand -b yet
! 11350: # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
! 11351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
! 11352: $as_echo_n "checking if $CC understands -b... " >&6; }
! 11353: if ${lt_cv_prog_compiler__b+:} false; then :
! 11354: $as_echo_n "(cached) " >&6
! 11355: else
! 11356: lt_cv_prog_compiler__b=no
! 11357: save_LDFLAGS="$LDFLAGS"
! 11358: LDFLAGS="$LDFLAGS -b"
! 11359: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 11360: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 11361: # The linker can only warn and ignore the option if not recognized
! 11362: # So say no if there are warnings
! 11363: if test -s conftest.err; then
! 11364: # Append any errors to the config.log.
! 11365: cat conftest.err 1>&5
! 11366: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 11367: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 11368: if diff conftest.exp conftest.er2 >/dev/null; then
! 11369: lt_cv_prog_compiler__b=yes
! 11370: fi
! 11371: else
! 11372: lt_cv_prog_compiler__b=yes
! 11373: fi
! 11374: fi
! 11375: $RM -r conftest*
! 11376: LDFLAGS="$save_LDFLAGS"
! 11377:
! 11378: fi
! 11379: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
! 11380: $as_echo "$lt_cv_prog_compiler__b" >&6; }
! 11381:
! 11382: if test x"$lt_cv_prog_compiler__b" = xyes; then
! 11383: archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 11384: else
! 11385: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 11386: fi
! 11387:
! 11388: ;;
! 11389: esac
! 11390: fi
! 11391: if test "$with_gnu_ld" = no; then
! 11392: hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
! 11393: hardcode_libdir_separator=:
! 11394:
! 11395: case $host_cpu in
! 11396: hppa*64*|ia64*)
! 11397: hardcode_direct=no
! 11398: hardcode_shlibpath_var=no
! 11399: ;;
! 11400: *)
! 11401: hardcode_direct=yes
! 11402: hardcode_direct_absolute=yes
! 11403: export_dynamic_flag_spec='${wl}-E'
! 11404:
! 11405: # hardcode_minus_L: Not really in the search PATH,
! 11406: # but as the default location of the library.
! 11407: hardcode_minus_L=yes
! 11408: ;;
! 11409: esac
! 11410: fi
! 11411: ;;
! 11412:
! 11413: irix5* | irix6* | nonstopux*)
! 11414: if test "$GCC" = yes; then
! 11415: 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'
! 11416: # Try to use the -exported_symbol ld option, if it does not
! 11417: # work, assume that -exports_file does not work either and
! 11418: # implicitly export all symbols.
! 11419: # This should be the same for all languages, so no per-tag cache variable.
! 11420: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
! 11421: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
! 11422: if ${lt_cv_irix_exported_symbol+:} false; then :
! 11423: $as_echo_n "(cached) " >&6
! 11424: else
! 11425: save_LDFLAGS="$LDFLAGS"
! 11426: LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
! 11427: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11428: /* end confdefs.h. */
! 11429: int foo (void) { return 0; }
! 11430: _ACEOF
! 11431: if ac_fn_c_try_link "$LINENO"; then :
! 11432: lt_cv_irix_exported_symbol=yes
! 11433: else
! 11434: lt_cv_irix_exported_symbol=no
! 11435: fi
! 11436: rm -f core conftest.err conftest.$ac_objext \
! 11437: conftest$ac_exeext conftest.$ac_ext
! 11438: LDFLAGS="$save_LDFLAGS"
! 11439: fi
! 11440: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
! 11441: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
! 11442: if test "$lt_cv_irix_exported_symbol" = yes; then
! 11443: 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'
! 11444: fi
! 11445: else
! 11446: 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'
! 11447: 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'
! 11448: fi
! 11449: archive_cmds_need_lc='no'
! 11450: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 11451: hardcode_libdir_separator=:
! 11452: inherit_rpath=yes
! 11453: link_all_deplibs=yes
! 11454: ;;
! 11455:
! 11456: netbsd*)
! 11457: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 11458: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 11459: else
! 11460: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 11461: fi
! 11462: hardcode_libdir_flag_spec='-R$libdir'
! 11463: hardcode_direct=yes
! 11464: hardcode_shlibpath_var=no
! 11465: ;;
! 11466:
! 11467: newsos6)
! 11468: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 11469: hardcode_direct=yes
! 11470: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 11471: hardcode_libdir_separator=:
! 11472: hardcode_shlibpath_var=no
! 11473: ;;
! 11474:
! 11475: *nto* | *qnx*)
! 11476: ;;
! 11477:
! 11478: openbsd*)
! 11479: if test -f /usr/libexec/ld.so; then
! 11480: hardcode_direct=yes
! 11481: hardcode_shlibpath_var=no
! 11482: hardcode_direct_absolute=yes
! 11483: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 11484: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 11485: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
! 11486: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 11487: export_dynamic_flag_spec='${wl}-E'
! 11488: else
! 11489: case $host_os in
! 11490: openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
! 11491: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 11492: hardcode_libdir_flag_spec='-R$libdir'
! 11493: ;;
! 11494: *)
! 11495: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 11496: hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
! 11497: ;;
! 11498: esac
! 11499: fi
! 11500: else
! 11501: ld_shlibs=no
! 11502: fi
! 11503: ;;
! 11504:
! 11505: os2*)
! 11506: hardcode_libdir_flag_spec='-L$libdir'
! 11507: hardcode_minus_L=yes
! 11508: allow_undefined_flag=unsupported
! 11509: archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
! 11510: old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
! 11511: ;;
! 11512:
! 11513: osf3*)
! 11514: if test "$GCC" = yes; then
! 11515: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 11516: 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'
! 11517: else
! 11518: allow_undefined_flag=' -expect_unresolved \*'
! 11519: 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'
! 11520: fi
! 11521: archive_cmds_need_lc='no'
! 11522: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 11523: hardcode_libdir_separator=:
! 11524: ;;
! 11525:
! 11526: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 11527: if test "$GCC" = yes; then
! 11528: allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
! 11529: 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'
! 11530: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 11531: else
! 11532: allow_undefined_flag=' -expect_unresolved \*'
! 11533: 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'
! 11534: 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~
! 11535: $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'
! 11536:
! 11537: # Both c and cxx compiler support -rpath directly
! 11538: hardcode_libdir_flag_spec='-rpath $libdir'
! 11539: fi
! 11540: archive_cmds_need_lc='no'
! 11541: hardcode_libdir_separator=:
! 11542: ;;
! 11543:
! 11544: solaris*)
! 11545: no_undefined_flag=' -z defs'
! 11546: if test "$GCC" = yes; then
! 11547: wlarc='${wl}'
! 11548: archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11549: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 11550: $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'
! 11551: else
! 11552: case `$CC -V 2>&1` in
! 11553: *"Compilers 5.0"*)
! 11554: wlarc=''
! 11555: archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 11556: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 11557: $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
! 11558: ;;
! 11559: *)
! 11560: wlarc='${wl}'
! 11561: archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 11562: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 11563: $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
! 11564: ;;
! 11565: esac
! 11566: fi
! 11567: hardcode_libdir_flag_spec='-R$libdir'
! 11568: hardcode_shlibpath_var=no
! 11569: case $host_os in
! 11570: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 11571: *)
! 11572: # The compiler driver will combine and reorder linker options,
! 11573: # but understands `-z linker_flag'. GCC discards it without `$wl',
! 11574: # but is careful enough not to reorder.
! 11575: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 11576: if test "$GCC" = yes; then
! 11577: whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
! 11578: else
! 11579: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
! 11580: fi
! 11581: ;;
! 11582: esac
! 11583: link_all_deplibs=yes
! 11584: ;;
! 11585:
! 11586: sunos4*)
! 11587: if test "x$host_vendor" = xsequent; then
! 11588: # Use $CC to link under sequent, because it throws in some extra .o
! 11589: # files that make .init and .fini sections work.
! 11590: archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 11591: else
! 11592: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 11593: fi
! 11594: hardcode_libdir_flag_spec='-L$libdir'
! 11595: hardcode_direct=yes
! 11596: hardcode_minus_L=yes
! 11597: hardcode_shlibpath_var=no
! 11598: ;;
! 11599:
! 11600: sysv4)
! 11601: case $host_vendor in
! 11602: sni)
! 11603: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 11604: hardcode_direct=yes # is this really true???
! 11605: ;;
! 11606: siemens)
! 11607: ## LD is ld it makes a PLAMLIB
! 11608: ## CC just makes a GrossModule.
! 11609: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 11610: reload_cmds='$CC -r -o $output$reload_objs'
! 11611: hardcode_direct=no
! 11612: ;;
! 11613: motorola)
! 11614: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 11615: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 11616: ;;
! 11617: esac
! 11618: runpath_var='LD_RUN_PATH'
! 11619: hardcode_shlibpath_var=no
! 11620: ;;
! 11621:
! 11622: sysv4.3*)
! 11623: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 11624: hardcode_shlibpath_var=no
! 11625: export_dynamic_flag_spec='-Bexport'
! 11626: ;;
! 11627:
! 11628: sysv4*MP*)
! 11629: if test -d /usr/nec; then
! 11630: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 11631: hardcode_shlibpath_var=no
! 11632: runpath_var=LD_RUN_PATH
! 11633: hardcode_runpath_var=yes
! 11634: ld_shlibs=yes
! 11635: fi
! 11636: ;;
! 11637:
! 11638: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 11639: no_undefined_flag='${wl}-z,text'
! 11640: archive_cmds_need_lc=no
! 11641: hardcode_shlibpath_var=no
! 11642: runpath_var='LD_RUN_PATH'
! 11643:
! 11644: if test "$GCC" = yes; then
! 11645: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11646: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11647: else
! 11648: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11649: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11650: fi
! 11651: ;;
! 11652:
! 11653: sysv5* | sco3.2v5* | sco5v6*)
! 11654: # Note: We can NOT use -z defs as we might desire, because we do not
! 11655: # link with -lc, and that would cause any symbols used from libc to
! 11656: # always be unresolved, which means just about no library would
! 11657: # ever link correctly. If we're not using GNU ld we use -z text
! 11658: # though, which does catch some bad symbols but isn't as heavy-handed
! 11659: # as -z defs.
! 11660: no_undefined_flag='${wl}-z,text'
! 11661: allow_undefined_flag='${wl}-z,nodefs'
! 11662: archive_cmds_need_lc=no
! 11663: hardcode_shlibpath_var=no
! 11664: hardcode_libdir_flag_spec='${wl}-R,$libdir'
! 11665: hardcode_libdir_separator=':'
! 11666: link_all_deplibs=yes
! 11667: export_dynamic_flag_spec='${wl}-Bexport'
! 11668: runpath_var='LD_RUN_PATH'
! 11669:
! 11670: if test "$GCC" = yes; then
! 11671: archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11672: archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11673: else
! 11674: archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11675: archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 11676: fi
! 11677: ;;
! 11678:
! 11679: uts4*)
! 11680: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 11681: hardcode_libdir_flag_spec='-L$libdir'
! 11682: hardcode_shlibpath_var=no
! 11683: ;;
! 11684:
! 11685: *)
! 11686: ld_shlibs=no
! 11687: ;;
! 11688: esac
! 11689:
! 11690: if test x$host_vendor = xsni; then
! 11691: case $host in
! 11692: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 11693: export_dynamic_flag_spec='${wl}-Blargedynsym'
! 11694: ;;
! 11695: esac
! 11696: fi
! 11697: fi
! 11698:
! 11699: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
! 11700: $as_echo "$ld_shlibs" >&6; }
! 11701: test "$ld_shlibs" = no && can_build_shared=no
! 11702:
! 11703: with_gnu_ld=$with_gnu_ld
! 11704:
! 11705:
! 11706:
! 11707:
! 11708:
! 11709:
! 11710:
! 11711:
! 11712:
! 11713:
! 11714:
! 11715:
! 11716:
! 11717:
! 11718:
! 11719: #
! 11720: # Do we need to explicitly link libc?
! 11721: #
! 11722: case "x$archive_cmds_need_lc" in
! 11723: x|xyes)
! 11724: # Assume -lc should be added
! 11725: archive_cmds_need_lc=yes
! 11726:
! 11727: if test "$enable_shared" = yes && test "$GCC" = yes; then
! 11728: case $archive_cmds in
! 11729: *'~'*)
! 11730: # FIXME: we may have to deal with multi-command sequences.
! 11731: ;;
! 11732: '$CC '*)
! 11733: # Test whether the compiler implicitly links with -lc since on some
! 11734: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 11735: # to ld, don't add -lc before -lgcc.
! 11736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
! 11737: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 11738: if ${lt_cv_archive_cmds_need_lc+:} false; then :
! 11739: $as_echo_n "(cached) " >&6
! 11740: else
! 11741: $RM conftest*
! 11742: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 11743:
! 11744: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 11745: (eval $ac_compile) 2>&5
! 11746: ac_status=$?
! 11747: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 11748: test $ac_status = 0; } 2>conftest.err; then
! 11749: soname=conftest
! 11750: lib=conftest
! 11751: libobjs=conftest.$ac_objext
! 11752: deplibs=
! 11753: wl=$lt_prog_compiler_wl
! 11754: pic_flag=$lt_prog_compiler_pic
! 11755: compiler_flags=-v
! 11756: linker_flags=-v
! 11757: verstring=
! 11758: output_objdir=.
! 11759: libname=conftest
! 11760: lt_save_allow_undefined_flag=$allow_undefined_flag
! 11761: allow_undefined_flag=
! 11762: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
! 11763: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 11764: ac_status=$?
! 11765: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 11766: test $ac_status = 0; }
! 11767: then
! 11768: lt_cv_archive_cmds_need_lc=no
! 11769: else
! 11770: lt_cv_archive_cmds_need_lc=yes
! 11771: fi
! 11772: allow_undefined_flag=$lt_save_allow_undefined_flag
! 11773: else
! 11774: cat conftest.err 1>&5
! 11775: fi
! 11776: $RM conftest*
! 11777:
! 11778: fi
! 11779: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
! 11780: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
! 11781: archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
! 11782: ;;
! 11783: esac
! 11784: fi
! 11785: ;;
! 11786: esac
! 11787:
! 11788:
! 11789:
! 11790:
! 11791:
! 11792:
! 11793:
! 11794:
! 11795:
! 11796:
! 11797:
! 11798:
! 11799:
! 11800:
! 11801:
! 11802:
! 11803:
! 11804:
! 11805:
! 11806:
! 11807:
! 11808:
! 11809:
! 11810:
! 11811:
! 11812:
! 11813:
! 11814:
! 11815:
! 11816:
! 11817:
! 11818:
! 11819:
! 11820:
! 11821:
! 11822:
! 11823:
! 11824:
! 11825:
! 11826:
! 11827:
! 11828:
! 11829:
! 11830:
! 11831:
! 11832:
! 11833:
! 11834:
! 11835:
! 11836:
! 11837:
! 11838:
! 11839:
! 11840:
! 11841:
! 11842:
! 11843:
! 11844:
! 11845:
! 11846:
! 11847:
! 11848:
! 11849:
! 11850:
! 11851:
! 11852:
! 11853:
! 11854:
! 11855:
! 11856:
! 11857:
! 11858:
! 11859:
! 11860:
! 11861:
! 11862:
! 11863:
! 11864:
! 11865:
! 11866:
! 11867:
! 11868:
! 11869:
! 11870:
! 11871:
! 11872:
! 11873:
! 11874:
! 11875:
! 11876:
! 11877:
! 11878:
! 11879:
! 11880:
! 11881:
! 11882:
! 11883:
! 11884:
! 11885:
! 11886:
! 11887:
! 11888:
! 11889:
! 11890:
! 11891:
! 11892:
! 11893:
! 11894:
! 11895:
! 11896:
! 11897:
! 11898:
! 11899:
! 11900:
! 11901:
! 11902:
! 11903:
! 11904:
! 11905:
! 11906:
! 11907:
! 11908:
! 11909:
! 11910:
! 11911:
! 11912:
! 11913:
! 11914:
! 11915:
! 11916:
! 11917:
! 11918:
! 11919:
! 11920:
! 11921:
! 11922:
! 11923:
! 11924:
! 11925:
! 11926:
! 11927:
! 11928:
! 11929:
! 11930:
! 11931:
! 11932:
! 11933:
! 11934:
! 11935:
! 11936:
! 11937:
! 11938:
! 11939:
! 11940:
! 11941:
! 11942:
! 11943:
! 11944: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
! 11945: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 11946:
! 11947: if test "$GCC" = yes; then
! 11948: case $host_os in
! 11949: darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
! 11950: *) lt_awk_arg="/^libraries:/" ;;
! 11951: esac
! 11952: case $host_os in
! 11953: mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
! 11954: *) lt_sed_strip_eq="s,=/,/,g" ;;
! 11955: esac
! 11956: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
! 11957: case $lt_search_path_spec in
! 11958: *\;*)
! 11959: # if the path contains ";" then we assume it to be the separator
! 11960: # otherwise default to the standard path separator (i.e. ":") - it is
! 11961: # assumed that no part of a normal pathname contains ";" but that should
! 11962: # okay in the real world where ";" in dirpaths is itself problematic.
! 11963: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
! 11964: ;;
! 11965: *)
! 11966: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
! 11967: ;;
! 11968: esac
! 11969: # Ok, now we have the path, separated by spaces, we can step through it
! 11970: # and add multilib dir if necessary.
! 11971: lt_tmp_lt_search_path_spec=
! 11972: lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
! 11973: for lt_sys_path in $lt_search_path_spec; do
! 11974: if test -d "$lt_sys_path/$lt_multi_os_dir"; then
! 11975: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
! 11976: else
! 11977: test -d "$lt_sys_path" && \
! 11978: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
! 11979: fi
! 11980: done
! 11981: lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
! 11982: BEGIN {RS=" "; FS="/|\n";} {
! 11983: lt_foo="";
! 11984: lt_count=0;
! 11985: for (lt_i = NF; lt_i > 0; lt_i--) {
! 11986: if ($lt_i != "" && $lt_i != ".") {
! 11987: if ($lt_i == "..") {
! 11988: lt_count++;
! 11989: } else {
! 11990: if (lt_count == 0) {
! 11991: lt_foo="/" $lt_i lt_foo;
! 11992: } else {
! 11993: lt_count--;
! 11994: }
! 11995: }
! 11996: }
! 11997: }
! 11998: if (lt_foo != "") { lt_freq[lt_foo]++; }
! 11999: if (lt_freq[lt_foo] == 1) { print lt_foo; }
! 12000: }'`
! 12001: # AWK program above erroneously prepends '/' to C:/dos/paths
! 12002: # for these hosts.
! 12003: case $host_os in
! 12004: mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
! 12005: $SED 's,/\([A-Za-z]:\),\1,g'` ;;
! 12006: esac
! 12007: sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
! 12008: else
! 12009: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 12010: fi
! 12011: library_names_spec=
! 12012: libname_spec='lib$name'
! 12013: soname_spec=
! 12014: shrext_cmds=".so"
! 12015: postinstall_cmds=
! 12016: postuninstall_cmds=
! 12017: finish_cmds=
! 12018: finish_eval=
! 12019: shlibpath_var=
! 12020: shlibpath_overrides_runpath=unknown
! 12021: version_type=none
! 12022: dynamic_linker="$host_os ld.so"
! 12023: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 12024: need_lib_prefix=unknown
! 12025: hardcode_into_libs=no
! 12026:
! 12027: # when you set need_version to no, make sure it does not cause -set_version
! 12028: # flags to be left without arguments
! 12029: need_version=unknown
! 12030:
! 12031: case $host_os in
! 12032: aix3*)
! 12033: version_type=linux
! 12034: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
! 12035: shlibpath_var=LIBPATH
! 12036:
! 12037: # AIX 3 has no versioning support, so we append a major version to the name.
! 12038: soname_spec='${libname}${release}${shared_ext}$major'
! 12039: ;;
! 12040:
! 12041: aix[4-9]*)
! 12042: version_type=linux
! 12043: need_lib_prefix=no
! 12044: need_version=no
! 12045: hardcode_into_libs=yes
! 12046: if test "$host_cpu" = ia64; then
! 12047: # AIX 5 supports IA64
! 12048: library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
! 12049: shlibpath_var=LD_LIBRARY_PATH
! 12050: else
! 12051: # With GCC up to 2.95.x, collect2 would create an import file
! 12052: # for dependence libraries. The import file would start with
! 12053: # the line `#! .'. This would cause the generated library to
! 12054: # depend on `.', always an invalid library. This was fixed in
! 12055: # development snapshots of GCC prior to 3.0.
! 12056: case $host_os in
! 12057: aix4 | aix4.[01] | aix4.[01].*)
! 12058: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 12059: echo ' yes '
! 12060: echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
! 12061: :
! 12062: else
! 12063: can_build_shared=no
! 12064: fi
! 12065: ;;
! 12066: esac
! 12067: # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
! 12068: # soname into executable. Probably we can add versioning support to
! 12069: # collect2, so additional links can be useful in future.
! 12070: if test "$aix_use_runtimelinking" = yes; then
! 12071: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 12072: # instead of lib<name>.a to let people know that these are not
! 12073: # typical AIX shared libraries.
! 12074: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12075: else
! 12076: # We preserve .a as extension for shared libraries through AIX4.2
! 12077: # and later when we are not doing run time linking.
! 12078: library_names_spec='${libname}${release}.a $libname.a'
! 12079: soname_spec='${libname}${release}${shared_ext}$major'
! 12080: fi
! 12081: shlibpath_var=LIBPATH
! 12082: fi
! 12083: ;;
! 12084:
! 12085: amigaos*)
! 12086: case $host_cpu in
! 12087: powerpc)
! 12088: # Since July 2007 AmigaOS4 officially supports .so libraries.
! 12089: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
! 12090: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12091: ;;
! 12092: m68k)
! 12093: library_names_spec='$libname.ixlibrary $libname.a'
! 12094: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 12095: finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
! 12096: ;;
! 12097: esac
! 12098: ;;
! 12099:
! 12100: beos*)
! 12101: library_names_spec='${libname}${shared_ext}'
! 12102: dynamic_linker="$host_os ld.so"
! 12103: shlibpath_var=LIBRARY_PATH
! 12104: ;;
! 12105:
! 12106: bsdi[45]*)
! 12107: version_type=linux
! 12108: need_version=no
! 12109: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12110: soname_spec='${libname}${release}${shared_ext}$major'
! 12111: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 12112: shlibpath_var=LD_LIBRARY_PATH
! 12113: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 12114: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 12115: # the default ld.so.conf also contains /usr/contrib/lib and
! 12116: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 12117: # libtool to hard-code these into programs
! 12118: ;;
! 12119:
! 12120: cygwin* | mingw* | pw32* | cegcc*)
! 12121: version_type=windows
! 12122: shrext_cmds=".dll"
! 12123: need_version=no
! 12124: need_lib_prefix=no
! 12125:
! 12126: case $GCC,$cc_basename in
! 12127: yes,*)
! 12128: # gcc
! 12129: library_names_spec='$libname.dll.a'
! 12130: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 12131: postinstall_cmds='base_file=`basename \${file}`~
! 12132: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 12133: dldir=$destdir/`dirname \$dlpath`~
! 12134: test -d \$dldir || mkdir -p \$dldir~
! 12135: $install_prog $dir/$dlname \$dldir/$dlname~
! 12136: chmod a+x \$dldir/$dlname~
! 12137: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 12138: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 12139: fi'
! 12140: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 12141: dlpath=$dir/\$dldll~
! 12142: $RM \$dlpath'
! 12143: shlibpath_overrides_runpath=yes
! 12144:
! 12145: case $host_os in
! 12146: cygwin*)
! 12147: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 12148: soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 12149:
! 12150: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
! 12151: ;;
! 12152: mingw* | cegcc*)
! 12153: # MinGW DLLs use traditional 'lib' prefix
! 12154: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 12155: ;;
! 12156: pw32*)
! 12157: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 12158: library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 12159: ;;
! 12160: esac
! 12161: dynamic_linker='Win32 ld.exe'
! 12162: ;;
! 12163:
! 12164: *,cl*)
! 12165: # Native MSVC
! 12166: libname_spec='$name'
! 12167: soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
! 12168: library_names_spec='${libname}.dll.lib'
! 12169:
! 12170: case $build_os in
! 12171: mingw*)
! 12172: sys_lib_search_path_spec=
! 12173: lt_save_ifs=$IFS
! 12174: IFS=';'
! 12175: for lt_path in $LIB
! 12176: do
! 12177: IFS=$lt_save_ifs
! 12178: # Let DOS variable expansion print the short 8.3 style file name.
! 12179: lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
! 12180: sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
! 12181: done
! 12182: IFS=$lt_save_ifs
! 12183: # Convert to MSYS style.
! 12184: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
! 12185: ;;
! 12186: cygwin*)
! 12187: # Convert to unix form, then to dos form, then back to unix form
! 12188: # but this time dos style (no spaces!) so that the unix form looks
! 12189: # like /cygdrive/c/PROGRA~1:/cygdr...
! 12190: sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
! 12191: sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
! 12192: sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 12193: ;;
! 12194: *)
! 12195: sys_lib_search_path_spec="$LIB"
! 12196: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
! 12197: # It is most probably a Windows format PATH.
! 12198: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 12199: else
! 12200: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 12201: fi
! 12202: # FIXME: find the short name or the path components, as spaces are
! 12203: # common. (e.g. "Program Files" -> "PROGRA~1")
! 12204: ;;
! 12205: esac
! 12206:
! 12207: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 12208: postinstall_cmds='base_file=`basename \${file}`~
! 12209: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
! 12210: dldir=$destdir/`dirname \$dlpath`~
! 12211: test -d \$dldir || mkdir -p \$dldir~
! 12212: $install_prog $dir/$dlname \$dldir/$dlname'
! 12213: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 12214: dlpath=$dir/\$dldll~
! 12215: $RM \$dlpath'
! 12216: shlibpath_overrides_runpath=yes
! 12217: dynamic_linker='Win32 link.exe'
! 12218: ;;
! 12219:
! 12220: *)
! 12221: # Assume MSVC wrapper
! 12222: library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
! 12223: dynamic_linker='Win32 ld.exe'
! 12224: ;;
! 12225: esac
! 12226: # FIXME: first we should search . and the directory the executable is in
! 12227: shlibpath_var=PATH
! 12228: ;;
! 12229:
! 12230: darwin* | rhapsody*)
! 12231: dynamic_linker="$host_os dyld"
! 12232: version_type=darwin
! 12233: need_lib_prefix=no
! 12234: need_version=no
! 12235: library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
! 12236: soname_spec='${libname}${release}${major}$shared_ext'
! 12237: shlibpath_overrides_runpath=yes
! 12238: shlibpath_var=DYLD_LIBRARY_PATH
! 12239: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 12240:
! 12241: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
! 12242: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 12243: ;;
! 12244:
! 12245: dgux*)
! 12246: version_type=linux
! 12247: need_lib_prefix=no
! 12248: need_version=no
! 12249: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
! 12250: soname_spec='${libname}${release}${shared_ext}$major'
! 12251: shlibpath_var=LD_LIBRARY_PATH
! 12252: ;;
! 12253:
! 12254: freebsd1*)
! 12255: dynamic_linker=no
! 12256: ;;
! 12257:
! 12258: freebsd* | dragonfly*)
! 12259: # DragonFly does not have aout. When/if they implement a new
! 12260: # versioning mechanism, adjust this.
! 12261: if test -x /usr/bin/objformat; then
! 12262: objformat=`/usr/bin/objformat`
! 12263: else
! 12264: case $host_os in
! 12265: freebsd[123]*) objformat=aout ;;
! 12266: *) objformat=elf ;;
! 12267: esac
! 12268: fi
! 12269: version_type=freebsd-$objformat
! 12270: case $version_type in
! 12271: freebsd-elf*)
! 12272: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 12273: need_version=no
! 12274: need_lib_prefix=no
! 12275: ;;
! 12276: freebsd-*)
! 12277: library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
! 12278: need_version=yes
! 12279: ;;
! 12280: esac
! 12281: shlibpath_var=LD_LIBRARY_PATH
! 12282: case $host_os in
! 12283: freebsd2*)
! 12284: shlibpath_overrides_runpath=yes
! 12285: ;;
! 12286: freebsd3.[01]* | freebsdelf3.[01]*)
! 12287: shlibpath_overrides_runpath=yes
! 12288: hardcode_into_libs=yes
! 12289: ;;
! 12290: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 12291: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 12292: shlibpath_overrides_runpath=no
! 12293: hardcode_into_libs=yes
! 12294: ;;
! 12295: *) # from 4.6 on, and DragonFly
! 12296: shlibpath_overrides_runpath=yes
! 12297: hardcode_into_libs=yes
! 12298: ;;
! 12299: esac
! 12300: ;;
! 12301:
! 12302: gnu*)
! 12303: version_type=linux
! 12304: need_lib_prefix=no
! 12305: need_version=no
! 12306: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 12307: soname_spec='${libname}${release}${shared_ext}$major'
! 12308: shlibpath_var=LD_LIBRARY_PATH
! 12309: hardcode_into_libs=yes
! 12310: ;;
! 12311:
! 12312: haiku*)
! 12313: version_type=linux
! 12314: need_lib_prefix=no
! 12315: need_version=no
! 12316: dynamic_linker="$host_os runtime_loader"
! 12317: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
! 12318: soname_spec='${libname}${release}${shared_ext}$major'
! 12319: shlibpath_var=LIBRARY_PATH
! 12320: shlibpath_overrides_runpath=yes
! 12321: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
! 12322: hardcode_into_libs=yes
! 12323: ;;
! 12324:
! 12325: hpux9* | hpux10* | hpux11*)
! 12326: # Give a soname corresponding to the major version so that dld.sl refuses to
! 12327: # link against other versions.
! 12328: version_type=sunos
! 12329: need_lib_prefix=no
! 12330: need_version=no
! 12331: case $host_cpu in
! 12332: ia64*)
! 12333: shrext_cmds='.so'
! 12334: hardcode_into_libs=yes
! 12335: dynamic_linker="$host_os dld.so"
! 12336: shlibpath_var=LD_LIBRARY_PATH
! 12337: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 12338: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12339: soname_spec='${libname}${release}${shared_ext}$major'
! 12340: if test "X$HPUX_IA64_MODE" = X32; then
! 12341: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 12342: else
! 12343: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 12344: fi
! 12345: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 12346: ;;
! 12347: hppa*64*)
! 12348: shrext_cmds='.sl'
! 12349: hardcode_into_libs=yes
! 12350: dynamic_linker="$host_os dld.sl"
! 12351: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 12352: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 12353: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12354: soname_spec='${libname}${release}${shared_ext}$major'
! 12355: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 12356: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 12357: ;;
! 12358: *)
! 12359: shrext_cmds='.sl'
! 12360: dynamic_linker="$host_os dld.sl"
! 12361: shlibpath_var=SHLIB_PATH
! 12362: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 12363: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12364: soname_spec='${libname}${release}${shared_ext}$major'
! 12365: ;;
! 12366: esac
! 12367: # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
! 12368: postinstall_cmds='chmod 555 $lib'
! 12369: # or fails outright, so override atomically:
! 12370: install_override_mode=555
! 12371: ;;
! 12372:
! 12373: interix[3-9]*)
! 12374: version_type=linux
! 12375: need_lib_prefix=no
! 12376: need_version=no
! 12377: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 12378: soname_spec='${libname}${release}${shared_ext}$major'
! 12379: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 12380: shlibpath_var=LD_LIBRARY_PATH
! 12381: shlibpath_overrides_runpath=no
! 12382: hardcode_into_libs=yes
! 12383: ;;
! 12384:
! 12385: irix5* | irix6* | nonstopux*)
! 12386: case $host_os in
! 12387: nonstopux*) version_type=nonstopux ;;
! 12388: *)
! 12389: if test "$lt_cv_prog_gnu_ld" = yes; then
! 12390: version_type=linux
! 12391: else
! 12392: version_type=irix
! 12393: fi ;;
! 12394: esac
! 12395: need_lib_prefix=no
! 12396: need_version=no
! 12397: soname_spec='${libname}${release}${shared_ext}$major'
! 12398: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
! 12399: case $host_os in
! 12400: irix5* | nonstopux*)
! 12401: libsuff= shlibsuff=
! 12402: ;;
! 12403: *)
! 12404: case $LD in # libtool.m4 will add one of these switches to LD
! 12405: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 12406: libsuff= shlibsuff= libmagic=32-bit;;
! 12407: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 12408: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 12409: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 12410: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 12411: *) libsuff= shlibsuff= libmagic=never-match;;
! 12412: esac
! 12413: ;;
! 12414: esac
! 12415: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 12416: shlibpath_overrides_runpath=no
! 12417: sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
! 12418: sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
! 12419: hardcode_into_libs=yes
! 12420: ;;
! 12421:
! 12422: # No shared lib support for Linux oldld, aout, or coff.
! 12423: linux*oldld* | linux*aout* | linux*coff*)
! 12424: dynamic_linker=no
! 12425: ;;
! 12426:
! 12427: # This must be Linux ELF.
! 12428: linux* | k*bsd*-gnu | kopensolaris*-gnu)
! 12429: version_type=linux
! 12430: need_lib_prefix=no
! 12431: need_version=no
! 12432: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12433: soname_spec='${libname}${release}${shared_ext}$major'
! 12434: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 12435: shlibpath_var=LD_LIBRARY_PATH
! 12436: shlibpath_overrides_runpath=no
! 12437:
! 12438: # Some binutils ld are patched to set DT_RUNPATH
! 12439: if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
! 12440: $as_echo_n "(cached) " >&6
! 12441: else
! 12442: lt_cv_shlibpath_overrides_runpath=no
! 12443: save_LDFLAGS=$LDFLAGS
! 12444: save_libdir=$libdir
! 12445: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
! 12446: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
! 12447: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12448: /* end confdefs.h. */
! 12449:
! 12450: int
! 12451: main ()
! 12452: {
! 12453:
! 12454: ;
! 12455: return 0;
! 12456: }
! 12457: _ACEOF
! 12458: if ac_fn_c_try_link "$LINENO"; then :
! 12459: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
! 12460: lt_cv_shlibpath_overrides_runpath=yes
! 12461: fi
! 12462: fi
! 12463: rm -f core conftest.err conftest.$ac_objext \
! 12464: conftest$ac_exeext conftest.$ac_ext
! 12465: LDFLAGS=$save_LDFLAGS
! 12466: libdir=$save_libdir
! 12467:
! 12468: fi
! 12469:
! 12470: shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
! 12471:
! 12472: # This implies no fast_install, which is unacceptable.
! 12473: # Some rework will be needed to allow for fast_install
! 12474: # before this can be enabled.
! 12475: hardcode_into_libs=yes
! 12476:
! 12477: # Append ld.so.conf contents to the search path
! 12478: if test -f /etc/ld.so.conf; then
! 12479: 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' ' '`
! 12480: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 12481: fi
! 12482:
! 12483: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 12484: # powerpc, because MkLinux only supported shared libraries with the
! 12485: # GNU dynamic linker. Since this was broken with cross compilers,
! 12486: # most powerpc-linux boxes support dynamic linking these days and
! 12487: # people can always --disable-shared, the test was removed, and we
! 12488: # assume the GNU/Linux dynamic linker is in use.
! 12489: dynamic_linker='GNU/Linux ld.so'
! 12490: ;;
! 12491:
! 12492: netbsd*)
! 12493: version_type=sunos
! 12494: need_lib_prefix=no
! 12495: need_version=no
! 12496: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 12497: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 12498: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 12499: dynamic_linker='NetBSD (a.out) ld.so'
! 12500: else
! 12501: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
! 12502: soname_spec='${libname}${release}${shared_ext}$major'
! 12503: dynamic_linker='NetBSD ld.elf_so'
! 12504: fi
! 12505: shlibpath_var=LD_LIBRARY_PATH
! 12506: shlibpath_overrides_runpath=yes
! 12507: hardcode_into_libs=yes
! 12508: ;;
! 12509:
! 12510: newsos6)
! 12511: version_type=linux
! 12512: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12513: shlibpath_var=LD_LIBRARY_PATH
! 12514: shlibpath_overrides_runpath=yes
! 12515: ;;
! 12516:
! 12517: *nto* | *qnx*)
! 12518: version_type=qnx
! 12519: need_lib_prefix=no
! 12520: need_version=no
! 12521: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12522: soname_spec='${libname}${release}${shared_ext}$major'
! 12523: shlibpath_var=LD_LIBRARY_PATH
! 12524: shlibpath_overrides_runpath=no
! 12525: hardcode_into_libs=yes
! 12526: dynamic_linker='ldqnx.so'
! 12527: ;;
! 12528:
! 12529: openbsd*)
! 12530: version_type=sunos
! 12531: sys_lib_dlsearch_path_spec="/usr/lib"
! 12532: need_lib_prefix=no
! 12533: # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
! 12534: case $host_os in
! 12535: openbsd3.3 | openbsd3.3.*) need_version=yes ;;
! 12536: *) need_version=no ;;
! 12537: esac
! 12538: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 12539: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 12540: shlibpath_var=LD_LIBRARY_PATH
! 12541: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! 12542: case $host_os in
! 12543: openbsd2.[89] | openbsd2.[89].*)
! 12544: shlibpath_overrides_runpath=no
! 12545: ;;
! 12546: *)
! 12547: shlibpath_overrides_runpath=yes
! 12548: ;;
! 12549: esac
! 12550: else
! 12551: shlibpath_overrides_runpath=yes
! 12552: fi
! 12553: ;;
! 12554:
! 12555: os2*)
! 12556: libname_spec='$name'
! 12557: shrext_cmds=".dll"
! 12558: need_lib_prefix=no
! 12559: library_names_spec='$libname${shared_ext} $libname.a'
! 12560: dynamic_linker='OS/2 ld.exe'
! 12561: shlibpath_var=LIBPATH
! 12562: ;;
! 12563:
! 12564: osf3* | osf4* | osf5*)
! 12565: version_type=osf
! 12566: need_lib_prefix=no
! 12567: need_version=no
! 12568: soname_spec='${libname}${release}${shared_ext}$major'
! 12569: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12570: shlibpath_var=LD_LIBRARY_PATH
! 12571: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 12572: sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
! 12573: ;;
! 12574:
! 12575: rdos*)
! 12576: dynamic_linker=no
! 12577: ;;
! 12578:
! 12579: solaris*)
! 12580: version_type=linux
! 12581: need_lib_prefix=no
! 12582: need_version=no
! 12583: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12584: soname_spec='${libname}${release}${shared_ext}$major'
! 12585: shlibpath_var=LD_LIBRARY_PATH
! 12586: shlibpath_overrides_runpath=yes
! 12587: hardcode_into_libs=yes
! 12588: # ldd complains unless libraries are executable
! 12589: postinstall_cmds='chmod +x $lib'
! 12590: ;;
! 12591:
! 12592: sunos4*)
! 12593: version_type=sunos
! 12594: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
! 12595: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 12596: shlibpath_var=LD_LIBRARY_PATH
! 12597: shlibpath_overrides_runpath=yes
! 12598: if test "$with_gnu_ld" = yes; then
! 12599: need_lib_prefix=no
! 12600: fi
! 12601: need_version=yes
! 12602: ;;
! 12603:
! 12604: sysv4 | sysv4.3*)
! 12605: version_type=linux
! 12606: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12607: soname_spec='${libname}${release}${shared_ext}$major'
! 12608: shlibpath_var=LD_LIBRARY_PATH
! 12609: case $host_vendor in
! 12610: sni)
! 12611: shlibpath_overrides_runpath=no
! 12612: need_lib_prefix=no
! 12613: runpath_var=LD_RUN_PATH
! 12614: ;;
! 12615: siemens)
! 12616: need_lib_prefix=no
! 12617: ;;
! 12618: motorola)
! 12619: need_lib_prefix=no
! 12620: need_version=no
! 12621: shlibpath_overrides_runpath=no
! 12622: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 12623: ;;
! 12624: esac
! 12625: ;;
! 12626:
! 12627: sysv4*MP*)
! 12628: if test -d /usr/nec ;then
! 12629: version_type=linux
! 12630: library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
! 12631: soname_spec='$libname${shared_ext}.$major'
! 12632: shlibpath_var=LD_LIBRARY_PATH
! 12633: fi
! 12634: ;;
! 12635:
! 12636: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 12637: version_type=freebsd-elf
! 12638: need_lib_prefix=no
! 12639: need_version=no
! 12640: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 12641: soname_spec='${libname}${release}${shared_ext}$major'
! 12642: shlibpath_var=LD_LIBRARY_PATH
! 12643: shlibpath_overrides_runpath=yes
! 12644: hardcode_into_libs=yes
! 12645: if test "$with_gnu_ld" = yes; then
! 12646: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 12647: else
! 12648: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 12649: case $host_os in
! 12650: sco3.2v5*)
! 12651: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 12652: ;;
! 12653: esac
! 12654: fi
! 12655: sys_lib_dlsearch_path_spec='/usr/lib'
! 12656: ;;
! 12657:
! 12658: tpf*)
! 12659: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
! 12660: version_type=linux
! 12661: need_lib_prefix=no
! 12662: need_version=no
! 12663: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12664: shlibpath_var=LD_LIBRARY_PATH
! 12665: shlibpath_overrides_runpath=no
! 12666: hardcode_into_libs=yes
! 12667: ;;
! 12668:
! 12669: uts4*)
! 12670: version_type=linux
! 12671: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
! 12672: soname_spec='${libname}${release}${shared_ext}$major'
! 12673: shlibpath_var=LD_LIBRARY_PATH
! 12674: ;;
! 12675:
! 12676: *)
! 12677: dynamic_linker=no
! 12678: ;;
! 12679: esac
! 12680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
! 12681: $as_echo "$dynamic_linker" >&6; }
! 12682: test "$dynamic_linker" = no && can_build_shared=no
! 12683:
! 12684: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 12685: if test "$GCC" = yes; then
! 12686: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 12687: fi
! 12688:
! 12689: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
! 12690: sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
! 12691: fi
! 12692: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
! 12693: sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
! 12694: fi
! 12695:
! 12696:
! 12697:
! 12698:
! 12699:
! 12700:
! 12701:
! 12702:
! 12703:
! 12704:
! 12705:
! 12706:
! 12707:
! 12708:
! 12709:
! 12710:
! 12711:
! 12712:
! 12713:
! 12714:
! 12715:
! 12716:
! 12717:
! 12718:
! 12719:
! 12720:
! 12721:
! 12722:
! 12723:
! 12724:
! 12725:
! 12726:
! 12727:
! 12728:
! 12729:
! 12730:
! 12731:
! 12732:
! 12733:
! 12734:
! 12735:
! 12736:
! 12737:
! 12738:
! 12739:
! 12740:
! 12741:
! 12742:
! 12743:
! 12744:
! 12745:
! 12746:
! 12747:
! 12748:
! 12749:
! 12750:
! 12751:
! 12752:
! 12753:
! 12754:
! 12755:
! 12756:
! 12757:
! 12758:
! 12759:
! 12760:
! 12761:
! 12762:
! 12763:
! 12764:
! 12765:
! 12766:
! 12767:
! 12768:
! 12769:
! 12770:
! 12771:
! 12772:
! 12773:
! 12774:
! 12775:
! 12776:
! 12777:
! 12778:
! 12779:
! 12780:
! 12781:
! 12782:
! 12783:
! 12784:
! 12785:
! 12786:
! 12787: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
! 12788: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 12789: hardcode_action=
! 12790: if test -n "$hardcode_libdir_flag_spec" ||
! 12791: test -n "$runpath_var" ||
! 12792: test "X$hardcode_automatic" = "Xyes" ; then
! 12793:
! 12794: # We can hardcode non-existent directories.
! 12795: if test "$hardcode_direct" != no &&
! 12796: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 12797: # have to relink, otherwise we might link with an installed library
! 12798: # when we should be linking with a yet-to-be-installed one
! 12799: ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
! 12800: test "$hardcode_minus_L" != no; then
! 12801: # Linking always hardcodes the temporary library directory.
! 12802: hardcode_action=relink
! 12803: else
! 12804: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 12805: hardcode_action=immediate
! 12806: fi
! 12807: else
! 12808: # We cannot hardcode anything, or else we can only hardcode existing
! 12809: # directories.
! 12810: hardcode_action=unsupported
! 12811: fi
! 12812: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
! 12813: $as_echo "$hardcode_action" >&6; }
! 12814:
! 12815: if test "$hardcode_action" = relink ||
! 12816: test "$inherit_rpath" = yes; then
! 12817: # Fast installation is not supported
! 12818: enable_fast_install=no
! 12819: elif test "$shlibpath_overrides_runpath" = yes ||
! 12820: test "$enable_shared" = no; then
! 12821: # Fast installation is not necessary
! 12822: enable_fast_install=needless
! 12823: fi
! 12824:
! 12825:
! 12826:
! 12827:
! 12828:
! 12829:
! 12830: if test "x$enable_dlopen" != xyes; then
! 12831: enable_dlopen=unknown
! 12832: enable_dlopen_self=unknown
! 12833: enable_dlopen_self_static=unknown
! 12834: else
! 12835: lt_cv_dlopen=no
! 12836: lt_cv_dlopen_libs=
! 12837:
! 12838: case $host_os in
! 12839: beos*)
! 12840: lt_cv_dlopen="load_add_on"
! 12841: lt_cv_dlopen_libs=
! 12842: lt_cv_dlopen_self=yes
! 12843: ;;
! 12844:
! 12845: mingw* | pw32* | cegcc*)
! 12846: lt_cv_dlopen="LoadLibrary"
! 12847: lt_cv_dlopen_libs=
! 12848: ;;
! 12849:
! 12850: cygwin*)
! 12851: lt_cv_dlopen="dlopen"
! 12852: lt_cv_dlopen_libs=
! 12853: ;;
! 12854:
! 12855: darwin*)
! 12856: # if libdl is installed we need to link against it
! 12857: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
! 12858: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 12859: if ${ac_cv_lib_dl_dlopen+:} false; then :
! 12860: $as_echo_n "(cached) " >&6
! 12861: else
! 12862: ac_check_lib_save_LIBS=$LIBS
! 12863: LIBS="-ldl $LIBS"
! 12864: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12865: /* end confdefs.h. */
! 12866:
! 12867: /* Override any GCC internal prototype to avoid an error.
! 12868: Use char because int might match the return type of a GCC
! 12869: builtin and then its argument prototype would still apply. */
! 12870: #ifdef __cplusplus
! 12871: extern "C"
! 12872: #endif
! 12873: char dlopen ();
! 12874: int
! 12875: main ()
! 12876: {
! 12877: return dlopen ();
! 12878: ;
! 12879: return 0;
! 12880: }
! 12881: _ACEOF
! 12882: if ac_fn_c_try_link "$LINENO"; then :
! 12883: ac_cv_lib_dl_dlopen=yes
! 12884: else
! 12885: ac_cv_lib_dl_dlopen=no
! 12886: fi
! 12887: rm -f core conftest.err conftest.$ac_objext \
! 12888: conftest$ac_exeext conftest.$ac_ext
! 12889: LIBS=$ac_check_lib_save_LIBS
! 12890: fi
! 12891: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
! 12892: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 12893: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
! 12894: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 12895: else
! 12896:
! 12897: lt_cv_dlopen="dyld"
! 12898: lt_cv_dlopen_libs=
! 12899: lt_cv_dlopen_self=yes
! 12900:
! 12901: fi
! 12902:
! 12903: ;;
! 12904:
! 12905: *)
! 12906: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
! 12907: if test "x$ac_cv_func_shl_load" = xyes; then :
! 12908: lt_cv_dlopen="shl_load"
! 12909: else
! 12910: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
! 12911: $as_echo_n "checking for shl_load in -ldld... " >&6; }
! 12912: if ${ac_cv_lib_dld_shl_load+:} false; then :
! 12913: $as_echo_n "(cached) " >&6
! 12914: else
! 12915: ac_check_lib_save_LIBS=$LIBS
! 12916: LIBS="-ldld $LIBS"
! 12917: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12918: /* end confdefs.h. */
! 12919:
! 12920: /* Override any GCC internal prototype to avoid an error.
! 12921: Use char because int might match the return type of a GCC
! 12922: builtin and then its argument prototype would still apply. */
! 12923: #ifdef __cplusplus
! 12924: extern "C"
! 12925: #endif
! 12926: char shl_load ();
! 12927: int
! 12928: main ()
! 12929: {
! 12930: return shl_load ();
! 12931: ;
! 12932: return 0;
! 12933: }
! 12934: _ACEOF
! 12935: if ac_fn_c_try_link "$LINENO"; then :
! 12936: ac_cv_lib_dld_shl_load=yes
! 12937: else
! 12938: ac_cv_lib_dld_shl_load=no
! 12939: fi
! 12940: rm -f core conftest.err conftest.$ac_objext \
! 12941: conftest$ac_exeext conftest.$ac_ext
! 12942: LIBS=$ac_check_lib_save_LIBS
! 12943: fi
! 12944: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
! 12945: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
! 12946: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
! 12947: lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
! 12948: else
! 12949: ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
! 12950: if test "x$ac_cv_func_dlopen" = xyes; then :
! 12951: lt_cv_dlopen="dlopen"
! 12952: else
! 12953: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
! 12954: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 12955: if ${ac_cv_lib_dl_dlopen+:} false; then :
! 12956: $as_echo_n "(cached) " >&6
! 12957: else
! 12958: ac_check_lib_save_LIBS=$LIBS
! 12959: LIBS="-ldl $LIBS"
! 12960: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12961: /* end confdefs.h. */
! 12962:
! 12963: /* Override any GCC internal prototype to avoid an error.
! 12964: Use char because int might match the return type of a GCC
! 12965: builtin and then its argument prototype would still apply. */
! 12966: #ifdef __cplusplus
! 12967: extern "C"
! 12968: #endif
! 12969: char dlopen ();
! 12970: int
! 12971: main ()
! 12972: {
! 12973: return dlopen ();
! 12974: ;
! 12975: return 0;
! 12976: }
! 12977: _ACEOF
! 12978: if ac_fn_c_try_link "$LINENO"; then :
! 12979: ac_cv_lib_dl_dlopen=yes
! 12980: else
! 12981: ac_cv_lib_dl_dlopen=no
! 12982: fi
! 12983: rm -f core conftest.err conftest.$ac_objext \
! 12984: conftest$ac_exeext conftest.$ac_ext
! 12985: LIBS=$ac_check_lib_save_LIBS
! 12986: fi
! 12987: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
! 12988: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 12989: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
! 12990: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
! 12991: else
! 12992: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
! 12993: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
! 12994: if ${ac_cv_lib_svld_dlopen+:} false; then :
! 12995: $as_echo_n "(cached) " >&6
! 12996: else
! 12997: ac_check_lib_save_LIBS=$LIBS
! 12998: LIBS="-lsvld $LIBS"
! 12999: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13000: /* end confdefs.h. */
! 13001:
! 13002: /* Override any GCC internal prototype to avoid an error.
! 13003: Use char because int might match the return type of a GCC
! 13004: builtin and then its argument prototype would still apply. */
! 13005: #ifdef __cplusplus
! 13006: extern "C"
! 13007: #endif
! 13008: char dlopen ();
! 13009: int
! 13010: main ()
! 13011: {
! 13012: return dlopen ();
! 13013: ;
! 13014: return 0;
! 13015: }
! 13016: _ACEOF
! 13017: if ac_fn_c_try_link "$LINENO"; then :
! 13018: ac_cv_lib_svld_dlopen=yes
! 13019: else
! 13020: ac_cv_lib_svld_dlopen=no
! 13021: fi
! 13022: rm -f core conftest.err conftest.$ac_objext \
! 13023: conftest$ac_exeext conftest.$ac_ext
! 13024: LIBS=$ac_check_lib_save_LIBS
! 13025: fi
! 13026: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
! 13027: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
! 13028: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
! 13029: lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
! 13030: else
! 13031: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
! 13032: $as_echo_n "checking for dld_link in -ldld... " >&6; }
! 13033: if ${ac_cv_lib_dld_dld_link+:} false; then :
! 13034: $as_echo_n "(cached) " >&6
! 13035: else
! 13036: ac_check_lib_save_LIBS=$LIBS
! 13037: LIBS="-ldld $LIBS"
! 13038: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13039: /* end confdefs.h. */
! 13040:
! 13041: /* Override any GCC internal prototype to avoid an error.
! 13042: Use char because int might match the return type of a GCC
! 13043: builtin and then its argument prototype would still apply. */
! 13044: #ifdef __cplusplus
! 13045: extern "C"
! 13046: #endif
! 13047: char dld_link ();
! 13048: int
! 13049: main ()
! 13050: {
! 13051: return dld_link ();
! 13052: ;
! 13053: return 0;
! 13054: }
! 13055: _ACEOF
! 13056: if ac_fn_c_try_link "$LINENO"; then :
! 13057: ac_cv_lib_dld_dld_link=yes
! 13058: else
! 13059: ac_cv_lib_dld_dld_link=no
! 13060: fi
! 13061: rm -f core conftest.err conftest.$ac_objext \
! 13062: conftest$ac_exeext conftest.$ac_ext
! 13063: LIBS=$ac_check_lib_save_LIBS
! 13064: fi
! 13065: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
! 13066: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
! 13067: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
! 13068: lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
! 13069: fi
! 13070:
! 13071:
! 13072: fi
! 13073:
! 13074:
! 13075: fi
! 13076:
! 13077:
! 13078: fi
! 13079:
! 13080:
! 13081: fi
! 13082:
! 13083:
! 13084: fi
! 13085:
! 13086: ;;
! 13087: esac
! 13088:
! 13089: if test "x$lt_cv_dlopen" != xno; then
! 13090: enable_dlopen=yes
! 13091: else
! 13092: enable_dlopen=no
! 13093: fi
! 13094:
! 13095: case $lt_cv_dlopen in
! 13096: dlopen)
! 13097: save_CPPFLAGS="$CPPFLAGS"
! 13098: test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 13099:
! 13100: save_LDFLAGS="$LDFLAGS"
! 13101: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 13102:
! 13103: save_LIBS="$LIBS"
! 13104: LIBS="$lt_cv_dlopen_libs $LIBS"
! 13105:
! 13106: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
! 13107: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
! 13108: if ${lt_cv_dlopen_self+:} false; then :
! 13109: $as_echo_n "(cached) " >&6
! 13110: else
! 13111: if test "$cross_compiling" = yes; then :
! 13112: lt_cv_dlopen_self=cross
! 13113: else
! 13114: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 13115: lt_status=$lt_dlunknown
! 13116: cat > conftest.$ac_ext <<_LT_EOF
! 13117: #line $LINENO "configure"
! 13118: #include "confdefs.h"
! 13119:
! 13120: #if HAVE_DLFCN_H
! 13121: #include <dlfcn.h>
! 13122: #endif
! 13123:
! 13124: #include <stdio.h>
! 13125:
! 13126: #ifdef RTLD_GLOBAL
! 13127: # define LT_DLGLOBAL RTLD_GLOBAL
! 13128: #else
! 13129: # ifdef DL_GLOBAL
! 13130: # define LT_DLGLOBAL DL_GLOBAL
! 13131: # else
! 13132: # define LT_DLGLOBAL 0
! 13133: # endif
! 13134: #endif
! 13135:
! 13136: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 13137: find out it does not work in some platform. */
! 13138: #ifndef LT_DLLAZY_OR_NOW
! 13139: # ifdef RTLD_LAZY
! 13140: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 13141: # else
! 13142: # ifdef DL_LAZY
! 13143: # define LT_DLLAZY_OR_NOW DL_LAZY
! 13144: # else
! 13145: # ifdef RTLD_NOW
! 13146: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 13147: # else
! 13148: # ifdef DL_NOW
! 13149: # define LT_DLLAZY_OR_NOW DL_NOW
! 13150: # else
! 13151: # define LT_DLLAZY_OR_NOW 0
! 13152: # endif
! 13153: # endif
! 13154: # endif
! 13155: # endif
! 13156: #endif
! 13157:
! 13158: /* When -fvisbility=hidden is used, assume the code has been annotated
! 13159: correspondingly for the symbols needed. */
! 13160: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 13161: int fnord () __attribute__((visibility("default")));
! 13162: #endif
! 13163:
! 13164: int fnord () { return 42; }
! 13165: int main ()
! 13166: {
! 13167: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 13168: int status = $lt_dlunknown;
! 13169:
! 13170: if (self)
! 13171: {
! 13172: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 13173: else
! 13174: {
! 13175: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 13176: else puts (dlerror ());
! 13177: }
! 13178: /* dlclose (self); */
! 13179: }
! 13180: else
! 13181: puts (dlerror ());
! 13182:
! 13183: return status;
! 13184: }
! 13185: _LT_EOF
! 13186: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 13187: (eval $ac_link) 2>&5
! 13188: ac_status=$?
! 13189: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 13190: test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
! 13191: (./conftest; exit; ) >&5 2>/dev/null
! 13192: lt_status=$?
! 13193: case x$lt_status in
! 13194: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 13195: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 13196: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
! 13197: esac
! 13198: else :
! 13199: # compilation failed
! 13200: lt_cv_dlopen_self=no
! 13201: fi
! 13202: fi
! 13203: rm -fr conftest*
! 13204:
! 13205:
! 13206: fi
! 13207: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
! 13208: $as_echo "$lt_cv_dlopen_self" >&6; }
! 13209:
! 13210: if test "x$lt_cv_dlopen_self" = xyes; then
! 13211: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
! 13212: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
! 13213: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
! 13214: if ${lt_cv_dlopen_self_static+:} false; then :
! 13215: $as_echo_n "(cached) " >&6
! 13216: else
! 13217: if test "$cross_compiling" = yes; then :
! 13218: lt_cv_dlopen_self_static=cross
! 13219: else
! 13220: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 13221: lt_status=$lt_dlunknown
! 13222: cat > conftest.$ac_ext <<_LT_EOF
! 13223: #line $LINENO "configure"
! 13224: #include "confdefs.h"
! 13225:
! 13226: #if HAVE_DLFCN_H
! 13227: #include <dlfcn.h>
! 13228: #endif
! 13229:
! 13230: #include <stdio.h>
! 13231:
! 13232: #ifdef RTLD_GLOBAL
! 13233: # define LT_DLGLOBAL RTLD_GLOBAL
! 13234: #else
! 13235: # ifdef DL_GLOBAL
! 13236: # define LT_DLGLOBAL DL_GLOBAL
! 13237: # else
! 13238: # define LT_DLGLOBAL 0
! 13239: # endif
! 13240: #endif
! 13241:
! 13242: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 13243: find out it does not work in some platform. */
! 13244: #ifndef LT_DLLAZY_OR_NOW
! 13245: # ifdef RTLD_LAZY
! 13246: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 13247: # else
! 13248: # ifdef DL_LAZY
! 13249: # define LT_DLLAZY_OR_NOW DL_LAZY
! 13250: # else
! 13251: # ifdef RTLD_NOW
! 13252: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 13253: # else
! 13254: # ifdef DL_NOW
! 13255: # define LT_DLLAZY_OR_NOW DL_NOW
! 13256: # else
! 13257: # define LT_DLLAZY_OR_NOW 0
! 13258: # endif
! 13259: # endif
! 13260: # endif
! 13261: # endif
! 13262: #endif
! 13263:
! 13264: /* When -fvisbility=hidden is used, assume the code has been annotated
! 13265: correspondingly for the symbols needed. */
! 13266: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 13267: int fnord () __attribute__((visibility("default")));
! 13268: #endif
! 13269:
! 13270: int fnord () { return 42; }
! 13271: int main ()
! 13272: {
! 13273: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 13274: int status = $lt_dlunknown;
! 13275:
! 13276: if (self)
! 13277: {
! 13278: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 13279: else
! 13280: {
! 13281: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 13282: else puts (dlerror ());
! 13283: }
! 13284: /* dlclose (self); */
! 13285: }
! 13286: else
! 13287: puts (dlerror ());
! 13288:
! 13289: return status;
! 13290: }
! 13291: _LT_EOF
! 13292: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 13293: (eval $ac_link) 2>&5
! 13294: ac_status=$?
! 13295: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 13296: test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
! 13297: (./conftest; exit; ) >&5 2>/dev/null
! 13298: lt_status=$?
! 13299: case x$lt_status in
! 13300: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 13301: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 13302: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
! 13303: esac
! 13304: else :
! 13305: # compilation failed
! 13306: lt_cv_dlopen_self_static=no
! 13307: fi
! 13308: fi
! 13309: rm -fr conftest*
! 13310:
! 13311:
! 13312: fi
! 13313: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
! 13314: $as_echo "$lt_cv_dlopen_self_static" >&6; }
! 13315: fi
! 13316:
! 13317: CPPFLAGS="$save_CPPFLAGS"
! 13318: LDFLAGS="$save_LDFLAGS"
! 13319: LIBS="$save_LIBS"
! 13320: ;;
! 13321: esac
! 13322:
! 13323: case $lt_cv_dlopen_self in
! 13324: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 13325: *) enable_dlopen_self=unknown ;;
! 13326: esac
! 13327:
! 13328: case $lt_cv_dlopen_self_static in
! 13329: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 13330: *) enable_dlopen_self_static=unknown ;;
! 13331: esac
! 13332: fi
! 13333:
! 13334:
! 13335:
! 13336:
! 13337:
! 13338:
! 13339:
! 13340:
! 13341:
! 13342:
! 13343:
! 13344:
! 13345:
! 13346:
! 13347:
! 13348:
! 13349:
! 13350: striplib=
! 13351: old_striplib=
! 13352: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
! 13353: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
! 13354: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
! 13355: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 13356: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 13357: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 13358: $as_echo "yes" >&6; }
! 13359: else
! 13360: # FIXME - insert some real tests, host_os isn't really good enough
! 13361: case $host_os in
! 13362: darwin*)
! 13363: if test -n "$STRIP" ; then
! 13364: striplib="$STRIP -x"
! 13365: old_striplib="$STRIP -S"
! 13366: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 13367: $as_echo "yes" >&6; }
! 13368: else
! 13369: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13370: $as_echo "no" >&6; }
! 13371: fi
! 13372: ;;
! 13373: *)
! 13374: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13375: $as_echo "no" >&6; }
! 13376: ;;
! 13377: esac
! 13378: fi
! 13379:
! 13380:
! 13381:
! 13382:
! 13383:
! 13384:
! 13385:
! 13386:
! 13387:
! 13388:
! 13389:
! 13390:
! 13391: # Report which library types will actually be built
! 13392: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
! 13393: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
! 13394: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
! 13395: $as_echo "$can_build_shared" >&6; }
! 13396:
! 13397: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
! 13398: $as_echo_n "checking whether to build shared libraries... " >&6; }
! 13399: test "$can_build_shared" = "no" && enable_shared=no
! 13400:
! 13401: # On AIX, shared libraries and static libraries use the same namespace, and
! 13402: # are all built from PIC.
! 13403: case $host_os in
! 13404: aix3*)
! 13405: test "$enable_shared" = yes && enable_static=no
! 13406: if test -n "$RANLIB"; then
! 13407: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 13408: postinstall_cmds='$RANLIB $lib'
! 13409: fi
! 13410: ;;
! 13411:
! 13412: aix[4-9]*)
! 13413: if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
! 13414: test "$enable_shared" = yes && enable_static=no
! 13415: fi
! 13416: ;;
! 13417: esac
! 13418: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
! 13419: $as_echo "$enable_shared" >&6; }
! 13420:
! 13421: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
! 13422: $as_echo_n "checking whether to build static libraries... " >&6; }
! 13423: # Make sure either enable_shared or enable_static is yes.
! 13424: test "$enable_shared" = yes || enable_static=yes
! 13425: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
! 13426: $as_echo "$enable_static" >&6; }
! 13427:
! 13428:
! 13429:
! 13430:
! 13431: fi
! 13432: ac_ext=c
! 13433: ac_cpp='$CPP $CPPFLAGS'
! 13434: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 13435: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 13436: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 13437:
! 13438: CC="$lt_save_CC"
! 13439:
! 13440:
! 13441:
! 13442:
! 13443:
! 13444:
! 13445:
! 13446:
! 13447:
! 13448:
! 13449:
! 13450:
! 13451:
! 13452: ac_config_commands="$ac_config_commands libtool"
! 13453:
! 13454:
! 13455:
! 13456:
! 13457: # Only expand once:
! 13458:
! 13459:
! 13460:
! 13461: if test "$enable_shared" = "no"; then
! 13462: with_noexec=no
! 13463: enable_dlopen=no
! 13464: lt_cv_dlopen=none
! 13465: lt_cv_dlopen_libs=
! 13466: else
! 13467: eval _shrext="$shrext_cmds"
! 13468: # Darwin uses .dylib for libraries but .so for modules
! 13469: if test X"$_shrext" = X".dylib"; then
! 13470: SOEXT=".so"
! 13471: else
! 13472: SOEXT="$_shrext"
! 13473: fi
! 13474: fi
! 13475: { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to sudo_noexec.so" >&5
! 13476: $as_echo_n "checking path to sudo_noexec.so... " >&6; }
! 13477:
! 13478: # Check whether --with-noexec was given.
! 13479: if test "${with_noexec+set}" = set; then :
! 13480: withval=$with_noexec; case $with_noexec in
! 13481: yes) with_noexec="$libexecdir/sudo_noexec$_shrext"
! 13482: ;;
! 13483: no) ;;
! 13484: *) ;;
! 13485: esac
! 13486: else
! 13487: with_noexec="$libexecdir/sudo_noexec$_shrext"
! 13488: fi
! 13489:
! 13490: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_noexec" >&5
! 13491: $as_echo "$with_noexec" >&6; }
! 13492: NOEXECFILE="sudo_noexec$_shrext"
! 13493: NOEXECDIR="`echo $with_noexec|sed 's:^\(.*\)/[^/]*:\1:'`"
! 13494:
! 13495: # Extract the first word of "uname", so it can be a program name with args.
! 13496: set dummy uname; ac_word=$2
! 13497: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 13498: $as_echo_n "checking for $ac_word... " >&6; }
! 13499: if ${ac_cv_prog_UNAMEPROG+:} false; then :
! 13500: $as_echo_n "(cached) " >&6
! 13501: else
! 13502: if test -n "$UNAMEPROG"; then
! 13503: ac_cv_prog_UNAMEPROG="$UNAMEPROG" # Let the user override the test.
! 13504: else
! 13505: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 13506: for as_dir in $PATH
! 13507: do
! 13508: IFS=$as_save_IFS
! 13509: test -z "$as_dir" && as_dir=.
! 13510: for ac_exec_ext in '' $ac_executable_extensions; do
! 13511: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 13512: ac_cv_prog_UNAMEPROG="uname"
! 13513: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 13514: break 2
! 13515: fi
! 13516: done
! 13517: done
! 13518: IFS=$as_save_IFS
! 13519:
! 13520: fi
! 13521: fi
! 13522: UNAMEPROG=$ac_cv_prog_UNAMEPROG
! 13523: if test -n "$UNAMEPROG"; then
! 13524: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNAMEPROG" >&5
! 13525: $as_echo "$UNAMEPROG" >&6; }
! 13526: else
! 13527: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13528: $as_echo "no" >&6; }
! 13529: fi
! 13530:
! 13531:
! 13532: # Extract the first word of "tr", so it can be a program name with args.
! 13533: set dummy tr; ac_word=$2
! 13534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 13535: $as_echo_n "checking for $ac_word... " >&6; }
! 13536: if ${ac_cv_prog_TRPROG+:} false; then :
! 13537: $as_echo_n "(cached) " >&6
! 13538: else
! 13539: if test -n "$TRPROG"; then
! 13540: ac_cv_prog_TRPROG="$TRPROG" # Let the user override the test.
! 13541: else
! 13542: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 13543: for as_dir in $PATH
! 13544: do
! 13545: IFS=$as_save_IFS
! 13546: test -z "$as_dir" && as_dir=.
! 13547: for ac_exec_ext in '' $ac_executable_extensions; do
! 13548: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 13549: ac_cv_prog_TRPROG="tr"
! 13550: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 13551: break 2
! 13552: fi
! 13553: done
! 13554: done
! 13555: IFS=$as_save_IFS
! 13556:
! 13557: fi
! 13558: fi
! 13559: TRPROG=$ac_cv_prog_TRPROG
! 13560: if test -n "$TRPROG"; then
! 13561: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRPROG" >&5
! 13562: $as_echo "$TRPROG" >&6; }
! 13563: else
! 13564: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13565: $as_echo "no" >&6; }
! 13566: fi
! 13567:
! 13568:
! 13569: for ac_prog in nroff mandoc
! 13570: do
! 13571: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 13572: set dummy $ac_prog; ac_word=$2
! 13573: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 13574: $as_echo_n "checking for $ac_word... " >&6; }
! 13575: if ${ac_cv_prog_NROFFPROG+:} false; then :
! 13576: $as_echo_n "(cached) " >&6
! 13577: else
! 13578: if test -n "$NROFFPROG"; then
! 13579: ac_cv_prog_NROFFPROG="$NROFFPROG" # Let the user override the test.
! 13580: else
! 13581: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 13582: for as_dir in $PATH
! 13583: do
! 13584: IFS=$as_save_IFS
! 13585: test -z "$as_dir" && as_dir=.
! 13586: for ac_exec_ext in '' $ac_executable_extensions; do
! 13587: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 13588: ac_cv_prog_NROFFPROG="$ac_prog"
! 13589: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 13590: break 2
! 13591: fi
! 13592: done
! 13593: done
! 13594: IFS=$as_save_IFS
! 13595:
! 13596: fi
! 13597: fi
! 13598: NROFFPROG=$ac_cv_prog_NROFFPROG
! 13599: if test -n "$NROFFPROG"; then
! 13600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFFPROG" >&5
! 13601: $as_echo "$NROFFPROG" >&6; }
! 13602: else
! 13603: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13604: $as_echo "no" >&6; }
! 13605: fi
! 13606:
! 13607:
! 13608: test -n "$NROFFPROG" && break
! 13609: done
! 13610:
! 13611: if test -n "$NROFFPROG"; then
! 13612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $NROFFPROG supports the -c option" >&5
! 13613: $as_echo_n "checking whether $NROFFPROG supports the -c option... " >&6; }
! 13614: if ${sudo_cv_var_nroff_opt_c+:} false; then :
! 13615: $as_echo_n "(cached) " >&6
! 13616: else
! 13617: if $NROFFPROG -c </dev/null >/dev/null 2>&1; then
! 13618: sudo_cv_var_nroff_opt_c=yes
! 13619: else
! 13620: sudo_cv_var_nroff_opt_c=no
! 13621: fi
! 13622:
! 13623: fi
! 13624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_nroff_opt_c" >&5
! 13625: $as_echo "$sudo_cv_var_nroff_opt_c" >&6; }
! 13626: if test "$sudo_cv_var_nroff_opt_c" = "yes"; then
! 13627: NROFFPROG="$NROFFPROG -c"
! 13628: fi
! 13629: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $NROFFPROG supports the -Tascii option" >&5
! 13630: $as_echo_n "checking whether $NROFFPROG supports the -Tascii option... " >&6; }
! 13631: if ${sudo_cv_var_nroff_opt_Tascii+:} false; then :
! 13632: $as_echo_n "(cached) " >&6
! 13633: else
! 13634: if $NROFFPROG -Tascii </dev/null >/dev/null 2>&1; then
! 13635: sudo_cv_var_nroff_opt_Tascii=yes
! 13636: else
! 13637: sudo_cv_var_nroff_opt_Tascii=no
! 13638: fi
! 13639: if test "$sudo_cv_var_nroff_opt_Tascii" = "yes"; then
! 13640: NROFFPROG="$NROFFPROG -Tascii"
! 13641: fi
! 13642:
! 13643: fi
! 13644: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_nroff_opt_Tascii" >&5
! 13645: $as_echo "$sudo_cv_var_nroff_opt_Tascii" >&6; }
! 13646: else
! 13647: MANTYPE="cat"
! 13648: mansrcdir='$(srcdir)'
! 13649: fi
! 13650:
! 13651: if test -n "$sudo_cv_prev_host"; then
! 13652: if test "$sudo_cv_prev_host" != "$host"; then
! 13653: as_fn_error $? "config.cache was created on a different host; remove it and re-run configure." "$LINENO" 5
! 13654: else
! 13655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking previous host type" >&5
! 13656: $as_echo_n "checking previous host type... " >&6; }
! 13657: if ${sudo_cv_prev_host+:} false; then :
! 13658: $as_echo_n "(cached) " >&6
! 13659: else
! 13660: sudo_cv_prev_host="$host"
! 13661: fi
! 13662:
! 13663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_prev_host" >&5
! 13664: $as_echo "$sudo_cv_prev_host" >&6; }
! 13665: fi
! 13666: else
! 13667: # this will produce no output since there is no cached value
! 13668: if ${sudo_cv_prev_host+:} false; then :
! 13669: $as_echo_n "(cached) " >&6
! 13670: else
! 13671: sudo_cv_prev_host="$host"
! 13672: fi
! 13673:
! 13674: fi
! 13675:
! 13676: if test -n "$host_os"; then
! 13677: OS=`echo $host_os | sed 's/[0-9].*//'`
! 13678: OSREV=`echo $host_os | sed 's/^[^0-9\.]*\([0-9\.]*\).*$/\1/'`
! 13679: OSMAJOR=`echo $OSREV | sed 's/\..*$//'`
! 13680: else
! 13681: OS="unknown"
! 13682: OSREV=0
! 13683: OSMAJOR=0
! 13684: fi
! 13685:
! 13686: case "$host" in
! 13687: *-*-sunos4*)
! 13688: # getcwd(3) opens a pipe to getpwd(1)!?!
! 13689: BROKEN_GETCWD=1
! 13690:
! 13691: # system headers lack prototypes but gcc helps...
! 13692: if test -n "$GCC"; then
! 13693: OSDEFS="${OSDEFS} -D__USE_FIXED_PROTOTYPES__"
! 13694: fi
! 13695:
! 13696: shadow_funcs="getpwanam issecure"
! 13697: ;;
! 13698: *-*-solaris2*)
! 13699: # To get the crypt(3) prototype (so we pass -Wall)
! 13700: OSDEFS="${OSDEFS} -D__EXTENSIONS__"
! 13701: # AFS support needs -lucb
! 13702: if test "$with_AFS" = "yes"; then
! 13703: AFS_LIBS="-lc -lucb"
! 13704: fi
! 13705: : ${mansectsu='1m'}
! 13706: : ${mansectform='4'}
! 13707: : ${with_rpath='yes'}
! 13708: test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
! 13709: for ac_func in priv_set
! 13710: do :
! 13711: ac_fn_c_check_func "$LINENO" "priv_set" "ac_cv_func_priv_set"
! 13712: if test "x$ac_cv_func_priv_set" = xyes; then :
! 13713: cat >>confdefs.h <<_ACEOF
! 13714: #define HAVE_PRIV_SET 1
! 13715: _ACEOF
! 13716:
! 13717: fi
! 13718: done
! 13719:
! 13720: ;;
! 13721: *-*-aix*)
! 13722: # To get all prototypes (so we pass -Wall)
! 13723: OSDEFS="${OSDEFS} -D_ALL_SOURCE -D_LINUX_SOURCE_COMPAT"
! 13724: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -Wl,-bI:\$(srcdir)/aixcrypt.exp"
! 13725: if test X"$with_blibpath" != X"no"; then
! 13726: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker accepts -Wl,-blibpath" >&5
! 13727: $as_echo_n "checking if linker accepts -Wl,-blibpath... " >&6; }
! 13728: O_LDFLAGS="$LDFLAGS"
! 13729: LDFLAGS="$O_LDFLAGS -Wl,-blibpath:/usr/lib:/lib"
! 13730: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13731: /* end confdefs.h. */
! 13732:
! 13733: int
! 13734: main ()
! 13735: {
! 13736:
! 13737: ;
! 13738: return 0;
! 13739: }
! 13740: _ACEOF
! 13741: if ac_fn_c_try_link "$LINENO"; then :
! 13742:
! 13743: if test -n "$with_blibpath" -a "$with_blibpath" != "yes"; then
! 13744: blibpath="$with_blibpath"
! 13745: elif test -n "$GCC"; then
! 13746: blibpath="/usr/lib:/lib:/usr/local/lib"
! 13747: else
! 13748: blibpath="/usr/lib:/lib"
! 13749: fi
! 13750: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 13751: $as_echo "yes" >&6; }
! 13752:
! 13753: else
! 13754: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13755: $as_echo "no" >&6; }
! 13756: fi
! 13757: rm -f core conftest.err conftest.$ac_objext \
! 13758: conftest$ac_exeext conftest.$ac_ext
! 13759: fi
! 13760: LDFLAGS="$O_LDFLAGS"
! 13761:
! 13762: # On AIX 6 and higher default to PAM, else default to LAM
! 13763: if test $OSMAJOR -ge 6; then
! 13764: if test X"$with_pam" = X""; then
! 13765: AUTH_EXCL_DEF="PAM"
! 13766: fi
! 13767: else
! 13768: if test X"$with_aixauth" = X""; then
! 13769: for ac_func in authenticate
! 13770: do :
! 13771: ac_fn_c_check_func "$LINENO" "authenticate" "ac_cv_func_authenticate"
! 13772: if test "x$ac_cv_func_authenticate" = xyes; then :
! 13773: cat >>confdefs.h <<_ACEOF
! 13774: #define HAVE_AUTHENTICATE 1
! 13775: _ACEOF
! 13776: AUTH_EXCL_DEF="AIX_AUTH"
! 13777: fi
! 13778: done
! 13779:
! 13780: fi
! 13781: fi
! 13782:
! 13783: # AIX analog of nsswitch.conf, enabled by default
! 13784:
! 13785: # Check whether --with-netsvc was given.
! 13786: if test "${with_netsvc+set}" = set; then :
! 13787: withval=$with_netsvc; case $with_netsvc in
! 13788: no) ;;
! 13789: yes) with_netsvc="/etc/netsvc.conf"
! 13790: ;;
! 13791: *) ;;
! 13792: esac
! 13793: fi
! 13794:
! 13795: if test -z "$with_nsswitch" -a -z "$with_netsvc"; then
! 13796: with_netsvc="/etc/netsvc.conf"
! 13797: fi
! 13798:
! 13799: # For implementing getgrouplist()
! 13800: for ac_func in getgrset
! 13801: do :
! 13802: ac_fn_c_check_func "$LINENO" "getgrset" "ac_cv_func_getgrset"
! 13803: if test "x$ac_cv_func_getgrset" = xyes; then :
! 13804: cat >>confdefs.h <<_ACEOF
! 13805: #define HAVE_GETGRSET 1
! 13806: _ACEOF
! 13807:
! 13808: fi
! 13809: done
! 13810:
! 13811:
! 13812: # LDR_PRELOAD is only supported in AIX 5.3 and later
! 13813: if test $OSMAJOR -lt 5; then
! 13814: with_noexec=no
! 13815: fi
! 13816:
! 13817: # AIX-specific functions
! 13818: for ac_func in getuserattr setauthdb
! 13819: do :
! 13820: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 13821: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 13822: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 13823: cat >>confdefs.h <<_ACEOF
! 13824: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 13825: _ACEOF
! 13826:
! 13827: fi
! 13828: done
! 13829:
! 13830: COMMON_OBJS="$COMMON_OBJS aix.lo"
! 13831: ;;
! 13832: *-*-hiuxmpp*)
! 13833: : ${mansectsu='1m'}
! 13834: : ${mansectform='4'}
! 13835: ;;
! 13836: *-*-hpux*)
! 13837: # AFS support needs -lBSD
! 13838: if test "$with_AFS" = "yes"; then
! 13839: AFS_LIBS="-lc -lBSD"
! 13840: fi
! 13841: : ${mansectsu='1m'}
! 13842: : ${mansectform='4'}
! 13843:
! 13844: # The HP bundled compiler cannot generate shared libs
! 13845: if test -z "$GCC"; then
! 13846: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP bundled C compiler" >&5
! 13847: $as_echo_n "checking for HP bundled C compiler... " >&6; }
! 13848: if ${sudo_cv_var_hpccbundled+:} false; then :
! 13849: $as_echo_n "(cached) " >&6
! 13850: else
! 13851: if $CC -V 2>&1 | grep '^(Bundled)' >/dev/null 2>&1; then
! 13852: sudo_cv_var_hpccbundled=yes
! 13853: else
! 13854: sudo_cv_var_hpccbundled=no
! 13855: fi
! 13856:
! 13857: fi
! 13858: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_hpccbundled" >&5
! 13859: $as_echo "$sudo_cv_var_hpccbundled" >&6; }
! 13860: if test "$sudo_cv_var_hpccbundled" = "yes"; then
! 13861: as_fn_error $? "The HP bundled C compiler is unable to build Sudo, you must use gcc or the HP ANSI C compiler instead." "$LINENO" 5
! 13862: fi
! 13863: fi
! 13864:
! 13865: # Build PA-RISC1.1 objects for better portability
! 13866: case "$host_cpu" in
! 13867: hppa[2-9]*)
! 13868: _CFLAGS="$CFLAGS"
! 13869: if test -n "$GCC"; then
! 13870: portable_flag="-march=1.1"
! 13871: else
! 13872: portable_flag="+DAportable"
! 13873: fi
! 13874: CFLAGS="$CFLAGS $portable_flag"
! 13875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $portable_flag" >&5
! 13876: $as_echo_n "checking whether $CC understands $portable_flag... " >&6; }
! 13877: if ${sudo_cv_var_daportable+:} false; then :
! 13878: $as_echo_n "(cached) " >&6
! 13879: else
! 13880: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13881: /* end confdefs.h. */
! 13882:
! 13883: int
! 13884: main ()
! 13885: {
! 13886:
! 13887: ;
! 13888: return 0;
! 13889: }
! 13890: _ACEOF
! 13891: if ac_fn_c_try_link "$LINENO"; then :
! 13892: sudo_cv_var_daportable=yes
! 13893: else
! 13894: sudo_cv_var_daportable=no
! 13895:
! 13896: fi
! 13897: rm -f core conftest.err conftest.$ac_objext \
! 13898: conftest$ac_exeext conftest.$ac_ext
! 13899:
! 13900:
! 13901: fi
! 13902: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_daportable" >&5
! 13903: $as_echo "$sudo_cv_var_daportable" >&6; }
! 13904: if test X"$sudo_cv_var_daportable" != X"yes"; then
! 13905: CFLAGS="$_CFLAGS"
! 13906: fi
! 13907: ;;
! 13908: esac
! 13909:
! 13910: case "$host" in
! 13911: *-*-hpux[1-8].*)
! 13912: $as_echo "#define BROKEN_SYSLOG 1" >>confdefs.h
! 13913:
! 13914: ;;
! 13915: *-*-hpux9.*)
! 13916: $as_echo "#define BROKEN_SYSLOG 1" >>confdefs.h
! 13917:
! 13918:
! 13919: shadow_funcs="getspwuid"
! 13920:
! 13921: # DCE support (requires ANSI C compiler)
! 13922: if test "$with_DCE" = "yes"; then
! 13923: # order of libs in 9.X is important. -lc_r must be last
! 13924: SUDOERS_LIBS="${SUDOERS_LIBS} -ldce -lM -lc_r"
! 13925: LIBS="${LIBS} -ldce -lM -lc_r"
! 13926: CPPFLAGS="${CPPFLAGS} -D_REENTRANT -I/usr/include/reentrant"
! 13927: fi
! 13928: ;;
! 13929: *-*-hpux10.*)
! 13930: shadow_funcs="getprpwnam iscomsec"
! 13931: shadow_libs="-lsec"
! 13932: # HP-UX 10.20 libc has an incompatible getline
! 13933: ac_cv_func_getline="no"
! 13934: ;;
! 13935: *)
! 13936: shadow_funcs="getspnam iscomsec"
! 13937: shadow_libs="-lsec"
! 13938: test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
! 13939: ;;
! 13940: esac
! 13941: ;;
! 13942: *-dec-osf*)
! 13943: # ignore envariables wrt dynamic lib path
! 13944: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -Wl,-no_library_replacement"
! 13945:
! 13946: : ${CHECKSIA='true'}
! 13947: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable sia support on Digital UNIX" >&5
! 13948: $as_echo_n "checking whether to disable sia support on Digital UNIX... " >&6; }
! 13949: # Check whether --enable-sia was given.
! 13950: if test "${enable_sia+set}" = set; then :
! 13951: enableval=$enable_sia; case "$enableval" in
! 13952: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13953: $as_echo "no" >&6; }
! 13954: CHECKSIA=true
! 13955: ;;
! 13956: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 13957: $as_echo "yes" >&6; }
! 13958: CHECKSIA=false
! 13959: ;;
! 13960: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13961: $as_echo "no" >&6; }
! 13962: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-sia: $enableval" >&5
! 13963: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-sia: $enableval" >&2;}
! 13964: ;;
! 13965: esac
! 13966:
! 13967: else
! 13968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13969: $as_echo "no" >&6; }
! 13970: fi
! 13971:
! 13972:
! 13973: shadow_funcs="getprpwnam dispcrypt"
! 13974: # OSF/1 4.x and higher need -ldb too
! 13975: if test $OSMAJOR -lt 4; then
! 13976: shadow_libs="-lsecurity -laud -lm"
! 13977: else
! 13978: shadow_libs="-lsecurity -ldb -laud -lm"
! 13979: fi
! 13980:
! 13981: # use SIA by default, if we have it
! 13982: test "$CHECKSIA" = "true" && AUTH_EXCL_DEF="SIA"
! 13983:
! 13984: #
! 13985: # Some versions of Digital Unix ship with a broken
! 13986: # copy of prot.h, which we need for shadow passwords.
! 13987: # XXX - make should remove this as part of distclean
! 13988: #
! 13989: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken prot.h" >&5
! 13990: $as_echo_n "checking for broken prot.h... " >&6; }
! 13991: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 13992: /* end confdefs.h. */
! 13993:
! 13994: #include <sys/types.h>
! 13995: #include <sys/security.h>
! 13996: #include <prot.h>
! 13997:
! 13998: int
! 13999: main ()
! 14000: {
! 14001: exit(0);
! 14002: ;
! 14003: return 0;
! 14004: }
! 14005: _ACEOF
! 14006: if ac_fn_c_try_compile "$LINENO"; then :
! 14007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 14008: $as_echo "no" >&6; }
! 14009: else
! 14010: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, fixing locally" >&5
! 14011: $as_echo "yes, fixing locally" >&6; }
! 14012: sed 's:<acl.h>:<sys/acl.h>:g' < /usr/include/prot.h > prot.h
! 14013:
! 14014: fi
! 14015: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 14016: : ${mansectsu='8'}
! 14017: : ${mansectform='4'}
! 14018: ;;
! 14019: *-*-irix*)
! 14020: OSDEFS="${OSDEFS} -D_BSD_TYPES"
! 14021: if test -z "$NROFFPROG"; then
! 14022: MAN_POSTINSTALL=' /bin/rm -f $(mandirsu)/sudo.$(mansectsu).z $(mandirsu)/visudo.$(mansectsu).z $(mandirform)/sudoers.$(mansectform).z ; /usr/bin/pack $(mandirsu)/sudo.$(mansectsu) $(mandirsu)/visudo.$(mansectsu) $(mandirform)/sudoers.$(mansectform)'
! 14023: if test "$prefix" = "/usr/local" -a "$mandir" = '${datarootdir}/man'; then
! 14024: if test -d /usr/share/catman/local; then
! 14025: mandir="/usr/share/catman/local"
! 14026: else
! 14027: mandir="/usr/catman/local"
! 14028: fi
! 14029: fi
! 14030: else
! 14031: if test "$prefix" = "/usr/local" -a "$mandir" = '${datarootdir}/man'; then
! 14032: if test -d "/usr/share/man/local"; then
! 14033: mandir="/usr/share/man/local"
! 14034: else
! 14035: mandir="/usr/man/local"
! 14036: fi
! 14037: fi
! 14038: fi
! 14039: # IRIX <= 4 needs -lsun
! 14040: if test "$OSMAJOR" -le 4; then
! 14041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5
! 14042: $as_echo_n "checking for getpwnam in -lsun... " >&6; }
! 14043: if ${ac_cv_lib_sun_getpwnam+:} false; then :
! 14044: $as_echo_n "(cached) " >&6
! 14045: else
! 14046: ac_check_lib_save_LIBS=$LIBS
! 14047: LIBS="-lsun $LIBS"
! 14048: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14049: /* end confdefs.h. */
! 14050:
! 14051: /* Override any GCC internal prototype to avoid an error.
! 14052: Use char because int might match the return type of a GCC
! 14053: builtin and then its argument prototype would still apply. */
! 14054: #ifdef __cplusplus
! 14055: extern "C"
! 14056: #endif
! 14057: char getpwnam ();
! 14058: int
! 14059: main ()
! 14060: {
! 14061: return getpwnam ();
! 14062: ;
! 14063: return 0;
! 14064: }
! 14065: _ACEOF
! 14066: if ac_fn_c_try_link "$LINENO"; then :
! 14067: ac_cv_lib_sun_getpwnam=yes
! 14068: else
! 14069: ac_cv_lib_sun_getpwnam=no
! 14070: fi
! 14071: rm -f core conftest.err conftest.$ac_objext \
! 14072: conftest$ac_exeext conftest.$ac_ext
! 14073: LIBS=$ac_check_lib_save_LIBS
! 14074: fi
! 14075: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5
! 14076: $as_echo "$ac_cv_lib_sun_getpwnam" >&6; }
! 14077: if test "x$ac_cv_lib_sun_getpwnam" = xyes; then :
! 14078: LIBS="${LIBS} -lsun"
! 14079: fi
! 14080:
! 14081: fi
! 14082: : ${mansectsu='1m'}
! 14083: : ${mansectform='4'}
! 14084: ;;
! 14085: *-*-linux*|*-*-k*bsd*-gnu)
! 14086: OSDEFS="${OSDEFS} -D_GNU_SOURCE"
! 14087: # Some Linux versions need to link with -lshadow
! 14088: shadow_funcs="getspnam"
! 14089: shadow_libs_optional="-lshadow"
! 14090: test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
! 14091: ;;
! 14092: *-convex-bsd*)
! 14093: OSDEFS="${OSDEFS} -D_CONVEX_SOURCE"
! 14094: if test -z "$GCC"; then
! 14095: CFLAGS="${CFLAGS} -D__STDC__"
! 14096: fi
! 14097:
! 14098: shadow_defs="-D_AUDIT -D_ACL -DSecureWare"
! 14099: shadow_funcs="getprpwnam"
! 14100: shadow_libs="-lprot"
! 14101: ;;
! 14102: *-*-ultrix*)
! 14103: OS="ultrix"
! 14104: shadow_funcs="getauthuid"
! 14105: shadow_libs="-lauth"
! 14106: ;;
! 14107: *-*-riscos*)
! 14108: LIBS="${LIBS} -lsun -lbsd"
! 14109: CPPFLAGS="${CPPFLAGS} -I/usr/include -I/usr/include/bsd"
! 14110: OSDEFS="${OSDEFS} -D_MIPS"
! 14111: : ${mansectsu='1m'}
! 14112: : ${mansectform='4'}
! 14113: ;;
! 14114: *-*-isc*)
! 14115: OSDEFS="${OSDEFS} -D_ISC"
! 14116: LIB_CRYPT=1
! 14117: SUDOERS_LIBS="${SUDOERS_LIBS} -lcrypt"
! 14118:
! 14119: shadow_funcs="getspnam"
! 14120: shadow_libs="-lsec"
! 14121:
! 14122: : ${mansectsu='1m'}
! 14123: : ${mansectform='4'}
! 14124: ;;
! 14125: *-*-sco*|*-sco-*)
! 14126: shadow_funcs="getprpwnam"
! 14127: shadow_libs="-lprot -lx"
! 14128: : ${mansectsu='1m'}
! 14129: : ${mansectform='4'}
! 14130: ;;
! 14131: m88k-motorola-sysv*)
! 14132: # motorolla's cc (a variant of gcc) does -O but not -O2
! 14133: CFLAGS=`echo $CFLAGS | sed 's/-O2/-O/g'`
! 14134: : ${mansectsu='1m'}
! 14135: : ${mansectform='4'}
! 14136: ;;
! 14137: *-sequent-sysv*)
! 14138: shadow_funcs="getspnam"
! 14139: shadow_libs="-lsec"
! 14140: : ${mansectsu='1m'}
! 14141: : ${mansectform='4'}
! 14142: : ${with_rpath='yes'}
! 14143: ;;
! 14144: *-ncr-sysv4*|*-ncr-sysvr4*)
! 14145: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp in -lc89" >&5
! 14146: $as_echo_n "checking for strcasecmp in -lc89... " >&6; }
! 14147: if ${ac_cv_lib_c89_strcasecmp+:} false; then :
! 14148: $as_echo_n "(cached) " >&6
! 14149: else
! 14150: ac_check_lib_save_LIBS=$LIBS
! 14151: LIBS="-lc89 $LIBS"
! 14152: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14153: /* end confdefs.h. */
! 14154:
! 14155: /* Override any GCC internal prototype to avoid an error.
! 14156: Use char because int might match the return type of a GCC
! 14157: builtin and then its argument prototype would still apply. */
! 14158: #ifdef __cplusplus
! 14159: extern "C"
! 14160: #endif
! 14161: char strcasecmp ();
! 14162: int
! 14163: main ()
! 14164: {
! 14165: return strcasecmp ();
! 14166: ;
! 14167: return 0;
! 14168: }
! 14169: _ACEOF
! 14170: if ac_fn_c_try_link "$LINENO"; then :
! 14171: ac_cv_lib_c89_strcasecmp=yes
! 14172: else
! 14173: ac_cv_lib_c89_strcasecmp=no
! 14174: fi
! 14175: rm -f core conftest.err conftest.$ac_objext \
! 14176: conftest$ac_exeext conftest.$ac_ext
! 14177: LIBS=$ac_check_lib_save_LIBS
! 14178: fi
! 14179: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c89_strcasecmp" >&5
! 14180: $as_echo "$ac_cv_lib_c89_strcasecmp" >&6; }
! 14181: if test "x$ac_cv_lib_c89_strcasecmp" = xyes; then :
! 14182: LIBS="${LIBS} -lc89"
! 14183: fi
! 14184:
! 14185: : ${mansectsu='1m'}
! 14186: : ${mansectform='4'}
! 14187: : ${with_rpath='yes'}
! 14188: ;;
! 14189: *-ccur-sysv4*|*-ccur-sysvr4*)
! 14190: LIBS="${LIBS} -lgen"
! 14191: : ${mansectsu='1m'}
! 14192: : ${mansectform='4'}
! 14193: : ${with_rpath='yes'}
! 14194: ;;
! 14195: *-*-bsdi*)
! 14196: SKIP_SETREUID=yes
! 14197: # Check for newer BSD auth API
! 14198: if test -z "$with_bsdauth"; then
! 14199: for ac_func in auth_challenge
! 14200: do :
! 14201: ac_fn_c_check_func "$LINENO" "auth_challenge" "ac_cv_func_auth_challenge"
! 14202: if test "x$ac_cv_func_auth_challenge" = xyes; then :
! 14203: cat >>confdefs.h <<_ACEOF
! 14204: #define HAVE_AUTH_CHALLENGE 1
! 14205: _ACEOF
! 14206: AUTH_EXCL_DEF="BSD_AUTH"
! 14207: fi
! 14208: done
! 14209:
! 14210: fi
! 14211: ;;
! 14212: *-*-freebsd*)
! 14213: # FreeBSD has a real setreuid(2) starting with 2.1 and
! 14214: # backported to 2.0.5. We just take 2.1 and above...
! 14215: case "$OSREV" in
! 14216: 0.*|1.*|2.0*)
! 14217: SKIP_SETREUID=yes
! 14218: ;;
! 14219: esac
! 14220: OSDEFS="${OSDEFS} -D_BSD_SOURCE"
! 14221: if test "${with_skey-'no'}" = "yes"; then
! 14222: SUDOERS_LIBS="${SUDOERS_LIBS} -lmd"
! 14223: fi
! 14224: CHECKSHADOW="false"
! 14225: test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
! 14226: : ${with_logincap='maybe'}
! 14227: ;;
! 14228: *-*-*openbsd*)
! 14229: # OpenBSD has a real setreuid(2) starting with 3.3 but
! 14230: # we will use setresuid(2) instead.
! 14231: SKIP_SETREUID=yes
! 14232: OSDEFS="${OSDEFS} -D_BSD_SOURCE"
! 14233: CHECKSHADOW="false"
! 14234: # OpenBSD >= 3.0 supports BSD auth
! 14235: if test -z "$with_bsdauth"; then
! 14236: if test "$OSMAJOR" -ge 3; then
! 14237: AUTH_EXCL_DEF="BSD_AUTH"
! 14238: fi
! 14239: fi
! 14240: : ${with_logincap='maybe'}
! 14241: ;;
! 14242: *-*-*netbsd*)
! 14243: # NetBSD has a real setreuid(2) starting with 1.3.2
! 14244: case "$OSREV" in
! 14245: 0.9*|1.[012]*|1.3|1.3.1)
! 14246: SKIP_SETREUID=yes
! 14247: ;;
! 14248: esac
! 14249: CHECKSHADOW="false"
! 14250: test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
! 14251: : ${with_logincap='maybe'}
! 14252: ;;
! 14253: *-*-dragonfly*)
! 14254: OSDEFS="${OSDEFS} -D_BSD_SOURCE"
! 14255: if test "${with_skey-'no'}" = "yes"; then
! 14256: SUDOERS_LIBS="${SUDOERS_LIBS} -lmd"
! 14257: fi
! 14258: CHECKSHADOW="false"
! 14259: test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
! 14260: : ${with_logincap='yes'}
! 14261: ;;
! 14262: *-*-*bsd*)
! 14263: CHECKSHADOW="false"
! 14264: ;;
! 14265: *-*-darwin*)
! 14266: # Darwin has a real setreuid(2) starting with 9.0
! 14267: if test $OSMAJOR -lt 9; then
! 14268: SKIP_SETREUID=yes
! 14269: fi
! 14270: CHECKSHADOW="false"
! 14271: test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
! 14272: : ${with_logincap='yes'}
! 14273: ;;
! 14274: *-*-nextstep*)
! 14275: # lockf() on is broken on the NeXT -- use flock instead
! 14276: ac_cv_func_lockf=no
! 14277: ac_cv_func_flock=yes
! 14278: ;;
! 14279: *-*-*sysv4*)
! 14280: : ${mansectsu='1m'}
! 14281: : ${mansectform='4'}
! 14282: : ${with_rpath='yes'}
! 14283: ;;
! 14284: *-*-sysv*)
! 14285: : ${mansectsu='1m'}
! 14286: : ${mansectform='4'}
! 14287: ;;
! 14288: *-gnu*)
! 14289: OSDEFS="${OSDEFS} -D_GNU_SOURCE"
! 14290: ;;
! 14291: esac
! 14292:
! 14293: AUTH_REG=${AUTH_REG# }
! 14294: AUTH_EXCL=${AUTH_EXCL# }
! 14295: if test -n "$AUTH_EXCL"; then
! 14296: set -- $AUTH_EXCL
! 14297: if test $# != 1; then
! 14298: as_fn_error $? "More than one mutually exclusive authentication method specified: $AUTH_EXCL" "$LINENO" 5
! 14299: fi
! 14300: if test -n "$AUTH_REG"; then
! 14301: as_fn_error $? "Cannot mix mutually exclusive ($AUTH_EXCL) and regular ($AUTH_REG) authentication methods" "$LINENO" 5
! 14302: fi
! 14303: fi
! 14304: if test X"${with_skey}${with_opie}" = X"yesyes"; then
! 14305: as_fn_error $? "\"cannot use both S/Key and OPIE\"" "$LINENO" 5
! 14306: fi
! 14307:
! 14308: : ${mansectsu='8'}
! 14309: : ${mansectform='5'}
! 14310:
! 14311: if test -n "$with_libpath"; then
! 14312: for i in ${with_libpath}; do
! 14313:
! 14314: if test X"$with_rpath" = X"yes"; then
! 14315: case "$host" in
! 14316: *-*-hpux*) LDFLAGS="${LDFLAGS} -L$i -Wl,+b,$i"
! 14317: ;;
! 14318: *) LDFLAGS="${LDFLAGS} -L$i -Wl,-R$i"
! 14319: ;;
! 14320: esac
! 14321: else
! 14322: LDFLAGS="${LDFLAGS} -L$i"
! 14323: fi
! 14324: if test X"$blibpath" != X"" -a "LDFLAGS" = "SUDO_LDFLAGS"; then
! 14325: blibpath_add="${blibpath_add}:$i"
! 14326: fi
! 14327:
! 14328: done
! 14329: fi
! 14330: if test -n "$with_libraries"; then
! 14331: for i in ${with_libraries}; do
! 14332: case $i in
! 14333: -l*) ;;
! 14334: *.a) ;;
! 14335: *.o) ;;
! 14336: *) i="-l${i}";;
! 14337: esac
! 14338: LIBS="${LIBS} ${i}"
! 14339: done
! 14340: fi
! 14341:
! 14342: if test $ac_cv_c_compiler_gnu = yes; then
! 14343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
! 14344: $as_echo_n "checking whether $CC needs -traditional... " >&6; }
! 14345: if ${ac_cv_prog_gcc_traditional+:} false; then :
! 14346: $as_echo_n "(cached) " >&6
! 14347: else
! 14348: ac_pattern="Autoconf.*'x'"
! 14349: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14350: /* end confdefs.h. */
! 14351: #include <sgtty.h>
! 14352: Autoconf TIOCGETP
! 14353: _ACEOF
! 14354: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 14355: $EGREP "$ac_pattern" >/dev/null 2>&1; then :
! 14356: ac_cv_prog_gcc_traditional=yes
! 14357: else
! 14358: ac_cv_prog_gcc_traditional=no
! 14359: fi
! 14360: rm -f conftest*
! 14361:
! 14362:
! 14363: if test $ac_cv_prog_gcc_traditional = no; then
! 14364: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14365: /* end confdefs.h. */
! 14366: #include <termio.h>
! 14367: Autoconf TCGETA
! 14368: _ACEOF
! 14369: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 14370: $EGREP "$ac_pattern" >/dev/null 2>&1; then :
! 14371: ac_cv_prog_gcc_traditional=yes
! 14372: fi
! 14373: rm -f conftest*
! 14374:
! 14375: fi
! 14376: fi
! 14377: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
! 14378: $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
! 14379: if test $ac_cv_prog_gcc_traditional = yes; then
! 14380: CC="$CC -traditional"
! 14381: fi
! 14382: fi
! 14383:
! 14384: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
! 14385: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
! 14386: if ${ac_cv_c_const+:} false; then :
! 14387: $as_echo_n "(cached) " >&6
! 14388: else
! 14389: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14390: /* end confdefs.h. */
! 14391:
! 14392: int
! 14393: main ()
! 14394: {
! 14395: /* FIXME: Include the comments suggested by Paul. */
! 14396: #ifndef __cplusplus
! 14397: /* Ultrix mips cc rejects this. */
! 14398: typedef int charset[2];
! 14399: const charset cs;
! 14400: /* SunOS 4.1.1 cc rejects this. */
! 14401: char const *const *pcpcc;
! 14402: char **ppc;
! 14403: /* NEC SVR4.0.2 mips cc rejects this. */
! 14404: struct point {int x, y;};
! 14405: static struct point const zero = {0,0};
! 14406: /* AIX XL C 1.02.0.0 rejects this.
! 14407: It does not let you subtract one const X* pointer from another in
! 14408: an arm of an if-expression whose if-part is not a constant
! 14409: expression */
! 14410: const char *g = "string";
! 14411: pcpcc = &g + (g ? g-g : 0);
! 14412: /* HPUX 7.0 cc rejects these. */
! 14413: ++pcpcc;
! 14414: ppc = (char**) pcpcc;
! 14415: pcpcc = (char const *const *) ppc;
! 14416: { /* SCO 3.2v4 cc rejects this. */
! 14417: char *t;
! 14418: char const *s = 0 ? (char *) 0 : (char const *) 0;
! 14419:
! 14420: *t++ = 0;
! 14421: if (s) return 0;
! 14422: }
! 14423: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! 14424: int x[] = {25, 17};
! 14425: const int *foo = &x[0];
! 14426: ++foo;
! 14427: }
! 14428: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! 14429: typedef const int *iptr;
! 14430: iptr p = 0;
! 14431: ++p;
! 14432: }
! 14433: { /* AIX XL C 1.02.0.0 rejects this saying
! 14434: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! 14435: struct s { int j; const int *ap[3]; };
! 14436: struct s *b; b->j = 5;
! 14437: }
! 14438: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! 14439: const int foo = 10;
! 14440: if (!foo) return 0;
! 14441: }
! 14442: return !cs[0] && !zero.x;
! 14443: #endif
! 14444:
! 14445: ;
! 14446: return 0;
! 14447: }
! 14448: _ACEOF
! 14449: if ac_fn_c_try_compile "$LINENO"; then :
! 14450: ac_cv_c_const=yes
! 14451: else
! 14452: ac_cv_c_const=no
! 14453: fi
! 14454: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 14455: fi
! 14456: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
! 14457: $as_echo "$ac_cv_c_const" >&6; }
! 14458: if test $ac_cv_c_const = no; then
! 14459:
! 14460: $as_echo "#define const /**/" >>confdefs.h
! 14461:
! 14462: fi
! 14463:
! 14464: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
! 14465: $as_echo_n "checking for working volatile... " >&6; }
! 14466: if ${ac_cv_c_volatile+:} false; then :
! 14467: $as_echo_n "(cached) " >&6
! 14468: else
! 14469: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14470: /* end confdefs.h. */
! 14471:
! 14472: int
! 14473: main ()
! 14474: {
! 14475:
! 14476: volatile int x;
! 14477: int * volatile y = (int *) 0;
! 14478: return !x && !y;
! 14479: ;
! 14480: return 0;
! 14481: }
! 14482: _ACEOF
! 14483: if ac_fn_c_try_compile "$LINENO"; then :
! 14484: ac_cv_c_volatile=yes
! 14485: else
! 14486: ac_cv_c_volatile=no
! 14487: fi
! 14488: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 14489: fi
! 14490: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
! 14491: $as_echo "$ac_cv_c_volatile" >&6; }
! 14492: if test $ac_cv_c_volatile = no; then
! 14493:
! 14494: $as_echo "#define volatile /**/" >>confdefs.h
! 14495:
! 14496: fi
! 14497:
! 14498: if test X"$with_gnu_ld" != "yes" -a -n "$GCC"; then
! 14499: _CFLAGS="$CFLAGS"
! 14500: CFLAGS="$CFLAGS -static-libgcc"
! 14501: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -static-libgcc" >&5
! 14502: $as_echo_n "checking whether $CC understands -static-libgcc... " >&6; }
! 14503: if ${sudo_cv_var_gcc_static_libgcc+:} false; then :
! 14504: $as_echo_n "(cached) " >&6
! 14505: else
! 14506: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14507: /* end confdefs.h. */
! 14508:
! 14509: int
! 14510: main ()
! 14511: {
! 14512:
! 14513: ;
! 14514: return 0;
! 14515: }
! 14516: _ACEOF
! 14517: if ac_fn_c_try_link "$LINENO"; then :
! 14518: sudo_cv_var_gcc_static_libgcc=yes
! 14519: else
! 14520: sudo_cv_var_gcc_static_libgcc=no
! 14521:
! 14522: fi
! 14523: rm -f core conftest.err conftest.$ac_objext \
! 14524: conftest$ac_exeext conftest.$ac_ext
! 14525:
! 14526:
! 14527: fi
! 14528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_var_gcc_static_libgcc" >&5
! 14529: $as_echo "$sudo_cv_var_gcc_static_libgcc" >&6; }
! 14530: CFLAGS="$_CFLAGS"
! 14531: if test "$sudo_cv_var_gcc_static_libgcc" = "yes"; then
! 14532: LTLDFLAGS="$LTLDFLAGS -Wc,-static-libgcc"
! 14533: fi
! 14534: fi
! 14535: for ac_prog in 'bison -y' byacc
! 14536: do
! 14537: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 14538: set dummy $ac_prog; ac_word=$2
! 14539: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 14540: $as_echo_n "checking for $ac_word... " >&6; }
! 14541: if ${ac_cv_prog_YACC+:} false; then :
! 14542: $as_echo_n "(cached) " >&6
! 14543: else
! 14544: if test -n "$YACC"; then
! 14545: ac_cv_prog_YACC="$YACC" # Let the user override the test.
! 14546: else
! 14547: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 14548: for as_dir in $PATH
! 14549: do
! 14550: IFS=$as_save_IFS
! 14551: test -z "$as_dir" && as_dir=.
! 14552: for ac_exec_ext in '' $ac_executable_extensions; do
! 14553: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 14554: ac_cv_prog_YACC="$ac_prog"
! 14555: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 14556: break 2
! 14557: fi
! 14558: done
! 14559: done
! 14560: IFS=$as_save_IFS
! 14561:
! 14562: fi
! 14563: fi
! 14564: YACC=$ac_cv_prog_YACC
! 14565: if test -n "$YACC"; then
! 14566: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
! 14567: $as_echo "$YACC" >&6; }
! 14568: else
! 14569: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 14570: $as_echo "no" >&6; }
! 14571: fi
! 14572:
! 14573:
! 14574: test -n "$YACC" && break
! 14575: done
! 14576: test -n "$YACC" || YACC="yacc"
! 14577:
! 14578: # Extract the first word of "flex", so it can be a program name with args.
! 14579: set dummy flex; ac_word=$2
! 14580: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 14581: $as_echo_n "checking for $ac_word... " >&6; }
! 14582: if ${ac_cv_path_FLEX+:} false; then :
! 14583: $as_echo_n "(cached) " >&6
! 14584: else
! 14585: case $FLEX in
! 14586: [\\/]* | ?:[\\/]*)
! 14587: ac_cv_path_FLEX="$FLEX" # Let the user override the test with a path.
! 14588: ;;
! 14589: *)
! 14590: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 14591: for as_dir in $PATH
! 14592: do
! 14593: IFS=$as_save_IFS
! 14594: test -z "$as_dir" && as_dir=.
! 14595: for ac_exec_ext in '' $ac_executable_extensions; do
! 14596: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 14597: ac_cv_path_FLEX="$as_dir/$ac_word$ac_exec_ext"
! 14598: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 14599: break 2
! 14600: fi
! 14601: done
! 14602: done
! 14603: IFS=$as_save_IFS
! 14604:
! 14605: test -z "$ac_cv_path_FLEX" && ac_cv_path_FLEX="flex"
! 14606: ;;
! 14607: esac
! 14608: fi
! 14609: FLEX=$ac_cv_path_FLEX
! 14610: if test -n "$FLEX"; then
! 14611: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
! 14612: $as_echo "$FLEX" >&6; }
! 14613: else
! 14614: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 14615: $as_echo "no" >&6; }
! 14616: fi
! 14617:
! 14618:
! 14619: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mv" >&5
! 14620: $as_echo_n "checking for mv... " >&6; }
! 14621: found=no
! 14622: for p in "/usr/bin/mv" "/bin/mv" "/usr/ucb/mv" "/usr/sbin/mv"; do
! 14623: if test -f "$p"; then
! 14624: found=yes
! 14625: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $p" >&5
! 14626: $as_echo "$p" >&6; }
! 14627: cat >>confdefs.h <<EOF
! 14628: #define _PATH_MV "$p"
! 14629: EOF
! 14630:
! 14631: break
! 14632: fi
! 14633: done
! 14634: if test X"$found" != X"yes"; then
! 14635: { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
! 14636: $as_echo "not found" >&6; }
! 14637: fi
! 14638:
! 14639: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bourne shell" >&5
! 14640: $as_echo_n "checking for bourne shell... " >&6; }
! 14641: found=no
! 14642: for p in "/bin/sh" "/usr/bin/sh" "/sbin/sh" "/usr/sbin/sh" "/bin/ksh" "/usr/bin/ksh" "/bin/bash" "/usr/bin/bash"; do
! 14643: if test -f "$p"; then
! 14644: found=yes
! 14645: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $p" >&5
! 14646: $as_echo "$p" >&6; }
! 14647: cat >>confdefs.h <<EOF
! 14648: #define _PATH_BSHELL "$p"
! 14649: EOF
! 14650:
! 14651: break
! 14652: fi
! 14653: done
! 14654: if test X"$found" != X"yes"; then
! 14655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
! 14656: $as_echo "not found" >&6; }
! 14657: fi
! 14658:
! 14659: if test -z "$with_sendmail"; then
! 14660: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendmail" >&5
! 14661: $as_echo_n "checking for sendmail... " >&6; }
! 14662: found=no
! 14663: for p in "/usr/sbin/sendmail" "/usr/lib/sendmail" "/usr/etc/sendmail" "/usr/ucblib/sendmail" "/usr/local/lib/sendmail" "/usr/local/bin/sendmail"; do
! 14664: if test -f "$p"; then
! 14665: found=yes
! 14666: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $p" >&5
! 14667: $as_echo "$p" >&6; }
! 14668: cat >>confdefs.h <<EOF
! 14669: #define _PATH_SUDO_SENDMAIL "$p"
! 14670: EOF
! 14671:
! 14672: break
! 14673: fi
! 14674: done
! 14675: if test X"$found" != X"yes"; then
! 14676: { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
! 14677: $as_echo "not found" >&6; }
! 14678: fi
! 14679:
! 14680: fi
! 14681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vi" >&5
! 14682: $as_echo_n "checking for vi... " >&6; }
! 14683: found=no
! 14684: for editor in "/usr/bin/vi" "/bin/vi" "/usr/ucb/vi" "/usr/bsd/vi" "/usr/local/bin/vi"; do
! 14685: if test -f "$editor"; then
! 14686: found=yes
! 14687: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $editor" >&5
! 14688: $as_echo "$editor" >&6; }
! 14689: cat >>confdefs.h <<EOF
! 14690: #define _PATH_VI "$editor"
! 14691: EOF
! 14692:
! 14693: break
! 14694: fi
! 14695: done
! 14696: if test X"$found" != X"yes"; then
! 14697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
! 14698: $as_echo "not found" >&6; }
! 14699: fi
! 14700:
! 14701: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which syslog facility sudo should log with" >&5
! 14702: $as_echo_n "checking which syslog facility sudo should log with... " >&6; }
! 14703: if test X"$with_logfac" = X""; then
! 14704: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14705: /* end confdefs.h. */
! 14706: #include <syslog.h>
! 14707: int
! 14708: main ()
! 14709: {
! 14710: int i = LOG_AUTHPRIV; (void)i;
! 14711: ;
! 14712: return 0;
! 14713: }
! 14714: _ACEOF
! 14715: if ac_fn_c_try_compile "$LINENO"; then :
! 14716: logfac=authpriv
! 14717: fi
! 14718: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 14719: fi
! 14720:
! 14721: cat >>confdefs.h <<_ACEOF
! 14722: #define LOGFAC "$logfac"
! 14723: _ACEOF
! 14724:
! 14725: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $logfac" >&5
! 14726: $as_echo "$logfac" >&6; }
! 14727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
! 14728: $as_echo_n "checking for ANSI C header files... " >&6; }
! 14729: if ${ac_cv_header_stdc+:} false; then :
! 14730: $as_echo_n "(cached) " >&6
! 14731: else
! 14732: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14733: /* end confdefs.h. */
! 14734: #include <stdlib.h>
! 14735: #include <stdarg.h>
! 14736: #include <string.h>
! 14737: #include <float.h>
! 14738:
! 14739: int
! 14740: main ()
! 14741: {
! 14742:
! 14743: ;
! 14744: return 0;
! 14745: }
! 14746: _ACEOF
! 14747: if ac_fn_c_try_compile "$LINENO"; then :
! 14748: ac_cv_header_stdc=yes
! 14749: else
! 14750: ac_cv_header_stdc=no
! 14751: fi
! 14752: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 14753:
! 14754: if test $ac_cv_header_stdc = yes; then
! 14755: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 14756: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14757: /* end confdefs.h. */
! 14758: #include <string.h>
! 14759:
! 14760: _ACEOF
! 14761: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 14762: $EGREP "memchr" >/dev/null 2>&1; then :
! 14763:
! 14764: else
! 14765: ac_cv_header_stdc=no
! 14766: fi
! 14767: rm -f conftest*
! 14768:
! 14769: fi
! 14770:
! 14771: if test $ac_cv_header_stdc = yes; then
! 14772: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 14773: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14774: /* end confdefs.h. */
! 14775: #include <stdlib.h>
! 14776:
! 14777: _ACEOF
! 14778: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 14779: $EGREP "free" >/dev/null 2>&1; then :
! 14780:
! 14781: else
! 14782: ac_cv_header_stdc=no
! 14783: fi
! 14784: rm -f conftest*
! 14785:
! 14786: fi
! 14787:
! 14788: if test $ac_cv_header_stdc = yes; then
! 14789: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 14790: if test "$cross_compiling" = yes; then :
! 14791: :
! 14792: else
! 14793: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14794: /* end confdefs.h. */
! 14795: #include <ctype.h>
! 14796: #include <stdlib.h>
! 14797: #if ((' ' & 0x0FF) == 0x020)
! 14798: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 14799: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 14800: #else
! 14801: # define ISLOWER(c) \
! 14802: (('a' <= (c) && (c) <= 'i') \
! 14803: || ('j' <= (c) && (c) <= 'r') \
! 14804: || ('s' <= (c) && (c) <= 'z'))
! 14805: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 14806: #endif
! 14807:
! 14808: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 14809: int
! 14810: main ()
! 14811: {
! 14812: int i;
! 14813: for (i = 0; i < 256; i++)
! 14814: if (XOR (islower (i), ISLOWER (i))
! 14815: || toupper (i) != TOUPPER (i))
! 14816: return 2;
! 14817: return 0;
! 14818: }
! 14819: _ACEOF
! 14820: if ac_fn_c_try_run "$LINENO"; then :
! 14821:
! 14822: else
! 14823: ac_cv_header_stdc=no
! 14824: fi
! 14825: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 14826: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 14827: fi
! 14828:
! 14829: fi
! 14830: fi
! 14831: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
! 14832: $as_echo "$ac_cv_header_stdc" >&6; }
! 14833: if test $ac_cv_header_stdc = yes; then
! 14834:
! 14835: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
! 14836:
! 14837: fi
! 14838:
! 14839: ac_header_dirent=no
! 14840: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
! 14841: as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
! 14842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
! 14843: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
! 14844: if eval \${$as_ac_Header+:} false; then :
! 14845: $as_echo_n "(cached) " >&6
! 14846: else
! 14847: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14848: /* end confdefs.h. */
! 14849: #include <sys/types.h>
! 14850: #include <$ac_hdr>
! 14851:
! 14852: int
! 14853: main ()
! 14854: {
! 14855: if ((DIR *) 0)
! 14856: return 0;
! 14857: ;
! 14858: return 0;
! 14859: }
! 14860: _ACEOF
! 14861: if ac_fn_c_try_compile "$LINENO"; then :
! 14862: eval "$as_ac_Header=yes"
! 14863: else
! 14864: eval "$as_ac_Header=no"
! 14865: fi
! 14866: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 14867: fi
! 14868: eval ac_res=\$$as_ac_Header
! 14869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 14870: $as_echo "$ac_res" >&6; }
! 14871: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 14872: cat >>confdefs.h <<_ACEOF
! 14873: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
! 14874: _ACEOF
! 14875:
! 14876: ac_header_dirent=$ac_hdr; break
! 14877: fi
! 14878:
! 14879: done
! 14880: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
! 14881: if test $ac_header_dirent = dirent.h; then
! 14882: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
! 14883: $as_echo_n "checking for library containing opendir... " >&6; }
! 14884: if ${ac_cv_search_opendir+:} false; then :
! 14885: $as_echo_n "(cached) " >&6
! 14886: else
! 14887: ac_func_search_save_LIBS=$LIBS
! 14888: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14889: /* end confdefs.h. */
! 14890:
! 14891: /* Override any GCC internal prototype to avoid an error.
! 14892: Use char because int might match the return type of a GCC
! 14893: builtin and then its argument prototype would still apply. */
! 14894: #ifdef __cplusplus
! 14895: extern "C"
! 14896: #endif
! 14897: char opendir ();
! 14898: int
! 14899: main ()
! 14900: {
! 14901: return opendir ();
! 14902: ;
! 14903: return 0;
! 14904: }
! 14905: _ACEOF
! 14906: for ac_lib in '' dir; do
! 14907: if test -z "$ac_lib"; then
! 14908: ac_res="none required"
! 14909: else
! 14910: ac_res=-l$ac_lib
! 14911: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 14912: fi
! 14913: if ac_fn_c_try_link "$LINENO"; then :
! 14914: ac_cv_search_opendir=$ac_res
! 14915: fi
! 14916: rm -f core conftest.err conftest.$ac_objext \
! 14917: conftest$ac_exeext
! 14918: if ${ac_cv_search_opendir+:} false; then :
! 14919: break
! 14920: fi
! 14921: done
! 14922: if ${ac_cv_search_opendir+:} false; then :
! 14923:
! 14924: else
! 14925: ac_cv_search_opendir=no
! 14926: fi
! 14927: rm conftest.$ac_ext
! 14928: LIBS=$ac_func_search_save_LIBS
! 14929: fi
! 14930: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
! 14931: $as_echo "$ac_cv_search_opendir" >&6; }
! 14932: ac_res=$ac_cv_search_opendir
! 14933: if test "$ac_res" != no; then :
! 14934: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 14935:
! 14936: fi
! 14937:
! 14938: else
! 14939: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
! 14940: $as_echo_n "checking for library containing opendir... " >&6; }
! 14941: if ${ac_cv_search_opendir+:} false; then :
! 14942: $as_echo_n "(cached) " >&6
! 14943: else
! 14944: ac_func_search_save_LIBS=$LIBS
! 14945: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 14946: /* end confdefs.h. */
! 14947:
! 14948: /* Override any GCC internal prototype to avoid an error.
! 14949: Use char because int might match the return type of a GCC
! 14950: builtin and then its argument prototype would still apply. */
! 14951: #ifdef __cplusplus
! 14952: extern "C"
! 14953: #endif
! 14954: char opendir ();
! 14955: int
! 14956: main ()
! 14957: {
! 14958: return opendir ();
! 14959: ;
! 14960: return 0;
! 14961: }
! 14962: _ACEOF
! 14963: for ac_lib in '' x; do
! 14964: if test -z "$ac_lib"; then
! 14965: ac_res="none required"
! 14966: else
! 14967: ac_res=-l$ac_lib
! 14968: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 14969: fi
! 14970: if ac_fn_c_try_link "$LINENO"; then :
! 14971: ac_cv_search_opendir=$ac_res
! 14972: fi
! 14973: rm -f core conftest.err conftest.$ac_objext \
! 14974: conftest$ac_exeext
! 14975: if ${ac_cv_search_opendir+:} false; then :
! 14976: break
! 14977: fi
! 14978: done
! 14979: if ${ac_cv_search_opendir+:} false; then :
! 14980:
! 14981: else
! 14982: ac_cv_search_opendir=no
! 14983: fi
! 14984: rm conftest.$ac_ext
! 14985: LIBS=$ac_func_search_save_LIBS
! 14986: fi
! 14987: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
! 14988: $as_echo "$ac_cv_search_opendir" >&6; }
! 14989: ac_res=$ac_cv_search_opendir
! 14990: if test "$ac_res" != no; then :
! 14991: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 14992:
! 14993: fi
! 14994:
! 14995: fi
! 14996:
! 14997: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
! 14998: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
! 14999: if ${ac_cv_header_time+:} false; then :
! 15000: $as_echo_n "(cached) " >&6
! 15001: else
! 15002: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15003: /* end confdefs.h. */
! 15004: #include <sys/types.h>
! 15005: #include <sys/time.h>
! 15006: #include <time.h>
! 15007:
! 15008: int
! 15009: main ()
! 15010: {
! 15011: if ((struct tm *) 0)
! 15012: return 0;
! 15013: ;
! 15014: return 0;
! 15015: }
! 15016: _ACEOF
! 15017: if ac_fn_c_try_compile "$LINENO"; then :
! 15018: ac_cv_header_time=yes
! 15019: else
! 15020: ac_cv_header_time=no
! 15021: fi
! 15022: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 15023: fi
! 15024: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
! 15025: $as_echo "$ac_cv_header_time" >&6; }
! 15026: if test $ac_cv_header_time = yes; then
! 15027:
! 15028: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
! 15029:
! 15030: fi
! 15031:
! 15032: for ac_header in malloc.h paths.h utime.h netgroup.h utmpx.h sys/sockio.h sys/bsdtypes.h sys/select.h sys/stropts.h sys/sysmacros.h
! 15033: do :
! 15034: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 15035: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
! 15036: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 15037: cat >>confdefs.h <<_ACEOF
! 15038: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 15039: _ACEOF
! 15040:
! 15041: fi
! 15042:
! 15043: done
! 15044:
! 15045: # Check whether --enable-largefile was given.
! 15046: if test "${enable_largefile+set}" = set; then :
! 15047: enableval=$enable_largefile;
! 15048: fi
! 15049:
! 15050: if test "$enable_largefile" != no; then
! 15051:
! 15052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
! 15053: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
! 15054: if ${ac_cv_sys_largefile_CC+:} false; then :
! 15055: $as_echo_n "(cached) " >&6
! 15056: else
! 15057: ac_cv_sys_largefile_CC=no
! 15058: if test "$GCC" != yes; then
! 15059: ac_save_CC=$CC
! 15060: while :; do
! 15061: # IRIX 6.2 and later do not support large files by default,
! 15062: # so use the C compiler's -n32 option if that helps.
! 15063: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15064: /* end confdefs.h. */
! 15065: #include <sys/types.h>
! 15066: /* Check that off_t can represent 2**63 - 1 correctly.
! 15067: We can't simply define LARGE_OFF_T to be 9223372036854775807,
! 15068: since some C++ compilers masquerading as C compilers
! 15069: incorrectly reject 9223372036854775807. */
! 15070: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
! 15071: int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
! 15072: && LARGE_OFF_T % 2147483647 == 1)
! 15073: ? 1 : -1];
! 15074: int
! 15075: main ()
! 15076: {
! 15077:
! 15078: ;
! 15079: return 0;
! 15080: }
! 15081: _ACEOF
! 15082: if ac_fn_c_try_compile "$LINENO"; then :
! 15083: break
! 15084: fi
! 15085: rm -f core conftest.err conftest.$ac_objext
! 15086: CC="$CC -n32"
! 15087: if ac_fn_c_try_compile "$LINENO"; then :
! 15088: ac_cv_sys_largefile_CC=' -n32'; break
! 15089: fi
! 15090: rm -f core conftest.err conftest.$ac_objext
! 15091: break
! 15092: done
! 15093: CC=$ac_save_CC
! 15094: rm -f conftest.$ac_ext
! 15095: fi
! 15096: fi
! 15097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
! 15098: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
! 15099: if test "$ac_cv_sys_largefile_CC" != no; then
! 15100: CC=$CC$ac_cv_sys_largefile_CC
! 15101: fi
! 15102:
! 15103: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
! 15104: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
! 15105: if ${ac_cv_sys_file_offset_bits+:} false; then :
! 15106: $as_echo_n "(cached) " >&6
! 15107: else
! 15108: while :; do
! 15109: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15110: /* end confdefs.h. */
! 15111: #include <sys/types.h>
! 15112: /* Check that off_t can represent 2**63 - 1 correctly.
! 15113: We can't simply define LARGE_OFF_T to be 9223372036854775807,
! 15114: since some C++ compilers masquerading as C compilers
! 15115: incorrectly reject 9223372036854775807. */
! 15116: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
! 15117: int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
! 15118: && LARGE_OFF_T % 2147483647 == 1)
! 15119: ? 1 : -1];
! 15120: int
! 15121: main ()
! 15122: {
! 15123:
! 15124: ;
! 15125: return 0;
! 15126: }
! 15127: _ACEOF
! 15128: if ac_fn_c_try_compile "$LINENO"; then :
! 15129: ac_cv_sys_file_offset_bits=no; break
! 15130: fi
! 15131: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 15132: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15133: /* end confdefs.h. */
! 15134: #define _FILE_OFFSET_BITS 64
! 15135: #include <sys/types.h>
! 15136: /* Check that off_t can represent 2**63 - 1 correctly.
! 15137: We can't simply define LARGE_OFF_T to be 9223372036854775807,
! 15138: since some C++ compilers masquerading as C compilers
! 15139: incorrectly reject 9223372036854775807. */
! 15140: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
! 15141: int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
! 15142: && LARGE_OFF_T % 2147483647 == 1)
! 15143: ? 1 : -1];
! 15144: int
! 15145: main ()
! 15146: {
! 15147:
! 15148: ;
! 15149: return 0;
! 15150: }
! 15151: _ACEOF
! 15152: if ac_fn_c_try_compile "$LINENO"; then :
! 15153: ac_cv_sys_file_offset_bits=64; break
! 15154: fi
! 15155: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 15156: ac_cv_sys_file_offset_bits=unknown
! 15157: break
! 15158: done
! 15159: fi
! 15160: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
! 15161: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
! 15162: case $ac_cv_sys_file_offset_bits in #(
! 15163: no | unknown) ;;
! 15164: *)
! 15165: cat >>confdefs.h <<_ACEOF
! 15166: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
! 15167: _ACEOF
! 15168: ;;
! 15169: esac
! 15170: rm -rf conftest*
! 15171: if test $ac_cv_sys_file_offset_bits = unknown; then
! 15172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
! 15173: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
! 15174: if ${ac_cv_sys_large_files+:} false; then :
! 15175: $as_echo_n "(cached) " >&6
! 15176: else
! 15177: while :; do
! 15178: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15179: /* end confdefs.h. */
! 15180: #include <sys/types.h>
! 15181: /* Check that off_t can represent 2**63 - 1 correctly.
! 15182: We can't simply define LARGE_OFF_T to be 9223372036854775807,
! 15183: since some C++ compilers masquerading as C compilers
! 15184: incorrectly reject 9223372036854775807. */
! 15185: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
! 15186: int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
! 15187: && LARGE_OFF_T % 2147483647 == 1)
! 15188: ? 1 : -1];
! 15189: int
! 15190: main ()
! 15191: {
! 15192:
! 15193: ;
! 15194: return 0;
! 15195: }
! 15196: _ACEOF
! 15197: if ac_fn_c_try_compile "$LINENO"; then :
! 15198: ac_cv_sys_large_files=no; break
! 15199: fi
! 15200: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 15201: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15202: /* end confdefs.h. */
! 15203: #define _LARGE_FILES 1
! 15204: #include <sys/types.h>
! 15205: /* Check that off_t can represent 2**63 - 1 correctly.
! 15206: We can't simply define LARGE_OFF_T to be 9223372036854775807,
! 15207: since some C++ compilers masquerading as C compilers
! 15208: incorrectly reject 9223372036854775807. */
! 15209: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
! 15210: int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
! 15211: && LARGE_OFF_T % 2147483647 == 1)
! 15212: ? 1 : -1];
! 15213: int
! 15214: main ()
! 15215: {
! 15216:
! 15217: ;
! 15218: return 0;
! 15219: }
! 15220: _ACEOF
! 15221: if ac_fn_c_try_compile "$LINENO"; then :
! 15222: ac_cv_sys_large_files=1; break
! 15223: fi
! 15224: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 15225: ac_cv_sys_large_files=unknown
! 15226: break
! 15227: done
! 15228: fi
! 15229: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
! 15230: $as_echo "$ac_cv_sys_large_files" >&6; }
! 15231: case $ac_cv_sys_large_files in #(
! 15232: no | unknown) ;;
! 15233: *)
! 15234: cat >>confdefs.h <<_ACEOF
! 15235: #define _LARGE_FILES $ac_cv_sys_large_files
! 15236: _ACEOF
! 15237: ;;
! 15238: esac
! 15239: rm -rf conftest*
! 15240: fi
! 15241: fi
! 15242:
! 15243: case "$host" in
! 15244: *-*-hpux11.*)
! 15245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h needs _XOPEN_SOURCE_EXTENDED" >&5
! 15246: $as_echo_n "checking whether sys/types.h needs _XOPEN_SOURCE_EXTENDED... " >&6; }
! 15247: if ${sudo_cv_xopen_source_extended+:} false; then :
! 15248: $as_echo_n "(cached) " >&6
! 15249: else
! 15250: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15251: /* end confdefs.h. */
! 15252: $ac_includes_default
! 15253: #include <sys/socket.h>
! 15254: int
! 15255: main ()
! 15256: {
! 15257:
! 15258: ;
! 15259: return 0;
! 15260: }
! 15261: _ACEOF
! 15262: if ac_fn_c_try_compile "$LINENO"; then :
! 15263: sudo_cv_xopen_source_extended=no
! 15264: else
! 15265:
! 15266: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15267: /* end confdefs.h. */
! 15268: #define _XOPEN_SOURCE_EXTENDED
! 15269: $ac_includes_default
! 15270: #include <sys/socket.h>
! 15271: int
! 15272: main ()
! 15273: {
! 15274:
! 15275: ;
! 15276: return 0;
! 15277: }
! 15278: _ACEOF
! 15279: if ac_fn_c_try_compile "$LINENO"; then :
! 15280: sudo_cv_xopen_source_extended=yes
! 15281: else
! 15282: sudo_cv_xopen_source_extended=error
! 15283: fi
! 15284: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 15285:
! 15286: fi
! 15287: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 15288: fi
! 15289: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_xopen_source_extended" >&5
! 15290: $as_echo "$sudo_cv_xopen_source_extended" >&6; }
! 15291: if test "$sudo_cv_xopen_source_extended" = "yes"; then
! 15292: OSDEFS="${OSDEFS} -D_XOPEN_SOURCE_EXTENDED"
! 15293: cat >>confdefs.h <<\EOF
! 15294: #define _XOPEN_SOURCE_EXTENDED 1
! 15295: EOF
! 15296:
! 15297: fi
! 15298: ;;
! 15299: esac
! 15300: { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX termios" >&5
! 15301: $as_echo_n "checking POSIX termios... " >&6; }
! 15302: if ${ac_cv_sys_posix_termios+:} false; then :
! 15303: $as_echo_n "(cached) " >&6
! 15304: else
! 15305: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15306: /* end confdefs.h. */
! 15307: #include <sys/types.h>
! 15308: #include <unistd.h>
! 15309: #include <termios.h>
! 15310:
! 15311: int
! 15312: main ()
! 15313: {
! 15314: /* SunOS 4.0.3 has termios.h but not the library calls. */
! 15315: tcgetattr(0, 0);
! 15316: ;
! 15317: return 0;
! 15318: }
! 15319: _ACEOF
! 15320: if ac_fn_c_try_link "$LINENO"; then :
! 15321: ac_cv_sys_posix_termios=yes
! 15322: else
! 15323: ac_cv_sys_posix_termios=no
! 15324: fi
! 15325: rm -f core conftest.err conftest.$ac_objext \
! 15326: conftest$ac_exeext conftest.$ac_ext
! 15327: fi
! 15328: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_posix_termios" >&5
! 15329: $as_echo "$ac_cv_sys_posix_termios" >&6; }
! 15330:
! 15331: if test "$ac_cv_sys_posix_termios" != "yes"; then
! 15332: as_fn_error $? "Must have POSIX termios to build sudo" "$LINENO" 5
! 15333: fi
! 15334:
! 15335: maildir=no
! 15336: if test X"$ac_cv_header_paths_h" = X"yes"; then
! 15337: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15338: /* end confdefs.h. */
! 15339: $ac_includes_default
! 15340: #include <paths.h>
! 15341: int
! 15342: main ()
! 15343: {
! 15344: char *p = _PATH_MAILDIR;
! 15345: ;
! 15346: return 0;
! 15347: }
! 15348: _ACEOF
! 15349: if ac_fn_c_try_compile "$LINENO"; then :
! 15350: maildir=yes
! 15351: fi
! 15352: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 15353: fi
! 15354: if test $maildir = no; then
! 15355: # Solaris has maillock.h which defines MAILDIR
! 15356: for ac_header in maillock.h
! 15357: do :
! 15358: ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default"
! 15359: if test "x$ac_cv_header_maillock_h" = xyes; then :
! 15360: cat >>confdefs.h <<_ACEOF
! 15361: #define HAVE_MAILLOCK_H 1
! 15362: _ACEOF
! 15363:
! 15364: cat >>confdefs.h <<\EOF
! 15365: #define _PATH_MAILDIR MAILDIR
! 15366: EOF
! 15367:
! 15368: maildir=yes
! 15369:
! 15370: fi
! 15371:
! 15372: done
! 15373:
! 15374: if test $maildir = no; then
! 15375: for d in /var/mail /var/spool/mail /usr/spool/mail; do
! 15376: if test -d "$d"; then
! 15377: maildir=yes
! 15378: cat >>confdefs.h <<EOF
! 15379: #define _PATH_MAILDIR "$d"
! 15380: EOF
! 15381:
! 15382: break
! 15383: fi
! 15384: done
! 15385: if test $maildir = no; then
! 15386: # unable to find mail dir, hope for the best
! 15387: cat >>confdefs.h <<EOF
! 15388: #define _PATH_MAILDIR "/var/mail"
! 15389: EOF
! 15390:
! 15391: fi
! 15392: fi
! 15393: fi
! 15394:
! 15395: if test ${with_logincap-'no'} != "no"; then
! 15396: for ac_header in login_cap.h
! 15397: do :
! 15398: ac_fn_c_check_header_mongrel "$LINENO" "login_cap.h" "ac_cv_header_login_cap_h" "$ac_includes_default"
! 15399: if test "x$ac_cv_header_login_cap_h" = xyes; then :
! 15400: cat >>confdefs.h <<_ACEOF
! 15401: #define HAVE_LOGIN_CAP_H 1
! 15402: _ACEOF
! 15403: LOGINCAP_USAGE='[-c class|-] '; LCMAN=1
! 15404: case "$OS" in
! 15405: freebsd|netbsd)
! 15406: SUDO_LIBS="${SUDO_LIBS} -lutil"
! 15407: SUDOERS_LIBS="${SUDOERS_LIBS} -lutil"
! 15408: ;;
! 15409: esac
! 15410:
! 15411: fi
! 15412:
! 15413: done
! 15414:
! 15415: fi
! 15416: if test ${with_project-'no'} != "no"; then
! 15417: ac_fn_c_check_header_mongrel "$LINENO" "project.h" "ac_cv_header_project_h" "$ac_includes_default"
! 15418: if test "x$ac_cv_header_project_h" = xyes; then :
! 15419:
! 15420: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setproject in -lproject" >&5
! 15421: $as_echo_n "checking for setproject in -lproject... " >&6; }
! 15422: if ${ac_cv_lib_project_setproject+:} false; then :
! 15423: $as_echo_n "(cached) " >&6
! 15424: else
! 15425: ac_check_lib_save_LIBS=$LIBS
! 15426: LIBS="-lproject $LIBS"
! 15427: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15428: /* end confdefs.h. */
! 15429:
! 15430: /* Override any GCC internal prototype to avoid an error.
! 15431: Use char because int might match the return type of a GCC
! 15432: builtin and then its argument prototype would still apply. */
! 15433: #ifdef __cplusplus
! 15434: extern "C"
! 15435: #endif
! 15436: char setproject ();
! 15437: int
! 15438: main ()
! 15439: {
! 15440: return setproject ();
! 15441: ;
! 15442: return 0;
! 15443: }
! 15444: _ACEOF
! 15445: if ac_fn_c_try_link "$LINENO"; then :
! 15446: ac_cv_lib_project_setproject=yes
! 15447: else
! 15448: ac_cv_lib_project_setproject=no
! 15449: fi
! 15450: rm -f core conftest.err conftest.$ac_objext \
! 15451: conftest$ac_exeext conftest.$ac_ext
! 15452: LIBS=$ac_check_lib_save_LIBS
! 15453: fi
! 15454: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_project_setproject" >&5
! 15455: $as_echo "$ac_cv_lib_project_setproject" >&6; }
! 15456: if test "x$ac_cv_lib_project_setproject" = xyes; then :
! 15457:
! 15458: $as_echo "#define HAVE_PROJECT_H 1" >>confdefs.h
! 15459:
! 15460: SUDO_LIBS="${SUDO_LIBS} -lproject"
! 15461:
! 15462: fi
! 15463:
! 15464:
! 15465: fi
! 15466:
! 15467:
! 15468: fi
! 15469: ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
! 15470: if test "x$ac_cv_type_mode_t" = xyes; then :
! 15471:
! 15472: else
! 15473:
! 15474: cat >>confdefs.h <<_ACEOF
! 15475: #define mode_t int
! 15476: _ACEOF
! 15477:
! 15478: fi
! 15479:
! 15480: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
! 15481: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
! 15482: if ${ac_cv_type_uid_t+:} false; then :
! 15483: $as_echo_n "(cached) " >&6
! 15484: else
! 15485: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15486: /* end confdefs.h. */
! 15487: #include <sys/types.h>
! 15488:
! 15489: _ACEOF
! 15490: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 15491: $EGREP "uid_t" >/dev/null 2>&1; then :
! 15492: ac_cv_type_uid_t=yes
! 15493: else
! 15494: ac_cv_type_uid_t=no
! 15495: fi
! 15496: rm -f conftest*
! 15497:
! 15498: fi
! 15499: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
! 15500: $as_echo "$ac_cv_type_uid_t" >&6; }
! 15501: if test $ac_cv_type_uid_t = no; then
! 15502:
! 15503: $as_echo "#define uid_t int" >>confdefs.h
! 15504:
! 15505:
! 15506: $as_echo "#define gid_t int" >>confdefs.h
! 15507:
! 15508: fi
! 15509:
! 15510: ac_fn_c_check_type "$LINENO" "__signed char" "ac_cv_type___signed_char" "$ac_includes_default"
! 15511: if test "x$ac_cv_type___signed_char" = xyes; then :
! 15512:
! 15513: else
! 15514: ac_fn_c_check_type "$LINENO" "signed char" "ac_cv_type_signed_char" "$ac_includes_default"
! 15515: if test "x$ac_cv_type_signed_char" = xyes; then :
! 15516: $as_echo "#define __signed signed" >>confdefs.h
! 15517:
! 15518: else
! 15519: $as_echo "#define __signed /**/" >>confdefs.h
! 15520:
! 15521: fi
! 15522:
! 15523: fi
! 15524:
! 15525: ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <sys/types.h>
! 15526: #include <signal.h>
! 15527: "
! 15528: if test "x$ac_cv_type_sig_atomic_t" = xyes; then :
! 15529:
! 15530: else
! 15531: $as_echo "#define sig_atomic_t int" >>confdefs.h
! 15532:
! 15533: fi
! 15534:
! 15535: ac_fn_c_check_type "$LINENO" "sigaction_t" "ac_cv_type_sigaction_t" "#include <sys/types.h>
! 15536: #include <signal.h>
! 15537: "
! 15538: if test "x$ac_cv_type_sigaction_t" = xyes; then :
! 15539:
! 15540: cat >>confdefs.h <<_ACEOF
! 15541: #define HAVE_SIGACTION_T 1
! 15542: _ACEOF
! 15543:
! 15544: $as_echo "#define HAVE_SIGACTION_T 1" >>confdefs.h
! 15545:
! 15546: fi
! 15547:
! 15548: ac_fn_c_check_type "$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "#include <sys/types.h>
! 15549: #if TIME_WITH_SYS_TIME
! 15550: # include <sys/time.h>
! 15551: #endif
! 15552: #include <time.h>
! 15553: "
! 15554: if test "x$ac_cv_type_struct_timespec" = xyes; then :
! 15555: $as_echo "#define HAVE_TIMESPEC 1" >>confdefs.h
! 15556:
! 15557: fi
! 15558:
! 15559: ac_fn_c_check_type "$LINENO" "struct in6_addr" "ac_cv_type_struct_in6_addr" "#include <sys/types.h>
! 15560: #include <netinet/in.h>
! 15561: "
! 15562: if test "x$ac_cv_type_struct_in6_addr" = xyes; then :
! 15563:
! 15564: cat >>confdefs.h <<_ACEOF
! 15565: #define HAVE_STRUCT_IN6_ADDR 1
! 15566: _ACEOF
! 15567:
! 15568: $as_echo "#define HAVE_IN6_ADDR 1" >>confdefs.h
! 15569:
! 15570: fi
! 15571:
! 15572:
! 15573: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
! 15574: $as_echo_n "checking for long long int... " >&6; }
! 15575: if ${ac_cv_type_long_long_int+:} false; then :
! 15576: $as_echo_n "(cached) " >&6
! 15577: else
! 15578: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15579: /* end confdefs.h. */
! 15580:
! 15581: /* For now, do not test the preprocessor; as of 2007 there are too many
! 15582: implementations with broken preprocessors. Perhaps this can
! 15583: be revisited in 2012. In the meantime, code should not expect
! 15584: #if to work with literals wider than 32 bits. */
! 15585: /* Test literals. */
! 15586: long long int ll = 9223372036854775807ll;
! 15587: long long int nll = -9223372036854775807LL;
! 15588: unsigned long long int ull = 18446744073709551615ULL;
! 15589: /* Test constant expressions. */
! 15590: typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
! 15591: ? 1 : -1)];
! 15592: typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
! 15593: ? 1 : -1)];
! 15594: int i = 63;
! 15595: int
! 15596: main ()
! 15597: {
! 15598: /* Test availability of runtime routines for shift and division. */
! 15599: long long int llmax = 9223372036854775807ll;
! 15600: unsigned long long int ullmax = 18446744073709551615ull;
! 15601: return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
! 15602: | (llmax / ll) | (llmax % ll)
! 15603: | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
! 15604: | (ullmax / ull) | (ullmax % ull));
! 15605: ;
! 15606: return 0;
! 15607: }
! 15608:
! 15609: _ACEOF
! 15610: if ac_fn_c_try_link "$LINENO"; then :
! 15611: if test "$cross_compiling" = yes; then :
! 15612: ac_cv_type_long_long_int=yes
! 15613: else
! 15614: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15615: /* end confdefs.h. */
! 15616: #include <limits.h>
! 15617: #ifndef LLONG_MAX
! 15618: # define HALF \
! 15619: (1LL << (sizeof (long long int) * CHAR_BIT - 2))
! 15620: # define LLONG_MAX (HALF - 1 + HALF)
! 15621: #endif
! 15622: int
! 15623: main ()
! 15624: {
! 15625: long long int n = 1;
! 15626: int i;
! 15627: for (i = 0; ; i++)
! 15628: {
! 15629: long long int m = n << i;
! 15630: if (m >> i != n)
! 15631: return 1;
! 15632: if (LLONG_MAX / 2 < m)
! 15633: break;
! 15634: }
! 15635: return 0;
! 15636: ;
! 15637: return 0;
! 15638: }
! 15639: _ACEOF
! 15640: if ac_fn_c_try_run "$LINENO"; then :
! 15641: ac_cv_type_long_long_int=yes
! 15642: else
! 15643: ac_cv_type_long_long_int=no
! 15644: fi
! 15645: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 15646: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 15647: fi
! 15648:
! 15649: else
! 15650: ac_cv_type_long_long_int=no
! 15651: fi
! 15652: rm -f core conftest.err conftest.$ac_objext \
! 15653: conftest$ac_exeext conftest.$ac_ext
! 15654: fi
! 15655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
! 15656: $as_echo "$ac_cv_type_long_long_int" >&6; }
! 15657: if test $ac_cv_type_long_long_int = yes; then
! 15658:
! 15659: $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
! 15660:
! 15661: fi
! 15662:
! 15663: # The cast to long int works around a bug in the HP C Compiler
! 15664: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
! 15665: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
! 15666: # This bug is HP SR number 8606223364.
! 15667: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
! 15668: $as_echo_n "checking size of long int... " >&6; }
! 15669: if ${ac_cv_sizeof_long_int+:} false; then :
! 15670: $as_echo_n "(cached) " >&6
! 15671: else
! 15672: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
! 15673:
! 15674: else
! 15675: if test "$ac_cv_type_long_int" = yes; then
! 15676: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 15677: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 15678: as_fn_error 77 "cannot compute sizeof (long int)
! 15679: See \`config.log' for more details" "$LINENO" 5; }
! 15680: else
! 15681: ac_cv_sizeof_long_int=0
! 15682: fi
! 15683: fi
! 15684:
! 15685: fi
! 15686: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
! 15687: $as_echo "$ac_cv_sizeof_long_int" >&6; }
! 15688:
! 15689:
! 15690:
! 15691: cat >>confdefs.h <<_ACEOF
! 15692: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
! 15693: _ACEOF
! 15694:
! 15695:
! 15696: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t" >&5
! 15697: $as_echo_n "checking for size_t... " >&6; }
! 15698: if ${sudo_cv_type_size_t+:} false; then :
! 15699: $as_echo_n "(cached) " >&6
! 15700: else
! 15701: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15702: /* end confdefs.h. */
! 15703: #include <sys/types.h>
! 15704: #include <stdio.h>
! 15705: #if STDC_HEADERS
! 15706: #include <stdlib.h>
! 15707: #endif
! 15708: #if HAVE_UNISTD_H
! 15709: #include <unistd.h>
! 15710: #endif
! 15711: _ACEOF
! 15712: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 15713: $EGREP "size_t" >/dev/null 2>&1; then :
! 15714: sudo_cv_type_size_t=yes
! 15715: else
! 15716: sudo_cv_type_size_t=no
! 15717: fi
! 15718: rm -f conftest*
! 15719:
! 15720: fi
! 15721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_type_size_t" >&5
! 15722: $as_echo "$sudo_cv_type_size_t" >&6; }
! 15723: if test $sudo_cv_type_size_t = no; then
! 15724:
! 15725: $as_echo "#define size_t int" >>confdefs.h
! 15726:
! 15727: fi
! 15728:
! 15729: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
! 15730: $as_echo_n "checking for ssize_t... " >&6; }
! 15731: if ${sudo_cv_type_ssize_t+:} false; then :
! 15732: $as_echo_n "(cached) " >&6
! 15733: else
! 15734: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15735: /* end confdefs.h. */
! 15736: #include <sys/types.h>
! 15737: #include <stdio.h>
! 15738: #if STDC_HEADERS
! 15739: #include <stdlib.h>
! 15740: #endif
! 15741: #if HAVE_UNISTD_H
! 15742: #include <unistd.h>
! 15743: #endif
! 15744: _ACEOF
! 15745: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 15746: $EGREP "ssize_t" >/dev/null 2>&1; then :
! 15747: sudo_cv_type_ssize_t=yes
! 15748: else
! 15749: sudo_cv_type_ssize_t=no
! 15750: fi
! 15751: rm -f conftest*
! 15752:
! 15753: fi
! 15754: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_type_ssize_t" >&5
! 15755: $as_echo "$sudo_cv_type_ssize_t" >&6; }
! 15756: if test $sudo_cv_type_ssize_t = no; then
! 15757:
! 15758: $as_echo "#define ssize_t int" >>confdefs.h
! 15759:
! 15760: fi
! 15761:
! 15762: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dev_t" >&5
! 15763: $as_echo_n "checking for dev_t... " >&6; }
! 15764: if ${sudo_cv_type_dev_t+:} false; then :
! 15765: $as_echo_n "(cached) " >&6
! 15766: else
! 15767: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15768: /* end confdefs.h. */
! 15769: #include <sys/types.h>
! 15770: #include <stdio.h>
! 15771: #if STDC_HEADERS
! 15772: #include <stdlib.h>
! 15773: #endif
! 15774: #if HAVE_UNISTD_H
! 15775: #include <unistd.h>
! 15776: #endif
! 15777: _ACEOF
! 15778: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 15779: $EGREP "dev_t" >/dev/null 2>&1; then :
! 15780: sudo_cv_type_dev_t=yes
! 15781: else
! 15782: sudo_cv_type_dev_t=no
! 15783: fi
! 15784: rm -f conftest*
! 15785:
! 15786: fi
! 15787: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_type_dev_t" >&5
! 15788: $as_echo "$sudo_cv_type_dev_t" >&6; }
! 15789: if test $sudo_cv_type_dev_t = no; then
! 15790:
! 15791: $as_echo "#define dev_t int" >>confdefs.h
! 15792:
! 15793: fi
! 15794:
! 15795: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ino_t" >&5
! 15796: $as_echo_n "checking for ino_t... " >&6; }
! 15797: if ${sudo_cv_type_ino_t+:} false; then :
! 15798: $as_echo_n "(cached) " >&6
! 15799: else
! 15800: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15801: /* end confdefs.h. */
! 15802: #include <sys/types.h>
! 15803: #include <stdio.h>
! 15804: #if STDC_HEADERS
! 15805: #include <stdlib.h>
! 15806: #endif
! 15807: #if HAVE_UNISTD_H
! 15808: #include <unistd.h>
! 15809: #endif
! 15810: _ACEOF
! 15811: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 15812: $EGREP "ino_t" >/dev/null 2>&1; then :
! 15813: sudo_cv_type_ino_t=yes
! 15814: else
! 15815: sudo_cv_type_ino_t=no
! 15816: fi
! 15817: rm -f conftest*
! 15818:
! 15819: fi
! 15820: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_type_ino_t" >&5
! 15821: $as_echo "$sudo_cv_type_ino_t" >&6; }
! 15822: if test $sudo_cv_type_ino_t = no; then
! 15823:
! 15824: $as_echo "#define ino_t unsigned int" >>confdefs.h
! 15825:
! 15826: fi
! 15827:
! 15828:
! 15829: { $as_echo "$as_me:${as_lineno-$LINENO}: checking max length of uid_t" >&5
! 15830: $as_echo_n "checking max length of uid_t... " >&6; }
! 15831: if ${sudo_cv_uid_t_len+:} false; then :
! 15832: $as_echo_n "(cached) " >&6
! 15833: else
! 15834: rm -f conftestdata
! 15835: if test "$cross_compiling" = yes; then :
! 15836: sudo_cv_uid_t_len=10
! 15837: else
! 15838: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 15839: /* end confdefs.h. */
! 15840: #include <stdio.h>
! 15841: #include <pwd.h>
! 15842: #include <limits.h>
! 15843: #include <sys/types.h>
! 15844: #include <sys/param.h>
! 15845: main() {
! 15846: FILE *f;
! 15847: char b[1024];
! 15848: uid_t u = (uid_t) -1;
! 15849:
! 15850: if ((f = fopen("conftestdata", "w")) == NULL)
! 15851: exit(1);
! 15852:
! 15853: (void) sprintf(b, "%lu", (unsigned long) u);
! 15854: (void) fprintf(f, "%d\n", strlen(b));
! 15855: (void) fclose(f);
! 15856: exit(0);
! 15857: }
! 15858: _ACEOF
! 15859: if ac_fn_c_try_run "$LINENO"; then :
! 15860: sudo_cv_uid_t_len=`cat conftestdata`
! 15861: else
! 15862: sudo_cv_uid_t_len=10
! 15863: fi
! 15864: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 15865: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 15866: fi
! 15867:
! 15868:
! 15869: fi
! 15870:
! 15871: rm -f conftestdata
! 15872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_uid_t_len" >&5
! 15873: $as_echo "$sudo_cv_uid_t_len" >&6; }
! 15874:
! 15875: cat >>confdefs.h <<_ACEOF
! 15876: #define MAX_UID_T_LEN $sudo_cv_uid_t_len
! 15877: _ACEOF
! 15878:
! 15879:
! 15880:
! 15881: ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" " #include <sys/types.h>
! 15882: #include <sys/socket.h>
! 15883:
! 15884: "
! 15885: if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
! 15886:
! 15887: $as_echo "#define HAVE_SA_LEN 1" >>confdefs.h
! 15888:
! 15889: fi
! 15890:
! 15891:
! 15892: _CFLAGS="$CFLAGS"
! 15893: CFLAGS="$CFLAGS $OSDEFS"
! 15894: if test $ac_cv_header_utmpx_h = "yes"; then
! 15895: ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_id" "ac_cv_member_struct_utmpx_ut_id" "
! 15896: #include <sys/types.h>
! 15897: #include <utmpx.h>
! 15898:
! 15899: "
! 15900: if test "x$ac_cv_member_struct_utmpx_ut_id" = xyes; then :
! 15901:
! 15902: cat >>confdefs.h <<_ACEOF
! 15903: #define HAVE_STRUCT_UTMPX_UT_ID 1
! 15904: _ACEOF
! 15905:
! 15906:
! 15907: fi
! 15908: ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_pid" "ac_cv_member_struct_utmpx_ut_pid" "
! 15909: #include <sys/types.h>
! 15910: #include <utmpx.h>
! 15911:
! 15912: "
! 15913: if test "x$ac_cv_member_struct_utmpx_ut_pid" = xyes; then :
! 15914:
! 15915: cat >>confdefs.h <<_ACEOF
! 15916: #define HAVE_STRUCT_UTMPX_UT_PID 1
! 15917: _ACEOF
! 15918:
! 15919:
! 15920: fi
! 15921: ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_tv" "ac_cv_member_struct_utmpx_ut_tv" "
! 15922: #include <sys/types.h>
! 15923: #include <utmpx.h>
! 15924:
! 15925: "
! 15926: if test "x$ac_cv_member_struct_utmpx_ut_tv" = xyes; then :
! 15927:
! 15928: cat >>confdefs.h <<_ACEOF
! 15929: #define HAVE_STRUCT_UTMPX_UT_TV 1
! 15930: _ACEOF
! 15931:
! 15932:
! 15933: fi
! 15934: ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_type" "ac_cv_member_struct_utmpx_ut_type" "
! 15935: #include <sys/types.h>
! 15936: #include <utmpx.h>
! 15937:
! 15938: "
! 15939: if test "x$ac_cv_member_struct_utmpx_ut_type" = xyes; then :
! 15940:
! 15941: cat >>confdefs.h <<_ACEOF
! 15942: #define HAVE_STRUCT_UTMPX_UT_TYPE 1
! 15943: _ACEOF
! 15944:
! 15945:
! 15946: fi
! 15947:
! 15948: ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit.__e_termination" "ac_cv_member_struct_utmpx_ut_exit___e_termination" "
! 15949: #include <sys/types.h>
! 15950: #include <utmpx.h>
! 15951:
! 15952: "
! 15953: if test "x$ac_cv_member_struct_utmpx_ut_exit___e_termination" = xyes; then :
! 15954:
! 15955: cat >>confdefs.h <<_ACEOF
! 15956: #define HAVE_STRUCT_UTMPX_UT_EXIT___E_TERMINATION 1
! 15957: _ACEOF
! 15958:
! 15959: $as_echo "#define HAVE_STRUCT_UTMPX_UT_EXIT 1" >>confdefs.h
! 15960:
! 15961: else
! 15962:
! 15963: ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit.e_termination" "ac_cv_member_struct_utmpx_ut_exit_e_termination" "
! 15964: #include <sys/types.h>
! 15965: #include <utmpx.h>
! 15966:
! 15967: "
! 15968: if test "x$ac_cv_member_struct_utmpx_ut_exit_e_termination" = xyes; then :
! 15969:
! 15970: cat >>confdefs.h <<_ACEOF
! 15971: #define HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION 1
! 15972: _ACEOF
! 15973:
! 15974: $as_echo "#define HAVE_STRUCT_UTMPX_UT_EXIT 1" >>confdefs.h
! 15975:
! 15976: fi
! 15977:
! 15978:
! 15979: fi
! 15980:
! 15981: else
! 15982: ac_fn_c_check_member "$LINENO" "struct utmp" "ut_id" "ac_cv_member_struct_utmp_ut_id" "
! 15983: #include <sys/types.h>
! 15984: #include <utmp.h>
! 15985:
! 15986: "
! 15987: if test "x$ac_cv_member_struct_utmp_ut_id" = xyes; then :
! 15988:
! 15989: cat >>confdefs.h <<_ACEOF
! 15990: #define HAVE_STRUCT_UTMP_UT_ID 1
! 15991: _ACEOF
! 15992:
! 15993:
! 15994: fi
! 15995: ac_fn_c_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "
! 15996: #include <sys/types.h>
! 15997: #include <utmp.h>
! 15998:
! 15999: "
! 16000: if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then :
! 16001:
! 16002: cat >>confdefs.h <<_ACEOF
! 16003: #define HAVE_STRUCT_UTMP_UT_PID 1
! 16004: _ACEOF
! 16005:
! 16006:
! 16007: fi
! 16008: ac_fn_c_check_member "$LINENO" "struct utmp" "ut_tv" "ac_cv_member_struct_utmp_ut_tv" "
! 16009: #include <sys/types.h>
! 16010: #include <utmp.h>
! 16011:
! 16012: "
! 16013: if test "x$ac_cv_member_struct_utmp_ut_tv" = xyes; then :
! 16014:
! 16015: cat >>confdefs.h <<_ACEOF
! 16016: #define HAVE_STRUCT_UTMP_UT_TV 1
! 16017: _ACEOF
! 16018:
! 16019:
! 16020: fi
! 16021: ac_fn_c_check_member "$LINENO" "struct utmp" "ut_type" "ac_cv_member_struct_utmp_ut_type" "
! 16022: #include <sys/types.h>
! 16023: #include <utmp.h>
! 16024:
! 16025: "
! 16026: if test "x$ac_cv_member_struct_utmp_ut_type" = xyes; then :
! 16027:
! 16028: cat >>confdefs.h <<_ACEOF
! 16029: #define HAVE_STRUCT_UTMP_UT_TYPE 1
! 16030: _ACEOF
! 16031:
! 16032:
! 16033: fi
! 16034: ac_fn_c_check_member "$LINENO" "struct utmp" "ut_user" "ac_cv_member_struct_utmp_ut_user" "
! 16035: #include <sys/types.h>
! 16036: #include <utmp.h>
! 16037:
! 16038: "
! 16039: if test "x$ac_cv_member_struct_utmp_ut_user" = xyes; then :
! 16040:
! 16041: cat >>confdefs.h <<_ACEOF
! 16042: #define HAVE_STRUCT_UTMP_UT_USER 1
! 16043: _ACEOF
! 16044:
! 16045:
! 16046: fi
! 16047:
! 16048: ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit.__e_termination" "ac_cv_member_struct_utmp_ut_exit___e_termination" "
! 16049: #include <sys/types.h>
! 16050: #include <utmp.h>
! 16051:
! 16052: "
! 16053: if test "x$ac_cv_member_struct_utmp_ut_exit___e_termination" = xyes; then :
! 16054:
! 16055: cat >>confdefs.h <<_ACEOF
! 16056: #define HAVE_STRUCT_UTMP_UT_EXIT___E_TERMINATION 1
! 16057: _ACEOF
! 16058:
! 16059: $as_echo "#define HAVE_STRUCT_UTMP_UT_EXIT 1" >>confdefs.h
! 16060:
! 16061: else
! 16062:
! 16063: ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit.e_termination" "ac_cv_member_struct_utmp_ut_exit_e_termination" "
! 16064: #include <sys/types.h>
! 16065: #include <utmp.h>
! 16066:
! 16067: "
! 16068: if test "x$ac_cv_member_struct_utmp_ut_exit_e_termination" = xyes; then :
! 16069:
! 16070: cat >>confdefs.h <<_ACEOF
! 16071: #define HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION 1
! 16072: _ACEOF
! 16073:
! 16074: $as_echo "#define HAVE_STRUCT_UTMP_UT_EXIT 1" >>confdefs.h
! 16075:
! 16076: fi
! 16077:
! 16078:
! 16079: fi
! 16080:
! 16081: fi
! 16082: CFLAGS="$_CFLAGS"
! 16083:
! 16084: { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
! 16085: $as_echo_n "checking type of array argument to getgroups... " >&6; }
! 16086: if ${ac_cv_type_getgroups+:} false; then :
! 16087: $as_echo_n "(cached) " >&6
! 16088: else
! 16089: if test "$cross_compiling" = yes; then :
! 16090: ac_cv_type_getgroups=cross
! 16091: else
! 16092: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16093: /* end confdefs.h. */
! 16094: /* Thanks to Mike Rendell for this test. */
! 16095: $ac_includes_default
! 16096: #define NGID 256
! 16097: #undef MAX
! 16098: #define MAX(x, y) ((x) > (y) ? (x) : (y))
! 16099:
! 16100: int
! 16101: main ()
! 16102: {
! 16103: gid_t gidset[NGID];
! 16104: int i, n;
! 16105: union { gid_t gval; long int lval; } val;
! 16106:
! 16107: val.lval = -1;
! 16108: for (i = 0; i < NGID; i++)
! 16109: gidset[i] = val.gval;
! 16110: n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
! 16111: gidset);
! 16112: /* Exit non-zero if getgroups seems to require an array of ints. This
! 16113: happens when gid_t is short int but getgroups modifies an array
! 16114: of ints. */
! 16115: return n > 0 && gidset[n] != val.gval;
! 16116: }
! 16117: _ACEOF
! 16118: if ac_fn_c_try_run "$LINENO"; then :
! 16119: ac_cv_type_getgroups=gid_t
! 16120: else
! 16121: ac_cv_type_getgroups=int
! 16122: fi
! 16123: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 16124: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 16125: fi
! 16126:
! 16127: if test $ac_cv_type_getgroups = cross; then
! 16128: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16129: /* end confdefs.h. */
! 16130: #include <unistd.h>
! 16131:
! 16132: _ACEOF
! 16133: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 16134: $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then :
! 16135: ac_cv_type_getgroups=gid_t
! 16136: else
! 16137: ac_cv_type_getgroups=int
! 16138: fi
! 16139: rm -f conftest*
! 16140:
! 16141: fi
! 16142: fi
! 16143: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
! 16144: $as_echo "$ac_cv_type_getgroups" >&6; }
! 16145:
! 16146: cat >>confdefs.h <<_ACEOF
! 16147: #define GETGROUPS_T $ac_cv_type_getgroups
! 16148: _ACEOF
! 16149:
! 16150:
! 16151: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
! 16152: if test "x$ac_cv_type_size_t" = xyes; then :
! 16153:
! 16154: else
! 16155:
! 16156: cat >>confdefs.h <<_ACEOF
! 16157: #define size_t unsigned int
! 16158: _ACEOF
! 16159:
! 16160: fi
! 16161:
! 16162: ac_fn_c_check_func "$LINENO" "getgroups" "ac_cv_func_getgroups"
! 16163: if test "x$ac_cv_func_getgroups" = xyes; then :
! 16164:
! 16165: fi
! 16166:
! 16167:
! 16168: # If we don't yet have getgroups, see if it's in -lbsd.
! 16169: # This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
! 16170: ac_save_LIBS=$LIBS
! 16171: if test $ac_cv_func_getgroups = no; then
! 16172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgroups in -lbsd" >&5
! 16173: $as_echo_n "checking for getgroups in -lbsd... " >&6; }
! 16174: if ${ac_cv_lib_bsd_getgroups+:} false; then :
! 16175: $as_echo_n "(cached) " >&6
! 16176: else
! 16177: ac_check_lib_save_LIBS=$LIBS
! 16178: LIBS="-lbsd $LIBS"
! 16179: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16180: /* end confdefs.h. */
! 16181:
! 16182: /* Override any GCC internal prototype to avoid an error.
! 16183: Use char because int might match the return type of a GCC
! 16184: builtin and then its argument prototype would still apply. */
! 16185: #ifdef __cplusplus
! 16186: extern "C"
! 16187: #endif
! 16188: char getgroups ();
! 16189: int
! 16190: main ()
! 16191: {
! 16192: return getgroups ();
! 16193: ;
! 16194: return 0;
! 16195: }
! 16196: _ACEOF
! 16197: if ac_fn_c_try_link "$LINENO"; then :
! 16198: ac_cv_lib_bsd_getgroups=yes
! 16199: else
! 16200: ac_cv_lib_bsd_getgroups=no
! 16201: fi
! 16202: rm -f core conftest.err conftest.$ac_objext \
! 16203: conftest$ac_exeext conftest.$ac_ext
! 16204: LIBS=$ac_check_lib_save_LIBS
! 16205: fi
! 16206: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_getgroups" >&5
! 16207: $as_echo "$ac_cv_lib_bsd_getgroups" >&6; }
! 16208: if test "x$ac_cv_lib_bsd_getgroups" = xyes; then :
! 16209: GETGROUPS_LIB=-lbsd
! 16210: fi
! 16211:
! 16212: fi
! 16213:
! 16214: # Run the program to test the functionality of the system-supplied
! 16215: # getgroups function only if there is such a function.
! 16216: if test $ac_cv_func_getgroups = yes; then
! 16217: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getgroups" >&5
! 16218: $as_echo_n "checking for working getgroups... " >&6; }
! 16219: if ${ac_cv_func_getgroups_works+:} false; then :
! 16220: $as_echo_n "(cached) " >&6
! 16221: else
! 16222: if test "$cross_compiling" = yes; then :
! 16223: ac_cv_func_getgroups_works=no
! 16224: else
! 16225: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16226: /* end confdefs.h. */
! 16227: $ac_includes_default
! 16228: int
! 16229: main ()
! 16230: {
! 16231: /* On Ultrix 4.3, getgroups (0, 0) always fails. */
! 16232: return getgroups (0, 0) == -1;
! 16233: ;
! 16234: return 0;
! 16235: }
! 16236: _ACEOF
! 16237: if ac_fn_c_try_run "$LINENO"; then :
! 16238: ac_cv_func_getgroups_works=yes
! 16239: else
! 16240: ac_cv_func_getgroups_works=no
! 16241: fi
! 16242: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 16243: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 16244: fi
! 16245:
! 16246:
! 16247: fi
! 16248: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getgroups_works" >&5
! 16249: $as_echo "$ac_cv_func_getgroups_works" >&6; }
! 16250: else
! 16251: ac_cv_func_getgroups_works=no
! 16252: fi
! 16253: if test $ac_cv_func_getgroups_works = yes; then
! 16254:
! 16255: $as_echo "#define HAVE_GETGROUPS 1" >>confdefs.h
! 16256:
! 16257: fi
! 16258: LIBS=$ac_save_LIBS
! 16259:
! 16260: for ac_func in strrchr sysconf tzset strftime \
! 16261: regcomp setlocale nl_langinfo getaddrinfo mbr_check_membership \
! 16262: setrlimit64 sysctl
! 16263: do :
! 16264: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 16265: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 16266: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 16267: cat >>confdefs.h <<_ACEOF
! 16268: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 16269: _ACEOF
! 16270:
! 16271: fi
! 16272: done
! 16273:
! 16274: ac_fn_c_check_func "$LINENO" "getgrouplist" "ac_cv_func_getgrouplist"
! 16275: if test "x$ac_cv_func_getgrouplist" = xyes; then :
! 16276: $as_echo "#define HAVE_GETGROUPLIST 1" >>confdefs.h
! 16277:
! 16278: else
! 16279: case " $LIBOBJS " in
! 16280: *" getgrouplist.$ac_objext "* ) ;;
! 16281: *) LIBOBJS="$LIBOBJS getgrouplist.$ac_objext"
! 16282: ;;
! 16283: esac
! 16284:
! 16285: fi
! 16286:
! 16287:
! 16288: for ac_func in getline
! 16289: do :
! 16290: ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
! 16291: if test "x$ac_cv_func_getline" = xyes; then :
! 16292: cat >>confdefs.h <<_ACEOF
! 16293: #define HAVE_GETLINE 1
! 16294: _ACEOF
! 16295:
! 16296: else
! 16297:
! 16298: case " $LIBOBJS " in
! 16299: *" getline.$ac_objext "* ) ;;
! 16300: *) LIBOBJS="$LIBOBJS getline.$ac_objext"
! 16301: ;;
! 16302: esac
! 16303:
! 16304: for ac_func in fgetln
! 16305: do :
! 16306: ac_fn_c_check_func "$LINENO" "fgetln" "ac_cv_func_fgetln"
! 16307: if test "x$ac_cv_func_fgetln" = xyes; then :
! 16308: cat >>confdefs.h <<_ACEOF
! 16309: #define HAVE_FGETLN 1
! 16310: _ACEOF
! 16311:
! 16312: fi
! 16313: done
! 16314:
! 16315:
! 16316: fi
! 16317: done
! 16318:
! 16319: utmp_style=LEGACY
! 16320: for ac_func in getutxid getutid
! 16321: do :
! 16322: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 16323: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 16324: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 16325: cat >>confdefs.h <<_ACEOF
! 16326: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 16327: _ACEOF
! 16328: utmp_style=POSIX; break
! 16329: fi
! 16330: done
! 16331:
! 16332: if test "$utmp_style" = "LEGACY"; then
! 16333: for ac_func in getttyent ttyslot
! 16334: do :
! 16335: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 16336: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 16337: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 16338: cat >>confdefs.h <<_ACEOF
! 16339: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 16340: _ACEOF
! 16341: break
! 16342: fi
! 16343: done
! 16344:
! 16345: fi
! 16346:
! 16347: for ac_func in openpty
! 16348: do :
! 16349: ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty"
! 16350: if test "x$ac_cv_func_openpty" = xyes; then :
! 16351: cat >>confdefs.h <<_ACEOF
! 16352: #define HAVE_OPENPTY 1
! 16353: _ACEOF
! 16354: for ac_header in libutil.h util.h pty.h
! 16355: do :
! 16356: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 16357: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
! 16358: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 16359: cat >>confdefs.h <<_ACEOF
! 16360: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 16361: _ACEOF
! 16362: break
! 16363: fi
! 16364:
! 16365: done
! 16366:
! 16367: else
! 16368:
! 16369: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
! 16370: $as_echo_n "checking for openpty in -lutil... " >&6; }
! 16371: if ${ac_cv_lib_util_openpty+:} false; then :
! 16372: $as_echo_n "(cached) " >&6
! 16373: else
! 16374: ac_check_lib_save_LIBS=$LIBS
! 16375: LIBS="-lutil $LIBS"
! 16376: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16377: /* end confdefs.h. */
! 16378:
! 16379: /* Override any GCC internal prototype to avoid an error.
! 16380: Use char because int might match the return type of a GCC
! 16381: builtin and then its argument prototype would still apply. */
! 16382: #ifdef __cplusplus
! 16383: extern "C"
! 16384: #endif
! 16385: char openpty ();
! 16386: int
! 16387: main ()
! 16388: {
! 16389: return openpty ();
! 16390: ;
! 16391: return 0;
! 16392: }
! 16393: _ACEOF
! 16394: if ac_fn_c_try_link "$LINENO"; then :
! 16395: ac_cv_lib_util_openpty=yes
! 16396: else
! 16397: ac_cv_lib_util_openpty=no
! 16398: fi
! 16399: rm -f core conftest.err conftest.$ac_objext \
! 16400: conftest$ac_exeext conftest.$ac_ext
! 16401: LIBS=$ac_check_lib_save_LIBS
! 16402: fi
! 16403: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
! 16404: $as_echo "$ac_cv_lib_util_openpty" >&6; }
! 16405: if test "x$ac_cv_lib_util_openpty" = xyes; then :
! 16406:
! 16407: for ac_header in libutil.h util.h pty.h
! 16408: do :
! 16409: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 16410: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
! 16411: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 16412: cat >>confdefs.h <<_ACEOF
! 16413: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 16414: _ACEOF
! 16415: break
! 16416: fi
! 16417:
! 16418: done
! 16419:
! 16420: case "$SUDO_LIBS" in
! 16421: *-lutil*) ;;
! 16422: *) SUDO_LIBS="${SUDO_LIBS} -lutil";;
! 16423: esac
! 16424: $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h
! 16425:
! 16426:
! 16427: else
! 16428:
! 16429: for ac_func in _getpty
! 16430: do :
! 16431: ac_fn_c_check_func "$LINENO" "_getpty" "ac_cv_func__getpty"
! 16432: if test "x$ac_cv_func__getpty" = xyes; then :
! 16433: cat >>confdefs.h <<_ACEOF
! 16434: #define HAVE__GETPTY 1
! 16435: _ACEOF
! 16436:
! 16437: else
! 16438:
! 16439: for ac_func in grantpt
! 16440: do :
! 16441: ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt"
! 16442: if test "x$ac_cv_func_grantpt" = xyes; then :
! 16443: cat >>confdefs.h <<_ACEOF
! 16444: #define HAVE_GRANTPT 1
! 16445: _ACEOF
! 16446:
! 16447: for ac_func in posix_openpt
! 16448: do :
! 16449: ac_fn_c_check_func "$LINENO" "posix_openpt" "ac_cv_func_posix_openpt"
! 16450: if test "x$ac_cv_func_posix_openpt" = xyes; then :
! 16451: cat >>confdefs.h <<_ACEOF
! 16452: #define HAVE_POSIX_OPENPT 1
! 16453: _ACEOF
! 16454:
! 16455: fi
! 16456: done
! 16457:
! 16458:
! 16459: else
! 16460:
! 16461: for ac_func in revoke
! 16462: do :
! 16463: ac_fn_c_check_func "$LINENO" "revoke" "ac_cv_func_revoke"
! 16464: if test "x$ac_cv_func_revoke" = xyes; then :
! 16465: cat >>confdefs.h <<_ACEOF
! 16466: #define HAVE_REVOKE 1
! 16467: _ACEOF
! 16468:
! 16469: fi
! 16470: done
! 16471:
! 16472:
! 16473: fi
! 16474: done
! 16475:
! 16476:
! 16477: fi
! 16478: done
! 16479:
! 16480:
! 16481: fi
! 16482:
! 16483:
! 16484: fi
! 16485: done
! 16486:
! 16487: for ac_func in unsetenv
! 16488: do :
! 16489: ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
! 16490: if test "x$ac_cv_func_unsetenv" = xyes; then :
! 16491: cat >>confdefs.h <<_ACEOF
! 16492: #define HAVE_UNSETENV 1
! 16493: _ACEOF
! 16494: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv returns void" >&5
! 16495: $as_echo_n "checking whether unsetenv returns void... " >&6; }
! 16496: if ${sudo_cv_func_unsetenv_void+:} false; then :
! 16497: $as_echo_n "(cached) " >&6
! 16498: else
! 16499: if test "$cross_compiling" = yes; then :
! 16500: sudo_cv_func_unsetenv_void=no
! 16501: else
! 16502: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16503: /* end confdefs.h. */
! 16504: $ac_includes_default
! 16505: int unsetenv();
! 16506:
! 16507: int
! 16508: main ()
! 16509: {
! 16510:
! 16511: return unsetenv("FOO") != 0;
! 16512:
! 16513: ;
! 16514: return 0;
! 16515: }
! 16516:
! 16517: _ACEOF
! 16518: if ac_fn_c_try_run "$LINENO"; then :
! 16519: sudo_cv_func_unsetenv_void=no
! 16520: else
! 16521: sudo_cv_func_unsetenv_void=yes
! 16522: fi
! 16523: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 16524: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 16525: fi
! 16526:
! 16527: fi
! 16528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_func_unsetenv_void" >&5
! 16529: $as_echo "$sudo_cv_func_unsetenv_void" >&6; }
! 16530: if test $sudo_cv_func_unsetenv_void = yes; then
! 16531:
! 16532: $as_echo "#define UNSETENV_VOID 1" >>confdefs.h
! 16533:
! 16534: fi
! 16535:
! 16536: else
! 16537: case " $LIBOBJS " in
! 16538: *" unsetenv.$ac_objext "* ) ;;
! 16539: *) LIBOBJS="$LIBOBJS unsetenv.$ac_objext"
! 16540: ;;
! 16541: esac
! 16542:
! 16543: fi
! 16544: done
! 16545:
! 16546: if test -z "$SKIP_SETRESUID"; then
! 16547: for ac_func in setresuid
! 16548: do :
! 16549: ac_fn_c_check_func "$LINENO" "setresuid" "ac_cv_func_setresuid"
! 16550: if test "x$ac_cv_func_setresuid" = xyes; then :
! 16551: cat >>confdefs.h <<_ACEOF
! 16552: #define HAVE_SETRESUID 1
! 16553: _ACEOF
! 16554:
! 16555: SKIP_SETREUID=yes
! 16556: for ac_func in getresuid
! 16557: do :
! 16558: ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
! 16559: if test "x$ac_cv_func_getresuid" = xyes; then :
! 16560: cat >>confdefs.h <<_ACEOF
! 16561: #define HAVE_GETRESUID 1
! 16562: _ACEOF
! 16563:
! 16564: fi
! 16565: done
! 16566:
! 16567:
! 16568: fi
! 16569: done
! 16570:
! 16571: fi
! 16572: if test -z "$SKIP_SETREUID"; then
! 16573: for ac_func in setreuid
! 16574: do :
! 16575: ac_fn_c_check_func "$LINENO" "setreuid" "ac_cv_func_setreuid"
! 16576: if test "x$ac_cv_func_setreuid" = xyes; then :
! 16577: cat >>confdefs.h <<_ACEOF
! 16578: #define HAVE_SETREUID 1
! 16579: _ACEOF
! 16580: SKIP_SETEUID=yes
! 16581: fi
! 16582: done
! 16583:
! 16584: fi
! 16585: if test -z "$SKIP_SETEUID"; then
! 16586: for ac_func in seteuid
! 16587: do :
! 16588: ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
! 16589: if test "x$ac_cv_func_seteuid" = xyes; then :
! 16590: cat >>confdefs.h <<_ACEOF
! 16591: #define HAVE_SETEUID 1
! 16592: _ACEOF
! 16593:
! 16594: fi
! 16595: done
! 16596:
! 16597: fi
! 16598: if test X"$with_interfaces" != X"no"; then
! 16599: for ac_func in getifaddrs
! 16600: do :
! 16601: ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
! 16602: if test "x$ac_cv_func_getifaddrs" = xyes; then :
! 16603: cat >>confdefs.h <<_ACEOF
! 16604: #define HAVE_GETIFADDRS 1
! 16605: _ACEOF
! 16606: for ac_func in freeifaddrs
! 16607: do :
! 16608: ac_fn_c_check_func "$LINENO" "freeifaddrs" "ac_cv_func_freeifaddrs"
! 16609: if test "x$ac_cv_func_freeifaddrs" = xyes; then :
! 16610: cat >>confdefs.h <<_ACEOF
! 16611: #define HAVE_FREEIFADDRS 1
! 16612: _ACEOF
! 16613:
! 16614: fi
! 16615: done
! 16616:
! 16617: fi
! 16618: done
! 16619:
! 16620: fi
! 16621: if test -z "$BROKEN_GETCWD"; then
! 16622: ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
! 16623: if test "x$ac_cv_func_getcwd" = xyes; then :
! 16624: $as_echo "#define HAVE_GETCWD 1" >>confdefs.h
! 16625:
! 16626: else
! 16627: case " $LIBOBJS " in
! 16628: *" getcwd.$ac_objext "* ) ;;
! 16629: *) LIBOBJS="$LIBOBJS getcwd.$ac_objext"
! 16630: ;;
! 16631: esac
! 16632:
! 16633: fi
! 16634:
! 16635:
! 16636: fi
! 16637: for ac_func in glob
! 16638: do :
! 16639: ac_fn_c_check_func "$LINENO" "glob" "ac_cv_func_glob"
! 16640: if test "x$ac_cv_func_glob" = xyes; then :
! 16641: cat >>confdefs.h <<_ACEOF
! 16642: #define HAVE_GLOB 1
! 16643: _ACEOF
! 16644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLOB_BRACE and GLOB_TILDE in glob.h" >&5
! 16645: $as_echo_n "checking for GLOB_BRACE and GLOB_TILDE in glob.h... " >&6; }
! 16646: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16647: /* end confdefs.h. */
! 16648: #include <glob.h>
! 16649: int
! 16650: main ()
! 16651: {
! 16652: int i = GLOB_BRACE | GLOB_TILDE; (void)i;
! 16653: ;
! 16654: return 0;
! 16655: }
! 16656: _ACEOF
! 16657: if ac_fn_c_try_compile "$LINENO"; then :
! 16658: $as_echo "#define HAVE_EXTENDED_GLOB 1" >>confdefs.h
! 16659:
! 16660: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 16661: $as_echo "yes" >&6; }
! 16662: else
! 16663: case " $LIBOBJS " in
! 16664: *" glob.$ac_objext "* ) ;;
! 16665: *) LIBOBJS="$LIBOBJS glob.$ac_objext"
! 16666: ;;
! 16667: esac
! 16668:
! 16669: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 16670: $as_echo "no" >&6; }
! 16671: fi
! 16672: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 16673: else
! 16674: case " $LIBOBJS " in
! 16675: *" glob.$ac_objext "* ) ;;
! 16676: *) LIBOBJS="$LIBOBJS glob.$ac_objext"
! 16677: ;;
! 16678: esac
! 16679:
! 16680: fi
! 16681: done
! 16682:
! 16683: for ac_func in lockf flock
! 16684: do :
! 16685: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 16686: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 16687: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 16688: cat >>confdefs.h <<_ACEOF
! 16689: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 16690: _ACEOF
! 16691: break
! 16692: fi
! 16693: done
! 16694:
! 16695: for ac_func in innetgr _innetgr
! 16696: do :
! 16697: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 16698: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 16699: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 16700: cat >>confdefs.h <<_ACEOF
! 16701: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 16702: _ACEOF
! 16703: for ac_func in getdomainname
! 16704: do :
! 16705: ac_fn_c_check_func "$LINENO" "getdomainname" "ac_cv_func_getdomainname"
! 16706: if test "x$ac_cv_func_getdomainname" = xyes; then :
! 16707: cat >>confdefs.h <<_ACEOF
! 16708: #define HAVE_GETDOMAINNAME 1
! 16709: _ACEOF
! 16710:
! 16711: fi
! 16712: done
! 16713: break
! 16714: fi
! 16715: done
! 16716:
! 16717: for ac_func in utimes
! 16718: do :
! 16719: ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes"
! 16720: if test "x$ac_cv_func_utimes" = xyes; then :
! 16721: cat >>confdefs.h <<_ACEOF
! 16722: #define HAVE_UTIMES 1
! 16723: _ACEOF
! 16724: for ac_func in futimes futimesat
! 16725: do :
! 16726: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 16727: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 16728: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 16729: cat >>confdefs.h <<_ACEOF
! 16730: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 16731: _ACEOF
! 16732: break
! 16733: fi
! 16734: done
! 16735:
! 16736: else
! 16737: for ac_func in futime
! 16738: do :
! 16739: ac_fn_c_check_func "$LINENO" "futime" "ac_cv_func_futime"
! 16740: if test "x$ac_cv_func_futime" = xyes; then :
! 16741: cat >>confdefs.h <<_ACEOF
! 16742: #define HAVE_FUTIME 1
! 16743: _ACEOF
! 16744:
! 16745: fi
! 16746: done
! 16747: case " $LIBOBJS " in
! 16748: *" utimes.$ac_objext "* ) ;;
! 16749: *) LIBOBJS="$LIBOBJS utimes.$ac_objext"
! 16750: ;;
! 16751: esac
! 16752:
! 16753: fi
! 16754: done
! 16755:
! 16756: for ac_func in killpg
! 16757: do :
! 16758: ac_fn_c_check_func "$LINENO" "killpg" "ac_cv_func_killpg"
! 16759: if test "x$ac_cv_func_killpg" = xyes; then :
! 16760: cat >>confdefs.h <<_ACEOF
! 16761: #define HAVE_KILLPG 1
! 16762: _ACEOF
! 16763:
! 16764: else
! 16765: case " $LIBOBJS " in
! 16766: *" killpg.$ac_objext "* ) ;;
! 16767: *) LIBOBJS="$LIBOBJS killpg.$ac_objext"
! 16768: ;;
! 16769: esac
! 16770:
! 16771: fi
! 16772: done
! 16773:
! 16774: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fnmatch with FNM_CASEFOLD" >&5
! 16775: $as_echo_n "checking for working fnmatch with FNM_CASEFOLD... " >&6; }
! 16776: if ${sudo_cv_func_fnmatch+:} false; then :
! 16777: $as_echo_n "(cached) " >&6
! 16778: else
! 16779: rm -f conftestdata; > conftestdata
! 16780: if test "$cross_compiling" = yes; then :
! 16781: sudo_cv_func_fnmatch=no
! 16782: else
! 16783: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16784: /* end confdefs.h. */
! 16785: #include <fnmatch.h>
! 16786: main() { exit(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", FNM_CASEFOLD)); }
! 16787: _ACEOF
! 16788: if ac_fn_c_try_run "$LINENO"; then :
! 16789: sudo_cv_func_fnmatch=yes
! 16790: else
! 16791: sudo_cv_func_fnmatch=no
! 16792: fi
! 16793: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 16794: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 16795: fi
! 16796:
! 16797: rm -f core core.* *.core
! 16798: fi
! 16799:
! 16800: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_func_fnmatch" >&5
! 16801: $as_echo "$sudo_cv_func_fnmatch" >&6; }
! 16802: if test $sudo_cv_func_fnmatch = yes; then :
! 16803: $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
! 16804:
! 16805: else
! 16806: case " $LIBOBJS " in
! 16807: *" fnmatch.$ac_objext "* ) ;;
! 16808: *) LIBOBJS="$LIBOBJS fnmatch.$ac_objext"
! 16809: ;;
! 16810: esac
! 16811:
! 16812: fi
! 16813: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isblank" >&5
! 16814: $as_echo_n "checking for isblank... " >&6; }
! 16815: if ${sudo_cv_func_isblank+:} false; then :
! 16816: $as_echo_n "(cached) " >&6
! 16817: else
! 16818: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16819: /* end confdefs.h. */
! 16820: #include <ctype.h>
! 16821: int
! 16822: main ()
! 16823: {
! 16824: return (isblank('a'));
! 16825: ;
! 16826: return 0;
! 16827: }
! 16828: _ACEOF
! 16829: if ac_fn_c_try_link "$LINENO"; then :
! 16830: sudo_cv_func_isblank=yes
! 16831: else
! 16832: sudo_cv_func_isblank=no
! 16833: fi
! 16834: rm -f core conftest.err conftest.$ac_objext \
! 16835: conftest$ac_exeext conftest.$ac_ext
! 16836: fi
! 16837: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_func_isblank" >&5
! 16838: $as_echo "$sudo_cv_func_isblank" >&6; }
! 16839:
! 16840: if test "$sudo_cv_func_isblank" = "yes"; then
! 16841:
! 16842: $as_echo "#define HAVE_ISBLANK 1" >>confdefs.h
! 16843:
! 16844: else
! 16845: case " $LIBOBJS " in
! 16846: *" isblank.$ac_objext "* ) ;;
! 16847: *) LIBOBJS="$LIBOBJS isblank.$ac_objext"
! 16848: ;;
! 16849: esac
! 16850:
! 16851: fi
! 16852:
! 16853: ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr"
! 16854: if test "x$ac_cv_func_memrchr" = xyes; then :
! 16855: $as_echo "#define HAVE_MEMRCHR 1" >>confdefs.h
! 16856:
! 16857: else
! 16858: case " $LIBOBJS " in
! 16859: *" memrchr.$ac_objext "* ) ;;
! 16860: *) LIBOBJS="$LIBOBJS memrchr.$ac_objext"
! 16861: ;;
! 16862: esac
! 16863:
! 16864: fi
! 16865:
! 16866: ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
! 16867: if test "x$ac_cv_func_strlcpy" = xyes; then :
! 16868: $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h
! 16869:
! 16870: else
! 16871: case " $LIBOBJS " in
! 16872: *" strlcpy.$ac_objext "* ) ;;
! 16873: *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
! 16874: ;;
! 16875: esac
! 16876:
! 16877: fi
! 16878:
! 16879: ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
! 16880: if test "x$ac_cv_func_strlcat" = xyes; then :
! 16881: $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
! 16882:
! 16883: else
! 16884: case " $LIBOBJS " in
! 16885: *" strlcat.$ac_objext "* ) ;;
! 16886: *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
! 16887: ;;
! 16888: esac
! 16889:
! 16890: fi
! 16891:
! 16892: ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
! 16893: if test "x$ac_cv_func_setenv" = xyes; then :
! 16894: $as_echo "#define HAVE_SETENV 1" >>confdefs.h
! 16895:
! 16896: else
! 16897: case " $LIBOBJS " in
! 16898: *" setenv.$ac_objext "* ) ;;
! 16899: *) LIBOBJS="$LIBOBJS setenv.$ac_objext"
! 16900: ;;
! 16901: esac
! 16902:
! 16903: fi
! 16904:
! 16905:
! 16906: for ac_func in nanosleep
! 16907: do :
! 16908: ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
! 16909: if test "x$ac_cv_func_nanosleep" = xyes; then :
! 16910: cat >>confdefs.h <<_ACEOF
! 16911: #define HAVE_NANOSLEEP 1
! 16912: _ACEOF
! 16913:
! 16914: else
! 16915:
! 16916: # On Solaris, nanosleep is in librt
! 16917: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
! 16918: $as_echo_n "checking for nanosleep in -lrt... " >&6; }
! 16919: if ${ac_cv_lib_rt_nanosleep+:} false; then :
! 16920: $as_echo_n "(cached) " >&6
! 16921: else
! 16922: ac_check_lib_save_LIBS=$LIBS
! 16923: LIBS="-lrt $LIBS"
! 16924: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 16925: /* end confdefs.h. */
! 16926:
! 16927: /* Override any GCC internal prototype to avoid an error.
! 16928: Use char because int might match the return type of a GCC
! 16929: builtin and then its argument prototype would still apply. */
! 16930: #ifdef __cplusplus
! 16931: extern "C"
! 16932: #endif
! 16933: char nanosleep ();
! 16934: int
! 16935: main ()
! 16936: {
! 16937: return nanosleep ();
! 16938: ;
! 16939: return 0;
! 16940: }
! 16941: _ACEOF
! 16942: if ac_fn_c_try_link "$LINENO"; then :
! 16943: ac_cv_lib_rt_nanosleep=yes
! 16944: else
! 16945: ac_cv_lib_rt_nanosleep=no
! 16946: fi
! 16947: rm -f core conftest.err conftest.$ac_objext \
! 16948: conftest$ac_exeext conftest.$ac_ext
! 16949: LIBS=$ac_check_lib_save_LIBS
! 16950: fi
! 16951: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
! 16952: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
! 16953: if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
! 16954: REPLAY_LIBS="${REPLAY_LIBS} -lrt"
! 16955: else
! 16956: case " $LIBOBJS " in
! 16957: *" nanosleep.$ac_objext "* ) ;;
! 16958: *) LIBOBJS="$LIBOBJS nanosleep.$ac_objext"
! 16959: ;;
! 16960: esac
! 16961:
! 16962: fi
! 16963:
! 16964:
! 16965: fi
! 16966: done
! 16967:
! 16968: for ac_func in closefrom
! 16969: do :
! 16970: ac_fn_c_check_func "$LINENO" "closefrom" "ac_cv_func_closefrom"
! 16971: if test "x$ac_cv_func_closefrom" = xyes; then :
! 16972: cat >>confdefs.h <<_ACEOF
! 16973: #define HAVE_CLOSEFROM 1
! 16974: _ACEOF
! 16975:
! 16976: else
! 16977: case " $LIBOBJS " in
! 16978: *" closefrom.$ac_objext "* ) ;;
! 16979: *) LIBOBJS="$LIBOBJS closefrom.$ac_objext"
! 16980: ;;
! 16981: esac
! 16982:
! 16983: ac_fn_c_check_decl "$LINENO" "F_CLOSEM" "ac_cv_have_decl_F_CLOSEM" " #include <limits.h>
! 16984: #include <fcntl.h>
! 16985: "
! 16986: if test "x$ac_cv_have_decl_F_CLOSEM" = xyes; then :
! 16987: $as_echo "#define HAVE_FCNTL_CLOSEM 1" >>confdefs.h
! 16988:
! 16989: fi
! 16990:
! 16991:
! 16992: fi
! 16993: done
! 16994:
! 16995: for ac_func in mkstemps mkdtemp
! 16996: do :
! 16997: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 16998: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 16999: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 17000: cat >>confdefs.h <<_ACEOF
! 17001: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 17002: _ACEOF
! 17003:
! 17004: else
! 17005:
! 17006: for ac_func in random lrand48
! 17007: do :
! 17008: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 17009: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 17010: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 17011: cat >>confdefs.h <<_ACEOF
! 17012: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 17013: _ACEOF
! 17014: break
! 17015: fi
! 17016: done
! 17017:
! 17018: case " $LIBOBJS " in
! 17019: *" mktemp.$ac_objext "* ) ;;
! 17020: *) LIBOBJS="$LIBOBJS mktemp.$ac_objext"
! 17021: ;;
! 17022: esac
! 17023:
! 17024:
! 17025: fi
! 17026: done
! 17027:
! 17028: for ac_func in snprintf vsnprintf asprintf vasprintf
! 17029: do :
! 17030: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 17031: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 17032: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 17033: cat >>confdefs.h <<_ACEOF
! 17034: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 17035: _ACEOF
! 17036:
! 17037: else
! 17038: NEED_SNPRINTF=1
! 17039: fi
! 17040: done
! 17041:
! 17042: if test X"$ac_cv_type_struct_timespec" != X"no"; then
! 17043: ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
! 17044: if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
! 17045: $as_echo "#define HAVE_ST_MTIM 1" >>confdefs.h
! 17046:
! 17047: ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim.st__tim" "ac_cv_member_struct_stat_st_mtim_st__tim" "$ac_includes_default"
! 17048: if test "x$ac_cv_member_struct_stat_st_mtim_st__tim" = xyes; then :
! 17049: $as_echo "#define HAVE_ST__TIM 1" >>confdefs.h
! 17050:
! 17051: fi
! 17052:
! 17053: else
! 17054: ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
! 17055: if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
! 17056: $as_echo "#define HAVE_ST_MTIMESPEC 1" >>confdefs.h
! 17057:
! 17058: fi
! 17059:
! 17060: fi
! 17061:
! 17062: fi
! 17063: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17064: /* end confdefs.h. */
! 17065: #include <sys/types.h>
! 17066: #include <$ac_header_dirent>
! 17067: int
! 17068: main ()
! 17069: {
! 17070: DIR *d; (void)dirfd(d);
! 17071: ;
! 17072: return 0;
! 17073: }
! 17074: _ACEOF
! 17075: if ac_fn_c_try_link "$LINENO"; then :
! 17076: $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
! 17077:
! 17078: else
! 17079: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17080: /* end confdefs.h. */
! 17081: #include <sys/types.h>
! 17082: #include <$ac_header_dirent>
! 17083: int
! 17084: main ()
! 17085: {
! 17086: DIR d; memset(&d, 0, sizeof(d)); return(d.dd_fd);
! 17087: ;
! 17088: return 0;
! 17089: }
! 17090: _ACEOF
! 17091: if ac_fn_c_try_link "$LINENO"; then :
! 17092: $as_echo "#define HAVE_DD_FD 1" >>confdefs.h
! 17093:
! 17094: fi
! 17095: rm -f core conftest.err conftest.$ac_objext \
! 17096: conftest$ac_exeext conftest.$ac_ext
! 17097: fi
! 17098: rm -f core conftest.err conftest.$ac_objext \
! 17099: conftest$ac_exeext conftest.$ac_ext
! 17100: if test -n "$NEED_SNPRINTF"; then
! 17101: case " $LIBOBJS " in
! 17102: *" snprintf.$ac_objext "* ) ;;
! 17103: *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
! 17104: ;;
! 17105: esac
! 17106:
! 17107: fi
! 17108: ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
! 17109: if test "x$ac_cv_func_socket" = xyes; then :
! 17110:
! 17111: else
! 17112: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
! 17113: $as_echo_n "checking for socket in -lsocket... " >&6; }
! 17114: if ${ac_cv_lib_socket_socket+:} false; then :
! 17115: $as_echo_n "(cached) " >&6
! 17116: else
! 17117: ac_check_lib_save_LIBS=$LIBS
! 17118: LIBS="-lsocket $LIBS"
! 17119: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17120: /* end confdefs.h. */
! 17121:
! 17122: /* Override any GCC internal prototype to avoid an error.
! 17123: Use char because int might match the return type of a GCC
! 17124: builtin and then its argument prototype would still apply. */
! 17125: #ifdef __cplusplus
! 17126: extern "C"
! 17127: #endif
! 17128: char socket ();
! 17129: int
! 17130: main ()
! 17131: {
! 17132: return socket ();
! 17133: ;
! 17134: return 0;
! 17135: }
! 17136: _ACEOF
! 17137: if ac_fn_c_try_link "$LINENO"; then :
! 17138: ac_cv_lib_socket_socket=yes
! 17139: else
! 17140: ac_cv_lib_socket_socket=no
! 17141: fi
! 17142: rm -f core conftest.err conftest.$ac_objext \
! 17143: conftest$ac_exeext conftest.$ac_ext
! 17144: LIBS=$ac_check_lib_save_LIBS
! 17145: fi
! 17146: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
! 17147: $as_echo "$ac_cv_lib_socket_socket" >&6; }
! 17148: if test "x$ac_cv_lib_socket_socket" = xyes; then :
! 17149: NET_LIBS="${NET_LIBS} -lsocket"; LIBS="${LIBS} -lsocket"
! 17150: else
! 17151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -linet" >&5
! 17152: $as_echo_n "checking for socket in -linet... " >&6; }
! 17153: if ${ac_cv_lib_inet_socket+:} false; then :
! 17154: $as_echo_n "(cached) " >&6
! 17155: else
! 17156: ac_check_lib_save_LIBS=$LIBS
! 17157: LIBS="-linet $LIBS"
! 17158: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17159: /* end confdefs.h. */
! 17160:
! 17161: /* Override any GCC internal prototype to avoid an error.
! 17162: Use char because int might match the return type of a GCC
! 17163: builtin and then its argument prototype would still apply. */
! 17164: #ifdef __cplusplus
! 17165: extern "C"
! 17166: #endif
! 17167: char socket ();
! 17168: int
! 17169: main ()
! 17170: {
! 17171: return socket ();
! 17172: ;
! 17173: return 0;
! 17174: }
! 17175: _ACEOF
! 17176: if ac_fn_c_try_link "$LINENO"; then :
! 17177: ac_cv_lib_inet_socket=yes
! 17178: else
! 17179: ac_cv_lib_inet_socket=no
! 17180: fi
! 17181: rm -f core conftest.err conftest.$ac_objext \
! 17182: conftest$ac_exeext conftest.$ac_ext
! 17183: LIBS=$ac_check_lib_save_LIBS
! 17184: fi
! 17185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_socket" >&5
! 17186: $as_echo "$ac_cv_lib_inet_socket" >&6; }
! 17187: if test "x$ac_cv_lib_inet_socket" = xyes; then :
! 17188: NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet"
! 17189: else
! 17190: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to find socket() trying -lsocket -lnsl" >&5
! 17191: $as_echo "$as_me: WARNING: unable to find socket() trying -lsocket -lnsl" >&2;}
! 17192: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
! 17193: $as_echo_n "checking for socket in -lsocket... " >&6; }
! 17194: if ${ac_cv_lib_socket_socket_lnsl+:} false; then :
! 17195: $as_echo_n "(cached) " >&6
! 17196: else
! 17197: ac_check_lib_save_LIBS=$LIBS
! 17198: LIBS="-lsocket -lnsl $LIBS"
! 17199: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17200: /* end confdefs.h. */
! 17201:
! 17202: /* Override any GCC internal prototype to avoid an error.
! 17203: Use char because int might match the return type of a GCC
! 17204: builtin and then its argument prototype would still apply. */
! 17205: #ifdef __cplusplus
! 17206: extern "C"
! 17207: #endif
! 17208: char socket ();
! 17209: int
! 17210: main ()
! 17211: {
! 17212: return socket ();
! 17213: ;
! 17214: return 0;
! 17215: }
! 17216: _ACEOF
! 17217: if ac_fn_c_try_link "$LINENO"; then :
! 17218: ac_cv_lib_socket_socket_lnsl=yes
! 17219: else
! 17220: ac_cv_lib_socket_socket_lnsl=no
! 17221: fi
! 17222: rm -f core conftest.err conftest.$ac_objext \
! 17223: conftest$ac_exeext conftest.$ac_ext
! 17224: LIBS=$ac_check_lib_save_LIBS
! 17225: fi
! 17226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket_lnsl" >&5
! 17227: $as_echo "$ac_cv_lib_socket_socket_lnsl" >&6; }
! 17228: if test "x$ac_cv_lib_socket_socket_lnsl" = xyes; then :
! 17229: NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl"
! 17230: fi
! 17231:
! 17232: fi
! 17233:
! 17234: fi
! 17235:
! 17236: fi
! 17237:
! 17238: ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
! 17239: if test "x$ac_cv_func_inet_addr" = xyes; then :
! 17240:
! 17241: else
! 17242: ac_fn_c_check_func "$LINENO" "__inet_addr" "ac_cv_func___inet_addr"
! 17243: if test "x$ac_cv_func___inet_addr" = xyes; then :
! 17244:
! 17245: else
! 17246: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
! 17247: $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
! 17248: if ${ac_cv_lib_nsl_inet_addr+:} false; then :
! 17249: $as_echo_n "(cached) " >&6
! 17250: else
! 17251: ac_check_lib_save_LIBS=$LIBS
! 17252: LIBS="-lnsl $LIBS"
! 17253: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17254: /* end confdefs.h. */
! 17255:
! 17256: /* Override any GCC internal prototype to avoid an error.
! 17257: Use char because int might match the return type of a GCC
! 17258: builtin and then its argument prototype would still apply. */
! 17259: #ifdef __cplusplus
! 17260: extern "C"
! 17261: #endif
! 17262: char inet_addr ();
! 17263: int
! 17264: main ()
! 17265: {
! 17266: return inet_addr ();
! 17267: ;
! 17268: return 0;
! 17269: }
! 17270: _ACEOF
! 17271: if ac_fn_c_try_link "$LINENO"; then :
! 17272: ac_cv_lib_nsl_inet_addr=yes
! 17273: else
! 17274: ac_cv_lib_nsl_inet_addr=no
! 17275: fi
! 17276: rm -f core conftest.err conftest.$ac_objext \
! 17277: conftest$ac_exeext conftest.$ac_ext
! 17278: LIBS=$ac_check_lib_save_LIBS
! 17279: fi
! 17280: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
! 17281: $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
! 17282: if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
! 17283: NET_LIBS="${NET_LIBS} -lnsl"; LIBS="${LIBS} -lnsl"
! 17284: else
! 17285: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -linet" >&5
! 17286: $as_echo_n "checking for inet_addr in -linet... " >&6; }
! 17287: if ${ac_cv_lib_inet_inet_addr+:} false; then :
! 17288: $as_echo_n "(cached) " >&6
! 17289: else
! 17290: ac_check_lib_save_LIBS=$LIBS
! 17291: LIBS="-linet $LIBS"
! 17292: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17293: /* end confdefs.h. */
! 17294:
! 17295: /* Override any GCC internal prototype to avoid an error.
! 17296: Use char because int might match the return type of a GCC
! 17297: builtin and then its argument prototype would still apply. */
! 17298: #ifdef __cplusplus
! 17299: extern "C"
! 17300: #endif
! 17301: char inet_addr ();
! 17302: int
! 17303: main ()
! 17304: {
! 17305: return inet_addr ();
! 17306: ;
! 17307: return 0;
! 17308: }
! 17309: _ACEOF
! 17310: if ac_fn_c_try_link "$LINENO"; then :
! 17311: ac_cv_lib_inet_inet_addr=yes
! 17312: else
! 17313: ac_cv_lib_inet_inet_addr=no
! 17314: fi
! 17315: rm -f core conftest.err conftest.$ac_objext \
! 17316: conftest$ac_exeext conftest.$ac_ext
! 17317: LIBS=$ac_check_lib_save_LIBS
! 17318: fi
! 17319: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_inet_addr" >&5
! 17320: $as_echo "$ac_cv_lib_inet_inet_addr" >&6; }
! 17321: if test "x$ac_cv_lib_inet_inet_addr" = xyes; then :
! 17322: NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet"
! 17323: else
! 17324: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to find inet_addr() trying -lsocket -lnsl" >&5
! 17325: $as_echo "$as_me: WARNING: unable to find inet_addr() trying -lsocket -lnsl" >&2;}
! 17326: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
! 17327: $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
! 17328: if ${ac_cv_lib_socket_inet_addr_lnsl+:} false; then :
! 17329: $as_echo_n "(cached) " >&6
! 17330: else
! 17331: ac_check_lib_save_LIBS=$LIBS
! 17332: LIBS="-lsocket -lnsl $LIBS"
! 17333: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17334: /* end confdefs.h. */
! 17335:
! 17336: /* Override any GCC internal prototype to avoid an error.
! 17337: Use char because int might match the return type of a GCC
! 17338: builtin and then its argument prototype would still apply. */
! 17339: #ifdef __cplusplus
! 17340: extern "C"
! 17341: #endif
! 17342: char inet_addr ();
! 17343: int
! 17344: main ()
! 17345: {
! 17346: return inet_addr ();
! 17347: ;
! 17348: return 0;
! 17349: }
! 17350: _ACEOF
! 17351: if ac_fn_c_try_link "$LINENO"; then :
! 17352: ac_cv_lib_socket_inet_addr_lnsl=yes
! 17353: else
! 17354: ac_cv_lib_socket_inet_addr_lnsl=no
! 17355: fi
! 17356: rm -f core conftest.err conftest.$ac_objext \
! 17357: conftest$ac_exeext conftest.$ac_ext
! 17358: LIBS=$ac_check_lib_save_LIBS
! 17359: fi
! 17360: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr_lnsl" >&5
! 17361: $as_echo "$ac_cv_lib_socket_inet_addr_lnsl" >&6; }
! 17362: if test "x$ac_cv_lib_socket_inet_addr_lnsl" = xyes; then :
! 17363: NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl"
! 17364: fi
! 17365:
! 17366: fi
! 17367:
! 17368: fi
! 17369:
! 17370: fi
! 17371:
! 17372: fi
! 17373:
! 17374: ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
! 17375: if test "x$ac_cv_func_syslog" = xyes; then :
! 17376:
! 17377: else
! 17378: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syslog in -lsocket" >&5
! 17379: $as_echo_n "checking for syslog in -lsocket... " >&6; }
! 17380: if ${ac_cv_lib_socket_syslog+:} false; then :
! 17381: $as_echo_n "(cached) " >&6
! 17382: else
! 17383: ac_check_lib_save_LIBS=$LIBS
! 17384: LIBS="-lsocket $LIBS"
! 17385: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17386: /* end confdefs.h. */
! 17387:
! 17388: /* Override any GCC internal prototype to avoid an error.
! 17389: Use char because int might match the return type of a GCC
! 17390: builtin and then its argument prototype would still apply. */
! 17391: #ifdef __cplusplus
! 17392: extern "C"
! 17393: #endif
! 17394: char syslog ();
! 17395: int
! 17396: main ()
! 17397: {
! 17398: return syslog ();
! 17399: ;
! 17400: return 0;
! 17401: }
! 17402: _ACEOF
! 17403: if ac_fn_c_try_link "$LINENO"; then :
! 17404: ac_cv_lib_socket_syslog=yes
! 17405: else
! 17406: ac_cv_lib_socket_syslog=no
! 17407: fi
! 17408: rm -f core conftest.err conftest.$ac_objext \
! 17409: conftest$ac_exeext conftest.$ac_ext
! 17410: LIBS=$ac_check_lib_save_LIBS
! 17411: fi
! 17412: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_syslog" >&5
! 17413: $as_echo "$ac_cv_lib_socket_syslog" >&6; }
! 17414: if test "x$ac_cv_lib_socket_syslog" = xyes; then :
! 17415: NET_LIBS="${NET_LIBS} -lsocket"; LIBS="${LIBS} -lsocket"
! 17416: else
! 17417: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syslog in -lnsl" >&5
! 17418: $as_echo_n "checking for syslog in -lnsl... " >&6; }
! 17419: if ${ac_cv_lib_nsl_syslog+:} false; then :
! 17420: $as_echo_n "(cached) " >&6
! 17421: else
! 17422: ac_check_lib_save_LIBS=$LIBS
! 17423: LIBS="-lnsl $LIBS"
! 17424: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17425: /* end confdefs.h. */
! 17426:
! 17427: /* Override any GCC internal prototype to avoid an error.
! 17428: Use char because int might match the return type of a GCC
! 17429: builtin and then its argument prototype would still apply. */
! 17430: #ifdef __cplusplus
! 17431: extern "C"
! 17432: #endif
! 17433: char syslog ();
! 17434: int
! 17435: main ()
! 17436: {
! 17437: return syslog ();
! 17438: ;
! 17439: return 0;
! 17440: }
! 17441: _ACEOF
! 17442: if ac_fn_c_try_link "$LINENO"; then :
! 17443: ac_cv_lib_nsl_syslog=yes
! 17444: else
! 17445: ac_cv_lib_nsl_syslog=no
! 17446: fi
! 17447: rm -f core conftest.err conftest.$ac_objext \
! 17448: conftest$ac_exeext conftest.$ac_ext
! 17449: LIBS=$ac_check_lib_save_LIBS
! 17450: fi
! 17451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_syslog" >&5
! 17452: $as_echo "$ac_cv_lib_nsl_syslog" >&6; }
! 17453: if test "x$ac_cv_lib_nsl_syslog" = xyes; then :
! 17454: NET_LIBS="${NET_LIBS} -lnsl"; LIBS="${LIBS} -lnsl"
! 17455: else
! 17456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syslog in -linet" >&5
! 17457: $as_echo_n "checking for syslog in -linet... " >&6; }
! 17458: if ${ac_cv_lib_inet_syslog+:} false; then :
! 17459: $as_echo_n "(cached) " >&6
! 17460: else
! 17461: ac_check_lib_save_LIBS=$LIBS
! 17462: LIBS="-linet $LIBS"
! 17463: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17464: /* end confdefs.h. */
! 17465:
! 17466: /* Override any GCC internal prototype to avoid an error.
! 17467: Use char because int might match the return type of a GCC
! 17468: builtin and then its argument prototype would still apply. */
! 17469: #ifdef __cplusplus
! 17470: extern "C"
! 17471: #endif
! 17472: char syslog ();
! 17473: int
! 17474: main ()
! 17475: {
! 17476: return syslog ();
! 17477: ;
! 17478: return 0;
! 17479: }
! 17480: _ACEOF
! 17481: if ac_fn_c_try_link "$LINENO"; then :
! 17482: ac_cv_lib_inet_syslog=yes
! 17483: else
! 17484: ac_cv_lib_inet_syslog=no
! 17485: fi
! 17486: rm -f core conftest.err conftest.$ac_objext \
! 17487: conftest$ac_exeext conftest.$ac_ext
! 17488: LIBS=$ac_check_lib_save_LIBS
! 17489: fi
! 17490: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_syslog" >&5
! 17491: $as_echo "$ac_cv_lib_inet_syslog" >&6; }
! 17492: if test "x$ac_cv_lib_inet_syslog" = xyes; then :
! 17493: NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet"
! 17494: fi
! 17495:
! 17496: fi
! 17497:
! 17498: fi
! 17499:
! 17500: fi
! 17501:
! 17502: for ac_func in getprogname
! 17503: do :
! 17504: ac_fn_c_check_func "$LINENO" "getprogname" "ac_cv_func_getprogname"
! 17505: if test "x$ac_cv_func_getprogname" = xyes; then :
! 17506: cat >>confdefs.h <<_ACEOF
! 17507: #define HAVE_GETPROGNAME 1
! 17508: _ACEOF
! 17509:
! 17510: else
! 17511:
! 17512: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __progname" >&5
! 17513: $as_echo_n "checking for __progname... " >&6; }
! 17514: if ${sudo_cv___progname+:} false; then :
! 17515: $as_echo_n "(cached) " >&6
! 17516: else
! 17517:
! 17518: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17519: /* end confdefs.h. */
! 17520:
! 17521: int
! 17522: main ()
! 17523: {
! 17524: extern char *__progname; (void)puts(__progname);
! 17525: ;
! 17526: return 0;
! 17527: }
! 17528: _ACEOF
! 17529: if ac_fn_c_try_link "$LINENO"; then :
! 17530: sudo_cv___progname=yes
! 17531: else
! 17532: sudo_cv___progname=no
! 17533: fi
! 17534: rm -f core conftest.err conftest.$ac_objext \
! 17535: conftest$ac_exeext conftest.$ac_ext
! 17536: fi
! 17537:
! 17538: if test "$sudo_cv___progname" = "yes"; then
! 17539: $as_echo "#define HAVE___PROGNAME 1" >>confdefs.h
! 17540:
! 17541: else
! 17542: case " $LIBOBJS " in
! 17543: *" getprogname.$ac_objext "* ) ;;
! 17544: *) LIBOBJS="$LIBOBJS getprogname.$ac_objext"
! 17545: ;;
! 17546: esac
! 17547:
! 17548: fi
! 17549: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv___progname" >&5
! 17550: $as_echo "$sudo_cv___progname" >&6; }
! 17551:
! 17552: fi
! 17553: done
! 17554:
! 17555:
! 17556: # gettext() and friends may be located in libc (Linux and Solaris)
! 17557: # or in libintl. However, it is possible to have libintl installed
! 17558: # even when gettext() is present in libc. In the case of GNU libintl,
! 17559: # gettext() will be defined to gettext_libintl in libintl.h.
! 17560: # Since gcc prefers /usr/local/include to /usr/include, we need to
! 17561: # make sure we use the gettext() that matches the include file.
! 17562: if test "$enable_nls" != "no"; then
! 17563: if test "$enable_nls" != "yes"; then
! 17564: CPPFLAGS="${CPPFLAGS} -I${enable_nls}/include"
! 17565:
! 17566: if test X"$with_rpath" = X"yes"; then
! 17567: case "$host" in
! 17568: *-*-hpux*) LDFLAGS="${LDFLAGS} -L$enable_nls/lib -Wl,+b,$enable_nls/lib"
! 17569: ;;
! 17570: *) LDFLAGS="${LDFLAGS} -L$enable_nls/lib -Wl,-R$enable_nls/lib"
! 17571: ;;
! 17572: esac
! 17573: else
! 17574: LDFLAGS="${LDFLAGS} -L$enable_nls/lib"
! 17575: fi
! 17576: if test X"$blibpath" != X"" -a "LDFLAGS" = "SUDO_LDFLAGS"; then
! 17577: blibpath_add="${blibpath_add}:$enable_nls/lib"
! 17578: fi
! 17579:
! 17580: fi
! 17581: OLIBS="$LIBS"
! 17582: for l in "libc" "-lintl" "-lintl -liconv"; do
! 17583: if test "$l" = "libc"; then
! 17584: # If user specified a dir for libintl ignore libc
! 17585: if test "$enable_nls" != "yes"; then
! 17586: continue
! 17587: fi
! 17588: gettext_name=sudo_cv_gettext
! 17589: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext" >&5
! 17590: $as_echo_n "checking for gettext... " >&6; }
! 17591: else
! 17592: LIBS="$OLIBS $l"
! 17593: gettext_name=sudo_cv_gettext"`echo $l|sed -e 's/ //g' -e 's/-/_/g'`"
! 17594: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in $l" >&5
! 17595: $as_echo_n "checking for gettext in $l... " >&6; }
! 17596: fi
! 17597: if eval \${$gettext_name+:} false; then :
! 17598: $as_echo_n "(cached) " >&6
! 17599: else
! 17600:
! 17601: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17602: /* end confdefs.h. */
! 17603:
! 17604: #include <libintl.h>
! 17605: int
! 17606: main ()
! 17607: {
! 17608: (void)gettext((char *)0);
! 17609: ;
! 17610: return 0;
! 17611: }
! 17612:
! 17613: _ACEOF
! 17614: if ac_fn_c_try_link "$LINENO"; then :
! 17615: eval $gettext_name=yes
! 17616: else
! 17617: eval $gettext_name=no
! 17618:
! 17619: fi
! 17620: rm -f core conftest.err conftest.$ac_objext \
! 17621: conftest$ac_exeext conftest.$ac_ext
! 17622:
! 17623: fi
! 17624:
! 17625: eval gettext_result="\$$gettext_name"
! 17626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gettext_result" >&5
! 17627: $as_echo "$gettext_result" >&6; }
! 17628: test "$gettext_result" = "yes" && break
! 17629: done
! 17630: LIBS="$OLIBS"
! 17631:
! 17632: if test "$sudo_cv_gettext" = "yes"; then
! 17633: $as_echo "#define HAVE_LIBINTL_H 1" >>confdefs.h
! 17634:
! 17635: SUDO_NLS=enabled
! 17636: elif test "$sudo_cv_gettext_lintl" = "yes"; then
! 17637: $as_echo "#define HAVE_LIBINTL_H 1" >>confdefs.h
! 17638:
! 17639: SUDO_NLS=enabled
! 17640: LIBINTL="-lintl"
! 17641: elif test "$sudo_cv_gettext_lintl_liconv" = "yes"; then
! 17642: $as_echo "#define HAVE_LIBINTL_H 1" >>confdefs.h
! 17643:
! 17644: SUDO_NLS=enabled
! 17645: LIBINTL="-lintl -liconv"
! 17646: fi
! 17647: fi
! 17648:
! 17649: case "$enable_zlib" in
! 17650: yes)
! 17651: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5
! 17652: $as_echo_n "checking for gzdopen in -lz... " >&6; }
! 17653: if ${ac_cv_lib_z_gzdopen+:} false; then :
! 17654: $as_echo_n "(cached) " >&6
! 17655: else
! 17656: ac_check_lib_save_LIBS=$LIBS
! 17657: LIBS="-lz $LIBS"
! 17658: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 17659: /* end confdefs.h. */
! 17660:
! 17661: /* Override any GCC internal prototype to avoid an error.
! 17662: Use char because int might match the return type of a GCC
! 17663: builtin and then its argument prototype would still apply. */
! 17664: #ifdef __cplusplus
! 17665: extern "C"
! 17666: #endif
! 17667: char gzdopen ();
! 17668: int
! 17669: main ()
! 17670: {
! 17671: return gzdopen ();
! 17672: ;
! 17673: return 0;
! 17674: }
! 17675: _ACEOF
! 17676: if ac_fn_c_try_link "$LINENO"; then :
! 17677: ac_cv_lib_z_gzdopen=yes
! 17678: else
! 17679: ac_cv_lib_z_gzdopen=no
! 17680: fi
! 17681: rm -f core conftest.err conftest.$ac_objext \
! 17682: conftest$ac_exeext conftest.$ac_ext
! 17683: LIBS=$ac_check_lib_save_LIBS
! 17684: fi
! 17685: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5
! 17686: $as_echo "$ac_cv_lib_z_gzdopen" >&6; }
! 17687: if test "x$ac_cv_lib_z_gzdopen" = xyes; then :
! 17688:
! 17689: for ac_header in zlib.h
! 17690: do :
! 17691: ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
! 17692: if test "x$ac_cv_header_zlib_h" = xyes; then :
! 17693: cat >>confdefs.h <<_ACEOF
! 17694: #define HAVE_ZLIB_H 1
! 17695: _ACEOF
! 17696: ZLIB="-lz"
! 17697: else
! 17698: enable_zlib=builtin
! 17699: fi
! 17700:
! 17701: done
! 17702:
! 17703:
! 17704: fi
! 17705:
! 17706: ;;
! 17707: no)
! 17708: ;;
! 17709: system)
! 17710: $as_echo "#define HAVE_ZLIB_H 1" >>confdefs.h
! 17711:
! 17712: ZLIB="-lz"
! 17713: ;;
! 17714: builtin)
! 17715: # handled below
! 17716: ;;
! 17717: *)
! 17718: $as_echo "#define HAVE_ZLIB_H 1" >>confdefs.h
! 17719:
! 17720: CPPFLAGS="${CPPFLAGS} -I${enable_zlib}/include"
! 17721:
! 17722: if test X"$with_rpath" = X"yes"; then
! 17723: case "$host" in
! 17724: *-*-hpux*) ZLIB="${ZLIB} -L$enable_zlib/lib -Wl,+b,$enable_zlib/lib"
! 17725: ;;
! 17726: *) ZLIB="${ZLIB} -L$enable_zlib/lib -Wl,-R$enable_zlib/lib"
! 17727: ;;
! 17728: esac
! 17729: else
! 17730: ZLIB="${ZLIB} -L$enable_zlib/lib"
! 17731: fi
! 17732: if test X"$blibpath" != X"" -a "ZLIB" = "SUDO_LDFLAGS"; then
! 17733: blibpath_add="${blibpath_add}:$enable_zlib/lib"
! 17734: fi
! 17735:
! 17736: ZLIB="${ZLIB} -lz"
! 17737: ;;
! 17738: esac
! 17739: if test X"$enable_zlib" = X"builtin"; then
! 17740: $as_echo "#define HAVE_ZLIB_H 1" >>confdefs.h
! 17741:
! 17742: CPPFLAGS="${CPPFLAGS}"' -I$(top_srcdir)/zlib'
! 17743: ZLIB="${ZLIB}"' $(top_builddir)/zlib/libz.la'
! 17744: ZLIB_SRC=zlib
! 17745: ac_config_headers="$ac_config_headers zlib/zconf.h"
! 17746:
! 17747: ac_config_files="$ac_config_files zlib/Makefile"
! 17748:
! 17749: fi
! 17750:
! 17751: ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" "
! 17752: $ac_includes_default
! 17753: #include <errno.h>
! 17754:
! 17755: "
! 17756: if test "x$ac_cv_have_decl_errno" = xyes; then :
! 17757: ac_have_decl=1
! 17758: else
! 17759: ac_have_decl=0
! 17760: fi
! 17761:
! 17762: cat >>confdefs.h <<_ACEOF
! 17763: #define HAVE_DECL_ERRNO $ac_have_decl
! 17764: _ACEOF
! 17765:
! 17766:
! 17767: for ac_func in strsignal
! 17768: do :
! 17769: ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal"
! 17770: if test "x$ac_cv_func_strsignal" = xyes; then :
! 17771: cat >>confdefs.h <<_ACEOF
! 17772: #define HAVE_STRSIGNAL 1
! 17773: _ACEOF
! 17774:
! 17775: else
! 17776:
! 17777: case " $LIBOBJS " in
! 17778: *" strsignal.$ac_objext "* ) ;;
! 17779: *) LIBOBJS="$LIBOBJS strsignal.$ac_objext"
! 17780: ;;
! 17781: esac
! 17782:
! 17783: HAVE_SIGLIST="false"
! 17784: ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "
! 17785: $ac_includes_default
! 17786: #include <signal.h>
! 17787:
! 17788: "
! 17789: if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
! 17790: ac_have_decl=1
! 17791: else
! 17792: ac_have_decl=0
! 17793: fi
! 17794:
! 17795: cat >>confdefs.h <<_ACEOF
! 17796: #define HAVE_DECL_SYS_SIGLIST $ac_have_decl
! 17797: _ACEOF
! 17798: if test $ac_have_decl = 1; then :
! 17799:
! 17800: HAVE_SIGLIST="true"
! 17801: break
! 17802:
! 17803: fi
! 17804: ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "
! 17805: $ac_includes_default
! 17806: #include <signal.h>
! 17807:
! 17808: "
! 17809: if test "x$ac_cv_have_decl__sys_siglist" = xyes; then :
! 17810: ac_have_decl=1
! 17811: else
! 17812: ac_have_decl=0
! 17813: fi
! 17814:
! 17815: cat >>confdefs.h <<_ACEOF
! 17816: #define HAVE_DECL__SYS_SIGLIST $ac_have_decl
! 17817: _ACEOF
! 17818: if test $ac_have_decl = 1; then :
! 17819:
! 17820: HAVE_SIGLIST="true"
! 17821: break
! 17822:
! 17823: fi
! 17824: ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "
! 17825: $ac_includes_default
! 17826: #include <signal.h>
! 17827:
! 17828: "
! 17829: if test "x$ac_cv_have_decl___sys_siglist" = xyes; then :
! 17830: ac_have_decl=1
! 17831: else
! 17832: ac_have_decl=0
! 17833: fi
! 17834:
! 17835: cat >>confdefs.h <<_ACEOF
! 17836: #define HAVE_DECL___SYS_SIGLIST $ac_have_decl
! 17837: _ACEOF
! 17838: if test $ac_have_decl = 1; then :
! 17839:
! 17840: HAVE_SIGLIST="true"
! 17841: break
! 17842:
! 17843: fi
! 17844:
! 17845: if test "$HAVE_SIGLIST" != "true"; then
! 17846: case " $LIBOBJS " in
! 17847: *" siglist.$ac_objext "* ) ;;
! 17848: *) LIBOBJS="$LIBOBJS siglist.$ac_objext"
! 17849: ;;
! 17850: esac
! 17851:
! 17852: fi
! 17853:
! 17854: fi
! 17855: done
! 17856:
! 17857:
! 17858: if test ${with_netsvc-"no"} != "no"; then
! 17859: cat >>confdefs.h <<EOF
! 17860: #define _PATH_NETSVC_CONF "${with_netsvc-/etc/netsvc.conf}"
! 17861: EOF
! 17862:
! 17863: netsvc_conf=${with_netsvc-/etc/netsvc.conf}
! 17864: elif test ${with_nsswitch-"yes"} != "no"; then
! 17865: cat >>confdefs.h <<EOF
! 17866: #define _PATH_NSSWITCH_CONF "${with_nsswitch-/etc/nsswitch.conf}"
! 17867: EOF
! 17868:
! 17869: nsswitch_conf=${with_nsswitch-/etc/nsswitch.conf}
! 17870: fi
! 17871:
! 17872:
! 17873: if test -z "${AUTH_EXCL}${AUTH_REG}" -a -n "$AUTH_EXCL_DEF"; then
! 17874: for auth in $AUTH_EXCL_DEF; do
! 17875: case $auth in
! 17876: AIX_AUTH) with_aixauth=maybe;;
! 17877: BSD_AUTH) with_bsdauth=maybe;;
! 17878: PAM) with_pam=maybe;;
! 17879: SIA) CHECKSIA=true;;
! 17880: esac
! 17881: done
! 17882: fi
! 17883:
! 17884: if test ${with_pam-"no"} != "no"; then
! 17885: # We already link with -ldl (see LIBDL below) so no need for that here.
! 17886: SUDOERS_LIBS="${SUDOERS_LIBS} -lpam"
! 17887:
! 17888: for ac_header in security/pam_appl.h pam/pam_appl.h
! 17889: do :
! 17890: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 17891: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
! 17892: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 17893: cat >>confdefs.h <<_ACEOF
! 17894: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 17895: _ACEOF
! 17896: with_pam=yes; break
! 17897: fi
! 17898:
! 17899: done
! 17900:
! 17901: if test "$with_pam" = "yes"; then
! 17902: $as_echo "#define HAVE_PAM 1" >>confdefs.h
! 17903:
! 17904: AUTH_OBJS="$AUTH_OBJS pam.lo";
! 17905: AUTH_EXCL=PAM
! 17906:
! 17907:
! 17908: # Check whether --with-pam-login was given.
! 17909: if test "${with_pam_login+set}" = set; then :
! 17910: withval=$with_pam_login; case $with_pam_login in
! 17911: yes) $as_echo "#define HAVE_PAM_LOGIN 1" >>confdefs.h
! 17912:
! 17913: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use PAM login" >&5
! 17914: $as_echo_n "checking whether to use PAM login... " >&6; }
! 17915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 17916: $as_echo "yes" >&6; }
! 17917: ;;
! 17918: no) ;;
! 17919: *) as_fn_error $? "\"--with-pam-login does not take an argument.\"" "$LINENO" 5
! 17920: ;;
! 17921: esac
! 17922: fi
! 17923:
! 17924:
! 17925: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use PAM session support" >&5
! 17926: $as_echo_n "checking whether to use PAM session support... " >&6; }
! 17927: # Check whether --enable-pam_session was given.
! 17928: if test "${enable_pam_session+set}" = set; then :
! 17929: enableval=$enable_pam_session; case "$enableval" in
! 17930: yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 17931: $as_echo "yes" >&6; }
! 17932: ;;
! 17933: no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 17934: $as_echo "no" >&6; }
! 17935: $as_echo "#define NO_PAM_SESSION 1" >>confdefs.h
! 17936:
! 17937: ;;
! 17938: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 17939: $as_echo "no" >&6; }
! 17940: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-pam-session: $enableval" >&5
! 17941: $as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-pam-session: $enableval" >&2;}
! 17942: ;;
! 17943: esac
! 17944: else
! 17945: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 17946: $as_echo "yes" >&6; }
! 17947: fi
! 17948:
! 17949: fi
! 17950: fi
! 17951:
! 17952: if test ${with_aixauth-'no'} != "no"; then
! 17953: if test X"$with_aixauth" != X"maybe" -o X"$AUTH_EXCL" = X""; then
! 17954: { $as_echo "$as_me:${as_lineno-$LINENO}: using AIX general authentication" >&5
! 17955: $as_echo "$as_me: using AIX general authentication" >&6;}
! 17956: $as_echo "#define HAVE_AIXAUTH 1" >>confdefs.h
! 17957:
! 17958: AUTH_OBJS="$AUTH_OBJS aix_auth.lo";
! 17959: SUDOERS_LIBS="${SUDOERS_LIBS} -ls"
! 17960: AUTH_EXCL=AIX_AUTH
! 17961: fi
! 17962: fi
! 17963:
! 17964: if test ${with_bsdauth-'no'} != "no"; then
! 17965: ac_fn_c_check_header_mongrel "$LINENO" "bsd_auth.h" "ac_cv_header_bsd_auth_h" "$ac_includes_default"
! 17966: if test "x$ac_cv_header_bsd_auth_h" = xyes; then :
! 17967: $as_echo "#define HAVE_BSD_AUTH_H 1" >>confdefs.h
! 17968:
! 17969: AUTH_OBJS="$AUTH_OBJS bsdauth.lo"
! 17970: BSDAUTH_USAGE='[-a auth_type] '
! 17971: AUTH_EXCL=BSD_AUTH; BAMAN=1
! 17972: else
! 17973: as_fn_error $? "BSD authentication was specified but bsd_auth.h could not be found" "$LINENO" 5
! 17974: fi
! 17975:
! 17976:
! 17977: fi
! 17978:
! 17979: if test ${CHECKSIA-'false'} = "true"; then
! 17980: for ac_func in sia_ses_init
! 17981: do :
! 17982: ac_fn_c_check_func "$LINENO" "sia_ses_init" "ac_cv_func_sia_ses_init"
! 17983: if test "x$ac_cv_func_sia_ses_init" = xyes; then :
! 17984: cat >>confdefs.h <<_ACEOF
! 17985: #define HAVE_SIA_SES_INIT 1
! 17986: _ACEOF
! 17987: found=true
! 17988: else
! 17989: found=false
! 17990: fi
! 17991: done
! 17992:
! 17993: if test "$found" = "true"; then
! 17994: AUTH_EXCL=SIA
! 17995: AUTH_OBJS="$AUTH_OBJS sia.lo"
! 17996: fi
! 17997: fi
! 17998:
! 17999: if test ${with_fwtk-'no'} != "no"; then
! 18000: if test "$with_fwtk" != "yes"; then
! 18001:
! 18002: if test X"$with_rpath" = X"yes"; then
! 18003: case "$host" in
! 18004: *-*-hpux*) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_fwtk} -Wl,+b,${with_fwtk}"
! 18005: ;;
! 18006: *) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_fwtk} -Wl,-R${with_fwtk}"
! 18007: ;;
! 18008: esac
! 18009: else
! 18010: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_fwtk}"
! 18011: fi
! 18012: if test X"$blibpath" != X"" -a "SUDOERS_LDFLAGS" = "SUDO_LDFLAGS"; then
! 18013: blibpath_add="${blibpath_add}:${with_fwtk}"
! 18014: fi
! 18015:
! 18016: CPPFLAGS="${CPPFLAGS} -I${with_fwtk}"
! 18017: with_fwtk=yes
! 18018: fi
! 18019: SUDOERS_LIBS="${SUDOERS_LIBS} -lauth -lfwall"
! 18020: AUTH_OBJS="$AUTH_OBJS fwtk.lo"
! 18021: fi
! 18022:
! 18023: if test ${with_SecurID-'no'} != "no"; then
! 18024: if test "$with_SecurID" != "yes"; then
! 18025: :
! 18026: elif test -d /usr/ace/examples; then
! 18027: with_SecurID=/usr/ace/examples
! 18028: else
! 18029: with_SecurID=/usr/ace
! 18030: fi
! 18031: CPPFLAGS="${CPPFLAGS} -I${with_SecurID}"
! 18032: _LDFLAGS="${LDFLAGS}"
! 18033:
! 18034: if test X"$with_rpath" = X"yes"; then
! 18035: case "$host" in
! 18036: *-*-hpux*) LDFLAGS="${LDFLAGS} -L${with_SecurID} -Wl,+b,${with_SecurID}"
! 18037: ;;
! 18038: *) LDFLAGS="${LDFLAGS} -L${with_SecurID} -Wl,-R${with_SecurID}"
! 18039: ;;
! 18040: esac
! 18041: else
! 18042: LDFLAGS="${LDFLAGS} -L${with_SecurID}"
! 18043: fi
! 18044: if test X"$blibpath" != X"" -a "LDFLAGS" = "SUDO_LDFLAGS"; then
! 18045: blibpath_add="${blibpath_add}:${with_SecurID}"
! 18046: fi
! 18047:
! 18048: #
! 18049: # Determine whether to use the new or old SecurID API
! 18050: #
! 18051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SD_Init in -laceclnt" >&5
! 18052: $as_echo_n "checking for SD_Init in -laceclnt... " >&6; }
! 18053: if ${ac_cv_lib_aceclnt_SD_Init_______lpthread_______+:} false; then :
! 18054: $as_echo_n "(cached) " >&6
! 18055: else
! 18056: ac_check_lib_save_LIBS=$LIBS
! 18057: LIBS="-laceclnt
! 18058: -lpthread
! 18059:
! 18060: $LIBS"
! 18061: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18062: /* end confdefs.h. */
! 18063:
! 18064: /* Override any GCC internal prototype to avoid an error.
! 18065: Use char because int might match the return type of a GCC
! 18066: builtin and then its argument prototype would still apply. */
! 18067: #ifdef __cplusplus
! 18068: extern "C"
! 18069: #endif
! 18070: char SD_Init ();
! 18071: int
! 18072: main ()
! 18073: {
! 18074: return SD_Init ();
! 18075: ;
! 18076: return 0;
! 18077: }
! 18078: _ACEOF
! 18079: if ac_fn_c_try_link "$LINENO"; then :
! 18080: ac_cv_lib_aceclnt_SD_Init_______lpthread_______=yes
! 18081: else
! 18082: ac_cv_lib_aceclnt_SD_Init_______lpthread_______=no
! 18083: fi
! 18084: rm -f core conftest.err conftest.$ac_objext \
! 18085: conftest$ac_exeext conftest.$ac_ext
! 18086: LIBS=$ac_check_lib_save_LIBS
! 18087: fi
! 18088: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aceclnt_SD_Init_______lpthread_______" >&5
! 18089: $as_echo "$ac_cv_lib_aceclnt_SD_Init_______lpthread_______" >&6; }
! 18090: if test "x$ac_cv_lib_aceclnt_SD_Init_______lpthread_______" = xyes; then :
! 18091:
! 18092: AUTH_OBJS="$AUTH_OBJS securid5.lo";
! 18093: SUDOERS_LIBS="${SUDOERS_LIBS} -laceclnt -lpthread"
! 18094:
! 18095:
! 18096:
! 18097: if test X"$with_rpath" = X"yes"; then
! 18098: case "$host" in
! 18099: *-*-hpux*) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_SecurID} -Wl,+b,${with_SecurID}"
! 18100: ;;
! 18101: *) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_SecurID} -Wl,-R${with_SecurID}"
! 18102: ;;
! 18103: esac
! 18104: else
! 18105: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_SecurID}"
! 18106: fi
! 18107: if test X"$blibpath" != X"" -a "SUDOERS_LDFLAGS" = "SUDO_LDFLAGS"; then
! 18108: blibpath_add="${blibpath_add}:${with_SecurID}"
! 18109: fi
! 18110:
! 18111:
! 18112: else
! 18113:
! 18114: AUTH_OBJS="$AUTH_OBJS securid.lo";
! 18115: SUDOERS_LIBS="${SUDOERS_LIBS} ${with_SecurID}/sdiclient.a"
! 18116:
! 18117: fi
! 18118:
! 18119: LDFLAGS="${_LDFLAGS}"
! 18120: fi
! 18121:
! 18122:
! 18123: if test -z "${AUTH_EXCL}" -a -n "$AUTH_DEF"; then
! 18124: for auth in $AUTH_DEF; do
! 18125: case $auth in
! 18126: passwd) : ${with_passwd='maybe'};;
! 18127: esac
! 18128: done
! 18129: fi
! 18130:
! 18131: if test ${with_kerb4-'no'} != "no"; then
! 18132: $as_echo "#define HAVE_KERB4 1" >>confdefs.h
! 18133:
! 18134: O_LDFLAGS="$LDFLAGS"
! 18135: if test "$with_kerb4" = "yes"; then
! 18136: found=no
! 18137: O_CPPFLAGS="$CPPFLAGS"
! 18138: for dir in "" "kerberosIV/" "krb4/" "kerberos4/" "kerberosv4/"; do
! 18139: CPPFLAGS="$O_CPPFLAGS -I/usr/include/${dir}"
! 18140: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18141: /* end confdefs.h. */
! 18142: #include <krb.h>
! 18143: int
! 18144: main ()
! 18145: {
! 18146:
! 18147: ;
! 18148: return 0;
! 18149: }
! 18150: _ACEOF
! 18151: if ac_fn_c_try_cpp "$LINENO"; then :
! 18152: found=yes; break
! 18153: fi
! 18154: rm -f conftest.err conftest.i conftest.$ac_ext
! 18155: done
! 18156: test X"$found" = X"no" && CPPFLAGS="$O_CPPFLAGS"
! 18157: else
! 18158:
! 18159: if test X"$with_rpath" = X"yes"; then
! 18160: case "$host" in
! 18161: *-*-hpux*) LDFLAGS="${LDFLAGS} -L${with_kerb4}/lib -Wl,+b,${with_kerb4}/lib"
! 18162: ;;
! 18163: *) LDFLAGS="${LDFLAGS} -L${with_kerb4}/lib -Wl,-R${with_kerb4}/lib"
! 18164: ;;
! 18165: esac
! 18166: else
! 18167: LDFLAGS="${LDFLAGS} -L${with_kerb4}/lib"
! 18168: fi
! 18169: if test X"$blibpath" != X"" -a "LDFLAGS" = "SUDO_LDFLAGS"; then
! 18170: blibpath_add="${blibpath_add}:${with_kerb4}/lib"
! 18171: fi
! 18172:
! 18173:
! 18174: if test X"$with_rpath" = X"yes"; then
! 18175: case "$host" in
! 18176: *-*-hpux*) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_kerb4}/lib -Wl,+b,${with_kerb4}/lib"
! 18177: ;;
! 18178: *) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_kerb4}/lib -Wl,-R${with_kerb4}/lib"
! 18179: ;;
! 18180: esac
! 18181: else
! 18182: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_kerb4}/lib"
! 18183: fi
! 18184: if test X"$blibpath" != X"" -a "SUDOERS_LDFLAGS" = "SUDO_LDFLAGS"; then
! 18185: blibpath_add="${blibpath_add}:${with_kerb4}/lib"
! 18186: fi
! 18187:
! 18188: CPPFLAGS="$CPPFLAGS -I${with_kerb4}/include"
! 18189: ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default"
! 18190: if test "x$ac_cv_header_krb_h" = xyes; then :
! 18191: found=yes
! 18192: else
! 18193: found=no
! 18194: fi
! 18195:
! 18196:
! 18197: fi
! 18198: if test X"$found" = X"no"; then
! 18199: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to locate Kerberos IV include files, you will have to edit the Makefile and add -I/path/to/krb/includes to CPPFLAGS" >&5
! 18200: $as_echo "$as_me: WARNING: Unable to locate Kerberos IV include files, you will have to edit the Makefile and add -I/path/to/krb/includes to CPPFLAGS" >&2;}
! 18201: fi
! 18202:
! 18203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5
! 18204: $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
! 18205: if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then :
! 18206: $as_echo_n "(cached) " >&6
! 18207: else
! 18208: ac_check_lib_save_LIBS=$LIBS
! 18209: LIBS="-ldes $LIBS"
! 18210: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18211: /* end confdefs.h. */
! 18212:
! 18213: /* Override any GCC internal prototype to avoid an error.
! 18214: Use char because int might match the return type of a GCC
! 18215: builtin and then its argument prototype would still apply. */
! 18216: #ifdef __cplusplus
! 18217: extern "C"
! 18218: #endif
! 18219: char des_cbc_encrypt ();
! 18220: int
! 18221: main ()
! 18222: {
! 18223: return des_cbc_encrypt ();
! 18224: ;
! 18225: return 0;
! 18226: }
! 18227: _ACEOF
! 18228: if ac_fn_c_try_link "$LINENO"; then :
! 18229: ac_cv_lib_des_des_cbc_encrypt=yes
! 18230: else
! 18231: ac_cv_lib_des_des_cbc_encrypt=no
! 18232: fi
! 18233: rm -f core conftest.err conftest.$ac_objext \
! 18234: conftest$ac_exeext conftest.$ac_ext
! 18235: LIBS=$ac_check_lib_save_LIBS
! 18236: fi
! 18237: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
! 18238: $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
! 18239: if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then :
! 18240: K4LIBS="-ldes"
! 18241: else
! 18242:
! 18243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5
! 18244: $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
! 18245: if ${ac_cv_lib_des425_des_cbc_encrypt+:} false; then :
! 18246: $as_echo_n "(cached) " >&6
! 18247: else
! 18248: ac_check_lib_save_LIBS=$LIBS
! 18249: LIBS="-ldes425 $LIBS"
! 18250: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18251: /* end confdefs.h. */
! 18252:
! 18253: /* Override any GCC internal prototype to avoid an error.
! 18254: Use char because int might match the return type of a GCC
! 18255: builtin and then its argument prototype would still apply. */
! 18256: #ifdef __cplusplus
! 18257: extern "C"
! 18258: #endif
! 18259: char des_cbc_encrypt ();
! 18260: int
! 18261: main ()
! 18262: {
! 18263: return des_cbc_encrypt ();
! 18264: ;
! 18265: return 0;
! 18266: }
! 18267: _ACEOF
! 18268: if ac_fn_c_try_link "$LINENO"; then :
! 18269: ac_cv_lib_des425_des_cbc_encrypt=yes
! 18270: else
! 18271: ac_cv_lib_des425_des_cbc_encrypt=no
! 18272: fi
! 18273: rm -f core conftest.err conftest.$ac_objext \
! 18274: conftest$ac_exeext conftest.$ac_ext
! 18275: LIBS=$ac_check_lib_save_LIBS
! 18276: fi
! 18277: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
! 18278: $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
! 18279: if test "x$ac_cv_lib_des425_des_cbc_encrypt" = xyes; then :
! 18280: K4LIBS="-ldes425"
! 18281: else
! 18282: K4LIBS=""
! 18283: fi
! 18284:
! 18285:
! 18286: fi
! 18287:
! 18288: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using KTH Kerberos IV" >&5
! 18289: $as_echo_n "checking whether we are using KTH Kerberos IV... " >&6; }
! 18290: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18291: /* end confdefs.h. */
! 18292: #include <krb.h>
! 18293: int
! 18294: main ()
! 18295: {
! 18296: const char *tmp = krb4_version;
! 18297: ;
! 18298: return 0;
! 18299: }
! 18300: _ACEOF
! 18301: if ac_fn_c_try_compile "$LINENO"; then :
! 18302:
! 18303: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 18304: $as_echo "yes" >&6; }
! 18305: K4LIBS="${K4LIBS} -lcom_err"
! 18306: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lroken" >&5
! 18307: $as_echo_n "checking for main in -lroken... " >&6; }
! 18308: if ${ac_cv_lib_roken_main+:} false; then :
! 18309: $as_echo_n "(cached) " >&6
! 18310: else
! 18311: ac_check_lib_save_LIBS=$LIBS
! 18312: LIBS="-lroken $LIBS"
! 18313: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18314: /* end confdefs.h. */
! 18315:
! 18316:
! 18317: int
! 18318: main ()
! 18319: {
! 18320: return main ();
! 18321: ;
! 18322: return 0;
! 18323: }
! 18324: _ACEOF
! 18325: if ac_fn_c_try_link "$LINENO"; then :
! 18326: ac_cv_lib_roken_main=yes
! 18327: else
! 18328: ac_cv_lib_roken_main=no
! 18329: fi
! 18330: rm -f core conftest.err conftest.$ac_objext \
! 18331: conftest$ac_exeext conftest.$ac_ext
! 18332: LIBS=$ac_check_lib_save_LIBS
! 18333: fi
! 18334: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_roken_main" >&5
! 18335: $as_echo "$ac_cv_lib_roken_main" >&6; }
! 18336: if test "x$ac_cv_lib_roken_main" = xyes; then :
! 18337: K4LIBS="${K4LIBS} -lroken"
! 18338: fi
! 18339:
! 18340:
! 18341: else
! 18342:
! 18343: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 18344: $as_echo "no" >&6; }
! 18345:
! 18346:
! 18347: fi
! 18348: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 18349: as_ac_Lib=`$as_echo "ac_cv_lib_krb_main$K4LIBS" | $as_tr_sh`
! 18350: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkrb" >&5
! 18351: $as_echo_n "checking for main in -lkrb... " >&6; }
! 18352: if eval \${$as_ac_Lib+:} false; then :
! 18353: $as_echo_n "(cached) " >&6
! 18354: else
! 18355: ac_check_lib_save_LIBS=$LIBS
! 18356: LIBS="-lkrb $K4LIBS $LIBS"
! 18357: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18358: /* end confdefs.h. */
! 18359:
! 18360:
! 18361: int
! 18362: main ()
! 18363: {
! 18364: return main ();
! 18365: ;
! 18366: return 0;
! 18367: }
! 18368: _ACEOF
! 18369: if ac_fn_c_try_link "$LINENO"; then :
! 18370: eval "$as_ac_Lib=yes"
! 18371: else
! 18372: eval "$as_ac_Lib=no"
! 18373: fi
! 18374: rm -f core conftest.err conftest.$ac_objext \
! 18375: conftest$ac_exeext conftest.$ac_ext
! 18376: LIBS=$ac_check_lib_save_LIBS
! 18377: fi
! 18378: eval ac_res=\$$as_ac_Lib
! 18379: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 18380: $as_echo "$ac_res" >&6; }
! 18381: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
! 18382: K4LIBS="-lkrb $K4LIBS"
! 18383: else
! 18384:
! 18385: as_ac_Lib=`$as_echo "ac_cv_lib_krb4_main$K4LIBS" | $as_tr_sh`
! 18386: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkrb4" >&5
! 18387: $as_echo_n "checking for main in -lkrb4... " >&6; }
! 18388: if eval \${$as_ac_Lib+:} false; then :
! 18389: $as_echo_n "(cached) " >&6
! 18390: else
! 18391: ac_check_lib_save_LIBS=$LIBS
! 18392: LIBS="-lkrb4 $K4LIBS $LIBS"
! 18393: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18394: /* end confdefs.h. */
! 18395:
! 18396:
! 18397: int
! 18398: main ()
! 18399: {
! 18400: return main ();
! 18401: ;
! 18402: return 0;
! 18403: }
! 18404: _ACEOF
! 18405: if ac_fn_c_try_link "$LINENO"; then :
! 18406: eval "$as_ac_Lib=yes"
! 18407: else
! 18408: eval "$as_ac_Lib=no"
! 18409: fi
! 18410: rm -f core conftest.err conftest.$ac_objext \
! 18411: conftest$ac_exeext conftest.$ac_ext
! 18412: LIBS=$ac_check_lib_save_LIBS
! 18413: fi
! 18414: eval ac_res=\$$as_ac_Lib
! 18415: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 18416: $as_echo "$ac_res" >&6; }
! 18417: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
! 18418: K4LIBS="-lkrb4 $K4LIBS"
! 18419: else
! 18420: K4LIBS="-lkrb $K4LIBS"
! 18421: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to locate Kerberos IV libraries, you will have to edit the Makefile and add -L/path/to/krb/libs to SUDOERS_LDFLAGS and possibly add Kerberos libs to SUDOERS_LIBS" >&5
! 18422: $as_echo "$as_me: WARNING: Unable to locate Kerberos IV libraries, you will have to edit the Makefile and add -L/path/to/krb/libs to SUDOERS_LDFLAGS and possibly add Kerberos libs to SUDOERS_LIBS" >&2;}
! 18423:
! 18424: fi
! 18425:
! 18426:
! 18427: fi
! 18428:
! 18429: LDFLAGS="$O_LDFLAGS"
! 18430: SUDOERS_LIBS="${SUDOERS_LIBS} $K4LIBS"
! 18431: AUTH_OBJS="$AUTH_OBJS kerb4.lo"
! 18432: fi
! 18433:
! 18434: if test ${with_kerb5-'no'} != "no"; then
! 18435: # Extract the first word of "krb5-config", so it can be a program name with args.
! 18436: set dummy krb5-config; ac_word=$2
! 18437: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 18438: $as_echo_n "checking for $ac_word... " >&6; }
! 18439: if ${ac_cv_prog_KRB5CONFIG+:} false; then :
! 18440: $as_echo_n "(cached) " >&6
! 18441: else
! 18442: if test -n "$KRB5CONFIG"; then
! 18443: ac_cv_prog_KRB5CONFIG="$KRB5CONFIG" # Let the user override the test.
! 18444: else
! 18445: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 18446: for as_dir in $PATH
! 18447: do
! 18448: IFS=$as_save_IFS
! 18449: test -z "$as_dir" && as_dir=.
! 18450: for ac_exec_ext in '' $ac_executable_extensions; do
! 18451: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 18452: ac_cv_prog_KRB5CONFIG="yes"
! 18453: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 18454: break 2
! 18455: fi
! 18456: done
! 18457: done
! 18458: IFS=$as_save_IFS
! 18459:
! 18460: test -z "$ac_cv_prog_KRB5CONFIG" && ac_cv_prog_KRB5CONFIG=""""
! 18461: fi
! 18462: fi
! 18463: KRB5CONFIG=$ac_cv_prog_KRB5CONFIG
! 18464: if test -n "$KRB5CONFIG"; then
! 18465: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5CONFIG" >&5
! 18466: $as_echo "$KRB5CONFIG" >&6; }
! 18467: else
! 18468: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 18469: $as_echo "no" >&6; }
! 18470: fi
! 18471:
! 18472:
! 18473: if test -n "$KRB5CONFIG"; then
! 18474: $as_echo "#define HAVE_KERB5 1" >>confdefs.h
! 18475:
! 18476: AUTH_OBJS="$AUTH_OBJS kerb5.lo"
! 18477: CPPFLAGS="$CPPFLAGS `krb5-config --cflags`"
! 18478: SUDOERS_LIBS="$SUDOERS_LIBS `krb5-config --libs`"
! 18479: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Heimdal" >&5
! 18480: $as_echo_n "checking whether we are using Heimdal... " >&6; }
! 18481: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18482: /* end confdefs.h. */
! 18483: #include <krb5.h>
! 18484: int
! 18485: main ()
! 18486: {
! 18487: const char *tmp = heimdal_version;
! 18488: ;
! 18489: return 0;
! 18490: }
! 18491: _ACEOF
! 18492: if ac_fn_c_try_compile "$LINENO"; then :
! 18493:
! 18494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 18495: $as_echo "yes" >&6; }
! 18496: $as_echo "#define HAVE_HEIMDAL 1" >>confdefs.h
! 18497:
! 18498:
! 18499: else
! 18500:
! 18501: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 18502: $as_echo "no" >&6; }
! 18503:
! 18504:
! 18505: fi
! 18506: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 18507: else
! 18508: $as_echo "#define HAVE_KERB5 1" >>confdefs.h
! 18509:
! 18510: if test "$with_kerb5" = "yes"; then
! 18511: found=no
! 18512: O_CPPFLAGS="$CPPFLAGS"
! 18513: for dir in "" "kerberosV/" "krb5/" "kerberos5/" "kerberosv5/"; do
! 18514: CPPFLAGS="$O_CPPFLAGS -I/usr/include/${dir}"
! 18515: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18516: /* end confdefs.h. */
! 18517: #include <krb5.h>
! 18518: int
! 18519: main ()
! 18520: {
! 18521:
! 18522: ;
! 18523: return 0;
! 18524: }
! 18525: _ACEOF
! 18526: if ac_fn_c_try_cpp "$LINENO"; then :
! 18527: found=yes; break
! 18528: fi
! 18529: rm -f conftest.err conftest.i conftest.$ac_ext
! 18530: done
! 18531: if test X"$found" = X"no"; then
! 18532: CPPFLAGS="$O_CPPFLAGS"
! 18533: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to locate Kerberos V include files, you will have to edit the Makefile and add -I/path/to/krb/includes to CPPFLAGS" >&5
! 18534: $as_echo "$as_me: WARNING: Unable to locate Kerberos V include files, you will have to edit the Makefile and add -I/path/to/krb/includes to CPPFLAGS" >&2;}
! 18535: fi
! 18536: else
! 18537:
! 18538: if test X"$with_rpath" = X"yes"; then
! 18539: case "$host" in
! 18540: *-*-hpux*) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_kerb5}/lib -Wl,+b,${with_kerb5}/lib"
! 18541: ;;
! 18542: *) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_kerb5}/lib -Wl,-R${with_kerb5}/lib"
! 18543: ;;
! 18544: esac
! 18545: else
! 18546: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_kerb5}/lib"
! 18547: fi
! 18548: if test X"$blibpath" != X"" -a "SUDOERS_LDFLAGS" = "SUDO_LDFLAGS"; then
! 18549: blibpath_add="${blibpath_add}:${with_kerb5}/lib"
! 18550: fi
! 18551:
! 18552: CPPFLAGS="$CPPFLAGS -I${with_kerb5}/include"
! 18553: fi
! 18554:
! 18555: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Heimdal" >&5
! 18556: $as_echo_n "checking whether we are using Heimdal... " >&6; }
! 18557: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18558: /* end confdefs.h. */
! 18559: #include <krb5.h>
! 18560: int
! 18561: main ()
! 18562: {
! 18563: const char *tmp = heimdal_version;
! 18564: ;
! 18565: return 0;
! 18566: }
! 18567: _ACEOF
! 18568: if ac_fn_c_try_compile "$LINENO"; then :
! 18569:
! 18570: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 18571: $as_echo "yes" >&6; }
! 18572: $as_echo "#define HAVE_HEIMDAL 1" >>confdefs.h
! 18573:
! 18574: # XXX - need to check whether -lcrypo is needed!
! 18575: SUDOERS_LIBS="${SUDOERS_LIBS} -lkrb5 -lcrypto -ldes -lcom_err -lasn1"
! 18576: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lroken" >&5
! 18577: $as_echo_n "checking for main in -lroken... " >&6; }
! 18578: if ${ac_cv_lib_roken_main+:} false; then :
! 18579: $as_echo_n "(cached) " >&6
! 18580: else
! 18581: ac_check_lib_save_LIBS=$LIBS
! 18582: LIBS="-lroken $LIBS"
! 18583: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18584: /* end confdefs.h. */
! 18585:
! 18586:
! 18587: int
! 18588: main ()
! 18589: {
! 18590: return main ();
! 18591: ;
! 18592: return 0;
! 18593: }
! 18594: _ACEOF
! 18595: if ac_fn_c_try_link "$LINENO"; then :
! 18596: ac_cv_lib_roken_main=yes
! 18597: else
! 18598: ac_cv_lib_roken_main=no
! 18599: fi
! 18600: rm -f core conftest.err conftest.$ac_objext \
! 18601: conftest$ac_exeext conftest.$ac_ext
! 18602: LIBS=$ac_check_lib_save_LIBS
! 18603: fi
! 18604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_roken_main" >&5
! 18605: $as_echo "$ac_cv_lib_roken_main" >&6; }
! 18606: if test "x$ac_cv_lib_roken_main" = xyes; then :
! 18607: SUDOERS_LIBS="${SUDOERS_LIBS} -lroken"
! 18608: fi
! 18609:
! 18610:
! 18611: else
! 18612:
! 18613: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 18614: $as_echo "no" >&6; }
! 18615: SUDOERS_LIBS="${SUDOERS_LIBS} -lkrb5 -lk5crypto -lcom_err"
! 18616: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkrb5support" >&5
! 18617: $as_echo_n "checking for main in -lkrb5support... " >&6; }
! 18618: if ${ac_cv_lib_krb5support_main+:} false; then :
! 18619: $as_echo_n "(cached) " >&6
! 18620: else
! 18621: ac_check_lib_save_LIBS=$LIBS
! 18622: LIBS="-lkrb5support $LIBS"
! 18623: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18624: /* end confdefs.h. */
! 18625:
! 18626:
! 18627: int
! 18628: main ()
! 18629: {
! 18630: return main ();
! 18631: ;
! 18632: return 0;
! 18633: }
! 18634: _ACEOF
! 18635: if ac_fn_c_try_link "$LINENO"; then :
! 18636: ac_cv_lib_krb5support_main=yes
! 18637: else
! 18638: ac_cv_lib_krb5support_main=no
! 18639: fi
! 18640: rm -f core conftest.err conftest.$ac_objext \
! 18641: conftest$ac_exeext conftest.$ac_ext
! 18642: LIBS=$ac_check_lib_save_LIBS
! 18643: fi
! 18644: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_main" >&5
! 18645: $as_echo "$ac_cv_lib_krb5support_main" >&6; }
! 18646: if test "x$ac_cv_lib_krb5support_main" = xyes; then :
! 18647: SUDOERS_LIBS="${SUDOERS_LIBS} -lkrb5support"
! 18648: fi
! 18649:
! 18650:
! 18651: fi
! 18652: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 18653: AUTH_OBJS="$AUTH_OBJS kerb5.lo"
! 18654: fi
! 18655: _LIBS="$LIBS"
! 18656: LIBS="${LIBS} ${SUDOERS_LIBS}"
! 18657: for ac_func in krb5_verify_user krb5_init_secure_context
! 18658: do :
! 18659: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 18660: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 18661: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 18662: cat >>confdefs.h <<_ACEOF
! 18663: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 18664: _ACEOF
! 18665:
! 18666: fi
! 18667: done
! 18668:
! 18669: for ac_func in krb5_get_init_creds_opt_alloc
! 18670: do :
! 18671: ac_fn_c_check_func "$LINENO" "krb5_get_init_creds_opt_alloc" "ac_cv_func_krb5_get_init_creds_opt_alloc"
! 18672: if test "x$ac_cv_func_krb5_get_init_creds_opt_alloc" = xyes; then :
! 18673: cat >>confdefs.h <<_ACEOF
! 18674: #define HAVE_KRB5_GET_INIT_CREDS_OPT_ALLOC 1
! 18675: _ACEOF
! 18676:
! 18677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether krb5_get_init_creds_opt_free takes a context" >&5
! 18678: $as_echo_n "checking whether krb5_get_init_creds_opt_free takes a context... " >&6; }
! 18679: if ${sudo_cv_krb5_get_init_creds_opt_free_two_args+:} false; then :
! 18680: $as_echo_n "(cached) " >&6
! 18681: else
! 18682:
! 18683: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18684: /* end confdefs.h. */
! 18685: #include <krb5.h>
! 18686: int
! 18687: main ()
! 18688: {
! 18689: krb5_get_init_creds_opt_free(NULL, NULL);
! 18690:
! 18691: ;
! 18692: return 0;
! 18693: }
! 18694: _ACEOF
! 18695: if ac_fn_c_try_compile "$LINENO"; then :
! 18696: sudo_cv_krb5_get_init_creds_opt_free_two_args=yes
! 18697: else
! 18698: sudo_cv_krb5_get_init_creds_opt_free_two_args=no
! 18699:
! 18700: fi
! 18701: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 18702:
! 18703:
! 18704: fi
! 18705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_krb5_get_init_creds_opt_free_two_args" >&5
! 18706: $as_echo "$sudo_cv_krb5_get_init_creds_opt_free_two_args" >&6; }
! 18707:
! 18708: fi
! 18709: done
! 18710:
! 18711: if test X"$sudo_cv_krb5_get_init_creds_opt_free_two_args" = X"yes"; then
! 18712: $as_echo "#define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_TWO_ARGS 1" >>confdefs.h
! 18713:
! 18714: fi
! 18715: LIBS="$_LIBS"
! 18716: fi
! 18717:
! 18718: if test ${with_AFS-'no'} = "yes"; then
! 18719:
! 18720: # looks like the "standard" place for AFS libs is /usr/afsws/lib
! 18721: AFSLIBDIRS="/usr/lib/afs /usr/afsws/lib /usr/afsws/lib/afs"
! 18722: for i in $AFSLIBDIRS; do
! 18723: if test -d ${i}; then
! 18724:
! 18725: if test X"$with_rpath" = X"yes"; then
! 18726: case "$host" in
! 18727: *-*-hpux*) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L$i -Wl,+b,$i"
! 18728: ;;
! 18729: *) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L$i -Wl,-R$i"
! 18730: ;;
! 18731: esac
! 18732: else
! 18733: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L$i"
! 18734: fi
! 18735: if test X"$blibpath" != X"" -a "SUDOERS_LDFLAGS" = "SUDO_LDFLAGS"; then
! 18736: blibpath_add="${blibpath_add}:$i"
! 18737: fi
! 18738:
! 18739: FOUND_AFSLIBDIR=true
! 18740: fi
! 18741: done
! 18742: if test -z "$FOUND_AFSLIBDIR"; then
! 18743: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to locate AFS libraries, you will have to edit the Makefile and add -L/path/to/afs/libs to SUDOERS_LDFLAGS or rerun configure with the --with-libpath options." >&5
! 18744: $as_echo "$as_me: WARNING: Unable to locate AFS libraries, you will have to edit the Makefile and add -L/path/to/afs/libs to SUDOERS_LDFLAGS or rerun configure with the --with-libpath options." >&2;}
! 18745: fi
! 18746:
! 18747: # Order is important here. Note that we build AFS_LIBS from right to left
! 18748: # since AFS_LIBS may be initialized with BSD compat libs that must go last
! 18749: AFS_LIBS="-laudit ${AFS_LIBS}"
! 18750: for i in $AFSLIBDIRS; do
! 18751: if test -f ${i}/util.a; then
! 18752: AFS_LIBS="${i}/util.a ${AFS_LIBS}"
! 18753: FOUND_UTIL_A=true
! 18754: break;
! 18755: fi
! 18756: done
! 18757: if test -z "$FOUND_UTIL_A"; then
! 18758: AFS_LIBS="-lutil ${AFS_LIBS}"
! 18759: fi
! 18760: AFS_LIBS="-lkauth -lprot -lubik -lauth -lrxkad -lsys -ldes -lrx -llwp -lcom_err ${AFS_LIBS}"
! 18761:
! 18762: # AFS includes may live in /usr/include on some machines...
! 18763: for i in /usr/afsws/include; do
! 18764: if test -d ${i}; then
! 18765: CPPFLAGS="${CPPFLAGS} -I${i}"
! 18766: FOUND_AFSINCDIR=true
! 18767: fi
! 18768: done
! 18769:
! 18770: if test -z "$FOUND_AFSLIBDIR"; then
! 18771: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to locate AFS include dir, you may have to edit the Makefile and add -I/path/to/afs/includes to CPPFLAGS or rerun configure with the --with-incpath options." >&5
! 18772: $as_echo "$as_me: WARNING: Unable to locate AFS include dir, you may have to edit the Makefile and add -I/path/to/afs/includes to CPPFLAGS or rerun configure with the --with-incpath options." >&2;}
! 18773: fi
! 18774:
! 18775: AUTH_OBJS="$AUTH_OBJS afs.lo"
! 18776: fi
! 18777:
! 18778: if test ${with_DCE-'no'} = "yes"; then
! 18779: DCE_OBJS="${DCE_OBJS} dce_pwent.o"
! 18780: SUDOERS_LIBS="${SUDOERS_LIBS} -ldce"
! 18781: AUTH_OBJS="$AUTH_OBJS dce.lo"
! 18782: fi
! 18783:
! 18784: if test "${with_skey-'no'}" = "yes"; then
! 18785: O_LDFLAGS="$LDFLAGS"
! 18786: if test "$with_skey" != "yes"; then
! 18787: CPPFLAGS="${CPPFLAGS} -I${with_skey}/include"
! 18788:
! 18789: if test X"$with_rpath" = X"yes"; then
! 18790: case "$host" in
! 18791: *-*-hpux*) LDFLAGS="${LDFLAGS} -L${with_skey}/lib -Wl,+b,${with_skey}/lib"
! 18792: ;;
! 18793: *) LDFLAGS="${LDFLAGS} -L${with_skey}/lib -Wl,-R${with_skey}/lib"
! 18794: ;;
! 18795: esac
! 18796: else
! 18797: LDFLAGS="${LDFLAGS} -L${with_skey}/lib"
! 18798: fi
! 18799: if test X"$blibpath" != X"" -a "LDFLAGS" = "SUDO_LDFLAGS"; then
! 18800: blibpath_add="${blibpath_add}:${with_skey}/lib"
! 18801: fi
! 18802:
! 18803:
! 18804: if test X"$with_rpath" = X"yes"; then
! 18805: case "$host" in
! 18806: *-*-hpux*) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_skey}/lib -Wl,+b,${with_skey}/lib"
! 18807: ;;
! 18808: *) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_skey}/lib -Wl,-R${with_skey}/lib"
! 18809: ;;
! 18810: esac
! 18811: else
! 18812: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_skey}/lib"
! 18813: fi
! 18814: if test X"$blibpath" != X"" -a "SUDOERS_LDFLAGS" = "SUDO_LDFLAGS"; then
! 18815: blibpath_add="${blibpath_add}:${with_skey}/lib"
! 18816: fi
! 18817:
! 18818: ac_fn_c_check_header_compile "$LINENO" "skey.h" "ac_cv_header_skey_h" "#include <stdio.h>
! 18819: "
! 18820: if test "x$ac_cv_header_skey_h" = xyes; then :
! 18821: found=yes
! 18822: else
! 18823: found=no
! 18824: fi
! 18825:
! 18826:
! 18827: else
! 18828: found=no
! 18829: O_CPPFLAGS="$CPPFLAGS"
! 18830: for dir in "" "/usr/local" "/usr/contrib"; do
! 18831: test -n "$dir" && CPPFLAGS="$O_CPPFLAGS -I${dir}/include"
! 18832: ac_fn_c_check_header_compile "$LINENO" "skey.h" "ac_cv_header_skey_h" "#include <stdio.h>
! 18833: "
! 18834: if test "x$ac_cv_header_skey_h" = xyes; then :
! 18835: found=yes; break
! 18836: fi
! 18837:
! 18838:
! 18839: done
! 18840: if test "$found" = "no" -o -z "$dir"; then
! 18841: CPPFLAGS="$O_CPPFLAGS"
! 18842: else
! 18843:
! 18844: if test X"$with_rpath" = X"yes"; then
! 18845: case "$host" in
! 18846: *-*-hpux*) LDFLAGS="${LDFLAGS} -L${dir}/lib -Wl,+b,${dir}/lib"
! 18847: ;;
! 18848: *) LDFLAGS="${LDFLAGS} -L${dir}/lib -Wl,-R${dir}/lib"
! 18849: ;;
! 18850: esac
! 18851: else
! 18852: LDFLAGS="${LDFLAGS} -L${dir}/lib"
! 18853: fi
! 18854: if test X"$blibpath" != X"" -a "LDFLAGS" = "SUDO_LDFLAGS"; then
! 18855: blibpath_add="${blibpath_add}:${dir}/lib"
! 18856: fi
! 18857:
! 18858:
! 18859: if test X"$with_rpath" = X"yes"; then
! 18860: case "$host" in
! 18861: *-*-hpux*) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${dir}/lib -Wl,+b,${dir}/lib"
! 18862: ;;
! 18863: *) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${dir}/lib -Wl,-R${dir}/lib"
! 18864: ;;
! 18865: esac
! 18866: else
! 18867: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${dir}/lib"
! 18868: fi
! 18869: if test X"$blibpath" != X"" -a "SUDOERS_LDFLAGS" = "SUDO_LDFLAGS"; then
! 18870: blibpath_add="${blibpath_add}:${dir}/lib"
! 18871: fi
! 18872:
! 18873: fi
! 18874: if test "$found" = "no"; then
! 18875: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to locate skey.h, you will have to edit the Makefile and add -I/path/to/skey/includes to CPPFLAGS" >&5
! 18876: $as_echo "$as_me: WARNING: Unable to locate skey.h, you will have to edit the Makefile and add -I/path/to/skey/includes to CPPFLAGS" >&2;}
! 18877: fi
! 18878: fi
! 18879: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lskey" >&5
! 18880: $as_echo_n "checking for main in -lskey... " >&6; }
! 18881: if ${ac_cv_lib_skey_main+:} false; then :
! 18882: $as_echo_n "(cached) " >&6
! 18883: else
! 18884: ac_check_lib_save_LIBS=$LIBS
! 18885: LIBS="-lskey $LIBS"
! 18886: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18887: /* end confdefs.h. */
! 18888:
! 18889:
! 18890: int
! 18891: main ()
! 18892: {
! 18893: return main ();
! 18894: ;
! 18895: return 0;
! 18896: }
! 18897: _ACEOF
! 18898: if ac_fn_c_try_link "$LINENO"; then :
! 18899: ac_cv_lib_skey_main=yes
! 18900: else
! 18901: ac_cv_lib_skey_main=no
! 18902: fi
! 18903: rm -f core conftest.err conftest.$ac_objext \
! 18904: conftest$ac_exeext conftest.$ac_ext
! 18905: LIBS=$ac_check_lib_save_LIBS
! 18906: fi
! 18907: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_skey_main" >&5
! 18908: $as_echo "$ac_cv_lib_skey_main" >&6; }
! 18909: if test "x$ac_cv_lib_skey_main" = xyes; then :
! 18910: found=yes
! 18911: else
! 18912: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to locate libskey.a, you will have to edit the Makefile and add -L/path/to/skey/lib to SUDOERS_LDFLAGS" >&5
! 18913: $as_echo "$as_me: WARNING: Unable to locate libskey.a, you will have to edit the Makefile and add -L/path/to/skey/lib to SUDOERS_LDFLAGS" >&2;}
! 18914: fi
! 18915:
! 18916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for skeyaccess in -lskey" >&5
! 18917: $as_echo_n "checking for skeyaccess in -lskey... " >&6; }
! 18918: if ${ac_cv_lib_skey_skeyaccess+:} false; then :
! 18919: $as_echo_n "(cached) " >&6
! 18920: else
! 18921: ac_check_lib_save_LIBS=$LIBS
! 18922: LIBS="-lskey $LIBS"
! 18923: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18924: /* end confdefs.h. */
! 18925:
! 18926: /* Override any GCC internal prototype to avoid an error.
! 18927: Use char because int might match the return type of a GCC
! 18928: builtin and then its argument prototype would still apply. */
! 18929: #ifdef __cplusplus
! 18930: extern "C"
! 18931: #endif
! 18932: char skeyaccess ();
! 18933: int
! 18934: main ()
! 18935: {
! 18936: return skeyaccess ();
! 18937: ;
! 18938: return 0;
! 18939: }
! 18940: _ACEOF
! 18941: if ac_fn_c_try_link "$LINENO"; then :
! 18942: ac_cv_lib_skey_skeyaccess=yes
! 18943: else
! 18944: ac_cv_lib_skey_skeyaccess=no
! 18945: fi
! 18946: rm -f core conftest.err conftest.$ac_objext \
! 18947: conftest$ac_exeext conftest.$ac_ext
! 18948: LIBS=$ac_check_lib_save_LIBS
! 18949: fi
! 18950: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_skey_skeyaccess" >&5
! 18951: $as_echo "$ac_cv_lib_skey_skeyaccess" >&6; }
! 18952: if test "x$ac_cv_lib_skey_skeyaccess" = xyes; then :
! 18953: $as_echo "#define HAVE_SKEYACCESS 1" >>confdefs.h
! 18954:
! 18955: fi
! 18956:
! 18957:
! 18958: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RFC1938-compliant skeychallenge" >&5
! 18959: $as_echo_n "checking for RFC1938-compliant skeychallenge... " >&6; }
! 18960: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 18961: /* end confdefs.h. */
! 18962: #include <stdio.h>
! 18963: #include <skey.h>
! 18964: int
! 18965: main ()
! 18966: {
! 18967: skeychallenge(NULL, NULL, NULL, 0);
! 18968:
! 18969: ;
! 18970: return 0;
! 18971: }
! 18972: _ACEOF
! 18973: if ac_fn_c_try_compile "$LINENO"; then :
! 18974:
! 18975: $as_echo "#define HAVE_RFC1938_SKEYCHALLENGE 1" >>confdefs.h
! 18976:
! 18977: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 18978: $as_echo "yes" >&6; }
! 18979:
! 18980: else
! 18981:
! 18982: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 18983: $as_echo "no" >&6; }
! 18984:
! 18985:
! 18986: fi
! 18987: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 18988:
! 18989: LDFLAGS="$O_LDFLAGS"
! 18990: SUDOERS_LIBS="${SUDOERS_LIBS} -lskey"
! 18991: AUTH_OBJS="$AUTH_OBJS rfc1938.lo"
! 18992: fi
! 18993:
! 18994: if test "${with_opie-'no'}" = "yes"; then
! 18995: O_LDFLAGS="$LDFLAGS"
! 18996: if test "$with_opie" != "yes"; then
! 18997: CPPFLAGS="${CPPFLAGS} -I${with_opie}/include"
! 18998:
! 18999: if test X"$with_rpath" = X"yes"; then
! 19000: case "$host" in
! 19001: *-*-hpux*) LDFLAGS="${LDFLAGS} -L${with_opie}/lib -Wl,+b,${with_opie}/lib"
! 19002: ;;
! 19003: *) LDFLAGS="${LDFLAGS} -L${with_opie}/lib -Wl,-R${with_opie}/lib"
! 19004: ;;
! 19005: esac
! 19006: else
! 19007: LDFLAGS="${LDFLAGS} -L${with_opie}/lib"
! 19008: fi
! 19009: if test X"$blibpath" != X"" -a "LDFLAGS" = "SUDO_LDFLAGS"; then
! 19010: blibpath_add="${blibpath_add}:${with_opie}/lib"
! 19011: fi
! 19012:
! 19013:
! 19014: if test X"$with_rpath" = X"yes"; then
! 19015: case "$host" in
! 19016: *-*-hpux*) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_opie}/lib -Wl,+b,${with_opie}/lib"
! 19017: ;;
! 19018: *) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_opie}/lib -Wl,-R${with_opie}/lib"
! 19019: ;;
! 19020: esac
! 19021: else
! 19022: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_opie}/lib"
! 19023: fi
! 19024: if test X"$blibpath" != X"" -a "SUDOERS_LDFLAGS" = "SUDO_LDFLAGS"; then
! 19025: blibpath_add="${blibpath_add}:${with_opie}/lib"
! 19026: fi
! 19027:
! 19028: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19029: /* end confdefs.h. */
! 19030: #include <opie.h>
! 19031: int
! 19032: main ()
! 19033: {
! 19034:
! 19035: ;
! 19036: return 0;
! 19037: }
! 19038: _ACEOF
! 19039: if ac_fn_c_try_cpp "$LINENO"; then :
! 19040: found=yes
! 19041: else
! 19042: found=no
! 19043: fi
! 19044: rm -f conftest.err conftest.i conftest.$ac_ext
! 19045: else
! 19046: found=no
! 19047: O_CPPFLAGS="$CPPFLAGS"
! 19048: for dir in "" "/usr/local" "/usr/contrib"; do
! 19049: test -n "$dir" && CPPFLAGS="$O_CPPFLAGS -I${dir}/include"
! 19050: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19051: /* end confdefs.h. */
! 19052: #include <opie.h>
! 19053: int
! 19054: main ()
! 19055: {
! 19056:
! 19057: ;
! 19058: return 0;
! 19059: }
! 19060: _ACEOF
! 19061: if ac_fn_c_try_cpp "$LINENO"; then :
! 19062: found=yes; break
! 19063: fi
! 19064: rm -f conftest.err conftest.i conftest.$ac_ext
! 19065: done
! 19066: if test "$found" = "no" -o -z "$dir"; then
! 19067: CPPFLAGS="$O_CPPFLAGS"
! 19068: else
! 19069:
! 19070: if test X"$with_rpath" = X"yes"; then
! 19071: case "$host" in
! 19072: *-*-hpux*) LDFLAGS="${LDFLAGS} -L${dir}/lib -Wl,+b,${dir}/lib"
! 19073: ;;
! 19074: *) LDFLAGS="${LDFLAGS} -L${dir}/lib -Wl,-R${dir}/lib"
! 19075: ;;
! 19076: esac
! 19077: else
! 19078: LDFLAGS="${LDFLAGS} -L${dir}/lib"
! 19079: fi
! 19080: if test X"$blibpath" != X"" -a "LDFLAGS" = "SUDO_LDFLAGS"; then
! 19081: blibpath_add="${blibpath_add}:${dir}/lib"
! 19082: fi
! 19083:
! 19084:
! 19085: if test X"$with_rpath" = X"yes"; then
! 19086: case "$host" in
! 19087: *-*-hpux*) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${dir}/lib -Wl,+b,${dir}/lib"
! 19088: ;;
! 19089: *) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${dir}/lib -Wl,-R${dir}/lib"
! 19090: ;;
! 19091: esac
! 19092: else
! 19093: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${dir}/lib"
! 19094: fi
! 19095: if test X"$blibpath" != X"" -a "SUDOERS_LDFLAGS" = "SUDO_LDFLAGS"; then
! 19096: blibpath_add="${blibpath_add}:${dir}/lib"
! 19097: fi
! 19098:
! 19099: fi
! 19100: if test "$found" = "no"; then
! 19101: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to locate opie.h, you will have to edit the Makefile and add -I/path/to/opie/includes to CPPFLAGS" >&5
! 19102: $as_echo "$as_me: WARNING: Unable to locate opie.h, you will have to edit the Makefile and add -I/path/to/opie/includes to CPPFLAGS" >&2;}
! 19103: fi
! 19104: fi
! 19105: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lopie" >&5
! 19106: $as_echo_n "checking for main in -lopie... " >&6; }
! 19107: if ${ac_cv_lib_opie_main+:} false; then :
! 19108: $as_echo_n "(cached) " >&6
! 19109: else
! 19110: ac_check_lib_save_LIBS=$LIBS
! 19111: LIBS="-lopie $LIBS"
! 19112: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19113: /* end confdefs.h. */
! 19114:
! 19115:
! 19116: int
! 19117: main ()
! 19118: {
! 19119: return main ();
! 19120: ;
! 19121: return 0;
! 19122: }
! 19123: _ACEOF
! 19124: if ac_fn_c_try_link "$LINENO"; then :
! 19125: ac_cv_lib_opie_main=yes
! 19126: else
! 19127: ac_cv_lib_opie_main=no
! 19128: fi
! 19129: rm -f core conftest.err conftest.$ac_objext \
! 19130: conftest$ac_exeext conftest.$ac_ext
! 19131: LIBS=$ac_check_lib_save_LIBS
! 19132: fi
! 19133: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opie_main" >&5
! 19134: $as_echo "$ac_cv_lib_opie_main" >&6; }
! 19135: if test "x$ac_cv_lib_opie_main" = xyes; then :
! 19136: found=yes
! 19137: else
! 19138: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to locate libopie.a, you will have to edit the Makefile and add -L/path/to/opie/lib to SUDOERS_LDFLAGS" >&5
! 19139: $as_echo "$as_me: WARNING: Unable to locate libopie.a, you will have to edit the Makefile and add -L/path/to/opie/lib to SUDOERS_LDFLAGS" >&2;}
! 19140: fi
! 19141:
! 19142: LDFLAGS="$O_LDFLAGS"
! 19143: SUDOERS_LIBS="${SUDOERS_LIBS} -lopie"
! 19144: AUTH_OBJS="$AUTH_OBJS rfc1938.lo"
! 19145: fi
! 19146:
! 19147: if test ${with_passwd-'no'} != "no"; then
! 19148: if test -z "$LIB_CRYPT"; then
! 19149: _LIBS="$LIBS"
! 19150: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
! 19151: $as_echo_n "checking for library containing crypt... " >&6; }
! 19152: if ${ac_cv_search_crypt+:} false; then :
! 19153: $as_echo_n "(cached) " >&6
! 19154: else
! 19155: ac_func_search_save_LIBS=$LIBS
! 19156: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19157: /* end confdefs.h. */
! 19158:
! 19159: /* Override any GCC internal prototype to avoid an error.
! 19160: Use char because int might match the return type of a GCC
! 19161: builtin and then its argument prototype would still apply. */
! 19162: #ifdef __cplusplus
! 19163: extern "C"
! 19164: #endif
! 19165: char crypt ();
! 19166: int
! 19167: main ()
! 19168: {
! 19169: return crypt ();
! 19170: ;
! 19171: return 0;
! 19172: }
! 19173: _ACEOF
! 19174: for ac_lib in '' crypt crypt_d ufc; do
! 19175: if test -z "$ac_lib"; then
! 19176: ac_res="none required"
! 19177: else
! 19178: ac_res=-l$ac_lib
! 19179: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 19180: fi
! 19181: if ac_fn_c_try_link "$LINENO"; then :
! 19182: ac_cv_search_crypt=$ac_res
! 19183: fi
! 19184: rm -f core conftest.err conftest.$ac_objext \
! 19185: conftest$ac_exeext
! 19186: if ${ac_cv_search_crypt+:} false; then :
! 19187: break
! 19188: fi
! 19189: done
! 19190: if ${ac_cv_search_crypt+:} false; then :
! 19191:
! 19192: else
! 19193: ac_cv_search_crypt=no
! 19194: fi
! 19195: rm conftest.$ac_ext
! 19196: LIBS=$ac_func_search_save_LIBS
! 19197: fi
! 19198: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
! 19199: $as_echo "$ac_cv_search_crypt" >&6; }
! 19200: ac_res=$ac_cv_search_crypt
! 19201: if test "$ac_res" != no; then :
! 19202: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 19203: test -n "$ac_lib" && SUDOERS_LIBS="${SUDOERS_LIBS} $ac_res"
! 19204: fi
! 19205:
! 19206: LIBS="$_LIBS"
! 19207: fi
! 19208:
! 19209: if test "$CHECKSHADOW" = "true" -a -n "$shadow_funcs"; then
! 19210: _LIBS="$LIBS"
! 19211: LIBS="$LIBS $shadow_libs"
! 19212: found=no
! 19213: for ac_func in $shadow_funcs
! 19214: do :
! 19215: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 19216: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 19217: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 19218: cat >>confdefs.h <<_ACEOF
! 19219: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 19220: _ACEOF
! 19221: found=yes
! 19222: fi
! 19223: done
! 19224:
! 19225: if test "$found" = "yes"; then
! 19226: SUDOERS_LIBS="$SUDOERS_LIBS $shadow_libs"
! 19227: elif test -n "$shadow_libs_optional"; then
! 19228: LIBS="$LIBS $shadow_libs_optional"
! 19229: for ac_func in $shadow_funcs
! 19230: do :
! 19231: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 19232: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 19233: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 19234: cat >>confdefs.h <<_ACEOF
! 19235: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 19236: _ACEOF
! 19237: found=yes
! 19238: fi
! 19239: done
! 19240:
! 19241: if test "$found" = "yes"; then
! 19242: SUDOERS_LIBS="$SUDOERS_LIBS $shadow_libs $shadow_libs_optional"
! 19243: fi
! 19244: fi
! 19245: if test "$found" = "yes"; then
! 19246: case "$shadow_funcs" in
! 19247: *getprpwnam*) SECUREWARE=1;;
! 19248: esac
! 19249: test -n "$shadow_defs" && OSDEFS="${OSDEFS} $shadow_defs"
! 19250: else
! 19251: LIBS="$_LIBS"
! 19252: fi
! 19253: CHECKSHADOW=false
! 19254: fi
! 19255: if test "$CHECKSHADOW" = "true"; then
! 19256: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getspnam" >&5
! 19257: $as_echo_n "checking for library containing getspnam... " >&6; }
! 19258: if ${ac_cv_search_getspnam+:} false; then :
! 19259: $as_echo_n "(cached) " >&6
! 19260: else
! 19261: ac_func_search_save_LIBS=$LIBS
! 19262: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19263: /* end confdefs.h. */
! 19264:
! 19265: /* Override any GCC internal prototype to avoid an error.
! 19266: Use char because int might match the return type of a GCC
! 19267: builtin and then its argument prototype would still apply. */
! 19268: #ifdef __cplusplus
! 19269: extern "C"
! 19270: #endif
! 19271: char getspnam ();
! 19272: int
! 19273: main ()
! 19274: {
! 19275: return getspnam ();
! 19276: ;
! 19277: return 0;
! 19278: }
! 19279: _ACEOF
! 19280: for ac_lib in '' gen; do
! 19281: if test -z "$ac_lib"; then
! 19282: ac_res="none required"
! 19283: else
! 19284: ac_res=-l$ac_lib
! 19285: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 19286: fi
! 19287: if ac_fn_c_try_link "$LINENO"; then :
! 19288: ac_cv_search_getspnam=$ac_res
! 19289: fi
! 19290: rm -f core conftest.err conftest.$ac_objext \
! 19291: conftest$ac_exeext
! 19292: if ${ac_cv_search_getspnam+:} false; then :
! 19293: break
! 19294: fi
! 19295: done
! 19296: if ${ac_cv_search_getspnam+:} false; then :
! 19297:
! 19298: else
! 19299: ac_cv_search_getspnam=no
! 19300: fi
! 19301: rm conftest.$ac_ext
! 19302: LIBS=$ac_func_search_save_LIBS
! 19303: fi
! 19304: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getspnam" >&5
! 19305: $as_echo "$ac_cv_search_getspnam" >&6; }
! 19306: ac_res=$ac_cv_search_getspnam
! 19307: if test "$ac_res" != no; then :
! 19308: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 19309: $as_echo "#define HAVE_GETSPNAM 1" >>confdefs.h
! 19310: CHECKSHADOW=false; test -n "$ac_lib" && SUDOERS_LIBS="${SUDOERS_LIBS} $ac_res"
! 19311: fi
! 19312:
! 19313: fi
! 19314: if test "$CHECKSHADOW" = "true"; then
! 19315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getprpwnam" >&5
! 19316: $as_echo_n "checking for library containing getprpwnam... " >&6; }
! 19317: if ${ac_cv_search_getprpwnam+:} false; then :
! 19318: $as_echo_n "(cached) " >&6
! 19319: else
! 19320: ac_func_search_save_LIBS=$LIBS
! 19321: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19322: /* end confdefs.h. */
! 19323:
! 19324: /* Override any GCC internal prototype to avoid an error.
! 19325: Use char because int might match the return type of a GCC
! 19326: builtin and then its argument prototype would still apply. */
! 19327: #ifdef __cplusplus
! 19328: extern "C"
! 19329: #endif
! 19330: char getprpwnam ();
! 19331: int
! 19332: main ()
! 19333: {
! 19334: return getprpwnam ();
! 19335: ;
! 19336: return 0;
! 19337: }
! 19338: _ACEOF
! 19339: for ac_lib in '' sec security prot; do
! 19340: if test -z "$ac_lib"; then
! 19341: ac_res="none required"
! 19342: else
! 19343: ac_res=-l$ac_lib
! 19344: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 19345: fi
! 19346: if ac_fn_c_try_link "$LINENO"; then :
! 19347: ac_cv_search_getprpwnam=$ac_res
! 19348: fi
! 19349: rm -f core conftest.err conftest.$ac_objext \
! 19350: conftest$ac_exeext
! 19351: if ${ac_cv_search_getprpwnam+:} false; then :
! 19352: break
! 19353: fi
! 19354: done
! 19355: if ${ac_cv_search_getprpwnam+:} false; then :
! 19356:
! 19357: else
! 19358: ac_cv_search_getprpwnam=no
! 19359: fi
! 19360: rm conftest.$ac_ext
! 19361: LIBS=$ac_func_search_save_LIBS
! 19362: fi
! 19363: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getprpwnam" >&5
! 19364: $as_echo "$ac_cv_search_getprpwnam" >&6; }
! 19365: ac_res=$ac_cv_search_getprpwnam
! 19366: if test "$ac_res" != no; then :
! 19367: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 19368: $as_echo "#define HAVE_GETPRPWNAM 1" >>confdefs.h
! 19369: CHECKSHADOW=false; SECUREWARE=1; test -n "$ac_lib" && SUDOERS_LIBS="${SUDOERS_LIBS} $ac_res"
! 19370: fi
! 19371:
! 19372: fi
! 19373: if test -n "$SECUREWARE"; then
! 19374: for ac_func in bigcrypt set_auth_parameters initprivs
! 19375: do :
! 19376: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 19377: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 19378: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 19379: cat >>confdefs.h <<_ACEOF
! 19380: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 19381: _ACEOF
! 19382:
! 19383: fi
! 19384: done
! 19385:
! 19386: AUTH_OBJS="$AUTH_OBJS secureware.lo"
! 19387: fi
! 19388: fi
! 19389:
! 19390: if test ${with_ldap-'no'} != "no"; then
! 19391: _LDFLAGS="$LDFLAGS"
! 19392: if test "$with_ldap" != "yes"; then
! 19393:
! 19394: if test X"$with_rpath" = X"yes"; then
! 19395: case "$host" in
! 19396: *-*-hpux*) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_ldap}/lib -Wl,+b,${with_ldap}/lib"
! 19397: ;;
! 19398: *) SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_ldap}/lib -Wl,-R${with_ldap}/lib"
! 19399: ;;
! 19400: esac
! 19401: else
! 19402: SUDOERS_LDFLAGS="${SUDOERS_LDFLAGS} -L${with_ldap}/lib"
! 19403: fi
! 19404: if test X"$blibpath" != X"" -a "SUDOERS_LDFLAGS" = "SUDO_LDFLAGS"; then
! 19405: blibpath_add="${blibpath_add}:${with_ldap}/lib"
! 19406: fi
! 19407:
! 19408:
! 19409: if test X"$with_rpath" = X"yes"; then
! 19410: case "$host" in
! 19411: *-*-hpux*) LDFLAGS="${LDFLAGS} -L${with_ldap}/lib -Wl,+b,${with_ldap}/lib"
! 19412: ;;
! 19413: *) LDFLAGS="${LDFLAGS} -L${with_ldap}/lib -Wl,-R${with_ldap}/lib"
! 19414: ;;
! 19415: esac
! 19416: else
! 19417: LDFLAGS="${LDFLAGS} -L${with_ldap}/lib"
! 19418: fi
! 19419: if test X"$blibpath" != X"" -a "LDFLAGS" = "SUDO_LDFLAGS"; then
! 19420: blibpath_add="${blibpath_add}:${with_ldap}/lib"
! 19421: fi
! 19422:
! 19423: CPPFLAGS="${CPPFLAGS} -I${with_ldap}/include"
! 19424: with_ldap=yes
! 19425: fi
! 19426: SUDOERS_OBJS="${SUDOERS_OBJS} ldap.lo"
! 19427: LDAP=""
! 19428:
! 19429: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LDAP libraries" >&5
! 19430: $as_echo_n "checking for LDAP libraries... " >&6; }
! 19431: LDAP_LIBS=""
! 19432: _LIBS="$LIBS"
! 19433: found=no
! 19434: for l in -lldap -llber '-lssl -lcrypto'; do
! 19435: LIBS="${LIBS} $l"
! 19436: LDAP_LIBS="${LDAP_LIBS} $l"
! 19437: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19438: /* end confdefs.h. */
! 19439: #include <sys/types.h>
! 19440: #include <lber.h>
! 19441: #include <ldap.h>
! 19442: int
! 19443: main ()
! 19444: {
! 19445: (void)ldap_init(0, 0)
! 19446: ;
! 19447: return 0;
! 19448: }
! 19449: _ACEOF
! 19450: if ac_fn_c_try_link "$LINENO"; then :
! 19451: found=yes; break
! 19452: fi
! 19453: rm -f core conftest.err conftest.$ac_objext \
! 19454: conftest$ac_exeext conftest.$ac_ext
! 19455: done
! 19456: if test "$found" = "no"; then
! 19457: LDAP_LIBS=""
! 19458: LIBS="$_LIBS"
! 19459: for l in -libmldap -lidsldif; do
! 19460: LIBS="${LIBS} $l"
! 19461: LDAP_LIBS="${LDAP_LIBS} $l"
! 19462: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19463: /* end confdefs.h. */
! 19464: #include <sys/types.h>
! 19465: #include <lber.h>
! 19466: #include <ldap.h>
! 19467: int
! 19468: main ()
! 19469: {
! 19470: (void)ldap_init(0, 0)
! 19471: ;
! 19472: return 0;
! 19473: }
! 19474: _ACEOF
! 19475: if ac_fn_c_try_link "$LINENO"; then :
! 19476: found=yes; break
! 19477: fi
! 19478: rm -f core conftest.err conftest.$ac_objext \
! 19479: conftest$ac_exeext conftest.$ac_ext
! 19480: done
! 19481: fi
! 19482: if test "$found" = "no"; then
! 19483: LIBS="${_LIBS} -lldap"
! 19484: LDAP_LIBS="-lldap"
! 19485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found, using -lldap" >&5
! 19486: $as_echo "not found, using -lldap" >&6; }
! 19487: else
! 19488: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDAP_LIBS" >&5
! 19489: $as_echo "$LDAP_LIBS" >&6; }
! 19490: fi
! 19491: OLIBS="$LIBS"
! 19492: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ber_set_option" >&5
! 19493: $as_echo_n "checking for library containing ber_set_option... " >&6; }
! 19494: if ${ac_cv_search_ber_set_option+:} false; then :
! 19495: $as_echo_n "(cached) " >&6
! 19496: else
! 19497: ac_func_search_save_LIBS=$LIBS
! 19498: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19499: /* end confdefs.h. */
! 19500:
! 19501: /* Override any GCC internal prototype to avoid an error.
! 19502: Use char because int might match the return type of a GCC
! 19503: builtin and then its argument prototype would still apply. */
! 19504: #ifdef __cplusplus
! 19505: extern "C"
! 19506: #endif
! 19507: char ber_set_option ();
! 19508: int
! 19509: main ()
! 19510: {
! 19511: return ber_set_option ();
! 19512: ;
! 19513: return 0;
! 19514: }
! 19515: _ACEOF
! 19516: for ac_lib in '' lber; do
! 19517: if test -z "$ac_lib"; then
! 19518: ac_res="none required"
! 19519: else
! 19520: ac_res=-l$ac_lib
! 19521: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
! 19522: fi
! 19523: if ac_fn_c_try_link "$LINENO"; then :
! 19524: ac_cv_search_ber_set_option=$ac_res
! 19525: fi
! 19526: rm -f core conftest.err conftest.$ac_objext \
! 19527: conftest$ac_exeext
! 19528: if ${ac_cv_search_ber_set_option+:} false; then :
! 19529: break
! 19530: fi
! 19531: done
! 19532: if ${ac_cv_search_ber_set_option+:} false; then :
! 19533:
! 19534: else
! 19535: ac_cv_search_ber_set_option=no
! 19536: fi
! 19537: rm conftest.$ac_ext
! 19538: LIBS=$ac_func_search_save_LIBS
! 19539: fi
! 19540: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ber_set_option" >&5
! 19541: $as_echo "$ac_cv_search_ber_set_option" >&6; }
! 19542: ac_res=$ac_cv_search_ber_set_option
! 19543: if test "$ac_res" != no; then :
! 19544: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
! 19545: found=yes
! 19546: else
! 19547: found=no
! 19548: fi
! 19549:
! 19550: if test X"$found" = X"yes" -a X"$LIBS" != X"$OLIBS"; then
! 19551: LDAP_LIBS="$LDAP_LIBS -llber"
! 19552: fi
! 19553: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lber.h is needed" >&5
! 19554: $as_echo_n "checking whether lber.h is needed... " >&6; }
! 19555: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19556: /* end confdefs.h. */
! 19557: #include <sys/types.h>
! 19558: #include <ldap.h>
! 19559: int
! 19560: main ()
! 19561: {
! 19562: (void)ldap_init(0, 0)
! 19563: ;
! 19564: return 0;
! 19565: }
! 19566: _ACEOF
! 19567: if ac_fn_c_try_link "$LINENO"; then :
! 19568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 19569: $as_echo "no" >&6; }
! 19570: else
! 19571:
! 19572: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 19573: $as_echo "yes" >&6; }
! 19574: $as_echo "#define HAVE_LBER_H 1" >>confdefs.h
! 19575:
! 19576: fi
! 19577: rm -f core conftest.err conftest.$ac_objext \
! 19578: conftest$ac_exeext conftest.$ac_ext
! 19579:
! 19580: for ac_header in sasl/sasl.h sasl.h
! 19581: do :
! 19582: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 19583: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
! 19584: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 19585: cat >>confdefs.h <<_ACEOF
! 19586: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 19587: _ACEOF
! 19588: for ac_func in ldap_sasl_interactive_bind_s
! 19589: do :
! 19590: ac_fn_c_check_func "$LINENO" "ldap_sasl_interactive_bind_s" "ac_cv_func_ldap_sasl_interactive_bind_s"
! 19591: if test "x$ac_cv_func_ldap_sasl_interactive_bind_s" = xyes; then :
! 19592: cat >>confdefs.h <<_ACEOF
! 19593: #define HAVE_LDAP_SASL_INTERACTIVE_BIND_S 1
! 19594: _ACEOF
! 19595:
! 19596: fi
! 19597: done
! 19598:
! 19599: else
! 19600: break
! 19601: fi
! 19602:
! 19603: done
! 19604:
! 19605: for ac_header in ldap_ssl.h mps/ldap_ssl.h
! 19606: do :
! 19607: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 19608: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <ldap.h>
! 19609: "
! 19610: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 19611: cat >>confdefs.h <<_ACEOF
! 19612: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 19613: _ACEOF
! 19614: break
! 19615: fi
! 19616:
! 19617: done
! 19618:
! 19619: for ac_func in ldap_initialize ldap_start_tls_s ldapssl_init ldapssl_set_strength ldap_unbind_ext_s ldap_str2dn ldap_create ldap_sasl_bind_s ldap_ssl_client_init ldap_start_tls_s_np
! 19620: do :
! 19621: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 19622: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 19623: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 19624: cat >>confdefs.h <<_ACEOF
! 19625: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 19626: _ACEOF
! 19627:
! 19628: fi
! 19629: done
! 19630:
! 19631: for ac_func in ldap_search_ext_s ldap_search_st
! 19632: do :
! 19633: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 19634: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
! 19635: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
! 19636: cat >>confdefs.h <<_ACEOF
! 19637: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 19638: _ACEOF
! 19639: break
! 19640: fi
! 19641: done
! 19642:
! 19643:
! 19644: if test X"$check_gss_krb5_ccache_name" = X"yes"; then
! 19645: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_krb5_ccache_name in -lgssapi" >&5
! 19646: $as_echo_n "checking for gss_krb5_ccache_name in -lgssapi... " >&6; }
! 19647: if ${ac_cv_lib_gssapi_gss_krb5_ccache_name+:} false; then :
! 19648: $as_echo_n "(cached) " >&6
! 19649: else
! 19650: ac_check_lib_save_LIBS=$LIBS
! 19651: LIBS="-lgssapi $LIBS"
! 19652: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19653: /* end confdefs.h. */
! 19654:
! 19655: /* Override any GCC internal prototype to avoid an error.
! 19656: Use char because int might match the return type of a GCC
! 19657: builtin and then its argument prototype would still apply. */
! 19658: #ifdef __cplusplus
! 19659: extern "C"
! 19660: #endif
! 19661: char gss_krb5_ccache_name ();
! 19662: int
! 19663: main ()
! 19664: {
! 19665: return gss_krb5_ccache_name ();
! 19666: ;
! 19667: return 0;
! 19668: }
! 19669: _ACEOF
! 19670: if ac_fn_c_try_link "$LINENO"; then :
! 19671: ac_cv_lib_gssapi_gss_krb5_ccache_name=yes
! 19672: else
! 19673: ac_cv_lib_gssapi_gss_krb5_ccache_name=no
! 19674: fi
! 19675: rm -f core conftest.err conftest.$ac_objext \
! 19676: conftest$ac_exeext conftest.$ac_ext
! 19677: LIBS=$ac_check_lib_save_LIBS
! 19678: fi
! 19679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_gss_krb5_ccache_name" >&5
! 19680: $as_echo "$ac_cv_lib_gssapi_gss_krb5_ccache_name" >&6; }
! 19681: if test "x$ac_cv_lib_gssapi_gss_krb5_ccache_name" = xyes; then :
! 19682: $as_echo "#define HAVE_GSS_KRB5_CCACHE_NAME 1" >>confdefs.h
! 19683:
! 19684: LDAP_LIBS="${LDAP_LIBS} -lgssapi"
! 19685: else
! 19686: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_krb5_ccache_name in -lgssapi_krb5" >&5
! 19687: $as_echo_n "checking for gss_krb5_ccache_name in -lgssapi_krb5... " >&6; }
! 19688: if ${ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name+:} false; then :
! 19689: $as_echo_n "(cached) " >&6
! 19690: else
! 19691: ac_check_lib_save_LIBS=$LIBS
! 19692: LIBS="-lgssapi_krb5 $LIBS"
! 19693: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19694: /* end confdefs.h. */
! 19695:
! 19696: /* Override any GCC internal prototype to avoid an error.
! 19697: Use char because int might match the return type of a GCC
! 19698: builtin and then its argument prototype would still apply. */
! 19699: #ifdef __cplusplus
! 19700: extern "C"
! 19701: #endif
! 19702: char gss_krb5_ccache_name ();
! 19703: int
! 19704: main ()
! 19705: {
! 19706: return gss_krb5_ccache_name ();
! 19707: ;
! 19708: return 0;
! 19709: }
! 19710: _ACEOF
! 19711: if ac_fn_c_try_link "$LINENO"; then :
! 19712: ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name=yes
! 19713: else
! 19714: ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name=no
! 19715: fi
! 19716: rm -f core conftest.err conftest.$ac_objext \
! 19717: conftest$ac_exeext conftest.$ac_ext
! 19718: LIBS=$ac_check_lib_save_LIBS
! 19719: fi
! 19720: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name" >&5
! 19721: $as_echo "$ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name" >&6; }
! 19722: if test "x$ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name" = xyes; then :
! 19723: $as_echo "#define HAVE_GSS_KRB5_CCACHE_NAME 1" >>confdefs.h
! 19724:
! 19725: LDAP_LIBS="${LDAP_LIBS} -lgssapi_krb5"
! 19726: fi
! 19727:
! 19728:
! 19729: fi
! 19730:
! 19731:
! 19732: # gssapi headers may be separate or part of Kerberos V
! 19733: found=no
! 19734: O_CPPFLAGS="$CPPFLAGS"
! 19735: for dir in "" "kerberosV" "krb5" "kerberos5" "kerberosv5"; do
! 19736: test X"$dir" != X"" && CPPFLAGS="$O_CPPFLAGS -I/usr/include/${dir}"
! 19737: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19738: /* end confdefs.h. */
! 19739: #include <gssapi/gssapi.h>
! 19740: int
! 19741: main ()
! 19742: {
! 19743:
! 19744: ;
! 19745: return 0;
! 19746: }
! 19747: _ACEOF
! 19748: if ac_fn_c_try_cpp "$LINENO"; then :
! 19749: found="gssapi/gssapi.h"; break
! 19750: else
! 19751: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19752: /* end confdefs.h. */
! 19753: #include <gssapi.h>
! 19754: int
! 19755: main ()
! 19756: {
! 19757:
! 19758: ;
! 19759: return 0;
! 19760: }
! 19761: _ACEOF
! 19762: if ac_fn_c_try_cpp "$LINENO"; then :
! 19763: found="gssapi.h"; break
! 19764: fi
! 19765: rm -f conftest.err conftest.i conftest.$ac_ext
! 19766: fi
! 19767: rm -f conftest.err conftest.i conftest.$ac_ext
! 19768: done
! 19769: if test X"$found" != X"no"; then
! 19770: for ac_header in $found
! 19771: do :
! 19772: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 19773: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
! 19774: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 19775: cat >>confdefs.h <<_ACEOF
! 19776: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 19777: _ACEOF
! 19778:
! 19779: fi
! 19780:
! 19781: done
! 19782:
! 19783: if test X"$found" = X"gssapi/gssapi.h"; then
! 19784: for ac_header in gssapi/gssapi_krb5.h
! 19785: do :
! 19786: ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi_krb5.h" "ac_cv_header_gssapi_gssapi_krb5_h" "$ac_includes_default"
! 19787: if test "x$ac_cv_header_gssapi_gssapi_krb5_h" = xyes; then :
! 19788: cat >>confdefs.h <<_ACEOF
! 19789: #define HAVE_GSSAPI_GSSAPI_KRB5_H 1
! 19790: _ACEOF
! 19791:
! 19792: fi
! 19793:
! 19794: done
! 19795:
! 19796: fi
! 19797: else
! 19798: CPPFLAGS="$O_CPPFLAGS"
! 19799: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to locate gssapi.h, you will have to edit the Makefile and add -I/path/to/gssapi/includes to CPPFLAGS" >&5
! 19800: $as_echo "$as_me: WARNING: Unable to locate gssapi.h, you will have to edit the Makefile and add -I/path/to/gssapi/includes to CPPFLAGS" >&2;}
! 19801: fi
! 19802: fi
! 19803:
! 19804: SUDOERS_LIBS="${SUDOERS_LIBS} ${LDAP_LIBS}"
! 19805: LIBS="$_LIBS"
! 19806: LDFLAGS="$_LDFLAGS"
! 19807: fi
! 19808:
! 19809: #
! 19810: # How to do dynamic object loading.
! 19811: # We support dlopen() and sh_load(), else fall back to static loading.
! 19812: #
! 19813: case "$lt_cv_dlopen" in
! 19814: dlopen)
! 19815: $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
! 19816:
! 19817: SUDOERS_OBJS="$SUDOERS_OBJS plugin_error.lo"
! 19818: LT_STATIC="--tag=disable-static"
! 19819: ;;
! 19820: shl_load)
! 19821: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
! 19822:
! 19823: SUDOERS_OBJS="$SUDOERS_OBJS plugin_error.lo"
! 19824: LT_STATIC="--tag=disable-static"
! 19825: case " $LIBOBJS " in
! 19826: *" dlopen.$ac_objext "* ) ;;
! 19827: *) LIBOBJS="$LIBOBJS dlopen.$ac_objext"
! 19828: ;;
! 19829: esac
! 19830:
! 19831: ;;
! 19832: *)
! 19833: if test X"${ac_cv_func_dlopen}" = X"yes"; then
! 19834: as_fn_error $? "\"dlopen present but libtool doesn't appear to support your platform.\"" "$LINENO" 5
! 19835: fi
! 19836: # Preload sudoers module symbols
! 19837: SUDO_OBJS="${SUDO_OBJS} preload.o"
! 19838: SUDO_LIBS="${SUDO_LIBS} \$(top_builddir)/plugins/sudoers/sudoers.la"
! 19839: LT_STATIC=""
! 19840: case " $LIBOBJS " in
! 19841: *" dlopen.$ac_objext "* ) ;;
! 19842: *) LIBOBJS="$LIBOBJS dlopen.$ac_objext"
! 19843: ;;
! 19844: esac
! 19845:
! 19846: ;;
! 19847: esac
! 19848:
! 19849: #
! 19850: # Add library needed for dynamic loading, if any.
! 19851: #
! 19852: LIBDL="$lt_cv_dlopen_libs"
! 19853: if test X"$LIBDL" != X""; then
! 19854: SUDO_LIBS="${SUDO_LIBS} $LIBDL"
! 19855: SUDOERS_LIBS="${SUDOERS_LIBS} $LIBDL"
! 19856: fi
! 19857:
! 19858: # On HP-UX, you cannot dlopen() a shared object that uses pthreads
! 19859: # unless the main program is linked against -lpthread. Since we
! 19860: # have no knowledge what libraries a plugin may depend on, we always
! 19861: # link against -lpthread on HP-UX if it is available.
! 19862: # This check should go after all other libraries tests.
! 19863: case "$host" in
! 19864: *-*-hpux*)
! 19865: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
! 19866: $as_echo_n "checking for main in -lpthread... " >&6; }
! 19867: if ${ac_cv_lib_pthread_main+:} false; then :
! 19868: $as_echo_n "(cached) " >&6
! 19869: else
! 19870: ac_check_lib_save_LIBS=$LIBS
! 19871: LIBS="-lpthread $LIBS"
! 19872: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 19873: /* end confdefs.h. */
! 19874:
! 19875:
! 19876: int
! 19877: main ()
! 19878: {
! 19879: return main ();
! 19880: ;
! 19881: return 0;
! 19882: }
! 19883: _ACEOF
! 19884: if ac_fn_c_try_link "$LINENO"; then :
! 19885: ac_cv_lib_pthread_main=yes
! 19886: else
! 19887: ac_cv_lib_pthread_main=no
! 19888: fi
! 19889: rm -f core conftest.err conftest.$ac_objext \
! 19890: conftest$ac_exeext conftest.$ac_ext
! 19891: LIBS=$ac_check_lib_save_LIBS
! 19892: fi
! 19893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
! 19894: $as_echo "$ac_cv_lib_pthread_main" >&6; }
! 19895: if test "x$ac_cv_lib_pthread_main" = xyes; then :
! 19896: SUDO_LIBS="${SUDO_LIBS} -lpthread"
! 19897: fi
! 19898:
! 19899: ;;
! 19900: esac
! 19901:
! 19902: if test -n "$blibpath"; then
! 19903: if test -n "$blibpath_add"; then
! 19904: SUDOERS_LDFLAGS="$SUDOERS_LDFLAGS -Wl,-blibpath:${blibpath}${blibpath_add}"
! 19905: elif test -n "$with_blibpath" -a "$with_blibpath" != "yes"; then
! 19906: SUDOERS_LDFLAGS="$SUDOERS_LDFLAGS -Wl,-blibpath:${blibpath}"
! 19907: fi
! 19908: fi
! 19909:
! 19910: if test "$utmp_style" = "LEGACY"; then
! 19911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utmp file path" >&5
! 19912: $as_echo_n "checking for utmp file path... " >&6; }
! 19913: found=no
! 19914: for p in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp"; do
! 19915: if test -r "$p"; then
! 19916: found=yes
! 19917: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $p" >&5
! 19918: $as_echo "$p" >&6; }
! 19919: cat >>confdefs.h <<EOF
! 19920: #define _PATH_UTMP "$p"
! 19921: EOF
! 19922:
! 19923: break
! 19924: fi
! 19925: done
! 19926: if test X"$found" != X"yes"; then
! 19927: { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
! 19928: $as_echo "not found" >&6; }
! 19929: fi
! 19930:
! 19931: fi
! 19932: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log file location" >&5
! 19933: $as_echo_n "checking for log file location... " >&6; }
! 19934: if test -n "$with_logpath"; then
! 19935: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_logpath" >&5
! 19936: $as_echo "$with_logpath" >&6; }
! 19937: cat >>confdefs.h <<EOF
! 19938: #define _PATH_SUDO_LOGFILE "$with_logpath"
! 19939: EOF
! 19940:
! 19941: elif test -d "/var/log"; then
! 19942: { $as_echo "$as_me:${as_lineno-$LINENO}: result: /var/log/sudo.log" >&5
! 19943: $as_echo "/var/log/sudo.log" >&6; }
! 19944: cat >>confdefs.h <<\EOF
! 19945: #define _PATH_SUDO_LOGFILE "/var/log/sudo.log"
! 19946: EOF
! 19947:
! 19948: elif test -d "/var/adm"; then
! 19949: { $as_echo "$as_me:${as_lineno-$LINENO}: result: /var/adm/sudo.log" >&5
! 19950: $as_echo "/var/adm/sudo.log" >&6; }
! 19951: cat >>confdefs.h <<\EOF
! 19952: #define _PATH_SUDO_LOGFILE "/var/adm/sudo.log"
! 19953: EOF
! 19954:
! 19955: elif test -d "/usr/adm"; then
! 19956: { $as_echo "$as_me:${as_lineno-$LINENO}: result: /usr/adm/sudo.log" >&5
! 19957: $as_echo "/usr/adm/sudo.log" >&6; }
! 19958: cat >>confdefs.h <<\EOF
! 19959: #define _PATH_SUDO_LOGFILE "/usr/adm/sudo.log"
! 19960: EOF
! 19961:
! 19962: else
! 19963: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
! 19964: $as_echo "unknown" >&6; }
! 19965: fi
! 19966:
! 19967: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timestamp file location" >&5
! 19968: $as_echo_n "checking for timestamp file location... " >&6; }
! 19969: timedir="$with_timedir"
! 19970: if test -z "$timedir"; then
! 19971: for d in /var/db /var/lib /var/adm /usr/adm; do
! 19972: if test -d "$d"; then
! 19973: timedir="$d/sudo"
! 19974: break
! 19975: fi
! 19976: done
! 19977: fi
! 19978: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $timedir" >&5
! 19979: $as_echo "$timedir" >&6; }
! 19980: cat >>confdefs.h <<EOF
! 19981: #define _PATH_SUDO_TIMEDIR "$timedir"
! 19982: EOF
! 19983:
! 19984:
! 19985:
! 19986: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for I/O log dir location" >&5
! 19987: $as_echo_n "checking for I/O log dir location... " >&6; }
! 19988: if test "${with_iologdir-yes}" != "yes"; then
! 19989: iolog_dir="$with_iologdir"
! 19990: elif test -d "/var/log"; then
! 19991: iolog_dir="/var/log/sudo-io"
! 19992: elif test -d "/var/adm"; then
! 19993: iolog_dir="/var/adm/sudo-io"
! 19994: else
! 19995: iolog_dir="/usr/adm/sudo-io"
! 19996: fi
! 19997: if test "${with_iologdir}" != "no"; then
! 19998: cat >>confdefs.h <<EOF
! 19999: #define _PATH_SUDO_IO_LOGDIR "$iolog_dir"
! 20000: EOF
! 20001:
! 20002: fi
! 20003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iolog_dir" >&5
! 20004: $as_echo "$iolog_dir" >&6; }
! 20005:
! 20006:
! 20007: case "$with_passwd" in
! 20008: yes|maybe)
! 20009: AUTH_OBJS="$AUTH_OBJS getspwuid.lo passwd.lo"
! 20010: ;;
! 20011: *)
! 20012: $as_echo "#define WITHOUT_PASSWD 1" >>confdefs.h
! 20013:
! 20014: if test -z "$AUTH_OBJS"; then
! 20015: as_fn_error $? "no authentication methods defined." "$LINENO" 5
! 20016: fi
! 20017: ;;
! 20018: esac
! 20019: AUTH_OBJS=${AUTH_OBJS# }
! 20020: _AUTH=`echo "$AUTH_OBJS" | sed -e 's/\.lo//g' -e 's/getspwuid *//'`
! 20021: { $as_echo "$as_me:${as_lineno-$LINENO}: using the following authentication methods: $_AUTH" >&5
! 20022: $as_echo "$as_me: using the following authentication methods: $_AUTH" >&6;}
! 20023:
! 20024: if test -n "$LIBS"; then
! 20025: L="$LIBS"
! 20026: LIBS=
! 20027: for l in ${L}; do
! 20028: dupe=0
! 20029: for sl in ${SUDO_LIBS} ${SUDOERS_LIBS} ${NET_LIBS}; do
! 20030: test $l = $sl && dupe=1
! 20031: done
! 20032: test $dupe = 0 && LIBS="${LIBS} $l"
! 20033: done
! 20034: fi
! 20035:
! 20036: if test -n "$GCC"; then
! 20037: if test X"$enable_warnings" = X"yes" -o X"$with_devel" = X"yes"; then
! 20038: CFLAGS="${CFLAGS} -Wall"
! 20039: fi
! 20040: if test X"$enable_werror" = X"yes"; then
! 20041: CFLAGS="${CFLAGS} -Werror"
! 20042: fi
! 20043: fi
! 20044:
! 20045: test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)'
! 20046:
! 20047: if test X"$with_noexec" != X"no" -o X"$with_selinux" != X"no"; then
! 20048: oexec_prefix="$exec_prefix"
! 20049: if test "$exec_prefix" = '$(prefix)'; then
! 20050: if test "$prefix" = "NONE"; then
! 20051: exec_prefix="$ac_default_prefix"
! 20052: else
! 20053: exec_prefix="$prefix"
! 20054: fi
! 20055: fi
! 20056: if test X"$with_noexec" != X"no"; then
! 20057: PROGS="${PROGS} libsudo_noexec.la"
! 20058: INSTALL_NOEXEC="install-noexec"
! 20059:
! 20060: eval noexec_file="$with_noexec"
! 20061: cat >>confdefs.h <<EOF
! 20062: #define _PATH_SUDO_NOEXEC "$noexec_file"
! 20063: EOF
! 20064:
! 20065: fi
! 20066: if test X"$with_selinux" != X"no"; then
! 20067: eval sesh_file="$libexecdir/sesh"
! 20068: cat >>confdefs.h <<EOF
! 20069: #define _PATH_SUDO_SESH "$sesh_file"
! 20070: EOF
! 20071:
! 20072: fi
! 20073: eval PLUGINDIR="$with_plugindir"
! 20074: cat >>confdefs.h <<EOF
! 20075: #define _PATH_SUDO_PLUGIN_DIR "$PLUGINDIR/"
! 20076: EOF
! 20077:
! 20078: cat >>confdefs.h <<EOF
! 20079: #define SUDOERS_PLUGIN "sudoers${SOEXT}"
! 20080: EOF
! 20081:
! 20082: exec_prefix="$oexec_prefix"
! 20083: fi
! 20084:
! 20085: if test X"$prefix" = X"NONE"; then
! 20086: test "$mandir" = '${datarootdir}/man' && mandir='$(prefix)/man'
! 20087: else
! 20088: test "$mandir" = '${datarootdir}/man' && mandir='$(datarootdir)/man'
! 20089: fi
! 20090: test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin'
! 20091: test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/sbin'
! 20092: test "$libexecdir" = '${exec_prefix}/libexec' && libexecdir='$(exec_prefix)/libexec'
! 20093: test "$includedir" = '${prefix}/include' && includedir='$(prefix)/include'
! 20094: test "$datarootdir" = '${prefix}/share' && datarootdir='$(prefix)/share'
! 20095: test "$docdir" = '${datarootdir}/doc/${PACKAGE_TARNAME}' && docdir='$(datarootdir)/doc/$(PACKAGE_TARNAME)'
! 20096: test "$sysconfdir" = '${prefix}/etc' -a X"$with_stow" != X"yes" && sysconfdir='/etc'
! 20097:
! 20098: ac_config_files="$ac_config_files Makefile common/Makefile compat/Makefile doc/Makefile include/Makefile src/sudo_usage.h src/Makefile plugins/sample/Makefile plugins/sample_group/Makefile plugins/sudoers/Makefile plugins/sudoers/sudoers"
! 20099:
! 20100: cat >confcache <<\_ACEOF
! 20101: # This file is a shell script that caches the results of configure
! 20102: # tests run on this system so they can be shared between configure
! 20103: # scripts and configure runs, see configure's option --config-cache.
! 20104: # It is not useful on other systems. If it contains results you don't
! 20105: # want to keep, you may remove or edit it.
! 20106: #
! 20107: # config.status only pays attention to the cache file if you give it
! 20108: # the --recheck option to rerun configure.
! 20109: #
! 20110: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 20111: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 20112: # following values.
! 20113:
! 20114: _ACEOF
! 20115:
! 20116: # The following way of writing the cache mishandles newlines in values,
! 20117: # but we know of no workaround that is simple, portable, and efficient.
! 20118: # So, we kill variables containing newlines.
! 20119: # Ultrix sh set writes to stderr and can't be redirected directly,
! 20120: # and sets the high bit in the cache file unless we assign to the vars.
! 20121: (
! 20122: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 20123: eval ac_val=\$$ac_var
! 20124: case $ac_val in #(
! 20125: *${as_nl}*)
! 20126: case $ac_var in #(
! 20127: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
! 20128: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
! 20129: esac
! 20130: case $ac_var in #(
! 20131: _ | IFS | as_nl) ;; #(
! 20132: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 20133: *) { eval $ac_var=; unset $ac_var;} ;;
! 20134: esac ;;
! 20135: esac
! 20136: done
! 20137:
! 20138: (set) 2>&1 |
! 20139: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 20140: *${as_nl}ac_space=\ *)
! 20141: # `set' does not quote correctly, so add quotes: double-quote
! 20142: # substitution turns \\\\ into \\, and sed turns \\ into \.
! 20143: sed -n \
! 20144: "s/'/'\\\\''/g;
! 20145: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 20146: ;; #(
! 20147: *)
! 20148: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 20149: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 20150: ;;
! 20151: esac |
! 20152: sort
! 20153: ) |
! 20154: sed '
! 20155: /^ac_cv_env_/b end
! 20156: t clear
! 20157: :clear
! 20158: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 20159: t end
! 20160: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 20161: :end' >>confcache
! 20162: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 20163: if test -w "$cache_file"; then
! 20164: if test "x$cache_file" != "x/dev/null"; then
! 20165: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
! 20166: $as_echo "$as_me: updating cache $cache_file" >&6;}
! 20167: if test ! -f "$cache_file" || test -h "$cache_file"; then
! 20168: cat confcache >"$cache_file"
! 20169: else
! 20170: case $cache_file in #(
! 20171: */* | ?:*)
! 20172: mv -f confcache "$cache_file"$$ &&
! 20173: mv -f "$cache_file"$$ "$cache_file" ;; #(
! 20174: *)
! 20175: mv -f confcache "$cache_file" ;;
! 20176: esac
! 20177: fi
! 20178: fi
! 20179: else
! 20180: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
! 20181: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
! 20182: fi
! 20183: fi
! 20184: rm -f confcache
! 20185:
! 20186: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 20187: # Let make expand exec_prefix.
! 20188: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 20189:
! 20190: DEFS=-DHAVE_CONFIG_H
! 20191:
! 20192: ac_libobjs=
! 20193: ac_ltlibobjs=
! 20194: U=
! 20195: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 20196: # 1. Remove the extension, and $U if already installed.
! 20197: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 20198: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
! 20199: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 20200: # will be set to the directory where LIBOBJS objects are built.
! 20201: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 20202: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
! 20203: done
! 20204: LIBOBJS=$ac_libobjs
! 20205:
! 20206: LTLIBOBJS=$ac_ltlibobjs
! 20207:
! 20208:
! 20209:
! 20210: : "${CONFIG_STATUS=./config.status}"
! 20211: ac_write_fail=0
! 20212: ac_clean_files_save=$ac_clean_files
! 20213: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 20214: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
! 20215: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 20216: as_write_fail=0
! 20217: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
! 20218: #! $SHELL
! 20219: # Generated by $as_me.
! 20220: # Run this file to recreate the current configuration.
! 20221: # Compiler output produced by configure, useful for debugging
! 20222: # configure, is in config.log if it exists.
! 20223:
! 20224: debug=false
! 20225: ac_cs_recheck=false
! 20226: ac_cs_silent=false
! 20227:
! 20228: SHELL=\${CONFIG_SHELL-$SHELL}
! 20229: export SHELL
! 20230: _ASEOF
! 20231: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
! 20232: ## -------------------- ##
! 20233: ## M4sh Initialization. ##
! 20234: ## -------------------- ##
! 20235:
! 20236: # Be more Bourne compatible
! 20237: DUALCASE=1; export DUALCASE # for MKS sh
! 20238: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
! 20239: emulate sh
! 20240: NULLCMD=:
! 20241: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 20242: # is contrary to our usage. Disable this feature.
! 20243: alias -g '${1+"$@"}'='"$@"'
! 20244: setopt NO_GLOB_SUBST
! 20245: else
! 20246: case `(set -o) 2>/dev/null` in #(
! 20247: *posix*) :
! 20248: set -o posix ;; #(
! 20249: *) :
! 20250: ;;
! 20251: esac
! 20252: fi
! 20253:
! 20254:
! 20255: as_nl='
! 20256: '
! 20257: export as_nl
! 20258: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 20259: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 20260: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 20261: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 20262: # Prefer a ksh shell builtin over an external printf program on Solaris,
! 20263: # but without wasting forks for bash or zsh.
! 20264: if test -z "$BASH_VERSION$ZSH_VERSION" \
! 20265: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
! 20266: as_echo='print -r --'
! 20267: as_echo_n='print -rn --'
! 20268: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 20269: as_echo='printf %s\n'
! 20270: as_echo_n='printf %s'
! 20271: else
! 20272: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 20273: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 20274: as_echo_n='/usr/ucb/echo -n'
! 20275: else
! 20276: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 20277: as_echo_n_body='eval
! 20278: arg=$1;
! 20279: case $arg in #(
! 20280: *"$as_nl"*)
! 20281: expr "X$arg" : "X\\(.*\\)$as_nl";
! 20282: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 20283: esac;
! 20284: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 20285: '
! 20286: export as_echo_n_body
! 20287: as_echo_n='sh -c $as_echo_n_body as_echo'
! 20288: fi
! 20289: export as_echo_body
! 20290: as_echo='sh -c $as_echo_body as_echo'
! 20291: fi
! 20292:
! 20293: # The user is always right.
! 20294: if test "${PATH_SEPARATOR+set}" != set; then
! 20295: PATH_SEPARATOR=:
! 20296: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 20297: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 20298: PATH_SEPARATOR=';'
! 20299: }
! 20300: fi
! 20301:
! 20302:
! 20303: # IFS
! 20304: # We need space, tab and new line, in precisely that order. Quoting is
! 20305: # there to prevent editors from complaining about space-tab.
! 20306: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 20307: # splitting by setting IFS to empty value.)
! 20308: IFS=" "" $as_nl"
! 20309:
! 20310: # Find who we are. Look in the path if we contain no directory separator.
! 20311: as_myself=
! 20312: case $0 in #((
! 20313: *[\\/]* ) as_myself=$0 ;;
! 20314: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 20315: for as_dir in $PATH
! 20316: do
! 20317: IFS=$as_save_IFS
! 20318: test -z "$as_dir" && as_dir=.
! 20319: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 20320: done
! 20321: IFS=$as_save_IFS
! 20322:
! 20323: ;;
! 20324: esac
! 20325: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 20326: # in which case we are not to be found in the path.
! 20327: if test "x$as_myself" = x; then
! 20328: as_myself=$0
! 20329: fi
! 20330: if test ! -f "$as_myself"; then
! 20331: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 20332: exit 1
! 20333: fi
! 20334:
! 20335: # Unset variables that we do not need and which cause bugs (e.g. in
! 20336: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
! 20337: # suppresses any "Segmentation fault" message there. '((' could
! 20338: # trigger a bug in pdksh 5.2.14.
! 20339: for as_var in BASH_ENV ENV MAIL MAILPATH
! 20340: do eval test x\${$as_var+set} = xset \
! 20341: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! 20342: done
! 20343: PS1='$ '
! 20344: PS2='> '
! 20345: PS4='+ '
! 20346:
! 20347: # NLS nuisances.
! 20348: LC_ALL=C
! 20349: export LC_ALL
! 20350: LANGUAGE=C
! 20351: export LANGUAGE
! 20352:
! 20353: # CDPATH.
! 20354: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 20355:
! 20356:
! 20357: # as_fn_error STATUS ERROR [LINENO LOG_FD]
! 20358: # ----------------------------------------
! 20359: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
! 20360: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
! 20361: # script with STATUS, using 1 if that was 0.
! 20362: as_fn_error ()
! 20363: {
! 20364: as_status=$1; test $as_status -eq 0 && as_status=1
! 20365: if test "$4"; then
! 20366: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 20367: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
! 20368: fi
! 20369: $as_echo "$as_me: error: $2" >&2
! 20370: as_fn_exit $as_status
! 20371: } # as_fn_error
! 20372:
! 20373:
! 20374: # as_fn_set_status STATUS
! 20375: # -----------------------
! 20376: # Set $? to STATUS, without forking.
! 20377: as_fn_set_status ()
! 20378: {
! 20379: return $1
! 20380: } # as_fn_set_status
! 20381:
! 20382: # as_fn_exit STATUS
! 20383: # -----------------
! 20384: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
! 20385: as_fn_exit ()
! 20386: {
! 20387: set +e
! 20388: as_fn_set_status $1
! 20389: exit $1
! 20390: } # as_fn_exit
! 20391:
! 20392: # as_fn_unset VAR
! 20393: # ---------------
! 20394: # Portably unset VAR.
! 20395: as_fn_unset ()
! 20396: {
! 20397: { eval $1=; unset $1;}
! 20398: }
! 20399: as_unset=as_fn_unset
! 20400: # as_fn_append VAR VALUE
! 20401: # ----------------------
! 20402: # Append the text in VALUE to the end of the definition contained in VAR. Take
! 20403: # advantage of any shell optimizations that allow amortized linear growth over
! 20404: # repeated appends, instead of the typical quadratic growth present in naive
! 20405: # implementations.
! 20406: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
! 20407: eval 'as_fn_append ()
! 20408: {
! 20409: eval $1+=\$2
! 20410: }'
! 20411: else
! 20412: as_fn_append ()
! 20413: {
! 20414: eval $1=\$$1\$2
! 20415: }
! 20416: fi # as_fn_append
! 20417:
! 20418: # as_fn_arith ARG...
! 20419: # ------------------
! 20420: # Perform arithmetic evaluation on the ARGs, and store the result in the
! 20421: # global $as_val. Take advantage of shells that can avoid forks. The arguments
! 20422: # must be portable across $(()) and expr.
! 20423: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
! 20424: eval 'as_fn_arith ()
! 20425: {
! 20426: as_val=$(( $* ))
! 20427: }'
! 20428: else
! 20429: as_fn_arith ()
! 20430: {
! 20431: as_val=`expr "$@" || test $? -eq 1`
! 20432: }
! 20433: fi # as_fn_arith
! 20434:
! 20435:
! 20436: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 20437: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 20438: as_expr=expr
! 20439: else
! 20440: as_expr=false
! 20441: fi
! 20442:
! 20443: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 20444: as_basename=basename
! 20445: else
! 20446: as_basename=false
! 20447: fi
! 20448:
! 20449: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 20450: as_dirname=dirname
! 20451: else
! 20452: as_dirname=false
! 20453: fi
! 20454:
! 20455: as_me=`$as_basename -- "$0" ||
! 20456: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 20457: X"$0" : 'X\(//\)$' \| \
! 20458: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 20459: $as_echo X/"$0" |
! 20460: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 20461: s//\1/
! 20462: q
! 20463: }
! 20464: /^X\/\(\/\/\)$/{
! 20465: s//\1/
! 20466: q
! 20467: }
! 20468: /^X\/\(\/\).*/{
! 20469: s//\1/
! 20470: q
! 20471: }
! 20472: s/.*/./; q'`
! 20473:
! 20474: # Avoid depending upon Character Ranges.
! 20475: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 20476: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 20477: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 20478: as_cr_digits='0123456789'
! 20479: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 20480:
! 20481: ECHO_C= ECHO_N= ECHO_T=
! 20482: case `echo -n x` in #(((((
! 20483: -n*)
! 20484: case `echo 'xy\c'` in
! 20485: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 20486: xy) ECHO_C='\c';;
! 20487: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
! 20488: ECHO_T=' ';;
! 20489: esac;;
! 20490: *)
! 20491: ECHO_N='-n';;
! 20492: esac
! 20493:
! 20494: rm -f conf$$ conf$$.exe conf$$.file
! 20495: if test -d conf$$.dir; then
! 20496: rm -f conf$$.dir/conf$$.file
! 20497: else
! 20498: rm -f conf$$.dir
! 20499: mkdir conf$$.dir 2>/dev/null
! 20500: fi
! 20501: if (echo >conf$$.file) 2>/dev/null; then
! 20502: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 20503: as_ln_s='ln -s'
! 20504: # ... but there are two gotchas:
! 20505: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 20506: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 20507: # In both cases, we have to default to `cp -p'.
! 20508: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 20509: as_ln_s='cp -p'
! 20510: elif ln conf$$.file conf$$ 2>/dev/null; then
! 20511: as_ln_s=ln
! 20512: else
! 20513: as_ln_s='cp -p'
! 20514: fi
! 20515: else
! 20516: as_ln_s='cp -p'
! 20517: fi
! 20518: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 20519: rmdir conf$$.dir 2>/dev/null
! 20520:
! 20521:
! 20522: # as_fn_mkdir_p
! 20523: # -------------
! 20524: # Create "$as_dir" as a directory, including parents if necessary.
! 20525: as_fn_mkdir_p ()
! 20526: {
! 20527:
! 20528: case $as_dir in #(
! 20529: -*) as_dir=./$as_dir;;
! 20530: esac
! 20531: test -d "$as_dir" || eval $as_mkdir_p || {
! 20532: as_dirs=
! 20533: while :; do
! 20534: case $as_dir in #(
! 20535: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 20536: *) as_qdir=$as_dir;;
! 20537: esac
! 20538: as_dirs="'$as_qdir' $as_dirs"
! 20539: as_dir=`$as_dirname -- "$as_dir" ||
! 20540: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 20541: X"$as_dir" : 'X\(//\)[^/]' \| \
! 20542: X"$as_dir" : 'X\(//\)$' \| \
! 20543: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 20544: $as_echo X"$as_dir" |
! 20545: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 20546: s//\1/
! 20547: q
! 20548: }
! 20549: /^X\(\/\/\)[^/].*/{
! 20550: s//\1/
! 20551: q
! 20552: }
! 20553: /^X\(\/\/\)$/{
! 20554: s//\1/
! 20555: q
! 20556: }
! 20557: /^X\(\/\).*/{
! 20558: s//\1/
! 20559: q
! 20560: }
! 20561: s/.*/./; q'`
! 20562: test -d "$as_dir" && break
! 20563: done
! 20564: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 20565: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
! 20566:
! 20567:
! 20568: } # as_fn_mkdir_p
! 20569: if mkdir -p . 2>/dev/null; then
! 20570: as_mkdir_p='mkdir -p "$as_dir"'
! 20571: else
! 20572: test -d ./-p && rmdir ./-p
! 20573: as_mkdir_p=false
! 20574: fi
! 20575:
! 20576: if test -x / >/dev/null 2>&1; then
! 20577: as_test_x='test -x'
! 20578: else
! 20579: if ls -dL / >/dev/null 2>&1; then
! 20580: as_ls_L_option=L
! 20581: else
! 20582: as_ls_L_option=
! 20583: fi
! 20584: as_test_x='
! 20585: eval sh -c '\''
! 20586: if test -d "$1"; then
! 20587: test -d "$1/.";
! 20588: else
! 20589: case $1 in #(
! 20590: -*)set "./$1";;
! 20591: esac;
! 20592: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
! 20593: ???[sx]*):;;*)false;;esac;fi
! 20594: '\'' sh
! 20595: '
! 20596: fi
! 20597: as_executable_p=$as_test_x
! 20598:
! 20599: # Sed expression to map a string onto a valid CPP name.
! 20600: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 20601:
! 20602: # Sed expression to map a string onto a valid variable name.
! 20603: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 20604:
! 20605:
! 20606: exec 6>&1
! 20607: ## ----------------------------------- ##
! 20608: ## Main body of $CONFIG_STATUS script. ##
! 20609: ## ----------------------------------- ##
! 20610: _ASEOF
! 20611: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
! 20612:
! 20613: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 20614: # Save the log message, to keep $0 and so on meaningful, and to
! 20615: # report actual input values of CONFIG_FILES etc. instead of their
! 20616: # values after options handling.
! 20617: ac_log="
! 20618: This file was extended by sudo $as_me 1.8.3p2, which was
! 20619: generated by GNU Autoconf 2.68. Invocation command line was
! 20620:
! 20621: CONFIG_FILES = $CONFIG_FILES
! 20622: CONFIG_HEADERS = $CONFIG_HEADERS
! 20623: CONFIG_LINKS = $CONFIG_LINKS
! 20624: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 20625: $ $0 $@
! 20626:
! 20627: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 20628: "
! 20629:
! 20630: _ACEOF
! 20631:
! 20632: case $ac_config_files in *"
! 20633: "*) set x $ac_config_files; shift; ac_config_files=$*;;
! 20634: esac
! 20635:
! 20636: case $ac_config_headers in *"
! 20637: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
! 20638: esac
! 20639:
! 20640:
! 20641: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 20642: # Files that config.status was made for.
! 20643: config_files="$ac_config_files"
! 20644: config_headers="$ac_config_headers"
! 20645: config_commands="$ac_config_commands"
! 20646:
! 20647: _ACEOF
! 20648:
! 20649: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 20650: ac_cs_usage="\
! 20651: \`$as_me' instantiates files and other configuration actions
! 20652: from templates according to the current configuration. Unless the files
! 20653: and actions are specified as TAGs, all are instantiated by default.
! 20654:
! 20655: Usage: $0 [OPTION]... [TAG]...
! 20656:
! 20657: -h, --help print this help, then exit
! 20658: -V, --version print version number and configuration settings, then exit
! 20659: --config print configuration, then exit
! 20660: -q, --quiet, --silent
! 20661: do not print progress messages
! 20662: -d, --debug don't remove temporary files
! 20663: --recheck update $as_me by reconfiguring in the same conditions
! 20664: --file=FILE[:TEMPLATE]
! 20665: instantiate the configuration file FILE
! 20666: --header=FILE[:TEMPLATE]
! 20667: instantiate the configuration header FILE
! 20668:
! 20669: Configuration files:
! 20670: $config_files
! 20671:
! 20672: Configuration headers:
! 20673: $config_headers
! 20674:
! 20675: Configuration commands:
! 20676: $config_commands
! 20677:
! 20678: Report bugs to <http://www.sudo.ws/bugs/>."
! 20679:
! 20680: _ACEOF
! 20681: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 20682: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
! 20683: ac_cs_version="\\
! 20684: sudo config.status 1.8.3p2
! 20685: configured by $0, generated by GNU Autoconf 2.68,
! 20686: with options \\"\$ac_cs_config\\"
! 20687:
! 20688: Copyright (C) 2010 Free Software Foundation, Inc.
! 20689: This config.status script is free software; the Free Software Foundation
! 20690: gives unlimited permission to copy, distribute and modify it."
! 20691:
! 20692: ac_pwd='$ac_pwd'
! 20693: srcdir='$srcdir'
! 20694: AWK='$AWK'
! 20695: test -n "\$AWK" || AWK=awk
! 20696: _ACEOF
! 20697:
! 20698: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 20699: # The default lists apply if the user does not specify any file.
! 20700: ac_need_defaults=:
! 20701: while test $# != 0
! 20702: do
! 20703: case $1 in
! 20704: --*=?*)
! 20705: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 20706: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 20707: ac_shift=:
! 20708: ;;
! 20709: --*=)
! 20710: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 20711: ac_optarg=
! 20712: ac_shift=:
! 20713: ;;
! 20714: *)
! 20715: ac_option=$1
! 20716: ac_optarg=$2
! 20717: ac_shift=shift
! 20718: ;;
! 20719: esac
! 20720:
! 20721: case $ac_option in
! 20722: # Handling of the options.
! 20723: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 20724: ac_cs_recheck=: ;;
! 20725: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 20726: $as_echo "$ac_cs_version"; exit ;;
! 20727: --config | --confi | --conf | --con | --co | --c )
! 20728: $as_echo "$ac_cs_config"; exit ;;
! 20729: --debug | --debu | --deb | --de | --d | -d )
! 20730: debug=: ;;
! 20731: --file | --fil | --fi | --f )
! 20732: $ac_shift
! 20733: case $ac_optarg in
! 20734: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 20735: '') as_fn_error $? "missing file argument" ;;
! 20736: esac
! 20737: as_fn_append CONFIG_FILES " '$ac_optarg'"
! 20738: ac_need_defaults=false;;
! 20739: --header | --heade | --head | --hea )
! 20740: $ac_shift
! 20741: case $ac_optarg in
! 20742: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 20743: esac
! 20744: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
! 20745: ac_need_defaults=false;;
! 20746: --he | --h)
! 20747: # Conflict between --help and --header
! 20748: as_fn_error $? "ambiguous option: \`$1'
! 20749: Try \`$0 --help' for more information.";;
! 20750: --help | --hel | -h )
! 20751: $as_echo "$ac_cs_usage"; exit ;;
! 20752: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 20753: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 20754: ac_cs_silent=: ;;
! 20755:
! 20756: # This is an error.
! 20757: -*) as_fn_error $? "unrecognized option: \`$1'
! 20758: Try \`$0 --help' for more information." ;;
! 20759:
! 20760: *) as_fn_append ac_config_targets " $1"
! 20761: ac_need_defaults=false ;;
! 20762:
! 20763: esac
! 20764: shift
! 20765: done
! 20766:
! 20767: ac_configure_extra_args=
! 20768:
! 20769: if $ac_cs_silent; then
! 20770: exec 6>/dev/null
! 20771: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 20772: fi
! 20773:
! 20774: _ACEOF
! 20775: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 20776: if \$ac_cs_recheck; then
! 20777: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 20778: shift
! 20779: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 20780: CONFIG_SHELL='$SHELL'
! 20781: export CONFIG_SHELL
! 20782: exec "\$@"
! 20783: fi
! 20784:
! 20785: _ACEOF
! 20786: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 20787: exec 5>>config.log
! 20788: {
! 20789: echo
! 20790: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 20791: ## Running $as_me. ##
! 20792: _ASBOX
! 20793: $as_echo "$ac_log"
! 20794: } >&5
! 20795:
! 20796: _ACEOF
! 20797: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 20798: #
! 20799: # INIT-COMMANDS
! 20800: #
! 20801:
! 20802:
! 20803: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 20804: # if CDPATH is set.
! 20805: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 20806:
! 20807: sed_quote_subst='$sed_quote_subst'
! 20808: double_quote_subst='$double_quote_subst'
! 20809: delay_variable_subst='$delay_variable_subst'
! 20810: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
! 20811: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
! 20812: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
! 20813: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
! 20814: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
! 20815: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
! 20816: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
! 20817: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
! 20818: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
! 20819: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
! 20820: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
! 20821: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
! 20822: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
! 20823: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
! 20824: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
! 20825: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
! 20826: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
! 20827: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
! 20828: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
! 20829: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
! 20830: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
! 20831: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
! 20832: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
! 20833: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
! 20834: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
! 20835: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
! 20836: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
! 20837: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
! 20838: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
! 20839: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
! 20840: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
! 20841: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
! 20842: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
! 20843: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
! 20844: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
! 20845: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
! 20846: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
! 20847: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
! 20848: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
! 20849: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
! 20850: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
! 20851: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
! 20852: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
! 20853: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
! 20854: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 20855: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 20856: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
! 20857: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
! 20858: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
! 20859: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
! 20860: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
! 20861: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
! 20862: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
! 20863: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
! 20864: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
! 20865: 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"`'
! 20866: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
! 20867: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
! 20868: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
! 20869: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
! 20870: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
! 20871: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
! 20872: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
! 20873: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
! 20874: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
! 20875: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
! 20876: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
! 20877: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
! 20878: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
! 20879: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
! 20880: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
! 20881: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
! 20882: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
! 20883: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
! 20884: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 20885: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
! 20886: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
! 20887: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
! 20888: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
! 20889: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
! 20890: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
! 20891: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 20892: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
! 20893: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 20894: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
! 20895: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 20896: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
! 20897: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 20898: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 20899: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
! 20900: hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
! 20901: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
! 20902: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
! 20903: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
! 20904: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
! 20905: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 20906: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
! 20907: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
! 20908: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
! 20909: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
! 20910: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
! 20911: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
! 20912: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
! 20913: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
! 20914: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
! 20915: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
! 20916: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
! 20917: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
! 20918: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
! 20919: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
! 20920: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
! 20921: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 20922: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
! 20923: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
! 20924: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
! 20925: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
! 20926: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
! 20927: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 20928: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 20929: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
! 20930: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
! 20931: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
! 20932: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
! 20933: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
! 20934: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
! 20935: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
! 20936: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
! 20937: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
! 20938: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
! 20939: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
! 20940:
! 20941: LTCC='$LTCC'
! 20942: LTCFLAGS='$LTCFLAGS'
! 20943: compiler='$compiler_DEFAULT'
! 20944:
! 20945: # A function that is used when there is no print builtin or printf.
! 20946: func_fallback_echo ()
! 20947: {
! 20948: eval 'cat <<_LTECHO_EOF
! 20949: \$1
! 20950: _LTECHO_EOF'
! 20951: }
! 20952:
! 20953: # Quote evaled strings.
! 20954: for var in SHELL \
! 20955: ECHO \
! 20956: SED \
! 20957: GREP \
! 20958: EGREP \
! 20959: FGREP \
! 20960: LD \
! 20961: NM \
! 20962: LN_S \
! 20963: lt_SP2NL \
! 20964: lt_NL2SP \
! 20965: reload_flag \
! 20966: OBJDUMP \
! 20967: deplibs_check_method \
! 20968: file_magic_cmd \
! 20969: file_magic_glob \
! 20970: want_nocaseglob \
! 20971: DLLTOOL \
! 20972: sharedlib_from_linklib_cmd \
! 20973: AR \
! 20974: AR_FLAGS \
! 20975: archiver_list_spec \
! 20976: STRIP \
! 20977: RANLIB \
! 20978: CC \
! 20979: CFLAGS \
! 20980: compiler \
! 20981: lt_cv_sys_global_symbol_pipe \
! 20982: lt_cv_sys_global_symbol_to_cdecl \
! 20983: lt_cv_sys_global_symbol_to_c_name_address \
! 20984: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
! 20985: nm_file_list_spec \
! 20986: lt_prog_compiler_no_builtin_flag \
! 20987: lt_prog_compiler_pic \
! 20988: lt_prog_compiler_wl \
! 20989: lt_prog_compiler_static \
! 20990: lt_cv_prog_compiler_c_o \
! 20991: need_locks \
! 20992: MANIFEST_TOOL \
! 20993: DSYMUTIL \
! 20994: NMEDIT \
! 20995: LIPO \
! 20996: OTOOL \
! 20997: OTOOL64 \
! 20998: shrext_cmds \
! 20999: export_dynamic_flag_spec \
! 21000: whole_archive_flag_spec \
! 21001: compiler_needs_object \
! 21002: with_gnu_ld \
! 21003: allow_undefined_flag \
! 21004: no_undefined_flag \
! 21005: hardcode_libdir_flag_spec \
! 21006: hardcode_libdir_flag_spec_ld \
! 21007: hardcode_libdir_separator \
! 21008: exclude_expsyms \
! 21009: include_expsyms \
! 21010: file_list_spec \
! 21011: variables_saved_for_relink \
! 21012: libname_spec \
! 21013: library_names_spec \
! 21014: soname_spec \
! 21015: install_override_mode \
! 21016: finish_eval \
! 21017: old_striplib \
! 21018: striplib; do
! 21019: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 21020: *[\\\\\\\`\\"\\\$]*)
! 21021: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
! 21022: ;;
! 21023: *)
! 21024: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 21025: ;;
! 21026: esac
! 21027: done
! 21028:
! 21029: # Double-quote double-evaled strings.
! 21030: for var in reload_cmds \
! 21031: old_postinstall_cmds \
! 21032: old_postuninstall_cmds \
! 21033: old_archive_cmds \
! 21034: extract_expsyms_cmds \
! 21035: old_archive_from_new_cmds \
! 21036: old_archive_from_expsyms_cmds \
! 21037: archive_cmds \
! 21038: archive_expsym_cmds \
! 21039: module_cmds \
! 21040: module_expsym_cmds \
! 21041: export_symbols_cmds \
! 21042: prelink_cmds \
! 21043: postlink_cmds \
! 21044: postinstall_cmds \
! 21045: postuninstall_cmds \
! 21046: finish_cmds \
! 21047: sys_lib_search_path_spec \
! 21048: sys_lib_dlsearch_path_spec; do
! 21049: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 21050: *[\\\\\\\`\\"\\\$]*)
! 21051: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
! 21052: ;;
! 21053: *)
! 21054: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 21055: ;;
! 21056: esac
! 21057: done
! 21058:
! 21059: ac_aux_dir='$ac_aux_dir'
! 21060: xsi_shell='$xsi_shell'
! 21061: lt_shell_append='$lt_shell_append'
! 21062:
! 21063: # See if we are running on zsh, and set the options which allow our
! 21064: # commands through without removal of \ escapes INIT.
! 21065: if test -n "\${ZSH_VERSION+set}" ; then
! 21066: setopt NO_GLOB_SUBST
! 21067: fi
! 21068:
! 21069:
! 21070: PACKAGE='$PACKAGE'
! 21071: VERSION='$VERSION'
! 21072: TIMESTAMP='$TIMESTAMP'
! 21073: RM='$RM'
! 21074: ofile='$ofile'
! 21075:
! 21076:
! 21077:
! 21078:
! 21079: _ACEOF
! 21080:
! 21081: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 21082:
! 21083: # Handling of arguments.
! 21084: for ac_config_target in $ac_config_targets
! 21085: do
! 21086: case $ac_config_target in
! 21087: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
! 21088: "pathnames.h") CONFIG_HEADERS="$CONFIG_HEADERS pathnames.h" ;;
! 21089: "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
! 21090: "zlib/zconf.h") CONFIG_HEADERS="$CONFIG_HEADERS zlib/zconf.h" ;;
! 21091: "zlib/Makefile") CONFIG_FILES="$CONFIG_FILES zlib/Makefile" ;;
! 21092: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 21093: "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
! 21094: "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
! 21095: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
! 21096: "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
! 21097: "src/sudo_usage.h") CONFIG_FILES="$CONFIG_FILES src/sudo_usage.h" ;;
! 21098: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
! 21099: "plugins/sample/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/sample/Makefile" ;;
! 21100: "plugins/sample_group/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/sample_group/Makefile" ;;
! 21101: "plugins/sudoers/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/sudoers/Makefile" ;;
! 21102: "plugins/sudoers/sudoers") CONFIG_FILES="$CONFIG_FILES plugins/sudoers/sudoers" ;;
! 21103:
! 21104: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
! 21105: esac
! 21106: done
! 21107:
! 21108:
! 21109: # If the user did not use the arguments to specify the items to instantiate,
! 21110: # then the envvar interface is used. Set only those that are not.
! 21111: # We use the long form for the default assignment because of an extremely
! 21112: # bizarre bug on SunOS 4.1.3.
! 21113: if $ac_need_defaults; then
! 21114: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 21115: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 21116: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 21117: fi
! 21118:
! 21119: # Have a temporary directory for convenience. Make it in the build tree
! 21120: # simply because there is no reason against having it here, and in addition,
! 21121: # creating and moving files from /tmp can sometimes cause problems.
! 21122: # Hook for its removal unless debugging.
! 21123: # Note that there is a small window in which the directory will not be cleaned:
! 21124: # after its creation but before its name has been assigned to `$tmp'.
! 21125: $debug ||
! 21126: {
! 21127: tmp= ac_tmp=
! 21128: trap 'exit_status=$?
! 21129: : "${ac_tmp:=$tmp}"
! 21130: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
! 21131: ' 0
! 21132: trap 'as_fn_exit 1' 1 2 13 15
! 21133: }
! 21134: # Create a (secure) tmp directory for tmp files.
! 21135:
! 21136: {
! 21137: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 21138: test -d "$tmp"
! 21139: } ||
! 21140: {
! 21141: tmp=./conf$$-$RANDOM
! 21142: (umask 077 && mkdir "$tmp")
! 21143: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
! 21144: ac_tmp=$tmp
! 21145:
! 21146: # Set up the scripts for CONFIG_FILES section.
! 21147: # No need to generate them if there are no CONFIG_FILES.
! 21148: # This happens for instance with `./config.status config.h'.
! 21149: if test -n "$CONFIG_FILES"; then
! 21150:
! 21151:
! 21152: ac_cr=`echo X | tr X '\015'`
! 21153: # On cygwin, bash can eat \r inside `` if the user requested igncr.
! 21154: # But we know of no other shell where ac_cr would be empty at this
! 21155: # point, so we can use a bashism as a fallback.
! 21156: if test "x$ac_cr" = x; then
! 21157: eval ac_cr=\$\'\\r\'
! 21158: fi
! 21159: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 21160: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 21161: ac_cs_awk_cr='\\r'
! 21162: else
! 21163: ac_cs_awk_cr=$ac_cr
! 21164: fi
! 21165:
! 21166: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
! 21167: _ACEOF
! 21168:
! 21169:
! 21170: {
! 21171: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 21172: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 21173: echo "_ACEOF"
! 21174: } >conf$$subs.sh ||
! 21175: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 21176: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
! 21177: ac_delim='%!_!# '
! 21178: for ac_last_try in false false false false false :; do
! 21179: . ./conf$$subs.sh ||
! 21180: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 21181:
! 21182: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
! 21183: if test $ac_delim_n = $ac_delim_num; then
! 21184: break
! 21185: elif $ac_last_try; then
! 21186: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
! 21187: else
! 21188: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 21189: fi
! 21190: done
! 21191: rm -f conf$$subs.sh
! 21192:
! 21193: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 21194: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
! 21195: _ACEOF
! 21196: sed -n '
! 21197: h
! 21198: s/^/S["/; s/!.*/"]=/
! 21199: p
! 21200: g
! 21201: s/^[^!]*!//
! 21202: :repl
! 21203: t repl
! 21204: s/'"$ac_delim"'$//
! 21205: t delim
! 21206: :nl
! 21207: h
! 21208: s/\(.\{148\}\)..*/\1/
! 21209: t more1
! 21210: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 21211: p
! 21212: n
! 21213: b repl
! 21214: :more1
! 21215: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 21216: p
! 21217: g
! 21218: s/.\{148\}//
! 21219: t nl
! 21220: :delim
! 21221: h
! 21222: s/\(.\{148\}\)..*/\1/
! 21223: t more2
! 21224: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 21225: p
! 21226: b
! 21227: :more2
! 21228: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 21229: p
! 21230: g
! 21231: s/.\{148\}//
! 21232: t delim
! 21233: ' <conf$$subs.awk | sed '
! 21234: /^[^""]/{
! 21235: N
! 21236: s/\n//
! 21237: }
! 21238: ' >>$CONFIG_STATUS || ac_write_fail=1
! 21239: rm -f conf$$subs.awk
! 21240: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 21241: _ACAWK
! 21242: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
! 21243: for (key in S) S_is_set[key] = 1
! 21244: FS = ""
! 21245:
! 21246: }
! 21247: {
! 21248: line = $ 0
! 21249: nfields = split(line, field, "@")
! 21250: substed = 0
! 21251: len = length(field[1])
! 21252: for (i = 2; i < nfields; i++) {
! 21253: key = field[i]
! 21254: keylen = length(key)
! 21255: if (S_is_set[key]) {
! 21256: value = S[key]
! 21257: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 21258: len += length(value) + length(field[++i])
! 21259: substed = 1
! 21260: } else
! 21261: len += 1 + keylen
! 21262: }
! 21263:
! 21264: print line
! 21265: }
! 21266:
! 21267: _ACAWK
! 21268: _ACEOF
! 21269: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 21270: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 21271: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 21272: else
! 21273: cat
! 21274: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
! 21275: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
! 21276: _ACEOF
! 21277:
! 21278: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
! 21279: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
! 21280: # trailing colons and then remove the whole line if VPATH becomes empty
! 21281: # (actually we leave an empty line to preserve line numbers).
! 21282: if test "x$srcdir" = x.; then
! 21283: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
! 21284: h
! 21285: s///
! 21286: s/^/:/
! 21287: s/[ ]*$/:/
! 21288: s/:\$(srcdir):/:/g
! 21289: s/:\${srcdir}:/:/g
! 21290: s/:@srcdir@:/:/g
! 21291: s/^:*//
! 21292: s/:*$//
! 21293: x
! 21294: s/\(=[ ]*\).*/\1/
! 21295: G
! 21296: s/\n//
! 21297: s/^[^=]*=[ ]*$//
! 21298: }'
! 21299: fi
! 21300:
! 21301: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 21302: fi # test -n "$CONFIG_FILES"
! 21303:
! 21304: # Set up the scripts for CONFIG_HEADERS section.
! 21305: # No need to generate them if there are no CONFIG_HEADERS.
! 21306: # This happens for instance with `./config.status Makefile'.
! 21307: if test -n "$CONFIG_HEADERS"; then
! 21308: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
! 21309: BEGIN {
! 21310: _ACEOF
! 21311:
! 21312: # Transform confdefs.h into an awk script `defines.awk', embedded as
! 21313: # here-document in config.status, that substitutes the proper values into
! 21314: # config.h.in to produce config.h.
! 21315:
! 21316: # Create a delimiter string that does not exist in confdefs.h, to ease
! 21317: # handling of long lines.
! 21318: ac_delim='%!_!# '
! 21319: for ac_last_try in false false :; do
! 21320: ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
! 21321: if test -z "$ac_tt"; then
! 21322: break
! 21323: elif $ac_last_try; then
! 21324: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
! 21325: else
! 21326: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 21327: fi
! 21328: done
! 21329:
! 21330: # For the awk script, D is an array of macro values keyed by name,
! 21331: # likewise P contains macro parameters if any. Preserve backslash
! 21332: # newline sequences.
! 21333:
! 21334: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
! 21335: sed -n '
! 21336: s/.\{148\}/&'"$ac_delim"'/g
! 21337: t rset
! 21338: :rset
! 21339: s/^[ ]*#[ ]*define[ ][ ]*/ /
! 21340: t def
! 21341: d
! 21342: :def
! 21343: s/\\$//
! 21344: t bsnl
! 21345: s/["\\]/\\&/g
! 21346: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 21347: D["\1"]=" \3"/p
! 21348: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
! 21349: d
! 21350: :bsnl
! 21351: s/["\\]/\\&/g
! 21352: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 21353: D["\1"]=" \3\\\\\\n"\\/p
! 21354: t cont
! 21355: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
! 21356: t cont
! 21357: d
! 21358: :cont
! 21359: n
! 21360: s/.\{148\}/&'"$ac_delim"'/g
! 21361: t clear
! 21362: :clear
! 21363: s/\\$//
! 21364: t bsnlc
! 21365: s/["\\]/\\&/g; s/^/"/; s/$/"/p
! 21366: d
! 21367: :bsnlc
! 21368: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
! 21369: b cont
! 21370: ' <confdefs.h | sed '
! 21371: s/'"$ac_delim"'/"\\\
! 21372: "/g' >>$CONFIG_STATUS || ac_write_fail=1
! 21373:
! 21374: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 21375: for (key in D) D_is_set[key] = 1
! 21376: FS = ""
! 21377: }
! 21378: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
! 21379: line = \$ 0
! 21380: split(line, arg, " ")
! 21381: if (arg[1] == "#") {
! 21382: defundef = arg[2]
! 21383: mac1 = arg[3]
! 21384: } else {
! 21385: defundef = substr(arg[1], 2)
! 21386: mac1 = arg[2]
! 21387: }
! 21388: split(mac1, mac2, "(") #)
! 21389: macro = mac2[1]
! 21390: prefix = substr(line, 1, index(line, defundef) - 1)
! 21391: if (D_is_set[macro]) {
! 21392: # Preserve the white space surrounding the "#".
! 21393: print prefix "define", macro P[macro] D[macro]
! 21394: next
! 21395: } else {
! 21396: # Replace #undef with comments. This is necessary, for example,
! 21397: # in the case of _POSIX_SOURCE, which is predefined and required
! 21398: # on some systems where configure will not decide to define it.
! 21399: if (defundef == "undef") {
! 21400: print "/*", prefix defundef, macro, "*/"
! 21401: next
! 21402: }
! 21403: }
! 21404: }
! 21405: { print }
! 21406: _ACAWK
! 21407: _ACEOF
! 21408: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 21409: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
! 21410: fi # test -n "$CONFIG_HEADERS"
! 21411:
! 21412:
! 21413: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
! 21414: shift
! 21415: for ac_tag
! 21416: do
! 21417: case $ac_tag in
! 21418: :[FHLC]) ac_mode=$ac_tag; continue;;
! 21419: esac
! 21420: case $ac_mode$ac_tag in
! 21421: :[FHL]*:*);;
! 21422: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
! 21423: :[FH]-) ac_tag=-:-;;
! 21424: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 21425: esac
! 21426: ac_save_IFS=$IFS
! 21427: IFS=:
! 21428: set x $ac_tag
! 21429: IFS=$ac_save_IFS
! 21430: shift
! 21431: ac_file=$1
! 21432: shift
! 21433:
! 21434: case $ac_mode in
! 21435: :L) ac_source=$1;;
! 21436: :[FH])
! 21437: ac_file_inputs=
! 21438: for ac_f
! 21439: do
! 21440: case $ac_f in
! 21441: -) ac_f="$ac_tmp/stdin";;
! 21442: *) # Look for the file first in the build tree, then in the source tree
! 21443: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 21444: # because $ac_f cannot contain `:'.
! 21445: test -f "$ac_f" ||
! 21446: case $ac_f in
! 21447: [\\/$]*) false;;
! 21448: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 21449: esac ||
! 21450: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
! 21451: esac
! 21452: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 21453: as_fn_append ac_file_inputs " '$ac_f'"
! 21454: done
! 21455:
! 21456: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 21457: # use $as_me), people would be surprised to read:
! 21458: # /* config.h. Generated by config.status. */
! 21459: configure_input='Generated from '`
! 21460: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 21461: `' by configure.'
! 21462: if test x"$ac_file" != x-; then
! 21463: configure_input="$ac_file. $configure_input"
! 21464: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
! 21465: $as_echo "$as_me: creating $ac_file" >&6;}
! 21466: fi
! 21467: # Neutralize special characters interpreted by sed in replacement strings.
! 21468: case $configure_input in #(
! 21469: *\&* | *\|* | *\\* )
! 21470: ac_sed_conf_input=`$as_echo "$configure_input" |
! 21471: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 21472: *) ac_sed_conf_input=$configure_input;;
! 21473: esac
! 21474:
! 21475: case $ac_tag in
! 21476: *:-:* | *:-) cat >"$ac_tmp/stdin" \
! 21477: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
! 21478: esac
! 21479: ;;
! 21480: esac
! 21481:
! 21482: ac_dir=`$as_dirname -- "$ac_file" ||
! 21483: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 21484: X"$ac_file" : 'X\(//\)[^/]' \| \
! 21485: X"$ac_file" : 'X\(//\)$' \| \
! 21486: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 21487: $as_echo X"$ac_file" |
! 21488: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 21489: s//\1/
! 21490: q
! 21491: }
! 21492: /^X\(\/\/\)[^/].*/{
! 21493: s//\1/
! 21494: q
! 21495: }
! 21496: /^X\(\/\/\)$/{
! 21497: s//\1/
! 21498: q
! 21499: }
! 21500: /^X\(\/\).*/{
! 21501: s//\1/
! 21502: q
! 21503: }
! 21504: s/.*/./; q'`
! 21505: as_dir="$ac_dir"; as_fn_mkdir_p
! 21506: ac_builddir=.
! 21507:
! 21508: case "$ac_dir" in
! 21509: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 21510: *)
! 21511: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 21512: # A ".." for each directory in $ac_dir_suffix.
! 21513: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 21514: case $ac_top_builddir_sub in
! 21515: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 21516: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 21517: esac ;;
! 21518: esac
! 21519: ac_abs_top_builddir=$ac_pwd
! 21520: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 21521: # for backward compatibility:
! 21522: ac_top_builddir=$ac_top_build_prefix
! 21523:
! 21524: case $srcdir in
! 21525: .) # We are building in place.
! 21526: ac_srcdir=.
! 21527: ac_top_srcdir=$ac_top_builddir_sub
! 21528: ac_abs_top_srcdir=$ac_pwd ;;
! 21529: [\\/]* | ?:[\\/]* ) # Absolute name.
! 21530: ac_srcdir=$srcdir$ac_dir_suffix;
! 21531: ac_top_srcdir=$srcdir
! 21532: ac_abs_top_srcdir=$srcdir ;;
! 21533: *) # Relative name.
! 21534: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 21535: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 21536: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 21537: esac
! 21538: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 21539:
! 21540:
! 21541: case $ac_mode in
! 21542: :F)
! 21543: #
! 21544: # CONFIG_FILE
! 21545: #
! 21546:
! 21547: _ACEOF
! 21548:
! 21549: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 21550: # If the template does not know about datarootdir, expand it.
! 21551: # FIXME: This hack should be removed a few years after 2.60.
! 21552: ac_datarootdir_hack=; ac_datarootdir_seen=
! 21553: ac_sed_dataroot='
! 21554: /datarootdir/ {
! 21555: p
! 21556: q
! 21557: }
! 21558: /@datadir@/p
! 21559: /@docdir@/p
! 21560: /@infodir@/p
! 21561: /@localedir@/p
! 21562: /@mandir@/p'
! 21563: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 21564: *datarootdir*) ac_datarootdir_seen=yes;;
! 21565: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 21566: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 21567: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 21568: _ACEOF
! 21569: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 21570: ac_datarootdir_hack='
! 21571: s&@datadir@&$datadir&g
! 21572: s&@docdir@&$docdir&g
! 21573: s&@infodir@&$infodir&g
! 21574: s&@localedir@&$localedir&g
! 21575: s&@mandir@&$mandir&g
! 21576: s&\\\${datarootdir}&$datarootdir&g' ;;
! 21577: esac
! 21578: _ACEOF
! 21579:
! 21580: # Neutralize VPATH when `$srcdir' = `.'.
! 21581: # Shell code in configure.ac might set extrasub.
! 21582: # FIXME: do we really want to maintain this feature?
! 21583: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 21584: ac_sed_extra="$ac_vpsub
! 21585: $extrasub
! 21586: _ACEOF
! 21587: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 21588: :t
! 21589: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 21590: s|@configure_input@|$ac_sed_conf_input|;t t
! 21591: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 21592: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 21593: s&@srcdir@&$ac_srcdir&;t t
! 21594: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 21595: s&@top_srcdir@&$ac_top_srcdir&;t t
! 21596: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 21597: s&@builddir@&$ac_builddir&;t t
! 21598: s&@abs_builddir@&$ac_abs_builddir&;t t
! 21599: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 21600: $ac_datarootdir_hack
! 21601: "
! 21602: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
! 21603: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 21604:
! 21605: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 21606: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
! 21607: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
! 21608: "$ac_tmp/out"`; test -z "$ac_out"; } &&
! 21609: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 21610: which seems to be undefined. Please make sure it is defined" >&5
! 21611: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 21612: which seems to be undefined. Please make sure it is defined" >&2;}
! 21613:
! 21614: rm -f "$ac_tmp/stdin"
! 21615: case $ac_file in
! 21616: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
! 21617: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
! 21618: esac \
! 21619: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 21620: ;;
! 21621: :H)
! 21622: #
! 21623: # CONFIG_HEADER
! 21624: #
! 21625: if test x"$ac_file" != x-; then
! 21626: {
! 21627: $as_echo "/* $configure_input */" \
! 21628: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
! 21629: } >"$ac_tmp/config.h" \
! 21630: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 21631: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
! 21632: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
! 21633: $as_echo "$as_me: $ac_file is unchanged" >&6;}
! 21634: else
! 21635: rm -f "$ac_file"
! 21636: mv "$ac_tmp/config.h" "$ac_file" \
! 21637: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 21638: fi
! 21639: else
! 21640: $as_echo "/* $configure_input */" \
! 21641: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
! 21642: || as_fn_error $? "could not create -" "$LINENO" 5
! 21643: fi
! 21644: ;;
! 21645:
! 21646: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
! 21647: $as_echo "$as_me: executing $ac_file commands" >&6;}
! 21648: ;;
! 21649: esac
! 21650:
! 21651:
! 21652: case $ac_file$ac_mode in
! 21653: "libtool":C)
! 21654:
! 21655: # See if we are running on zsh, and set the options which allow our
! 21656: # commands through without removal of \ escapes.
! 21657: if test -n "${ZSH_VERSION+set}" ; then
! 21658: setopt NO_GLOB_SUBST
! 21659: fi
! 21660:
! 21661: cfgfile="${ofile}T"
! 21662: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
! 21663: $RM "$cfgfile"
! 21664:
! 21665: cat <<_LT_EOF >> "$cfgfile"
! 21666: #! $SHELL
! 21667:
! 21668: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 21669: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
! 21670: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 21671: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 21672: #
! 21673: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
! 21674: # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
! 21675: # Inc.
! 21676: # Written by Gordon Matzigkeit, 1996
! 21677: #
! 21678: # This file is part of GNU Libtool.
! 21679: #
! 21680: # GNU Libtool is free software; you can redistribute it and/or
! 21681: # modify it under the terms of the GNU General Public License as
! 21682: # published by the Free Software Foundation; either version 2 of
! 21683: # the License, or (at your option) any later version.
! 21684: #
! 21685: # As a special exception to the GNU General Public License,
! 21686: # if you distribute this file as part of a program or library that
! 21687: # is built using GNU Libtool, you may include this file under the
! 21688: # same distribution terms that you use for the rest of that program.
! 21689: #
! 21690: # GNU Libtool is distributed in the hope that it will be useful,
! 21691: # but WITHOUT ANY WARRANTY; without even the implied warranty of
! 21692: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 21693: # GNU General Public License for more details.
! 21694: #
! 21695: # You should have received a copy of the GNU General Public License
! 21696: # along with GNU Libtool; see the file COPYING. If not, a copy
! 21697: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
! 21698: # obtained by writing to the Free Software Foundation, Inc.,
! 21699: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
! 21700:
! 21701:
! 21702: # The names of the tagged configurations supported by this script.
! 21703: available_tags=""
! 21704:
! 21705: # ### BEGIN LIBTOOL CONFIG
! 21706:
! 21707: # Which release of libtool.m4 was used?
! 21708: macro_version=$macro_version
! 21709: macro_revision=$macro_revision
! 21710:
! 21711: # Whether or not to build shared libraries.
! 21712: build_libtool_libs=$enable_shared
! 21713:
! 21714: # Whether or not to build static libraries.
! 21715: build_old_libs=$enable_static
! 21716:
! 21717: # What type of objects to build.
! 21718: pic_mode=$pic_mode
! 21719:
! 21720: # Whether or not to optimize for fast installation.
! 21721: fast_install=$enable_fast_install
! 21722:
! 21723: # Shell to use when invoking shell scripts.
! 21724: SHELL=$lt_SHELL
! 21725:
! 21726: # An echo program that protects backslashes.
! 21727: ECHO=$lt_ECHO
! 21728:
! 21729: # The host system.
! 21730: host_alias=$host_alias
! 21731: host=$host
! 21732: host_os=$host_os
! 21733:
! 21734: # The build system.
! 21735: build_alias=$build_alias
! 21736: build=$build
! 21737: build_os=$build_os
! 21738:
! 21739: # A sed program that does not truncate output.
! 21740: SED=$lt_SED
! 21741:
! 21742: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 21743: Xsed="\$SED -e 1s/^X//"
! 21744:
! 21745: # A grep program that handles long lines.
! 21746: GREP=$lt_GREP
! 21747:
! 21748: # An ERE matcher.
! 21749: EGREP=$lt_EGREP
! 21750:
! 21751: # A literal string matcher.
! 21752: FGREP=$lt_FGREP
! 21753:
! 21754: # A BSD- or MS-compatible name lister.
! 21755: NM=$lt_NM
! 21756:
! 21757: # Whether we need soft or hard links.
! 21758: LN_S=$lt_LN_S
! 21759:
! 21760: # What is the maximum length of a command?
! 21761: max_cmd_len=$max_cmd_len
! 21762:
! 21763: # Object file suffix (normally "o").
! 21764: objext=$ac_objext
! 21765:
! 21766: # Executable file suffix (normally "").
! 21767: exeext=$exeext
! 21768:
! 21769: # whether the shell understands "unset".
! 21770: lt_unset=$lt_unset
! 21771:
! 21772: # turn spaces into newlines.
! 21773: SP2NL=$lt_lt_SP2NL
! 21774:
! 21775: # turn newlines into spaces.
! 21776: NL2SP=$lt_lt_NL2SP
! 21777:
! 21778: # convert \$build file names to \$host format.
! 21779: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 21780:
! 21781: # convert \$build files to toolchain format.
! 21782: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 21783:
! 21784: # An object symbol dumper.
! 21785: OBJDUMP=$lt_OBJDUMP
! 21786:
! 21787: # Method to check whether dependent libraries are shared objects.
! 21788: deplibs_check_method=$lt_deplibs_check_method
! 21789:
! 21790: # Command to use when deplibs_check_method = "file_magic".
! 21791: file_magic_cmd=$lt_file_magic_cmd
! 21792:
! 21793: # How to find potential files when deplibs_check_method = "file_magic".
! 21794: file_magic_glob=$lt_file_magic_glob
! 21795:
! 21796: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
! 21797: want_nocaseglob=$lt_want_nocaseglob
! 21798:
! 21799: # DLL creation program.
! 21800: DLLTOOL=$lt_DLLTOOL
! 21801:
! 21802: # Command to associate shared and link libraries.
! 21803: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
! 21804:
! 21805: # The archiver.
! 21806: AR=$lt_AR
! 21807:
! 21808: # Flags to create an archive.
! 21809: AR_FLAGS=$lt_AR_FLAGS
! 21810:
! 21811: # How to feed a file listing to the archiver.
! 21812: archiver_list_spec=$lt_archiver_list_spec
! 21813:
! 21814: # A symbol stripping program.
! 21815: STRIP=$lt_STRIP
! 21816:
! 21817: # Commands used to install an old-style archive.
! 21818: RANLIB=$lt_RANLIB
! 21819: old_postinstall_cmds=$lt_old_postinstall_cmds
! 21820: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 21821:
! 21822: # Whether to use a lock for old archive extraction.
! 21823: lock_old_archive_extraction=$lock_old_archive_extraction
! 21824:
! 21825: # A C compiler.
! 21826: LTCC=$lt_CC
! 21827:
! 21828: # LTCC compiler flags.
! 21829: LTCFLAGS=$lt_CFLAGS
! 21830:
! 21831: # Take the output of nm and produce a listing of raw symbols and C names.
! 21832: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 21833:
! 21834: # Transform the output of nm in a proper C declaration.
! 21835: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 21836:
! 21837: # Transform the output of nm in a C name address pair.
! 21838: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 21839:
! 21840: # Transform the output of nm in a C name address pair when lib prefix is needed.
! 21841: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
! 21842:
! 21843: # Specify filename containing input files for \$NM.
! 21844: nm_file_list_spec=$lt_nm_file_list_spec
! 21845:
! 21846: # The root where to search for dependent libraries,and in which our libraries should be installed.
! 21847: lt_sysroot=$lt_sysroot
! 21848:
! 21849: # The name of the directory that contains temporary libtool files.
! 21850: objdir=$objdir
! 21851:
! 21852: # Used to examine libraries when file_magic_cmd begins with "file".
! 21853: MAGIC_CMD=$MAGIC_CMD
! 21854:
! 21855: # Must we lock files when doing compilation?
! 21856: need_locks=$lt_need_locks
! 21857:
! 21858: # Manifest tool.
! 21859: MANIFEST_TOOL=$lt_MANIFEST_TOOL
! 21860:
! 21861: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
! 21862: DSYMUTIL=$lt_DSYMUTIL
! 21863:
! 21864: # Tool to change global to local symbols on Mac OS X.
! 21865: NMEDIT=$lt_NMEDIT
! 21866:
! 21867: # Tool to manipulate fat objects and archives on Mac OS X.
! 21868: LIPO=$lt_LIPO
! 21869:
! 21870: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
! 21871: OTOOL=$lt_OTOOL
! 21872:
! 21873: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
! 21874: OTOOL64=$lt_OTOOL64
! 21875:
! 21876: # Old archive suffix (normally "a").
! 21877: libext=$libext
! 21878:
! 21879: # Shared library suffix (normally ".so").
! 21880: shrext_cmds=$lt_shrext_cmds
! 21881:
! 21882: # The commands to extract the exported symbol list from a shared archive.
! 21883: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 21884:
! 21885: # Variables whose values should be saved in libtool wrapper scripts and
! 21886: # restored at link time.
! 21887: variables_saved_for_relink=$lt_variables_saved_for_relink
! 21888:
! 21889: # Do we need the "lib" prefix for modules?
! 21890: need_lib_prefix=$need_lib_prefix
! 21891:
! 21892: # Do we need a version for libraries?
! 21893: need_version=$need_version
! 21894:
! 21895: # Library versioning type.
! 21896: version_type=$version_type
! 21897:
! 21898: # Shared library runtime path variable.
! 21899: runpath_var=$runpath_var
! 21900:
! 21901: # Shared library path variable.
! 21902: shlibpath_var=$shlibpath_var
! 21903:
! 21904: # Is shlibpath searched before the hard-coded library search path?
! 21905: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 21906:
! 21907: # Format of library name prefix.
! 21908: libname_spec=$lt_libname_spec
! 21909:
! 21910: # List of archive names. First name is the real one, the rest are links.
! 21911: # The last name is the one that the linker finds with -lNAME
! 21912: library_names_spec=$lt_library_names_spec
! 21913:
! 21914: # The coded name of the library, if different from the real name.
! 21915: soname_spec=$lt_soname_spec
! 21916:
! 21917: # Permission mode override for installation of shared libraries.
! 21918: install_override_mode=$lt_install_override_mode
! 21919:
! 21920: # Command to use after installation of a shared archive.
! 21921: postinstall_cmds=$lt_postinstall_cmds
! 21922:
! 21923: # Command to use after uninstallation of a shared archive.
! 21924: postuninstall_cmds=$lt_postuninstall_cmds
! 21925:
! 21926: # Commands used to finish a libtool library installation in a directory.
! 21927: finish_cmds=$lt_finish_cmds
! 21928:
! 21929: # As "finish_cmds", except a single script fragment to be evaled but
! 21930: # not shown.
! 21931: finish_eval=$lt_finish_eval
! 21932:
! 21933: # Whether we should hardcode library paths into libraries.
! 21934: hardcode_into_libs=$hardcode_into_libs
! 21935:
! 21936: # Compile-time system search path for libraries.
! 21937: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 21938:
! 21939: # Run-time system search path for libraries.
! 21940: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 21941:
! 21942: # Whether dlopen is supported.
! 21943: dlopen_support=$enable_dlopen
! 21944:
! 21945: # Whether dlopen of programs is supported.
! 21946: dlopen_self=$enable_dlopen_self
! 21947:
! 21948: # Whether dlopen of statically linked programs is supported.
! 21949: dlopen_self_static=$enable_dlopen_self_static
! 21950:
! 21951: # Commands to strip libraries.
! 21952: old_striplib=$lt_old_striplib
! 21953: striplib=$lt_striplib
! 21954:
! 21955:
! 21956: # The linker used to build libraries.
! 21957: LD=$lt_LD
! 21958:
! 21959: # How to create reloadable object files.
! 21960: reload_flag=$lt_reload_flag
! 21961: reload_cmds=$lt_reload_cmds
! 21962:
! 21963: # Commands used to build an old-style archive.
! 21964: old_archive_cmds=$lt_old_archive_cmds
! 21965:
! 21966: # A language specific compiler.
! 21967: CC=$lt_compiler
! 21968:
! 21969: # Is the compiler the GNU compiler?
! 21970: with_gcc=$GCC
! 21971:
! 21972: # Compiler flag to turn off builtin functions.
! 21973: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 21974:
! 21975: # Additional compiler flags for building library objects.
! 21976: pic_flag=$lt_lt_prog_compiler_pic
! 21977:
! 21978: # How to pass a linker flag through the compiler.
! 21979: wl=$lt_lt_prog_compiler_wl
! 21980:
! 21981: # Compiler flag to prevent dynamic linking.
! 21982: link_static_flag=$lt_lt_prog_compiler_static
! 21983:
! 21984: # Does compiler simultaneously support -c and -o options?
! 21985: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 21986:
! 21987: # Whether or not to add -lc for building shared libraries.
! 21988: build_libtool_need_lc=$archive_cmds_need_lc
! 21989:
! 21990: # Whether or not to disallow shared libs when runtime libs are static.
! 21991: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 21992:
! 21993: # Compiler flag to allow reflexive dlopens.
! 21994: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 21995:
! 21996: # Compiler flag to generate shared objects directly from archives.
! 21997: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 21998:
! 21999: # Whether the compiler copes with passing no objects directly.
! 22000: compiler_needs_object=$lt_compiler_needs_object
! 22001:
! 22002: # Create an old-style archive from a shared archive.
! 22003: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 22004:
! 22005: # Create a temporary old-style archive to link instead of a shared archive.
! 22006: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 22007:
! 22008: # Commands used to build a shared archive.
! 22009: archive_cmds=$lt_archive_cmds
! 22010: archive_expsym_cmds=$lt_archive_expsym_cmds
! 22011:
! 22012: # Commands used to build a loadable module if different from building
! 22013: # a shared archive.
! 22014: module_cmds=$lt_module_cmds
! 22015: module_expsym_cmds=$lt_module_expsym_cmds
! 22016:
! 22017: # Whether we are building with GNU ld or not.
! 22018: with_gnu_ld=$lt_with_gnu_ld
! 22019:
! 22020: # Flag that allows shared libraries with undefined symbols to be built.
! 22021: allow_undefined_flag=$lt_allow_undefined_flag
! 22022:
! 22023: # Flag that enforces no undefined symbols.
! 22024: no_undefined_flag=$lt_no_undefined_flag
! 22025:
! 22026: # Flag to hardcode \$libdir into a binary during linking.
! 22027: # This must work even if \$libdir does not exist
! 22028: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 22029:
! 22030: # If ld is used when linking, flag to hardcode \$libdir into a binary
! 22031: # during linking. This must work even if \$libdir does not exist.
! 22032: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
! 22033:
! 22034: # Whether we need a single "-rpath" flag with a separated argument.
! 22035: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 22036:
! 22037: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 22038: # DIR into the resulting binary.
! 22039: hardcode_direct=$hardcode_direct
! 22040:
! 22041: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 22042: # DIR into the resulting binary and the resulting library dependency is
! 22043: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
! 22044: # library is relocated.
! 22045: hardcode_direct_absolute=$hardcode_direct_absolute
! 22046:
! 22047: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 22048: # into the resulting binary.
! 22049: hardcode_minus_L=$hardcode_minus_L
! 22050:
! 22051: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 22052: # into the resulting binary.
! 22053: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 22054:
! 22055: # Set to "yes" if building a shared library automatically hardcodes DIR
! 22056: # into the library and all subsequent libraries and executables linked
! 22057: # against it.
! 22058: hardcode_automatic=$hardcode_automatic
! 22059:
! 22060: # Set to yes if linker adds runtime paths of dependent libraries
! 22061: # to runtime path list.
! 22062: inherit_rpath=$inherit_rpath
! 22063:
! 22064: # Whether libtool must link a program against all its dependency libraries.
! 22065: link_all_deplibs=$link_all_deplibs
! 22066:
! 22067: # Set to "yes" if exported symbols are required.
! 22068: always_export_symbols=$always_export_symbols
! 22069:
! 22070: # The commands to list exported symbols.
! 22071: export_symbols_cmds=$lt_export_symbols_cmds
! 22072:
! 22073: # Symbols that should not be listed in the preloaded symbols.
! 22074: exclude_expsyms=$lt_exclude_expsyms
! 22075:
! 22076: # Symbols that must always be exported.
! 22077: include_expsyms=$lt_include_expsyms
! 22078:
! 22079: # Commands necessary for linking programs (against libraries) with templates.
! 22080: prelink_cmds=$lt_prelink_cmds
! 22081:
! 22082: # Commands necessary for finishing linking programs.
! 22083: postlink_cmds=$lt_postlink_cmds
! 22084:
! 22085: # Specify filename containing input files.
! 22086: file_list_spec=$lt_file_list_spec
! 22087:
! 22088: # How to hardcode a shared library path into an executable.
! 22089: hardcode_action=$hardcode_action
! 22090:
! 22091: # ### END LIBTOOL CONFIG
! 22092:
! 22093: _LT_EOF
! 22094:
! 22095: case $host_os in
! 22096: aix3*)
! 22097: cat <<\_LT_EOF >> "$cfgfile"
! 22098: # AIX sometimes has problems with the GCC collect2 program. For some
! 22099: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 22100: # vanish in a puff of smoke.
! 22101: if test "X${COLLECT_NAMES+set}" != Xset; then
! 22102: COLLECT_NAMES=
! 22103: export COLLECT_NAMES
! 22104: fi
! 22105: _LT_EOF
! 22106: ;;
! 22107: esac
! 22108:
! 22109:
! 22110: ltmain="$ac_aux_dir/ltmain.sh"
! 22111:
! 22112:
! 22113: # We use sed instead of cat because bash on DJGPP gets confused if
! 22114: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 22115: # text mode, it properly converts lines to CR/LF. This bash problem
! 22116: # is reportedly fixed, but why not run on old versions too?
! 22117: sed '$q' "$ltmain" >> "$cfgfile" \
! 22118: || (rm -f "$cfgfile"; exit 1)
! 22119:
! 22120: if test x"$xsi_shell" = xyes; then
! 22121: sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
! 22122: func_dirname ()\
! 22123: {\
! 22124: \ case ${1} in\
! 22125: \ */*) func_dirname_result="${1%/*}${2}" ;;\
! 22126: \ * ) func_dirname_result="${3}" ;;\
! 22127: \ esac\
! 22128: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
! 22129: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22130: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22131: test 0 -eq $? || _lt_function_replace_fail=:
! 22132:
! 22133:
! 22134: sed -e '/^func_basename ()$/,/^} # func_basename /c\
! 22135: func_basename ()\
! 22136: {\
! 22137: \ func_basename_result="${1##*/}"\
! 22138: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
! 22139: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22140: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22141: test 0 -eq $? || _lt_function_replace_fail=:
! 22142:
! 22143:
! 22144: sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
! 22145: func_dirname_and_basename ()\
! 22146: {\
! 22147: \ case ${1} in\
! 22148: \ */*) func_dirname_result="${1%/*}${2}" ;;\
! 22149: \ * ) func_dirname_result="${3}" ;;\
! 22150: \ esac\
! 22151: \ func_basename_result="${1##*/}"\
! 22152: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
! 22153: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22154: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22155: test 0 -eq $? || _lt_function_replace_fail=:
! 22156:
! 22157:
! 22158: sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
! 22159: func_stripname ()\
! 22160: {\
! 22161: \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
! 22162: \ # positional parameters, so assign one to ordinary parameter first.\
! 22163: \ func_stripname_result=${3}\
! 22164: \ func_stripname_result=${func_stripname_result#"${1}"}\
! 22165: \ func_stripname_result=${func_stripname_result%"${2}"}\
! 22166: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
! 22167: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22168: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22169: test 0 -eq $? || _lt_function_replace_fail=:
! 22170:
! 22171:
! 22172: sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
! 22173: func_split_long_opt ()\
! 22174: {\
! 22175: \ func_split_long_opt_name=${1%%=*}\
! 22176: \ func_split_long_opt_arg=${1#*=}\
! 22177: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
! 22178: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22179: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22180: test 0 -eq $? || _lt_function_replace_fail=:
! 22181:
! 22182:
! 22183: sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
! 22184: func_split_short_opt ()\
! 22185: {\
! 22186: \ func_split_short_opt_arg=${1#??}\
! 22187: \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
! 22188: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
! 22189: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22190: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22191: test 0 -eq $? || _lt_function_replace_fail=:
! 22192:
! 22193:
! 22194: sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
! 22195: func_lo2o ()\
! 22196: {\
! 22197: \ case ${1} in\
! 22198: \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
! 22199: \ *) func_lo2o_result=${1} ;;\
! 22200: \ esac\
! 22201: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
! 22202: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22203: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22204: test 0 -eq $? || _lt_function_replace_fail=:
! 22205:
! 22206:
! 22207: sed -e '/^func_xform ()$/,/^} # func_xform /c\
! 22208: func_xform ()\
! 22209: {\
! 22210: func_xform_result=${1%.*}.lo\
! 22211: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
! 22212: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22213: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22214: test 0 -eq $? || _lt_function_replace_fail=:
! 22215:
! 22216:
! 22217: sed -e '/^func_arith ()$/,/^} # func_arith /c\
! 22218: func_arith ()\
! 22219: {\
! 22220: func_arith_result=$(( $* ))\
! 22221: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
! 22222: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22223: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22224: test 0 -eq $? || _lt_function_replace_fail=:
! 22225:
! 22226:
! 22227: sed -e '/^func_len ()$/,/^} # func_len /c\
! 22228: func_len ()\
! 22229: {\
! 22230: func_len_result=${#1}\
! 22231: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
! 22232: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22233: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22234: test 0 -eq $? || _lt_function_replace_fail=:
! 22235:
! 22236: fi
! 22237:
! 22238: if test x"$lt_shell_append" = xyes; then
! 22239: sed -e '/^func_append ()$/,/^} # func_append /c\
! 22240: func_append ()\
! 22241: {\
! 22242: eval "${1}+=\\${2}"\
! 22243: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
! 22244: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22245: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22246: test 0 -eq $? || _lt_function_replace_fail=:
! 22247:
! 22248:
! 22249: sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
! 22250: func_append_quoted ()\
! 22251: {\
! 22252: \ func_quote_for_eval "${2}"\
! 22253: \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
! 22254: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
! 22255: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22256: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22257: test 0 -eq $? || _lt_function_replace_fail=:
! 22258:
! 22259:
! 22260: # Save a `func_append' function call where possible by direct use of '+='
! 22261: sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
! 22262: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22263: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22264: test 0 -eq $? || _lt_function_replace_fail=:
! 22265: else
! 22266: # Save a `func_append' function call even when '+=' is not available
! 22267: sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
! 22268: && mv -f "$cfgfile.tmp" "$cfgfile" \
! 22269: || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
! 22270: test 0 -eq $? || _lt_function_replace_fail=:
! 22271: fi
! 22272:
! 22273: if test x"$_lt_function_replace_fail" = x":"; then
! 22274: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
! 22275: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
! 22276: fi
! 22277:
! 22278:
! 22279: mv -f "$cfgfile" "$ofile" ||
! 22280: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 22281: chmod +x "$ofile"
! 22282:
! 22283: ;;
! 22284:
! 22285: esac
! 22286: done # for ac_tag
! 22287:
! 22288:
! 22289: as_fn_exit 0
! 22290: _ACEOF
! 22291: ac_clean_files=$ac_clean_files_save
! 22292:
! 22293: test $ac_write_fail = 0 ||
! 22294: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
! 22295:
! 22296:
! 22297: # configure is writing to config.log, and then calls config.status.
! 22298: # config.status does its own redirection, appending to config.log.
! 22299: # Unfortunately, on DOS this fails, as config.log is still kept open
! 22300: # by configure, so config.status won't be able to write to it; its
! 22301: # output is simply discarded. So we exec the FD to /dev/null,
! 22302: # effectively closing config.log, so it can be properly (re)opened and
! 22303: # appended to by config.status. When coming back to configure, we
! 22304: # need to make the FD available again.
! 22305: if test "$no_create" != yes; then
! 22306: ac_cs_success=:
! 22307: ac_config_status_args=
! 22308: test "$silent" = yes &&
! 22309: ac_config_status_args="$ac_config_status_args --quiet"
! 22310: exec 5>/dev/null
! 22311: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 22312: exec 5>>config.log
! 22313: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 22314: # would make configure fail if this is the last instruction.
! 22315: $ac_cs_success || as_fn_exit 1
! 22316: fi
! 22317: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 22318: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
! 22319: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
! 22320: fi
! 22321:
! 22322:
! 22323: if test "$with_pam" = "yes"; then
! 22324: case $host in
! 22325: *-*-linux*)
! 22326: { $as_echo "$as_me:${as_lineno-$LINENO}: You will need to customize sample.pam and install it as /etc/pam.d/sudo" >&5
! 22327: $as_echo "$as_me: You will need to customize sample.pam and install it as /etc/pam.d/sudo" >&6;}
! 22328: ;;
! 22329: esac
! 22330: fi
! 22331:
! 22332:
! 22333:
! 22334:
! 22335:
! 22336:
! 22337:
! 22338:
! 22339:
! 22340:
! 22341:
! 22342:
! 22343:
! 22344:
! 22345:
! 22346:
! 22347:
! 22348:
! 22349:
! 22350:
! 22351:
! 22352:
! 22353:
! 22354:
! 22355:
! 22356:
! 22357:
! 22358:
! 22359:
! 22360:
! 22361:
! 22362:
! 22363:
! 22364:
! 22365:
! 22366:
! 22367:
! 22368:
! 22369:
! 22370:
! 22371:
! 22372:
! 22373:
! 22374:
! 22375:
! 22376:
! 22377:
! 22378:
! 22379:
! 22380:
! 22381:
! 22382:
! 22383:
! 22384:
! 22385:
! 22386:
! 22387:
! 22388:
! 22389:
! 22390:
! 22391:
! 22392:
! 22393:
! 22394:
! 22395:
! 22396:
! 22397:
! 22398:
! 22399:
! 22400:
! 22401:
! 22402:
! 22403:
! 22404:
! 22405:
! 22406:
! 22407:
! 22408:
! 22409:
! 22410:
! 22411:
! 22412:
! 22413:
! 22414:
! 22415:
! 22416:
! 22417:
! 22418:
! 22419:
! 22420:
! 22421:
! 22422:
! 22423:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>