1#! /bin/sh 2# From configure.in Revision: 1.40 . 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.63 for mod_auth_kerb 5.4. 5# 6# Report bugs to <modauthkerb-developers@lists.sourceforge.net>. 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 10# This configure script is free software; the Free Software Foundation 11# gives unlimited permission to copy, distribute and modify it. 12## --------------------- ## 13## M4sh Initialization. ## 14## --------------------- ## 15 16# Be more Bourne compatible 17DUALCASE=1; export DUALCASE # for MKS sh 18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 emulate sh 20 NULLCMD=: 21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 22 # is contrary to our usage. Disable this feature. 23 alias -g '${1+"$@"}'='"$@"' 24 setopt NO_GLOB_SUBST 25else 26 case `(set -o) 2>/dev/null` in 27 *posix*) set -o posix ;; 28esac 29 30fi 31 32 33 34 35# PATH needs CR 36# Avoid depending upon Character Ranges. 37as_cr_letters='abcdefghijklmnopqrstuvwxyz' 38as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 39as_cr_Letters=$as_cr_letters$as_cr_LETTERS 40as_cr_digits='0123456789' 41as_cr_alnum=$as_cr_Letters$as_cr_digits 42 43as_nl=' 44' 45export as_nl 46# Printing a long string crashes Solaris 7 /usr/bin/printf. 47as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 49as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 50if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 51 as_echo='printf %s\n' 52 as_echo_n='printf %s' 53else 54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 56 as_echo_n='/usr/ucb/echo -n' 57 else 58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 59 as_echo_n_body='eval 60 arg=$1; 61 case $arg in 62 *"$as_nl"*) 63 expr "X$arg" : "X\\(.*\\)$as_nl"; 64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 65 esac; 66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 67 ' 68 export as_echo_n_body 69 as_echo_n='sh -c $as_echo_n_body as_echo' 70 fi 71 export as_echo_body 72 as_echo='sh -c $as_echo_body as_echo' 73fi 74 75# The user is always right. 76if test "${PATH_SEPARATOR+set}" != set; then 77 PATH_SEPARATOR=: 78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 80 PATH_SEPARATOR=';' 81 } 82fi 83 84# Support unset when possible. 85if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 86 as_unset=unset 87else 88 as_unset=false 89fi 90 91 92# IFS 93# We need space, tab and new line, in precisely that order. Quoting is 94# there to prevent editors from complaining about space-tab. 95# (If _AS_PATH_WALK were called with IFS unset, it would disable word 96# splitting by setting IFS to empty value.) 97IFS=" "" $as_nl" 98 99# Find who we are. Look in the path if we contain no directory separator. 100case $0 in 101 *[\\/]* ) as_myself=$0 ;; 102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 103for as_dir in $PATH 104do 105 IFS=$as_save_IFS 106 test -z "$as_dir" && as_dir=. 107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 108done 109IFS=$as_save_IFS 110 111 ;; 112esac 113# We did not find ourselves, most probably we were run as `sh COMMAND' 114# in which case we are not to be found in the path. 115if test "x$as_myself" = x; then 116 as_myself=$0 117fi 118if test ! -f "$as_myself"; then 119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 120 { (exit 1); exit 1; } 121fi 122 123# Work around bugs in pre-3.0 UWIN ksh. 124for as_var in ENV MAIL MAILPATH 125do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 126done 127PS1='$ ' 128PS2='> ' 129PS4='+ ' 130 131# NLS nuisances. 132LC_ALL=C 133export LC_ALL 134LANGUAGE=C 135export LANGUAGE 136 137# Required to use basename. 138if expr a : '\(a\)' >/dev/null 2>&1 && 139 test "X`expr 00001 : '.*\(...\)'`" = X001; then 140 as_expr=expr 141else 142 as_expr=false 143fi 144 145if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 146 as_basename=basename 147else 148 as_basename=false 149fi 150 151 152# Name of the executable. 153as_me=`$as_basename -- "$0" || 154$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 155 X"$0" : 'X\(//\)$' \| \ 156 X"$0" : 'X\(/\)' \| . 2>/dev/null || 157$as_echo X/"$0" | 158 sed '/^.*\/\([^/][^/]*\)\/*$/{ 159 s//\1/ 160 q 161 } 162 /^X\/\(\/\/\)$/{ 163 s//\1/ 164 q 165 } 166 /^X\/\(\/\).*/{ 167 s//\1/ 168 q 169 } 170 s/.*/./; q'` 171 172# CDPATH. 173$as_unset CDPATH 174 175 176if test "x$CONFIG_SHELL" = x; then 177 if (eval ":") 2>/dev/null; then 178 as_have_required=yes 179else 180 as_have_required=no 181fi 182 183 if test $as_have_required = yes && (eval ": 184(as_func_return () { 185 (exit \$1) 186} 187as_func_success () { 188 as_func_return 0 189} 190as_func_failure () { 191 as_func_return 1 192} 193as_func_ret_success () { 194 return 0 195} 196as_func_ret_failure () { 197 return 1 198} 199 200exitcode=0 201if as_func_success; then 202 : 203else 204 exitcode=1 205 echo as_func_success failed. 206fi 207 208if as_func_failure; then 209 exitcode=1 210 echo as_func_failure succeeded. 211fi 212 213if as_func_ret_success; then 214 : 215else 216 exitcode=1 217 echo as_func_ret_success failed. 218fi 219 220if as_func_ret_failure; then 221 exitcode=1 222 echo as_func_ret_failure succeeded. 223fi 224 225if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 226 : 227else 228 exitcode=1 229 echo positional parameters were not saved. 230fi 231 232test \$exitcode = 0) || { (exit 1); exit 1; } 233 234( 235 as_lineno_1=\$LINENO 236 as_lineno_2=\$LINENO 237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 239") 2> /dev/null; then 240 : 241else 242 as_candidate_shells= 243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 244for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 245do 246 IFS=$as_save_IFS 247 test -z "$as_dir" && as_dir=. 248 case $as_dir in 249 /*) 250 for as_base in sh bash ksh sh5; do 251 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 252 done;; 253 esac 254done 255IFS=$as_save_IFS 256 257 258 for as_shell in $as_candidate_shells $SHELL; do 259 # Try only shells that exist, to save several forks. 260 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 261 { ("$as_shell") 2> /dev/null <<\_ASEOF 262if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 263 emulate sh 264 NULLCMD=: 265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 266 # is contrary to our usage. Disable this feature. 267 alias -g '${1+"$@"}'='"$@"' 268 setopt NO_GLOB_SUBST 269else 270 case `(set -o) 2>/dev/null` in 271 *posix*) set -o posix ;; 272esac 273 274fi 275 276 277: 278_ASEOF 279}; then 280 CONFIG_SHELL=$as_shell 281 as_have_required=yes 282 if { "$as_shell" 2> /dev/null <<\_ASEOF 283if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 284 emulate sh 285 NULLCMD=: 286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 287 # is contrary to our usage. Disable this feature. 288 alias -g '${1+"$@"}'='"$@"' 289 setopt NO_GLOB_SUBST 290else 291 case `(set -o) 2>/dev/null` in 292 *posix*) set -o posix ;; 293esac 294 295fi 296 297 298: 299(as_func_return () { 300 (exit $1) 301} 302as_func_success () { 303 as_func_return 0 304} 305as_func_failure () { 306 as_func_return 1 307} 308as_func_ret_success () { 309 return 0 310} 311as_func_ret_failure () { 312 return 1 313} 314 315exitcode=0 316if as_func_success; then 317 : 318else 319 exitcode=1 320 echo as_func_success failed. 321fi 322 323if as_func_failure; then 324 exitcode=1 325 echo as_func_failure succeeded. 326fi 327 328if as_func_ret_success; then 329 : 330else 331 exitcode=1 332 echo as_func_ret_success failed. 333fi 334 335if as_func_ret_failure; then 336 exitcode=1 337 echo as_func_ret_failure succeeded. 338fi 339 340if ( set x; as_func_ret_success y && test x = "$1" ); then 341 : 342else 343 exitcode=1 344 echo positional parameters were not saved. 345fi 346 347test $exitcode = 0) || { (exit 1); exit 1; } 348 349( 350 as_lineno_1=$LINENO 351 as_lineno_2=$LINENO 352 test "x$as_lineno_1" != "x$as_lineno_2" && 353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 354 355_ASEOF 356}; then 357 break 358fi 359 360fi 361 362 done 363 364 if test "x$CONFIG_SHELL" != x; then 365 for as_var in BASH_ENV ENV 366 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 367 done 368 export CONFIG_SHELL 369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 370fi 371 372 373 if test $as_have_required = no; then 374 echo This script requires a shell more modern than all the 375 echo shells that I found on your system. Please install a 376 echo modern shell, or manually run the script under such a 377 echo shell if you do have one. 378 { (exit 1); exit 1; } 379fi 380 381 382fi 383 384fi 385 386 387 388(eval "as_func_return () { 389 (exit \$1) 390} 391as_func_success () { 392 as_func_return 0 393} 394as_func_failure () { 395 as_func_return 1 396} 397as_func_ret_success () { 398 return 0 399} 400as_func_ret_failure () { 401 return 1 402} 403 404exitcode=0 405if as_func_success; then 406 : 407else 408 exitcode=1 409 echo as_func_success failed. 410fi 411 412if as_func_failure; then 413 exitcode=1 414 echo as_func_failure succeeded. 415fi 416 417if as_func_ret_success; then 418 : 419else 420 exitcode=1 421 echo as_func_ret_success failed. 422fi 423 424if as_func_ret_failure; then 425 exitcode=1 426 echo as_func_ret_failure succeeded. 427fi 428 429if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 430 : 431else 432 exitcode=1 433 echo positional parameters were not saved. 434fi 435 436test \$exitcode = 0") || { 437 echo No shell found that supports shell functions. 438 echo Please tell bug-autoconf@gnu.org about your system, 439 echo including any error possibly output before this message. 440 echo This can help us improve future autoconf versions. 441 echo Configuration will now proceed without shell functions. 442} 443 444 445 446 as_lineno_1=$LINENO 447 as_lineno_2=$LINENO 448 test "x$as_lineno_1" != "x$as_lineno_2" && 449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 450 451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 452 # uniformly replaced by the line number. The first 'sed' inserts a 453 # line-number line after each line using $LINENO; the second 'sed' 454 # does the real work. The second script uses 'N' to pair each 455 # line-number line with the line containing $LINENO, and appends 456 # trailing '-' during substitution so that $LINENO is not a special 457 # case at line end. 458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 459 # scripts with optimization help from Paolo Bonzini. Blame Lee 460 # E. McMahon (1931-1989) for sed's syntax. :-) 461 sed -n ' 462 p 463 /[$]LINENO/= 464 ' <$as_myself | 465 sed ' 466 s/[$]LINENO.*/&-/ 467 t lineno 468 b 469 :lineno 470 N 471 :loop 472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 473 t loop 474 s/-\n.*// 475 ' >$as_me.lineno && 476 chmod +x "$as_me.lineno" || 477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 478 { (exit 1); exit 1; }; } 479 480 # Don't try to exec as it changes $[0], causing all sort of problems 481 # (the dirname of $[0] is not the place where we might find the 482 # original and so on. Autoconf is especially sensitive to this). 483 . "./$as_me.lineno" 484 # Exit status is that of the last command. 485 exit 486} 487 488 489if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 490 as_dirname=dirname 491else 492 as_dirname=false 493fi 494 495ECHO_C= ECHO_N= ECHO_T= 496case `echo -n x` in 497-n*) 498 case `echo 'x\c'` in 499 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 500 *) ECHO_C='\c';; 501 esac;; 502*) 503 ECHO_N='-n';; 504esac 505if expr a : '\(a\)' >/dev/null 2>&1 && 506 test "X`expr 00001 : '.*\(...\)'`" = X001; then 507 as_expr=expr 508else 509 as_expr=false 510fi 511 512rm -f conf$$ conf$$.exe conf$$.file 513if test -d conf$$.dir; then 514 rm -f conf$$.dir/conf$$.file 515else 516 rm -f conf$$.dir 517 mkdir conf$$.dir 2>/dev/null 518fi 519if (echo >conf$$.file) 2>/dev/null; then 520 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 as_ln_s='ln -s' 522 # ... but there are two gotchas: 523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # In both cases, we have to default to `cp -p'. 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 as_ln_s='cp -p' 528 elif ln conf$$.file conf$$ 2>/dev/null; then 529 as_ln_s=ln 530 else 531 as_ln_s='cp -p' 532 fi 533else 534 as_ln_s='cp -p' 535fi 536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rmdir conf$$.dir 2>/dev/null 538 539if mkdir -p . 2>/dev/null; then 540 as_mkdir_p=: 541else 542 test -d ./-p && rmdir ./-p 543 as_mkdir_p=false 544fi 545 546if test -x / >/dev/null 2>&1; then 547 as_test_x='test -x' 548else 549 if ls -dL / >/dev/null 2>&1; then 550 as_ls_L_option=L 551 else 552 as_ls_L_option= 553 fi 554 as_test_x=' 555 eval sh -c '\'' 556 if test -d "$1"; then 557 test -d "$1/."; 558 else 559 case $1 in 560 -*)set "./$1";; 561 esac; 562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 563 ???[sx]*):;;*)false;;esac;fi 564 '\'' sh 565 ' 566fi 567as_executable_p=$as_test_x 568 569# Sed expression to map a string onto a valid CPP name. 570as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 571 572# Sed expression to map a string onto a valid variable name. 573as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 574 575 576 577exec 7<&0 </dev/null 6>&1 578 579# Name of the host. 580# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 581# so uname gets run too. 582ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 583 584# 585# Initializations. 586# 587ac_default_prefix=/usr/local 588ac_clean_files= 589ac_config_libobj_dir=. 590LIBOBJS= 591cross_compiling=no 592subdirs= 593MFLAGS= 594MAKEFLAGS= 595SHELL=${CONFIG_SHELL-/bin/sh} 596 597# Identity of this package. 598PACKAGE_NAME='mod_auth_kerb' 599PACKAGE_TARNAME='mod_auth_kerb' 600PACKAGE_VERSION='5.4' 601PACKAGE_STRING='mod_auth_kerb 5.4' 602PACKAGE_BUGREPORT='modauthkerb-developers@lists.sourceforge.net' 603 604ac_unique_file="src/mod_auth_kerb.c" 605# Factoring default headers for most tests. 606ac_includes_default="\ 607#include <stdio.h> 608#ifdef HAVE_SYS_TYPES_H 609# include <sys/types.h> 610#endif 611#ifdef HAVE_SYS_STAT_H 612# include <sys/stat.h> 613#endif 614#ifdef STDC_HEADERS 615# include <stdlib.h> 616# include <stddef.h> 617#else 618# ifdef HAVE_STDLIB_H 619# include <stdlib.h> 620# endif 621#endif 622#ifdef HAVE_STRING_H 623# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 624# include <memory.h> 625# endif 626# include <string.h> 627#endif 628#ifdef HAVE_STRINGS_H 629# include <strings.h> 630#endif 631#ifdef HAVE_INTTYPES_H 632# include <inttypes.h> 633#endif 634#ifdef HAVE_STDINT_H 635# include <stdint.h> 636#endif 637#ifdef HAVE_UNISTD_H 638# include <unistd.h> 639#endif" 640 641ac_subst_vars='LTLIBOBJS 642LIBOBJS 643APXS 644KRB4_LDFLAGS 645KRB4_CPPFLAGS 646SPNEGO_SRCS 647KRB5_LDFLAGS 648KRB5_CPPFLAGS 649EGREP 650GREP 651CPP 652LIB_resolv 653SET_MAKE 654OBJEXT 655EXEEXT 656ac_ct_CC 657CPPFLAGS 658LDFLAGS 659CFLAGS 660CC 661target_alias 662host_alias 663build_alias 664LIBS 665ECHO_T 666ECHO_N 667ECHO_C 668DEFS 669mandir 670localedir 671libdir 672psdir 673pdfdir 674dvidir 675htmldir 676infodir 677docdir 678oldincludedir 679includedir 680localstatedir 681sharedstatedir 682sysconfdir 683datadir 684datarootdir 685libexecdir 686sbindir 687bindir 688program_transform_name 689prefix 690exec_prefix 691PACKAGE_BUGREPORT 692PACKAGE_STRING 693PACKAGE_VERSION 694PACKAGE_TARNAME 695PACKAGE_NAME 696PATH_SEPARATOR 697SHELL' 698ac_subst_files='' 699ac_user_opts=' 700enable_option_checking 701with_krb5 702with_krb4 703with_apache 704' 705 ac_precious_vars='build_alias 706host_alias 707target_alias 708CC 709CFLAGS 710LDFLAGS 711LIBS 712CPPFLAGS 713CPP' 714 715 716# Initialize some variables set by options. 717ac_init_help= 718ac_init_version=false 719ac_unrecognized_opts= 720ac_unrecognized_sep= 721# The variables have the same names as the options, with 722# dashes changed to underlines. 723cache_file=/dev/null 724exec_prefix=NONE 725no_create= 726no_recursion= 727prefix=NONE 728program_prefix=NONE 729program_suffix=NONE 730program_transform_name=s,x,x, 731silent= 732site= 733srcdir= 734verbose= 735x_includes=NONE 736x_libraries=NONE 737 738# Installation directory options. 739# These are left unexpanded so users can "make install exec_prefix=/foo" 740# and all the variables that are supposed to be based on exec_prefix 741# by default will actually change. 742# Use braces instead of parens because sh, perl, etc. also accept them. 743# (The list follows the same order as the GNU Coding Standards.) 744bindir='${exec_prefix}/bin' 745sbindir='${exec_prefix}/sbin' 746libexecdir='${exec_prefix}/libexec' 747datarootdir='${prefix}/share' 748datadir='${datarootdir}' 749sysconfdir='${prefix}/etc' 750sharedstatedir='${prefix}/com' 751localstatedir='${prefix}/var' 752includedir='${prefix}/include' 753oldincludedir='/usr/include' 754docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 755infodir='${datarootdir}/info' 756htmldir='${docdir}' 757dvidir='${docdir}' 758pdfdir='${docdir}' 759psdir='${docdir}' 760libdir='${exec_prefix}/lib' 761localedir='${datarootdir}/locale' 762mandir='${datarootdir}/man' 763 764ac_prev= 765ac_dashdash= 766for ac_option 767do 768 # If the previous option needs an argument, assign it. 769 if test -n "$ac_prev"; then 770 eval $ac_prev=\$ac_option 771 ac_prev= 772 continue 773 fi 774 775 case $ac_option in 776 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 777 *) ac_optarg=yes ;; 778 esac 779 780 # Accept the important Cygnus configure options, so we can diagnose typos. 781 782 case $ac_dashdash$ac_option in 783 --) 784 ac_dashdash=yes ;; 785 786 -bindir | --bindir | --bindi | --bind | --bin | --bi) 787 ac_prev=bindir ;; 788 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 789 bindir=$ac_optarg ;; 790 791 -build | --build | --buil | --bui | --bu) 792 ac_prev=build_alias ;; 793 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 794 build_alias=$ac_optarg ;; 795 796 -cache-file | --cache-file | --cache-fil | --cache-fi \ 797 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 798 ac_prev=cache_file ;; 799 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 800 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 801 cache_file=$ac_optarg ;; 802 803 --config-cache | -C) 804 cache_file=config.cache ;; 805 806 -datadir | --datadir | --datadi | --datad) 807 ac_prev=datadir ;; 808 -datadir=* | --datadir=* | --datadi=* | --datad=*) 809 datadir=$ac_optarg ;; 810 811 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 812 | --dataroo | --dataro | --datar) 813 ac_prev=datarootdir ;; 814 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 815 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 816 datarootdir=$ac_optarg ;; 817 818 -disable-* | --disable-*) 819 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 820 # Reject names that are not valid shell variable names. 821 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 822 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 823 { (exit 1); exit 1; }; } 824 ac_useropt_orig=$ac_useropt 825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 826 case $ac_user_opts in 827 *" 828"enable_$ac_useropt" 829"*) ;; 830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 831 ac_unrecognized_sep=', ';; 832 esac 833 eval enable_$ac_useropt=no ;; 834 835 -docdir | --docdir | --docdi | --doc | --do) 836 ac_prev=docdir ;; 837 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 838 docdir=$ac_optarg ;; 839 840 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 841 ac_prev=dvidir ;; 842 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 843 dvidir=$ac_optarg ;; 844 845 -enable-* | --enable-*) 846 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 847 # Reject names that are not valid shell variable names. 848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 849 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 850 { (exit 1); exit 1; }; } 851 ac_useropt_orig=$ac_useropt 852 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 853 case $ac_user_opts in 854 *" 855"enable_$ac_useropt" 856"*) ;; 857 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 858 ac_unrecognized_sep=', ';; 859 esac 860 eval enable_$ac_useropt=\$ac_optarg ;; 861 862 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 863 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 864 | --exec | --exe | --ex) 865 ac_prev=exec_prefix ;; 866 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 867 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 868 | --exec=* | --exe=* | --ex=*) 869 exec_prefix=$ac_optarg ;; 870 871 -gas | --gas | --ga | --g) 872 # Obsolete; use --with-gas. 873 with_gas=yes ;; 874 875 -help | --help | --hel | --he | -h) 876 ac_init_help=long ;; 877 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 878 ac_init_help=recursive ;; 879 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 880 ac_init_help=short ;; 881 882 -host | --host | --hos | --ho) 883 ac_prev=host_alias ;; 884 -host=* | --host=* | --hos=* | --ho=*) 885 host_alias=$ac_optarg ;; 886 887 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 888 ac_prev=htmldir ;; 889 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 890 | --ht=*) 891 htmldir=$ac_optarg ;; 892 893 -includedir | --includedir | --includedi | --included | --include \ 894 | --includ | --inclu | --incl | --inc) 895 ac_prev=includedir ;; 896 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 897 | --includ=* | --inclu=* | --incl=* | --inc=*) 898 includedir=$ac_optarg ;; 899 900 -infodir | --infodir | --infodi | --infod | --info | --inf) 901 ac_prev=infodir ;; 902 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 903 infodir=$ac_optarg ;; 904 905 -libdir | --libdir | --libdi | --libd) 906 ac_prev=libdir ;; 907 -libdir=* | --libdir=* | --libdi=* | --libd=*) 908 libdir=$ac_optarg ;; 909 910 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 911 | --libexe | --libex | --libe) 912 ac_prev=libexecdir ;; 913 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 914 | --libexe=* | --libex=* | --libe=*) 915 libexecdir=$ac_optarg ;; 916 917 -localedir | --localedir | --localedi | --localed | --locale) 918 ac_prev=localedir ;; 919 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 920 localedir=$ac_optarg ;; 921 922 -localstatedir | --localstatedir | --localstatedi | --localstated \ 923 | --localstate | --localstat | --localsta | --localst | --locals) 924 ac_prev=localstatedir ;; 925 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 926 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 927 localstatedir=$ac_optarg ;; 928 929 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 930 ac_prev=mandir ;; 931 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 932 mandir=$ac_optarg ;; 933 934 -nfp | --nfp | --nf) 935 # Obsolete; use --without-fp. 936 with_fp=no ;; 937 938 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 939 | --no-cr | --no-c | -n) 940 no_create=yes ;; 941 942 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 943 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 944 no_recursion=yes ;; 945 946 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 947 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 948 | --oldin | --oldi | --old | --ol | --o) 949 ac_prev=oldincludedir ;; 950 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 951 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 952 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 953 oldincludedir=$ac_optarg ;; 954 955 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 956 ac_prev=prefix ;; 957 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 958 prefix=$ac_optarg ;; 959 960 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 961 | --program-pre | --program-pr | --program-p) 962 ac_prev=program_prefix ;; 963 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 964 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 965 program_prefix=$ac_optarg ;; 966 967 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 968 | --program-suf | --program-su | --program-s) 969 ac_prev=program_suffix ;; 970 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 971 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 972 program_suffix=$ac_optarg ;; 973 974 -program-transform-name | --program-transform-name \ 975 | --program-transform-nam | --program-transform-na \ 976 | --program-transform-n | --program-transform- \ 977 | --program-transform | --program-transfor \ 978 | --program-transfo | --program-transf \ 979 | --program-trans | --program-tran \ 980 | --progr-tra | --program-tr | --program-t) 981 ac_prev=program_transform_name ;; 982 -program-transform-name=* | --program-transform-name=* \ 983 | --program-transform-nam=* | --program-transform-na=* \ 984 | --program-transform-n=* | --program-transform-=* \ 985 | --program-transform=* | --program-transfor=* \ 986 | --program-transfo=* | --program-transf=* \ 987 | --program-trans=* | --program-tran=* \ 988 | --progr-tra=* | --program-tr=* | --program-t=*) 989 program_transform_name=$ac_optarg ;; 990 991 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 992 ac_prev=pdfdir ;; 993 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 994 pdfdir=$ac_optarg ;; 995 996 -psdir | --psdir | --psdi | --psd | --ps) 997 ac_prev=psdir ;; 998 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 999 psdir=$ac_optarg ;; 1000 1001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1002 | -silent | --silent | --silen | --sile | --sil) 1003 silent=yes ;; 1004 1005 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1006 ac_prev=sbindir ;; 1007 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1008 | --sbi=* | --sb=*) 1009 sbindir=$ac_optarg ;; 1010 1011 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1012 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1013 | --sharedst | --shareds | --shared | --share | --shar \ 1014 | --sha | --sh) 1015 ac_prev=sharedstatedir ;; 1016 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1017 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1018 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1019 | --sha=* | --sh=*) 1020 sharedstatedir=$ac_optarg ;; 1021 1022 -site | --site | --sit) 1023 ac_prev=site ;; 1024 -site=* | --site=* | --sit=*) 1025 site=$ac_optarg ;; 1026 1027 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1028 ac_prev=srcdir ;; 1029 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1030 srcdir=$ac_optarg ;; 1031 1032 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1033 | --syscon | --sysco | --sysc | --sys | --sy) 1034 ac_prev=sysconfdir ;; 1035 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1036 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1037 sysconfdir=$ac_optarg ;; 1038 1039 -target | --target | --targe | --targ | --tar | --ta | --t) 1040 ac_prev=target_alias ;; 1041 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1042 target_alias=$ac_optarg ;; 1043 1044 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1045 verbose=yes ;; 1046 1047 -version | --version | --versio | --versi | --vers | -V) 1048 ac_init_version=: ;; 1049 1050 -with-* | --with-*) 1051 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1052 # Reject names that are not valid shell variable names. 1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1054 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1055 { (exit 1); exit 1; }; } 1056 ac_useropt_orig=$ac_useropt 1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1058 case $ac_user_opts in 1059 *" 1060"with_$ac_useropt" 1061"*) ;; 1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1063 ac_unrecognized_sep=', ';; 1064 esac 1065 eval with_$ac_useropt=\$ac_optarg ;; 1066 1067 -without-* | --without-*) 1068 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1069 # Reject names that are not valid shell variable names. 1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1071 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1072 { (exit 1); exit 1; }; } 1073 ac_useropt_orig=$ac_useropt 1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1075 case $ac_user_opts in 1076 *" 1077"with_$ac_useropt" 1078"*) ;; 1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1080 ac_unrecognized_sep=', ';; 1081 esac 1082 eval with_$ac_useropt=no ;; 1083 1084 --x) 1085 # Obsolete; use --with-x. 1086 with_x=yes ;; 1087 1088 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1089 | --x-incl | --x-inc | --x-in | --x-i) 1090 ac_prev=x_includes ;; 1091 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1092 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1093 x_includes=$ac_optarg ;; 1094 1095 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1096 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1097 ac_prev=x_libraries ;; 1098 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1099 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1100 x_libraries=$ac_optarg ;; 1101 1102 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1103Try \`$0 --help' for more information." >&2 1104 { (exit 1); exit 1; }; } 1105 ;; 1106 1107 *=*) 1108 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1109 # Reject names that are not valid shell variable names. 1110 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1111 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1112 { (exit 1); exit 1; }; } 1113 eval $ac_envvar=\$ac_optarg 1114 export $ac_envvar ;; 1115 1116 *) 1117 # FIXME: should be removed in autoconf 3.0. 1118 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1120 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1121 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1122 ;; 1123 1124 esac 1125done 1126 1127if test -n "$ac_prev"; then 1128 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1129 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1130 { (exit 1); exit 1; }; } 1131fi 1132 1133if test -n "$ac_unrecognized_opts"; then 1134 case $enable_option_checking in 1135 no) ;; 1136 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1137 { (exit 1); exit 1; }; } ;; 1138 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1139 esac 1140fi 1141 1142# Check all directory arguments for consistency. 1143for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1144 datadir sysconfdir sharedstatedir localstatedir includedir \ 1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1146 libdir localedir mandir 1147do 1148 eval ac_val=\$$ac_var 1149 # Remove trailing slashes. 1150 case $ac_val in 1151 */ ) 1152 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1153 eval $ac_var=\$ac_val;; 1154 esac 1155 # Be sure to have absolute directory names. 1156 case $ac_val in 1157 [\\/$]* | ?:[\\/]* ) continue;; 1158 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1159 esac 1160 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1161 { (exit 1); exit 1; }; } 1162done 1163 1164# There might be people who depend on the old broken behavior: `$host' 1165# used to hold the argument of --host etc. 1166# FIXME: To remove some day. 1167build=$build_alias 1168host=$host_alias 1169target=$target_alias 1170 1171# FIXME: To remove some day. 1172if test "x$host_alias" != x; then 1173 if test "x$build_alias" = x; then 1174 cross_compiling=maybe 1175 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1176 If a cross compiler is detected then cross compile mode will be used." >&2 1177 elif test "x$build_alias" != "x$host_alias"; then 1178 cross_compiling=yes 1179 fi 1180fi 1181 1182ac_tool_prefix= 1183test -n "$host_alias" && ac_tool_prefix=$host_alias- 1184 1185test "$silent" = yes && exec 6>/dev/null 1186 1187 1188ac_pwd=`pwd` && test -n "$ac_pwd" && 1189ac_ls_di=`ls -di .` && 1190ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1191 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1192 { (exit 1); exit 1; }; } 1193test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1194 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1195 { (exit 1); exit 1; }; } 1196 1197 1198# Find the source files, if location was not specified. 1199if test -z "$srcdir"; then 1200 ac_srcdir_defaulted=yes 1201 # Try the directory containing this script, then the parent directory. 1202 ac_confdir=`$as_dirname -- "$as_myself" || 1203$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1204 X"$as_myself" : 'X\(//\)[^/]' \| \ 1205 X"$as_myself" : 'X\(//\)$' \| \ 1206 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1207$as_echo X"$as_myself" | 1208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1209 s//\1/ 1210 q 1211 } 1212 /^X\(\/\/\)[^/].*/{ 1213 s//\1/ 1214 q 1215 } 1216 /^X\(\/\/\)$/{ 1217 s//\1/ 1218 q 1219 } 1220 /^X\(\/\).*/{ 1221 s//\1/ 1222 q 1223 } 1224 s/.*/./; q'` 1225 srcdir=$ac_confdir 1226 if test ! -r "$srcdir/$ac_unique_file"; then 1227 srcdir=.. 1228 fi 1229else 1230 ac_srcdir_defaulted=no 1231fi 1232if test ! -r "$srcdir/$ac_unique_file"; then 1233 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1234 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1235 { (exit 1); exit 1; }; } 1236fi 1237ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1238ac_abs_confdir=`( 1239 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1240 { (exit 1); exit 1; }; } 1241 pwd)` 1242# When building in place, set srcdir=. 1243if test "$ac_abs_confdir" = "$ac_pwd"; then 1244 srcdir=. 1245fi 1246# Remove unnecessary trailing slashes from srcdir. 1247# Double slashes in file names in object file debugging info 1248# mess up M-x gdb in Emacs. 1249case $srcdir in 1250*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1251esac 1252for ac_var in $ac_precious_vars; do 1253 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1254 eval ac_env_${ac_var}_value=\$${ac_var} 1255 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1256 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1257done 1258 1259# 1260# Report the --help message. 1261# 1262if test "$ac_init_help" = "long"; then 1263 # Omit some internal or obsolete options to make the list less imposing. 1264 # This message is too long to be a string in the A/UX 3.1 sh. 1265 cat <<_ACEOF 1266\`configure' configures mod_auth_kerb 5.4 to adapt to many kinds of systems. 1267 1268Usage: $0 [OPTION]... [VAR=VALUE]... 1269 1270To assign environment variables (e.g., CC, CFLAGS...), specify them as 1271VAR=VALUE. See below for descriptions of some of the useful variables. 1272 1273Defaults for the options are specified in brackets. 1274 1275Configuration: 1276 -h, --help display this help and exit 1277 --help=short display options specific to this package 1278 --help=recursive display the short help of all the included packages 1279 -V, --version display version information and exit 1280 -q, --quiet, --silent do not print \`checking...' messages 1281 --cache-file=FILE cache test results in FILE [disabled] 1282 -C, --config-cache alias for \`--cache-file=config.cache' 1283 -n, --no-create do not create output files 1284 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1285 1286Installation directories: 1287 --prefix=PREFIX install architecture-independent files in PREFIX 1288 [$ac_default_prefix] 1289 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1290 [PREFIX] 1291 1292By default, \`make install' will install all the files in 1293\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1294an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1295for instance \`--prefix=\$HOME'. 1296 1297For better control, use the options below. 1298 1299Fine tuning of the installation directories: 1300 --bindir=DIR user executables [EPREFIX/bin] 1301 --sbindir=DIR system admin executables [EPREFIX/sbin] 1302 --libexecdir=DIR program executables [EPREFIX/libexec] 1303 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1304 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1305 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1306 --libdir=DIR object code libraries [EPREFIX/lib] 1307 --includedir=DIR C header files [PREFIX/include] 1308 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1309 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1310 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1311 --infodir=DIR info documentation [DATAROOTDIR/info] 1312 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1313 --mandir=DIR man documentation [DATAROOTDIR/man] 1314 --docdir=DIR documentation root [DATAROOTDIR/doc/mod_auth_kerb] 1315 --htmldir=DIR html documentation [DOCDIR] 1316 --dvidir=DIR dvi documentation [DOCDIR] 1317 --pdfdir=DIR pdf documentation [DOCDIR] 1318 --psdir=DIR ps documentation [DOCDIR] 1319_ACEOF 1320 1321 cat <<\_ACEOF 1322_ACEOF 1323fi 1324 1325if test -n "$ac_init_help"; then 1326 case $ac_init_help in 1327 short | recursive ) echo "Configuration of mod_auth_kerb 5.4:";; 1328 esac 1329 cat <<\_ACEOF 1330 1331Optional Packages: 1332 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1333 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1334 --with-krb5=dir use krb5 in dir 1335 --with-krb4=dir use krb4 in dir 1336 --with-apache=dir use apache in dir 1337 1338Some influential environment variables: 1339 CC C compiler command 1340 CFLAGS C compiler flags 1341 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1342 nonstandard directory <lib dir> 1343 LIBS libraries to pass to the linker, e.g. -l<library> 1344 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1345 you have headers in a nonstandard directory <include dir> 1346 CPP C preprocessor 1347 1348Use these variables to override the choices made by `configure' or to help 1349it to find libraries and programs with nonstandard names/locations. 1350 1351Report bugs to <modauthkerb-developers@lists.sourceforge.net>. 1352_ACEOF 1353ac_status=$? 1354fi 1355 1356if test "$ac_init_help" = "recursive"; then 1357 # If there are subdirs, report their specific --help. 1358 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1359 test -d "$ac_dir" || 1360 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1361 continue 1362 ac_builddir=. 1363 1364case "$ac_dir" in 1365.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1366*) 1367 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1368 # A ".." for each directory in $ac_dir_suffix. 1369 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1370 case $ac_top_builddir_sub in 1371 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1372 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1373 esac ;; 1374esac 1375ac_abs_top_builddir=$ac_pwd 1376ac_abs_builddir=$ac_pwd$ac_dir_suffix 1377# for backward compatibility: 1378ac_top_builddir=$ac_top_build_prefix 1379 1380case $srcdir in 1381 .) # We are building in place. 1382 ac_srcdir=. 1383 ac_top_srcdir=$ac_top_builddir_sub 1384 ac_abs_top_srcdir=$ac_pwd ;; 1385 [\\/]* | ?:[\\/]* ) # Absolute name. 1386 ac_srcdir=$srcdir$ac_dir_suffix; 1387 ac_top_srcdir=$srcdir 1388 ac_abs_top_srcdir=$srcdir ;; 1389 *) # Relative name. 1390 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1391 ac_top_srcdir=$ac_top_build_prefix$srcdir 1392 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1393esac 1394ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1395 1396 cd "$ac_dir" || { ac_status=$?; continue; } 1397 # Check for guested configure. 1398 if test -f "$ac_srcdir/configure.gnu"; then 1399 echo && 1400 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1401 elif test -f "$ac_srcdir/configure"; then 1402 echo && 1403 $SHELL "$ac_srcdir/configure" --help=recursive 1404 else 1405 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1406 fi || ac_status=$? 1407 cd "$ac_pwd" || { ac_status=$?; break; } 1408 done 1409fi 1410 1411test -n "$ac_init_help" && exit $ac_status 1412if $ac_init_version; then 1413 cat <<\_ACEOF 1414mod_auth_kerb configure 5.4 1415generated by GNU Autoconf 2.63 1416 1417Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 14182002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1419This configure script is free software; the Free Software Foundation 1420gives unlimited permission to copy, distribute and modify it. 1421_ACEOF 1422 exit 1423fi 1424cat >config.log <<_ACEOF 1425This file contains any messages produced by compilers while 1426running configure, to aid debugging if configure makes a mistake. 1427 1428It was created by mod_auth_kerb $as_me 5.4, which was 1429generated by GNU Autoconf 2.63. Invocation command line was 1430 1431 $ $0 $@ 1432 1433_ACEOF 1434exec 5>>config.log 1435{ 1436cat <<_ASUNAME 1437## --------- ## 1438## Platform. ## 1439## --------- ## 1440 1441hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1442uname -m = `(uname -m) 2>/dev/null || echo unknown` 1443uname -r = `(uname -r) 2>/dev/null || echo unknown` 1444uname -s = `(uname -s) 2>/dev/null || echo unknown` 1445uname -v = `(uname -v) 2>/dev/null || echo unknown` 1446 1447/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1448/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1449 1450/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1451/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1452/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1453/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1454/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1455/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1456/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1457 1458_ASUNAME 1459 1460as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1461for as_dir in $PATH 1462do 1463 IFS=$as_save_IFS 1464 test -z "$as_dir" && as_dir=. 1465 $as_echo "PATH: $as_dir" 1466done 1467IFS=$as_save_IFS 1468 1469} >&5 1470 1471cat >&5 <<_ACEOF 1472 1473 1474## ----------- ## 1475## Core tests. ## 1476## ----------- ## 1477 1478_ACEOF 1479 1480 1481# Keep a trace of the command line. 1482# Strip out --no-create and --no-recursion so they do not pile up. 1483# Strip out --silent because we don't want to record it for future runs. 1484# Also quote any args containing shell meta-characters. 1485# Make two passes to allow for proper duplicate-argument suppression. 1486ac_configure_args= 1487ac_configure_args0= 1488ac_configure_args1= 1489ac_must_keep_next=false 1490for ac_pass in 1 2 1491do 1492 for ac_arg 1493 do 1494 case $ac_arg in 1495 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1496 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1497 | -silent | --silent | --silen | --sile | --sil) 1498 continue ;; 1499 *\'*) 1500 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1501 esac 1502 case $ac_pass in 1503 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1504 2) 1505 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1506 if test $ac_must_keep_next = true; then 1507 ac_must_keep_next=false # Got value, back to normal. 1508 else 1509 case $ac_arg in 1510 *=* | --config-cache | -C | -disable-* | --disable-* \ 1511 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1512 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1513 | -with-* | --with-* | -without-* | --without-* | --x) 1514 case "$ac_configure_args0 " in 1515 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1516 esac 1517 ;; 1518 -* ) ac_must_keep_next=true ;; 1519 esac 1520 fi 1521 ac_configure_args="$ac_configure_args '$ac_arg'" 1522 ;; 1523 esac 1524 done 1525done 1526$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1527$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1528 1529# When interrupted or exit'd, cleanup temporary files, and complete 1530# config.log. We remove comments because anyway the quotes in there 1531# would cause problems or look ugly. 1532# WARNING: Use '\'' to represent an apostrophe within the trap. 1533# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1534trap 'exit_status=$? 1535 # Save into config.log some information that might help in debugging. 1536 { 1537 echo 1538 1539 cat <<\_ASBOX 1540## ---------------- ## 1541## Cache variables. ## 1542## ---------------- ## 1543_ASBOX 1544 echo 1545 # The following way of writing the cache mishandles newlines in values, 1546( 1547 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1548 eval ac_val=\$$ac_var 1549 case $ac_val in #( 1550 *${as_nl}*) 1551 case $ac_var in #( 1552 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1553$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1554 esac 1555 case $ac_var in #( 1556 _ | IFS | as_nl) ;; #( 1557 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1558 *) $as_unset $ac_var ;; 1559 esac ;; 1560 esac 1561 done 1562 (set) 2>&1 | 1563 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1564 *${as_nl}ac_space=\ *) 1565 sed -n \ 1566 "s/'\''/'\''\\\\'\'''\''/g; 1567 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1568 ;; #( 1569 *) 1570 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1571 ;; 1572 esac | 1573 sort 1574) 1575 echo 1576 1577 cat <<\_ASBOX 1578## ----------------- ## 1579## Output variables. ## 1580## ----------------- ## 1581_ASBOX 1582 echo 1583 for ac_var in $ac_subst_vars 1584 do 1585 eval ac_val=\$$ac_var 1586 case $ac_val in 1587 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1588 esac 1589 $as_echo "$ac_var='\''$ac_val'\''" 1590 done | sort 1591 echo 1592 1593 if test -n "$ac_subst_files"; then 1594 cat <<\_ASBOX 1595## ------------------- ## 1596## File substitutions. ## 1597## ------------------- ## 1598_ASBOX 1599 echo 1600 for ac_var in $ac_subst_files 1601 do 1602 eval ac_val=\$$ac_var 1603 case $ac_val in 1604 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1605 esac 1606 $as_echo "$ac_var='\''$ac_val'\''" 1607 done | sort 1608 echo 1609 fi 1610 1611 if test -s confdefs.h; then 1612 cat <<\_ASBOX 1613## ----------- ## 1614## confdefs.h. ## 1615## ----------- ## 1616_ASBOX 1617 echo 1618 cat confdefs.h 1619 echo 1620 fi 1621 test "$ac_signal" != 0 && 1622 $as_echo "$as_me: caught signal $ac_signal" 1623 $as_echo "$as_me: exit $exit_status" 1624 } >&5 1625 rm -f core *.core core.conftest.* && 1626 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1627 exit $exit_status 1628' 0 1629for ac_signal in 1 2 13 15; do 1630 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1631done 1632ac_signal=0 1633 1634# confdefs.h avoids OS command line length limits that DEFS can exceed. 1635rm -f -r conftest* confdefs.h 1636 1637# Predefined preprocessor variables. 1638 1639cat >>confdefs.h <<_ACEOF 1640#define PACKAGE_NAME "$PACKAGE_NAME" 1641_ACEOF 1642 1643 1644cat >>confdefs.h <<_ACEOF 1645#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1646_ACEOF 1647 1648 1649cat >>confdefs.h <<_ACEOF 1650#define PACKAGE_VERSION "$PACKAGE_VERSION" 1651_ACEOF 1652 1653 1654cat >>confdefs.h <<_ACEOF 1655#define PACKAGE_STRING "$PACKAGE_STRING" 1656_ACEOF 1657 1658 1659cat >>confdefs.h <<_ACEOF 1660#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1661_ACEOF 1662 1663 1664# Let the site file select an alternate cache file if it wants to. 1665# Prefer an explicitly selected file to automatically selected ones. 1666ac_site_file1=NONE 1667ac_site_file2=NONE 1668if test -n "$CONFIG_SITE"; then 1669 ac_site_file1=$CONFIG_SITE 1670elif test "x$prefix" != xNONE; then 1671 ac_site_file1=$prefix/share/config.site 1672 ac_site_file2=$prefix/etc/config.site 1673else 1674 ac_site_file1=$ac_default_prefix/share/config.site 1675 ac_site_file2=$ac_default_prefix/etc/config.site 1676fi 1677for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1678do 1679 test "x$ac_site_file" = xNONE && continue 1680 if test -r "$ac_site_file"; then 1681 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1682$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1683 sed 's/^/| /' "$ac_site_file" >&5 1684 . "$ac_site_file" 1685 fi 1686done 1687 1688if test -r "$cache_file"; then 1689 # Some versions of bash will fail to source /dev/null (special 1690 # files actually), so we avoid doing that. 1691 if test -f "$cache_file"; then 1692 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1693$as_echo "$as_me: loading cache $cache_file" >&6;} 1694 case $cache_file in 1695 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1696 *) . "./$cache_file";; 1697 esac 1698 fi 1699else 1700 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1701$as_echo "$as_me: creating cache $cache_file" >&6;} 1702 >$cache_file 1703fi 1704 1705# Check that the precious variables saved in the cache have kept the same 1706# value. 1707ac_cache_corrupted=false 1708for ac_var in $ac_precious_vars; do 1709 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1710 eval ac_new_set=\$ac_env_${ac_var}_set 1711 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1712 eval ac_new_val=\$ac_env_${ac_var}_value 1713 case $ac_old_set,$ac_new_set in 1714 set,) 1715 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1716$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1717 ac_cache_corrupted=: ;; 1718 ,set) 1719 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1720$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1721 ac_cache_corrupted=: ;; 1722 ,);; 1723 *) 1724 if test "x$ac_old_val" != "x$ac_new_val"; then 1725 # differences in whitespace do not lead to failure. 1726 ac_old_val_w=`echo x $ac_old_val` 1727 ac_new_val_w=`echo x $ac_new_val` 1728 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1729 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1730$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1731 ac_cache_corrupted=: 1732 else 1733 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1734$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1735 eval $ac_var=\$ac_old_val 1736 fi 1737 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1738$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1739 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1740$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1741 fi;; 1742 esac 1743 # Pass precious variables to config.status. 1744 if test "$ac_new_set" = set; then 1745 case $ac_new_val in 1746 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1747 *) ac_arg=$ac_var=$ac_new_val ;; 1748 esac 1749 case " $ac_configure_args " in 1750 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1751 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1752 esac 1753 fi 1754done 1755if $ac_cache_corrupted; then 1756 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1757$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1758 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1759$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1760 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1761$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1762 { (exit 1); exit 1; }; } 1763fi 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789ac_ext=c 1790ac_cpp='$CPP $CPPFLAGS' 1791ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1792ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1793ac_compiler_gnu=$ac_cv_c_compiler_gnu 1794 1795 1796 1797ac_config_headers="$ac_config_headers config.h" 1798 1799 1800# Checks for programs. 1801ac_ext=c 1802ac_cpp='$CPP $CPPFLAGS' 1803ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1804ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1805ac_compiler_gnu=$ac_cv_c_compiler_gnu 1806if test -n "$ac_tool_prefix"; then 1807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1808set dummy ${ac_tool_prefix}gcc; ac_word=$2 1809{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1810$as_echo_n "checking for $ac_word... " >&6; } 1811if test "${ac_cv_prog_CC+set}" = set; then 1812 $as_echo_n "(cached) " >&6 1813else 1814 if test -n "$CC"; then 1815 ac_cv_prog_CC="$CC" # Let the user override the test. 1816else 1817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1818for as_dir in $PATH 1819do 1820 IFS=$as_save_IFS 1821 test -z "$as_dir" && as_dir=. 1822 for ac_exec_ext in '' $ac_executable_extensions; do 1823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1824 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1825 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1826 break 2 1827 fi 1828done 1829done 1830IFS=$as_save_IFS 1831 1832fi 1833fi 1834CC=$ac_cv_prog_CC 1835if test -n "$CC"; then 1836 { $as_echo "$as_me:$LINENO: result: $CC" >&5 1837$as_echo "$CC" >&6; } 1838else 1839 { $as_echo "$as_me:$LINENO: result: no" >&5 1840$as_echo "no" >&6; } 1841fi 1842 1843 1844fi 1845if test -z "$ac_cv_prog_CC"; then 1846 ac_ct_CC=$CC 1847 # Extract the first word of "gcc", so it can be a program name with args. 1848set dummy gcc; ac_word=$2 1849{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1850$as_echo_n "checking for $ac_word... " >&6; } 1851if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1852 $as_echo_n "(cached) " >&6 1853else 1854 if test -n "$ac_ct_CC"; then 1855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1856else 1857as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1858for as_dir in $PATH 1859do 1860 IFS=$as_save_IFS 1861 test -z "$as_dir" && as_dir=. 1862 for ac_exec_ext in '' $ac_executable_extensions; do 1863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1864 ac_cv_prog_ac_ct_CC="gcc" 1865 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1866 break 2 1867 fi 1868done 1869done 1870IFS=$as_save_IFS 1871 1872fi 1873fi 1874ac_ct_CC=$ac_cv_prog_ac_ct_CC 1875if test -n "$ac_ct_CC"; then 1876 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1877$as_echo "$ac_ct_CC" >&6; } 1878else 1879 { $as_echo "$as_me:$LINENO: result: no" >&5 1880$as_echo "no" >&6; } 1881fi 1882 1883 if test "x$ac_ct_CC" = x; then 1884 CC="" 1885 else 1886 case $cross_compiling:$ac_tool_warned in 1887yes:) 1888{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 1889$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1890ac_tool_warned=yes ;; 1891esac 1892 CC=$ac_ct_CC 1893 fi 1894else 1895 CC="$ac_cv_prog_CC" 1896fi 1897 1898if test -z "$CC"; then 1899 if test -n "$ac_tool_prefix"; then 1900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1901set dummy ${ac_tool_prefix}cc; ac_word=$2 1902{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1903$as_echo_n "checking for $ac_word... " >&6; } 1904if test "${ac_cv_prog_CC+set}" = set; then 1905 $as_echo_n "(cached) " >&6 1906else 1907 if test -n "$CC"; then 1908 ac_cv_prog_CC="$CC" # Let the user override the test. 1909else 1910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1911for as_dir in $PATH 1912do 1913 IFS=$as_save_IFS 1914 test -z "$as_dir" && as_dir=. 1915 for ac_exec_ext in '' $ac_executable_extensions; do 1916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1917 ac_cv_prog_CC="${ac_tool_prefix}cc" 1918 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1919 break 2 1920 fi 1921done 1922done 1923IFS=$as_save_IFS 1924 1925fi 1926fi 1927CC=$ac_cv_prog_CC 1928if test -n "$CC"; then 1929 { $as_echo "$as_me:$LINENO: result: $CC" >&5 1930$as_echo "$CC" >&6; } 1931else 1932 { $as_echo "$as_me:$LINENO: result: no" >&5 1933$as_echo "no" >&6; } 1934fi 1935 1936 1937 fi 1938fi 1939if test -z "$CC"; then 1940 # Extract the first word of "cc", so it can be a program name with args. 1941set dummy cc; ac_word=$2 1942{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 1943$as_echo_n "checking for $ac_word... " >&6; } 1944if test "${ac_cv_prog_CC+set}" = set; then 1945 $as_echo_n "(cached) " >&6 1946else 1947 if test -n "$CC"; then 1948 ac_cv_prog_CC="$CC" # Let the user override the test. 1949else 1950 ac_prog_rejected=no 1951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1952for as_dir in $PATH 1953do 1954 IFS=$as_save_IFS 1955 test -z "$as_dir" && as_dir=. 1956 for ac_exec_ext in '' $ac_executable_extensions; do 1957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1959 ac_prog_rejected=yes 1960 continue 1961 fi 1962 ac_cv_prog_CC="cc" 1963 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1964 break 2 1965 fi 1966done 1967done 1968IFS=$as_save_IFS 1969 1970if test $ac_prog_rejected = yes; then 1971 # We found a bogon in the path, so make sure we never use it. 1972 set dummy $ac_cv_prog_CC 1973 shift 1974 if test $# != 0; then 1975 # We chose a different compiler from the bogus one. 1976 # However, it has the same basename, so the bogon will be chosen 1977 # first if we set CC to just the basename; use the full file name. 1978 shift 1979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1980 fi 1981fi 1982fi 1983fi 1984CC=$ac_cv_prog_CC 1985if test -n "$CC"; then 1986 { $as_echo "$as_me:$LINENO: result: $CC" >&5 1987$as_echo "$CC" >&6; } 1988else 1989 { $as_echo "$as_me:$LINENO: result: no" >&5 1990$as_echo "no" >&6; } 1991fi 1992 1993 1994fi 1995if test -z "$CC"; then 1996 if test -n "$ac_tool_prefix"; then 1997 for ac_prog in cl.exe 1998 do 1999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2000set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2001{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2002$as_echo_n "checking for $ac_word... " >&6; } 2003if test "${ac_cv_prog_CC+set}" = set; then 2004 $as_echo_n "(cached) " >&6 2005else 2006 if test -n "$CC"; then 2007 ac_cv_prog_CC="$CC" # Let the user override the test. 2008else 2009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2010for as_dir in $PATH 2011do 2012 IFS=$as_save_IFS 2013 test -z "$as_dir" && as_dir=. 2014 for ac_exec_ext in '' $ac_executable_extensions; do 2015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2017 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2018 break 2 2019 fi 2020done 2021done 2022IFS=$as_save_IFS 2023 2024fi 2025fi 2026CC=$ac_cv_prog_CC 2027if test -n "$CC"; then 2028 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2029$as_echo "$CC" >&6; } 2030else 2031 { $as_echo "$as_me:$LINENO: result: no" >&5 2032$as_echo "no" >&6; } 2033fi 2034 2035 2036 test -n "$CC" && break 2037 done 2038fi 2039if test -z "$CC"; then 2040 ac_ct_CC=$CC 2041 for ac_prog in cl.exe 2042do 2043 # Extract the first word of "$ac_prog", so it can be a program name with args. 2044set dummy $ac_prog; ac_word=$2 2045{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2046$as_echo_n "checking for $ac_word... " >&6; } 2047if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2048 $as_echo_n "(cached) " >&6 2049else 2050 if test -n "$ac_ct_CC"; then 2051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2052else 2053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2054for as_dir in $PATH 2055do 2056 IFS=$as_save_IFS 2057 test -z "$as_dir" && as_dir=. 2058 for ac_exec_ext in '' $ac_executable_extensions; do 2059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2060 ac_cv_prog_ac_ct_CC="$ac_prog" 2061 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2062 break 2 2063 fi 2064done 2065done 2066IFS=$as_save_IFS 2067 2068fi 2069fi 2070ac_ct_CC=$ac_cv_prog_ac_ct_CC 2071if test -n "$ac_ct_CC"; then 2072 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2073$as_echo "$ac_ct_CC" >&6; } 2074else 2075 { $as_echo "$as_me:$LINENO: result: no" >&5 2076$as_echo "no" >&6; } 2077fi 2078 2079 2080 test -n "$ac_ct_CC" && break 2081done 2082 2083 if test "x$ac_ct_CC" = x; then 2084 CC="" 2085 else 2086 case $cross_compiling:$ac_tool_warned in 2087yes:) 2088{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2089$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2090ac_tool_warned=yes ;; 2091esac 2092 CC=$ac_ct_CC 2093 fi 2094fi 2095 2096fi 2097 2098 2099test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2100$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2101{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2102See \`config.log' for more details." >&5 2103$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2104See \`config.log' for more details." >&2;} 2105 { (exit 1); exit 1; }; }; } 2106 2107# Provide some information about the compiler. 2108$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2109set X $ac_compile 2110ac_compiler=$2 2111{ (ac_try="$ac_compiler --version >&5" 2112case "(($ac_try" in 2113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2114 *) ac_try_echo=$ac_try;; 2115esac 2116eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2117$as_echo "$ac_try_echo") >&5 2118 (eval "$ac_compiler --version >&5") 2>&5 2119 ac_status=$? 2120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2121 (exit $ac_status); } 2122{ (ac_try="$ac_compiler -v >&5" 2123case "(($ac_try" in 2124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2125 *) ac_try_echo=$ac_try;; 2126esac 2127eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2128$as_echo "$ac_try_echo") >&5 2129 (eval "$ac_compiler -v >&5") 2>&5 2130 ac_status=$? 2131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2132 (exit $ac_status); } 2133{ (ac_try="$ac_compiler -V >&5" 2134case "(($ac_try" in 2135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2136 *) ac_try_echo=$ac_try;; 2137esac 2138eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2139$as_echo "$ac_try_echo") >&5 2140 (eval "$ac_compiler -V >&5") 2>&5 2141 ac_status=$? 2142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2143 (exit $ac_status); } 2144 2145cat >conftest.$ac_ext <<_ACEOF 2146/* confdefs.h. */ 2147_ACEOF 2148cat confdefs.h >>conftest.$ac_ext 2149cat >>conftest.$ac_ext <<_ACEOF 2150/* end confdefs.h. */ 2151 2152int 2153main () 2154{ 2155 2156 ; 2157 return 0; 2158} 2159_ACEOF 2160ac_clean_files_save=$ac_clean_files 2161ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2162# Try to create an executable without -o first, disregard a.out. 2163# It will help us diagnose broken compilers, and finding out an intuition 2164# of exeext. 2165{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2166$as_echo_n "checking for C compiler default output file name... " >&6; } 2167ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2168 2169# The possible output files: 2170ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2171 2172ac_rmfiles= 2173for ac_file in $ac_files 2174do 2175 case $ac_file in 2176 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2177 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2178 esac 2179done 2180rm -f $ac_rmfiles 2181 2182if { (ac_try="$ac_link_default" 2183case "(($ac_try" in 2184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2185 *) ac_try_echo=$ac_try;; 2186esac 2187eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2188$as_echo "$ac_try_echo") >&5 2189 (eval "$ac_link_default") 2>&5 2190 ac_status=$? 2191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2192 (exit $ac_status); }; then 2193 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2194# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2195# in a Makefile. We should not override ac_cv_exeext if it was cached, 2196# so that the user can short-circuit this test for compilers unknown to 2197# Autoconf. 2198for ac_file in $ac_files '' 2199do 2200 test -f "$ac_file" || continue 2201 case $ac_file in 2202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2203 ;; 2204 [ab].out ) 2205 # We found the default executable, but exeext='' is most 2206 # certainly right. 2207 break;; 2208 *.* ) 2209 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2210 then :; else 2211 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2212 fi 2213 # We set ac_cv_exeext here because the later test for it is not 2214 # safe: cross compilers may not add the suffix if given an `-o' 2215 # argument, so we may need to know it at that point already. 2216 # Even if this section looks crufty: it has the advantage of 2217 # actually working. 2218 break;; 2219 * ) 2220 break;; 2221 esac 2222done 2223test "$ac_cv_exeext" = no && ac_cv_exeext= 2224 2225else 2226 ac_file='' 2227fi 2228 2229{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2230$as_echo "$ac_file" >&6; } 2231if test -z "$ac_file"; then 2232 $as_echo "$as_me: failed program was:" >&5 2233sed 's/^/| /' conftest.$ac_ext >&5 2234 2235{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2236$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2237{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2238See \`config.log' for more details." >&5 2239$as_echo "$as_me: error: C compiler cannot create executables 2240See \`config.log' for more details." >&2;} 2241 { (exit 77); exit 77; }; }; } 2242fi 2243 2244ac_exeext=$ac_cv_exeext 2245 2246# Check that the compiler produces executables we can run. If not, either 2247# the compiler is broken, or we cross compile. 2248{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2249$as_echo_n "checking whether the C compiler works... " >&6; } 2250# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2251# If not cross compiling, check that we can run a simple program. 2252if test "$cross_compiling" != yes; then 2253 if { ac_try='./$ac_file' 2254 { (case "(($ac_try" in 2255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2256 *) ac_try_echo=$ac_try;; 2257esac 2258eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2259$as_echo "$ac_try_echo") >&5 2260 (eval "$ac_try") 2>&5 2261 ac_status=$? 2262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2263 (exit $ac_status); }; }; then 2264 cross_compiling=no 2265 else 2266 if test "$cross_compiling" = maybe; then 2267 cross_compiling=yes 2268 else 2269 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2270$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2271{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2272If you meant to cross compile, use \`--host'. 2273See \`config.log' for more details." >&5 2274$as_echo "$as_me: error: cannot run C compiled programs. 2275If you meant to cross compile, use \`--host'. 2276See \`config.log' for more details." >&2;} 2277 { (exit 1); exit 1; }; }; } 2278 fi 2279 fi 2280fi 2281{ $as_echo "$as_me:$LINENO: result: yes" >&5 2282$as_echo "yes" >&6; } 2283 2284rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2285ac_clean_files=$ac_clean_files_save 2286# Check that the compiler produces executables we can run. If not, either 2287# the compiler is broken, or we cross compile. 2288{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2289$as_echo_n "checking whether we are cross compiling... " >&6; } 2290{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2291$as_echo "$cross_compiling" >&6; } 2292 2293{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2294$as_echo_n "checking for suffix of executables... " >&6; } 2295if { (ac_try="$ac_link" 2296case "(($ac_try" in 2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2298 *) ac_try_echo=$ac_try;; 2299esac 2300eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2301$as_echo "$ac_try_echo") >&5 2302 (eval "$ac_link") 2>&5 2303 ac_status=$? 2304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2305 (exit $ac_status); }; then 2306 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2307# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2308# work properly (i.e., refer to `conftest.exe'), while it won't with 2309# `rm'. 2310for ac_file in conftest.exe conftest conftest.*; do 2311 test -f "$ac_file" || continue 2312 case $ac_file in 2313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2314 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2315 break;; 2316 * ) break;; 2317 esac 2318done 2319else 2320 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2321$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2322{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2323See \`config.log' for more details." >&5 2324$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2325See \`config.log' for more details." >&2;} 2326 { (exit 1); exit 1; }; }; } 2327fi 2328 2329rm -f conftest$ac_cv_exeext 2330{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2331$as_echo "$ac_cv_exeext" >&6; } 2332 2333rm -f conftest.$ac_ext 2334EXEEXT=$ac_cv_exeext 2335ac_exeext=$EXEEXT 2336{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2337$as_echo_n "checking for suffix of object files... " >&6; } 2338if test "${ac_cv_objext+set}" = set; then 2339 $as_echo_n "(cached) " >&6 2340else 2341 cat >conftest.$ac_ext <<_ACEOF 2342/* confdefs.h. */ 2343_ACEOF 2344cat confdefs.h >>conftest.$ac_ext 2345cat >>conftest.$ac_ext <<_ACEOF 2346/* end confdefs.h. */ 2347 2348int 2349main () 2350{ 2351 2352 ; 2353 return 0; 2354} 2355_ACEOF 2356rm -f conftest.o conftest.obj 2357if { (ac_try="$ac_compile" 2358case "(($ac_try" in 2359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2360 *) ac_try_echo=$ac_try;; 2361esac 2362eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2363$as_echo "$ac_try_echo") >&5 2364 (eval "$ac_compile") 2>&5 2365 ac_status=$? 2366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2367 (exit $ac_status); }; then 2368 for ac_file in conftest.o conftest.obj conftest.*; do 2369 test -f "$ac_file" || continue; 2370 case $ac_file in 2371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2372 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2373 break;; 2374 esac 2375done 2376else 2377 $as_echo "$as_me: failed program was:" >&5 2378sed 's/^/| /' conftest.$ac_ext >&5 2379 2380{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2381$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2382{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2383See \`config.log' for more details." >&5 2384$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2385See \`config.log' for more details." >&2;} 2386 { (exit 1); exit 1; }; }; } 2387fi 2388 2389rm -f conftest.$ac_cv_objext conftest.$ac_ext 2390fi 2391{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2392$as_echo "$ac_cv_objext" >&6; } 2393OBJEXT=$ac_cv_objext 2394ac_objext=$OBJEXT 2395{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2396$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2397if test "${ac_cv_c_compiler_gnu+set}" = set; then 2398 $as_echo_n "(cached) " >&6 2399else 2400 cat >conftest.$ac_ext <<_ACEOF 2401/* confdefs.h. */ 2402_ACEOF 2403cat confdefs.h >>conftest.$ac_ext 2404cat >>conftest.$ac_ext <<_ACEOF 2405/* end confdefs.h. */ 2406 2407int 2408main () 2409{ 2410#ifndef __GNUC__ 2411 choke me 2412#endif 2413 2414 ; 2415 return 0; 2416} 2417_ACEOF 2418rm -f conftest.$ac_objext 2419if { (ac_try="$ac_compile" 2420case "(($ac_try" in 2421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2422 *) ac_try_echo=$ac_try;; 2423esac 2424eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2425$as_echo "$ac_try_echo") >&5 2426 (eval "$ac_compile") 2>conftest.er1 2427 ac_status=$? 2428 grep -v '^ *+' conftest.er1 >conftest.err 2429 rm -f conftest.er1 2430 cat conftest.err >&5 2431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2432 (exit $ac_status); } && { 2433 test -z "$ac_c_werror_flag" || 2434 test ! -s conftest.err 2435 } && test -s conftest.$ac_objext; then 2436 ac_compiler_gnu=yes 2437else 2438 $as_echo "$as_me: failed program was:" >&5 2439sed 's/^/| /' conftest.$ac_ext >&5 2440 2441 ac_compiler_gnu=no 2442fi 2443 2444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2445ac_cv_c_compiler_gnu=$ac_compiler_gnu 2446 2447fi 2448{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2449$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2450if test $ac_compiler_gnu = yes; then 2451 GCC=yes 2452else 2453 GCC= 2454fi 2455ac_test_CFLAGS=${CFLAGS+set} 2456ac_save_CFLAGS=$CFLAGS 2457{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2458$as_echo_n "checking whether $CC accepts -g... " >&6; } 2459if test "${ac_cv_prog_cc_g+set}" = set; then 2460 $as_echo_n "(cached) " >&6 2461else 2462 ac_save_c_werror_flag=$ac_c_werror_flag 2463 ac_c_werror_flag=yes 2464 ac_cv_prog_cc_g=no 2465 CFLAGS="-g" 2466 cat >conftest.$ac_ext <<_ACEOF 2467/* confdefs.h. */ 2468_ACEOF 2469cat confdefs.h >>conftest.$ac_ext 2470cat >>conftest.$ac_ext <<_ACEOF 2471/* end confdefs.h. */ 2472 2473int 2474main () 2475{ 2476 2477 ; 2478 return 0; 2479} 2480_ACEOF 2481rm -f conftest.$ac_objext 2482if { (ac_try="$ac_compile" 2483case "(($ac_try" in 2484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2485 *) ac_try_echo=$ac_try;; 2486esac 2487eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2488$as_echo "$ac_try_echo") >&5 2489 (eval "$ac_compile") 2>conftest.er1 2490 ac_status=$? 2491 grep -v '^ *+' conftest.er1 >conftest.err 2492 rm -f conftest.er1 2493 cat conftest.err >&5 2494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2495 (exit $ac_status); } && { 2496 test -z "$ac_c_werror_flag" || 2497 test ! -s conftest.err 2498 } && test -s conftest.$ac_objext; then 2499 ac_cv_prog_cc_g=yes 2500else 2501 $as_echo "$as_me: failed program was:" >&5 2502sed 's/^/| /' conftest.$ac_ext >&5 2503 2504 CFLAGS="" 2505 cat >conftest.$ac_ext <<_ACEOF 2506/* confdefs.h. */ 2507_ACEOF 2508cat confdefs.h >>conftest.$ac_ext 2509cat >>conftest.$ac_ext <<_ACEOF 2510/* end confdefs.h. */ 2511 2512int 2513main () 2514{ 2515 2516 ; 2517 return 0; 2518} 2519_ACEOF 2520rm -f conftest.$ac_objext 2521if { (ac_try="$ac_compile" 2522case "(($ac_try" in 2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2524 *) ac_try_echo=$ac_try;; 2525esac 2526eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2527$as_echo "$ac_try_echo") >&5 2528 (eval "$ac_compile") 2>conftest.er1 2529 ac_status=$? 2530 grep -v '^ *+' conftest.er1 >conftest.err 2531 rm -f conftest.er1 2532 cat conftest.err >&5 2533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2534 (exit $ac_status); } && { 2535 test -z "$ac_c_werror_flag" || 2536 test ! -s conftest.err 2537 } && test -s conftest.$ac_objext; then 2538 : 2539else 2540 $as_echo "$as_me: failed program was:" >&5 2541sed 's/^/| /' conftest.$ac_ext >&5 2542 2543 ac_c_werror_flag=$ac_save_c_werror_flag 2544 CFLAGS="-g" 2545 cat >conftest.$ac_ext <<_ACEOF 2546/* confdefs.h. */ 2547_ACEOF 2548cat confdefs.h >>conftest.$ac_ext 2549cat >>conftest.$ac_ext <<_ACEOF 2550/* end confdefs.h. */ 2551 2552int 2553main () 2554{ 2555 2556 ; 2557 return 0; 2558} 2559_ACEOF 2560rm -f conftest.$ac_objext 2561if { (ac_try="$ac_compile" 2562case "(($ac_try" in 2563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2564 *) ac_try_echo=$ac_try;; 2565esac 2566eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2567$as_echo "$ac_try_echo") >&5 2568 (eval "$ac_compile") 2>conftest.er1 2569 ac_status=$? 2570 grep -v '^ *+' conftest.er1 >conftest.err 2571 rm -f conftest.er1 2572 cat conftest.err >&5 2573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2574 (exit $ac_status); } && { 2575 test -z "$ac_c_werror_flag" || 2576 test ! -s conftest.err 2577 } && test -s conftest.$ac_objext; then 2578 ac_cv_prog_cc_g=yes 2579else 2580 $as_echo "$as_me: failed program was:" >&5 2581sed 's/^/| /' conftest.$ac_ext >&5 2582 2583 2584fi 2585 2586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2587fi 2588 2589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2590fi 2591 2592rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2593 ac_c_werror_flag=$ac_save_c_werror_flag 2594fi 2595{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2596$as_echo "$ac_cv_prog_cc_g" >&6; } 2597if test "$ac_test_CFLAGS" = set; then 2598 CFLAGS=$ac_save_CFLAGS 2599elif test $ac_cv_prog_cc_g = yes; then 2600 if test "$GCC" = yes; then 2601 CFLAGS="-g -O2" 2602 else 2603 CFLAGS="-g" 2604 fi 2605else 2606 if test "$GCC" = yes; then 2607 CFLAGS="-O2" 2608 else 2609 CFLAGS= 2610 fi 2611fi 2612{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2613$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2614if test "${ac_cv_prog_cc_c89+set}" = set; then 2615 $as_echo_n "(cached) " >&6 2616else 2617 ac_cv_prog_cc_c89=no 2618ac_save_CC=$CC 2619cat >conftest.$ac_ext <<_ACEOF 2620/* confdefs.h. */ 2621_ACEOF 2622cat confdefs.h >>conftest.$ac_ext 2623cat >>conftest.$ac_ext <<_ACEOF 2624/* end confdefs.h. */ 2625#include <stdarg.h> 2626#include <stdio.h> 2627#include <sys/types.h> 2628#include <sys/stat.h> 2629/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2630struct buf { int x; }; 2631FILE * (*rcsopen) (struct buf *, struct stat *, int); 2632static char *e (p, i) 2633 char **p; 2634 int i; 2635{ 2636 return p[i]; 2637} 2638static char *f (char * (*g) (char **, int), char **p, ...) 2639{ 2640 char *s; 2641 va_list v; 2642 va_start (v,p); 2643 s = g (p, va_arg (v,int)); 2644 va_end (v); 2645 return s; 2646} 2647 2648/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2649 function prototypes and stuff, but not '\xHH' hex character constants. 2650 These don't provoke an error unfortunately, instead are silently treated 2651 as 'x'. The following induces an error, until -std is added to get 2652 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2653 array size at least. It's necessary to write '\x00'==0 to get something 2654 that's true only with -std. */ 2655int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2656 2657/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2658 inside strings and character constants. */ 2659#define FOO(x) 'x' 2660int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2661 2662int test (int i, double x); 2663struct s1 {int (*f) (int a);}; 2664struct s2 {int (*f) (double a);}; 2665int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2666int argc; 2667char **argv; 2668int 2669main () 2670{ 2671return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2672 ; 2673 return 0; 2674} 2675_ACEOF 2676for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2677 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2678do 2679 CC="$ac_save_CC $ac_arg" 2680 rm -f conftest.$ac_objext 2681if { (ac_try="$ac_compile" 2682case "(($ac_try" in 2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2684 *) ac_try_echo=$ac_try;; 2685esac 2686eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2687$as_echo "$ac_try_echo") >&5 2688 (eval "$ac_compile") 2>conftest.er1 2689 ac_status=$? 2690 grep -v '^ *+' conftest.er1 >conftest.err 2691 rm -f conftest.er1 2692 cat conftest.err >&5 2693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2694 (exit $ac_status); } && { 2695 test -z "$ac_c_werror_flag" || 2696 test ! -s conftest.err 2697 } && test -s conftest.$ac_objext; then 2698 ac_cv_prog_cc_c89=$ac_arg 2699else 2700 $as_echo "$as_me: failed program was:" >&5 2701sed 's/^/| /' conftest.$ac_ext >&5 2702 2703 2704fi 2705 2706rm -f core conftest.err conftest.$ac_objext 2707 test "x$ac_cv_prog_cc_c89" != "xno" && break 2708done 2709rm -f conftest.$ac_ext 2710CC=$ac_save_CC 2711 2712fi 2713# AC_CACHE_VAL 2714case "x$ac_cv_prog_cc_c89" in 2715 x) 2716 { $as_echo "$as_me:$LINENO: result: none needed" >&5 2717$as_echo "none needed" >&6; } ;; 2718 xno) 2719 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 2720$as_echo "unsupported" >&6; } ;; 2721 *) 2722 CC="$CC $ac_cv_prog_cc_c89" 2723 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2724$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2725esac 2726 2727 2728ac_ext=c 2729ac_cpp='$CPP $CPPFLAGS' 2730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2732ac_compiler_gnu=$ac_cv_c_compiler_gnu 2733 2734{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2735$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2736set x ${MAKE-make} 2737ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2738if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2739 $as_echo_n "(cached) " >&6 2740else 2741 cat >conftest.make <<\_ACEOF 2742SHELL = /bin/sh 2743all: 2744 @echo '@@@%%%=$(MAKE)=@@@%%%' 2745_ACEOF 2746# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2747case `${MAKE-make} -f conftest.make 2>/dev/null` in 2748 *@@@%%%=?*=@@@%%%*) 2749 eval ac_cv_prog_make_${ac_make}_set=yes;; 2750 *) 2751 eval ac_cv_prog_make_${ac_make}_set=no;; 2752esac 2753rm -f conftest.make 2754fi 2755if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2756 { $as_echo "$as_me:$LINENO: result: yes" >&5 2757$as_echo "yes" >&6; } 2758 SET_MAKE= 2759else 2760 { $as_echo "$as_me:$LINENO: result: no" >&5 2761$as_echo "no" >&6; } 2762 SET_MAKE="MAKE=${MAKE-make}" 2763fi 2764 2765 2766# Checks for libraries. 2767# FIXME: Replace `main' with a function in `-lresolv': 2768LIB_resolv="" 2769 2770{ $as_echo "$as_me:$LINENO: checking for main in -lresolv" >&5 2771$as_echo_n "checking for main in -lresolv... " >&6; } 2772if test "${ac_cv_lib_resolv_main+set}" = set; then 2773 $as_echo_n "(cached) " >&6 2774else 2775 ac_check_lib_save_LIBS=$LIBS 2776LIBS="-lresolv $LIBS" 2777cat >conftest.$ac_ext <<_ACEOF 2778/* confdefs.h. */ 2779_ACEOF 2780cat confdefs.h >>conftest.$ac_ext 2781cat >>conftest.$ac_ext <<_ACEOF 2782/* end confdefs.h. */ 2783 2784 2785int 2786main () 2787{ 2788return main (); 2789 ; 2790 return 0; 2791} 2792_ACEOF 2793rm -f conftest.$ac_objext conftest$ac_exeext 2794if { (ac_try="$ac_link" 2795case "(($ac_try" in 2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2797 *) ac_try_echo=$ac_try;; 2798esac 2799eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2800$as_echo "$ac_try_echo") >&5 2801 (eval "$ac_link") 2>conftest.er1 2802 ac_status=$? 2803 grep -v '^ *+' conftest.er1 >conftest.err 2804 rm -f conftest.er1 2805 cat conftest.err >&5 2806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2807 (exit $ac_status); } && { 2808 test -z "$ac_c_werror_flag" || 2809 test ! -s conftest.err 2810 } && test -s conftest$ac_exeext && { 2811 test "$cross_compiling" = yes || 2812 $as_test_x conftest$ac_exeext 2813 }; then 2814 ac_cv_lib_resolv_main=yes 2815else 2816 $as_echo "$as_me: failed program was:" >&5 2817sed 's/^/| /' conftest.$ac_ext >&5 2818 2819 ac_cv_lib_resolv_main=no 2820fi 2821 2822rm -rf conftest.dSYM 2823rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2824 conftest$ac_exeext conftest.$ac_ext 2825LIBS=$ac_check_lib_save_LIBS 2826fi 2827{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5 2828$as_echo "$ac_cv_lib_resolv_main" >&6; } 2829if test "x$ac_cv_lib_resolv_main" = x""yes; then 2830 LIB_resolv=-lresolv 2831fi 2832 2833 2834 2835# Checks for header files. 2836ac_ext=c 2837ac_cpp='$CPP $CPPFLAGS' 2838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2840ac_compiler_gnu=$ac_cv_c_compiler_gnu 2841{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2842$as_echo_n "checking how to run the C preprocessor... " >&6; } 2843# On Suns, sometimes $CPP names a directory. 2844if test -n "$CPP" && test -d "$CPP"; then 2845 CPP= 2846fi 2847if test -z "$CPP"; then 2848 if test "${ac_cv_prog_CPP+set}" = set; then 2849 $as_echo_n "(cached) " >&6 2850else 2851 # Double quotes because CPP needs to be expanded 2852 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2853 do 2854 ac_preproc_ok=false 2855for ac_c_preproc_warn_flag in '' yes 2856do 2857 # Use a header file that comes with gcc, so configuring glibc 2858 # with a fresh cross-compiler works. 2859 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2860 # <limits.h> exists even on freestanding compilers. 2861 # On the NeXT, cc -E runs the code through the compiler's parser, 2862 # not just through cpp. "Syntax error" is here to catch this case. 2863 cat >conftest.$ac_ext <<_ACEOF 2864/* confdefs.h. */ 2865_ACEOF 2866cat confdefs.h >>conftest.$ac_ext 2867cat >>conftest.$ac_ext <<_ACEOF 2868/* end confdefs.h. */ 2869#ifdef __STDC__ 2870# include <limits.h> 2871#else 2872# include <assert.h> 2873#endif 2874 Syntax error 2875_ACEOF 2876if { (ac_try="$ac_cpp conftest.$ac_ext" 2877case "(($ac_try" in 2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2879 *) ac_try_echo=$ac_try;; 2880esac 2881eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2882$as_echo "$ac_try_echo") >&5 2883 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2884 ac_status=$? 2885 grep -v '^ *+' conftest.er1 >conftest.err 2886 rm -f conftest.er1 2887 cat conftest.err >&5 2888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2889 (exit $ac_status); } >/dev/null && { 2890 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2891 test ! -s conftest.err 2892 }; then 2893 : 2894else 2895 $as_echo "$as_me: failed program was:" >&5 2896sed 's/^/| /' conftest.$ac_ext >&5 2897 2898 # Broken: fails on valid input. 2899continue 2900fi 2901 2902rm -f conftest.err conftest.$ac_ext 2903 2904 # OK, works on sane cases. Now check whether nonexistent headers 2905 # can be detected and how. 2906 cat >conftest.$ac_ext <<_ACEOF 2907/* confdefs.h. */ 2908_ACEOF 2909cat confdefs.h >>conftest.$ac_ext 2910cat >>conftest.$ac_ext <<_ACEOF 2911/* end confdefs.h. */ 2912#include <ac_nonexistent.h> 2913_ACEOF 2914if { (ac_try="$ac_cpp conftest.$ac_ext" 2915case "(($ac_try" in 2916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2917 *) ac_try_echo=$ac_try;; 2918esac 2919eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2920$as_echo "$ac_try_echo") >&5 2921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2922 ac_status=$? 2923 grep -v '^ *+' conftest.er1 >conftest.err 2924 rm -f conftest.er1 2925 cat conftest.err >&5 2926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2927 (exit $ac_status); } >/dev/null && { 2928 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2929 test ! -s conftest.err 2930 }; then 2931 # Broken: success on invalid input. 2932continue 2933else 2934 $as_echo "$as_me: failed program was:" >&5 2935sed 's/^/| /' conftest.$ac_ext >&5 2936 2937 # Passes both tests. 2938ac_preproc_ok=: 2939break 2940fi 2941 2942rm -f conftest.err conftest.$ac_ext 2943 2944done 2945# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2946rm -f conftest.err conftest.$ac_ext 2947if $ac_preproc_ok; then 2948 break 2949fi 2950 2951 done 2952 ac_cv_prog_CPP=$CPP 2953 2954fi 2955 CPP=$ac_cv_prog_CPP 2956else 2957 ac_cv_prog_CPP=$CPP 2958fi 2959{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 2960$as_echo "$CPP" >&6; } 2961ac_preproc_ok=false 2962for ac_c_preproc_warn_flag in '' yes 2963do 2964 # Use a header file that comes with gcc, so configuring glibc 2965 # with a fresh cross-compiler works. 2966 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2967 # <limits.h> exists even on freestanding compilers. 2968 # On the NeXT, cc -E runs the code through the compiler's parser, 2969 # not just through cpp. "Syntax error" is here to catch this case. 2970 cat >conftest.$ac_ext <<_ACEOF 2971/* confdefs.h. */ 2972_ACEOF 2973cat confdefs.h >>conftest.$ac_ext 2974cat >>conftest.$ac_ext <<_ACEOF 2975/* end confdefs.h. */ 2976#ifdef __STDC__ 2977# include <limits.h> 2978#else 2979# include <assert.h> 2980#endif 2981 Syntax error 2982_ACEOF 2983if { (ac_try="$ac_cpp conftest.$ac_ext" 2984case "(($ac_try" in 2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2986 *) ac_try_echo=$ac_try;; 2987esac 2988eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2989$as_echo "$ac_try_echo") >&5 2990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2991 ac_status=$? 2992 grep -v '^ *+' conftest.er1 >conftest.err 2993 rm -f conftest.er1 2994 cat conftest.err >&5 2995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2996 (exit $ac_status); } >/dev/null && { 2997 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2998 test ! -s conftest.err 2999 }; then 3000 : 3001else 3002 $as_echo "$as_me: failed program was:" >&5 3003sed 's/^/| /' conftest.$ac_ext >&5 3004 3005 # Broken: fails on valid input. 3006continue 3007fi 3008 3009rm -f conftest.err conftest.$ac_ext 3010 3011 # OK, works on sane cases. Now check whether nonexistent headers 3012 # can be detected and how. 3013 cat >conftest.$ac_ext <<_ACEOF 3014/* confdefs.h. */ 3015_ACEOF 3016cat confdefs.h >>conftest.$ac_ext 3017cat >>conftest.$ac_ext <<_ACEOF 3018/* end confdefs.h. */ 3019#include <ac_nonexistent.h> 3020_ACEOF 3021if { (ac_try="$ac_cpp conftest.$ac_ext" 3022case "(($ac_try" in 3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3024 *) ac_try_echo=$ac_try;; 3025esac 3026eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3027$as_echo "$ac_try_echo") >&5 3028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3029 ac_status=$? 3030 grep -v '^ *+' conftest.er1 >conftest.err 3031 rm -f conftest.er1 3032 cat conftest.err >&5 3033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3034 (exit $ac_status); } >/dev/null && { 3035 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3036 test ! -s conftest.err 3037 }; then 3038 # Broken: success on invalid input. 3039continue 3040else 3041 $as_echo "$as_me: failed program was:" >&5 3042sed 's/^/| /' conftest.$ac_ext >&5 3043 3044 # Passes both tests. 3045ac_preproc_ok=: 3046break 3047fi 3048 3049rm -f conftest.err conftest.$ac_ext 3050 3051done 3052# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3053rm -f conftest.err conftest.$ac_ext 3054if $ac_preproc_ok; then 3055 : 3056else 3057 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3058$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3059{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3060See \`config.log' for more details." >&5 3061$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3062See \`config.log' for more details." >&2;} 3063 { (exit 1); exit 1; }; }; } 3064fi 3065 3066ac_ext=c 3067ac_cpp='$CPP $CPPFLAGS' 3068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3070ac_compiler_gnu=$ac_cv_c_compiler_gnu 3071 3072 3073{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3074$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3075if test "${ac_cv_path_GREP+set}" = set; then 3076 $as_echo_n "(cached) " >&6 3077else 3078 if test -z "$GREP"; then 3079 ac_path_GREP_found=false 3080 # Loop through the user's path and test for each of PROGNAME-LIST 3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3082for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3083do 3084 IFS=$as_save_IFS 3085 test -z "$as_dir" && as_dir=. 3086 for ac_prog in grep ggrep; do 3087 for ac_exec_ext in '' $ac_executable_extensions; do 3088 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3089 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3090# Check for GNU ac_path_GREP and select it if it is found. 3091 # Check for GNU $ac_path_GREP 3092case `"$ac_path_GREP" --version 2>&1` in 3093*GNU*) 3094 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3095*) 3096 ac_count=0 3097 $as_echo_n 0123456789 >"conftest.in" 3098 while : 3099 do 3100 cat "conftest.in" "conftest.in" >"conftest.tmp" 3101 mv "conftest.tmp" "conftest.in" 3102 cp "conftest.in" "conftest.nl" 3103 $as_echo 'GREP' >> "conftest.nl" 3104 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3105 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3106 ac_count=`expr $ac_count + 1` 3107 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3108 # Best one so far, save it but keep looking for a better one 3109 ac_cv_path_GREP="$ac_path_GREP" 3110 ac_path_GREP_max=$ac_count 3111 fi 3112 # 10*(2^10) chars as input seems more than enough 3113 test $ac_count -gt 10 && break 3114 done 3115 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3116esac 3117 3118 $ac_path_GREP_found && break 3 3119 done 3120 done 3121done 3122IFS=$as_save_IFS 3123 if test -z "$ac_cv_path_GREP"; then 3124 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3125$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3126 { (exit 1); exit 1; }; } 3127 fi 3128else 3129 ac_cv_path_GREP=$GREP 3130fi 3131 3132fi 3133{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3134$as_echo "$ac_cv_path_GREP" >&6; } 3135 GREP="$ac_cv_path_GREP" 3136 3137 3138{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 3139$as_echo_n "checking for egrep... " >&6; } 3140if test "${ac_cv_path_EGREP+set}" = set; then 3141 $as_echo_n "(cached) " >&6 3142else 3143 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3144 then ac_cv_path_EGREP="$GREP -E" 3145 else 3146 if test -z "$EGREP"; then 3147 ac_path_EGREP_found=false 3148 # Loop through the user's path and test for each of PROGNAME-LIST 3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3150for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3151do 3152 IFS=$as_save_IFS 3153 test -z "$as_dir" && as_dir=. 3154 for ac_prog in egrep; do 3155 for ac_exec_ext in '' $ac_executable_extensions; do 3156 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3157 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3158# Check for GNU ac_path_EGREP and select it if it is found. 3159 # Check for GNU $ac_path_EGREP 3160case `"$ac_path_EGREP" --version 2>&1` in 3161*GNU*) 3162 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3163*) 3164 ac_count=0 3165 $as_echo_n 0123456789 >"conftest.in" 3166 while : 3167 do 3168 cat "conftest.in" "conftest.in" >"conftest.tmp" 3169 mv "conftest.tmp" "conftest.in" 3170 cp "conftest.in" "conftest.nl" 3171 $as_echo 'EGREP' >> "conftest.nl" 3172 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3173 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3174 ac_count=`expr $ac_count + 1` 3175 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3176 # Best one so far, save it but keep looking for a better one 3177 ac_cv_path_EGREP="$ac_path_EGREP" 3178 ac_path_EGREP_max=$ac_count 3179 fi 3180 # 10*(2^10) chars as input seems more than enough 3181 test $ac_count -gt 10 && break 3182 done 3183 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3184esac 3185 3186 $ac_path_EGREP_found && break 3 3187 done 3188 done 3189done 3190IFS=$as_save_IFS 3191 if test -z "$ac_cv_path_EGREP"; then 3192 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3193$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3194 { (exit 1); exit 1; }; } 3195 fi 3196else 3197 ac_cv_path_EGREP=$EGREP 3198fi 3199 3200 fi 3201fi 3202{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3203$as_echo "$ac_cv_path_EGREP" >&6; } 3204 EGREP="$ac_cv_path_EGREP" 3205 3206 3207{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3208$as_echo_n "checking for ANSI C header files... " >&6; } 3209if test "${ac_cv_header_stdc+set}" = set; then 3210 $as_echo_n "(cached) " >&6 3211else 3212 cat >conftest.$ac_ext <<_ACEOF 3213/* confdefs.h. */ 3214_ACEOF 3215cat confdefs.h >>conftest.$ac_ext 3216cat >>conftest.$ac_ext <<_ACEOF 3217/* end confdefs.h. */ 3218#include <stdlib.h> 3219#include <stdarg.h> 3220#include <string.h> 3221#include <float.h> 3222 3223int 3224main () 3225{ 3226 3227 ; 3228 return 0; 3229} 3230_ACEOF 3231rm -f conftest.$ac_objext 3232if { (ac_try="$ac_compile" 3233case "(($ac_try" in 3234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3235 *) ac_try_echo=$ac_try;; 3236esac 3237eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3238$as_echo "$ac_try_echo") >&5 3239 (eval "$ac_compile") 2>conftest.er1 3240 ac_status=$? 3241 grep -v '^ *+' conftest.er1 >conftest.err 3242 rm -f conftest.er1 3243 cat conftest.err >&5 3244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3245 (exit $ac_status); } && { 3246 test -z "$ac_c_werror_flag" || 3247 test ! -s conftest.err 3248 } && test -s conftest.$ac_objext; then 3249 ac_cv_header_stdc=yes 3250else 3251 $as_echo "$as_me: failed program was:" >&5 3252sed 's/^/| /' conftest.$ac_ext >&5 3253 3254 ac_cv_header_stdc=no 3255fi 3256 3257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3258 3259if test $ac_cv_header_stdc = yes; then 3260 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3261 cat >conftest.$ac_ext <<_ACEOF 3262/* confdefs.h. */ 3263_ACEOF 3264cat confdefs.h >>conftest.$ac_ext 3265cat >>conftest.$ac_ext <<_ACEOF 3266/* end confdefs.h. */ 3267#include <string.h> 3268 3269_ACEOF 3270if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3271 $EGREP "memchr" >/dev/null 2>&1; then 3272 : 3273else 3274 ac_cv_header_stdc=no 3275fi 3276rm -f conftest* 3277 3278fi 3279 3280if test $ac_cv_header_stdc = yes; then 3281 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3282 cat >conftest.$ac_ext <<_ACEOF 3283/* confdefs.h. */ 3284_ACEOF 3285cat confdefs.h >>conftest.$ac_ext 3286cat >>conftest.$ac_ext <<_ACEOF 3287/* end confdefs.h. */ 3288#include <stdlib.h> 3289 3290_ACEOF 3291if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3292 $EGREP "free" >/dev/null 2>&1; then 3293 : 3294else 3295 ac_cv_header_stdc=no 3296fi 3297rm -f conftest* 3298 3299fi 3300 3301if test $ac_cv_header_stdc = yes; then 3302 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3303 if test "$cross_compiling" = yes; then 3304 : 3305else 3306 cat >conftest.$ac_ext <<_ACEOF 3307/* confdefs.h. */ 3308_ACEOF 3309cat confdefs.h >>conftest.$ac_ext 3310cat >>conftest.$ac_ext <<_ACEOF 3311/* end confdefs.h. */ 3312#include <ctype.h> 3313#include <stdlib.h> 3314#if ((' ' & 0x0FF) == 0x020) 3315# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3316# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3317#else 3318# define ISLOWER(c) \ 3319 (('a' <= (c) && (c) <= 'i') \ 3320 || ('j' <= (c) && (c) <= 'r') \ 3321 || ('s' <= (c) && (c) <= 'z')) 3322# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3323#endif 3324 3325#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3326int 3327main () 3328{ 3329 int i; 3330 for (i = 0; i < 256; i++) 3331 if (XOR (islower (i), ISLOWER (i)) 3332 || toupper (i) != TOUPPER (i)) 3333 return 2; 3334 return 0; 3335} 3336_ACEOF 3337rm -f conftest$ac_exeext 3338if { (ac_try="$ac_link" 3339case "(($ac_try" in 3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3341 *) ac_try_echo=$ac_try;; 3342esac 3343eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3344$as_echo "$ac_try_echo") >&5 3345 (eval "$ac_link") 2>&5 3346 ac_status=$? 3347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3348 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3349 { (case "(($ac_try" in 3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3351 *) ac_try_echo=$ac_try;; 3352esac 3353eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3354$as_echo "$ac_try_echo") >&5 3355 (eval "$ac_try") 2>&5 3356 ac_status=$? 3357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3358 (exit $ac_status); }; }; then 3359 : 3360else 3361 $as_echo "$as_me: program exited with status $ac_status" >&5 3362$as_echo "$as_me: failed program was:" >&5 3363sed 's/^/| /' conftest.$ac_ext >&5 3364 3365( exit $ac_status ) 3366ac_cv_header_stdc=no 3367fi 3368rm -rf conftest.dSYM 3369rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3370fi 3371 3372 3373fi 3374fi 3375{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3376$as_echo "$ac_cv_header_stdc" >&6; } 3377if test $ac_cv_header_stdc = yes; then 3378 3379cat >>confdefs.h <<\_ACEOF 3380#define STDC_HEADERS 1 3381_ACEOF 3382 3383fi 3384 3385# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3396 inttypes.h stdint.h unistd.h 3397do 3398as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3399{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3400$as_echo_n "checking for $ac_header... " >&6; } 3401if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3402 $as_echo_n "(cached) " >&6 3403else 3404 cat >conftest.$ac_ext <<_ACEOF 3405/* confdefs.h. */ 3406_ACEOF 3407cat confdefs.h >>conftest.$ac_ext 3408cat >>conftest.$ac_ext <<_ACEOF 3409/* end confdefs.h. */ 3410$ac_includes_default 3411 3412#include <$ac_header> 3413_ACEOF 3414rm -f conftest.$ac_objext 3415if { (ac_try="$ac_compile" 3416case "(($ac_try" in 3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3418 *) ac_try_echo=$ac_try;; 3419esac 3420eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3421$as_echo "$ac_try_echo") >&5 3422 (eval "$ac_compile") 2>conftest.er1 3423 ac_status=$? 3424 grep -v '^ *+' conftest.er1 >conftest.err 3425 rm -f conftest.er1 3426 cat conftest.err >&5 3427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3428 (exit $ac_status); } && { 3429 test -z "$ac_c_werror_flag" || 3430 test ! -s conftest.err 3431 } && test -s conftest.$ac_objext; then 3432 eval "$as_ac_Header=yes" 3433else 3434 $as_echo "$as_me: failed program was:" >&5 3435sed 's/^/| /' conftest.$ac_ext >&5 3436 3437 eval "$as_ac_Header=no" 3438fi 3439 3440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3441fi 3442ac_res=`eval 'as_val=${'$as_ac_Header'} 3443 $as_echo "$as_val"'` 3444 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3445$as_echo "$ac_res" >&6; } 3446as_val=`eval 'as_val=${'$as_ac_Header'} 3447 $as_echo "$as_val"'` 3448 if test "x$as_val" = x""yes; then 3449 cat >>confdefs.h <<_ACEOF 3450#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3451_ACEOF 3452 3453fi 3454 3455done 3456 3457 3458 3459 3460 3461 3462 3463 3464for ac_header in limits.h netdb.h stddef.h stdlib.h string.h unistd.h 3465do 3466as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3467if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3468 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3469$as_echo_n "checking for $ac_header... " >&6; } 3470if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3471 $as_echo_n "(cached) " >&6 3472fi 3473ac_res=`eval 'as_val=${'$as_ac_Header'} 3474 $as_echo "$as_val"'` 3475 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3476$as_echo "$ac_res" >&6; } 3477else 3478 # Is the header compilable? 3479{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 3480$as_echo_n "checking $ac_header usability... " >&6; } 3481cat >conftest.$ac_ext <<_ACEOF 3482/* confdefs.h. */ 3483_ACEOF 3484cat confdefs.h >>conftest.$ac_ext 3485cat >>conftest.$ac_ext <<_ACEOF 3486/* end confdefs.h. */ 3487$ac_includes_default 3488#include <$ac_header> 3489_ACEOF 3490rm -f conftest.$ac_objext 3491if { (ac_try="$ac_compile" 3492case "(($ac_try" in 3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3494 *) ac_try_echo=$ac_try;; 3495esac 3496eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3497$as_echo "$ac_try_echo") >&5 3498 (eval "$ac_compile") 2>conftest.er1 3499 ac_status=$? 3500 grep -v '^ *+' conftest.er1 >conftest.err 3501 rm -f conftest.er1 3502 cat conftest.err >&5 3503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3504 (exit $ac_status); } && { 3505 test -z "$ac_c_werror_flag" || 3506 test ! -s conftest.err 3507 } && test -s conftest.$ac_objext; then 3508 ac_header_compiler=yes 3509else 3510 $as_echo "$as_me: failed program was:" >&5 3511sed 's/^/| /' conftest.$ac_ext >&5 3512 3513 ac_header_compiler=no 3514fi 3515 3516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3517{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3518$as_echo "$ac_header_compiler" >&6; } 3519 3520# Is the header present? 3521{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 3522$as_echo_n "checking $ac_header presence... " >&6; } 3523cat >conftest.$ac_ext <<_ACEOF 3524/* confdefs.h. */ 3525_ACEOF 3526cat confdefs.h >>conftest.$ac_ext 3527cat >>conftest.$ac_ext <<_ACEOF 3528/* end confdefs.h. */ 3529#include <$ac_header> 3530_ACEOF 3531if { (ac_try="$ac_cpp conftest.$ac_ext" 3532case "(($ac_try" in 3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3534 *) ac_try_echo=$ac_try;; 3535esac 3536eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3537$as_echo "$ac_try_echo") >&5 3538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3539 ac_status=$? 3540 grep -v '^ *+' conftest.er1 >conftest.err 3541 rm -f conftest.er1 3542 cat conftest.err >&5 3543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3544 (exit $ac_status); } >/dev/null && { 3545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3546 test ! -s conftest.err 3547 }; then 3548 ac_header_preproc=yes 3549else 3550 $as_echo "$as_me: failed program was:" >&5 3551sed 's/^/| /' conftest.$ac_ext >&5 3552 3553 ac_header_preproc=no 3554fi 3555 3556rm -f conftest.err conftest.$ac_ext 3557{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3558$as_echo "$ac_header_preproc" >&6; } 3559 3560# So? What about this header? 3561case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3562 yes:no: ) 3563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3564$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3565 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3566$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3567 ac_header_preproc=yes 3568 ;; 3569 no:yes:* ) 3570 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3571$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3572 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3573$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3574 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3575$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3576 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3577$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3578 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3579$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3580 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3581$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3582 ( cat <<\_ASBOX 3583## ----------------------------------------------------------- ## 3584## Report this to modauthkerb-developers@lists.sourceforge.net ## 3585## ----------------------------------------------------------- ## 3586_ASBOX 3587 ) | sed "s/^/$as_me: WARNING: /" >&2 3588 ;; 3589esac 3590{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3591$as_echo_n "checking for $ac_header... " >&6; } 3592if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3593 $as_echo_n "(cached) " >&6 3594else 3595 eval "$as_ac_Header=\$ac_header_preproc" 3596fi 3597ac_res=`eval 'as_val=${'$as_ac_Header'} 3598 $as_echo "$as_val"'` 3599 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3600$as_echo "$ac_res" >&6; } 3601 3602fi 3603as_val=`eval 'as_val=${'$as_ac_Header'} 3604 $as_echo "$as_val"'` 3605 if test "x$as_val" = x""yes; then 3606 cat >>confdefs.h <<_ACEOF 3607#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3608_ACEOF 3609 3610fi 3611 3612done 3613 3614 3615# Checks for typedefs, structures, and compiler characteristics. 3616#AC_C_CONST 3617{ $as_echo "$as_me:$LINENO: checking for size_t" >&5 3618$as_echo_n "checking for size_t... " >&6; } 3619if test "${ac_cv_type_size_t+set}" = set; then 3620 $as_echo_n "(cached) " >&6 3621else 3622 ac_cv_type_size_t=no 3623cat >conftest.$ac_ext <<_ACEOF 3624/* confdefs.h. */ 3625_ACEOF 3626cat confdefs.h >>conftest.$ac_ext 3627cat >>conftest.$ac_ext <<_ACEOF 3628/* end confdefs.h. */ 3629$ac_includes_default 3630int 3631main () 3632{ 3633if (sizeof (size_t)) 3634 return 0; 3635 ; 3636 return 0; 3637} 3638_ACEOF 3639rm -f conftest.$ac_objext 3640if { (ac_try="$ac_compile" 3641case "(($ac_try" in 3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3643 *) ac_try_echo=$ac_try;; 3644esac 3645eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3646$as_echo "$ac_try_echo") >&5 3647 (eval "$ac_compile") 2>conftest.er1 3648 ac_status=$? 3649 grep -v '^ *+' conftest.er1 >conftest.err 3650 rm -f conftest.er1 3651 cat conftest.err >&5 3652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3653 (exit $ac_status); } && { 3654 test -z "$ac_c_werror_flag" || 3655 test ! -s conftest.err 3656 } && test -s conftest.$ac_objext; then 3657 cat >conftest.$ac_ext <<_ACEOF 3658/* confdefs.h. */ 3659_ACEOF 3660cat confdefs.h >>conftest.$ac_ext 3661cat >>conftest.$ac_ext <<_ACEOF 3662/* end confdefs.h. */ 3663$ac_includes_default 3664int 3665main () 3666{ 3667if (sizeof ((size_t))) 3668 return 0; 3669 ; 3670 return 0; 3671} 3672_ACEOF 3673rm -f conftest.$ac_objext 3674if { (ac_try="$ac_compile" 3675case "(($ac_try" in 3676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3677 *) ac_try_echo=$ac_try;; 3678esac 3679eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3680$as_echo "$ac_try_echo") >&5 3681 (eval "$ac_compile") 2>conftest.er1 3682 ac_status=$? 3683 grep -v '^ *+' conftest.er1 >conftest.err 3684 rm -f conftest.er1 3685 cat conftest.err >&5 3686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3687 (exit $ac_status); } && { 3688 test -z "$ac_c_werror_flag" || 3689 test ! -s conftest.err 3690 } && test -s conftest.$ac_objext; then 3691 : 3692else 3693 $as_echo "$as_me: failed program was:" >&5 3694sed 's/^/| /' conftest.$ac_ext >&5 3695 3696 ac_cv_type_size_t=yes 3697fi 3698 3699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3700else 3701 $as_echo "$as_me: failed program was:" >&5 3702sed 's/^/| /' conftest.$ac_ext >&5 3703 3704 3705fi 3706 3707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3708fi 3709{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 3710$as_echo "$ac_cv_type_size_t" >&6; } 3711if test "x$ac_cv_type_size_t" = x""yes; then 3712 : 3713else 3714 3715cat >>confdefs.h <<_ACEOF 3716#define size_t unsigned int 3717_ACEOF 3718 3719fi 3720 3721{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 3722$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 3723if test "${ac_cv_struct_tm+set}" = set; then 3724 $as_echo_n "(cached) " >&6 3725else 3726 cat >conftest.$ac_ext <<_ACEOF 3727/* confdefs.h. */ 3728_ACEOF 3729cat confdefs.h >>conftest.$ac_ext 3730cat >>conftest.$ac_ext <<_ACEOF 3731/* end confdefs.h. */ 3732#include <sys/types.h> 3733#include <time.h> 3734 3735int 3736main () 3737{ 3738struct tm tm; 3739 int *p = &tm.tm_sec; 3740 return !p; 3741 ; 3742 return 0; 3743} 3744_ACEOF 3745rm -f conftest.$ac_objext 3746if { (ac_try="$ac_compile" 3747case "(($ac_try" in 3748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3749 *) ac_try_echo=$ac_try;; 3750esac 3751eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3752$as_echo "$ac_try_echo") >&5 3753 (eval "$ac_compile") 2>conftest.er1 3754 ac_status=$? 3755 grep -v '^ *+' conftest.er1 >conftest.err 3756 rm -f conftest.er1 3757 cat conftest.err >&5 3758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3759 (exit $ac_status); } && { 3760 test -z "$ac_c_werror_flag" || 3761 test ! -s conftest.err 3762 } && test -s conftest.$ac_objext; then 3763 ac_cv_struct_tm=time.h 3764else 3765 $as_echo "$as_me: failed program was:" >&5 3766sed 's/^/| /' conftest.$ac_ext >&5 3767 3768 ac_cv_struct_tm=sys/time.h 3769fi 3770 3771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3772fi 3773{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 3774$as_echo "$ac_cv_struct_tm" >&6; } 3775if test $ac_cv_struct_tm = sys/time.h; then 3776 3777cat >>confdefs.h <<\_ACEOF 3778#define TM_IN_SYS_TIME 1 3779_ACEOF 3780 3781fi 3782 3783 3784# Checks for library functions. 3785#AC_FUNC_MALLOC 3786#AC_FUNC_MEMCMP 3787#AC_CHECK_FUNCS([gethostbyname memset putenv strcasecmp strchr strdup strerror]) 3788 3789# 3790# kerberos5 enviroment 3791# 3792krb5_config_command=krb5-config 3793SPNEGO_SRCS="" 3794 3795 3796# Check whether --with-krb5 was given. 3797if test "${with_krb5+set}" = set; then 3798 withval=$with_krb5; with_krb5="$withval" 3799fi 3800 3801 3802if test "x$with_krb5" = "xyes" ; then 3803 with_krb5="" 3804fi 3805 3806if test "x$with_krb5" != "xno" ; then 3807 ac_save_CPPFLAGS="$CPPFLAGS" 3808 ac_save_LDFLAGS="$LDFLAGS" 3809 ac_save_LIBS="$LIBS" 3810 3811 if test -n "$with_krb5"; then 3812 if test -x "$with_krb5/bin/krb5-config"; then 3813 krb5_config_command="$with_krb5/bin/krb5-config" 3814 else 3815 krb5_config_command="" 3816 fi 3817 fi 3818 3819 3820 if test -z "$KRB5_CPPFLAGS"; then 3821 TMP_KRB5_CPPFLAGS="" 3822 if test -n "$krb5_config_command"; then 3823 TMP_KRB5_CPPFLAGS=`$krb5_config_command --cflags gssapi 2>/dev/null` 3824 fi 3825 if test -z "$TMP_KRB5_CPPFLAGS" -a -n "with_krb5"; then 3826 TMP_KRB5_CPPFLAGS="-I$with_krb5/include" 3827 fi 3828 CPPFLAGS="$CPPFLAGS $TMP_KRB5_CPPFLAGS" 3829 3830for ac_header in gssapi.h 3831do 3832as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3833if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3834 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3835$as_echo_n "checking for $ac_header... " >&6; } 3836if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3837 $as_echo_n "(cached) " >&6 3838fi 3839ac_res=`eval 'as_val=${'$as_ac_Header'} 3840 $as_echo "$as_val"'` 3841 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3842$as_echo "$ac_res" >&6; } 3843else 3844 # Is the header compilable? 3845{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 3846$as_echo_n "checking $ac_header usability... " >&6; } 3847cat >conftest.$ac_ext <<_ACEOF 3848/* confdefs.h. */ 3849_ACEOF 3850cat confdefs.h >>conftest.$ac_ext 3851cat >>conftest.$ac_ext <<_ACEOF 3852/* end confdefs.h. */ 3853$ac_includes_default 3854#include <$ac_header> 3855_ACEOF 3856rm -f conftest.$ac_objext 3857if { (ac_try="$ac_compile" 3858case "(($ac_try" in 3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3860 *) ac_try_echo=$ac_try;; 3861esac 3862eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3863$as_echo "$ac_try_echo") >&5 3864 (eval "$ac_compile") 2>conftest.er1 3865 ac_status=$? 3866 grep -v '^ *+' conftest.er1 >conftest.err 3867 rm -f conftest.er1 3868 cat conftest.err >&5 3869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3870 (exit $ac_status); } && { 3871 test -z "$ac_c_werror_flag" || 3872 test ! -s conftest.err 3873 } && test -s conftest.$ac_objext; then 3874 ac_header_compiler=yes 3875else 3876 $as_echo "$as_me: failed program was:" >&5 3877sed 's/^/| /' conftest.$ac_ext >&5 3878 3879 ac_header_compiler=no 3880fi 3881 3882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3883{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3884$as_echo "$ac_header_compiler" >&6; } 3885 3886# Is the header present? 3887{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 3888$as_echo_n "checking $ac_header presence... " >&6; } 3889cat >conftest.$ac_ext <<_ACEOF 3890/* confdefs.h. */ 3891_ACEOF 3892cat confdefs.h >>conftest.$ac_ext 3893cat >>conftest.$ac_ext <<_ACEOF 3894/* end confdefs.h. */ 3895#include <$ac_header> 3896_ACEOF 3897if { (ac_try="$ac_cpp conftest.$ac_ext" 3898case "(($ac_try" in 3899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3900 *) ac_try_echo=$ac_try;; 3901esac 3902eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3903$as_echo "$ac_try_echo") >&5 3904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3905 ac_status=$? 3906 grep -v '^ *+' conftest.er1 >conftest.err 3907 rm -f conftest.er1 3908 cat conftest.err >&5 3909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3910 (exit $ac_status); } >/dev/null && { 3911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3912 test ! -s conftest.err 3913 }; then 3914 ac_header_preproc=yes 3915else 3916 $as_echo "$as_me: failed program was:" >&5 3917sed 's/^/| /' conftest.$ac_ext >&5 3918 3919 ac_header_preproc=no 3920fi 3921 3922rm -f conftest.err conftest.$ac_ext 3923{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3924$as_echo "$ac_header_preproc" >&6; } 3925 3926# So? What about this header? 3927case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3928 yes:no: ) 3929 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3930$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3931 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3932$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3933 ac_header_preproc=yes 3934 ;; 3935 no:yes:* ) 3936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3937$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3939$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3941$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3942 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3943$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3944 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3945$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3946 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3947$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3948 ( cat <<\_ASBOX 3949## ----------------------------------------------------------- ## 3950## Report this to modauthkerb-developers@lists.sourceforge.net ## 3951## ----------------------------------------------------------- ## 3952_ASBOX 3953 ) | sed "s/^/$as_me: WARNING: /" >&2 3954 ;; 3955esac 3956{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3957$as_echo_n "checking for $ac_header... " >&6; } 3958if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3959 $as_echo_n "(cached) " >&6 3960else 3961 eval "$as_ac_Header=\$ac_header_preproc" 3962fi 3963ac_res=`eval 'as_val=${'$as_ac_Header'} 3964 $as_echo "$as_val"'` 3965 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3966$as_echo "$ac_res" >&6; } 3967 3968fi 3969as_val=`eval 'as_val=${'$as_ac_Header'} 3970 $as_echo "$as_val"'` 3971 if test "x$as_val" = x""yes; then 3972 cat >>confdefs.h <<_ACEOF 3973#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3974_ACEOF 3975 KRB5_CPPFLAGS="$TMP_KRB5_CPPFLAGS" 3976fi 3977 3978done 3979 3980 if test -z "$KRB5_CPPFLAGS"; then 3981 3982for ac_header in gssapi/gssapi.h 3983do 3984as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3985if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3986 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 3987$as_echo_n "checking for $ac_header... " >&6; } 3988if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3989 $as_echo_n "(cached) " >&6 3990fi 3991ac_res=`eval 'as_val=${'$as_ac_Header'} 3992 $as_echo "$as_val"'` 3993 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3994$as_echo "$ac_res" >&6; } 3995else 3996 # Is the header compilable? 3997{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 3998$as_echo_n "checking $ac_header usability... " >&6; } 3999cat >conftest.$ac_ext <<_ACEOF 4000/* confdefs.h. */ 4001_ACEOF 4002cat confdefs.h >>conftest.$ac_ext 4003cat >>conftest.$ac_ext <<_ACEOF 4004/* end confdefs.h. */ 4005$ac_includes_default 4006#include <$ac_header> 4007_ACEOF 4008rm -f conftest.$ac_objext 4009if { (ac_try="$ac_compile" 4010case "(($ac_try" in 4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4012 *) ac_try_echo=$ac_try;; 4013esac 4014eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4015$as_echo "$ac_try_echo") >&5 4016 (eval "$ac_compile") 2>conftest.er1 4017 ac_status=$? 4018 grep -v '^ *+' conftest.er1 >conftest.err 4019 rm -f conftest.er1 4020 cat conftest.err >&5 4021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4022 (exit $ac_status); } && { 4023 test -z "$ac_c_werror_flag" || 4024 test ! -s conftest.err 4025 } && test -s conftest.$ac_objext; then 4026 ac_header_compiler=yes 4027else 4028 $as_echo "$as_me: failed program was:" >&5 4029sed 's/^/| /' conftest.$ac_ext >&5 4030 4031 ac_header_compiler=no 4032fi 4033 4034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4035{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4036$as_echo "$ac_header_compiler" >&6; } 4037 4038# Is the header present? 4039{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 4040$as_echo_n "checking $ac_header presence... " >&6; } 4041cat >conftest.$ac_ext <<_ACEOF 4042/* confdefs.h. */ 4043_ACEOF 4044cat confdefs.h >>conftest.$ac_ext 4045cat >>conftest.$ac_ext <<_ACEOF 4046/* end confdefs.h. */ 4047#include <$ac_header> 4048_ACEOF 4049if { (ac_try="$ac_cpp conftest.$ac_ext" 4050case "(($ac_try" in 4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4052 *) ac_try_echo=$ac_try;; 4053esac 4054eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4055$as_echo "$ac_try_echo") >&5 4056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4057 ac_status=$? 4058 grep -v '^ *+' conftest.er1 >conftest.err 4059 rm -f conftest.er1 4060 cat conftest.err >&5 4061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4062 (exit $ac_status); } >/dev/null && { 4063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4064 test ! -s conftest.err 4065 }; then 4066 ac_header_preproc=yes 4067else 4068 $as_echo "$as_me: failed program was:" >&5 4069sed 's/^/| /' conftest.$ac_ext >&5 4070 4071 ac_header_preproc=no 4072fi 4073 4074rm -f conftest.err conftest.$ac_ext 4075{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4076$as_echo "$ac_header_preproc" >&6; } 4077 4078# So? What about this header? 4079case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4080 yes:no: ) 4081 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4082$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4084$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4085 ac_header_preproc=yes 4086 ;; 4087 no:yes:* ) 4088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4089$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4091$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4093$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4095$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4097$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4099$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4100 ( cat <<\_ASBOX 4101## ----------------------------------------------------------- ## 4102## Report this to modauthkerb-developers@lists.sourceforge.net ## 4103## ----------------------------------------------------------- ## 4104_ASBOX 4105 ) | sed "s/^/$as_me: WARNING: /" >&2 4106 ;; 4107esac 4108{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4109$as_echo_n "checking for $ac_header... " >&6; } 4110if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4111 $as_echo_n "(cached) " >&6 4112else 4113 eval "$as_ac_Header=\$ac_header_preproc" 4114fi 4115ac_res=`eval 'as_val=${'$as_ac_Header'} 4116 $as_echo "$as_val"'` 4117 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4118$as_echo "$ac_res" >&6; } 4119 4120fi 4121as_val=`eval 'as_val=${'$as_ac_Header'} 4122 $as_echo "$as_val"'` 4123 if test "x$as_val" = x""yes; then 4124 cat >>confdefs.h <<_ACEOF 4125#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4126_ACEOF 4127 KRB5_CPPFLAGS="$TMP_KRB5_CPPFLAGS" 4128fi 4129 4130done 4131 4132 fi 4133 CPPFLAGS="$ac_save_CPPFLAGS" 4134 fi 4135 4136 4137 if test -z "$KRB5_LDFLAGS" -a -n "$krb5_config_command"; then 4138 TMP_KRB5_LDFLAGS=`$krb5_config_command --libs gssapi 2>/dev/null` 4139 if test -n "$TMP_KRB5_LDFLAGS"; then 4140 LIBS="$LIBS $TMP_KRB5_LDFLAGS $LIB_resolv" 4141 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 4142$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 4143if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 4144 $as_echo_n "(cached) " >&6 4145else 4146 ac_check_lib_save_LIBS=$LIBS 4147LIBS="-lkrb5 $LIBS" 4148cat >conftest.$ac_ext <<_ACEOF 4149/* confdefs.h. */ 4150_ACEOF 4151cat confdefs.h >>conftest.$ac_ext 4152cat >>conftest.$ac_ext <<_ACEOF 4153/* end confdefs.h. */ 4154 4155/* Override any GCC internal prototype to avoid an error. 4156 Use char because int might match the return type of a GCC 4157 builtin and then its argument prototype would still apply. */ 4158#ifdef __cplusplus 4159extern "C" 4160#endif 4161char krb5_init_context (); 4162int 4163main () 4164{ 4165return krb5_init_context (); 4166 ; 4167 return 0; 4168} 4169_ACEOF 4170rm -f conftest.$ac_objext conftest$ac_exeext 4171if { (ac_try="$ac_link" 4172case "(($ac_try" in 4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4174 *) ac_try_echo=$ac_try;; 4175esac 4176eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4177$as_echo "$ac_try_echo") >&5 4178 (eval "$ac_link") 2>conftest.er1 4179 ac_status=$? 4180 grep -v '^ *+' conftest.er1 >conftest.err 4181 rm -f conftest.er1 4182 cat conftest.err >&5 4183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4184 (exit $ac_status); } && { 4185 test -z "$ac_c_werror_flag" || 4186 test ! -s conftest.err 4187 } && test -s conftest$ac_exeext && { 4188 test "$cross_compiling" = yes || 4189 $as_test_x conftest$ac_exeext 4190 }; then 4191 ac_cv_lib_krb5_krb5_init_context=yes 4192else 4193 $as_echo "$as_me: failed program was:" >&5 4194sed 's/^/| /' conftest.$ac_ext >&5 4195 4196 ac_cv_lib_krb5_krb5_init_context=no 4197fi 4198 4199rm -rf conftest.dSYM 4200rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4201 conftest$ac_exeext conftest.$ac_ext 4202LIBS=$ac_check_lib_save_LIBS 4203fi 4204{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 4205$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 4206if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then 4207 KRB5_LDFLAGS="$TMP_KRB5_LDFLAGS" 4208fi 4209 4210 LIBS="$ac_save_LIBS" 4211 fi 4212 fi 4213 if test "x$with_krb5"="x"; then 4214 tmp_lf_inc="" 4215 else 4216 tmp_lf_inc="-L" 4217 fi 4218 if test -z "$KRB5_LDFLAGS"; then 4219 #try MIT 4220 TMP_KRB5_LDFLAGS="$tmp_lf_inc$with_krb5/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err" 4221 LIBS="$LIBS $TMP_KRB5_LDFLAGS $LIB_resolv" 4222 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 4223$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 4224if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 4225 $as_echo_n "(cached) " >&6 4226else 4227 ac_check_lib_save_LIBS=$LIBS 4228LIBS="-lkrb5 $LIBS" 4229cat >conftest.$ac_ext <<_ACEOF 4230/* confdefs.h. */ 4231_ACEOF 4232cat confdefs.h >>conftest.$ac_ext 4233cat >>conftest.$ac_ext <<_ACEOF 4234/* end confdefs.h. */ 4235 4236/* Override any GCC internal prototype to avoid an error. 4237 Use char because int might match the return type of a GCC 4238 builtin and then its argument prototype would still apply. */ 4239#ifdef __cplusplus 4240extern "C" 4241#endif 4242char krb5_init_context (); 4243int 4244main () 4245{ 4246return krb5_init_context (); 4247 ; 4248 return 0; 4249} 4250_ACEOF 4251rm -f conftest.$ac_objext conftest$ac_exeext 4252if { (ac_try="$ac_link" 4253case "(($ac_try" in 4254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4255 *) ac_try_echo=$ac_try;; 4256esac 4257eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4258$as_echo "$ac_try_echo") >&5 4259 (eval "$ac_link") 2>conftest.er1 4260 ac_status=$? 4261 grep -v '^ *+' conftest.er1 >conftest.err 4262 rm -f conftest.er1 4263 cat conftest.err >&5 4264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4265 (exit $ac_status); } && { 4266 test -z "$ac_c_werror_flag" || 4267 test ! -s conftest.err 4268 } && test -s conftest$ac_exeext && { 4269 test "$cross_compiling" = yes || 4270 $as_test_x conftest$ac_exeext 4271 }; then 4272 ac_cv_lib_krb5_krb5_init_context=yes 4273else 4274 $as_echo "$as_me: failed program was:" >&5 4275sed 's/^/| /' conftest.$ac_ext >&5 4276 4277 ac_cv_lib_krb5_krb5_init_context=no 4278fi 4279 4280rm -rf conftest.dSYM 4281rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4282 conftest$ac_exeext conftest.$ac_ext 4283LIBS=$ac_check_lib_save_LIBS 4284fi 4285{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 4286$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 4287if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then 4288 KRB5_LDFLAGS="$TMP_KRB5_LDFLAGS" 4289fi 4290 4291 LIBS="$ac_save_LIBS" 4292 fi 4293 4294 if test -z "$KRB5_LDFLAGS"; then 4295 #Try Heimdal 4296 TMP_KRB5_LDFLAGS="$tmp_lf_inc$with_krb5/lib -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt" 4297 LIBS="$LIBS $TMP_KRB5_LDFLAGS $LIB_resolv" 4298 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 4299$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 4300if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 4301 $as_echo_n "(cached) " >&6 4302else 4303 ac_check_lib_save_LIBS=$LIBS 4304LIBS="-lkrb5 $LIBS" 4305cat >conftest.$ac_ext <<_ACEOF 4306/* confdefs.h. */ 4307_ACEOF 4308cat confdefs.h >>conftest.$ac_ext 4309cat >>conftest.$ac_ext <<_ACEOF 4310/* end confdefs.h. */ 4311 4312/* Override any GCC internal prototype to avoid an error. 4313 Use char because int might match the return type of a GCC 4314 builtin and then its argument prototype would still apply. */ 4315#ifdef __cplusplus 4316extern "C" 4317#endif 4318char krb5_init_context (); 4319int 4320main () 4321{ 4322return krb5_init_context (); 4323 ; 4324 return 0; 4325} 4326_ACEOF 4327rm -f conftest.$ac_objext conftest$ac_exeext 4328if { (ac_try="$ac_link" 4329case "(($ac_try" in 4330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4331 *) ac_try_echo=$ac_try;; 4332esac 4333eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4334$as_echo "$ac_try_echo") >&5 4335 (eval "$ac_link") 2>conftest.er1 4336 ac_status=$? 4337 grep -v '^ *+' conftest.er1 >conftest.err 4338 rm -f conftest.er1 4339 cat conftest.err >&5 4340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4341 (exit $ac_status); } && { 4342 test -z "$ac_c_werror_flag" || 4343 test ! -s conftest.err 4344 } && test -s conftest$ac_exeext && { 4345 test "$cross_compiling" = yes || 4346 $as_test_x conftest$ac_exeext 4347 }; then 4348 ac_cv_lib_krb5_krb5_init_context=yes 4349else 4350 $as_echo "$as_me: failed program was:" >&5 4351sed 's/^/| /' conftest.$ac_ext >&5 4352 4353 ac_cv_lib_krb5_krb5_init_context=no 4354fi 4355 4356rm -rf conftest.dSYM 4357rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4358 conftest$ac_exeext conftest.$ac_ext 4359LIBS=$ac_check_lib_save_LIBS 4360fi 4361{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 4362$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 4363if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then 4364 KRB5_LDFLAGS="$TMP_KRB5_LDFLAGS" 4365fi 4366 4367 LIBS="$ac_save_LIBS" 4368 fi 4369 4370 if test -z "$KRB5_LDFLAGS"; then 4371 #Try Heimdal on OpenBSD 4372 TMP_KRB5_LDFLAGS="$tmp_lf_inc$with_krb5/lib -lgssapi -lkrb5 -lasn1 -ldes -lcrypto" 4373 LIBS="$LIBS $TMP_KRB5_LDFLAGS $LIB_resolv" 4374 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 4375$as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 4376if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 4377 $as_echo_n "(cached) " >&6 4378else 4379 ac_check_lib_save_LIBS=$LIBS 4380LIBS="-lkrb5 $LIBS" 4381cat >conftest.$ac_ext <<_ACEOF 4382/* confdefs.h. */ 4383_ACEOF 4384cat confdefs.h >>conftest.$ac_ext 4385cat >>conftest.$ac_ext <<_ACEOF 4386/* end confdefs.h. */ 4387 4388/* Override any GCC internal prototype to avoid an error. 4389 Use char because int might match the return type of a GCC 4390 builtin and then its argument prototype would still apply. */ 4391#ifdef __cplusplus 4392extern "C" 4393#endif 4394char krb5_init_context (); 4395int 4396main () 4397{ 4398return krb5_init_context (); 4399 ; 4400 return 0; 4401} 4402_ACEOF 4403rm -f conftest.$ac_objext conftest$ac_exeext 4404if { (ac_try="$ac_link" 4405case "(($ac_try" in 4406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4407 *) ac_try_echo=$ac_try;; 4408esac 4409eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4410$as_echo "$ac_try_echo") >&5 4411 (eval "$ac_link") 2>conftest.er1 4412 ac_status=$? 4413 grep -v '^ *+' conftest.er1 >conftest.err 4414 rm -f conftest.er1 4415 cat conftest.err >&5 4416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4417 (exit $ac_status); } && { 4418 test -z "$ac_c_werror_flag" || 4419 test ! -s conftest.err 4420 } && test -s conftest$ac_exeext && { 4421 test "$cross_compiling" = yes || 4422 $as_test_x conftest$ac_exeext 4423 }; then 4424 ac_cv_lib_krb5_krb5_init_context=yes 4425else 4426 $as_echo "$as_me: failed program was:" >&5 4427sed 's/^/| /' conftest.$ac_ext >&5 4428 4429 ac_cv_lib_krb5_krb5_init_context=no 4430fi 4431 4432rm -rf conftest.dSYM 4433rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4434 conftest$ac_exeext conftest.$ac_ext 4435LIBS=$ac_check_lib_save_LIBS 4436fi 4437{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 4438$as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 4439if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then 4440 KRB5_LDFLAGS="$TMP_KRB5_LDFLAGS" 4441fi 4442 4443 LIBS="$ac_save_LIBS" 4444 fi 4445 4446 if test -z "$KRB5_LDFLAGS"; then 4447 with_krb5=no 4448 else 4449 cat >>confdefs.h <<\_ACEOF 4450#define KRB5 1 4451_ACEOF 4452 4453 { $as_echo "$as_me:$LINENO: checking for krb5_cc_new_unique in -lkrb5" >&5 4454$as_echo_n "checking for krb5_cc_new_unique in -lkrb5... " >&6; } 4455if test "${ac_cv_lib_krb5_krb5_cc_new_unique+set}" = set; then 4456 $as_echo_n "(cached) " >&6 4457else 4458 ac_check_lib_save_LIBS=$LIBS 4459LIBS="-lkrb5 $LIBS" 4460cat >conftest.$ac_ext <<_ACEOF 4461/* confdefs.h. */ 4462_ACEOF 4463cat confdefs.h >>conftest.$ac_ext 4464cat >>conftest.$ac_ext <<_ACEOF 4465/* end confdefs.h. */ 4466 4467/* Override any GCC internal prototype to avoid an error. 4468 Use char because int might match the return type of a GCC 4469 builtin and then its argument prototype would still apply. */ 4470#ifdef __cplusplus 4471extern "C" 4472#endif 4473char krb5_cc_new_unique (); 4474int 4475main () 4476{ 4477return krb5_cc_new_unique (); 4478 ; 4479 return 0; 4480} 4481_ACEOF 4482rm -f conftest.$ac_objext conftest$ac_exeext 4483if { (ac_try="$ac_link" 4484case "(($ac_try" in 4485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4486 *) ac_try_echo=$ac_try;; 4487esac 4488eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4489$as_echo "$ac_try_echo") >&5 4490 (eval "$ac_link") 2>conftest.er1 4491 ac_status=$? 4492 grep -v '^ *+' conftest.er1 >conftest.err 4493 rm -f conftest.er1 4494 cat conftest.err >&5 4495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4496 (exit $ac_status); } && { 4497 test -z "$ac_c_werror_flag" || 4498 test ! -s conftest.err 4499 } && test -s conftest$ac_exeext && { 4500 test "$cross_compiling" = yes || 4501 $as_test_x conftest$ac_exeext 4502 }; then 4503 ac_cv_lib_krb5_krb5_cc_new_unique=yes 4504else 4505 $as_echo "$as_me: failed program was:" >&5 4506sed 's/^/| /' conftest.$ac_ext >&5 4507 4508 ac_cv_lib_krb5_krb5_cc_new_unique=no 4509fi 4510 4511rm -rf conftest.dSYM 4512rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4513 conftest$ac_exeext conftest.$ac_ext 4514LIBS=$ac_check_lib_save_LIBS 4515fi 4516{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_cc_new_unique" >&5 4517$as_echo "$ac_cv_lib_krb5_krb5_cc_new_unique" >&6; } 4518if test "x$ac_cv_lib_krb5_krb5_cc_new_unique" = x""yes; then 4519 cat >>confdefs.h <<\_ACEOF 4520#define HAVE_KRB5_CC_NEW_UNIQUE 1 4521_ACEOF 4522 4523fi 4524 4525 4526 # check for Heimdal 4527 have_heimdal="" 4528 { $as_echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 4529$as_echo_n "checking whether we are using Heimdal... " >&6; } 4530 ac_save_CFLAGS="$CFLAGS" 4531 CFLAGS="$KRB5_CPPFLAGS" 4532 cat >conftest.$ac_ext <<_ACEOF 4533/* confdefs.h. */ 4534_ACEOF 4535cat confdefs.h >>conftest.$ac_ext 4536cat >>conftest.$ac_ext <<_ACEOF 4537/* end confdefs.h. */ 4538#include <krb5.h> 4539int 4540main () 4541{ 4542 char *tmp = heimdal_version; 4543 ; 4544 return 0; 4545} 4546_ACEOF 4547rm -f conftest.$ac_objext 4548if { (ac_try="$ac_compile" 4549case "(($ac_try" in 4550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4551 *) ac_try_echo=$ac_try;; 4552esac 4553eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4554$as_echo "$ac_try_echo") >&5 4555 (eval "$ac_compile") 2>conftest.er1 4556 ac_status=$? 4557 grep -v '^ *+' conftest.er1 >conftest.err 4558 rm -f conftest.er1 4559 cat conftest.err >&5 4560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4561 (exit $ac_status); } && { 4562 test -z "$ac_c_werror_flag" || 4563 test ! -s conftest.err 4564 } && test -s conftest.$ac_objext; then 4565 { $as_echo "$as_me:$LINENO: result: yes" >&5 4566$as_echo "yes" >&6; } 4567 cat >>confdefs.h <<\_ACEOF 4568#define HEIMDAL 1 4569_ACEOF 4570 4571 have_heimdal=yes 4572else 4573 $as_echo "$as_me: failed program was:" >&5 4574sed 's/^/| /' conftest.$ac_ext >&5 4575 4576 { $as_echo "$as_me:$LINENO: result: no" >&5 4577$as_echo "no" >&6; } 4578fi 4579 4580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4581 CFLAGS="$ac_save_CFLAGS" 4582 4583# If SPNEGO is supported by the gssapi libraries, we shouln't build our support. 4584# SPNEGO is supported as of Heimdal 0.7, and MIT 1.5. 4585 gssapi_supports_spnego="" 4586 { $as_echo "$as_me:$LINENO: checking whether the GSSAPI libraries support SPNEGO" >&5 4587$as_echo_n "checking whether the GSSAPI libraries support SPNEGO... " >&6; } 4588 4589 ac_save_CFLAGS="$CFLAGS" 4590 CFLAGS="$KRB5_CPPFLAGS" 4591 ac_save_LDFLAGS="$LDFLAGS" 4592 if test -n "$with_krb5"; then 4593 LDFLAGS="$KRB5_LDFLAGS -Wl,-rpath -Wl,$with_krb5/lib" 4594 else 4595 LDFLAGS="$KRB5_LDFLAGS" 4596 fi 4597 if test "$cross_compiling" = yes; then 4598 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4599$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4600{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling 4601See \`config.log' for more details." >&5 4602$as_echo "$as_me: error: cannot run test program while cross compiling 4603See \`config.log' for more details." >&2;} 4604 { (exit 1); exit 1; }; }; } 4605else 4606 cat >conftest.$ac_ext <<_ACEOF 4607/* confdefs.h. */ 4608_ACEOF 4609cat confdefs.h >>conftest.$ac_ext 4610cat >>conftest.$ac_ext <<_ACEOF 4611/* end confdefs.h. */ 4612 4613#include <string.h> 4614#include <krb5.h> 4615#ifdef HEIMDAL 4616#include <gssapi.h> 4617#else 4618#include <gssapi/gssapi.h> 4619#endif 4620int main(int argc, char** argv) 4621{ 4622 OM_uint32 major_status, minor_status; 4623 gss_OID_set mech_set; 4624 gss_OID_desc spnego_oid_desc = {6, (void *)"\x2b\x06\x01\x05\x05\x02"}; 4625 int SPNEGO = 0; 4626 4627 major_status = gss_indicate_mechs(&minor_status, &mech_set); 4628 if (GSS_ERROR(major_status)) 4629 return 1; 4630 else { 4631 unsigned int i; 4632 for (i=0; i < mech_set->count && !SPNEGO; i++) { 4633 gss_OID tmp_oid = &mech_set->elements[i]; 4634 if (tmp_oid->length == spnego_oid_desc.length && 4635 !memcmp(tmp_oid->elements, spnego_oid_desc.elements, 4636 tmp_oid->length)) { 4637 SPNEGO = 1; 4638 break; 4639 } 4640 } 4641 gss_release_oid_set(&minor_status, &mech_set); 4642 return (!SPNEGO); 4643 } 4644} 4645_ACEOF 4646rm -f conftest$ac_exeext 4647if { (ac_try="$ac_link" 4648case "(($ac_try" in 4649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4650 *) ac_try_echo=$ac_try;; 4651esac 4652eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4653$as_echo "$ac_try_echo") >&5 4654 (eval "$ac_link") 2>&5 4655 ac_status=$? 4656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4657 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4658 { (case "(($ac_try" in 4659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4660 *) ac_try_echo=$ac_try;; 4661esac 4662eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4663$as_echo "$ac_try_echo") >&5 4664 (eval "$ac_try") 2>&5 4665 ac_status=$? 4666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4667 (exit $ac_status); }; }; then 4668 if test $? -eq 0; then 4669 { $as_echo "$as_me:$LINENO: result: yes" >&5 4670$as_echo "yes" >&6; } 4671 cat >>confdefs.h <<\_ACEOF 4672#define GSSAPI_SUPPORTS_SPNEGO 1 4673_ACEOF 4674 4675 gssapi_supports_spnego=yes 4676 else 4677 { $as_echo "$as_me:$LINENO: result: no" >&5 4678$as_echo "no" >&6; } 4679 fi 4680else 4681 $as_echo "$as_me: program exited with status $ac_status" >&5 4682$as_echo "$as_me: failed program was:" >&5 4683sed 's/^/| /' conftest.$ac_ext >&5 4684 4685( exit $ac_status ) 4686{ $as_echo "$as_me:$LINENO: result: no" >&5 4687$as_echo "no" >&6; } 4688fi 4689rm -rf conftest.dSYM 4690rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4691fi 4692 4693 4694 4695 CFLAGS="$ac_save_CFLAGS" 4696 LDFLAGS="$ac_save_LDFLAGS" 4697 4698 if test -z "$gssapi_supports_spnego"; then 4699 if test -n "$have_heimdal"; then SPNEGO_SRCS="\ 4700 spnegokrb5/asn1_MechType.c \ 4701 spnegokrb5/asn1_MechTypeList.c \ 4702 spnegokrb5/asn1_ContextFlags.c \ 4703 spnegokrb5/asn1_NegTokenInit.c \ 4704 spnegokrb5/asn1_NegTokenTarg.c \ 4705 spnegokrb5/init_sec_context.c \ 4706 spnegokrb5/accept_sec_context.c \ 4707 spnegokrb5/encapsulate.c \ 4708 spnegokrb5/decapsulate.c \ 4709 spnegokrb5/external.c" 4710 else SPNEGO_SRCS="\ 4711 spnegokrb5/asn1_MechType.c \ 4712 spnegokrb5/asn1_MechTypeList.c \ 4713 spnegokrb5/asn1_ContextFlags.c \ 4714 spnegokrb5/asn1_NegTokenInit.c \ 4715 spnegokrb5/asn1_NegTokenTarg.c \ 4716 spnegokrb5/der_get.c \ 4717 spnegokrb5/der_put.c \ 4718 spnegokrb5/der_free.c \ 4719 spnegokrb5/der_length.c \ 4720 spnegokrb5/der_copy.c \ 4721 spnegokrb5/timegm.c \ 4722 spnegokrb5/init_sec_context.c \ 4723 spnegokrb5/accept_sec_context.c \ 4724 spnegokrb5/encapsulate.c \ 4725 spnegokrb5/decapsulate.c \ 4726 spnegokrb5/external.c" 4727 fi 4728 fi 4729 fi 4730fi 4731 4732 4733 4734 4735# 4736# Kerberos4 enviroment 4737# 4738 4739 4740# Check whether --with-krb4 was given. 4741if test "${with_krb4+set}" = set; then 4742 withval=$with_krb4; with_krb4="$withval" 4743fi 4744 4745 4746if test "x$with_krb4" = "xyes" ; then 4747 with_krb4="" 4748fi 4749 4750if test "x$with_krb4" != "xno"; then 4751 { $as_echo "$as_me:$LINENO: checking for Kerberos4 installation" >&5 4752$as_echo_n "checking for Kerberos4 installation... " >&6; } 4753 if test "x$with_krb4" != "x"; then 4754 if test -x "$with_krb4/bin/krb4-config"; then 4755 KRB4_CPPFLAGS=`$with_krb4/bin/krb4-config --cflags krb4 2>/dev/null` 4756 KRB4_LDFLAGS=`$with_krb4/bin/krb4-config --libs krb4 2>/dev/null` 4757 elif test -x "$with_krb4/bin/krb5-config"; then 4758 KRB4_CPPFLAGS=`$with_krb4/bin/krb5-config --cflags krb4 2>/dev/null` 4759 KRB4_LDFLAGS=`$with_krb4/bin/krb5-config --libs krb4 2>/dev/null` 4760 else 4761 { { $as_echo "$as_me:$LINENO: error: failed to find krb4-config or krb5-config in $with_krb4/bin" >&5 4762$as_echo "$as_me: error: failed to find krb4-config or krb5-config in $with_krb4/bin" >&2;} 4763 { (exit 1); exit 1; }; } 4764 fi 4765 else 4766 KRB4_CPPFLAGS=`krb4-config --cflags krb4 2>/dev/null` 4767 KRB4_LDFLAGS=`krb4-config --libs krb4 2>/dev/null` 4768 if test "x$KRB4_LDFLAGS" = "x" -a -n "$krb5_config_command"; then 4769 KRB4_CPPFLAGS=`$krb5_config_command --cflags krb4 2>/dev/null` 4770 KRB4_LDFLAGS=`$krb5_config_command --libs krb4 2>/dev/null` 4771 if test $? -ne 0; then 4772 KRB4_CPPFLAGS="" 4773 KRB4_LDFLAGS="" 4774 fi 4775 fi 4776 fi 4777 if test "x$KRB4_LDFLAGS" = "x"; then 4778 with_krb4=no 4779 { $as_echo "$as_me:$LINENO: result: no" >&5 4780$as_echo "no" >&6; } 4781 else 4782 { $as_echo "$as_me:$LINENO: result: yes" >&5 4783$as_echo "yes" >&6; } 4784 4785 ac_save_CFLAGS=$CFLAGS 4786 ac_save_CPPFLAGS=$CPPFLAGS 4787 ac_save_LDFLAGS=$LDFLAGS 4788 ac_save_LIBS=$LIBS 4789 CFLAGS="$CFLAGS $KRB4_CPPFLAGS" 4790 CPPFLAGS="$CFLAGS $KRB4_CPPFLAGS" 4791 LDFLAGS="$LDFLAGS $KRB4_LDFLAGS" 4792 LIBS="$LIBS $LDFLAGS $LIB_resolv" 4793 4794# if not found krb.h suppose it's in the kerberosIV subdirectory 4795 if test "${ac_cv_header_krb_h+set}" = set; then 4796 { $as_echo "$as_me:$LINENO: checking for krb.h" >&5 4797$as_echo_n "checking for krb.h... " >&6; } 4798if test "${ac_cv_header_krb_h+set}" = set; then 4799 $as_echo_n "(cached) " >&6 4800fi 4801{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_krb_h" >&5 4802$as_echo "$ac_cv_header_krb_h" >&6; } 4803else 4804 # Is the header compilable? 4805{ $as_echo "$as_me:$LINENO: checking krb.h usability" >&5 4806$as_echo_n "checking krb.h usability... " >&6; } 4807cat >conftest.$ac_ext <<_ACEOF 4808/* confdefs.h. */ 4809_ACEOF 4810cat confdefs.h >>conftest.$ac_ext 4811cat >>conftest.$ac_ext <<_ACEOF 4812/* end confdefs.h. */ 4813$ac_includes_default 4814#include <krb.h> 4815_ACEOF 4816rm -f conftest.$ac_objext 4817if { (ac_try="$ac_compile" 4818case "(($ac_try" in 4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4820 *) ac_try_echo=$ac_try;; 4821esac 4822eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4823$as_echo "$ac_try_echo") >&5 4824 (eval "$ac_compile") 2>conftest.er1 4825 ac_status=$? 4826 grep -v '^ *+' conftest.er1 >conftest.err 4827 rm -f conftest.er1 4828 cat conftest.err >&5 4829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4830 (exit $ac_status); } && { 4831 test -z "$ac_c_werror_flag" || 4832 test ! -s conftest.err 4833 } && test -s conftest.$ac_objext; then 4834 ac_header_compiler=yes 4835else 4836 $as_echo "$as_me: failed program was:" >&5 4837sed 's/^/| /' conftest.$ac_ext >&5 4838 4839 ac_header_compiler=no 4840fi 4841 4842rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4843{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4844$as_echo "$ac_header_compiler" >&6; } 4845 4846# Is the header present? 4847{ $as_echo "$as_me:$LINENO: checking krb.h presence" >&5 4848$as_echo_n "checking krb.h presence... " >&6; } 4849cat >conftest.$ac_ext <<_ACEOF 4850/* confdefs.h. */ 4851_ACEOF 4852cat confdefs.h >>conftest.$ac_ext 4853cat >>conftest.$ac_ext <<_ACEOF 4854/* end confdefs.h. */ 4855#include <krb.h> 4856_ACEOF 4857if { (ac_try="$ac_cpp conftest.$ac_ext" 4858case "(($ac_try" in 4859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4860 *) ac_try_echo=$ac_try;; 4861esac 4862eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4863$as_echo "$ac_try_echo") >&5 4864 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4865 ac_status=$? 4866 grep -v '^ *+' conftest.er1 >conftest.err 4867 rm -f conftest.er1 4868 cat conftest.err >&5 4869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4870 (exit $ac_status); } >/dev/null && { 4871 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4872 test ! -s conftest.err 4873 }; then 4874 ac_header_preproc=yes 4875else 4876 $as_echo "$as_me: failed program was:" >&5 4877sed 's/^/| /' conftest.$ac_ext >&5 4878 4879 ac_header_preproc=no 4880fi 4881 4882rm -f conftest.err conftest.$ac_ext 4883{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4884$as_echo "$ac_header_preproc" >&6; } 4885 4886# So? What about this header? 4887case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4888 yes:no: ) 4889 { $as_echo "$as_me:$LINENO: WARNING: krb.h: accepted by the compiler, rejected by the preprocessor!" >&5 4890$as_echo "$as_me: WARNING: krb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4891 { $as_echo "$as_me:$LINENO: WARNING: krb.h: proceeding with the compiler's result" >&5 4892$as_echo "$as_me: WARNING: krb.h: proceeding with the compiler's result" >&2;} 4893 ac_header_preproc=yes 4894 ;; 4895 no:yes:* ) 4896 { $as_echo "$as_me:$LINENO: WARNING: krb.h: present but cannot be compiled" >&5 4897$as_echo "$as_me: WARNING: krb.h: present but cannot be compiled" >&2;} 4898 { $as_echo "$as_me:$LINENO: WARNING: krb.h: check for missing prerequisite headers?" >&5 4899$as_echo "$as_me: WARNING: krb.h: check for missing prerequisite headers?" >&2;} 4900 { $as_echo "$as_me:$LINENO: WARNING: krb.h: see the Autoconf documentation" >&5 4901$as_echo "$as_me: WARNING: krb.h: see the Autoconf documentation" >&2;} 4902 { $as_echo "$as_me:$LINENO: WARNING: krb.h: section \"Present But Cannot Be Compiled\"" >&5 4903$as_echo "$as_me: WARNING: krb.h: section \"Present But Cannot Be Compiled\"" >&2;} 4904 { $as_echo "$as_me:$LINENO: WARNING: krb.h: proceeding with the preprocessor's result" >&5 4905$as_echo "$as_me: WARNING: krb.h: proceeding with the preprocessor's result" >&2;} 4906 { $as_echo "$as_me:$LINENO: WARNING: krb.h: in the future, the compiler will take precedence" >&5 4907$as_echo "$as_me: WARNING: krb.h: in the future, the compiler will take precedence" >&2;} 4908 ( cat <<\_ASBOX 4909## ----------------------------------------------------------- ## 4910## Report this to modauthkerb-developers@lists.sourceforge.net ## 4911## ----------------------------------------------------------- ## 4912_ASBOX 4913 ) | sed "s/^/$as_me: WARNING: /" >&2 4914 ;; 4915esac 4916{ $as_echo "$as_me:$LINENO: checking for krb.h" >&5 4917$as_echo_n "checking for krb.h... " >&6; } 4918if test "${ac_cv_header_krb_h+set}" = set; then 4919 $as_echo_n "(cached) " >&6 4920else 4921 ac_cv_header_krb_h=$ac_header_preproc 4922fi 4923{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_krb_h" >&5 4924$as_echo "$ac_cv_header_krb_h" >&6; } 4925 4926fi 4927if test "x$ac_cv_header_krb_h" = x""yes; then 4928 : 4929else 4930 with_krb4=no 4931fi 4932 4933 4934 if test "x$with_krb4" = "xno"; then 4935 KRB4_CPPFLAGS="$KRB4_CPPFLAGS ${KRB4_CPPFLAGS}/kerberosIV" 4936# second run of AC_CHECK_HEADER for the same library returns the cached 4937# result created by previous run :-( 4938 if test "${ac_cv_header_kerberosIV_krb_h+set}" = set; then 4939 { $as_echo "$as_me:$LINENO: checking for kerberosIV/krb.h" >&5 4940$as_echo_n "checking for kerberosIV/krb.h... " >&6; } 4941if test "${ac_cv_header_kerberosIV_krb_h+set}" = set; then 4942 $as_echo_n "(cached) " >&6 4943fi 4944{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_kerberosIV_krb_h" >&5 4945$as_echo "$ac_cv_header_kerberosIV_krb_h" >&6; } 4946else 4947 # Is the header compilable? 4948{ $as_echo "$as_me:$LINENO: checking kerberosIV/krb.h usability" >&5 4949$as_echo_n "checking kerberosIV/krb.h usability... " >&6; } 4950cat >conftest.$ac_ext <<_ACEOF 4951/* confdefs.h. */ 4952_ACEOF 4953cat confdefs.h >>conftest.$ac_ext 4954cat >>conftest.$ac_ext <<_ACEOF 4955/* end confdefs.h. */ 4956$ac_includes_default 4957#include <kerberosIV/krb.h> 4958_ACEOF 4959rm -f conftest.$ac_objext 4960if { (ac_try="$ac_compile" 4961case "(($ac_try" in 4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4963 *) ac_try_echo=$ac_try;; 4964esac 4965eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4966$as_echo "$ac_try_echo") >&5 4967 (eval "$ac_compile") 2>conftest.er1 4968 ac_status=$? 4969 grep -v '^ *+' conftest.er1 >conftest.err 4970 rm -f conftest.er1 4971 cat conftest.err >&5 4972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4973 (exit $ac_status); } && { 4974 test -z "$ac_c_werror_flag" || 4975 test ! -s conftest.err 4976 } && test -s conftest.$ac_objext; then 4977 ac_header_compiler=yes 4978else 4979 $as_echo "$as_me: failed program was:" >&5 4980sed 's/^/| /' conftest.$ac_ext >&5 4981 4982 ac_header_compiler=no 4983fi 4984 4985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4986{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4987$as_echo "$ac_header_compiler" >&6; } 4988 4989# Is the header present? 4990{ $as_echo "$as_me:$LINENO: checking kerberosIV/krb.h presence" >&5 4991$as_echo_n "checking kerberosIV/krb.h presence... " >&6; } 4992cat >conftest.$ac_ext <<_ACEOF 4993/* confdefs.h. */ 4994_ACEOF 4995cat confdefs.h >>conftest.$ac_ext 4996cat >>conftest.$ac_ext <<_ACEOF 4997/* end confdefs.h. */ 4998#include <kerberosIV/krb.h> 4999_ACEOF 5000if { (ac_try="$ac_cpp conftest.$ac_ext" 5001case "(($ac_try" in 5002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5003 *) ac_try_echo=$ac_try;; 5004esac 5005eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5006$as_echo "$ac_try_echo") >&5 5007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5008 ac_status=$? 5009 grep -v '^ *+' conftest.er1 >conftest.err 5010 rm -f conftest.er1 5011 cat conftest.err >&5 5012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5013 (exit $ac_status); } >/dev/null && { 5014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5015 test ! -s conftest.err 5016 }; then 5017 ac_header_preproc=yes 5018else 5019 $as_echo "$as_me: failed program was:" >&5 5020sed 's/^/| /' conftest.$ac_ext >&5 5021 5022 ac_header_preproc=no 5023fi 5024 5025rm -f conftest.err conftest.$ac_ext 5026{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5027$as_echo "$ac_header_preproc" >&6; } 5028 5029# So? What about this header? 5030case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5031 yes:no: ) 5032 { $as_echo "$as_me:$LINENO: WARNING: kerberosIV/krb.h: accepted by the compiler, rejected by the preprocessor!" >&5 5033$as_echo "$as_me: WARNING: kerberosIV/krb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5034 { $as_echo "$as_me:$LINENO: WARNING: kerberosIV/krb.h: proceeding with the compiler's result" >&5 5035$as_echo "$as_me: WARNING: kerberosIV/krb.h: proceeding with the compiler's result" >&2;} 5036 ac_header_preproc=yes 5037 ;; 5038 no:yes:* ) 5039 { $as_echo "$as_me:$LINENO: WARNING: kerberosIV/krb.h: present but cannot be compiled" >&5 5040$as_echo "$as_me: WARNING: kerberosIV/krb.h: present but cannot be compiled" >&2;} 5041 { $as_echo "$as_me:$LINENO: WARNING: kerberosIV/krb.h: check for missing prerequisite headers?" >&5 5042$as_echo "$as_me: WARNING: kerberosIV/krb.h: check for missing prerequisite headers?" >&2;} 5043 { $as_echo "$as_me:$LINENO: WARNING: kerberosIV/krb.h: see the Autoconf documentation" >&5 5044$as_echo "$as_me: WARNING: kerberosIV/krb.h: see the Autoconf documentation" >&2;} 5045 { $as_echo "$as_me:$LINENO: WARNING: kerberosIV/krb.h: section \"Present But Cannot Be Compiled\"" >&5 5046$as_echo "$as_me: WARNING: kerberosIV/krb.h: section \"Present But Cannot Be Compiled\"" >&2;} 5047 { $as_echo "$as_me:$LINENO: WARNING: kerberosIV/krb.h: proceeding with the preprocessor's result" >&5 5048$as_echo "$as_me: WARNING: kerberosIV/krb.h: proceeding with the preprocessor's result" >&2;} 5049 { $as_echo "$as_me:$LINENO: WARNING: kerberosIV/krb.h: in the future, the compiler will take precedence" >&5 5050$as_echo "$as_me: WARNING: kerberosIV/krb.h: in the future, the compiler will take precedence" >&2;} 5051 ( cat <<\_ASBOX 5052## ----------------------------------------------------------- ## 5053## Report this to modauthkerb-developers@lists.sourceforge.net ## 5054## ----------------------------------------------------------- ## 5055_ASBOX 5056 ) | sed "s/^/$as_me: WARNING: /" >&2 5057 ;; 5058esac 5059{ $as_echo "$as_me:$LINENO: checking for kerberosIV/krb.h" >&5 5060$as_echo_n "checking for kerberosIV/krb.h... " >&6; } 5061if test "${ac_cv_header_kerberosIV_krb_h+set}" = set; then 5062 $as_echo_n "(cached) " >&6 5063else 5064 ac_cv_header_kerberosIV_krb_h=$ac_header_preproc 5065fi 5066{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_kerberosIV_krb_h" >&5 5067$as_echo "$ac_cv_header_kerberosIV_krb_h" >&6; } 5068 5069fi 5070if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then 5071 with_krb4=yes 5072else 5073 with_krb4=no 5074 KRB4_CPPFLAGS="" 5075 KRB4_LDFLAGS="" 5076fi 5077 5078 5079 fi 5080 5081 if test "x$with_krb4" != "xno"; then 5082 5083{ $as_echo "$as_me:$LINENO: checking for krb_get_pw_in_tkt in -lkrb4" >&5 5084$as_echo_n "checking for krb_get_pw_in_tkt in -lkrb4... " >&6; } 5085if test "${ac_cv_lib_krb4_krb_get_pw_in_tkt+set}" = set; then 5086 $as_echo_n "(cached) " >&6 5087else 5088 ac_check_lib_save_LIBS=$LIBS 5089LIBS="-lkrb4 $LIBS" 5090cat >conftest.$ac_ext <<_ACEOF 5091/* confdefs.h. */ 5092_ACEOF 5093cat confdefs.h >>conftest.$ac_ext 5094cat >>conftest.$ac_ext <<_ACEOF 5095/* end confdefs.h. */ 5096 5097/* Override any GCC internal prototype to avoid an error. 5098 Use char because int might match the return type of a GCC 5099 builtin and then its argument prototype would still apply. */ 5100#ifdef __cplusplus 5101extern "C" 5102#endif 5103char krb_get_pw_in_tkt (); 5104int 5105main () 5106{ 5107return krb_get_pw_in_tkt (); 5108 ; 5109 return 0; 5110} 5111_ACEOF 5112rm -f conftest.$ac_objext conftest$ac_exeext 5113if { (ac_try="$ac_link" 5114case "(($ac_try" in 5115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5116 *) ac_try_echo=$ac_try;; 5117esac 5118eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5119$as_echo "$ac_try_echo") >&5 5120 (eval "$ac_link") 2>conftest.er1 5121 ac_status=$? 5122 grep -v '^ *+' conftest.er1 >conftest.err 5123 rm -f conftest.er1 5124 cat conftest.err >&5 5125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5126 (exit $ac_status); } && { 5127 test -z "$ac_c_werror_flag" || 5128 test ! -s conftest.err 5129 } && test -s conftest$ac_exeext && { 5130 test "$cross_compiling" = yes || 5131 $as_test_x conftest$ac_exeext 5132 }; then 5133 ac_cv_lib_krb4_krb_get_pw_in_tkt=yes 5134else 5135 $as_echo "$as_me: failed program was:" >&5 5136sed 's/^/| /' conftest.$ac_ext >&5 5137 5138 ac_cv_lib_krb4_krb_get_pw_in_tkt=no 5139fi 5140 5141rm -rf conftest.dSYM 5142rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5143 conftest$ac_exeext conftest.$ac_ext 5144LIBS=$ac_check_lib_save_LIBS 5145fi 5146{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_pw_in_tkt" >&5 5147$as_echo "$ac_cv_lib_krb4_krb_get_pw_in_tkt" >&6; } 5148if test "x$ac_cv_lib_krb4_krb_get_pw_in_tkt" = x""yes; then 5149 cat >>confdefs.h <<_ACEOF 5150#define HAVE_LIBKRB4 1 5151_ACEOF 5152 5153 LIBS="-lkrb4 $LIBS" 5154 5155else 5156 with_krb4=no 5157fi 5158 5159 if test "x$with_krb4" = "xno"; then 5160 { $as_echo "$as_me:$LINENO: checking for krb_get_pw_in_tkt in -lkrb" >&5 5161$as_echo_n "checking for krb_get_pw_in_tkt in -lkrb... " >&6; } 5162if test "${ac_cv_lib_krb_krb_get_pw_in_tkt+set}" = set; then 5163 $as_echo_n "(cached) " >&6 5164else 5165 ac_check_lib_save_LIBS=$LIBS 5166LIBS="-lkrb $LIBS" 5167cat >conftest.$ac_ext <<_ACEOF 5168/* confdefs.h. */ 5169_ACEOF 5170cat confdefs.h >>conftest.$ac_ext 5171cat >>conftest.$ac_ext <<_ACEOF 5172/* end confdefs.h. */ 5173 5174/* Override any GCC internal prototype to avoid an error. 5175 Use char because int might match the return type of a GCC 5176 builtin and then its argument prototype would still apply. */ 5177#ifdef __cplusplus 5178extern "C" 5179#endif 5180char krb_get_pw_in_tkt (); 5181int 5182main () 5183{ 5184return krb_get_pw_in_tkt (); 5185 ; 5186 return 0; 5187} 5188_ACEOF 5189rm -f conftest.$ac_objext conftest$ac_exeext 5190if { (ac_try="$ac_link" 5191case "(($ac_try" in 5192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5193 *) ac_try_echo=$ac_try;; 5194esac 5195eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5196$as_echo "$ac_try_echo") >&5 5197 (eval "$ac_link") 2>conftest.er1 5198 ac_status=$? 5199 grep -v '^ *+' conftest.er1 >conftest.err 5200 rm -f conftest.er1 5201 cat conftest.err >&5 5202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5203 (exit $ac_status); } && { 5204 test -z "$ac_c_werror_flag" || 5205 test ! -s conftest.err 5206 } && test -s conftest$ac_exeext && { 5207 test "$cross_compiling" = yes || 5208 $as_test_x conftest$ac_exeext 5209 }; then 5210 ac_cv_lib_krb_krb_get_pw_in_tkt=yes 5211else 5212 $as_echo "$as_me: failed program was:" >&5 5213sed 's/^/| /' conftest.$ac_ext >&5 5214 5215 ac_cv_lib_krb_krb_get_pw_in_tkt=no 5216fi 5217 5218rm -rf conftest.dSYM 5219rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5220 conftest$ac_exeext conftest.$ac_ext 5221LIBS=$ac_check_lib_save_LIBS 5222fi 5223{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_pw_in_tkt" >&5 5224$as_echo "$ac_cv_lib_krb_krb_get_pw_in_tkt" >&6; } 5225if test "x$ac_cv_lib_krb_krb_get_pw_in_tkt" = x""yes; then 5226 with_krb4=yes 5227else 5228 with_krb4=no 5229 KRB4_CPPFLAGS="" 5230 KRB4_LDFLAGS="" 5231fi 5232 5233 fi 5234 fi 5235 5236 CFLAGS=$ac_save_CFLAGS 5237 CPPFLAGS=$ac_save_CPPFLAGS 5238 LDFLAGS=$ac_save_LDFLAGS 5239 LIBS=$ac_save_LIBS 5240 5241 cat >>confdefs.h <<\_ACEOF 5242#define KRB4 1 5243_ACEOF 5244 5245 fi 5246fi 5247 5248 5249 5250 5251if test "x$with_krb5" = "xno" -a "x$with_krb4" = "xno"; then 5252 { { $as_echo "$as_me:$LINENO: error: No Kerberos enviroment found" >&5 5253$as_echo "$as_me: error: No Kerberos enviroment found" >&2;} 5254 { (exit 1); exit 1; }; } 5255fi 5256 5257# 5258# Apache enviroment 5259# 5260 5261# Check whether --with-apache was given. 5262if test "${with_apache+set}" = set; then 5263 withval=$with_apache; with_apache="$withval" 5264fi 5265 5266 5267# Extract the first word of "apxs", so it can be a program name with args. 5268set dummy apxs; ac_word=$2 5269{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5270$as_echo_n "checking for $ac_word... " >&6; } 5271if test "${ac_cv_path_APXS+set}" = set; then 5272 $as_echo_n "(cached) " >&6 5273else 5274 case $APXS in 5275 [\\/]* | ?:[\\/]*) 5276 ac_cv_path_APXS="$APXS" # Let the user override the test with a path. 5277 ;; 5278 *) 5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5280as_dummy="$with_apache/bin:$with_apache/sbin:$PATH" 5281for as_dir in $as_dummy 5282do 5283 IFS=$as_save_IFS 5284 test -z "$as_dir" && as_dir=. 5285 for ac_exec_ext in '' $ac_executable_extensions; do 5286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5287 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext" 5288 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5289 break 2 5290 fi 5291done 5292done 5293IFS=$as_save_IFS 5294 5295 ;; 5296esac 5297fi 5298APXS=$ac_cv_path_APXS 5299if test -n "$APXS"; then 5300 { $as_echo "$as_me:$LINENO: result: $APXS" >&5 5301$as_echo "$APXS" >&6; } 5302else 5303 { $as_echo "$as_me:$LINENO: result: no" >&5 5304$as_echo "no" >&6; } 5305fi 5306 5307 5308if test -z "$APXS"; then 5309 # Extract the first word of "apxs2", so it can be a program name with args. 5310set dummy apxs2; ac_word=$2 5311{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5312$as_echo_n "checking for $ac_word... " >&6; } 5313if test "${ac_cv_path_APXS+set}" = set; then 5314 $as_echo_n "(cached) " >&6 5315else 5316 case $APXS in 5317 [\\/]* | ?:[\\/]*) 5318 ac_cv_path_APXS="$APXS" # Let the user override the test with a path. 5319 ;; 5320 *) 5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5322as_dummy="$with_apache/bin:$with_apache/sbin:$PATH" 5323for as_dir in $as_dummy 5324do 5325 IFS=$as_save_IFS 5326 test -z "$as_dir" && as_dir=. 5327 for ac_exec_ext in '' $ac_executable_extensions; do 5328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5329 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext" 5330 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5331 break 2 5332 fi 5333done 5334done 5335IFS=$as_save_IFS 5336 5337 ;; 5338esac 5339fi 5340APXS=$ac_cv_path_APXS 5341if test -n "$APXS"; then 5342 { $as_echo "$as_me:$LINENO: result: $APXS" >&5 5343$as_echo "$APXS" >&6; } 5344else 5345 { $as_echo "$as_me:$LINENO: result: no" >&5 5346$as_echo "no" >&6; } 5347fi 5348 5349 5350 if test -z "$APXS"; then 5351 { { $as_echo "$as_me:$LINENO: error: failed to find apache apxs executable" >&5 5352$as_echo "$as_me: error: failed to find apache apxs executable" >&2;} 5353 { (exit 1); exit 1; }; } 5354 fi 5355fi 5356 5357 5358ac_config_files="$ac_config_files Makefile" 5359 5360 5361cat >confcache <<\_ACEOF 5362# This file is a shell script that caches the results of configure 5363# tests run on this system so they can be shared between configure 5364# scripts and configure runs, see configure's option --config-cache. 5365# It is not useful on other systems. If it contains results you don't 5366# want to keep, you may remove or edit it. 5367# 5368# config.status only pays attention to the cache file if you give it 5369# the --recheck option to rerun configure. 5370# 5371# `ac_cv_env_foo' variables (set or unset) will be overridden when 5372# loading this file, other *unset* `ac_cv_foo' will be assigned the 5373# following values. 5374 5375_ACEOF 5376 5377# The following way of writing the cache mishandles newlines in values, 5378# but we know of no workaround that is simple, portable, and efficient. 5379# So, we kill variables containing newlines. 5380# Ultrix sh set writes to stderr and can't be redirected directly, 5381# and sets the high bit in the cache file unless we assign to the vars. 5382( 5383 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5384 eval ac_val=\$$ac_var 5385 case $ac_val in #( 5386 *${as_nl}*) 5387 case $ac_var in #( 5388 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 5389$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 5390 esac 5391 case $ac_var in #( 5392 _ | IFS | as_nl) ;; #( 5393 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5394 *) $as_unset $ac_var ;; 5395 esac ;; 5396 esac 5397 done 5398 5399 (set) 2>&1 | 5400 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5401 *${as_nl}ac_space=\ *) 5402 # `set' does not quote correctly, so add quotes (double-quote 5403 # substitution turns \\\\ into \\, and sed turns \\ into \). 5404 sed -n \ 5405 "s/'/'\\\\''/g; 5406 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5407 ;; #( 5408 *) 5409 # `set' quotes correctly as required by POSIX, so do not add quotes. 5410 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5411 ;; 5412 esac | 5413 sort 5414) | 5415 sed ' 5416 /^ac_cv_env_/b end 5417 t clear 5418 :clear 5419 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5420 t end 5421 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5422 :end' >>confcache 5423if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5424 if test -w "$cache_file"; then 5425 test "x$cache_file" != "x/dev/null" && 5426 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 5427$as_echo "$as_me: updating cache $cache_file" >&6;} 5428 cat confcache >$cache_file 5429 else 5430 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5431$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5432 fi 5433fi 5434rm -f confcache 5435 5436test "x$prefix" = xNONE && prefix=$ac_default_prefix 5437# Let make expand exec_prefix. 5438test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5439 5440DEFS=-DHAVE_CONFIG_H 5441 5442ac_libobjs= 5443ac_ltlibobjs= 5444for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5445 # 1. Remove the extension, and $U if already installed. 5446 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5447 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5448 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5449 # will be set to the directory where LIBOBJS objects are built. 5450 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5451 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5452done 5453LIBOBJS=$ac_libobjs 5454 5455LTLIBOBJS=$ac_ltlibobjs 5456 5457 5458 5459: ${CONFIG_STATUS=./config.status} 5460ac_write_fail=0 5461ac_clean_files_save=$ac_clean_files 5462ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5463{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5464$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5465cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5466#! $SHELL 5467# Generated by $as_me. 5468# Run this file to recreate the current configuration. 5469# Compiler output produced by configure, useful for debugging 5470# configure, is in config.log if it exists. 5471 5472debug=false 5473ac_cs_recheck=false 5474ac_cs_silent=false 5475SHELL=\${CONFIG_SHELL-$SHELL} 5476_ACEOF 5477 5478cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5479## --------------------- ## 5480## M4sh Initialization. ## 5481## --------------------- ## 5482 5483# Be more Bourne compatible 5484DUALCASE=1; export DUALCASE # for MKS sh 5485if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5486 emulate sh 5487 NULLCMD=: 5488 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5489 # is contrary to our usage. Disable this feature. 5490 alias -g '${1+"$@"}'='"$@"' 5491 setopt NO_GLOB_SUBST 5492else 5493 case `(set -o) 2>/dev/null` in 5494 *posix*) set -o posix ;; 5495esac 5496 5497fi 5498 5499 5500 5501 5502# PATH needs CR 5503# Avoid depending upon Character Ranges. 5504as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5505as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5506as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5507as_cr_digits='0123456789' 5508as_cr_alnum=$as_cr_Letters$as_cr_digits 5509 5510as_nl=' 5511' 5512export as_nl 5513# Printing a long string crashes Solaris 7 /usr/bin/printf. 5514as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5515as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5516as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5517if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5518 as_echo='printf %s\n' 5519 as_echo_n='printf %s' 5520else 5521 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5522 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5523 as_echo_n='/usr/ucb/echo -n' 5524 else 5525 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5526 as_echo_n_body='eval 5527 arg=$1; 5528 case $arg in 5529 *"$as_nl"*) 5530 expr "X$arg" : "X\\(.*\\)$as_nl"; 5531 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5532 esac; 5533 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5534 ' 5535 export as_echo_n_body 5536 as_echo_n='sh -c $as_echo_n_body as_echo' 5537 fi 5538 export as_echo_body 5539 as_echo='sh -c $as_echo_body as_echo' 5540fi 5541 5542# The user is always right. 5543if test "${PATH_SEPARATOR+set}" != set; then 5544 PATH_SEPARATOR=: 5545 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5546 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5547 PATH_SEPARATOR=';' 5548 } 5549fi 5550 5551# Support unset when possible. 5552if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5553 as_unset=unset 5554else 5555 as_unset=false 5556fi 5557 5558 5559# IFS 5560# We need space, tab and new line, in precisely that order. Quoting is 5561# there to prevent editors from complaining about space-tab. 5562# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5563# splitting by setting IFS to empty value.) 5564IFS=" "" $as_nl" 5565 5566# Find who we are. Look in the path if we contain no directory separator. 5567case $0 in 5568 *[\\/]* ) as_myself=$0 ;; 5569 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5570for as_dir in $PATH 5571do 5572 IFS=$as_save_IFS 5573 test -z "$as_dir" && as_dir=. 5574 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5575done 5576IFS=$as_save_IFS 5577 5578 ;; 5579esac 5580# We did not find ourselves, most probably we were run as `sh COMMAND' 5581# in which case we are not to be found in the path. 5582if test "x$as_myself" = x; then 5583 as_myself=$0 5584fi 5585if test ! -f "$as_myself"; then 5586 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5587 { (exit 1); exit 1; } 5588fi 5589 5590# Work around bugs in pre-3.0 UWIN ksh. 5591for as_var in ENV MAIL MAILPATH 5592do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5593done 5594PS1='$ ' 5595PS2='> ' 5596PS4='+ ' 5597 5598# NLS nuisances. 5599LC_ALL=C 5600export LC_ALL 5601LANGUAGE=C 5602export LANGUAGE 5603 5604# Required to use basename. 5605if expr a : '\(a\)' >/dev/null 2>&1 && 5606 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5607 as_expr=expr 5608else 5609 as_expr=false 5610fi 5611 5612if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5613 as_basename=basename 5614else 5615 as_basename=false 5616fi 5617 5618 5619# Name of the executable. 5620as_me=`$as_basename -- "$0" || 5621$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5622 X"$0" : 'X\(//\)$' \| \ 5623 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5624$as_echo X/"$0" | 5625 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5626 s//\1/ 5627 q 5628 } 5629 /^X\/\(\/\/\)$/{ 5630 s//\1/ 5631 q 5632 } 5633 /^X\/\(\/\).*/{ 5634 s//\1/ 5635 q 5636 } 5637 s/.*/./; q'` 5638 5639# CDPATH. 5640$as_unset CDPATH 5641 5642 5643 5644 as_lineno_1=$LINENO 5645 as_lineno_2=$LINENO 5646 test "x$as_lineno_1" != "x$as_lineno_2" && 5647 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5648 5649 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5650 # uniformly replaced by the line number. The first 'sed' inserts a 5651 # line-number line after each line using $LINENO; the second 'sed' 5652 # does the real work. The second script uses 'N' to pair each 5653 # line-number line with the line containing $LINENO, and appends 5654 # trailing '-' during substitution so that $LINENO is not a special 5655 # case at line end. 5656 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5657 # scripts with optimization help from Paolo Bonzini. Blame Lee 5658 # E. McMahon (1931-1989) for sed's syntax. :-) 5659 sed -n ' 5660 p 5661 /[$]LINENO/= 5662 ' <$as_myself | 5663 sed ' 5664 s/[$]LINENO.*/&-/ 5665 t lineno 5666 b 5667 :lineno 5668 N 5669 :loop 5670 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5671 t loop 5672 s/-\n.*// 5673 ' >$as_me.lineno && 5674 chmod +x "$as_me.lineno" || 5675 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5676 { (exit 1); exit 1; }; } 5677 5678 # Don't try to exec as it changes $[0], causing all sort of problems 5679 # (the dirname of $[0] is not the place where we might find the 5680 # original and so on. Autoconf is especially sensitive to this). 5681 . "./$as_me.lineno" 5682 # Exit status is that of the last command. 5683 exit 5684} 5685 5686 5687if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5688 as_dirname=dirname 5689else 5690 as_dirname=false 5691fi 5692 5693ECHO_C= ECHO_N= ECHO_T= 5694case `echo -n x` in 5695-n*) 5696 case `echo 'x\c'` in 5697 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5698 *) ECHO_C='\c';; 5699 esac;; 5700*) 5701 ECHO_N='-n';; 5702esac 5703if expr a : '\(a\)' >/dev/null 2>&1 && 5704 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5705 as_expr=expr 5706else 5707 as_expr=false 5708fi 5709 5710rm -f conf$$ conf$$.exe conf$$.file 5711if test -d conf$$.dir; then 5712 rm -f conf$$.dir/conf$$.file 5713else 5714 rm -f conf$$.dir 5715 mkdir conf$$.dir 2>/dev/null 5716fi 5717if (echo >conf$$.file) 2>/dev/null; then 5718 if ln -s conf$$.file conf$$ 2>/dev/null; then 5719 as_ln_s='ln -s' 5720 # ... but there are two gotchas: 5721 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5722 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5723 # In both cases, we have to default to `cp -p'. 5724 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5725 as_ln_s='cp -p' 5726 elif ln conf$$.file conf$$ 2>/dev/null; then 5727 as_ln_s=ln 5728 else 5729 as_ln_s='cp -p' 5730 fi 5731else 5732 as_ln_s='cp -p' 5733fi 5734rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5735rmdir conf$$.dir 2>/dev/null 5736 5737if mkdir -p . 2>/dev/null; then 5738 as_mkdir_p=: 5739else 5740 test -d ./-p && rmdir ./-p 5741 as_mkdir_p=false 5742fi 5743 5744if test -x / >/dev/null 2>&1; then 5745 as_test_x='test -x' 5746else 5747 if ls -dL / >/dev/null 2>&1; then 5748 as_ls_L_option=L 5749 else 5750 as_ls_L_option= 5751 fi 5752 as_test_x=' 5753 eval sh -c '\'' 5754 if test -d "$1"; then 5755 test -d "$1/."; 5756 else 5757 case $1 in 5758 -*)set "./$1";; 5759 esac; 5760 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5761 ???[sx]*):;;*)false;;esac;fi 5762 '\'' sh 5763 ' 5764fi 5765as_executable_p=$as_test_x 5766 5767# Sed expression to map a string onto a valid CPP name. 5768as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5769 5770# Sed expression to map a string onto a valid variable name. 5771as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5772 5773 5774exec 6>&1 5775 5776# Save the log message, to keep $[0] and so on meaningful, and to 5777# report actual input values of CONFIG_FILES etc. instead of their 5778# values after options handling. 5779ac_log=" 5780This file was extended by mod_auth_kerb $as_me 5.4, which was 5781generated by GNU Autoconf 2.63. Invocation command line was 5782 5783 CONFIG_FILES = $CONFIG_FILES 5784 CONFIG_HEADERS = $CONFIG_HEADERS 5785 CONFIG_LINKS = $CONFIG_LINKS 5786 CONFIG_COMMANDS = $CONFIG_COMMANDS 5787 $ $0 $@ 5788 5789on `(hostname || uname -n) 2>/dev/null | sed 1q` 5790" 5791 5792_ACEOF 5793 5794case $ac_config_files in *" 5795"*) set x $ac_config_files; shift; ac_config_files=$*;; 5796esac 5797 5798case $ac_config_headers in *" 5799"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 5800esac 5801 5802 5803cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5804# Files that config.status was made for. 5805config_files="$ac_config_files" 5806config_headers="$ac_config_headers" 5807 5808_ACEOF 5809 5810cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5811ac_cs_usage="\ 5812\`$as_me' instantiates files from templates according to the 5813current configuration. 5814 5815Usage: $0 [OPTION]... [FILE]... 5816 5817 -h, --help print this help, then exit 5818 -V, --version print version number and configuration settings, then exit 5819 -q, --quiet, --silent 5820 do not print progress messages 5821 -d, --debug don't remove temporary files 5822 --recheck update $as_me by reconfiguring in the same conditions 5823 --file=FILE[:TEMPLATE] 5824 instantiate the configuration file FILE 5825 --header=FILE[:TEMPLATE] 5826 instantiate the configuration header FILE 5827 5828Configuration files: 5829$config_files 5830 5831Configuration headers: 5832$config_headers 5833 5834Report bugs to <bug-autoconf@gnu.org>." 5835 5836_ACEOF 5837cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5838ac_cs_version="\\ 5839mod_auth_kerb config.status 5.4 5840configured by $0, generated by GNU Autoconf 2.63, 5841 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5842 5843Copyright (C) 2008 Free Software Foundation, Inc. 5844This config.status script is free software; the Free Software Foundation 5845gives unlimited permission to copy, distribute and modify it." 5846 5847ac_pwd='$ac_pwd' 5848srcdir='$srcdir' 5849test -n "\$AWK" || AWK=awk 5850_ACEOF 5851 5852cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5853# The default lists apply if the user does not specify any file. 5854ac_need_defaults=: 5855while test $# != 0 5856do 5857 case $1 in 5858 --*=*) 5859 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5860 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5861 ac_shift=: 5862 ;; 5863 *) 5864 ac_option=$1 5865 ac_optarg=$2 5866 ac_shift=shift 5867 ;; 5868 esac 5869 5870 case $ac_option in 5871 # Handling of the options. 5872 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5873 ac_cs_recheck=: ;; 5874 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5875 $as_echo "$ac_cs_version"; exit ;; 5876 --debug | --debu | --deb | --de | --d | -d ) 5877 debug=: ;; 5878 --file | --fil | --fi | --f ) 5879 $ac_shift 5880 case $ac_optarg in 5881 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5882 esac 5883 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 5884 ac_need_defaults=false;; 5885 --header | --heade | --head | --hea ) 5886 $ac_shift 5887 case $ac_optarg in 5888 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5889 esac 5890 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 5891 ac_need_defaults=false;; 5892 --he | --h) 5893 # Conflict between --help and --header 5894 { $as_echo "$as_me: error: ambiguous option: $1 5895Try \`$0 --help' for more information." >&2 5896 { (exit 1); exit 1; }; };; 5897 --help | --hel | -h ) 5898 $as_echo "$ac_cs_usage"; exit ;; 5899 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5900 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5901 ac_cs_silent=: ;; 5902 5903 # This is an error. 5904 -*) { $as_echo "$as_me: error: unrecognized option: $1 5905Try \`$0 --help' for more information." >&2 5906 { (exit 1); exit 1; }; } ;; 5907 5908 *) ac_config_targets="$ac_config_targets $1" 5909 ac_need_defaults=false ;; 5910 5911 esac 5912 shift 5913done 5914 5915ac_configure_extra_args= 5916 5917if $ac_cs_silent; then 5918 exec 6>/dev/null 5919 ac_configure_extra_args="$ac_configure_extra_args --silent" 5920fi 5921 5922_ACEOF 5923cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5924if \$ac_cs_recheck; then 5925 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5926 shift 5927 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5928 CONFIG_SHELL='$SHELL' 5929 export CONFIG_SHELL 5930 exec "\$@" 5931fi 5932 5933_ACEOF 5934cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5935exec 5>>config.log 5936{ 5937 echo 5938 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5939## Running $as_me. ## 5940_ASBOX 5941 $as_echo "$ac_log" 5942} >&5 5943 5944_ACEOF 5945cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5946_ACEOF 5947 5948cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5949 5950# Handling of arguments. 5951for ac_config_target in $ac_config_targets 5952do 5953 case $ac_config_target in 5954 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5955 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5956 5957 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5958$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5959 { (exit 1); exit 1; }; };; 5960 esac 5961done 5962 5963 5964# If the user did not use the arguments to specify the items to instantiate, 5965# then the envvar interface is used. Set only those that are not. 5966# We use the long form for the default assignment because of an extremely 5967# bizarre bug on SunOS 4.1.3. 5968if $ac_need_defaults; then 5969 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5970 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5971fi 5972 5973# Have a temporary directory for convenience. Make it in the build tree 5974# simply because there is no reason against having it here, and in addition, 5975# creating and moving files from /tmp can sometimes cause problems. 5976# Hook for its removal unless debugging. 5977# Note that there is a small window in which the directory will not be cleaned: 5978# after its creation but before its name has been assigned to `$tmp'. 5979$debug || 5980{ 5981 tmp= 5982 trap 'exit_status=$? 5983 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 5984' 0 5985 trap '{ (exit 1); exit 1; }' 1 2 13 15 5986} 5987# Create a (secure) tmp directory for tmp files. 5988 5989{ 5990 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5991 test -n "$tmp" && test -d "$tmp" 5992} || 5993{ 5994 tmp=./conf$$-$RANDOM 5995 (umask 077 && mkdir "$tmp") 5996} || 5997{ 5998 $as_echo "$as_me: cannot create a temporary directory in ." >&2 5999 { (exit 1); exit 1; } 6000} 6001 6002# Set up the scripts for CONFIG_FILES section. 6003# No need to generate them if there are no CONFIG_FILES. 6004# This happens for instance with `./config.status config.h'. 6005if test -n "$CONFIG_FILES"; then 6006 6007 6008ac_cr=' 6009' 6010ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6011if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6012 ac_cs_awk_cr='\\r' 6013else 6014 ac_cs_awk_cr=$ac_cr 6015fi 6016 6017echo 'BEGIN {' >"$tmp/subs1.awk" && 6018_ACEOF 6019 6020 6021{ 6022 echo "cat >conf$$subs.awk <<_ACEOF" && 6023 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6024 echo "_ACEOF" 6025} >conf$$subs.sh || 6026 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6027$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6028 { (exit 1); exit 1; }; } 6029ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 6030ac_delim='%!_!# ' 6031for ac_last_try in false false false false false :; do 6032 . ./conf$$subs.sh || 6033 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6034$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6035 { (exit 1); exit 1; }; } 6036 6037 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6038 if test $ac_delim_n = $ac_delim_num; then 6039 break 6040 elif $ac_last_try; then 6041 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6042$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6043 { (exit 1); exit 1; }; } 6044 else 6045 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6046 fi 6047done 6048rm -f conf$$subs.sh 6049 6050cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6051cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 6052_ACEOF 6053sed -n ' 6054h 6055s/^/S["/; s/!.*/"]=/ 6056p 6057g 6058s/^[^!]*!// 6059:repl 6060t repl 6061s/'"$ac_delim"'$// 6062t delim 6063:nl 6064h 6065s/\(.\{148\}\).*/\1/ 6066t more1 6067s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6068p 6069n 6070b repl 6071:more1 6072s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6073p 6074g 6075s/.\{148\}// 6076t nl 6077:delim 6078h 6079s/\(.\{148\}\).*/\1/ 6080t more2 6081s/["\\]/\\&/g; s/^/"/; s/$/"/ 6082p 6083b 6084:more2 6085s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6086p 6087g 6088s/.\{148\}// 6089t delim 6090' <conf$$subs.awk | sed ' 6091/^[^""]/{ 6092 N 6093 s/\n// 6094} 6095' >>$CONFIG_STATUS || ac_write_fail=1 6096rm -f conf$$subs.awk 6097cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6098_ACAWK 6099cat >>"\$tmp/subs1.awk" <<_ACAWK && 6100 for (key in S) S_is_set[key] = 1 6101 FS = "" 6102 6103} 6104{ 6105 line = $ 0 6106 nfields = split(line, field, "@") 6107 substed = 0 6108 len = length(field[1]) 6109 for (i = 2; i < nfields; i++) { 6110 key = field[i] 6111 keylen = length(key) 6112 if (S_is_set[key]) { 6113 value = S[key] 6114 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6115 len += length(value) + length(field[++i]) 6116 substed = 1 6117 } else 6118 len += 1 + keylen 6119 } 6120 6121 print line 6122} 6123 6124_ACAWK 6125_ACEOF 6126cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6127if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6128 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6129else 6130 cat 6131fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 6132 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 6133$as_echo "$as_me: error: could not setup config files machinery" >&2;} 6134 { (exit 1); exit 1; }; } 6135_ACEOF 6136 6137# VPATH may cause trouble with some makes, so we remove $(srcdir), 6138# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6139# trailing colons and then remove the whole line if VPATH becomes empty 6140# (actually we leave an empty line to preserve line numbers). 6141if test "x$srcdir" = x.; then 6142 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6143s/:*\$(srcdir):*/:/ 6144s/:*\${srcdir}:*/:/ 6145s/:*@srcdir@:*/:/ 6146s/^\([^=]*=[ ]*\):*/\1/ 6147s/:*$// 6148s/^[^=]*=[ ]*$// 6149}' 6150fi 6151 6152cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6153fi # test -n "$CONFIG_FILES" 6154 6155# Set up the scripts for CONFIG_HEADERS section. 6156# No need to generate them if there are no CONFIG_HEADERS. 6157# This happens for instance with `./config.status Makefile'. 6158if test -n "$CONFIG_HEADERS"; then 6159cat >"$tmp/defines.awk" <<\_ACAWK || 6160BEGIN { 6161_ACEOF 6162 6163# Transform confdefs.h into an awk script `defines.awk', embedded as 6164# here-document in config.status, that substitutes the proper values into 6165# config.h.in to produce config.h. 6166 6167# Create a delimiter string that does not exist in confdefs.h, to ease 6168# handling of long lines. 6169ac_delim='%!_!# ' 6170for ac_last_try in false false :; do 6171 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 6172 if test -z "$ac_t"; then 6173 break 6174 elif $ac_last_try; then 6175 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 6176$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 6177 { (exit 1); exit 1; }; } 6178 else 6179 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6180 fi 6181done 6182 6183# For the awk script, D is an array of macro values keyed by name, 6184# likewise P contains macro parameters if any. Preserve backslash 6185# newline sequences. 6186 6187ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 6188sed -n ' 6189s/.\{148\}/&'"$ac_delim"'/g 6190t rset 6191:rset 6192s/^[ ]*#[ ]*define[ ][ ]*/ / 6193t def 6194d 6195:def 6196s/\\$// 6197t bsnl 6198s/["\\]/\\&/g 6199s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6200D["\1"]=" \3"/p 6201s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 6202d 6203:bsnl 6204s/["\\]/\\&/g 6205s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6206D["\1"]=" \3\\\\\\n"\\/p 6207t cont 6208s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 6209t cont 6210d 6211:cont 6212n 6213s/.\{148\}/&'"$ac_delim"'/g 6214t clear 6215:clear 6216s/\\$// 6217t bsnlc 6218s/["\\]/\\&/g; s/^/"/; s/$/"/p 6219d 6220:bsnlc 6221s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 6222b cont 6223' <confdefs.h | sed ' 6224s/'"$ac_delim"'/"\\\ 6225"/g' >>$CONFIG_STATUS || ac_write_fail=1 6226 6227cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6228 for (key in D) D_is_set[key] = 1 6229 FS = "" 6230} 6231/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 6232 line = \$ 0 6233 split(line, arg, " ") 6234 if (arg[1] == "#") { 6235 defundef = arg[2] 6236 mac1 = arg[3] 6237 } else { 6238 defundef = substr(arg[1], 2) 6239 mac1 = arg[2] 6240 } 6241 split(mac1, mac2, "(") #) 6242 macro = mac2[1] 6243 prefix = substr(line, 1, index(line, defundef) - 1) 6244 if (D_is_set[macro]) { 6245 # Preserve the white space surrounding the "#". 6246 print prefix "define", macro P[macro] D[macro] 6247 next 6248 } else { 6249 # Replace #undef with comments. This is necessary, for example, 6250 # in the case of _POSIX_SOURCE, which is predefined and required 6251 # on some systems where configure will not decide to define it. 6252 if (defundef == "undef") { 6253 print "/*", prefix defundef, macro, "*/" 6254 next 6255 } 6256 } 6257} 6258{ print } 6259_ACAWK 6260_ACEOF 6261cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6262 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 6263$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 6264 { (exit 1); exit 1; }; } 6265fi # test -n "$CONFIG_HEADERS" 6266 6267 6268eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 6269shift 6270for ac_tag 6271do 6272 case $ac_tag in 6273 :[FHLC]) ac_mode=$ac_tag; continue;; 6274 esac 6275 case $ac_mode$ac_tag in 6276 :[FHL]*:*);; 6277 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 6278$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 6279 { (exit 1); exit 1; }; };; 6280 :[FH]-) ac_tag=-:-;; 6281 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6282 esac 6283 ac_save_IFS=$IFS 6284 IFS=: 6285 set x $ac_tag 6286 IFS=$ac_save_IFS 6287 shift 6288 ac_file=$1 6289 shift 6290 6291 case $ac_mode in 6292 :L) ac_source=$1;; 6293 :[FH]) 6294 ac_file_inputs= 6295 for ac_f 6296 do 6297 case $ac_f in 6298 -) ac_f="$tmp/stdin";; 6299 *) # Look for the file first in the build tree, then in the source tree 6300 # (if the path is not absolute). The absolute path cannot be DOS-style, 6301 # because $ac_f cannot contain `:'. 6302 test -f "$ac_f" || 6303 case $ac_f in 6304 [\\/$]*) false;; 6305 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6306 esac || 6307 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 6308$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 6309 { (exit 1); exit 1; }; };; 6310 esac 6311 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6312 ac_file_inputs="$ac_file_inputs '$ac_f'" 6313 done 6314 6315 # Let's still pretend it is `configure' which instantiates (i.e., don't 6316 # use $as_me), people would be surprised to read: 6317 # /* config.h. Generated by config.status. */ 6318 configure_input='Generated from '` 6319 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6320 `' by configure.' 6321 if test x"$ac_file" != x-; then 6322 configure_input="$ac_file. $configure_input" 6323 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 6324$as_echo "$as_me: creating $ac_file" >&6;} 6325 fi 6326 # Neutralize special characters interpreted by sed in replacement strings. 6327 case $configure_input in #( 6328 *\&* | *\|* | *\\* ) 6329 ac_sed_conf_input=`$as_echo "$configure_input" | 6330 sed 's/[\\\\&|]/\\\\&/g'`;; #( 6331 *) ac_sed_conf_input=$configure_input;; 6332 esac 6333 6334 case $ac_tag in 6335 *:-:* | *:-) cat >"$tmp/stdin" \ 6336 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6337$as_echo "$as_me: error: could not create $ac_file" >&2;} 6338 { (exit 1); exit 1; }; } ;; 6339 esac 6340 ;; 6341 esac 6342 6343 ac_dir=`$as_dirname -- "$ac_file" || 6344$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6345 X"$ac_file" : 'X\(//\)[^/]' \| \ 6346 X"$ac_file" : 'X\(//\)$' \| \ 6347 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6348$as_echo X"$ac_file" | 6349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6350 s//\1/ 6351 q 6352 } 6353 /^X\(\/\/\)[^/].*/{ 6354 s//\1/ 6355 q 6356 } 6357 /^X\(\/\/\)$/{ 6358 s//\1/ 6359 q 6360 } 6361 /^X\(\/\).*/{ 6362 s//\1/ 6363 q 6364 } 6365 s/.*/./; q'` 6366 { as_dir="$ac_dir" 6367 case $as_dir in #( 6368 -*) as_dir=./$as_dir;; 6369 esac 6370 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6371 as_dirs= 6372 while :; do 6373 case $as_dir in #( 6374 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6375 *) as_qdir=$as_dir;; 6376 esac 6377 as_dirs="'$as_qdir' $as_dirs" 6378 as_dir=`$as_dirname -- "$as_dir" || 6379$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6380 X"$as_dir" : 'X\(//\)[^/]' \| \ 6381 X"$as_dir" : 'X\(//\)$' \| \ 6382 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6383$as_echo X"$as_dir" | 6384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6385 s//\1/ 6386 q 6387 } 6388 /^X\(\/\/\)[^/].*/{ 6389 s//\1/ 6390 q 6391 } 6392 /^X\(\/\/\)$/{ 6393 s//\1/ 6394 q 6395 } 6396 /^X\(\/\).*/{ 6397 s//\1/ 6398 q 6399 } 6400 s/.*/./; q'` 6401 test -d "$as_dir" && break 6402 done 6403 test -z "$as_dirs" || eval "mkdir $as_dirs" 6404 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6405$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 6406 { (exit 1); exit 1; }; }; } 6407 ac_builddir=. 6408 6409case "$ac_dir" in 6410.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6411*) 6412 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 6413 # A ".." for each directory in $ac_dir_suffix. 6414 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 6415 case $ac_top_builddir_sub in 6416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6418 esac ;; 6419esac 6420ac_abs_top_builddir=$ac_pwd 6421ac_abs_builddir=$ac_pwd$ac_dir_suffix 6422# for backward compatibility: 6423ac_top_builddir=$ac_top_build_prefix 6424 6425case $srcdir in 6426 .) # We are building in place. 6427 ac_srcdir=. 6428 ac_top_srcdir=$ac_top_builddir_sub 6429 ac_abs_top_srcdir=$ac_pwd ;; 6430 [\\/]* | ?:[\\/]* ) # Absolute name. 6431 ac_srcdir=$srcdir$ac_dir_suffix; 6432 ac_top_srcdir=$srcdir 6433 ac_abs_top_srcdir=$srcdir ;; 6434 *) # Relative name. 6435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6436 ac_top_srcdir=$ac_top_build_prefix$srcdir 6437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6438esac 6439ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6440 6441 6442 case $ac_mode in 6443 :F) 6444 # 6445 # CONFIG_FILE 6446 # 6447 6448_ACEOF 6449 6450cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6451# If the template does not know about datarootdir, expand it. 6452# FIXME: This hack should be removed a few years after 2.60. 6453ac_datarootdir_hack=; ac_datarootdir_seen= 6454 6455ac_sed_dataroot=' 6456/datarootdir/ { 6457 p 6458 q 6459} 6460/@datadir@/p 6461/@docdir@/p 6462/@infodir@/p 6463/@localedir@/p 6464/@mandir@/p 6465' 6466case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6467*datarootdir*) ac_datarootdir_seen=yes;; 6468*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6469 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6470$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6471_ACEOF 6472cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6473 ac_datarootdir_hack=' 6474 s&@datadir@&$datadir&g 6475 s&@docdir@&$docdir&g 6476 s&@infodir@&$infodir&g 6477 s&@localedir@&$localedir&g 6478 s&@mandir@&$mandir&g 6479 s&\\\${datarootdir}&$datarootdir&g' ;; 6480esac 6481_ACEOF 6482 6483# Neutralize VPATH when `$srcdir' = `.'. 6484# Shell code in configure.ac might set extrasub. 6485# FIXME: do we really want to maintain this feature? 6486cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6487ac_sed_extra="$ac_vpsub 6488$extrasub 6489_ACEOF 6490cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6491:t 6492/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6493s|@configure_input@|$ac_sed_conf_input|;t t 6494s&@top_builddir@&$ac_top_builddir_sub&;t t 6495s&@top_build_prefix@&$ac_top_build_prefix&;t t 6496s&@srcdir@&$ac_srcdir&;t t 6497s&@abs_srcdir@&$ac_abs_srcdir&;t t 6498s&@top_srcdir@&$ac_top_srcdir&;t t 6499s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6500s&@builddir@&$ac_builddir&;t t 6501s&@abs_builddir@&$ac_abs_builddir&;t t 6502s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6503$ac_datarootdir_hack 6504" 6505eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 6506 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6507$as_echo "$as_me: error: could not create $ac_file" >&2;} 6508 { (exit 1); exit 1; }; } 6509 6510test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6511 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6512 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6513 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6514which seems to be undefined. Please make sure it is defined." >&5 6515$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6516which seems to be undefined. Please make sure it is defined." >&2;} 6517 6518 rm -f "$tmp/stdin" 6519 case $ac_file in 6520 -) cat "$tmp/out" && rm -f "$tmp/out";; 6521 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 6522 esac \ 6523 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6524$as_echo "$as_me: error: could not create $ac_file" >&2;} 6525 { (exit 1); exit 1; }; } 6526 ;; 6527 :H) 6528 # 6529 # CONFIG_HEADER 6530 # 6531 if test x"$ac_file" != x-; then 6532 { 6533 $as_echo "/* $configure_input */" \ 6534 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 6535 } >"$tmp/config.h" \ 6536 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6537$as_echo "$as_me: error: could not create $ac_file" >&2;} 6538 { (exit 1); exit 1; }; } 6539 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 6540 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6541$as_echo "$as_me: $ac_file is unchanged" >&6;} 6542 else 6543 rm -f "$ac_file" 6544 mv "$tmp/config.h" "$ac_file" \ 6545 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6546$as_echo "$as_me: error: could not create $ac_file" >&2;} 6547 { (exit 1); exit 1; }; } 6548 fi 6549 else 6550 $as_echo "/* $configure_input */" \ 6551 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 6552 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 6553$as_echo "$as_me: error: could not create -" >&2;} 6554 { (exit 1); exit 1; }; } 6555 fi 6556 ;; 6557 6558 6559 esac 6560 6561done # for ac_tag 6562 6563 6564{ (exit 0); exit 0; } 6565_ACEOF 6566chmod +x $CONFIG_STATUS 6567ac_clean_files=$ac_clean_files_save 6568 6569test $ac_write_fail = 0 || 6570 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 6571$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 6572 { (exit 1); exit 1; }; } 6573 6574 6575# configure is writing to config.log, and then calls config.status. 6576# config.status does its own redirection, appending to config.log. 6577# Unfortunately, on DOS this fails, as config.log is still kept open 6578# by configure, so config.status won't be able to write to it; its 6579# output is simply discarded. So we exec the FD to /dev/null, 6580# effectively closing config.log, so it can be properly (re)opened and 6581# appended to by config.status. When coming back to configure, we 6582# need to make the FD available again. 6583if test "$no_create" != yes; then 6584 ac_cs_success=: 6585 ac_config_status_args= 6586 test "$silent" = yes && 6587 ac_config_status_args="$ac_config_status_args --quiet" 6588 exec 5>/dev/null 6589 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6590 exec 5>>config.log 6591 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6592 # would make configure fail if this is the last instruction. 6593 $ac_cs_success || { (exit 1); exit 1; } 6594fi 6595if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6596 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6597$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6598fi 6599 6600