From d71255bdf5f9cc3f100da5f222468f05467c72de Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Tue, 6 Jul 2004 23:56:18 +0000 Subject: [PATCH] Mark as 1.2.11 --- aclocal.m4 | 80 +- configure | 3175 +++++++++++++++------------------------------- configure-libafs | 545 ++++---- 3 files changed, 1342 insertions(+), 2458 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 2e8439236..f75995414 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,6 +1,6 @@ -dnl aclocal.m4 generated automatically by aclocal 1.4-p4 +dnl aclocal.m4 generated automatically by aclocal 1.4-p6 -dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -770,7 +770,7 @@ AC_SUBST(IRIX_BUILD_IP35) ]) -# lib-prefix.m4 serial 3 (gettext-0.12.2) +# lib-prefix.m4 serial 3 (gettext-0.13) dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General @@ -1478,7 +1478,7 @@ AC_DEFUN([AC_LIB_APPENDTOVAR], done ]) -# lib-ld.m4 serial 2 (gettext-0.12) +# lib-ld.m4 serial 3 (gettext-0.13) dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General @@ -1494,11 +1494,12 @@ dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, [# I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then - acl_cv_prog_gnu_ld=yes -else - acl_cv_prog_gnu_ld=no -fi]) +case `$LD -v 2>&1 &1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac fi done IFS="$ac_save_ifs" @@ -1619,14 +1621,14 @@ AC_DEFUN([AC_ISC_POSIX], dnl AM_PROG_LEX dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT -AC_DEFUN(AM_PROG_LEX, +AC_DEFUN([AM_PROG_LEX], [missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1) -AC_CHECK_PROGS(LEX, flex lex, "$missing_dir/missing flex") +AC_CHECK_PROGS(LEX, flex lex, $missing_dir/missing flex) AC_PROG_LEX AC_DECL_YYTEXT]) dnl -dnl $Id: aclocal.m4,v 1.18 2003/07/30 17:54:49 hartmans Exp $ +dnl $Id: bigendian.m4,v 1.1 2001/07/05 01:05:14 hartmans Exp $ dnl dnl check if this computer is little or big-endian @@ -2385,10 +2387,10 @@ res_init(); */ r = res_search( host, C_IN, T_MX, (u_char *)&ans, sizeof(ans)); return 0; -res_close(); ], ac_cv_func_res_search=yes) ]) + # Do all the work for Automake. This macro actually does too much -- # some checks are only needed if your package does certain things. # But this isn't really a big deal. @@ -2398,8 +2400,9 @@ res_close(); dnl Usage: dnl AM_INIT_AUTOMAKE(package,version, [no-define]) -AC_DEFUN(AM_INIT_AUTOMAKE, -[AC_REQUIRE([AC_PROG_INSTALL]) +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL]) PACKAGE=[$1] AC_SUBST(PACKAGE) VERSION=[$2] @@ -2415,18 +2418,47 @@ AC_REQUIRE([AM_SANITY_CHECK]) AC_REQUIRE([AC_ARG_PROGRAM]) dnl FIXME This is truly gross. missing_dir=`cd $ac_aux_dir && pwd` -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_REQUIRE([AC_PROG_MAKE_SET])]) +# Copyright 2002 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"]) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION so it can be traced. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], + [AM_AUTOMAKE_VERSION([1.4-p6])]) + # # Check to make sure that the build environment is sane. # -AC_DEFUN(AM_SANITY_CHECK, +AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 @@ -2467,7 +2499,7 @@ AC_MSG_RESULT(yes)]) dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) dnl The program must properly implement --version. -AC_DEFUN(AM_MISSING_PROG, +AC_DEFUN([AM_MISSING_PROG], [AC_MSG_CHECKING(for working $2) # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. diff --git a/configure b/configure index 07fe1fb7c..ddce1a38c 100755 --- a/configure +++ b/configure @@ -22,8 +22,6 @@ ac_help="$ac_help --disable-afsdb disable AFSDB RR support" ac_help="$ac_help --enable-bos-restricted-mode enable bosserver restricted mode which disables certain bosserver functionality" -ac_help="$ac_help - --enable-bos-new-config enable bosserver pickup of BosConfig.new on restarts" ac_help="$ac_help --enable-namei-fileserver force compilation of namei fileserver in preference to inode fileserver" ac_help="$ac_help @@ -44,10 +42,6 @@ ac_help="$ac_help --enable-redhat-buildsys enable compilation of the redhat build system kernel (defaults to disabled)" ac_help="$ac_help --enable-transarc-paths Use Transarc style paths like /usr/afs and /usr/vice" -ac_help="$ac_help - --enable-tivoli-tsm Enable use of the Tivoli TSM API libraries for butc support" -ac_help="$ac_help - --enable-debug-kernel enable compilation of the kernel module with debugging information (defaults to disabled)" ac_help="$ac_help --enable-bigendian the target is big endian" ac_help="$ac_help @@ -581,6 +575,7 @@ ac_config_guess=$ac_aux_dir/config.guess ac_config_sub=$ac_aux_dir/config.sub ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. +am__api_version="1.4" # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: @@ -593,7 +588,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:597: checking for a BSD compatible install" >&5 +echo "configure:592: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -646,7 +641,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:650: checking whether build environment is sane" >&5 +echo "configure:645: checking whether build environment is sane" >&5 # Just in case sleep 1 echo timestamp > conftestfile @@ -703,7 +698,7 @@ test "$program_suffix" != NONE && test "$program_transform_name" = "" && program_transform_name="s,x,x," echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:707: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:702: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -732,7 +727,7 @@ fi PACKAGE=openafs -VERSION=1.2.10 +VERSION=1.2.11 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } @@ -748,21 +743,21 @@ EOF missing_dir=`cd $ac_aux_dir && pwd` -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 -echo "configure:753: checking for working aclocal" >&5 +echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 +echo "configure:748: checking for working aclocal-${am__api_version}" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. -if (aclocal --version) < /dev/null > /dev/null 2>&1; then - ACLOCAL=aclocal +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then + ACLOCAL=aclocal-${am__api_version} echo "$ac_t""found" 1>&6 else - ACLOCAL="$missing_dir/missing aclocal" + ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:766: checking for working autoconf" >&5 +echo "configure:761: checking for working autoconf" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -774,21 +769,21 @@ else echo "$ac_t""missing" 1>&6 fi -echo $ac_n "checking for working automake""... $ac_c" 1>&6 -echo "configure:779: checking for working automake" >&5 +echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 +echo "configure:774: checking for working automake-${am__api_version}" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. -if (automake --version) < /dev/null > /dev/null 2>&1; then - AUTOMAKE=automake +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then + AUTOMAKE=automake-${am__api_version} echo "$ac_t""found" 1>&6 else - AUTOMAKE="$missing_dir/missing automake" + AUTOMAKE="$missing_dir/missing automake-${am__api_version}" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:792: checking for working autoheader" >&5 +echo "configure:787: checking for working autoheader" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -801,7 +796,7 @@ else fi echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:805: checking for working makeinfo" >&5 +echo "configure:800: checking for working makeinfo" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -815,11 +810,149 @@ fi +# Make sure we can run config.sub. +if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : +else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } +fi + +echo $ac_n "checking host system type""... $ac_c" 1>&6 +echo "configure:820: checking host system type" >&5 + +host_alias=$host +case "$host_alias" in +NONE) + case $nonopt in + NONE) + if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : + else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } + fi ;; + *) host_alias=$nonopt ;; + esac ;; +esac + +host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` +host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +echo "$ac_t""$host" 1>&6 + + + +#BOZO_SAVE_CORES BOS_RESTRICTED_MODE BOS_NEW_CONFIG pam sia +# Check whether --with-afs-sysname or --without-afs-sysname was given. +if test "${with_afs_sysname+set}" = set; then + withval="$with_afs_sysname" + : +fi + +# Check whether --enable-obsolete or --disable-obsolete was given. +if test "${enable_obsolete+set}" = set; then + enableval="$enable_obsolete" + : +else + enable_obsolete="no" +fi + +# Check whether --enable-insecure or --disable-insecure was given. +if test "${enable_insecure+set}" = set; then + enableval="$enable_insecure" + : +else + enable_insecure="no" +fi + +# Check whether --enable-afsdb or --disable-afsdb was given. +if test "${enable_afsdb+set}" = set; then + enableval="$enable_afsdb" + : +else + enable_afsdb="yes" +fi + +# Check whether --enable-bos-restricted-mode or --disable-bos-restricted-mode was given. +if test "${enable_bos_restricted_mode+set}" = set; then + enableval="$enable_bos_restricted_mode" + : +else + enable_bos_restricted_mode="no" +fi + +# Check whether --enable-namei-fileserver or --disable-namei-fileserver was given. +if test "${enable_namei_fileserver+set}" = set; then + enableval="$enable_namei_fileserver" + : +else + enable_namei_fileserver="no" +fi + +# Check whether --enable-fast-restart or --disable-fast-restart was given. +if test "${enable_fast_restart+set}" = set; then + enableval="$enable_fast_restart" + : +else + enable_fast_restart="no" +fi + +# Check whether --enable-bitmap-later or --disable-bitmap-later was given. +if test "${enable_bitmap_later+set}" = set; then + enableval="$enable_bitmap_later" + : +else + enable_bitmap_later="no" +fi + +# Check whether --enable-full-vos-listvol-switch or --disable-full-vos-listvol-switch was given. +if test "${enable_full_vos_listvol_switch+set}" = set; then + enableval="$enable_full_vos_listvol_switch" + : +else + enable_full_vos_listvol_switch="no" +fi + +# Check whether --with-dux-kernel-headers or --without-dux-kernel-headers was given. +if test "${with_dux_kernel_headers+set}" = set; then + withval="$with_dux_kernel_headers" + : +fi + +# Check whether --with-linux-kernel-headers or --without-linux-kernel-headers was given. +if test "${with_linux_kernel_headers+set}" = set; then + withval="$with_linux_kernel_headers" + : +fi + +# Check whether --enable-kernel-module or --disable-kernel-module was given. +if test "${enable_kernel_module+set}" = set; then + enableval="$enable_kernel_module" + : +else + enable_kernel_module="yes" + +fi + +# Check whether --enable-redhat-buildsys or --disable-redhat-buildsys was given. +if test "${enable_redhat_buildsys+set}" = set; then + enableval="$enable_redhat_buildsys" + : +else + enable_redhat_buildsys="no" + +fi + +# Check whether --enable-transarc-paths or --disable-transarc-paths was given. +if test "${enable_transarc_paths+set}" = set; then + enableval="$enable_transarc_paths" + : +else + enable_transarc_paths="no" + +fi + # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:823: checking for $ac_word" >&5 +echo "configure:956: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -849,7 +982,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:853: checking for $ac_word" >&5 +echo "configure:986: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -900,7 +1033,7 @@ fi # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:904: checking for $ac_word" >&5 +echo "configure:1037: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -932,7 +1065,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:936: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:1069: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -943,12 +1076,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 947 "configure" +#line 1080 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -974,12 +1107,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:978: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1111: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:983: checking whether we are using GNU C" >&5 +echo "configure:1116: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -988,7 +1121,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1007,7 +1140,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1011: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:1144: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1038,8 +1171,9 @@ else fi fi + echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1043: checking how to run the C preprocessor" >&5 +echo "configure:1177: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1054,13 +1188,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1071,13 +1205,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1088,13 +1222,13 @@ else rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1118,416 +1252,363 @@ else fi echo "$ac_t""$CPP" 1>&6 -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1123: checking for ANSI C header files" >&5 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <&6 +echo "configure:1257: checking for AIX" >&5 +cat > conftest.$ac_ext < -#include -#include -#include +#ifdef _AIX + yes +#endif + EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "yes" >/dev/null 2>&1; then rm -rf conftest* - ac_cv_header_stdc=yes + echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF +#define _ALL_SOURCE 1 +EOF + else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_header_stdc=no + echo "$ac_t""no" 1>&6 fi rm -f conftest* -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + + + echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 +echo "configure:1282: checking for strerror in -lcposix" >&5 +ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lcposix $LIBS" cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char strerror(); + +int main() { +strerror() +; return 0; } EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then - : +if { (eval echo configure:1301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_header_stdc=no + eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* +LIBS="$ac_save_LIBS" fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then - : +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + LIBS="$LIBS -lcposix" else - rm -rf conftest* - ac_cv_header_stdc=no + echo "$ac_t""no" 1>&6 fi -rm -f conftest* -fi + -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -if test "$cross_compiling" = yes; then - : +ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 +echo "configure:1325: checking for minix/config.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int main () { int i; for (i = 0; i < 256; i++) -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); -exit (0); } - +#include EOF -if { (eval echo configure:1203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - : +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" else + echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - rm -fr conftest* - ac_cv_header_stdc=no -fi -rm -fr conftest* -fi - + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" fi +rm -f conftest* fi - -echo "$ac_t""$ac_cv_header_stdc" 1>&6 -if test $ac_cv_header_stdc = yes; then +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + MINIX=yes +else + echo "$ac_t""no" 1>&6 +MINIX= +fi + +if test "$MINIX" = yes; then cat >> confdefs.h <<\EOF -#define STDC_HEADERS 1 +#define _POSIX_SOURCE 1 EOF -fi + cat >> confdefs.h <<\EOF +#define _POSIX_1_SOURCE 2 +EOF + cat >> confdefs.h <<\EOF +#define _MINIX 1 +EOF +fi -# Make sure we can run config.sub. -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } +echo $ac_n "checking for inline""... $ac_c" 1>&6 +echo "configure:1374: checking for inline" >&5 +if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_c_inline=$ac_kw; break +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 fi +rm -f conftest* +done -echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:1235: checking host system type" >&5 +fi -host_alias=$host -case "$host_alias" in -NONE) - case $nonopt in - NONE) - if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : - else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } - fi ;; - *) host_alias=$nonopt ;; - esac ;; +echo "$ac_t""$ac_cv_c_inline" 1>&6 +case "$ac_cv_c_inline" in + inline | yes) ;; + no) cat >> confdefs.h <<\EOF +#define inline +EOF + ;; + *) cat >> confdefs.h <&6 +echo $ac_n "checking for working const""... $ac_c" 1>&6 +echo "configure:1414: checking for working const" >&5 +if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <j = 5; +} +{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; +} -# Check whether --enable-obsolete or --disable-obsolete was given. -if test "${enable_obsolete+set}" = set; then - enableval="$enable_obsolete" - : +; return 0; } +EOF +if { (eval echo configure:1468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_c_const=yes else - enable_obsolete="no" + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_c_const=no fi - -# Check whether --enable-insecure or --disable-insecure was given. -if test "${enable_insecure+set}" = set; then - enableval="$enable_insecure" - : -else - enable_insecure="no" +rm -f conftest* fi -# Check whether --enable-afsdb or --disable-afsdb was given. -if test "${enable_afsdb+set}" = set; then - enableval="$enable_afsdb" - : -else - enable_afsdb="yes" -fi +echo "$ac_t""$ac_cv_c_const" 1>&6 +if test $ac_cv_c_const = no; then + cat >> confdefs.h <<\EOF +#define const +EOF -# Check whether --enable-bos-restricted-mode or --disable-bos-restricted-mode was given. -if test "${enable_bos_restricted_mode+set}" = set; then - enableval="$enable_bos_restricted_mode" - : -else - enable_bos_restricted_mode="no" fi -# Check whether --enable-bos-new-config or --disable-bos-new-config was given. -if test "${enable_bos_new_config+set}" = set; then - enableval="$enable_bos_new_config" - : +echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 +echo "configure:1489: checking for ANSI C header files" >&5 +if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - enable_bos_new_config="no" -fi - -# Check whether --enable-namei-fileserver or --disable-namei-fileserver was given. -if test "${enable_namei_fileserver+set}" = set; then - enableval="$enable_namei_fileserver" - : + cat > conftest.$ac_ext < +#include +#include +#include +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + ac_cv_header_stdc=yes else - enable_namei_fileserver="no" + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_stdc=no fi +rm -f conftest* -# Check whether --enable-fast-restart or --disable-fast-restart was given. -if test "${enable_fast_restart+set}" = set; then - enableval="$enable_fast_restart" +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. +cat > conftest.$ac_ext < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "memchr" >/dev/null 2>&1; then : else - enable_fast_restart="no" + rm -rf conftest* + ac_cv_header_stdc=no fi +rm -f conftest* -# Check whether --enable-bitmap-later or --disable-bitmap-later was given. -if test "${enable_bitmap_later+set}" = set; then - enableval="$enable_bitmap_later" - : -else - enable_bitmap_later="no" fi -# Check whether --enable-full-vos-listvol-switch or --disable-full-vos-listvol-switch was given. -if test "${enable_full_vos_listvol_switch+set}" = set; then - enableval="$enable_full_vos_listvol_switch" +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. +cat > conftest.$ac_ext < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "free" >/dev/null 2>&1; then : else - enable_full_vos_listvol_switch="no" -fi - -# Check whether --with-dux-kernel-headers or --without-dux-kernel-headers was given. -if test "${with_dux_kernel_headers+set}" = set; then - withval="$with_dux_kernel_headers" - : + rm -rf conftest* + ac_cv_header_stdc=no fi +rm -f conftest* -# Check whether --with-linux-kernel-headers or --without-linux-kernel-headers was given. -if test "${with_linux_kernel_headers+set}" = set; then - withval="$with_linux_kernel_headers" - : fi -# Check whether --enable-kernel-module or --disable-kernel-module was given. -if test "${enable_kernel_module+set}" = set; then - enableval="$enable_kernel_module" +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. +if test "$cross_compiling" = yes; then : else - enable_kernel_module="yes" - -fi + cat > conftest.$ac_ext < +#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int main () { int i; for (i = 0; i < 256; i++) +if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); +exit (0); } -# Check whether --enable-redhat-buildsys or --disable-redhat-buildsys was given. -if test "${enable_redhat_buildsys+set}" = set; then - enableval="$enable_redhat_buildsys" +EOF +if { (eval echo configure:1569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then : else - enable_redhat_buildsys="no" - + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_header_stdc=no fi - -# Check whether --enable-transarc-paths or --disable-transarc-paths was given. -if test "${enable_transarc_paths+set}" = set; then - enableval="$enable_transarc_paths" - : -else - enable_transarc_paths="no" - +rm -fr conftest* fi -# Check whether --enable-tivoli-tsm or --disable-tivoli-tsm was given. -if test "${enable_tivoli_tsm+set}" = set; then - enableval="$enable_tivoli_tsm" - : -else - enable_tivoli_tsm="no" - +fi fi -# Check whether --enable-debug-kernel or --disable-debug-kernel was given. -if test "${enable_debug_kernel+set}" = set; then - enableval="$enable_debug_kernel" - : -else - enable_debug_kernel="no" +echo "$ac_t""$ac_cv_header_stdc" 1>&6 +if test $ac_cv_header_stdc = yes; then + cat >> confdefs.h <<\EOF +#define STDC_HEADERS 1 +EOF fi - -echo $ac_n "checking for AIX""... $ac_c" 1>&6 -echo "configure:1395: checking for AIX" >&5 -cat > conftest.$ac_ext <&6 +echo "configure:1593: checking for pid_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if STDC_HEADERS +#include +#include #endif - EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "yes" >/dev/null 2>&1; then + egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* - echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF -#define _ALL_SOURCE 1 -EOF - + ac_cv_type_pid_t=yes else rm -rf conftest* - echo "$ac_t""no" 1>&6 -fi -rm -f conftest* - - - - echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 -echo "configure:1420: checking for strerror in -lcposix" >&5 -ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lcposix $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - LIBS="$LIBS -lcposix" -else - echo "$ac_t""no" 1>&6 -fi - - - -ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 -echo "configure:1463: checking for minix/config.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` -if test -z "$ac_err"; then - rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" -else - echo "$ac_err" >&5 - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&6 - MINIX=yes -else - echo "$ac_t""no" 1>&6 -MINIX= -fi - -if test "$MINIX" = yes; then - cat >> confdefs.h <<\EOF -#define _POSIX_SOURCE 1 -EOF - - cat >> confdefs.h <<\EOF -#define _POSIX_1_SOURCE 2 -EOF - - cat >> confdefs.h <<\EOF -#define _MINIX 1 -EOF - -fi - - -echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:1512: checking for pid_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_pid_t=yes -else - rm -rf conftest* - ac_cv_type_pid_t=no + ac_cv_type_pid_t=no fi rm -f conftest* @@ -1541,12 +1622,12 @@ EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:1545: checking for size_t" >&5 +echo "configure:1626: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1574,12 +1655,12 @@ EOF fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:1578: checking return type of signal handlers" >&5 +echo "configure:1659: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1596,7 +1677,7 @@ int main() { int i; ; return 0; } EOF -if { (eval echo configure:1600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -1627,7 +1708,7 @@ EOF # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:1631: checking for a BSD compatible install" >&5 +echo "configure:1712: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1680,7 +1761,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:1684: checking whether ln -s works" >&5 +echo "configure:1765: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1703,7 +1784,7 @@ fi # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1707: checking for $ac_word" >&5 +echo "configure:1788: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1735,7 +1816,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1739: checking for $ac_word" >&5 +echo "configure:1820: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1771,7 +1852,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1775: checking for $ac_word" >&5 +echo "configure:1856: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1799,12 +1880,12 @@ fi test -n "$LEX" && break done -test -n "$LEX" || LEX=""$missing_dir/missing flex"" +test -n "$LEX" || LEX="$missing_dir/missing flex" # Extract the first word of "flex", so it can be a program name with args. set dummy flex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1808: checking for $ac_word" >&5 +echo "configure:1889: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1838,7 +1919,7 @@ then *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 -echo "configure:1842: checking for yywrap in -l$ac_lib" >&5 +echo "configure:1923: checking for yywrap in -l$ac_lib" >&5 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1846,7 +1927,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l$ac_lib $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1880,7 +1961,7 @@ fi fi echo $ac_n "checking lex output file root""... $ac_c" 1>&6 -echo "configure:1884: checking lex output file root" >&5 +echo "configure:1965: checking lex output file root" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1901,7 +1982,7 @@ echo "$ac_t""$ac_cv_prog_lex_root" 1>&6 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 -echo "configure:1905: checking whether yytext is a pointer" >&5 +echo "configure:1986: checking whether yytext is a pointer" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1913,14 +1994,14 @@ echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c ac_save_LIBS="$LIBS" LIBS="$LIBS $LEXLIB" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_prog_lex_yytext_pointer=yes else @@ -1941,6 +2022,48 @@ EOF fi +# Extract the first word of "perl", so it can be a program name with args. +set dummy perl; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:2029: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + case "$PERL" in + /*) + ac_cv_path_PERL="$PERL" # Let the user override the test with a path. + ;; + ?:/*) + ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_PERL="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no" + ;; +esac +fi +PERL="$ac_cv_path_PERL" +if test -n "$PERL"; then + echo "$ac_t""$PERL" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + +if "x$PERL" = "xno" ; then + PERL_INSTALL=noperl + else + PERL_INSTALL=perl +fi + # Check whether --enable-bigendian or --disable-bigendian was given. @@ -1955,1388 +2078,534 @@ if test "${enable_littleendian+set}" = set; then openafs_cv_c_bigendian=no fi -echo $ac_n "checking whether byte order is known at compile time""... $ac_c" 1>&6 -echo "configure:1960: checking whether byte order is known at compile time" >&5 -if eval "test \"`echo '$''{'openafs_cv_c_bigendian_compile'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#include -int main() { - -#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN - bogus endian macros -#endif -; return 0; } -EOF -if { (eval echo configure:1977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - openafs_cv_c_bigendian_compile=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - openafs_cv_c_bigendian_compile=no -fi -rm -f conftest* -fi - -echo "$ac_t""$openafs_cv_c_bigendian_compile" 1>&6 -echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:1991: checking whether byte ordering is bigendian" >&5 -if eval "test \"`echo '$''{'openafs_cv_c_bigendian'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - - if test "$openafs_cv_c_bigendian_compile" = "yes"; then - cat > conftest.$ac_ext < -#include -int main() { - -#if BYTE_ORDER != BIG_ENDIAN - not big endian -#endif -; return 0; } -EOF -if { (eval echo configure:2010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - openafs_cv_c_bigendian=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - openafs_cv_c_bigendian=no -fi -rm -f conftest* - else - if test "$cross_compiling" = yes; then - { echo "configure: error: specify either --enable-bigendian or --enable-littleendian" 1>&2; exit 1; } -else - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - openafs_cv_c_bigendian=no -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - openafs_cv_c_bigendian=yes -fi -rm -fr conftest* -fi - - fi - -fi - -echo "$ac_t""$openafs_cv_c_bigendian" 1>&6 -if test "$openafs_cv_c_bigendian" = "yes"; then - cat >> confdefs.h <<\EOF -#define WORDS_BIGENDIAN 1 -EOF -fi -if test "$openafs_cv_c_bigendian_compile" = "yes"; then - cat >> confdefs.h <<\EOF -#define ENDIANESS_IN_SYS_PARAM_H 1 -EOF -fi - - -KERN_DEBUG_OPT= -if test "x$enable_debug_kernel" = "xyes"; then - KERN_DEBUG_OPT=-g -fi - -echo $ac_n "checking your OS""... $ac_c" 1>&6 -echo "configure:2073: checking your OS" >&5 -system=$host -case $system in - *-linux*) - MKAFS_OSTYPE=LINUX - if test "x$enable_redhat_buildsys" = "xyes"; then - cat >> confdefs.h <<\EOF -#define ENABLE_REDHAT_BUILDSYS 1 -EOF - - fi - if test "x$enable_kernel_module" = "xyes"; then - if test "x$with_linux_kernel_headers" != "x"; then - LINUX_KERNEL_PATH="$with_linux_kernel_headers" - else - LINUX_KERNEL_PATH="/usr/src/linux-2.4" - if test ! -f "$LINUX_KERNEL_PATH/include/linux/version.h"; then - LINUX_KERNEL_PATH="/usr/src/linux" - fi - fi - if test -f "$LINUX_KERNEL_PATH/include/linux/version.h"; then - linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version.h |awk 'BEGIN { FS="\"" } { print $2 }'|tail -1` - if test "x$linux_kvers" = "x"; then - if test -f "$LINUX_KERNEL_PATH/include/linux/version-up.h"; then - linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version-up.h |awk 'BEGIN { FS="\"" } { print $2 }'|tail -1` - if test "x$linux_kvers" = "x"; then - - { echo "configure: error: Linux headers lack version definition 2" 1>&2; exit 1; } - exit 1 - else - LINUX_VERSION="$linux_kvers" - fi - else - { echo "configure: error: Linux headers lack version definition" 1>&2; exit 1; } - exit 1 - fi - else - LINUX_VERSION="$linux_kvers" - fi - else - enable_kernel_module="no" - fi - if test ! -f "$LINUX_KERNEL_PATH/include/linux/autoconf.h"; then - enable_kernel_module="no" - fi - if test "x$enable_kernel_module" = "xno"; then - if test "x$with_linux_kernel_headers" != "x"; then - { echo "configure: error: No usable linux headers found at $LINUX_KERNEL_PATH" 1>&2; exit 1; } - exit 1 - else - echo "configure: warning: No usable linux headers found at $LINUX_KERNEL_PATH so disabling kernel module" 1>&2 - fi - fi - fi - echo "$ac_t""linux" 1>&6 - if test "x$enable_kernel_module" = "xyes"; then - OMIT_FRAME_POINTER= - if test "x$enable_debug_kernel" = "xno"; then - OMIT_FRAME_POINTER=-fomit-frame-pointer - fi - - -echo $ac_n "checking if $CC accepts -march=pentium""... $ac_c" 1>&6 -echo "configure:2136: checking if $CC accepts -march=pentium" >&5 -save_CFLAGS="$CFLAGS" -CFLAGS="-MARCH=pentium" -if eval "test \"`echo '$''{'openafs_gcc_supports_march'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - openafs_gcc_supports_march=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - openafs_gcc_supports_march=no -fi -rm -f conftest* -fi - -echo "$ac_t""$openafs_gcc_supports_march" 1>&6 -if test x$openafs_gcc_supports_march = xyes; then - P5PLUS_KOPTS="-march=pentium" -else - P5PLUS_KOPTS="-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2" -fi -CFLAGS="$save_CFLAGS" - - - -echo $ac_n "checking if $CC needs -fno-strength-reduce""... $ac_c" 1>&6 -echo "configure:2174: checking if $CC needs -fno-strength-reduce" >&5 -save_CFLAGS="$CFLAGS" -CFLAGS="-fno-strength-reduce" -if eval "test \"`echo '$''{'openafs_gcc_needs_no_strength_reduce'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - openafs_gcc_needs_no_strength_reduce=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - openafs_gcc_needs_no_strength_reduce=no -fi -rm -f conftest* -fi - -echo "$ac_t""$openafs_gcc_needs_no_strength_reduce" 1>&6 -if test x$openafs_gcc_needs_no_strength_reduce = xyes; then - LINUX_GCC_KOPTS="$LINUX_GCC_KOPTS -fno-strength-reduce" -fi -CFLAGS="$save_CFLAGS" - - -echo $ac_n "checking if $CC needs -fno-strict-aliasing""... $ac_c" 1>&6 -echo "configure:2209: checking if $CC needs -fno-strict-aliasing" >&5 -save_CFLAGS="$CFLAGS" -CFLAGS="-fno-strict-aliasing" -if eval "test \"`echo '$''{'openafs_gcc_needs_no_strict_aliasing'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - openafs_gcc_needs_no_strict_aliasing=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - openafs_gcc_needs_no_strict_aliasing=no -fi -rm -f conftest* -fi - -echo "$ac_t""$openafs_gcc_needs_no_strict_aliasing" 1>&6 -if test x$openafs_gcc_needs_no_strict_aliasing = xyes; then - LINUX_GCC_KOPTS="$LINUX_GCC_KOPTS -fno-strict-aliasing" -fi -CFLAGS="$save_CFLAGS" - - -echo $ac_n "checking if $CC supports -fno-common""... $ac_c" 1>&6 -echo "configure:2244: checking if $CC supports -fno-common" >&5 -save_CFLAGS="$CFLAGS" -CFLAGS="-fno-common" -if eval "test \"`echo '$''{'openafs_gcc_supports_no_common'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - openafs_gcc_supports_no_common=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - openafs_gcc_supports_no_common=no -fi -rm -f conftest* -fi - -echo "$ac_t""$openafs_gcc_supports_no_common" 1>&6 -if test x$openafs_gcc_supports_no_common = xyes; then - LINUX_GCC_KOPTS="$LINUX_GCC_KOPTS -fno-common" -fi -CFLAGS="$save_CFLAGS" - - - -echo $ac_n "checking whether to build osi_vfs.h""... $ac_c" 1>&6 -echo "configure:2280: checking whether to build osi_vfs.h" >&5 -configdir=src/config -outputdir=src/afs/LINUX -chmod +x $configdir/make_vnode.pl -$configdir/make_vnode.pl -i $LINUX_KERNEL_PATH -o $outputdir - - - -echo $ac_n "checking for linux/completion.h existance""... $ac_c" 1>&6 -echo "configure:2289: checking for linux/completion.h existance" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_completion_h_exists'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -#include -int main() { -struct completion _c; -#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,8) -lose -#endif - -; return 0; } -EOF -if { (eval echo configure:2309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_completion_h_exists=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_completion_h_exists=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_completion_h_exists" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for defined for_each_process""... $ac_c" 1>&6 -echo "configure:2325: checking for defined for_each_process" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_defines_for_each_process'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -#ifndef for_each_process(p) -#error for_each_process not defined -#endif -; return 0; } -EOF -if { (eval echo configure:2342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_defines_for_each_process=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_defines_for_each_process=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_defines_for_each_process" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for defined prev_task""... $ac_c" 1>&6 -echo "configure:2358: checking for defined prev_task" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_defines_prev_task'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -#ifndef prev_task(p) -#error prev_task not defined -#endif -; return 0; } -EOF -if { (eval echo configure:2375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_defines_prev_task=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_defines_prev_task=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_defines_prev_task" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for exported tasklist_lock""... $ac_c" 1>&6 -echo "configure:2391: checking for exported tasklist_lock" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_exports_tasklist_lock'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -#ifndef __ver_tasklist_lock -#error tasklist_lock not exported -#endif -; return 0; } -EOF -if { (eval echo configure:2408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_exports_tasklist_lock=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_exports_tasklist_lock=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_exports_tasklist_lock" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for page_lock in struct address_space""... $ac_c" 1>&6 -echo "configure:2424: checking for page_lock in struct address_space" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_address_space_has_page_lock'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -struct address_space _a_s; -printf("%x\n", _a_s.page_lock); -; return 0; } -EOF -if { (eval echo configure:2440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_fs_struct_address_space_has_page_lock=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_fs_struct_address_space_has_page_lock=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_fs_struct_address_space_has_page_lock" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for gfp_mask in struct address_space""... $ac_c" 1>&6 -echo "configure:2456: checking for gfp_mask in struct address_space" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_address_space_has_gfp_mask'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -struct address_space _a; -printf("%d\n", _a.gfp_mask); -; return 0; } -EOF -if { (eval echo configure:2472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_fs_struct_address_space_has_gfp_mask=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_fs_struct_address_space_has_gfp_mask=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_fs_struct_address_space_has_gfp_mask" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for i_alloc_sem in struct inode""... $ac_c" 1>&6 -echo "configure:2488: checking for i_alloc_sem in struct inode" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_alloc_sem'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -struct inode _i; -printf("%x\n", _i.i_alloc_sem); -; return 0; } -EOF -if { (eval echo configure:2504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_fs_struct_inode_has_i_alloc_sem=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_fs_struct_inode_has_i_alloc_sem=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_alloc_sem" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for i_truncate_sem in struct inode""... $ac_c" 1>&6 -echo "configure:2520: checking for i_truncate_sem in struct inode" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_truncate_sem'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -struct inode _i; -printf("%x\n", _i.i_truncate_sem); -; return 0; } -EOF -if { (eval echo configure:2536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_fs_struct_inode_has_i_truncate_sem=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_fs_struct_inode_has_i_truncate_sem=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_truncate_sem" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for i_dirty_data_buffers in struct inode""... $ac_c" 1>&6 -echo "configure:2552: checking for i_dirty_data_buffers in struct inode" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -struct inode _inode; -printf("%d\n", _inode.i_dirty_data_buffers); -; return 0; } -EOF -if { (eval echo configure:2568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for i_devices in struct inode""... $ac_c" 1>&6 -echo "configure:2584: checking for i_devices in struct inode" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_cdev'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -struct inode _inode; -printf("%d\n", _inode.i_devices); -; return 0; } -EOF -if { (eval echo configure:2600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_fs_struct_inode_has_i_devices=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_fs_struct_inode_has_i_devices=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_devices" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for inode_setattr return type""... $ac_c" 1>&6 -echo "configure:2616: checking for inode_setattr return type" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_func_inode_setattr_returns_int'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -struct inode _inode; -struct iattr _iattr; -int i; -i = inode_setattr(&_inode, &_iattr); -; return 0; } -EOF -if { (eval echo configure:2634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_func_inode_setattr_returns_int=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_func_inode_setattr_returns_int=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_func_inode_setattr_returns_int" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - - echo $ac_n "checking for linux/syscall.h in kernel""... $ac_c" 1>&6 -echo "configure:2650: checking for linux/syscall.h in kernel" >&5 - if test -f "${LINUX_KERNEL_PATH}/include/linux/syscall.h"; then - ac_linux_syscall=yes - echo "$ac_t""$ac_linux_syscall" 1>&6 - else - ac_linux_syscall=no - echo "$ac_t""$ac_linux_syscall" 1>&6 - fi - - -RHCONFIG_SP="" -RHCONFIG_MP="" -if test "x$enable_redhat_buildsys" = "xyes"; then - echo "configure: warning: Configured to build from a Red Hat SPEC file" 1>&2 -else - echo $ac_n "checking for redhat kernel configuration""... $ac_c" 1>&6 -echo "configure:2666: checking for redhat kernel configuration" >&5 - if test -f "${LINUX_KERNEL_PATH}/include/linux/rhconfig.h"; then - ac_linux_rhconfig=yes - RHCONFIG_SP="-D__BOOT_KERNEL_UP=1 -D__BOOT_KERNEL_SMP=0" - RHCONFIG_MP="-D__BOOT_KERNEL_UP=0 -D__BOOT_KERNEL_SMP=1" - echo "$ac_t""$ac_linux_rhconfig" 1>&6 - if test ! -f "/boot/kernel.h"; then - echo "configure: warning: /boot/kernel.h does not exist. build may fail" 1>&2 - fi - else - ac_linux_rhconfig=no - echo "$ac_t""$ac_linux_rhconfig" 1>&6 - fi -fi - - - - -echo $ac_n "checking for recalc_sigpending arg type""... $ac_c" 1>&6 -echo "configure:2685: checking for recalc_sigpending arg type" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_func_recalc_sigpending_takes_void'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -recalc_sigpending(); -; return 0; } -EOF -if { (eval echo configure:2700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_func_recalc_sigpending_takes_void=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_func_recalc_sigpending_takes_void=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_func_recalc_sigpending_takes_void" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for parent in struct task_struct""... $ac_c" 1>&6 -echo "configure:2716: checking for parent in struct task_struct" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_parent'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -struct task_struct _tsk; -printf("%d\n", _tsk.parent); -; return 0; } -EOF -if { (eval echo configure:2732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_sched_struct_task_struct_has_parent=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_sched_struct_task_struct_has_parent=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_sched_struct_task_struct_has_parent" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for real_parent in struct task_struct""... $ac_c" 1>&6 -echo "configure:2748: checking for real_parent in struct task_struct" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_real_parent'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -struct task_struct _tsk; -printf("%d\n", _tsk.real_parent); -; return 0; } -EOF -if { (eval echo configure:2764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_sched_struct_task_struct_has_real_parent=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_sched_struct_task_struct_has_real_parent=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_sched_struct_task_struct_has_real_parent" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for sig in struct task_struct""... $ac_c" 1>&6 -echo "configure:2780: checking for sig in struct task_struct" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_sig'+set}'`\" = set"; then +echo $ac_n "checking whether byte order is known at compile time""... $ac_c" 1>&6 +echo "configure:2083: checking whether byte order is known at compile time" >&5 +if eval "test \"`echo '$''{'openafs_cv_c_bigendian_compile'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - -cat > conftest.$ac_ext < conftest.$ac_ext < + +#include +#include int main() { -struct task_struct _tsk; -printf("%d\n", _tsk.sig); + +#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN + bogus endian macros +#endif ; return 0; } EOF -if { (eval echo configure:2796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_sched_struct_task_struct_has_sig=yes + openafs_cv_c_bigendian_compile=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_sched_struct_task_struct_has_sig=no + openafs_cv_c_bigendian_compile=no fi rm -f conftest* fi -echo "$ac_t""$ac_cv_linux_sched_struct_task_struct_has_sig" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for sighand in struct task_struct""... $ac_c" 1>&6 -echo "configure:2812: checking for sighand in struct task_struct" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_sighand'+set}'`\" = set"; then +echo "$ac_t""$openafs_cv_c_bigendian_compile" 1>&6 +echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 +echo "configure:2114: checking whether byte ordering is bigendian" >&5 +if eval "test \"`echo '$''{'openafs_cv_c_bigendian'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else -cat > conftest.$ac_ext < conftest.$ac_ext < + +#include +#include int main() { -struct task_struct _tsk; -printf("%d\n", _tsk.sighand); + +#if BYTE_ORDER != BIG_ENDIAN + not big endian +#endif ; return 0; } EOF -if { (eval echo configure:2828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_sched_struct_task_struct_has_sighand=yes + openafs_cv_c_bigendian=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_sched_struct_task_struct_has_sighand=no + openafs_cv_c_bigendian=no fi rm -f conftest* -fi - -echo "$ac_t""$ac_cv_linux_sched_struct_task_struct_has_sighand" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for sigmask_lock in struct task_struct""... $ac_c" 1>&6 -echo "configure:2844: checking for sigmask_lock in struct task_struct" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_sigmask_lock'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + else + if test "$cross_compiling" = yes; then + { echo "configure: error: specify either --enable-bigendian or --enable-littleendian" 1>&2; exit 1; } else - -cat > conftest.$ac_ext < conftest.$ac_ext < -int main() { -struct task_struct _tsk; -printf("%d\n", _tsk.sigmask_lock); -; return 0; } +main () { + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long l; + char c[sizeof (long)]; + } u; + u.l = 1; + exit (u.c[sizeof (long) - 1] == 1); + } EOF -if { (eval echo configure:2860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_linux_sched_struct_task_struct_has_sigmask_lock=yes +if { (eval echo configure:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then + openafs_cv_c_bigendian=no else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_linux_sched_struct_task_struct_has_sigmask_lock=no + rm -fr conftest* + openafs_cv_c_bigendian=yes fi -rm -f conftest* +rm -fr conftest* fi -echo "$ac_t""$ac_cv_linux_sched_struct_task_struct_has_sigmask_lock" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -if test "x$enable_redhat_buildsys" = "xyes"; then - MPS=Default -else - save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $RHCONFIG_SP $CPPFLAGS" - echo $ac_n "checking if kernel uses MODVERSIONS""... $ac_c" 1>&6 -echo "configure:2881: checking if kernel uses MODVERSIONS" >&5 - if eval "test \"`echo '$''{'ac_cv_linux_config_modversions'+set}'`\" = set"; then + fi + +fi + +echo "$ac_t""$openafs_cv_c_bigendian" 1>&6 +if test "$openafs_cv_c_bigendian" = "yes"; then + cat >> confdefs.h <<\EOF +#define WORDS_BIGENDIAN 1 +EOF +fi +if test "$openafs_cv_c_bigendian_compile" = "yes"; then + cat >> confdefs.h <<\EOF +#define ENDIANESS_IN_SYS_PARAM_H 1 +EOF +fi + + +echo $ac_n "checking your OS""... $ac_c" 1>&6 +echo "configure:2191: checking your OS" >&5 +system=$host +case $system in + *-linux*) + MKAFS_OSTYPE=LINUX + if test "x$enable_redhat_buildsys" = "xyes"; then + cat >> confdefs.h <<\EOF +#define ENABLE_REDHAT_BUILDSYS 1 +EOF + + fi + if test "x$enable_kernel_module" = "xyes"; then + if test "x$with_linux_kernel_headers" != "x"; then + LINUX_KERNEL_PATH="$with_linux_kernel_headers" + else + LINUX_KERNEL_PATH="/usr/src/linux" + fi + if test -f "$LINUX_KERNEL_PATH/include/linux/version.h"; then + linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version.h |awk 'BEGIN { FS="\"" } { print $2 }'|tail -1` + if test "x$linux_kvers" = "x"; then + if test -f "$LINUX_KERNEL_PATH/include/linux/version-up.h"; then + linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version-up.h |awk 'BEGIN { FS="\"" } { print $2 }'|tail -1` + if test "x$linux_kvers" = "x"; then + + { echo "configure: error: Linux headers lack version definition 2" 1>&2; exit 1; } + exit 1 + else + LINUX_VERSION="$linux_kvers" + fi + else + { echo "configure: error: Linux headers lack version definition" 1>&2; exit 1; } + exit 1 + fi + else + LINUX_VERSION="$linux_kvers" + fi + else + enable_kernel_module="no" + fi + if test ! -f "$LINUX_KERNEL_PATH/include/linux/autoconf.h"; then + enable_kernel_module="no" + fi + if test "x$enable_kernel_module" = "xno"; then + if test "x$with_linux_kernel_headers" != "x"; then + { echo "configure: error: No usable linux headers found at $LINUX_KERNEL_PATH" 1>&2; exit 1; } + exit 1 + else + echo "configure: warning: No usable linux headers found at $LINUX_KERNEL_PATH so disabling kernel module" 1>&2 + fi + fi + fi + echo "$ac_t""linux" 1>&6 + if test "x$enable_kernel_module" = "xyes"; then + +echo $ac_n "checking for i_bytes in struct inode""... $ac_c" 1>&6 +echo "configure:2246: checking for i_bytes in struct inode" >&5 +save_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" +if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_bytes'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - cat > conftest.$ac_ext < conftest.$ac_ext < - +#include int main() { -#ifndef CONFIG_MODVERSIONS -lose; -#endif - +struct inode _inode; +printf("%d\n", _inode.i_bytes); ; return 0; } EOF -if { (eval echo configure:2898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_config_modversions=yes + ac_cv_linux_fs_struct_inode_has_i_bytes=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_config_modversions=no + ac_cv_linux_fs_struct_inode_has_i_bytes=no fi rm -f conftest* fi - echo "$ac_t""$ac_cv_linux_config_modversions" 1>&6 - echo $ac_n "checking which kernel modules to build""... $ac_c" 1>&6 -echo "configure:2912: checking which kernel modules to build" >&5 - if test "x$ac_linux_rhconfig" = "xyes" -o "x$ac_cv_linux_config_modversions" = "xno"; then - MPS="MP SP" - else - if eval "test \"`echo '$''{'ac_cv_linux_config_smp'+set}'`\" = set"; then +echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_bytes" 1>&6 +CPPFLAGS="$save_CPPFLAGS" + +echo $ac_n "checking for page_lock in struct address_space""... $ac_c" 1>&6 +echo "configure:2278: checking for page_lock in struct address_space" >&5 +save_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" +if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_address_space_has_page_lock'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - cat > conftest.$ac_ext < conftest.$ac_ext < - +#include int main() { -#ifndef CONFIG_SMP -lose; -#endif - +struct address_space _a_s; +printf("%x\n", _a_s.page_lock); ; return 0; } EOF -if { (eval echo configure:2932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_config_smp=yes + ac_cv_linux_fs_struct_address_space_has_page_lock=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_config_smp=no + ac_cv_linux_fs_struct_address_space_has_page_lock=no fi rm -f conftest* fi - if test "x$ac_cv_linux_config_smp" = "xyes"; then - MPS=MP - else - MPS=SP - fi - fi - CPPFLAGS=$save_CPPFLAGS - echo "$ac_t""$MPS" 1>&6 -fi - - - if test "x$ac_cv_linux_config_modversions" = "xno"; then - echo "configure: warning: Cannot determine sys_call_table status. assuming it's exported" 1>&2 - ac_cv_linux_exports_sys_call_table=yes - if test -f "$LINUX_KERNEL_PATH/include/asm/ia32_unistd.h"; then - ac_cv_linux_exports_ia32_sys_call_table=yes - fi - else - -echo $ac_n "checking for exported init_mm""... $ac_c" 1>&6 -echo "configure:2964: checking for exported init_mm" >&5 +echo "$ac_t""$ac_cv_linux_fs_struct_address_space_has_page_lock" 1>&6 +CPPFLAGS="$save_CPPFLAGS" + +echo $ac_n "checking for i_cdev in struct inode""... $ac_c" 1>&6 +echo "configure:2310: checking for i_cdev in struct inode" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_exports_init_mm'+set}'`\" = set"; then +if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_cdev'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < +#include int main() { -#ifndef __ver_init_mm -#error init_mm not exported -#endif +struct inode _inode; +printf("%d\n", _inode.i_cdev); ; return 0; } EOF -if { (eval echo configure:2981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_exports_init_mm=yes + ac_cv_linux_fs_struct_inode_has_i_cdev=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_exports_init_mm=no + ac_cv_linux_fs_struct_inode_has_i_cdev=no fi rm -f conftest* fi -echo "$ac_t""$ac_cv_linux_exports_init_mm" 1>&6 +echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_cdev" 1>&6 CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for exported kallsyms_address_to_symbol""... $ac_c" 1>&6 -echo "configure:2997: checking for exported kallsyms_address_to_symbol" >&5 + +echo $ac_n "checking for i_truncate_sem in struct inode""... $ac_c" 1>&6 +echo "configure:2342: checking for i_truncate_sem in struct inode" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_exports_kallsyms_address'+set}'`\" = set"; then +if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_truncate_sem'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < +#include int main() { -#ifndef __ver_kallsyms_address_to_symbol -#error kallsyms_address_to_symbol not exported -#endif +struct inode _i; +printf("%x\n", _i.i_truncate_sem); ; return 0; } EOF -if { (eval echo configure:3014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_exports_kallsyms_address=yes + ac_cv_linux_fs_struct_inode_has_i_truncate_sem=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_exports_kallsyms_address=no + ac_cv_linux_fs_struct_inode_has_i_truncate_sem=no fi rm -f conftest* fi -echo "$ac_t""$ac_cv_linux_exports_kallsyms_address" 1>&6 +echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_truncate_sem" 1>&6 CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for exported kallsyms_symbol_to_address""... $ac_c" 1>&6 -echo "configure:3030: checking for exported kallsyms_symbol_to_address" >&5 + +echo $ac_n "checking for i_dirty_data_buffers in struct inode""... $ac_c" 1>&6 +echo "configure:2374: checking for i_dirty_data_buffers in struct inode" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_exports_kallsyms_symbol'+set}'`\" = set"; then +if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < +#include int main() { -#ifndef __ver_kallsyms_symbol_to_address -#error kallsyms_symbol_to_address not exported -#endif +struct inode _inode; +printf("%d\n", _inode.i_dirty_data_buffers); ; return 0; } EOF -if { (eval echo configure:3047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_exports_kallsyms_symbol=yes + ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_exports_kallsyms_symbol=no + ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers=no fi rm -f conftest* fi -echo "$ac_t""$ac_cv_linux_exports_kallsyms_symbol" 1>&6 +echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers" 1>&6 CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for exported sys_call_table""... $ac_c" 1>&6 -echo "configure:3063: checking for exported sys_call_table" >&5 + +echo $ac_n "checking for i_mapping_overload in struct inode""... $ac_c" 1>&6 +echo "configure:2406: checking for i_mapping_overload in struct inode" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_call_table'+set}'`\" = set"; then +if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_mapping_overload'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < +#include int main() { -#ifndef __ver_sys_call_table -#error sys_call_table not exported -#endif +struct inode _inode; +printf("%d\n", _inode.i_mapping_overload); ; return 0; } EOF -if { (eval echo configure:3080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_exports_sys_call_table=yes + ac_cv_linux_fs_struct_inode_has_i_mapping_overload=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_exports_sys_call_table=no + ac_cv_linux_fs_struct_inode_has_i_mapping_overload=no fi rm -f conftest* fi -echo "$ac_t""$ac_cv_linux_exports_sys_call_table" 1>&6 +echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_mapping_overload" 1>&6 CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for exported ia32_sys_call_table""... $ac_c" 1>&6 -echo "configure:3096: checking for exported ia32_sys_call_table" >&5 + +echo $ac_n "checking for i_mmap_shared in struct inode""... $ac_c" 1>&6 +echo "configure:2438: checking for i_mmap_shared in struct inode" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_exports_ia32_sys_call_table'+set}'`\" = set"; then +if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_mmap_shared'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < +#include int main() { -#ifndef __ver_ia32_sys_call_table -#error ia32_sys_call_table not exported -#endif +struct inode _inode; +printf("%d\n", _inode.i_mmap_shared); ; return 0; } EOF -if { (eval echo configure:3113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_exports_ia32_sys_call_table=yes + ac_cv_linux_fs_struct_inode_has_i_mmap_shared=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_exports_ia32_sys_call_table=no + ac_cv_linux_fs_struct_inode_has_i_mmap_shared=no fi rm -f conftest* fi -echo "$ac_t""$ac_cv_linux_exports_ia32_sys_call_table" 1>&6 +echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_mmap_shared" 1>&6 CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for exported sys_chdir""... $ac_c" 1>&6 -echo "configure:3129: checking for exported sys_chdir" >&5 + +echo $ac_n "checking for inode_setattr return type""... $ac_c" 1>&6 +echo "configure:2470: checking for inode_setattr return type" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_chdir'+set}'`\" = set"; then +if eval "test \"`echo '$''{'ac_cv_linux_func_inode_setattr_returns_int'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < +#include int main() { -#ifndef __ver_sys_chdir -#error sys_chdir not exported -#endif +struct inode _inode; +struct iattr _iattr; +int i; +i = inode_setattr(&_inode, &_iattr); ; return 0; } EOF -if { (eval echo configure:3146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_exports_sys_chdir=yes + ac_cv_linux_func_inode_setattr_returns_int=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_exports_sys_chdir=no + ac_cv_linux_func_inode_setattr_returns_int=no fi rm -f conftest* fi -echo "$ac_t""$ac_cv_linux_exports_sys_chdir" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for exported sys_close""... $ac_c" 1>&6 -echo "configure:3162: checking for exported sys_close" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_close'+set}'`\" = set"; then +echo "$ac_t""$ac_cv_linux_func_inode_setattr_returns_int" 1>&6 +CPPFLAGS="$save_CPPFLAGS" + +RHCONFIG_SP="" +RHCONFIG_MP="" +if test "x$enable_redhat_buildsys" = "xyes"; then + echo "configure: warning: Configured to build from a Red Hat SPEC file" 1>&2 +else + echo $ac_n "checking for redhat kernel configuration""... $ac_c" 1>&6 +echo "configure:2509: checking for redhat kernel configuration" >&5 + if test -f "${LINUX_KERNEL_PATH}/include/linux/rhconfig.h"; then + ac_linux_rhconfig=yes + RHCONFIG_SP="-D__BOOT_KERNEL_UP=1 -D__BOOT_KERNEL_SMP=0" + RHCONFIG_MP="-D__BOOT_KERNEL_UP=0 -D__BOOT_KERNEL_SMP=1" + echo "$ac_t""$ac_linux_rhconfig" 1>&6 + if test ! -f "/boot/kernel.h"; then + echo "configure: warning: /boot/kernel.h does not exist. build may fail" 1>&2 + fi + else + ac_linux_rhconfig=no + echo "$ac_t""$ac_linux_rhconfig" 1>&6 + fi +fi + + + + +if test "x$enable_redhat_buildsys" = "xyes"; then + MPS=Default +else + save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $RHCONFIG_SP $CPPFLAGS" + echo $ac_n "checking if kernel uses MODVERSIONS""... $ac_c" 1>&6 +echo "configure:2533: checking if kernel uses MODVERSIONS" >&5 + if eval "test \"`echo '$''{'ac_cv_linux_config_modversions'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else -cat > conftest.$ac_ext < conftest.$ac_ext < +#include + int main() { -#ifndef __ver_sys_close -#error sys_close not exported +#ifndef CONFIG_MODVERSIONS +lose; #endif + ; return 0; } EOF -if { (eval echo configure:3179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_exports_sys_close=yes + ac_cv_linux_config_modversions=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_exports_sys_close=no + ac_cv_linux_config_modversions=no fi rm -f conftest* fi -echo "$ac_t""$ac_cv_linux_exports_sys_close" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - -echo $ac_n "checking for exported sys_wait4""... $ac_c" 1>&6 -echo "configure:3195: checking for exported sys_wait4" >&5 -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" -if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_wait4'+set}'`\" = set"; then + echo "$ac_t""$ac_cv_linux_config_modversions" 1>&6 + echo $ac_n "checking which kernel modules to build""... $ac_c" 1>&6 +echo "configure:2564: checking which kernel modules to build" >&5 + if test "x$ac_linux_rhconfig" = "xyes" -o "x$ac_cv_linux_config_modversions" = "xno"; then + MPS="MP SP" + else + if eval "test \"`echo '$''{'ac_cv_linux_config_smp'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else -cat > conftest.$ac_ext < conftest.$ac_ext < +#include + int main() { -#ifndef __ver_sys_wait4 -#error sys_wait4 not exported +#ifndef CONFIG_SMP +lose; #endif + ; return 0; } EOF -if { (eval echo configure:3212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ac_cv_linux_exports_sys_wait4=yes + ac_cv_linux_config_smp=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_linux_exports_sys_wait4=no + ac_cv_linux_config_smp=no fi rm -f conftest* fi -echo "$ac_t""$ac_cv_linux_exports_sys_wait4" 1>&6 -CPPFLAGS="$save_CPPFLAGS" - if test "x$ac_cv_linux_exports_sys_call_table" = "xno"; then - linux_syscall_method=none - if test "x$ac_cv_linux_exports_init_mm" = "xyes"; then - linux_syscall_method=scan - if test "x$ac_cv_linux_exports_kallsyms_address" = "xyes"; then - linux_syscall_method=scan_with_kallsyms_address - fi - fi - if test "x$ac_cv_linux_exports_kallsyms_symbol" = "xyes"; then - linux_syscall_method=kallsyms_symbol - fi - if test "x$linux_syscall_method" = "xnone"; then - { echo "configure: error: no available sys_call_table access method" 1>&2; exit 1; } - fi - fi - fi - if test "x$ac_cv_linux_exports_sys_chdir" = "xyes" ; then - cat >> confdefs.h <<\EOF -#define EXPORTED_SYS_CHDIR 1 -EOF - - fi - if test "x$ac_cv_linux_exports_sys_close" = "xyes" ; then - cat >> confdefs.h <<\EOF -#define EXPORTED_SYS_CLOSE 1 -EOF - - fi - if test "x$ac_cv_linux_exports_sys_wait4" = "xyes" ; then - cat >> confdefs.h <<\EOF -#define EXPORTED_SYS_WAIT4 1 -EOF - - fi - if test "x$ac_cv_linux_exports_tasklist_lock" = "xyes" ; then - cat >> confdefs.h <<\EOF -#define EXPORTED_TASKLIST_LOCK 1 -EOF - - fi - if test "x$ac_cv_linux_exports_sys_call_table" = "xyes"; then - cat >> confdefs.h <<\EOF -#define EXPORTED_SYS_CALL_TABLE 1 -EOF - - fi - if test "x$ac_cv_linux_exports_ia32_sys_call_table" = "xyes"; then - cat >> confdefs.h <<\EOF -#define EXPORTED_IA32_SYS_CALL_TABLE 1 -EOF - - fi - if test "x$ac_cv_linux_exports_kallsyms_symbol" = "xyes"; then - cat >> confdefs.h <<\EOF -#define EXPORTED_KALLSYMS_SYMBOL 1 -EOF - - fi - if test "x$ac_cv_linux_exports_kallsyms_address" = "xyes"; then - cat >> confdefs.h <<\EOF -#define EXPORTED_KALLSYMS_ADDRESS 1 -EOF - - fi - if test "x$ac_cv_linux_completion_h_exists" = "xyes" ; then - cat >> confdefs.h <<\EOF -#define COMPLETION_H_EXISTS 1 -EOF - - fi - if test "x$ac_cv_linux_defines_for_each_process" = "xyes" ; then - cat >> confdefs.h <<\EOF -#define DEFINED_FOR_EACH_PROCESS 1 -EOF + if test "x$ac_cv_linux_config_smp" = "xyes"; then + MPS=MP + else + MPS=SP + fi + fi + CPPFLAGS=$save_CPPFLAGS + echo "$ac_t""$MPS" 1>&6 +fi - fi - if test "x$ac_cv_linux_defines_prev_task" = "xyes" ; then - cat >> confdefs.h <<\EOF -#define DEFINED_PREV_TASK 1 -EOF - fi if test "x$ac_cv_linux_func_inode_setattr_returns_int" = "xyes" ; then cat >> confdefs.h <<\EOF #define INODE_SETATTR_NOT_VOID 1 -EOF - - fi - if test "x$ac_cv_linux_fs_struct_address_space_has_page_lock" = "xyes"; then - cat >> confdefs.h <<\EOF -#define STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK 1 -EOF - - fi - if test "x$ac_cv_linux_fs_struct_address_space_has_gfp_mask" = "xyes"; then - cat >> confdefs.h <<\EOF -#define STRUCT_ADDRESS_SPACE_HAS_GFP_MASK 1 -EOF - - fi - if test "x$ac_cv_linux_fs_struct_inode_has_i_truncate_sem" = "xyes"; then - cat >> confdefs.h <<\EOF -#define STRUCT_INODE_HAS_I_TRUNCATE_SEM 1 -EOF - - fi - if test "x$ac_cv_linux_fs_struct_inode_has_i_alloc_sem" = "xyes"; then - cat >> confdefs.h <<\EOF -#define STRUCT_INODE_HAS_I_ALLOC_SEM 1 -EOF - - fi - if test "x$ac_cv_linux_fs_struct_inode_has_i_devices" = "xyes"; then - cat >> confdefs.h <<\EOF -#define STRUCT_INODE_HAS_I_DEVICES 1 EOF fi @@ -3346,45 +2615,39 @@ EOF EOF fi - if test "x$ac_cv_linux_func_recalc_sigpending_takes_void" = "xyes"; then - cat >> confdefs.h <<\EOF -#define RECALC_SIGPENDING_TAKES_VOID 1 -EOF - - fi - if test "x$ac_linux_syscall" = "xyes" ; then + if test "x$ac_cv_linux_fs_struct_inode_has_i_mmap_shared" = "xyes"; then cat >> confdefs.h <<\EOF -#define HAVE_KERNEL_LINUX_SYSCALL_H 1 +#define STRUCT_INODE_HAS_I_MMAP_SHARED 1 EOF fi - if test "x$ac_cv_linux_sched_struct_task_struct_has_parent" = "xyes"; then + if test "x$ac_cv_linux_fs_struct_inode_has_i_mapping_overload" = "xyes"; then cat >> confdefs.h <<\EOF -#define STRUCT_TASK_STRUCT_HAS_PARENT 1 +#define STRUCT_INODE_HAS_I_MAPPING_OVERLOAD 1 EOF fi - if test "x$ac_cv_linux_sched_struct_task_struct_has_real_parent" = "xyes"; then + if test "x$ac_cv_linux_fs_struct_inode_has_i_cdev" = "xyes"; then cat >> confdefs.h <<\EOF -#define STRUCT_TASK_STRUCT_HAS_REAL_PARENT 1 +#define STRUCT_INODE_HAS_I_CDEV 1 EOF fi - if test "x$ac_cv_linux_sched_struct_task_struct_has_sigmask_lock" = "xyes"; then + if test "x$ac_cv_linux_fs_struct_inode_has_i_truncate_sem" = "xyes"; then cat >> confdefs.h <<\EOF -#define STRUCT_TASK_STRUCT_HAS_SIGMASK_LOCK 1 +#define STRUCT_INODE_HAS_I_TRUNCATE_SEM 1 EOF fi - if test "x$ac_cv_linux_sched_struct_task_struct_has_sighand" = "xyes"; then + if test "x$ac_cv_linux_fs_struct_inode_has_i_bytes" = "xyes"; then cat >> confdefs.h <<\EOF -#define STRUCT_TASK_STRUCT_HAS_SIGHAND 1 +#define STRUCT_INODE_HAS_I_BYTES 1 EOF fi - if test "x$ac_cv_linux_sched_struct_task_struct_has_sig" = "xyes"; then + if test "x$ac_cv_linux_fs_struct_address_space_has_page_lock" = "xyes"; then cat >> confdefs.h <<\EOF -#define STRUCT_TASK_STRUCT_HAS_SIG 1 +#define STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK 1 EOF fi @@ -3396,13 +2659,13 @@ EOF echo "$ac_t""sun4" 1>&6 echo $ac_n "checking for vfs_dqrwlock in struct ufsvfs""... $ac_c" 1>&6 -echo "configure:3400: checking for vfs_dqrwlock in struct ufsvfs" >&5 +echo "configure:2663: checking for vfs_dqrwlock in struct ufsvfs" >&5 if eval "test \"`echo '$''{'ac_cv_solaris_ufsvfs_has_dqrwlock'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -3411,7 +2674,7 @@ struct ufsvfs _ufsvfs; (void) _ufsvfs.vfs_dqrwlock; ; return 0; } EOF -if { (eval echo configure:3415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_solaris_ufsvfs_has_dqrwlock=yes else @@ -3431,93 +2694,12 @@ EOF fi - -echo $ac_n "checking for p_corefile in struct proc""... $ac_c" 1>&6 -echo "configure:3437: checking for p_corefile in struct proc" >&5 -if eval "test \"`echo '$''{'ac_cv_solaris_proc_has_p_corefile'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -struct proc _proc; -(void) _proc.p_corefile; -; return 0; } -EOF -if { (eval echo configure:3452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_solaris_proc_has_p_corefile=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_solaris_proc_has_p_corefile=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_solaris_proc_has_p_corefile" 1>&6 -if test "$ac_cv_solaris_proc_has_p_corefile" = "yes"; then - cat >> confdefs.h <<\EOF -#define HAVE_P_COREFILE 1 -EOF - -fi - - -echo $ac_n "checking for fs_rolled in struct proc""... $ac_c" 1>&6 -echo "configure:3474: checking for fs_rolled in struct proc" >&5 -if eval "test \"`echo '$''{'ac_cv_solaris_fs_has_fs_rolled'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -cat > conftest.$ac_ext < -int main() { -struct fs _fs; -(void) _fs.fs_rolled; -; return 0; } -EOF -if { (eval echo configure:3488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_solaris_fs_has_fs_rolled=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_solaris_fs_has_fs_rolled=no -fi -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_solaris_fs_has_fs_rolled" 1>&6 -if test "$ac_cv_solaris_fs_has_fs_rolled" = "yes"; then - cat >> confdefs.h <<\EOF -#define STRUCT_FS_HAS_FS_ROLLED 1 -EOF - -fi - - ;; - *-sunos*) - MKAFS_OSTYPE=SUNOS - enable_kernel_module=no - echo "$ac_t""sun4" 1>&6 ;; *-hpux*) MKAFS_OSTYPE=HPUX echo "$ac_t""hp_ux" 1>&6 ;; *-irix*) - if test -d /usr/include/sys/SN/SN1; then - IRIX_BUILD_IP35="IP35" - fi MKAFS_OSTYPE=IRIX echo "$ac_t""sgi" 1>&6 ;; @@ -3548,90 +2730,37 @@ fi MKAFS_OSTYPE=FBSD echo "$ac_t""i386_fbsd" 1>&6 ;; - *-openbsd*) - MKAFS_OSTYPE=OBSD - echo "$ac_t""i386_obsd" 1>&6 - ;; *) echo "$ac_t""$system" 1>&6 ;; esac - if test "x$with_afs_sysname" != "x"; then AFS_SYSNAME="$with_afs_sysname" else echo $ac_n "checking your AFS sysname""... $ac_c" 1>&6 -echo "configure:3566: checking your AFS sysname" >&5 +echo "configure:2743: checking your AFS sysname" >&5 case $host in i?86-*-freebsd4.2*) AFS_SYSNAME="i386_fbsd_42" ;; - i?86-*-freebsd4.3*) - AFS_SYSNAME="i386_fbsd_43" - ;; - i?86-*-freebsd4.4*) - AFS_SYSNAME="i386_fbsd_44" - ;; - i?86-*-freebsd4.5*) - AFS_SYSNAME="i386_fbsd_45" - ;; - i?86-*-freebsd4.6*) - AFS_SYSNAME="i386_fbsd_46" - ;; - hppa*-hp-hpux11.0*) + hppa*-hp-hpux11*) AFS_SYSNAME="hp_ux110" ;; - hppa*-hp-hpux11.11) - AFS_SYSNAME="hp_ux11i" - ;; - ia64-hp-hpux*) - AFS_SYSNAME="ia64_hpux1122" - ;; hppa*-hp-hpux10*) AFS_SYSNAME="hp_ux102" ;; powerpc-apple-darwin1.2*) AFS_SYSNAME="ppc_darwin_12" + DARWIN_PLIST=src/afsd/afs.${AFS_SYSNAME}.plist ;; powerpc-apple-darwin1.3*) AFS_SYSNAME="ppc_darwin_13" + DARWIN_PLIST=src/afsd/afs.${AFS_SYSNAME}.plist ;; powerpc-apple-darwin1.4*) AFS_SYSNAME="ppc_darwin_14" - ;; - powerpc-apple-darwin5.1*) - AFS_SYSNAME="ppc_darwin_14" - ;; - powerpc-apple-darwin5.2*) - AFS_SYSNAME="ppc_darwin_14" - ;; - powerpc-apple-darwin5.3*) - AFS_SYSNAME="ppc_darwin_14" - ;; - powerpc-apple-darwin5.4*) - AFS_SYSNAME="ppc_darwin_14" - ;; - powerpc-apple-darwin5.5*) - AFS_SYSNAME="ppc_darwin_14" - ;; - powerpc-apple-darwin6.0*) - AFS_SYSNAME="ppc_darwin_60" - ;; - powerpc-apple-darwin6.1*) - AFS_SYSNAME="ppc_darwin_60" - ;; - powerpc-apple-darwin6.2*) - AFS_SYSNAME="ppc_darwin_60" - ;; - powerpc-apple-darwin6.3*) - AFS_SYSNAME="ppc_darwin_60" - ;; - powerpc-apple-darwin6.4*) - AFS_SYSNAME="ppc_darwin_60" - ;; - powerpc-apple-darwin6.5*) - AFS_SYSNAME="ppc_darwin_60" + DARWIN_PLIST=src/afsd/afs.${AFS_SYSNAME}.plist ;; sparc-sun-solaris2.5*) AFS_SYSNAME="sun4x_55" @@ -3645,30 +2774,12 @@ echo "configure:3566: checking your AFS sysname" >&5 sparc-sun-solaris2.8) AFS_SYSNAME="sun4x_58" ;; - sparc-sun-solaris2.9) - AFS_SYSNAME="sun4x_59" - ;; - sparc-sun-sunos4*) - AFS_SYSNAME="sun4_413" - ;; - i386-pc-solaris2.7) - AFS_SYSNAME="sunx86_57" - ;; - i386-pc-solaris2.8) - AFS_SYSNAME="sunx86_58" - ;; - i386-pc-solaris2.9) - AFS_SYSNAME="sunx86_59" - ;; alpha*-dec-osf4.0*) AFS_SYSNAME="alpha_dux40" ;; alpha*-dec-osf5.0*) AFS_SYSNAME="alpha_dux50" ;; - alpha*-dec-osf5.1*) - AFS_SYSNAME="alpha_dux51" - ;; mips-sgi-irix6.5) AFS_SYSNAME="sgi_65" ;; @@ -3693,111 +2804,43 @@ echo "configure:3566: checking your AFS sysname" >&5 i?86-*-linux*) AFS_SYSNAME="i386_linuxXX" ;; - parisc-*-linux-gnu|hppa-*-linux-gnu) - AFS_SYSNAME="parisc_linuxXX" - ;; power*-ibm-aix4.2*) AFS_SYSNAME="rs_aix42" ;; power*-ibm-aix4.3*) AFS_SYSNAME="rs_aix42" ;; - x86_64-*-linux-gnu) - AFS_SYSNAME="amd64_linuxXX" - ;; *) { echo "configure: error: An AFS sysname is required" 1>&2; exit 1; } - exit 1 - ;; - esac - case $AFS_SYSNAME in - *_linux*) - AFS_SYSKVERS=`echo $LINUX_VERSION | awk -F\. '{print $1 $2}'` - if test "x${AFS_SYSKVERS}" = "x"; then - { echo "configure: error: Couldn't guess your Linux version. Please use the --with-afs-sysname option to configure an AFS sysname." 1>&2; exit 1; } - fi - _AFS_SYSNAME=`echo $AFS_SYSNAME|sed s/XX\$/$AFS_SYSKVERS/` - AFS_SYSNAME="$_AFS_SYSNAME" - if test -f "$LINUX_KERNEL_PATH/include/linux/autoconf.h"; then - AFS_ISUML=`awk '$2 == "CONFIG_USERMODE"{print $3}' $LINUX_KERNEL_PATH/include/linux/autoconf.h` - if test "x${AFS_ISUML}" = "x1"; then - _AFS_SYSNAME=`echo $AFS_SYSNAME|sed s/linux/umlinux/` - fi - AFS_SYSNAME="$_AFS_SYSNAME" - fi - ;; - esac - echo "$ac_t""$AFS_SYSNAME" 1>&6 -fi - -# KDUMP64 defaults to KDUMP for systems without a separate kdump64 -KDUMP64='${KDUMP}' -KDUMP=kdump -case $AFS_SYSNAME in - sgi_6?) - KDUMP=kdump.IP20;; - sun4x_5789 | hp_ux11*) - KDUMP=kdump32 - KDUMP64=kdump64;; - *linux*) - KDUMP='kdump-${LINUX_VERSION}';; -esac - - - -case $AFS_SYSNAME in - *_darwin*) - DARWIN_PLIST=src/libafs/afs.${AFS_SYSNAME}.plist - DARWIN_INFOFILE=afs.${AFS_SYSNAME}.plist - ;; -esac -if eval "test \"`echo '$''{'ac_cv_sockaddr_len'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -echo $ac_n "checking if struct sockaddr has sa_len field""... $ac_c" 1>&6 -echo "configure:3760: checking if struct sockaddr has sa_len field" >&5 -cat > conftest.$ac_ext < -#include -int main() { -struct sockaddr *a; -a->sa_len=0; -; return 0; } -EOF -if { (eval echo configure:3771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_sockaddr_len=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_sockaddr_len=no -fi -rm -f conftest* -echo "$ac_t""$ac_cv_sockaddr_len" 1>&6 + exit 1 + ;; + esac + case $AFS_SYSNAME in + *_linux*) + AFS_SYSKVERS=`echo $LINUX_VERSION | awk -F\. '{print $1 $2}'` + if test "x${AFS_SYSKVERS}" = "x"; then + { echo "configure: error: Couldn't guess your Linux version. Please use the --with-afs-sysname option to configure an AFS sysname." 1>&2; exit 1; } + fi + _AFS_SYSNAME=`echo $AFS_SYSNAME|sed s/XX\$/$AFS_SYSKVERS/` + AFS_SYSNAME="$_AFS_SYSNAME" + ;; + esac + echo "$ac_t""$AFS_SYSNAME" 1>&6 fi -if test "$ac_cv_sockaddr_len" = "yes"; then - cat >> confdefs.h <<\EOF -#define STRUCT_SOCKADDR_HAS_SA_LEN 1 -EOF -fi if test "x${MKAFS_OSTYPE}" = "xIRIX"; then echo Skipping library tests because they confuse Irix. else for ac_func in socket do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3796: checking for $ac_func" >&5 +echo "configure:2839: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3849,7 +2892,7 @@ done for lib in socket inet; do if test "$HAVE_SOCKET" != 1; then echo $ac_n "checking for socket in -l${lib}""... $ac_c" 1>&6 -echo "configure:3853: checking for socket in -l${lib}" >&5 +echo "configure:2896: checking for socket in -l${lib}" >&5 ac_lib_var=`echo ${lib}'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3857,7 +2900,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l${lib} $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3898,12 +2941,12 @@ fi for ac_func in connect do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3902: checking for $ac_func" >&5 +echo "configure:2945: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3955,7 +2998,7 @@ done for lib in nsl; do if test "$HAVE_CONNECT" != 1; then echo $ac_n "checking for connect in -l${lib}""... $ac_c" 1>&6 -echo "configure:3959: checking for connect in -l${lib}" >&5 +echo "configure:3002: checking for connect in -l${lib}" >&5 ac_lib_var=`echo ${lib}'_'connect | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3963,7 +3006,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l${lib} $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4004,12 +3047,12 @@ fi for ac_func in gethostbyname do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4008: checking for $ac_func" >&5 +echo "configure:3051: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4060,7 +3103,7 @@ done for lib in dns nsl resolv; do if test "$HAVE_GETHOSTBYNAME" != 1; then echo $ac_n "checking for gethostbyname in -l${lib}""... $ac_c" 1>&6 -echo "configure:4064: checking for gethostbyname in -l${lib}" >&5 +echo "configure:3107: checking for gethostbyname in -l${lib}" >&5 ac_lib_var=`echo ${lib}'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4068,7 +3111,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l${lib} $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4106,108 +3149,118 @@ fi done fi - openafs_save_libs="$LIBS" - echo $ac_n "checking for res_search""... $ac_c" 1>&6 -echo "configure:4112: checking for res_search" >&5 - - ac_cv_func_res_search=no + for ac_func in res_search +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:3156: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); -#include -#include -#include -#include int main() { -const char host[11]="openafs.org"; -u_char ans[1024]; -int r; -res_init(); -/* Capture result in r but return 0, since a working nameserver is - * not a requirement for compilation. - */ -r = res_search( host, C_IN, T_MX, (u_char *)&ans, sizeof(ans)); -return 0; -res_close(); - +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + ; return 0; } EOF -if { (eval echo configure:4138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* - ac_cv_func_res_search=yes + eval "ac_cv_func_$ac_func=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" fi rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done if test "$ac_cv_func_res_search" = no; then - for lib in dns nsl resolv; do - if test "$ac_cv_func_res_search" != yes; then - LIBS="-l$lib $LIBS" - - ac_cv_func_res_search=no - cat > conftest.$ac_ext <&6 +echo "configure:3212: checking for res_search in -l${lib}" >&5 +ac_lib_var=`echo ${lib}'_'res_search | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-l${lib} $LIBS" +cat > conftest.$ac_ext < -#include -#include -#include int main() { - -const char host[11]="openafs.org"; -u_char ans[1024]; -int r; -res_init(); -/* Capture result in r but return 0, since a working nameserver is - * not a requirement for compilation. - */ -r = res_search( host, C_IN, T_MX, (u_char *)&ans, sizeof(ans)); -return 0; -res_close(); - +res_search() ; return 0; } EOF -if { (eval echo configure:4177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* - ac_cv_func_res_search=yes + eval "ac_cv_lib_$ac_lib_var=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* +LIBS="$ac_save_LIBS" - LIBS="$openafs_save_libs" - fi - done - if test "$ac_cv_func_res_search" = yes; then - LIB_res_search="-l$lib" - cat >> confdefs.h <<\EOF +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + LIBS="$LIBS -l$lib";HAVE_RES_SEARCH=1;cat >> confdefs.h <<\EOF #define HAVE_RES_SEARCH 1 EOF - echo "$ac_t""yes, in lib$lib" 1>&6 - else - echo "$ac_t""no" 1>&6 - fi - else - cat >> confdefs.h <<\EOF -#define HAVE_RES_SEARCH 1 -EOF +else + echo "$ac_t""no" 1>&6 +fi - echo "$ac_t""yes" 1>&6 - fi - + fi + done + if test "$HAVE_RES_SEARCH" = 1; then + LIB_res_search="-l$lib" + fi + fi fi PTHREAD_LIBS=error echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6 -echo "configure:4211: checking for pthread_attr_init in -lpthread" >&5 +echo "configure:3264: checking for pthread_attr_init in -lpthread" >&5 ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4215,7 +3268,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lpthread $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4248,7 +3301,7 @@ fi if test "x$PTHREAD_LIBS" = xerror; then echo $ac_n "checking for pthread_attr_init in -lpthreads""... $ac_c" 1>&6 -echo "configure:4252: checking for pthread_attr_init in -lpthreads" >&5 +echo "configure:3305: checking for pthread_attr_init in -lpthreads" >&5 ac_lib_var=`echo pthreads'_'pthread_attr_init | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4256,7 +3309,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lpthreads $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4290,7 +3343,7 @@ fi fi if test "x$PTHREAD_LIBS" = xerror; then echo $ac_n "checking for pthread_attr_init in -lc_r""... $ac_c" 1>&6 -echo "configure:4294: checking for pthread_attr_init in -lc_r" >&5 +echo "configure:3347: checking for pthread_attr_init in -lc_r" >&5 ac_lib_var=`echo c_r'_'pthread_attr_init | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4298,7 +3351,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lc_r $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4332,12 +3385,12 @@ fi fi if test "x$PTHREAD_LIBS" = xerror; then echo $ac_n "checking for pthread_attr_init""... $ac_c" 1>&6 -echo "configure:4336: checking for pthread_attr_init" >&5 +echo "configure:3389: checking for pthread_attr_init" >&5 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_init'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_pthread_attr_init=yes" else @@ -4424,13 +3477,6 @@ EOF fi -if test "$enable_bos_new_config" = "yes"; then - cat >> confdefs.h <<\EOF -#define BOS_NEW_CONFIG 1 -EOF - -fi - if test "$enable_namei_fileserver" = "yes"; then cat >> confdefs.h <<\EOF #define AFS_NAMEI_ENV 1 @@ -4446,34 +3492,19 @@ EOF fi -echo $ac_n "checking for tivoli tsm butc support""... $ac_c" 1>&6 -echo "configure:4451: checking for tivoli tsm butc support" >&5 -XBSA_CFLAGS="" -if test "$enable_tivoli_tsm" = "yes"; then - XBSADIR1=/usr/tivoli/tsm/client/api/bin/xopen - XBSADIR2=/opt/tivoli/tsm/client/api/bin/xopen - - if test -e "$XBSADIR1/xbsa.h"; then - XBSA_CFLAGS="-Dxbsa -I$XBSADIR1" - echo "$ac_t""yes, $XBSA_CFLAGS" 1>&6 - elif test -e "$XBSADIR2/xbsa.h"; then - XBSA_CFLAGS="-Dxbsa -I$XBSADIR2" - echo "$ac_t""yes, $XBSA_CFLAGS" 1>&6 - else - echo "$ac_t""no, missing xbsa.h header file" 1>&6 - fi -else - echo "$ac_t""no" 1>&6 -fi - +SRCDIR_PARENT=`pwd` +TOP_SRCDIR="${SRCDIR_PARENT}/src" +TOP_INCDIR="${SRCDIR_PARENT}/include" +TOP_LIBDIR="${SRCDIR_PARENT}/lib" +DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest" echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:4472: checking for ANSI C header files" >&5 +echo "configure:3503: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -4481,7 +3512,7 @@ else #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4498,7 +3529,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -4516,7 +3547,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -4537,7 +3568,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -4548,7 +3579,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:4552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -4572,12 +3603,12 @@ EOF fi echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:4576: checking for sys/wait.h that is POSIX.1 compatible" >&5 +echo "configure:3607: checking for sys/wait.h that is POSIX.1 compatible" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -4593,7 +3624,7 @@ wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF -if { (eval echo configure:4597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else @@ -4618,12 +3649,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:4622: checking for $ac_hdr that defines DIR" >&5 +echo "configure:3653: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> @@ -4631,7 +3662,7 @@ int main() { DIR *dirp = 0; ; return 0; } EOF -if { (eval echo configure:4635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else @@ -4656,7 +3687,7 @@ done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:4660: checking for opendir in -ldir" >&5 +echo "configure:3691: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4664,7 +3695,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4697,7 +3728,7 @@ fi else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:4701: checking for opendir in -lx" >&5 +echo "configure:3732: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4705,7 +3736,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4742,17 +3773,17 @@ for ac_hdr in stdlib.h string.h unistd.h fcntl.h sys/time.h sys/file.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4746: checking for $ac_hdr" >&5 +echo "configure:3777: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4782,17 +3813,17 @@ for ac_hdr in netinet/in.h netdb.h sys/fcntl.h sys/mnttab.h sys/mntent.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4786: checking for $ac_hdr" >&5 +echo "configure:3817: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4822,17 +3853,17 @@ for ac_hdr in mntent.h sys/vfs.h sys/param.h sys/fs_types.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4826: checking for $ac_hdr" >&5 +echo "configure:3857: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4862,17 +3893,17 @@ for ac_hdr in sys/mount.h strings.h termios.h signal.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4866: checking for $ac_hdr" >&5 +echo "configure:3897: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4902,17 +3933,17 @@ for ac_hdr in windows.h malloc.h winsock2.h direct.h io.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4906: checking for $ac_hdr" >&5 +echo "configure:3937: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4938,21 +3969,21 @@ else fi done -for ac_hdr in security/pam_modules.h siad.h usersec.h ucontext.h +for ac_hdr in security/pam_modules.h siad.h usersec.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4946: checking for $ac_hdr" >&5 +echo "configure:3977: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4979,166 +4010,15 @@ fi done -if test "$ac_cv_header_security_pam_modules_h" = "yes"; then - HAVE_PAM="yes" -else - HAVE_PAM="no" -fi - - for ac_func in utimes random srandom getdtablesize snprintf re_comp re_exec do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4993: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:5021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi -done - -for ac_func in setprogname getprogname sigaction mkstemp strerror -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5048: checking for $ac_func" >&5 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); - -int main() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -$ac_func(); -#endif - -; return 0; } -EOF -if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* -fi - -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi -done - -echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 -echo "configure:5101: checking for ssize_t" >&5 -if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_ssize_t=yes -else - rm -rf conftest* - ac_cv_type_ssize_t=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_ssize_t" 1>&6 -if test $ac_cv_type_ssize_t = no; then - cat >> confdefs.h <<\EOF -#define ssize_t int -EOF - -fi - - -for ac_func in timegm -do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5137: checking for $ac_func" >&5 +echo "configure:4017: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5198,18 +4078,21 @@ if test "x$enable_transarc_paths" = "xyes" ; then afslocaldir=${afslocaldir=/usr/afs/local} afsbackupdir=${afsbackupdir=/usr/afs/backup} afsbosconfigdir=${afsbosconfigdir=/usr/afs/local} -else - afsconfdir=${afsconfdir='${sysconfdir}/openafs/server'} - viceetcdir=${viceetcdir='${sysconfdir}/openafs'} - afskerneldir=${afskerneldir='${libdir}/openafs'} - afssrvbindir=${afssrvbindir='${bindir}'} - afssrvsbindir=${afssrvsbindir='${sbindir}'} - afssrvlibexecdir=${afssrvlibexecdir='${libexecdir}/openafs'} - afsdbdir=${afsdbdir='${localstatedir}/openafs/db'} - afslogsdir=${afslogsdir='${localstatedir}/openafs/logs'} - afslocaldir=${afslocaldir='${localstatedir}/openafs'} - afsbackupdir=${afsbackupdir='${localstatedir}/openafs/backup'} - afsbosconfigdir=${afsbosconfigdir='${sysconfdir}/openafs'} +afsperldir=${afsperldir=/usr/afs/lib/perl5} + else + afsconfdir=${afsconfdir=$sysconfdir/openafs/server} + viceetcdir=${viceetcdir=$sysconfdir/openafs} + afskerneldir=${afskerneldir=$libdir/openafs} + afssrvbindir=${afssrvbindir=$bindir} + afssrvsbindir=${afssrvsbindir=$sbindir} + afssrvlibexecdir=${afssrvlibexecdir=$libexecdir/openafs} + afsdbdir=${afsdbdir=$localstatedir/openafs/db} + afslogsdir=${afslogsdir=$localstatedir/openafs/logs} + afslocaldir=${afslocaldir=$localstatedir/openafs} + afsbackupdir=${afsbackupdir=$localstatedir/openafs/backup} + afsbosconfigdir=${afsbosconfigdir=$sysconfdir/openafs} +afsperldir=${afsperldir=$libdir/perl5/site_perl} + fi @@ -5223,6 +4106,8 @@ fi + + if test "x$enable_kernel_module" = "xyes"; then ENABLE_KERNEL_MODULE=libafs fi @@ -5240,23 +4125,6 @@ fi - - - - -TOP_SRCDIR="${SRCDIR_PARENT}/src" -TOP_INCDIR="${SRCDIR_PARENT}/include" -TOP_LIBDIR="${SRCDIR_PARENT}/lib" -if test "${DEST}x" = "x"; then - DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest" -fi - -# Check for files involved in porting. Report errors, don't make the -# user hunt through the configure log after the build fails! -if test ! -r src/config/Makefile.${AFS_SYSNAME}.in ; then - { echo "configure: error: no source file src/config/Makefile.${AFS_SYSNAME}.in" 1>&2; exit 1; } -fi - trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure @@ -5362,6 +4230,7 @@ trap 'rm -fr `echo "\ Makefile \ src/afs/Makefile \ src/afsd/Makefile \ +${DARWIN_PLIST} \ src/afsmonitor/Makefile \ src/afsweb/Makefile \ src/audit/Makefile \ @@ -5375,6 +4244,7 @@ src/bucoord/Makefile \ src/budb/Makefile \ src/butc/Makefile \ src/butm/Makefile \ + src/cell-setup/Makefile src/cmd/test/Makefile \ src/cmd/Makefile \ src/comerr/test/Makefile \ @@ -5411,7 +4281,6 @@ src/libadmin/samples/Makefile \ src/libadmin/test/Makefile \ src/libadmin/vos/Makefile \ src/libafs/MakefileProto.${MKAFS_OSTYPE} \ -${DARWIN_PLIST} \ src/libafsauthent/Makefile \ src/libafsrpc/Makefile \ src/libuafs/MakefileProto.${MKAFS_OSTYPE} \ @@ -5446,14 +4315,9 @@ src/rxkad/test/Makefile \ src/rxstat/Makefile \ src/scout/Makefile \ src/sgistuff/Makefile \ -src/shlibafsauthent/Makefile \ -src/shlibafsrpc/Makefile \ src/sia/Makefile \ src/sys/Makefile \ src/tbutc/Makefile \ -src/tests/Makefile \ -src/tests/run-tests \ -src/tests/OpenAFS/Dirpath.pm \ src/tsm41/Makefile \ src/tviced/Makefile \ src/ubik/Makefile \ @@ -5516,12 +4380,12 @@ s%@AUTOMAKE@%$AUTOMAKE%g s%@AUTOHEADER@%$AUTOHEADER%g s%@MAKEINFO@%$MAKEINFO%g s%@SET_MAKE@%$SET_MAKE%g -s%@CC@%$CC%g s%@host@%$host%g s%@host_alias@%$host_alias%g s%@host_cpu@%$host_cpu%g s%@host_vendor@%$host_vendor%g s%@host_os@%$host_os%g +s%@CC@%$CC%g s%@CPP@%$CPP%g s%@LN_S@%$LN_S%g s%@RANLIB@%$RANLIB%g @@ -5529,19 +4393,13 @@ s%@YACC@%$YACC%g s%@LEX@%$LEX%g s%@LEXLIB@%$LEXLIB%g s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g -s%@OMIT_FRAME_POINTER@%$OMIT_FRAME_POINTER%g -s%@P5PLUS_KOPTS@%$P5PLUS_KOPTS%g -s%@LINUX_GCC_KOPTS@%$LINUX_GCC_KOPTS%g +s%@PERL@%$PERL%g +s%@PERL_INSTALL@%$PERL_INSTALL%g s%@RHCONFIG_SP@%$RHCONFIG_SP%g s%@RHCONFIG_MP@%$RHCONFIG_MP%g s%@MPS@%$MPS%g s%@HEADER_RT@%$HEADER_RT%g -s%@KERN_DEBUG_OPT@%$KERN_DEBUG_OPT%g -s%@KDUMP@%$KDUMP%g -s%@KDUMP64@%$KDUMP64%g s%@PTHREAD_LIBS@%$PTHREAD_LIBS%g -s%@XBSA_CFLAGS@%$XBSA_CFLAGS%g -s%@HAVE_PAM@%$HAVE_PAM%g s%@afsconfdir@%$afsconfdir%g s%@viceetcdir@%$viceetcdir%g s%@afskerneldir@%$afskerneldir%g @@ -5553,6 +4411,7 @@ s%@afslogsdir@%$afslogsdir%g s%@afslocaldir@%$afslocaldir%g s%@afsbackupdir@%$afsbackupdir%g s%@afsbosconfigdir@%$afsbosconfigdir%g +s%@afsperldir@%$afsperldir%g s%@AFS_SYSNAME@%$AFS_SYSNAME%g s%@ENABLE_KERNEL_MODULE@%$ENABLE_KERNEL_MODULE%g s%@LIB_AFSDB@%$LIB_AFSDB%g @@ -5565,8 +4424,6 @@ s%@TOP_LIBDIR@%$TOP_LIBDIR%g s%@DEST@%$DEST%g s%@WITH_OBSOLETE@%$WITH_OBSOLETE%g s%@WITH_INSECURE@%$WITH_INSECURE%g -s%@DARWIN_INFOFILE@%$DARWIN_INFOFILE%g -s%@IRIX_BUILD_IP35@%$IRIX_BUILD_IP35%g CEOF EOF @@ -5612,6 +4469,7 @@ CONFIG_FILES=\${CONFIG_FILES-"\ Makefile \ src/afs/Makefile \ src/afsd/Makefile \ +${DARWIN_PLIST} \ src/afsmonitor/Makefile \ src/afsweb/Makefile \ src/audit/Makefile \ @@ -5625,6 +4483,7 @@ src/bucoord/Makefile \ src/budb/Makefile \ src/butc/Makefile \ src/butm/Makefile \ + src/cell-setup/Makefile src/cmd/test/Makefile \ src/cmd/Makefile \ src/comerr/test/Makefile \ @@ -5661,7 +4520,6 @@ src/libadmin/samples/Makefile \ src/libadmin/test/Makefile \ src/libadmin/vos/Makefile \ src/libafs/MakefileProto.${MKAFS_OSTYPE} \ -${DARWIN_PLIST} \ src/libafsauthent/Makefile \ src/libafsrpc/Makefile \ src/libuafs/MakefileProto.${MKAFS_OSTYPE} \ @@ -5696,14 +4554,9 @@ src/rxkad/test/Makefile \ src/rxstat/Makefile \ src/scout/Makefile \ src/sgistuff/Makefile \ -src/shlibafsauthent/Makefile \ -src/shlibafsrpc/Makefile \ src/sia/Makefile \ src/sys/Makefile \ src/tbutc/Makefile \ -src/tests/Makefile \ -src/tests/run-tests \ -src/tests/OpenAFS/Dirpath.pm \ src/tsm41/Makefile \ src/tviced/Makefile \ src/ubik/Makefile \ diff --git a/configure-libafs b/configure-libafs index bb75dd2b6..58de5bddf 100755 --- a/configure-libafs +++ b/configure-libafs @@ -581,6 +581,7 @@ ac_config_guess=$ac_aux_dir/config.guess ac_config_sub=$ac_aux_dir/config.sub ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. +am__api_version="1.4" # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: @@ -593,7 +594,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:597: checking for a BSD compatible install" >&5 +echo "configure:598: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -646,7 +647,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:650: checking whether build environment is sane" >&5 +echo "configure:651: checking whether build environment is sane" >&5 # Just in case sleep 1 echo timestamp > conftestfile @@ -703,7 +704,7 @@ test "$program_suffix" != NONE && test "$program_transform_name" = "" && program_transform_name="s,x,x," echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:707: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:708: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -732,7 +733,7 @@ fi PACKAGE=openafs-libafs -VERSION=1.2.10 +VERSION=1.2.11 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } @@ -748,21 +749,21 @@ EOF missing_dir=`cd $ac_aux_dir && pwd` -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 -echo "configure:753: checking for working aclocal" >&5 +echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 +echo "configure:754: checking for working aclocal-${am__api_version}" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. -if (aclocal --version) < /dev/null > /dev/null 2>&1; then - ACLOCAL=aclocal +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then + ACLOCAL=aclocal-${am__api_version} echo "$ac_t""found" 1>&6 else - ACLOCAL="$missing_dir/missing aclocal" + ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:766: checking for working autoconf" >&5 +echo "configure:767: checking for working autoconf" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -774,21 +775,21 @@ else echo "$ac_t""missing" 1>&6 fi -echo $ac_n "checking for working automake""... $ac_c" 1>&6 -echo "configure:779: checking for working automake" >&5 +echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 +echo "configure:780: checking for working automake-${am__api_version}" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. -if (automake --version) < /dev/null > /dev/null 2>&1; then - AUTOMAKE=automake +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then + AUTOMAKE=automake-${am__api_version} echo "$ac_t""found" 1>&6 else - AUTOMAKE="$missing_dir/missing automake" + AUTOMAKE="$missing_dir/missing automake-${am__api_version}" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:792: checking for working autoheader" >&5 +echo "configure:793: checking for working autoheader" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -801,7 +802,7 @@ else fi echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:805: checking for working makeinfo" >&5 +echo "configure:806: checking for working makeinfo" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -820,7 +821,7 @@ fi # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:824: checking for $ac_word" >&5 +echo "configure:825: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -850,7 +851,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:854: checking for $ac_word" >&5 +echo "configure:855: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -901,7 +902,7 @@ fi # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:905: checking for $ac_word" >&5 +echo "configure:906: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -933,7 +934,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:937: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:938: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -944,12 +945,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 948 "configure" +#line 949 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -975,12 +976,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:979: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:980: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:984: checking whether we are using GNU C" >&5 +echo "configure:985: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -989,7 +990,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1008,7 +1009,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1012: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:1013: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1040,7 +1041,7 @@ else fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1044: checking how to run the C preprocessor" >&5 +echo "configure:1045: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1055,13 +1056,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1072,13 +1073,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1089,13 +1090,13 @@ else rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1120,12 +1121,12 @@ fi echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1124: checking for ANSI C header files" >&5 +echo "configure:1125: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1133,7 +1134,7 @@ else #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1150,7 +1151,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -1168,7 +1169,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -1189,7 +1190,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -1200,7 +1201,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:1204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -1232,7 +1233,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:1236: checking host system type" >&5 +echo "configure:1237: checking host system type" >&5 host_alias=$host case "$host_alias" in @@ -1392,9 +1393,9 @@ fi echo $ac_n "checking for AIX""... $ac_c" 1>&6 -echo "configure:1396: checking for AIX" >&5 +echo "configure:1397: checking for AIX" >&5 cat > conftest.$ac_ext <&6 -echo "configure:1421: checking for strerror in -lcposix" >&5 +echo "configure:1422: checking for strerror in -lcposix" >&5 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1425,7 +1426,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lcposix $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1460,17 +1461,17 @@ fi ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 -echo "configure:1464: checking for minix/config.h" >&5 +echo "configure:1465: checking for minix/config.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1509,12 +1510,12 @@ fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:1513: checking for pid_t" >&5 +echo "configure:1514: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1542,12 +1543,12 @@ EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:1546: checking for size_t" >&5 +echo "configure:1547: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1575,12 +1576,12 @@ EOF fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:1579: checking return type of signal handlers" >&5 +echo "configure:1580: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1597,7 +1598,7 @@ int main() { int i; ; return 0; } EOF -if { (eval echo configure:1601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -1628,7 +1629,7 @@ EOF # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:1632: checking for a BSD compatible install" >&5 +echo "configure:1633: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1681,7 +1682,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:1685: checking whether ln -s works" >&5 +echo "configure:1686: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1704,7 +1705,7 @@ fi # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1708: checking for $ac_word" >&5 +echo "configure:1709: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1736,7 +1737,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1740: checking for $ac_word" >&5 +echo "configure:1741: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1772,7 +1773,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1776: checking for $ac_word" >&5 +echo "configure:1777: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1800,12 +1801,12 @@ fi test -n "$LEX" && break done -test -n "$LEX" || LEX=""$missing_dir/missing flex"" +test -n "$LEX" || LEX="$missing_dir/missing flex" # Extract the first word of "flex", so it can be a program name with args. set dummy flex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1809: checking for $ac_word" >&5 +echo "configure:1810: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1839,7 +1840,7 @@ then *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 -echo "configure:1843: checking for yywrap in -l$ac_lib" >&5 +echo "configure:1844: checking for yywrap in -l$ac_lib" >&5 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1847,7 +1848,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l$ac_lib $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1881,7 +1882,7 @@ fi fi echo $ac_n "checking lex output file root""... $ac_c" 1>&6 -echo "configure:1885: checking lex output file root" >&5 +echo "configure:1886: checking lex output file root" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1902,7 +1903,7 @@ echo "$ac_t""$ac_cv_prog_lex_root" 1>&6 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 -echo "configure:1906: checking whether yytext is a pointer" >&5 +echo "configure:1907: checking whether yytext is a pointer" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1914,14 +1915,14 @@ echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c ac_save_LIBS="$LIBS" LIBS="$LIBS $LEXLIB" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_prog_lex_yytext_pointer=yes else @@ -1957,12 +1958,12 @@ if test "${enable_littleendian+set}" = set; then fi echo $ac_n "checking whether byte order is known at compile time""... $ac_c" 1>&6 -echo "configure:1961: checking whether byte order is known at compile time" >&5 +echo "configure:1962: checking whether byte order is known at compile time" >&5 if eval "test \"`echo '$''{'openafs_cv_c_bigendian_compile'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -1974,7 +1975,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:1978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* openafs_cv_c_bigendian_compile=yes else @@ -1988,14 +1989,14 @@ fi echo "$ac_t""$openafs_cv_c_bigendian_compile" 1>&6 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:1992: checking whether byte ordering is bigendian" >&5 +echo "configure:1993: checking whether byte ordering is bigendian" >&5 if eval "test \"`echo '$''{'openafs_cv_c_bigendian'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$openafs_cv_c_bigendian_compile" = "yes"; then cat > conftest.$ac_ext < @@ -2007,7 +2008,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:2011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* openafs_cv_c_bigendian=yes else @@ -2022,7 +2023,7 @@ rm -f conftest* { echo "configure: error: specify either --enable-bigendian or --enable-littleendian" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then openafs_cv_c_bigendian=no else @@ -2070,7 +2071,7 @@ if test "x$enable_debug_kernel" = "xyes"; then fi echo $ac_n "checking your OS""... $ac_c" 1>&6 -echo "configure:2074: checking your OS" >&5 +echo "configure:2075: checking your OS" >&5 system=$host case $system in *-linux*) @@ -2133,7 +2134,7 @@ EOF echo $ac_n "checking if $CC accepts -march=pentium""... $ac_c" 1>&6 -echo "configure:2137: checking if $CC accepts -march=pentium" >&5 +echo "configure:2138: checking if $CC accepts -march=pentium" >&5 save_CFLAGS="$CFLAGS" CFLAGS="-MARCH=pentium" if eval "test \"`echo '$''{'openafs_gcc_supports_march'+set}'`\" = set"; then @@ -2141,14 +2142,14 @@ if eval "test \"`echo '$''{'openafs_gcc_supports_march'+set}'`\" = set"; then else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* openafs_gcc_supports_march=yes else @@ -2171,7 +2172,7 @@ CFLAGS="$save_CFLAGS" echo $ac_n "checking if $CC needs -fno-strength-reduce""... $ac_c" 1>&6 -echo "configure:2175: checking if $CC needs -fno-strength-reduce" >&5 +echo "configure:2176: checking if $CC needs -fno-strength-reduce" >&5 save_CFLAGS="$CFLAGS" CFLAGS="-fno-strength-reduce" if eval "test \"`echo '$''{'openafs_gcc_needs_no_strength_reduce'+set}'`\" = set"; then @@ -2179,14 +2180,14 @@ if eval "test \"`echo '$''{'openafs_gcc_needs_no_strength_reduce'+set}'`\" = set else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* openafs_gcc_needs_no_strength_reduce=yes else @@ -2206,7 +2207,7 @@ CFLAGS="$save_CFLAGS" echo $ac_n "checking if $CC needs -fno-strict-aliasing""... $ac_c" 1>&6 -echo "configure:2210: checking if $CC needs -fno-strict-aliasing" >&5 +echo "configure:2211: checking if $CC needs -fno-strict-aliasing" >&5 save_CFLAGS="$CFLAGS" CFLAGS="-fno-strict-aliasing" if eval "test \"`echo '$''{'openafs_gcc_needs_no_strict_aliasing'+set}'`\" = set"; then @@ -2214,14 +2215,14 @@ if eval "test \"`echo '$''{'openafs_gcc_needs_no_strict_aliasing'+set}'`\" = set else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* openafs_gcc_needs_no_strict_aliasing=yes else @@ -2241,7 +2242,7 @@ CFLAGS="$save_CFLAGS" echo $ac_n "checking if $CC supports -fno-common""... $ac_c" 1>&6 -echo "configure:2245: checking if $CC supports -fno-common" >&5 +echo "configure:2246: checking if $CC supports -fno-common" >&5 save_CFLAGS="$CFLAGS" CFLAGS="-fno-common" if eval "test \"`echo '$''{'openafs_gcc_supports_no_common'+set}'`\" = set"; then @@ -2249,14 +2250,14 @@ if eval "test \"`echo '$''{'openafs_gcc_supports_no_common'+set}'`\" = set"; the else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* openafs_gcc_supports_no_common=yes else @@ -2277,7 +2278,7 @@ CFLAGS="$save_CFLAGS" echo $ac_n "checking whether to build osi_vfs.h""... $ac_c" 1>&6 -echo "configure:2281: checking whether to build osi_vfs.h" >&5 +echo "configure:2282: checking whether to build osi_vfs.h" >&5 configdir=config outputdir=afs chmod +x $configdir/make_vnode.pl @@ -2285,7 +2286,7 @@ $configdir/make_vnode.pl -i $LINUX_KERNEL_PATH -o $outputdir echo $ac_n "checking for linux/completion.h existance""... $ac_c" 1>&6 -echo "configure:2289: checking for linux/completion.h existance" >&5 +echo "configure:2290: checking for linux/completion.h existance" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_completion_h_exists'+set}'`\" = set"; then @@ -2293,7 +2294,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_completion_h_exists'+set}'`\" = set"; th else cat > conftest.$ac_ext < #include @@ -2305,7 +2306,7 @@ lose ; return 0; } EOF -if { (eval echo configure:2309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_completion_h_exists=yes else @@ -2321,7 +2322,7 @@ echo "$ac_t""$ac_cv_linux_completion_h_exists" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for defined for_each_process""... $ac_c" 1>&6 -echo "configure:2325: checking for defined for_each_process" >&5 +echo "configure:2326: checking for defined for_each_process" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_defines_for_each_process'+set}'`\" = set"; then @@ -2329,7 +2330,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_defines_for_each_process'+set}'`\" = set else cat > conftest.$ac_ext < int main() { @@ -2338,7 +2339,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:2342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_defines_for_each_process=yes else @@ -2354,7 +2355,7 @@ echo "$ac_t""$ac_cv_linux_defines_for_each_process" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for defined prev_task""... $ac_c" 1>&6 -echo "configure:2358: checking for defined prev_task" >&5 +echo "configure:2359: checking for defined prev_task" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_defines_prev_task'+set}'`\" = set"; then @@ -2362,7 +2363,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_defines_prev_task'+set}'`\" = set"; then else cat > conftest.$ac_ext < int main() { @@ -2371,7 +2372,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:2375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_defines_prev_task=yes else @@ -2387,7 +2388,7 @@ echo "$ac_t""$ac_cv_linux_defines_prev_task" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for exported tasklist_lock""... $ac_c" 1>&6 -echo "configure:2391: checking for exported tasklist_lock" >&5 +echo "configure:2392: checking for exported tasklist_lock" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_exports_tasklist_lock'+set}'`\" = set"; then @@ -2395,7 +2396,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_exports_tasklist_lock'+set}'`\" = set"; else cat > conftest.$ac_ext < int main() { @@ -2404,7 +2405,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:2408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_exports_tasklist_lock=yes else @@ -2420,7 +2421,7 @@ echo "$ac_t""$ac_cv_linux_exports_tasklist_lock" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for page_lock in struct address_space""... $ac_c" 1>&6 -echo "configure:2424: checking for page_lock in struct address_space" >&5 +echo "configure:2425: checking for page_lock in struct address_space" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_address_space_has_page_lock'+set}'`\" = set"; then @@ -2428,7 +2429,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_address_space_has_page_lock'+s else cat > conftest.$ac_ext < int main() { @@ -2436,7 +2437,7 @@ struct address_space _a_s; printf("%x\n", _a_s.page_lock); ; return 0; } EOF -if { (eval echo configure:2440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_fs_struct_address_space_has_page_lock=yes else @@ -2452,7 +2453,7 @@ echo "$ac_t""$ac_cv_linux_fs_struct_address_space_has_page_lock" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for gfp_mask in struct address_space""... $ac_c" 1>&6 -echo "configure:2456: checking for gfp_mask in struct address_space" >&5 +echo "configure:2457: checking for gfp_mask in struct address_space" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_address_space_has_gfp_mask'+set}'`\" = set"; then @@ -2460,7 +2461,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_address_space_has_gfp_mask'+se else cat > conftest.$ac_ext < int main() { @@ -2468,7 +2469,7 @@ struct address_space _a; printf("%d\n", _a.gfp_mask); ; return 0; } EOF -if { (eval echo configure:2472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_fs_struct_address_space_has_gfp_mask=yes else @@ -2484,7 +2485,7 @@ echo "$ac_t""$ac_cv_linux_fs_struct_address_space_has_gfp_mask" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for i_alloc_sem in struct inode""... $ac_c" 1>&6 -echo "configure:2488: checking for i_alloc_sem in struct inode" >&5 +echo "configure:2489: checking for i_alloc_sem in struct inode" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_alloc_sem'+set}'`\" = set"; then @@ -2492,7 +2493,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_alloc_sem'+set}'`\ else cat > conftest.$ac_ext < int main() { @@ -2500,7 +2501,7 @@ struct inode _i; printf("%x\n", _i.i_alloc_sem); ; return 0; } EOF -if { (eval echo configure:2504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_fs_struct_inode_has_i_alloc_sem=yes else @@ -2516,7 +2517,7 @@ echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_alloc_sem" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for i_truncate_sem in struct inode""... $ac_c" 1>&6 -echo "configure:2520: checking for i_truncate_sem in struct inode" >&5 +echo "configure:2521: checking for i_truncate_sem in struct inode" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_truncate_sem'+set}'`\" = set"; then @@ -2524,7 +2525,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_truncate_sem'+set} else cat > conftest.$ac_ext < int main() { @@ -2532,7 +2533,7 @@ struct inode _i; printf("%x\n", _i.i_truncate_sem); ; return 0; } EOF -if { (eval echo configure:2536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_fs_struct_inode_has_i_truncate_sem=yes else @@ -2548,7 +2549,7 @@ echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_truncate_sem" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for i_dirty_data_buffers in struct inode""... $ac_c" 1>&6 -echo "configure:2552: checking for i_dirty_data_buffers in struct inode" >&5 +echo "configure:2553: checking for i_dirty_data_buffers in struct inode" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers'+set}'`\" = set"; then @@ -2556,7 +2557,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers else cat > conftest.$ac_ext < int main() { @@ -2564,7 +2565,7 @@ struct inode _inode; printf("%d\n", _inode.i_dirty_data_buffers); ; return 0; } EOF -if { (eval echo configure:2568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers=yes else @@ -2580,7 +2581,7 @@ echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for i_devices in struct inode""... $ac_c" 1>&6 -echo "configure:2584: checking for i_devices in struct inode" >&5 +echo "configure:2585: checking for i_devices in struct inode" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_cdev'+set}'`\" = set"; then @@ -2588,7 +2589,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_fs_struct_inode_has_i_cdev'+set}'`\" = s else cat > conftest.$ac_ext < int main() { @@ -2596,7 +2597,7 @@ struct inode _inode; printf("%d\n", _inode.i_devices); ; return 0; } EOF -if { (eval echo configure:2600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_fs_struct_inode_has_i_devices=yes else @@ -2612,7 +2613,7 @@ echo "$ac_t""$ac_cv_linux_fs_struct_inode_has_i_devices" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for inode_setattr return type""... $ac_c" 1>&6 -echo "configure:2616: checking for inode_setattr return type" >&5 +echo "configure:2617: checking for inode_setattr return type" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_func_inode_setattr_returns_int'+set}'`\" = set"; then @@ -2620,7 +2621,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_func_inode_setattr_returns_int'+set}'`\" else cat > conftest.$ac_ext < int main() { @@ -2630,7 +2631,7 @@ int i; i = inode_setattr(&_inode, &_iattr); ; return 0; } EOF -if { (eval echo configure:2634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_func_inode_setattr_returns_int=yes else @@ -2646,7 +2647,7 @@ echo "$ac_t""$ac_cv_linux_func_inode_setattr_returns_int" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for linux/syscall.h in kernel""... $ac_c" 1>&6 -echo "configure:2650: checking for linux/syscall.h in kernel" >&5 +echo "configure:2651: checking for linux/syscall.h in kernel" >&5 if test -f "${LINUX_KERNEL_PATH}/include/linux/syscall.h"; then ac_linux_syscall=yes echo "$ac_t""$ac_linux_syscall" 1>&6 @@ -2662,7 +2663,7 @@ if test "x$enable_redhat_buildsys" = "xyes"; then echo "configure: warning: Configured to build from a Red Hat SPEC file" 1>&2 else echo $ac_n "checking for redhat kernel configuration""... $ac_c" 1>&6 -echo "configure:2666: checking for redhat kernel configuration" >&5 +echo "configure:2667: checking for redhat kernel configuration" >&5 if test -f "${LINUX_KERNEL_PATH}/include/linux/rhconfig.h"; then ac_linux_rhconfig=yes RHCONFIG_SP="-D__BOOT_KERNEL_UP=1 -D__BOOT_KERNEL_SMP=0" @@ -2681,7 +2682,7 @@ fi echo $ac_n "checking for recalc_sigpending arg type""... $ac_c" 1>&6 -echo "configure:2685: checking for recalc_sigpending arg type" >&5 +echo "configure:2686: checking for recalc_sigpending arg type" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_func_recalc_sigpending_takes_void'+set}'`\" = set"; then @@ -2689,14 +2690,14 @@ if eval "test \"`echo '$''{'ac_cv_linux_func_recalc_sigpending_takes_void'+set}' else cat > conftest.$ac_ext < int main() { recalc_sigpending(); ; return 0; } EOF -if { (eval echo configure:2700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_func_recalc_sigpending_takes_void=yes else @@ -2712,7 +2713,7 @@ echo "$ac_t""$ac_cv_linux_func_recalc_sigpending_takes_void" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for parent in struct task_struct""... $ac_c" 1>&6 -echo "configure:2716: checking for parent in struct task_struct" >&5 +echo "configure:2717: checking for parent in struct task_struct" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_parent'+set}'`\" = set"; then @@ -2720,7 +2721,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_parent'+set else cat > conftest.$ac_ext < int main() { @@ -2728,7 +2729,7 @@ struct task_struct _tsk; printf("%d\n", _tsk.parent); ; return 0; } EOF -if { (eval echo configure:2732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_sched_struct_task_struct_has_parent=yes else @@ -2744,7 +2745,7 @@ echo "$ac_t""$ac_cv_linux_sched_struct_task_struct_has_parent" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for real_parent in struct task_struct""... $ac_c" 1>&6 -echo "configure:2748: checking for real_parent in struct task_struct" >&5 +echo "configure:2749: checking for real_parent in struct task_struct" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_real_parent'+set}'`\" = set"; then @@ -2752,7 +2753,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_real_parent else cat > conftest.$ac_ext < int main() { @@ -2760,7 +2761,7 @@ struct task_struct _tsk; printf("%d\n", _tsk.real_parent); ; return 0; } EOF -if { (eval echo configure:2764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_sched_struct_task_struct_has_real_parent=yes else @@ -2776,7 +2777,7 @@ echo "$ac_t""$ac_cv_linux_sched_struct_task_struct_has_real_parent" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for sig in struct task_struct""... $ac_c" 1>&6 -echo "configure:2780: checking for sig in struct task_struct" >&5 +echo "configure:2781: checking for sig in struct task_struct" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_sig'+set}'`\" = set"; then @@ -2784,7 +2785,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_sig'+set}'` else cat > conftest.$ac_ext < int main() { @@ -2792,7 +2793,7 @@ struct task_struct _tsk; printf("%d\n", _tsk.sig); ; return 0; } EOF -if { (eval echo configure:2796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_sched_struct_task_struct_has_sig=yes else @@ -2808,7 +2809,7 @@ echo "$ac_t""$ac_cv_linux_sched_struct_task_struct_has_sig" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for sighand in struct task_struct""... $ac_c" 1>&6 -echo "configure:2812: checking for sighand in struct task_struct" >&5 +echo "configure:2813: checking for sighand in struct task_struct" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_sighand'+set}'`\" = set"; then @@ -2816,7 +2817,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_sighand'+se else cat > conftest.$ac_ext < int main() { @@ -2824,7 +2825,7 @@ struct task_struct _tsk; printf("%d\n", _tsk.sighand); ; return 0; } EOF -if { (eval echo configure:2828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_sched_struct_task_struct_has_sighand=yes else @@ -2840,7 +2841,7 @@ echo "$ac_t""$ac_cv_linux_sched_struct_task_struct_has_sighand" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for sigmask_lock in struct task_struct""... $ac_c" 1>&6 -echo "configure:2844: checking for sigmask_lock in struct task_struct" >&5 +echo "configure:2845: checking for sigmask_lock in struct task_struct" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_sigmask_lock'+set}'`\" = set"; then @@ -2848,7 +2849,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_sched_struct_task_struct_has_sigmask_loc else cat > conftest.$ac_ext < int main() { @@ -2856,7 +2857,7 @@ struct task_struct _tsk; printf("%d\n", _tsk.sigmask_lock); ; return 0; } EOF -if { (eval echo configure:2860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_sched_struct_task_struct_has_sigmask_lock=yes else @@ -2877,13 +2878,13 @@ else save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $RHCONFIG_SP $CPPFLAGS" echo $ac_n "checking if kernel uses MODVERSIONS""... $ac_c" 1>&6 -echo "configure:2881: checking if kernel uses MODVERSIONS" >&5 +echo "configure:2882: checking if kernel uses MODVERSIONS" >&5 if eval "test \"`echo '$''{'ac_cv_linux_config_modversions'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -2894,7 +2895,7 @@ lose; ; return 0; } EOF -if { (eval echo configure:2898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_config_modversions=yes else @@ -2908,7 +2909,7 @@ fi echo "$ac_t""$ac_cv_linux_config_modversions" 1>&6 echo $ac_n "checking which kernel modules to build""... $ac_c" 1>&6 -echo "configure:2912: checking which kernel modules to build" >&5 +echo "configure:2913: checking which kernel modules to build" >&5 if test "x$ac_linux_rhconfig" = "xyes" -o "x$ac_cv_linux_config_modversions" = "xno"; then MPS="MP SP" else @@ -2917,7 +2918,7 @@ echo "configure:2912: checking which kernel modules to build" >&5 else cat > conftest.$ac_ext < @@ -2928,7 +2929,7 @@ lose; ; return 0; } EOF -if { (eval echo configure:2932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_config_smp=yes else @@ -2960,7 +2961,7 @@ fi else echo $ac_n "checking for exported init_mm""... $ac_c" 1>&6 -echo "configure:2964: checking for exported init_mm" >&5 +echo "configure:2965: checking for exported init_mm" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_exports_init_mm'+set}'`\" = set"; then @@ -2968,7 +2969,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_exports_init_mm'+set}'`\" = set"; then else cat > conftest.$ac_ext < int main() { @@ -2977,7 +2978,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:2981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_exports_init_mm=yes else @@ -2993,7 +2994,7 @@ echo "$ac_t""$ac_cv_linux_exports_init_mm" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for exported kallsyms_address_to_symbol""... $ac_c" 1>&6 -echo "configure:2997: checking for exported kallsyms_address_to_symbol" >&5 +echo "configure:2998: checking for exported kallsyms_address_to_symbol" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_exports_kallsyms_address'+set}'`\" = set"; then @@ -3001,7 +3002,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_exports_kallsyms_address'+set}'`\" = set else cat > conftest.$ac_ext < int main() { @@ -3010,7 +3011,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_exports_kallsyms_address=yes else @@ -3026,7 +3027,7 @@ echo "$ac_t""$ac_cv_linux_exports_kallsyms_address" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for exported kallsyms_symbol_to_address""... $ac_c" 1>&6 -echo "configure:3030: checking for exported kallsyms_symbol_to_address" >&5 +echo "configure:3031: checking for exported kallsyms_symbol_to_address" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_exports_kallsyms_symbol'+set}'`\" = set"; then @@ -3034,7 +3035,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_exports_kallsyms_symbol'+set}'`\" = set" else cat > conftest.$ac_ext < int main() { @@ -3043,7 +3044,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_exports_kallsyms_symbol=yes else @@ -3059,7 +3060,7 @@ echo "$ac_t""$ac_cv_linux_exports_kallsyms_symbol" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for exported sys_call_table""... $ac_c" 1>&6 -echo "configure:3063: checking for exported sys_call_table" >&5 +echo "configure:3064: checking for exported sys_call_table" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_call_table'+set}'`\" = set"; then @@ -3067,7 +3068,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_call_table'+set}'`\" = set"; else cat > conftest.$ac_ext < int main() { @@ -3076,7 +3077,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_exports_sys_call_table=yes else @@ -3092,7 +3093,7 @@ echo "$ac_t""$ac_cv_linux_exports_sys_call_table" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for exported ia32_sys_call_table""... $ac_c" 1>&6 -echo "configure:3096: checking for exported ia32_sys_call_table" >&5 +echo "configure:3097: checking for exported ia32_sys_call_table" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_exports_ia32_sys_call_table'+set}'`\" = set"; then @@ -3100,7 +3101,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_exports_ia32_sys_call_table'+set}'`\" = else cat > conftest.$ac_ext < int main() { @@ -3109,7 +3110,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_exports_ia32_sys_call_table=yes else @@ -3125,7 +3126,7 @@ echo "$ac_t""$ac_cv_linux_exports_ia32_sys_call_table" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for exported sys_chdir""... $ac_c" 1>&6 -echo "configure:3129: checking for exported sys_chdir" >&5 +echo "configure:3130: checking for exported sys_chdir" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_chdir'+set}'`\" = set"; then @@ -3133,7 +3134,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_chdir'+set}'`\" = set"; then else cat > conftest.$ac_ext < int main() { @@ -3142,7 +3143,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_exports_sys_chdir=yes else @@ -3158,7 +3159,7 @@ echo "$ac_t""$ac_cv_linux_exports_sys_chdir" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for exported sys_close""... $ac_c" 1>&6 -echo "configure:3162: checking for exported sys_close" >&5 +echo "configure:3163: checking for exported sys_close" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_close'+set}'`\" = set"; then @@ -3166,7 +3167,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_close'+set}'`\" = set"; then else cat > conftest.$ac_ext < int main() { @@ -3175,7 +3176,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_exports_sys_close=yes else @@ -3191,7 +3192,7 @@ echo "$ac_t""$ac_cv_linux_exports_sys_close" 1>&6 CPPFLAGS="$save_CPPFLAGS" echo $ac_n "checking for exported sys_wait4""... $ac_c" 1>&6 -echo "configure:3195: checking for exported sys_wait4" >&5 +echo "configure:3196: checking for exported sys_wait4" >&5 save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS" if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_wait4'+set}'`\" = set"; then @@ -3199,7 +3200,7 @@ if eval "test \"`echo '$''{'ac_cv_linux_exports_sys_wait4'+set}'`\" = set"; then else cat > conftest.$ac_ext < int main() { @@ -3208,7 +3209,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_linux_exports_sys_wait4=yes else @@ -3396,13 +3397,13 @@ EOF echo "$ac_t""sun4" 1>&6 echo $ac_n "checking for vfs_dqrwlock in struct ufsvfs""... $ac_c" 1>&6 -echo "configure:3400: checking for vfs_dqrwlock in struct ufsvfs" >&5 +echo "configure:3401: checking for vfs_dqrwlock in struct ufsvfs" >&5 if eval "test \"`echo '$''{'ac_cv_solaris_ufsvfs_has_dqrwlock'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -3411,7 +3412,7 @@ struct ufsvfs _ufsvfs; (void) _ufsvfs.vfs_dqrwlock; ; return 0; } EOF -if { (eval echo configure:3415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_solaris_ufsvfs_has_dqrwlock=yes else @@ -3433,13 +3434,13 @@ fi echo $ac_n "checking for p_corefile in struct proc""... $ac_c" 1>&6 -echo "configure:3437: checking for p_corefile in struct proc" >&5 +echo "configure:3438: checking for p_corefile in struct proc" >&5 if eval "test \"`echo '$''{'ac_cv_solaris_proc_has_p_corefile'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -3448,7 +3449,7 @@ struct proc _proc; (void) _proc.p_corefile; ; return 0; } EOF -if { (eval echo configure:3452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_solaris_proc_has_p_corefile=yes else @@ -3470,13 +3471,13 @@ fi echo $ac_n "checking for fs_rolled in struct proc""... $ac_c" 1>&6 -echo "configure:3474: checking for fs_rolled in struct proc" >&5 +echo "configure:3475: checking for fs_rolled in struct proc" >&5 if eval "test \"`echo '$''{'ac_cv_solaris_fs_has_fs_rolled'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -3484,7 +3485,7 @@ struct fs _fs; (void) _fs.fs_rolled; ; return 0; } EOF -if { (eval echo configure:3488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_solaris_fs_has_fs_rolled=yes else @@ -3562,7 +3563,7 @@ if test "x$with_afs_sysname" != "x"; then AFS_SYSNAME="$with_afs_sysname" else echo $ac_n "checking your AFS sysname""... $ac_c" 1>&6 -echo "configure:3566: checking your AFS sysname" >&5 +echo "configure:3567: checking your AFS sysname" >&5 case $host in i?86-*-freebsd4.2*) AFS_SYSNAME="i386_fbsd_42" @@ -3756,9 +3757,9 @@ if eval "test \"`echo '$''{'ac_cv_sockaddr_len'+set}'`\" = set"; then else echo $ac_n "checking if struct sockaddr has sa_len field""... $ac_c" 1>&6 -echo "configure:3760: checking if struct sockaddr has sa_len field" >&5 +echo "configure:3761: checking if struct sockaddr has sa_len field" >&5 cat > conftest.$ac_ext < #include @@ -3767,7 +3768,7 @@ struct sockaddr *a; a->sa_len=0; ; return 0; } EOF -if { (eval echo configure:3771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_sockaddr_len=yes else @@ -3792,12 +3793,12 @@ else for ac_func in socket do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3796: checking for $ac_func" >&5 +echo "configure:3797: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3849,7 +3850,7 @@ done for lib in socket inet; do if test "$HAVE_SOCKET" != 1; then echo $ac_n "checking for socket in -l${lib}""... $ac_c" 1>&6 -echo "configure:3853: checking for socket in -l${lib}" >&5 +echo "configure:3854: checking for socket in -l${lib}" >&5 ac_lib_var=`echo ${lib}'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3857,7 +3858,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l${lib} $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3898,12 +3899,12 @@ fi for ac_func in connect do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3902: checking for $ac_func" >&5 +echo "configure:3903: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3955,7 +3956,7 @@ done for lib in nsl; do if test "$HAVE_CONNECT" != 1; then echo $ac_n "checking for connect in -l${lib}""... $ac_c" 1>&6 -echo "configure:3959: checking for connect in -l${lib}" >&5 +echo "configure:3960: checking for connect in -l${lib}" >&5 ac_lib_var=`echo ${lib}'_'connect | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3963,7 +3964,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l${lib} $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4004,12 +4005,12 @@ fi for ac_func in gethostbyname do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4008: checking for $ac_func" >&5 +echo "configure:4009: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4060,7 +4061,7 @@ done for lib in dns nsl resolv; do if test "$HAVE_GETHOSTBYNAME" != 1; then echo $ac_n "checking for gethostbyname in -l${lib}""... $ac_c" 1>&6 -echo "configure:4064: checking for gethostbyname in -l${lib}" >&5 +echo "configure:4065: checking for gethostbyname in -l${lib}" >&5 ac_lib_var=`echo ${lib}'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4068,7 +4069,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l${lib} $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4108,11 +4109,11 @@ fi openafs_save_libs="$LIBS" echo $ac_n "checking for res_search""... $ac_c" 1>&6 -echo "configure:4112: checking for res_search" >&5 +echo "configure:4113: checking for res_search" >&5 ac_cv_func_res_search=no cat > conftest.$ac_ext < @@ -4130,7 +4131,6 @@ res_init(); */ r = res_search( host, C_IN, T_MX, (u_char *)&ans, sizeof(ans)); return 0; -res_close(); ; return 0; } EOF @@ -4169,11 +4169,10 @@ res_init(); */ r = res_search( host, C_IN, T_MX, (u_char *)&ans, sizeof(ans)); return 0; -res_close(); ; return 0; } EOF -if { (eval echo configure:4177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_res_search=yes else @@ -4207,7 +4206,7 @@ fi PTHREAD_LIBS=error echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6 -echo "configure:4211: checking for pthread_attr_init in -lpthread" >&5 +echo "configure:4210: checking for pthread_attr_init in -lpthread" >&5 ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4215,7 +4214,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lpthread $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4248,7 +4247,7 @@ fi if test "x$PTHREAD_LIBS" = xerror; then echo $ac_n "checking for pthread_attr_init in -lpthreads""... $ac_c" 1>&6 -echo "configure:4252: checking for pthread_attr_init in -lpthreads" >&5 +echo "configure:4251: checking for pthread_attr_init in -lpthreads" >&5 ac_lib_var=`echo pthreads'_'pthread_attr_init | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4256,7 +4255,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lpthreads $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4290,7 +4289,7 @@ fi fi if test "x$PTHREAD_LIBS" = xerror; then echo $ac_n "checking for pthread_attr_init in -lc_r""... $ac_c" 1>&6 -echo "configure:4294: checking for pthread_attr_init in -lc_r" >&5 +echo "configure:4293: checking for pthread_attr_init in -lc_r" >&5 ac_lib_var=`echo c_r'_'pthread_attr_init | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4298,7 +4297,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lc_r $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4332,12 +4331,12 @@ fi fi if test "x$PTHREAD_LIBS" = xerror; then echo $ac_n "checking for pthread_attr_init""... $ac_c" 1>&6 -echo "configure:4336: checking for pthread_attr_init" >&5 +echo "configure:4335: checking for pthread_attr_init" >&5 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_init'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_pthread_attr_init=yes" else @@ -4447,7 +4446,7 @@ EOF fi echo $ac_n "checking for tivoli tsm butc support""... $ac_c" 1>&6 -echo "configure:4451: checking for tivoli tsm butc support" >&5 +echo "configure:4450: checking for tivoli tsm butc support" >&5 XBSA_CFLAGS="" if test "$enable_tivoli_tsm" = "yes"; then XBSADIR1=/usr/tivoli/tsm/client/api/bin/xopen @@ -4468,12 +4467,12 @@ fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:4472: checking for ANSI C header files" >&5 +echo "configure:4471: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -4481,7 +4480,7 @@ else #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4498,7 +4497,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -4516,7 +4515,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -4537,7 +4536,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -4548,7 +4547,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:4552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -4572,12 +4571,12 @@ EOF fi echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:4576: checking for sys/wait.h that is POSIX.1 compatible" >&5 +echo "configure:4575: checking for sys/wait.h that is POSIX.1 compatible" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -4593,7 +4592,7 @@ wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF -if { (eval echo configure:4597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else @@ -4618,12 +4617,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:4622: checking for $ac_hdr that defines DIR" >&5 +echo "configure:4621: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> @@ -4631,7 +4630,7 @@ int main() { DIR *dirp = 0; ; return 0; } EOF -if { (eval echo configure:4635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else @@ -4656,7 +4655,7 @@ done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:4660: checking for opendir in -ldir" >&5 +echo "configure:4659: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4664,7 +4663,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4697,7 +4696,7 @@ fi else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:4701: checking for opendir in -lx" >&5 +echo "configure:4700: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4705,7 +4704,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4742,17 +4741,17 @@ for ac_hdr in stdlib.h string.h unistd.h fcntl.h sys/time.h sys/file.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4746: checking for $ac_hdr" >&5 +echo "configure:4745: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4782,17 +4781,17 @@ for ac_hdr in netinet/in.h netdb.h sys/fcntl.h sys/mnttab.h sys/mntent.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4786: checking for $ac_hdr" >&5 +echo "configure:4785: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4822,17 +4821,17 @@ for ac_hdr in mntent.h sys/vfs.h sys/param.h sys/fs_types.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4826: checking for $ac_hdr" >&5 +echo "configure:4825: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4862,17 +4861,17 @@ for ac_hdr in sys/mount.h strings.h termios.h signal.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4866: checking for $ac_hdr" >&5 +echo "configure:4865: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4902,17 +4901,17 @@ for ac_hdr in windows.h malloc.h winsock2.h direct.h io.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4906: checking for $ac_hdr" >&5 +echo "configure:4905: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4942,17 +4941,17 @@ for ac_hdr in security/pam_modules.h siad.h usersec.h ucontext.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4946: checking for $ac_hdr" >&5 +echo "configure:4945: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4989,12 +4988,12 @@ fi for ac_func in utimes random srandom getdtablesize snprintf re_comp re_exec do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4993: checking for $ac_func" >&5 +echo "configure:4992: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5044,12 +5043,12 @@ done for ac_func in setprogname getprogname sigaction mkstemp strerror do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5048: checking for $ac_func" >&5 +echo "configure:5047: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5097,12 +5096,12 @@ fi done echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 -echo "configure:5101: checking for ssize_t" >&5 +echo "configure:5100: checking for ssize_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -5133,12 +5132,12 @@ fi for ac_func in timegm do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5137: checking for $ac_func" >&5 +echo "configure:5136: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else -- 2.39.5