head 1.25; access; symbols RPM_4_2_1:1.1.1.23 RPM_4_2:1.1.1.22 RPM_4_1_1:1.1.1.21 RPM_4_1:1.1.1.20 RPM_4_0_5:1.1.1.19 RPM_4_0_4:1.1.1.18 RPM_4_0_3:1.1.1.17 RPM_4_0_2:1.1.1.16 RPM_4_0_1:1.1.1.15 RPM_4_0:1.1.1.14 RPM_3_0_6:1.1.1.13 RPM_3_0_5:1.1.1.12 RPM_3_0_4:1.1.1.11 RPM_3_0_3:1.1.1.10 RPM_3_0_2:1.1.1.9 RPM_3_0_1:1.1.1.8 RPM_3_0:1.1.1.7 RPM_2_5:1.1.1.6 RPM_2_4_12:1.1.1.5 RPM_2_4:1.1.1.4 RPM_2_3_11:1.1.1.3 RPM_2_3:1.1.1.2 RPM_2_2_11:1.1.1.1 RPM:1.1.1; locks; strict; comment @# @; 1.25 date 2008.01.02.09.49.52; author rse; state dead; branches; next 1.24; commitid z4cpSiAhOCXk5PLs; 1.24 date 2006.09.13.19.54.39; author rse; state Exp; branches; next 1.23; commitid bvmxFKoFHBo0LHMr; 1.23 date 2005.06.06.15.53.03; author rse; state Exp; branches; next 1.22; 1.22 date 2004.05.12.14.34.31; author rse; state Exp; branches; next 1.21; 1.21 date 2004.04.29.13.07.26; author rse; state Exp; branches; next 1.20; 1.20 date 2004.01.22.21.42.06; author rse; state Exp; branches; next 1.19; 1.19 date 2003.08.24.12.57.21; author rse; state Exp; branches; next 1.18; 1.18 date 2003.08.24.12.50.57; author rse; state Exp; branches; next 1.17; 1.17 date 2003.08.24.12.42.55; author rse; state Exp; branches; next 1.16; 1.16 date 2003.08.24.12.33.27; author rse; state Exp; branches; next 1.15; 1.15 date 2003.08.24.12.25.39; author rse; state Exp; branches; next 1.14; 1.14 date 2003.08.24.12.18.23; author rse; state Exp; branches; next 1.13; 1.13 date 2003.08.24.12.12.40; author rse; state Exp; branches; next 1.12; 1.12 date 2003.08.24.12.08.55; author rse; state Exp; branches; next 1.11; 1.11 date 2003.08.24.12.07.39; author rse; state Exp; branches; next 1.10; 1.10 date 2003.08.24.12.06.16; author rse; state Exp; branches; next 1.9; 1.9 date 2003.08.24.12.05.08; author rse; state Exp; branches; next 1.8; 1.8 date 2003.08.24.12.04.15; author rse; state Exp; branches; next 1.7; 1.7 date 2003.08.24.12.03.22; author rse; state Exp; branches; next 1.6; 1.6 date 2003.08.24.12.02.22; author rse; state Exp; branches; next 1.5; 1.5 date 2003.08.24.12.01.28; author rse; state Exp; branches; next 1.4; 1.4 date 2003.08.24.12.00.52; author rse; state Exp; branches; next 1.3; 1.3 date 2003.08.24.12.00.16; author rse; state Exp; branches; next 1.2; 1.2 date 2003.08.24.11.59.35; author rse; state dead; branches; next 1.1; 1.1 date 96.12.20.22.45.21; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 96.12.20.22.45.21; author rse; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 96.12.24.14.05.01; author rse; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 97.04.02.18.40.52; author rse; state Exp; branches; next 1.1.1.4; 1.1.1.4 date 97.05.16.15.30.50; author rse; state Exp; branches; next 1.1.1.5; 1.1.1.5 date 98.01.08.15.53.26; author rse; state Exp; branches; next 1.1.1.6; 1.1.1.6 date 98.05.10.18.41.11; author rse; state Exp; branches; next 1.1.1.7; 1.1.1.7 date 99.04.19.08.12.48; author rse; state Exp; branches; next 1.1.1.8; 1.1.1.8 date 99.05.11.15.08.50; author rse; state Exp; branches; next 1.1.1.9; 1.1.1.9 date 99.07.07.14.31.19; author rse; state Exp; branches; next 1.1.1.10; 1.1.1.10 date 99.09.30.21.27.25; author rse; state Exp; branches; next 1.1.1.11; 1.1.1.11 date 2000.03.15.12.33.43; author rse; state Exp; branches; next 1.1.1.12; 1.1.1.12 date 2000.07.16.19.02.37; author rse; state Exp; branches; next 1.1.1.13; 1.1.1.13 date 2000.09.13.19.41.59; author rse; state Exp; branches; next 1.1.1.14; 1.1.1.14 date 2000.08.29.21.02.42; author rse; state Exp; branches; next 1.1.1.15; 1.1.1.15 date 2001.01.17.16.55.03; author rse; state Exp; branches; next 1.1.1.16; 1.1.1.16 date 2001.02.26.21.52.29; author rse; state Exp; branches; next 1.1.1.17; 1.1.1.17 date 2001.11.29.19.04.08; author rse; state Exp; branches; next 1.1.1.18; 1.1.1.18 date 2002.02.13.23.03.27; author rse; state Exp; branches; next 1.1.1.19; 1.1.1.19 date 2003.03.21.21.29.01; author rse; state Exp; branches; next 1.1.1.20; 1.1.1.20 date 2002.08.31.13.23.24; author rse; state Exp; branches; next 1.1.1.21; 1.1.1.21 date 2003.03.07.19.17.41; author rse; state Exp; branches; next 1.1.1.22; 1.1.1.22 date 2003.03.10.19.09.49; author rse; state Exp; branches; next 1.1.1.23; 1.1.1.23 date 2003.07.16.17.05.55; author rse; state Exp; branches; next ; desc @@ 1.25 log @remove the ancient RPM 4.2.1 source tree copy @ text @#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57. # # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi # Support unset when possible. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" # Sed expression to map a string onto a valid variable name. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Find the correct PATH separator. Usually this is `:', but # DJGPP uses `;' like DOS. if test "X${PATH_SEPARATOR+set}" != Xset; then UNAME=${UNAME-`uname 2>/dev/null`} case X$UNAME in *-DOS) lt_cv_sys_path_separator=';' ;; *) lt_cv_sys_path_separator=':' ;; esac PATH_SEPARATOR=$lt_cv_sys_path_separator fi # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null && echo_test_string="`eval $cmd`" && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="rpmqv.c" # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif" ac_subdirs_all="$ac_subdirs_all popt zlib elfutils file db3" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE AS RPMUSER RPMUID RPMGROUP RPMGID CTAGS CSCOPE LDFLAGS_STATIC LDFLAGS_NPTL FIXPERMS MKDIR MKDIR_P U ANSI2KNR LN_S ECHO RANLIB ac_ct_RANLIB LIBTOOL AR ac_ct_AR BZIP2BIN __CAT __CHGRP __CHMOD __CHOWN __CP __CPIO __FILE __GPG __GREP GZIPBIN UNZIPBIN __ID __ID_U __INSTALL __MAKE __MKDIR __MV __PATCH __PERL PGPBIN __PYTHON __RM __RSH __SED __SSH __TAR __LD __NM __OBJCOPY __OBJDUMP __STRIP WITH_ZLIB_SUBDIR WITH_ZLIB_INCLUDE WITH_ZLIB_LIB WITH_ELFUTILS_SUBDIR WITH_LIBELF_INCLUDE WITH_LIBELF_LIB WITH_LIBDWARF_INCLUDE WITH_BEECRYPT_SUBDIR WITH_BEECRYPT_INCLUDE WITH_BEECRYPT_LIB WITH_DB_SUBDIR WITH_INTERNAL_DB DBLIBSRCS DBLIBOBJS libdb3 libdb3a WITH_BZIP2 MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBOBJS WITH_PYTHON_SUBDIR WITH_PYTHON_SUBPACKAGE WITH_PYTHON_VERSION __DOXYGEN WITH_APIDOCS_TARGET WITH_APIDOCS __CHOWN_RHF __CHGRP_RHF ROOT_GROUP varprefix tmpdir MARK64 RPMCANONCOLOR autorelocate_path RPMCANONARCH RPMCANONVENDOR RPMCANONOS LOCALEDIR LIBDIR RPMCONFIGDIR SYSCONFIGDIR MACROFILES LIBRPMRC_FILENAME VENDORRPMRC_FILENAME LIBRPMALIAS_FILENAME FINDREQUIRES FINDPROVIDES testdir INCPATH LIBMISC RPM OBJDUMP subdirs LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP ac_env_CXX_set=${CXX+set} ac_env_CXX_value=$CXX ac_cv_env_CXX_set=${CXX+set} ac_cv_env_CXX_value=$CXX ac_env_CXXFLAGS_set=${CXXFLAGS+set} ac_env_CXXFLAGS_value=$CXXFLAGS ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} ac_cv_env_CXXFLAGS_value=$CXXFLAGS # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures this package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] _ACEOF cat <<_ACEOF Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors --disable-largefile omit support for large files --enable-shared=PKGS build shared libraries default=yes --enable-static=PKGS build static libraries default=yes --enable-fast-install=PKGS optimize for fast installation default=yes --disable-libtool-lock avoid locking (might break parallel builds) --disable-rpath do not hardcode runtime library paths --disable-nls do not use Native Language Support --enable-broken-chown this system's chown follows symbolic links Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld default=no --with-pic try to use only PIC/non-PIC objects default=use both --without-db do not use internal Berkeley db --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-included-gettext use the GNU gettext library included here --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir --with-glob use the internal GNU glob --with-python build rpm python bindings --with-apidocs build rpm API docs --with-dmalloc build with dmalloc debugging support --with-efence build with efence debugging support Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_srcdir/configure.gnu; then echo $SHELL $ac_srcdir/configure.gnu --help=recursive elif test -f $ac_srcdir/configure; then echo $SHELL $ac_srcdir/configure --help=recursive elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd $ac_popdir done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.57. Invocation command line was $ $0 $@@ _ACEOF { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` hostinfo = `(hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_sep= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core core.* *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f $ac_dir/shtool; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # Make sure we can run config.sub. $ac_config_sub sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 echo "$as_me: error: cannot run $ac_config_sub" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6 if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_build_alias=$build_alias test -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess` test -z "$ac_cv_build_alias" && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6 build=$ac_cv_build build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6 if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_host_alias=$host_alias test -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_alias ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6 host=$ac_cv_host host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$as_me:$LINENO: checking target system type" >&5 echo $ECHO_N "checking target system type... $ECHO_C" >&6 if test "${ac_cv_target+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_target_alias=$target_alias test "x$ac_cv_target_alias" = "x" && ac_cv_target_alias=$ac_cv_host_alias ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_target" >&5 echo "${ECHO_T}$ac_cv_target" >&6 target=$ac_cv_target target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` # The aliases save the names the user supplied, while $host etc. # will get canonicalized. test -n "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- ac_config_headers="$ac_config_headers " am__api_version="1.7" # 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: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 test "$program_prefix" != NONE && program_transform_name="s,^,$program_prefix,;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$,$program_suffix,;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi for ac_prog in gawk mawk nawk awk 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @@echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE=rpm VERSION=4.2.1 cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} AMTAR=${AMTAR-"${am_missing_run}tar"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. ac_config_headers="$ac_config_headers config.h" ALL_LINGUAS="cs da de fi fr gl is ja ko no pl pt pt_BR ro ru sk sl sr sv tr" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi fi 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. echo "$as_me:$LINENO: checking for C compiler default output" >&5 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ ''\ '#include ' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @@echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6 rm -f confinc confmf # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval="$enable_dependency_tracking" fi; if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. echo '#include "conftest.h"' > conftest.c echo 'int i;' > conftest.h echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # (even with -Werror). So we grep stderr for any message # that says an option was ignored. if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep echo "$as_me:$LINENO: checking for AIX" >&5 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef _AIX yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\_ACEOF #define _ALL_SOURCE 1 _ACEOF else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest* echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* 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 <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no 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 : else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #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); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test "${ac_cv_header_minix_config_h+set}" = set; then echo "$as_me:$LINENO: checking for minix/config.h" >&5 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 if test "${ac_cv_header_minix_config_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking minix/config.h usability" >&5 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking minix/config.h presence" >&5 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for minix/config.h" >&5 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 if test "${ac_cv_header_minix_config_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_minix_config_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 fi if test $ac_cv_header_minix_config_h = yes; then MINIX=yes else MINIX= fi if test "$MINIX" = yes; then cat >>confdefs.h <<\_ACEOF #define _POSIX_SOURCE 1 _ACEOF cat >>confdefs.h <<\_ACEOF #define _POSIX_1_SOURCE 2 _ACEOF cat >>confdefs.h <<\_ACEOF #define _MINIX 1 _ACEOF fi ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then echo "$as_me:$LINENO: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CXX" && break done test -n "$ac_ct_CXX" || ac_ct_CXX="g++" CXX=$ac_ct_CXX fi # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C++ compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS CXXFLAGS="-g" echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cxx_g=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi for ac_declaration in \ ''\ '#include ' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CXX" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir am_cv_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. echo '#include "conftest.h"' > conftest.c echo 'int i;' > conftest.h echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ >/dev/null 2>conftest.err && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # (even with -Werror). So we grep stderr for any message # that says an option was ignored. if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else am_cv_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi AS=${AS-as} if test "$ac_cv_c_compiler_gnu" = yes; then CFLAGS="$CFLAGS -O2 -D_GNU_SOURCE -D_REENTRANT" fi export CFLAGS ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test $ac_cv_c_compiler_gnu = yes; then echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 if test "${ac_cv_prog_gcc_traditional+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_pattern="Autoconf.*'x'" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include Autoconf TIOCGETP _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "$ac_pattern" >/dev/null 2>&1; then ac_cv_prog_gcc_traditional=yes else ac_cv_prog_gcc_traditional=no fi rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include Autoconf TCGETA _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "$ac_pattern" >/dev/null 2>&1; then ac_cv_prog_gcc_traditional=yes fi rm -f conftest* fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi fi # Check whether --enable-largefile or --disable-largefile was given. if test "${enable_largefile+set}" = set; then enableval="$enable_largefile" fi; if test "$enable_largefile" != no; then echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_largefile_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext CC="$CC -n32" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_largefile_CC=' -n32'; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext break done CC=$ac_save_CC rm -f conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_file_offset_bits+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else while :; do ac_cv_sys_file_offset_bits=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_file_offset_bits=64; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext break done fi echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 if test "$ac_cv_sys_file_offset_bits" != no; then cat >>confdefs.h <<_ACEOF #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits _ACEOF fi rm -f conftest* echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_large_files+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else while :; do ac_cv_sys_large_files=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #define _LARGE_FILES 1 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_large_files=1; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext break done fi echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 if test "$ac_cv_sys_large_files" != no; then cat >>confdefs.h <<_ACEOF #define _LARGE_FILES $ac_cv_sys_large_files _ACEOF fi rm -f conftest* fi echo "$as_me:$LINENO: checking whether va_list assignments need array notation" >&5 echo $ECHO_N "checking whether va_list assignments need array notation... $ECHO_C" >&6 if test "${ac_cv_valistisarray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_valistisarray=false else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include void foo(int i, ...) { va_list ap1, ap2; va_start(ap1, i); ap2 = ap1; if (va_arg(ap2, int) != 123 || va_arg(ap1, int) != 123) { exit(1); } va_end(ap1); va_end(ap2); } int main() { foo(0, 123); return(0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_valistisarray=false else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_valistisarray=true fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi if test "$ac_cv_valistisarray" = true ; then cat >>confdefs.h <<\_ACEOF #define HAVE_VA_LIST_AS_ARRAY 1 _ACEOF echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi RPMUSER=rpm RPMUID=37 RPMGROUP=rpm RPMGID=37 export RPMUSER RPMUID RPMGROUP RPMGID # Extract the first word of "ctags", so it can be a program name with args. set dummy ctags; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_CTAGS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $CTAGS in [\\/]* | ?:[\\/]*) ac_cv_path_CTAGS="$CTAGS" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_CTAGS="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_CTAGS" && ac_cv_path_CTAGS="/bin/true" ;; esac fi CTAGS=$ac_cv_path_CTAGS if test -n "$CTAGS"; then echo "$as_me:$LINENO: result: $CTAGS" >&5 echo "${ECHO_T}$CTAGS" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "cscope", so it can be a program name with args. set dummy cscope; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_CSCOPE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $CSCOPE in [\\/]* | ?:[\\/]*) ac_cv_path_CSCOPE="$CSCOPE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_CSCOPE="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_CSCOPE" && ac_cv_path_CSCOPE="/bin/true" ;; esac fi CSCOPE=$ac_cv_path_CSCOPE if test -n "$CSCOPE"; then echo "$as_me:$LINENO: result: $CSCOPE" >&5 echo "${ECHO_T}$CSCOPE" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi echo "$as_me:$LINENO: checking flag used by libtool to link rpm" >&5 echo $ECHO_N "checking flag used by libtool to link rpm... $ECHO_C" >&6 if test X"$GCC" = Xyes ; then case "$target" in *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-sysv5uw*) LDFLAGS_STATUS="-static";; # Unixware has no shared libthread. *-*-*) LDFLAGS_STATIC="-all-static";; esac elif test X"$CC" = Xcc ; then case "$target" in *-*-linux*) LDFLAGS_STATIC="-all-static";; *-*-freebsd*) LDFLAGS_STATIC="-all-static";; *-*-osf*) LDFLAGS_STATIC="";; # OSF5 has no shared pthreads libs *-*-aix*) LDFLAGS_STATIC="-static";; # -Wl,-bnso doesn't seem to work... *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-irix*) LDFLAGS_STATIC="-static";; #should be -non_shared, but can't # link because of crt1.o then. *-*-ultrix*) LDFLAGS_STATIC="-all-static";; #ultrix doesn't have shared libs. *-*-*) LDFLAGS_STATIC="-static" { echo "$as_me:$LINENO: WARNING: Unable to guess what option to pass to $CC to generate a static executable. You will need to set the LDFLAGS_STATIC macro in Makefile.inc to the appropriate argument(s) if you want to build a static rpm executable. " >&5 echo "$as_me: WARNING: Unable to guess what option to pass to $CC to generate a static executable. You will need to set the LDFLAGS_STATIC macro in Makefile.inc to the appropriate argument(s) if you want to build a static rpm executable. " >&2;} ;; esac else # just link it dynamically LDFLAGS_STATIC="" fi LDFLAGS_STATIC="" # OpenPKG wants dynamically linked RPM tools LDFLAGS_STATIC="${LDFLAGS} ${LDFLAGS_STATIC}" # libtool format echo "$as_me:$LINENO: result: $LDFLAGS_STATIC" >&5 echo "${ECHO_T}$LDFLAGS_STATIC" >&6 LDFLAGS_NPTL= echo "$as_me:$LINENO: checking POSIX chmod" >&5 echo $ECHO_N "checking POSIX chmod... $ECHO_C" >&6 touch foo.chmodtest chmod 744 foo.chmodtest chmod +X foo.chmodtest 2>/dev/null a=`ls -l foo.chmodtest | awk '{print $1}'` rm -f foo.chmodtest if test "$a" = "-rwxr-xr-x"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 FIXPERMS=a+rX,g-w,o-w else echo "$as_me:$LINENO: result: no (tell your OS vendor about GNU fileutils)" >&5 echo "${ECHO_T}no (tell your OS vendor about GNU fileutils)" >&6 FIXPERMS=a+r,g-w,o-w fi for ac_prog in mkdir 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MKDIR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MKDIR in [\\/]* | ?:[\\/]*) ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi MKDIR=$ac_cv_path_MKDIR if test -n "$MKDIR"; then echo "$as_me:$LINENO: result: $MKDIR" >&5 echo "${ECHO_T}$MKDIR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$MKDIR" && break done test -n "$MKDIR" || MKDIR="mkdir" echo "$as_me:$LINENO: checking if $MKDIR supports -p" >&5 echo $ECHO_N "checking if $MKDIR supports -p... $ECHO_C" >&6 rm -rf conftest $MKDIR -p conftest/a 2>/dev/null if test $? = 0 ; then rmdir conftest/a 2>/dev/null if test $? = 0 ; then : else MKDIR_P=0 fi rmdir conftest 2>/dev/null if test $? = 0 ; then MKDIR_P="$MKDIR -p" else MKDIR_P=0 fi else MKDIR_P=0 fi if test X"$MKDIR_P" = X0 ; then echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 MKDIR_P="@@l_prefix@@/lib/openpkg/shtool mkdir -f -p -m 755" else echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 fi cat >>confdefs.h <<_ACEOF #define MKDIR_P "${MKDIR_P}" _ACEOF echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 if test "${ac_cv_lib_cposix_strerror+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcposix $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* 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; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_cposix_strerror=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_cposix_strerror=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 if test $ac_cv_lib_cposix_strerror = yes; then LIBS="$LIBS -lcposix" fi echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 if test "${am_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_prog_cc_stdc=no ac_save_CC="$CC" # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then am_cv_prog_cc_stdc="$ac_arg"; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext done CC="$ac_save_CC" fi if test -z "$am_cv_prog_cc_stdc"; then echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 else echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6 fi case "x$am_cv_prog_cc_stdc" in x|xno) ;; *) CC="$CC $am_cv_prog_cc_stdc" ;; esac echo "$as_me:$LINENO: checking for function prototypes" >&5 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 if test "$am_cv_prog_cc_stdc" != no; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\_ACEOF #define PROTOTYPES 1 _ACEOF U= ANSI2KNR= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 U=_ ANSI2KNR=./ansi2knr fi # Ensure some checks needed by ansi2knr itself. echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* 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 <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no 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 : else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #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); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi for ac_header in string.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_prog in gawk mawk nawk awk 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6 fi echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @@echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$ac_save_ifs" ;; esac else enable_shared=yes fi; # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$ac_save_ifs" ;; esac else enable_static=yes fi; # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$ac_save_ifs" ;; esac else enable_fast_install=yes fi; # Find the correct PATH separator. Usually this is `:', but # DJGPP uses `;' like DOS. if test "X${PATH_SEPARATOR+set}" != Xset; then UNAME=${UNAME-`uname 2>/dev/null`} case X$UNAME in *-DOS) lt_cv_sys_path_separator=';' ;; *) lt_cv_sys_path_separator=':' ;; esac PATH_SEPARATOR=$lt_cv_sys_path_separator fi # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi; ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo "$as_me:$LINENO: checking for ld used by GCC" >&5 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 else echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then test "$with_gnu_ld" != no && break else test "$with_gnu_ld" != yes && break fi fi done IFS="$ac_save_ifs" else lt_cv_path_LD="$LD" # Let the user override the test with a path. fi fi LD="$lt_cv_path_LD" if test -n "$LD"; then echo "$as_me:$LINENO: result: $LD" >&5 echo "${ECHO_T}$LD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. if $LD -v 2>&1 &5; then lt_cv_prog_gnu_ld=yes else lt_cv_prog_gnu_ld=no fi fi echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 with_gnu_ld=$lt_cv_prog_gnu_ld echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 if test "${lt_cv_ld_reload_flag+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_ld_reload_flag='-r' fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag test -n "$reload_flag" && reload_flag=" $reload_flag" echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 if test "${lt_cv_path_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/${ac_tool_prefix}nm if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then lt_cv_path_NM="$tmp_nm -B" break elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then lt_cv_path_NM="$tmp_nm -p" break else lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags fi fi done IFS="$ac_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi NM="$lt_cv_path_NM" echo "$as_me:$LINENO: result: $NM" >&5 echo "${ECHO_T}$NM" >&6 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 if test "${lt_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_executable_p="test -f" as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" fi done done done # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. : ${TMPDIR=/tmp} { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=$TMPDIR/sed$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 { (exit 1); exit 1; } } _max=0 _count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for _sed in $_sed_list /usr/xpg4/bin/sed; do test ! -f ${_sed} && break cat /dev/null > "$tmp/sed.in" _count=0 echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" # Check for GNU sed and select it if it is found. if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then lt_cv_path_SED=${_sed} break fi while true; do cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" mv "$tmp/sed.tmp" "$tmp/sed.in" cp "$tmp/sed.in" "$tmp/sed.nl" echo >>"$tmp/sed.nl" ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break # 40000 chars as input seems more than enough test $_count -gt 10 && break _count=`expr $_count + 1` if test $_count -gt $_max; then _max=$_count lt_cv_path_SED=$_sed fi done done rm -rf "$tmp" fi if test "X$SED" != "X"; then lt_cv_path_SED=$SED else SED=$lt_cv_path_SED fi echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 if test "${lt_cv_deplibs_check_method+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given egrep regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix4* | aix5*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi4*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin* | mingw* | pw32*) lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' lt_cv_deplibs_check_method=pass_all ;; esac ;; freebsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20*|hpux11*) lt_cv_deplibs_check_method='pass_all' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; irix5* | irix6* | nonstopux*) case $host_os in irix5* | nonstopux*) # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ;; *) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" ;; esac lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux-gnu*) case $host_cpu in alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; esac lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; netbsd*) lt_cv_deplibs_check_method='pass_all' ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; openbsd*) lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' else lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' fi ;; osf3* | osf4* | osf5*) # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' lt_cv_file_magic_test_file=/shlib/libc.so lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_test_file=/lib/libc.so ;; sysv5uw[78]* | sysv4*uw2* | sysv5UnixWare7* ) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; esac ;; esac fi echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method # Check for command to grab the raw symbol name followed by C symbol from nm. echo "$as_me:$LINENO: checking command to parse $NM output" >&5 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform the above into a raw symbol and a C symbol. symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32*) symcode='[ABCDGISTW]' ;; hpux*) # Its linker distinguishes data from code symbols lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris* | sysv5*) symcode='[BDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $host_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then symcode='[ABCDGISTW]' fi # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if egrep ' nm_test_var$' "$nlist" >/dev/null; then if egrep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr void * #else # define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr address; } lt_preloaded_symbols[] = { EOF sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext save_LIBS="$LIBS" save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$no_builtin_flag" if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" if test -z "$lt_cv_sys_global_symbol_pipe"; then global_symbol_to_cdecl= global_symbol_to_c_name_address= else global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" fi if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; then echo "$as_me:$LINENO: result: failed" >&5 echo "${ECHO_T}failed" >&6 else echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6 fi for ac_header in dlfcn.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in /*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; ?:/*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. ;; *) ac_save_MAGIC_CMD="$MAGIC_CMD" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="/usr/bin:$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | egrep "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@@gnu.org EOF fi ;; esac fi break fi done IFS="$ac_save_ifs" MAGIC_CMD="$ac_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then echo "$as_me:$LINENO: checking for file" >&5 echo $ECHO_N "checking for file... $ECHO_C" >&6 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in /*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; ?:/*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. ;; *) ac_save_MAGIC_CMD="$MAGIC_CMD" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="/usr/bin:$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | egrep "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@@gnu.org EOF fi ;; esac fi break fi done IFS="$ac_save_ifs" MAGIC_CMD="$ac_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi else MAGIC_CMD=: fi fi fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi RANLIB=$ac_ct_RANLIB else RANLIB="$ac_cv_prog_RANLIB" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi enable_dlopen=no enable_win32_dll=no # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" fi; test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in *-*-irix6*) # Find out which ABI we are using. echo '#line 6679 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_cc_needs_belf=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e s/^X//' sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except M$VC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" need_locks="$enable_libtool_lock" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o if test x"$host" != x"$build"; then ac_tool_prefix=${host_alias}- else ac_tool_prefix= fi # Transform linux* to *-*-linux-gnu*, to support old configure scripts. case $host_os in linux-gnu*) ;; linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` esac case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" ;; *) old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi # Allow CC to be a program name with arguments. set dummy $CC compiler="$2" echo "$as_me:$LINENO: checking for objdir" >&5 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. objdir=_libs fi rmdir .libs 2>/dev/null echo "$as_me:$LINENO: result: $objdir" >&5 echo "${ECHO_T}$objdir" >&6 # Check whether --with-pic or --without-pic was given. if test "${with_pic+set}" = set; then withval="$with_pic" pic_mode="$withval" else pic_mode=default fi; test -z "$pic_mode" && pic_mode=default # We assume here that the value for lt_cv_prog_cc_pic will not be cached # in isolation, and that seeing it set (from the cache) indicates that # the associated values are set (in the cache) correctly too. echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 if test "${lt_cv_prog_cc_pic+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_cc_pic= lt_cv_prog_cc_shlib= lt_cv_prog_cc_wl= lt_cv_prog_cc_static= lt_cv_prog_cc_no_builtin= lt_cv_prog_cc_can_build_shared=$can_build_shared if test "$GCC" = yes; then lt_cv_prog_cc_wl='-Wl,' lt_cv_prog_cc_static='-static' case $host_os in aix*) # Below there is a dirty hack to force normal static linking with -ldl # The problem is because libdl dynamically linked with both libc and # libC (AIX C++ library), which obviously doesn't included in libraries # list by gcc. This cause undefined symbols with -static flags. # This hack allows C programs to be linked with "-static -ldl", but # not sure about C++ programs. lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_cv_prog_cc_pic='-fno-common' ;; cygwin* | mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_cv_prog_cc_pic='-DDLL_EXPORT' ;; sysv4*MP*) if test -d /usr/nec; then lt_cv_prog_cc_pic=-Kconform_pic fi ;; *) lt_cv_prog_cc_pic='-fPIC' ;; esac else # PORTME Check for PIC flags for the system compiler. case $host_os in aix3* | aix4* | aix5*) lt_cv_prog_cc_wl='-Wl,' # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_cv_prog_cc_static='-Bstatic' else lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' fi ;; hpux9* | hpux10* | hpux11*) # Is there a better lt_cv_prog_cc_static that works with the bundled CC? lt_cv_prog_cc_wl='-Wl,' lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" lt_cv_prog_cc_pic='+Z' ;; irix5* | irix6* | nonstopux*) lt_cv_prog_cc_wl='-Wl,' lt_cv_prog_cc_static='-non_shared' # PIC (with -KPIC) is the default. ;; cygwin* | mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_cv_prog_cc_pic='-DDLL_EXPORT' ;; newsos6) lt_cv_prog_cc_pic='-KPIC' lt_cv_prog_cc_static='-Bstatic' ;; osf3* | osf4* | osf5*) # All OSF/1 code is PIC. lt_cv_prog_cc_wl='-Wl,' lt_cv_prog_cc_static='-non_shared' ;; sco3.2v5*) lt_cv_prog_cc_pic='-Kpic' lt_cv_prog_cc_static='-dn' lt_cv_prog_cc_shlib='-belf' ;; solaris*) lt_cv_prog_cc_pic='-KPIC' lt_cv_prog_cc_static='-Bstatic' lt_cv_prog_cc_wl='-Wl,' ;; sunos4*) lt_cv_prog_cc_pic='-PIC' lt_cv_prog_cc_static='-Bstatic' lt_cv_prog_cc_wl='-Qoption ld ' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) lt_cv_prog_cc_pic='-KPIC' lt_cv_prog_cc_static='-Bstatic' lt_cv_prog_cc_wl='-Wl,' ;; uts4*) lt_cv_prog_cc_pic='-pic' lt_cv_prog_cc_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_cv_prog_cc_pic='-Kconform_pic' lt_cv_prog_cc_static='-Bstatic' fi ;; *) lt_cv_prog_cc_can_build_shared=no ;; esac fi fi if test -z "$lt_cv_prog_cc_pic"; then echo "$as_me:$LINENO: result: none" >&5 echo "${ECHO_T}none" >&6 else echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 # Check to make sure the pic_flag actually works. echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 if test "${lt_cv_prog_cc_pic_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then case $host_os in hpux9* | hpux10* | hpux11*) # On HP-UX, both CC and GCC only warn that PIC is supported... then # they create non-PIC objects. So, if there were any warnings, we # assume that PIC is not supported. if test -s conftest.err; then lt_cv_prog_cc_pic_works=no else lt_cv_prog_cc_pic_works=yes fi ;; *) lt_cv_prog_cc_pic_works=yes ;; esac else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_prog_cc_pic_works=no fi rm -f conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi if test "X$lt_cv_prog_cc_pic_works" = Xno; then lt_cv_prog_cc_pic= lt_cv_prog_cc_can_build_shared=no else lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" fi echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 fi # Check for any special shared library compilation flags. if test -n "$lt_cv_prog_cc_shlib"; then { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : else { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} lt_cv_prog_cc_can_build_shared=no fi fi echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 if test "${lt_cv_prog_cc_static_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_cc_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then lt_cv_prog_cc_static_works=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi # Belt *and* braces to stop my trousers falling down: test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 pic_flag="$lt_cv_prog_cc_pic" special_shlib_compile_flags="$lt_cv_prog_cc_shlib" wl="$lt_cv_prog_cc_wl" link_static_flag="$lt_cv_prog_cc_static" no_builtin_flag="$lt_cv_prog_cc_no_builtin" can_build_shared="$lt_cv_prog_cc_can_build_shared" # Check to see if options -o and -c are simultaneously supported by compiler echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_compiler_c_o+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else $rm -r conftest 2>/dev/null mkdir conftest cd conftest echo "int some_variable = 0;" > conftest.$ac_ext mkdir out # According to Tom Tromey, Ian Lance Taylor reported there are C compilers # that will create temporary files in the current directory regardless of # the output directory. Thus, making CWD read-only will cause this test # to fail, enabling locking or at least warning the user not to do parallel # builds. chmod -w . save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" compiler_c_o=no if { (eval echo configure:7208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s out/conftest.err; then lt_cv_compiler_c_o=no else lt_cv_compiler_c_o=yes fi else # Append any errors to the config.log. cat out/conftest.err 1>&5 lt_cv_compiler_c_o=no fi CFLAGS="$save_CFLAGS" chmod u+w . $rm conftest* out/* rmdir out cd .. rmdir conftest $rm -r conftest 2>/dev/null fi compiler_c_o=$lt_cv_compiler_c_o echo "$as_me:$LINENO: result: $compiler_c_o" >&5 echo "${ECHO_T}$compiler_c_o" >&6 if test x"$compiler_c_o" = x"yes"; then # Check to see if we can write to a .lo echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 if test "${lt_cv_compiler_o_lo+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_compiler_o_lo=no save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -c -o conftest.lo" save_objext="$ac_objext" ac_objext=lo cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { int some_variable = 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then lt_cv_compiler_o_lo=no else lt_cv_compiler_o_lo=yes fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext ac_objext="$save_objext" CFLAGS="$save_CFLAGS" fi compiler_o_lo=$lt_cv_compiler_o_lo echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 echo "${ECHO_T}$compiler_o_lo" >&6 else compiler_o_lo=no fi # Check to see if we can do hard links to lock some files if needed hard_links="nottested" if test "$compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi if test "$GCC" = yes; then # Check to see if options -fno-rtti -fno-exceptions are supported by compiler echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 echo "int some_variable = 0;" > conftest.$ac_ext save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" compiler_rtti_exceptions=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { int some_variable = 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then compiler_rtti_exceptions=no else compiler_rtti_exceptions=yes fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 echo "${ECHO_T}$compiler_rtti_exceptions" >&6 if test "$compiler_rtti_exceptions" = "yes"; then no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' else no_builtin_flag=' -fno-builtin' fi fi # See if the linker supports building shared libraries. echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 allow_undefined_flag= no_undefined_flag= need_lib_prefix=unknown need_version=unknown # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments archive_cmds= archive_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= export_dynamic_flag_spec= whole_archive_flag_spec= thread_safe_flag_spec= hardcode_into_libs=no hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no hardcode_shlibpath_var=unsupported runpath_var= link_all_deplibs=unknown always_export_symbols=no export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an egrep regular expression of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX, the GNU linker is very broken # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. ld_shlibs=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' allow_undefined_flag=unsupported always_export_symbols=yes extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ test -f $output_objdir/impgen.exe || (cd $output_objdir && \ if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ else $CC -o impgen impgen.c ; fi)~ $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' # cygwin and mingw dlls have different entry points and sets of symbols # to exclude. # FIXME: what about values for MSVC? dll_entry=__cygwin_dll_entry@@12 dll_exclude_symbols=DllMain@@12,_cygwin_dll_entry@@12,_cygwin_noncygwin_dll_entry@@12~ case $host_os in mingw*) # mingw values dll_entry=_DllMainCRTStartup@@12 dll_exclude_symbols=DllMain@@12,DllMainCRTStartup@@12,DllEntryPoint@@12~ ;; esac # mingw and cygwin differ, and it's simplest to just exclude the union # of the two symbol sets. dll_exclude_symbols=DllMain@@12,_cygwin_dll_entry@@12,_cygwin_noncygwin_dll_entry@@12,DllMainCRTStartup@@12,DllEntryPoint@@12 # recent cygwin and mingw systems supply a stub DllMain which the user # can override, but on older systems we have to supply one (in ltdll.c) if test "x$lt_cv_need_dllmain" = "xyes"; then ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' else ltdll_obj= ltdll_cmds= fi # Extract the symbol export list from an `--export-all' def file, # then regenerate the def file from the symbol export list, so that # the compiled dll only exports the symbol export list. # Be careful not to strip the DATA tag left be newer dlltools. export_symbols_cmds="$ltdll_cmds"' $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ sed -e "1,/EXPORTS/d" -e "s/ @@ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; else echo EXPORTS > $output_objdir/$soname-def; _lt_hint=1; cat $export_symbols | while read symbol; do set dummy \$symbol; case \$# in 2) echo " \$2 @@ \$_lt_hint ; " >> $output_objdir/$soname-def;; 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; *) echo " \$2 @@ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; esac; _lt_hint=`expr 1 + \$_lt_hint`; done; fi~ '"$ltdll_cmds"' $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris* | sysv5*) if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = yes; then runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' case $host_os in cygwin* | mingw* | pw32*) # dlltool doesn't understand --whole-archive et. al. whole_archive_flag_spec= ;; *) # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi ;; esac fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$link_static_flag"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. hardcode_direct=yes archive_cmds='' hardcode_libdir_separator=':' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct=yes else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi esac shared_flag='-shared' else # not using gcc if test "$host_cpu" = ia64; then shared_flag='${wl}-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall can do strange things, so it is better to # generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' fi fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' ;; darwin* | rhapsody*) case "$host_os" in rhapsody* | darwin1.[012]) allow_undefined_flag='-undefined suppress' ;; *) # Darwin 1.3 on allow_undefined_flag='-flat_namespace -undefined suppress' ;; esac # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. Also zsh mangles # `"' quotes if we put them in here... so don't! archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes hardcode_shlibpath_var=no whole_archive_flag_spec='-all_load $convenience' ;; freebsd1*) ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd*) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9* | hpux10* | hpux11*) case $host_os in hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; esac hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_minus_L=yes # Not in the search PATH, but as the default # location of the library. export_dynamic_flag_spec='${wl}-E' ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: link_all_deplibs=yes ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; openbsd*) hardcode_direct=yes hardcode_shlibpath_var=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case "$host_os" in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' #Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; sco3.2v5*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes export_dynamic_flag_spec='${wl}-Bexport' ;; solaris*) # gcc --version < 3.0 without binutils cannot create self contained # shared libraries reliably, requiring libgcc.a to resolve some of # the object symbols generated in some cases. Libraries that use # assert need libgcc.a to resolve __eprintf, for example. Linking # a copy of libgcc.a into every shared library to guarantee resolving # such symbols causes other problems: According to Tim Van Holder # , C++ libraries end up with a separate # (to the application) exception stack for one thing. no_undefined_flag=' -z defs' if test "$GCC" = yes; then case `$CC --version 2>/dev/null` in [12].*) cat <&2 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably *** create self contained shared libraries on Solaris systems, without *** introducing a dependency on libgcc.a. Therefore, libtool is disabling *** -no-undefined support, which will at least allow you to build shared *** libraries. However, you may find that when you link such libraries *** into an application without using GCC, you have to manually add *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to *** upgrade to a newer version of GCC. Another option is to rebuild your *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. EOF no_undefined_flag= ;; esac fi # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv5*) no_undefined_flag=' -z text' # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' hardcode_libdir_flag_spec= hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4.2uw2*) archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=no hardcode_shlibpath_var=no hardcode_runpath_var=yes runpath_var=LD_RUN_PATH ;; sysv5uw7* | unixware7* | sysv5UnixWare7* ) no_undefined_flag='${wl}-z ${wl}text' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac fi echo "$as_me:$LINENO: result: $ld_shlibs" >&5 echo "${ECHO_T}$ld_shlibs" >&6 test "$ld_shlibs" = no && can_build_shared=no # Check hardcoding attributes. echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 hardcode_action= if test -n "$hardcode_libdir_flag_spec" || \ test -n "$runpath_var"; then # We can hardcode non-existant directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$hardcode_shlibpath_var" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi echo "$as_me:$LINENO: result: $hardcode_action" >&5 echo "${ECHO_T}$hardcode_action" >&6 striplib= old_striplib= echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi reload_cmds='$LD$reload_flag -o $output$reload_objs' test -z "$deplibs_check_method" && deplibs_check_method=unknown # PORTME Fill in your ld.so characteristics echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 library_names_spec= libname_spec='lib$name' soname_spec= postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}.so$versuffix $libname.a' shlibpath_var=LIBPATH # AIX has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}.so$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can # not hardcode correct soname into executable. Probably we can # add versioning support to collect2, so additional links can # be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}.so$major' fi shlibpath_var=LIBPATH fi hardcode_into_libs=yes ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' ;; beos*) library_names_spec='${libname}.so' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi4*) version_type=linux need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" export_dynamic_flag_spec=-rdynamic # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin*) library_names_spec='$libname.dll.a' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog .libs/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' ;; yes,mingw*) library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` ;; yes,pw32*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' ;; *) library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd*) objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; *) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. dynamic_linker="$host_os dld.sl" version_type=sunos need_lib_prefix=no need_version=no shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' soname_spec='${libname}${release}.sl$major' # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) version_type=irix ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" ;; # No shared lib support for Linux oldld, aout, or coff. linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) dynamic_linker=no ;; # This must be Linux ELF. linux-gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' # Find out which ABI we are using (multilib Linux x86_64 hack). libsuff= case "$host_cpu" in x86_64*|s390x*) echo '#line 8392 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *64-bit*) libsuff=64 ;; esac fi rm -rf conftest* ;; *) ;; esac sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' soname_spec='${libname}${release}.so$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos need_lib_prefix=no need_version=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case "$host_os" in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH ;; os2*) libname_spec='$name' need_lib_prefix=no library_names_spec='$libname.dll $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_version=no soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" hardcode_into_libs=yes ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; uts4*) version_type=linux library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' soname_spec='$libname.so.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; *) dynamic_linker=no ;; esac echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 test "$dynamic_linker" = no && can_build_shared=no # Report the final consequences. echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case "$host_os" in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6 if test "$hardcode_action" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; cygwin* | mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; *) echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 if test "${ac_cv_func_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); /* 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_shl_load) || defined (__stub___shl_load) choke me #else char (*f) () = shl_load; #endif #ifdef __cplusplus } #endif int main () { return f != shl_load; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); int main () { shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" else echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 if test "${ac_cv_func_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); /* 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_dlopen) || defined (__stub___dlopen) choke me #else char (*f) () = dlopen; #endif #ifdef __cplusplus } #endif int main () { return f != dlopen; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dld_link (); int main () { dld_link (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 if test "x$lt_cv_dlopen_self" = xyes; then LDFLAGS="$LDFLAGS $link_static_flag" echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else $rm conftest* echo 'static int dummy;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_cv_prog_cc_wl compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$save_allow_undefined_flag else cat conftest.err 1>&5 fi fi echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 ;; esac fi need_lc=${lt_cv_archive_cmds_need_lc-yes} # The second clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then : else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. test -f Makefile && make "$ltmain" fi if test -f "$ltmain"; then trap "$rm \"${ofile}T\"; exit 1" 1 2 15 $rm -f "${ofile}T" echo creating $ofile # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS SED \ AR AR_FLAGS CC LD LN_S NM SHELL \ reload_flag reload_cmds wl \ pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ thread_safe_flag_spec whole_archive_flag_spec libname_spec \ library_names_spec soname_spec \ RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ old_striplib striplib file_magic_cmd export_symbols_cmds \ deplibs_check_method allow_undefined_flag no_undefined_flag \ finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ global_symbol_to_c_name_address \ hardcode_libdir_flag_spec hardcode_libdir_separator \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do case $var in reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ postinstall_cmds | postuninstall_cmds | \ finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done cat <<__EOF__ > "${ofile}T" #! $SHELL # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996-2000 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 1996 # # 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 of the License, 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 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # A sed that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="${SED} -e s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi # ### BEGIN LIBTOOL CONFIG # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$need_lc # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # The default C compiler. CC=$lt_CC # Is the compiler the GNU C compiler? with_gcc=$GCC # The linker used to build libraries. LD=$lt_LD # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_wl # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_pic_flag pic_mode=$pic_mode # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_compiler_c_o # Can we write directly to a .lo ? compiler_o_lo=$lt_compiler_o_lo # Must we lock files when doing compilation ? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_link_static_flag # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_no_builtin_flag # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # ### END LIBTOOL CONFIG __EOF__ case $host_os in aix3*) cat <<\EOF >> "${ofile}T" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac case $host_os in cygwin* | mingw* | pw32* | os2*) cat <<'EOF' >> "${ofile}T" # This is a source program that is used to create dlls on Windows # Don't remove nor modify the starting and closing comments # /* ltdll.c starts here */ # #define WIN32_LEAN_AND_MEAN # #include # #undef WIN32_LEAN_AND_MEAN # #include # # #ifndef __CYGWIN__ # # ifdef __CYGWIN32__ # # define __CYGWIN__ __CYGWIN32__ # # endif # #endif # # #ifdef __cplusplus # extern "C" { # #endif # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); # #ifdef __cplusplus # } # #endif # # #ifdef __CYGWIN__ # #include # DECLARE_CYGWIN_DLL( DllMain ); # #endif # HINSTANCE __hDllInstance_base; # # BOOL APIENTRY # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) # { # __hDllInstance_base = hInst; # return TRUE; # } # /* ltdll.c ends here */ # This is a source program that is used to create import libraries # on Windows for dlls which lack them. Don't remove nor modify the # starting and closing comments # /* impgen.c starts here */ # /* Copyright (C) 1999-2000 Free Software Foundation, Inc. # # This file is part of GNU libtool. # # 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 of the License, 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 02111-1307, USA. # */ # # #include /* for printf() */ # #include /* for open(), lseek(), read() */ # #include /* for O_RDONLY, O_BINARY */ # #include /* for strdup() */ # # /* O_BINARY isn't required (or even defined sometimes) under Unix */ # #ifndef O_BINARY # #define O_BINARY 0 # #endif # # static unsigned int # pe_get16 (fd, offset) # int fd; # int offset; # { # unsigned char b[2]; # lseek (fd, offset, SEEK_SET); # read (fd, b, 2); # return b[0] + (b[1]<<8); # } # # static unsigned int # pe_get32 (fd, offset) # int fd; # int offset; # { # unsigned char b[4]; # lseek (fd, offset, SEEK_SET); # read (fd, b, 4); # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); # } # # static unsigned int # pe_as32 (ptr) # void *ptr; # { # unsigned char *b = ptr; # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); # } # # int # main (argc, argv) # int argc; # char *argv[]; # { # int dll; # unsigned long pe_header_offset, opthdr_ofs, num_entries, i; # unsigned long export_rva, export_size, nsections, secptr, expptr; # unsigned long name_rvas, nexp; # unsigned char *expdata, *erva; # char *filename, *dll_name; # # filename = argv[1]; # # dll = open(filename, O_RDONLY|O_BINARY); # if (dll < 1) # return 1; # # dll_name = filename; # # for (i=0; filename[i]; i++) # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') # dll_name = filename + i +1; # # pe_header_offset = pe_get32 (dll, 0x3c); # opthdr_ofs = pe_header_offset + 4 + 20; # num_entries = pe_get32 (dll, opthdr_ofs + 92); # # if (num_entries < 1) /* no exports */ # return 1; # # export_rva = pe_get32 (dll, opthdr_ofs + 96); # export_size = pe_get32 (dll, opthdr_ofs + 100); # nsections = pe_get16 (dll, pe_header_offset + 4 +2); # secptr = (pe_header_offset + 4 + 20 + # pe_get16 (dll, pe_header_offset + 4 + 16)); # # expptr = 0; # for (i = 0; i < nsections; i++) # { # char sname[8]; # unsigned long secptr1 = secptr + 40 * i; # unsigned long vaddr = pe_get32 (dll, secptr1 + 12); # unsigned long vsize = pe_get32 (dll, secptr1 + 16); # unsigned long fptr = pe_get32 (dll, secptr1 + 20); # lseek(dll, secptr1, SEEK_SET); # read(dll, sname, 8); # if (vaddr <= export_rva && vaddr+vsize > export_rva) # { # expptr = fptr + (export_rva - vaddr); # if (export_rva + export_size > vaddr + vsize) # export_size = vsize - (export_rva - vaddr); # break; # } # } # # expdata = (unsigned char*)malloc(export_size); # lseek (dll, expptr, SEEK_SET); # read (dll, expdata, export_size); # erva = expdata - export_rva; # # nexp = pe_as32 (expdata+24); # name_rvas = pe_as32 (expdata+32); # # printf ("EXPORTS\n"); # for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) mv -f "${ofile}T" "$ofile" || \ (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") chmod +x "$ofile" fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR=":" fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 echo "${ECHO_T}$ac_ct_AR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi AR=$ac_ct_AR else AR="$ac_cv_prog_AR" fi if test "$cross_compiling" = "yes"; then MYPATH="" else # MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/sbin:/usr/sbin:/usr/local/sbin:/opt/gnu/bin" MYPATH=$PATH fi # Extract the first word of "bzip2", so it can be a program name with args. set dummy bzip2; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_BZIP2BIN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $BZIP2BIN in [\\/]* | ?:[\\/]*) ac_cv_path_BZIP2BIN="$BZIP2BIN" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_BZIP2BIN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_BZIP2BIN" && ac_cv_path_BZIP2BIN="/usr/bin/bzip2" ;; esac fi BZIP2BIN=$ac_cv_path_BZIP2BIN if test -n "$BZIP2BIN"; then echo "$as_me:$LINENO: result: $BZIP2BIN" >&5 echo "${ECHO_T}$BZIP2BIN" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "cat", so it can be a program name with args. set dummy cat; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CAT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CAT in [\\/]* | ?:[\\/]*) ac_cv_path___CAT="$__CAT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CAT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CAT" && ac_cv_path___CAT="/bin/cat" ;; esac fi __CAT=$ac_cv_path___CAT if test -n "$__CAT"; then echo "$as_me:$LINENO: result: $__CAT" >&5 echo "${ECHO_T}$__CAT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "chgrp", so it can be a program name with args. set dummy chgrp; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CHGRP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CHGRP in [\\/]* | ?:[\\/]*) ac_cv_path___CHGRP="$__CHGRP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CHGRP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CHGRP" && ac_cv_path___CHGRP="/bin/chgrp" ;; esac fi __CHGRP=$ac_cv_path___CHGRP if test -n "$__CHGRP"; then echo "$as_me:$LINENO: result: $__CHGRP" >&5 echo "${ECHO_T}$__CHGRP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "chmod", so it can be a program name with args. set dummy chmod; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CHMOD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CHMOD in [\\/]* | ?:[\\/]*) ac_cv_path___CHMOD="$__CHMOD" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CHMOD="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CHMOD" && ac_cv_path___CHMOD="/bin/chmod" ;; esac fi __CHMOD=$ac_cv_path___CHMOD if test -n "$__CHMOD"; then echo "$as_me:$LINENO: result: $__CHMOD" >&5 echo "${ECHO_T}$__CHMOD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "chown", so it can be a program name with args. set dummy chown; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CHOWN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CHOWN in [\\/]* | ?:[\\/]*) ac_cv_path___CHOWN="$__CHOWN" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CHOWN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CHOWN" && ac_cv_path___CHOWN="/bin/chown" ;; esac fi __CHOWN=$ac_cv_path___CHOWN if test -n "$__CHOWN"; then echo "$as_me:$LINENO: result: $__CHOWN" >&5 echo "${ECHO_T}$__CHOWN" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "cp", so it can be a program name with args. set dummy cp; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CP in [\\/]* | ?:[\\/]*) ac_cv_path___CP="$__CP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CP" && ac_cv_path___CP="/bin/cp" ;; esac fi __CP=$ac_cv_path___CP if test -n "$__CP"; then echo "$as_me:$LINENO: result: $__CP" >&5 echo "${ECHO_T}$__CP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "cpio", so it can be a program name with args. set dummy cpio; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CPIO+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CPIO in [\\/]* | ?:[\\/]*) ac_cv_path___CPIO="$__CPIO" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CPIO="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CPIO" && ac_cv_path___CPIO="/bin/cpio" ;; esac fi __CPIO=$ac_cv_path___CPIO if test -n "$__CPIO"; then echo "$as_me:$LINENO: result: $__CPIO" >&5 echo "${ECHO_T}$__CPIO" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "file", so it can be a program name with args. set dummy file; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___FILE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__FILE in [\\/]* | ?:[\\/]*) ac_cv_path___FILE="$__FILE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___FILE="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___FILE" && ac_cv_path___FILE="/usr/bin/file" ;; esac fi __FILE=$ac_cv_path___FILE if test -n "$__FILE"; then echo "$as_me:$LINENO: result: $__FILE" >&5 echo "${ECHO_T}$__FILE" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "gpg", so it can be a program name with args. set dummy gpg; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___GPG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__GPG in [\\/]* | ?:[\\/]*) ac_cv_path___GPG="$__GPG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___GPG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___GPG" && ac_cv_path___GPG="/usr/bin/gpg" ;; esac fi __GPG=$ac_cv_path___GPG if test -n "$__GPG"; then echo "$as_me:$LINENO: result: $__GPG" >&5 echo "${ECHO_T}$__GPG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "grep", so it can be a program name with args. set dummy grep; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__GREP in [\\/]* | ?:[\\/]*) ac_cv_path___GREP="$__GREP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___GREP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___GREP" && ac_cv_path___GREP="/bin/grep" ;; esac fi __GREP=$ac_cv_path___GREP if test -n "$__GREP"; then echo "$as_me:$LINENO: result: $__GREP" >&5 echo "${ECHO_T}$__GREP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "gzip", so it can be a program name with args. set dummy gzip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GZIPBIN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $GZIPBIN in [\\/]* | ?:[\\/]*) ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GZIPBIN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_GZIPBIN" && ac_cv_path_GZIPBIN="/bin/gzip" ;; esac fi GZIPBIN=$ac_cv_path_GZIPBIN if test -n "$GZIPBIN"; then echo "$as_me:$LINENO: result: $GZIPBIN" >&5 echo "${ECHO_T}$GZIPBIN" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "unzip", so it can be a program name with args. set dummy unzip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_UNZIPBIN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $UNZIPBIN in [\\/]* | ?:[\\/]*) ac_cv_path_UNZIPBIN="$UNZIPBIN" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_UNZIPBIN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_UNZIPBIN" && ac_cv_path_UNZIPBIN="/usr/bin/unzip" ;; esac fi UNZIPBIN=$ac_cv_path_UNZIPBIN if test -n "$UNZIPBIN"; then echo "$as_me:$LINENO: result: $UNZIPBIN" >&5 echo "${ECHO_T}$UNZIPBIN" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "id", so it can be a program name with args. set dummy id; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___ID+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__ID in [\\/]* | ?:[\\/]*) ac_cv_path___ID="$__ID" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___ID="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___ID" && ac_cv_path___ID="/usr/bin/id" ;; esac fi __ID=$ac_cv_path___ID if test -n "$__ID"; then echo "$as_me:$LINENO: result: $__ID" >&5 echo "${ECHO_T}$__ID" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi echo "$as_me:$LINENO: checking checking whether id supports -u" >&5 echo $ECHO_N "checking checking whether id supports -u... $ECHO_C" >&6 if ${__ID} -u 2>&1 > /dev/null ; then __ID_U="%{__id} -u" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else __ID_U="%{__id} | %{__sed} 's/[^=]*=\\\\([0-9][0-9]*\\\\).*$/\\\\1/'" echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "install", so it can be a program name with args. set dummy install; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___INSTALL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__INSTALL in [\\/]* | ?:[\\/]*) ac_cv_path___INSTALL="$__INSTALL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___INSTALL="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___INSTALL" && ac_cv_path___INSTALL="/usr/bin/install" ;; esac fi __INSTALL=$ac_cv_path___INSTALL if test -n "$__INSTALL"; then echo "$as_me:$LINENO: result: $__INSTALL" >&5 echo "${ECHO_T}$__INSTALL" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "make", so it can be a program name with args. set dummy make; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___MAKE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__MAKE in [\\/]* | ?:[\\/]*) ac_cv_path___MAKE="$__MAKE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___MAKE="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___MAKE" && ac_cv_path___MAKE="/usr/bin/make" ;; esac fi __MAKE=$ac_cv_path___MAKE if test -n "$__MAKE"; then echo "$as_me:$LINENO: result: $__MAKE" >&5 echo "${ECHO_T}$__MAKE" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "mkdir", so it can be a program name with args. set dummy mkdir; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___MKDIR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__MKDIR in [\\/]* | ?:[\\/]*) ac_cv_path___MKDIR="$__MKDIR" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___MKDIR="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___MKDIR" && ac_cv_path___MKDIR="/bin/mkdir" ;; esac fi __MKDIR=$ac_cv_path___MKDIR if test -n "$__MKDIR"; then echo "$as_me:$LINENO: result: $__MKDIR" >&5 echo "${ECHO_T}$__MKDIR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "mv", so it can be a program name with args. set dummy mv; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___MV+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__MV in [\\/]* | ?:[\\/]*) ac_cv_path___MV="$__MV" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___MV="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___MV" && ac_cv_path___MV="/bin/mv" ;; esac fi __MV=$ac_cv_path___MV if test -n "$__MV"; then echo "$as_me:$LINENO: result: $__MV" >&5 echo "${ECHO_T}$__MV" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "patch", so it can be a program name with args. set dummy patch; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___PATCH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__PATCH in [\\/]* | ?:[\\/]*) ac_cv_path___PATCH="$__PATCH" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___PATCH="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___PATCH" && ac_cv_path___PATCH="/usr/bin/patch" ;; esac fi __PATCH=$ac_cv_path___PATCH if test -n "$__PATCH"; then echo "$as_me:$LINENO: result: $__PATCH" >&5 echo "${ECHO_T}$__PATCH" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi echo "$as_me:$LINENO: checking old version of patch" >&5 echo $ECHO_N "checking old version of patch... $ECHO_C" >&6 PATCHVERSION=`patch --version 2>&1` if test "$PATCHVERSION" = "Patch version 2.1"; then cat >>confdefs.h <<\_ACEOF #define HAVE_OLDPATCH_21 1 _ACEOF echo "$as_me:$LINENO: result: patch older then 2.2 found" >&5 echo "${ECHO_T}patch older then 2.2 found" >&6 else echo "$as_me:$LINENO: result: patch later then 2.2 found" >&5 echo "${ECHO_T}patch later then 2.2 found" >&6 fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___PERL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__PERL in [\\/]* | ?:[\\/]*) ac_cv_path___PERL="$__PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___PERL="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___PERL" && ac_cv_path___PERL="/usr/bin/perl" ;; esac fi __PERL=$ac_cv_path___PERL if test -n "$__PERL"; then echo "$as_me:$LINENO: result: $__PERL" >&5 echo "${ECHO_T}$__PERL" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "pgp", so it can be a program name with args. set dummy pgp; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PGPBIN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PGPBIN in [\\/]* | ?:[\\/]*) ac_cv_path_PGPBIN="$PGPBIN" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PGPBIN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_PGPBIN" && ac_cv_path_PGPBIN="/usr/bin/pgp" ;; esac fi PGPBIN=$ac_cv_path_PGPBIN if test -n "$PGPBIN"; then echo "$as_me:$LINENO: result: $PGPBIN" >&5 echo "${ECHO_T}$PGPBIN" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "python", so it can be a program name with args. set dummy python; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___PYTHON+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__PYTHON in [\\/]* | ?:[\\/]*) ac_cv_path___PYTHON="$__PYTHON" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___PYTHON="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___PYTHON" && ac_cv_path___PYTHON="/usr/bin/python" ;; esac fi __PYTHON=$ac_cv_path___PYTHON if test -n "$__PYTHON"; then echo "$as_me:$LINENO: result: $__PYTHON" >&5 echo "${ECHO_T}$__PYTHON" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "rm", so it can be a program name with args. set dummy rm; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___RM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__RM in [\\/]* | ?:[\\/]*) ac_cv_path___RM="$__RM" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___RM="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___RM" && ac_cv_path___RM="/bin/rm" ;; esac fi __RM=$ac_cv_path___RM if test -n "$__RM"; then echo "$as_me:$LINENO: result: $__RM" >&5 echo "${ECHO_T}$__RM" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "rsh", so it can be a program name with args. set dummy rsh; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___RSH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__RSH in [\\/]* | ?:[\\/]*) ac_cv_path___RSH="$__RSH" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___RSH="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___RSH" && ac_cv_path___RSH="/usr/bin/rsh" ;; esac fi __RSH=$ac_cv_path___RSH if test -n "$__RSH"; then echo "$as_me:$LINENO: result: $__RSH" >&5 echo "${ECHO_T}$__RSH" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "sed", so it can be a program name with args. set dummy sed; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__SED in [\\/]* | ?:[\\/]*) ac_cv_path___SED="$__SED" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___SED="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___SED" && ac_cv_path___SED="/bin/sed" ;; esac fi __SED=$ac_cv_path___SED if test -n "$__SED"; then echo "$as_me:$LINENO: result: $__SED" >&5 echo "${ECHO_T}$__SED" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "ssh", so it can be a program name with args. set dummy ssh; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___SSH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__SSH in [\\/]* | ?:[\\/]*) ac_cv_path___SSH="$__SSH" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___SSH="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___SSH" && ac_cv_path___SSH="/usr/bin/ssh" ;; esac fi __SSH=$ac_cv_path___SSH if test -n "$__SSH"; then echo "$as_me:$LINENO: result: $__SSH" >&5 echo "${ECHO_T}$__SSH" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "tar", so it can be a program name with args. set dummy tar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___TAR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__TAR in [\\/]* | ?:[\\/]*) ac_cv_path___TAR="$__TAR" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___TAR="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___TAR" && ac_cv_path___TAR="/bin/tar" ;; esac fi __TAR=$ac_cv_path___TAR if test -n "$__TAR"; then echo "$as_me:$LINENO: result: $__TAR" >&5 echo "${ECHO_T}$__TAR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "ld", so it can be a program name with args. set dummy ld; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__LD in [\\/]* | ?:[\\/]*) ac_cv_path___LD="$__LD" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___LD="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___LD" && ac_cv_path___LD="/usr/bin/ld" ;; esac fi __LD=$ac_cv_path___LD if test -n "$__LD"; then echo "$as_me:$LINENO: result: $__LD" >&5 echo "${ECHO_T}$__LD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "nm", so it can be a program name with args. set dummy nm; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__NM in [\\/]* | ?:[\\/]*) ac_cv_path___NM="$__NM" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___NM="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___NM" && ac_cv_path___NM="/usr/bin/nm" ;; esac fi __NM=$ac_cv_path___NM if test -n "$__NM"; then echo "$as_me:$LINENO: result: $__NM" >&5 echo "${ECHO_T}$__NM" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "objcopy", so it can be a program name with args. set dummy objcopy; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___OBJCOPY+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__OBJCOPY in [\\/]* | ?:[\\/]*) ac_cv_path___OBJCOPY="$__OBJCOPY" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___OBJCOPY="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___OBJCOPY" && ac_cv_path___OBJCOPY="/usr/bin/objcopy" ;; esac fi __OBJCOPY=$ac_cv_path___OBJCOPY if test -n "$__OBJCOPY"; then echo "$as_me:$LINENO: result: $__OBJCOPY" >&5 echo "${ECHO_T}$__OBJCOPY" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___OBJDUMP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__OBJDUMP in [\\/]* | ?:[\\/]*) ac_cv_path___OBJDUMP="$__OBJDUMP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___OBJDUMP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___OBJDUMP" && ac_cv_path___OBJDUMP="/usr/bin/objdump" ;; esac fi __OBJDUMP=$ac_cv_path___OBJDUMP if test -n "$__OBJDUMP"; then echo "$as_me:$LINENO: result: $__OBJDUMP" >&5 echo "${ECHO_T}$__OBJDUMP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__STRIP in [\\/]* | ?:[\\/]*) ac_cv_path___STRIP="$__STRIP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___STRIP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___STRIP" && ac_cv_path___STRIP="/usr/bin/strip" ;; esac fi __STRIP=$ac_cv_path___STRIP if test -n "$__STRIP"; then echo "$as_me:$LINENO: result: $__STRIP" >&5 echo "${ECHO_T}$__STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi addlib() { l=$1 shift case "$target" in *-*-solaris*) LIBS="$LIBS -L$l -R$l $*";; *) LIBS="$LIBS -L$l $*";; esac } WITH_ZLIB_SUBDIR= WITH_ZLIB_INCLUDE= WITH_ZLIB_LIB= if false; then WITH_ZLIB_SUBDIR=zlib addlib \${top_builddir}/zlib WITH_ZLIB_INCLUDE="-I\${top_srcdir}/${WITH_ZLIB_SUBDIR}" INCPATH="$INCPATH -I\${top_srcdir}/${WITH_ZLIB_SUBDIR}" WITH_ZLIB_LIB="\${top_builddir}/${WITH_ZLIB_SUBDIR}/libz.la" cat >>confdefs.h <<\_ACEOF #define HAVE_GZSEEK 1 _ACEOF fi localdone= echo "$as_me:$LINENO: checking for /usr/ucblib in LIBS" >&5 echo $ECHO_N "checking for /usr/ucblib in LIBS... $ECHO_C" >&6 if test -d /usr/ucblib ; then if test "$build" = "mips-sni-sysv4" ; then addlib /usr/ccs/lib -lc fi addlib /usr/ucblib echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi WITH_ELFUTILS_SUBDIR= WITH_LIBELF_INCLUDE= WITH_LIBELF_LIB= if test "${ac_cv_header_libelf_h+set}" = set; then echo "$as_me:$LINENO: checking for libelf.h" >&5 echo $ECHO_N "checking for libelf.h... $ECHO_C" >&6 if test "${ac_cv_header_libelf_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_libelf_h" >&5 echo "${ECHO_T}$ac_cv_header_libelf_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking libelf.h usability" >&5 echo $ECHO_N "checking libelf.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking libelf.h presence" >&5 echo $ECHO_N "checking libelf.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: libelf.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: libelf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: libelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libelf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: libelf.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: libelf.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: libelf.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: libelf.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: libelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libelf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for libelf.h" >&5 echo $ECHO_N "checking for libelf.h... $ECHO_C" >&6 if test "${ac_cv_header_libelf_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_libelf_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_libelf_h" >&5 echo "${ECHO_T}$ac_cv_header_libelf_h" >&6 fi if test "${ac_cv_header_gelf_h+set}" = set; then echo "$as_me:$LINENO: checking for gelf.h" >&5 echo $ECHO_N "checking for gelf.h... $ECHO_C" >&6 if test "${ac_cv_header_gelf_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_gelf_h" >&5 echo "${ECHO_T}$ac_cv_header_gelf_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking gelf.h usability" >&5 echo $ECHO_N "checking gelf.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking gelf.h presence" >&5 echo $ECHO_N "checking gelf.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: gelf.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: gelf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: gelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: gelf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: gelf.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: gelf.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: gelf.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: gelf.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: gelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: gelf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for gelf.h" >&5 echo $ECHO_N "checking for gelf.h... $ECHO_C" >&6 if test "${ac_cv_header_gelf_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_gelf_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_gelf_h" >&5 echo "${ECHO_T}$ac_cv_header_gelf_h" >&6 fi if test $ac_cv_header_gelf_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_GELF_H 1 _ACEOF echo "$as_me:$LINENO: checking for gelf_getvernaux in -lelf" >&5 echo $ECHO_N "checking for gelf_getvernaux in -lelf... $ECHO_C" >&6 if test "${ac_cv_lib_elf_gelf_getvernaux+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lelf $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gelf_getvernaux (); int main () { gelf_getvernaux (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_elf_gelf_getvernaux=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_elf_gelf_getvernaux=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_elf_gelf_getvernaux" >&5 echo "${ECHO_T}$ac_cv_lib_elf_gelf_getvernaux" >&6 if test $ac_cv_lib_elf_gelf_getvernaux = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBELF 1 _ACEOF WITH_LIBELF_LIB="-lelf" fi else if test -d elfutils/libelf ; then cat >>confdefs.h <<\_ACEOF #define HAVE_GELF_H 1 _ACEOF cat >>confdefs.h <<\_ACEOF #define HAVE_LIBELF 1 _ACEOF WITH_ELFUTILS_SUBDIR=elfutils WITH_LIBELF_INCLUDE="-I\${top_srcdir}/${WITH_ELFUTILS_SUBDIR}/libelf" WITH_LIBELF_LIB="\${top_builddir}/${WITH_ELFUTILS_SUBDIR}/libelf/libelf.a" fi fi WITH_LIBDWARF_INCLUDE= if test "${ac_cv_header_dwarf_h+set}" = set; then echo "$as_me:$LINENO: checking for dwarf.h" >&5 echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6 if test "${ac_cv_header_dwarf_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5 echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking dwarf.h usability" >&5 echo $ECHO_N "checking dwarf.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking dwarf.h presence" >&5 echo $ECHO_N "checking dwarf.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: dwarf.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: dwarf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: dwarf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: dwarf.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: dwarf.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: dwarf.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: dwarf.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: dwarf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for dwarf.h" >&5 echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6 if test "${ac_cv_header_dwarf_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_dwarf_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5 echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6 fi if test $ac_cv_header_dwarf_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_DWARF_H 1 _ACEOF else if test -d elfutils/libdwarf ; then cat >>confdefs.h <<\_ACEOF #define HAVE_DWARF_H 1 _ACEOF WITH_LIBDWARF_INCLUDE="-I\${top_srcdir}/${WITH_ELFUTILS_SUBDIR}/libdwarf" fi fi WITH_BEECRYPT_SUBDIR= WITH_BEECRYPT_INCLUDE= WITH_BEECRYPT_LIB= if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6 fi if test $ac_cv_header_beecrypt_beecrypt_h = yes; then echo "$as_me:$LINENO: checking for mpfprintln in -lbeecrypt" >&5 echo $ECHO_N "checking for mpfprintln in -lbeecrypt... $ECHO_C" >&6 if test "${ac_cv_lib_beecrypt_mpfprintln+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lbeecrypt $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mpfprintln (); int main () { mpfprintln (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_beecrypt_mpfprintln=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_beecrypt_mpfprintln=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_mpfprintln" >&5 echo "${ECHO_T}$ac_cv_lib_beecrypt_mpfprintln" >&6 if test $ac_cv_lib_beecrypt_mpfprintln = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBBEECRYPT 1 _ACEOF WITH_BEECRYPT_INCLUDE="" WITH_BEECRYPT_LIB="-lbeecrypt" fi else if test -d beecrypt ; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBBEECRYPT 1 _ACEOF WITH_BEECRYPT_SUBDIR=beecrypt WITH_BEECRYPT_INCLUDE="-I\${top_srcdir}/${WITH_BEECRYPT_SUBDIR}" WITH_BEECRYPT_LIB="\${top_builddir}/${WITH_BEECRYPT_SUBDIR}/libbeecrypt.la" fi fi echo "$as_me:$LINENO: checking for setreuid" >&5 echo $ECHO_N "checking for setreuid... $ECHO_C" >&6 if test "${ac_cv_func_setreuid+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char setreuid (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char setreuid (); /* 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_setreuid) || defined (__stub___setreuid) choke me #else char (*f) () = setreuid; #endif #ifdef __cplusplus } #endif int main () { return f != setreuid; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_setreuid=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_setreuid=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_setreuid" >&5 echo "${ECHO_T}$ac_cv_func_setreuid" >&6 if test $ac_cv_func_setreuid = yes; then : else echo "$as_me:$LINENO: checking for setreuid in -lucb" >&5 echo $ECHO_N "checking for setreuid in -lucb... $ECHO_C" >&6 if test "${ac_cv_lib_ucb_setreuid+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lucb $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char setreuid (); int main () { setreuid (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_ucb_setreuid=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_ucb_setreuid=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_setreuid" >&5 echo "${ECHO_T}$ac_cv_lib_ucb_setreuid" >&6 if test $ac_cv_lib_ucb_setreuid = yes; then if echo $LIBS | grep -- -lucb >/dev/null ;then :; else LIBS="$LIBS -lc -lucb" USEUCB=y;fi fi fi echo "$as_me:$LINENO: checking for rand" >&5 echo $ECHO_N "checking for rand... $ECHO_C" >&6 if test "${ac_cv_func_rand+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char rand (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand (); /* 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_rand) || defined (__stub___rand) choke me #else char (*f) () = rand; #endif #ifdef __cplusplus } #endif int main () { return f != rand; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_rand=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_rand=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_rand" >&5 echo "${ECHO_T}$ac_cv_func_rand" >&6 if test $ac_cv_func_rand = yes; then : else echo "$as_me:$LINENO: checking for rand in -lrand" >&5 echo $ECHO_N "checking for rand in -lrand... $ECHO_C" >&6 if test "${ac_cv_lib_rand_rand+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lrand $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand (); int main () { rand (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_rand_rand=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_rand_rand=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_rand_rand" >&5 echo "${ECHO_T}$ac_cv_lib_rand_rand" >&6 if test $ac_cv_lib_rand_rand = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBRAND 1 _ACEOF LIBS="-lrand $LIBS" fi fi echo "$as_me:$LINENO: checking for getdomainname" >&5 echo $ECHO_N "checking for getdomainname... $ECHO_C" >&6 if test "${ac_cv_func_getdomainname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getdomainname (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getdomainname (); /* 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_getdomainname) || defined (__stub___getdomainname) choke me #else char (*f) () = getdomainname; #endif #ifdef __cplusplus } #endif int main () { return f != getdomainname; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_getdomainname=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_getdomainname=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_getdomainname" >&5 echo "${ECHO_T}$ac_cv_func_getdomainname" >&6 if test $ac_cv_func_getdomainname = yes; then : else echo "$as_me:$LINENO: checking for getdomainname in -lnsl" >&5 echo $ECHO_N "checking for getdomainname in -lnsl... $ECHO_C" >&6 if test "${ac_cv_lib_nsl_getdomainname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getdomainname (); int main () { getdomainname (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_nsl_getdomainname=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_nsl_getdomainname=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_getdomainname" >&5 echo "${ECHO_T}$ac_cv_lib_nsl_getdomainname" >&6 if test $ac_cv_lib_nsl_getdomainname = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBNSL 1 _ACEOF LIBS="-lnsl $LIBS" fi fi echo "$as_me:$LINENO: checking for socket" >&5 echo $ECHO_N "checking for socket... $ECHO_C" >&6 if test "${ac_cv_func_socket+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char socket (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket (); /* 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_socket) || defined (__stub___socket) choke me #else char (*f) () = socket; #endif #ifdef __cplusplus } #endif int main () { return f != socket; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_socket=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_socket=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 echo "${ECHO_T}$ac_cv_func_socket" >&6 if test $ac_cv_func_socket = yes; then : else echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 if test "${ac_cv_lib_socket_socket+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket (); int main () { socket (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_socket_socket=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_socket_socket=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 if test $ac_cv_lib_socket_socket = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBSOCKET 1 _ACEOF LIBS="-lsocket $LIBS" fi fi echo "$as_me:$LINENO: checking for svc_run in -lnsl" >&5 echo $ECHO_N "checking for svc_run in -lnsl... $ECHO_C" >&6 if test "${ac_cv_lib_nsl_svc_run+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char svc_run (); int main () { svc_run (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_nsl_svc_run=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_nsl_svc_run=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_svc_run" >&5 echo "${ECHO_T}$ac_cv_lib_nsl_svc_run" >&6 if test $ac_cv_lib_nsl_svc_run = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBNSL 1 _ACEOF LIBS="-lnsl $LIBS" fi for ac_header in aio.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking for library containing aio_read" >&5 echo $ECHO_N "checking for library containing aio_read... $ECHO_C" >&6 if test "${ac_cv_search_aio_read+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS ac_cv_search_aio_read=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char aio_read (); int main () { aio_read (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_aio_read="none required" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$ac_cv_search_aio_read" = no; then for ac_lib in c rt aio posix4; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char aio_read (); int main () { aio_read (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_aio_read="-l$ac_lib" break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_search_aio_read" >&5 echo "${ECHO_T}$ac_cv_search_aio_read" >&6 if test "$ac_cv_search_aio_read" != no; then test "$ac_cv_search_aio_read" = "none required" || LIBS="$ac_cv_search_aio_read $LIBS" fi echo "$as_me:$LINENO: checking for fchmod" >&5 echo $ECHO_N "checking for fchmod... $ECHO_C" >&6 if test "${ac_cv_func_fchmod+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char fchmod (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fchmod (); /* 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_fchmod) || defined (__stub___fchmod) choke me #else char (*f) () = fchmod; #endif #ifdef __cplusplus } #endif int main () { return f != fchmod; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fchmod=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_fchmod=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_fchmod" >&5 echo "${ECHO_T}$ac_cv_func_fchmod" >&6 for ac_func in vsnprintf snprintf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking for writev in -lport" >&5 echo $ECHO_N "checking for writev in -lport... $ECHO_C" >&6 if test "${ac_cv_lib_port_writev+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lport $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char writev (); int main () { writev (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_port_writev=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_port_writev=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_port_writev" >&5 echo "${ECHO_T}$ac_cv_lib_port_writev" >&6 if test $ac_cv_lib_port_writev = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBPORT 1 _ACEOF LIBS="-lport $LIBS" fi WITH_DB_SUBDIR= WITH_INTERNAL_DB=0 DBLIBSRCS="" libdb3="" libdb3a="" withval=yes # Check whether --with-db or --without-db was given. if test "${with_db+set}" = set; then withval="$with_db" fi; if test $withval = no ; then for ac_header in db3/db.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking for db_create" >&5 echo $ECHO_N "checking for db_create... $ECHO_C" >&6 if test "${ac_cv_func_db_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char db_create (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char db_create (); /* 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_db_create) || defined (__stub___db_create) choke me #else char (*f) () = db_create; #endif #ifdef __cplusplus } #endif int main () { return f != db_create; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_db_create=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_db_create=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_db_create" >&5 echo "${ECHO_T}$ac_cv_func_db_create" >&6 if test $ac_cv_func_db_create = yes; then DBLIBSRCS="$DBLIBSRCS db3.c" else echo "$as_me:$LINENO: checking for db_create in -ldb-3.2" >&5 echo $ECHO_N "checking for db_create in -ldb-3.2... $ECHO_C" >&6 if test "${ac_cv_lib_db_3_2_db_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldb-3.2 $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char db_create (); int main () { db_create (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_db_3_2_db_create=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_db_3_2_db_create=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_db_3_2_db_create" >&5 echo "${ECHO_T}$ac_cv_lib_db_3_2_db_create" >&6 if test $ac_cv_lib_db_3_2_db_create = yes; then DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.2" else echo "$as_me:$LINENO: checking for db_create in -ldb-3.1" >&5 echo $ECHO_N "checking for db_create in -ldb-3.1... $ECHO_C" >&6 if test "${ac_cv_lib_db_3_1_db_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldb-3.1 $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char db_create (); int main () { db_create (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_db_3_1_db_create=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_db_3_1_db_create=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_db_3_1_db_create" >&5 echo "${ECHO_T}$ac_cv_lib_db_3_1_db_create" >&6 if test $ac_cv_lib_db_3_1_db_create = yes; then DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.1" else echo "$as_me:$LINENO: checking for db_create in -ldb-3.0" >&5 echo $ECHO_N "checking for db_create in -ldb-3.0... $ECHO_C" >&6 if test "${ac_cv_lib_db_3_0_db_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldb-3.0 $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char db_create (); int main () { db_create (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_db_3_0_db_create=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_db_3_0_db_create=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_db_3_0_db_create" >&5 echo "${ECHO_T}$ac_cv_lib_db_3_0_db_create" >&6 if test $ac_cv_lib_db_3_0_db_create = yes; then DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.0" else echo "$as_me:$LINENO: checking for db_create in -ldb" >&5 echo $ECHO_N "checking for db_create in -ldb... $ECHO_C" >&6 if test "${ac_cv_lib_db_db_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldb $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char db_create (); int main () { db_create (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_db_db_create=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_db_db_create=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_create" >&5 echo "${ECHO_T}$ac_cv_lib_db_db_create" >&6 if test $ac_cv_lib_db_db_create = yes; then DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb" fi fi fi fi fi if test X"$DBLIBSRCS" = X; then { { echo "$as_me:$LINENO: error: sorry rpm requires libdb-3.x.a (from the Berkeley db package)" >&5 echo "$as_me: error: sorry rpm requires libdb-3.x.a (from the Berkeley db package)" >&2;} { (exit 1); exit 1; }; } fi if test -n "$libdb3" -a -n "$libthread" ; then echo "$as_me:$LINENO: checking whether $libdb3 needs $libthread" >&5 echo $ECHO_N "checking whether $libdb3 needs $libthread... $ECHO_C" >&6 saveLIBS="$LIBS" LIBS="$LIBS $libdb3" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char db_create (); int main () { db_create (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 libdb3="$libdb3 $libthread"; echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS="$saveLIBS" fi else cat >>confdefs.h <<\_ACEOF #define HAVE_DB3_DB_H 1 _ACEOF WITH_DB_SUBDIR=db3 WITH_INTERNAL_DB=1 DBLIBSRCS="db3.c" libdb3="# \$(top_builddir)/db3/libdb.la" libdb3a="\$(top_builddir)/db3/libdb.a" fi DBLIBSRCS="$DBLIBSRCS" DBLIBOBJS=`echo $DBLIBSRCS | sed -e "s/\.c/\.lo/g"` for dbi in $DBLIBSRCS; do case $dbi in db3.c) cat >>confdefs.h <<\_ACEOF #define USE_DB3 1 _ACEOF ;; db1.c) cat >>confdefs.h <<\_ACEOF #define USE_DB1 1 _ACEOF ;; esac done case "$target" in m68k-*-amigaos ) echo "Building for AmigaOS: using vfork() instead of fork()"; CFLAGS="$CFLAGS -Dfork=vfork" ;; esac if test -z "${WITH_ZLIB_LIB}" ; then for zlib in z gz ; do as_ac_Lib=`echo "ac_cv_lib_${zlib}''_gzread" | $as_tr_sh` echo "$as_me:$LINENO: checking for gzread in -l${zlib}" >&5 echo $ECHO_N "checking for gzread in -l${zlib}... $ECHO_C" >&6 if eval "test \"\${$as_ac_Lib+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-l${zlib} $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gzread (); int main () { gzread (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Lib=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Lib=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 if test `eval echo '${'$as_ac_Lib'}'` = yes; then LIBS="$LIBS -l${zlib}"; break else if test ${zlib} = gz; then { { echo "$as_me:$LINENO: error: sorry rpm requires libz.a or libgz.a (from the zlib package)" >&5 echo "$as_me: error: sorry rpm requires libz.a or libgz.a (from the zlib package)" >&2;} { (exit 1); exit 1; }; } fi fi done as_ac_Lib=`echo "ac_cv_lib_${zlib}''_gzseek" | $as_tr_sh` echo "$as_me:$LINENO: checking for gzseek in -l${zlib}" >&5 echo $ECHO_N "checking for gzseek in -l${zlib}... $ECHO_C" >&6 if eval "test \"\${$as_ac_Lib+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-l${zlib} $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gzseek (); int main () { gzseek (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Lib=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Lib=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 if test `eval echo '${'$as_ac_Lib'}'` = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_GZSEEK 1 _ACEOF fi fi echo "$as_me:$LINENO: checking for bzread in -lbz2" >&5 echo $ECHO_N "checking for bzread in -lbz2... $ECHO_C" >&6 if test "${ac_cv_lib_bz2_bzread+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lbz2 $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bzread (); int main () { bzread (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_bz2_bzread=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_bz2_bzread=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_bzread" >&5 echo "${ECHO_T}$ac_cv_lib_bz2_bzread" >&6 if test $ac_cv_lib_bz2_bzread = yes; then LIBS="$LIBS -lbz2" else echo "$as_me:$LINENO: checking for BZ2_bzread in -lbz2" >&5 echo $ECHO_N "checking for BZ2_bzread in -lbz2... $ECHO_C" >&6 if test "${ac_cv_lib_bz2_BZ2_bzread+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lbz2 $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char BZ2_bzread (); int main () { BZ2_bzread (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_bz2_BZ2_bzread=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_bz2_BZ2_bzread=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzread" >&5 echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzread" >&6 if test $ac_cv_lib_bz2_BZ2_bzread = yes; then WITH_BZIP2=1 LIBS="$LIBS -lbz2" cat >>confdefs.h <<\_ACEOF #define HAVE_BZ2_1_0 1 _ACEOF else WITH_BZIP2=0 fi fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then echo "$as_me:$LINENO: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GMSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then echo "$as_me:$LINENO: result: $GMSGFMT" >&5 echo "${ECHO_T}$GMSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then echo "$as_me:$LINENO: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f messages.po # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MSGMERGE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$MSGMERGE" in /*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then ac_cv_path_MSGMERGE="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; esac fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then echo "$as_me:$LINENO: result: $MSGMERGE" >&5 echo "${ECHO_T}$MSGMERGE" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$GMSGFMT" != ":"; then if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then : ; else GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6 GMSGFMT=":" fi fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then : ; else echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 XGETTEXT=":" fi rm -f messages.po fi ac_config_commands="$ac_config_commands default-1" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi RANLIB=$ac_ct_RANLIB else RANLIB="$ac_cv_prog_RANLIB" fi echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { /* FIXME: Include the comments suggested by Paul. */ #ifndef __cplusplus /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_const=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then cat >>confdefs.h <<\_ACEOF #define const _ACEOF fi echo "$as_me:$LINENO: checking for inline" >&5 echo $ECHO_N "checking for inline... $ECHO_C" >&6 if test "${ac_cv_c_inline+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_inline=$ac_kw; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext done fi echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 echo "${ECHO_T}$ac_cv_c_inline" >&6 case $ac_cv_c_inline in inline | yes) ;; no) cat >>confdefs.h <<\_ACEOF #define inline _ACEOF ;; *) cat >>confdefs.h <<_ACEOF #define inline $ac_cv_c_inline _ACEOF ;; esac echo "$as_me:$LINENO: checking for off_t" >&5 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 if test "${ac_cv_type_off_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((off_t *) 0) return 0; if (sizeof (off_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_off_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_off_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 echo "${ECHO_T}$ac_cv_type_off_t" >&6 if test $ac_cv_type_off_t = yes; then : else cat >>confdefs.h <<_ACEOF #define off_t long _ACEOF fi echo "$as_me:$LINENO: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((size_t *) 0) return 0; if (sizeof (size_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_size_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_size_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6 if test $ac_cv_type_size_t = yes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned _ACEOF fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo "$as_me:$LINENO: checking for working alloca.h" >&5 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 if test "${ac_cv_working_alloca_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { char *p = (char *) alloca (2 * sizeof (int)); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_working_alloca_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_working_alloca_h=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 if test $ac_cv_working_alloca_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA_H 1 _ACEOF fi echo "$as_me:$LINENO: checking for alloca" >&5 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 if test "${ac_cv_func_alloca_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __GNUC__ # define alloca __builtin_alloca #else # ifdef _MSC_VER # include # define alloca _alloca # else # if HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); # endif # endif # endif # endif #endif int main () { char *p = (char *) alloca (1); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_alloca_works=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_alloca_works=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 if test $ac_cv_func_alloca_works = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA 1 _ACEOF else # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=alloca.$ac_objext cat >>confdefs.h <<\_ACEOF #define C_ALLOCA 1 _ACEOF echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 if test "${ac_cv_os_cray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if defined(CRAY) && ! defined(CRAY2) webecray #else wenotbecray #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "webecray" >/dev/null 2>&1; then ac_cv_os_cray=yes else ac_cv_os_cray=no fi rm -f conftest* fi echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 echo "${ECHO_T}$ac_cv_os_cray" >&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define CRAY_STACKSEG_END $ac_func _ACEOF break fi done fi echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 if test "${ac_cv_c_stack_direction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int find_stack_direction () { static char *addr = 0; auto char dummy; if (addr == 0) { addr = &dummy; return find_stack_direction (); } else return (&dummy > addr) ? 1 : -1; } int main () { exit (find_stack_direction () < 0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_stack_direction=1 else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_c_stack_direction=-1 fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 cat >>confdefs.h <<_ACEOF #define STACK_DIRECTION $ac_cv_c_stack_direction _ACEOF fi for ac_header in stdlib.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in getpagesize do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking for working mmap" >&5 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_func_mmap_fixed_mapped=no else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default /* malloc might have been renamed as rpl_malloc. */ #undef malloc /* Thanks to Mike Haertel and Jim Avera for this test. Here is a matrix of mmap possibilities: mmap private not fixed mmap private fixed at somewhere currently unmapped mmap private fixed at somewhere already mapped mmap shared not fixed mmap shared fixed at somewhere currently unmapped mmap shared fixed at somewhere already mapped For private mappings, we should verify that changes cannot be read() back from the file, nor mmap's back from the file at a different address. (There have been systems where private was not correctly implemented like the infamous i386 svr4.0, and systems where the VM page cache was not coherent with the file system buffer cache like early versions of FreeBSD and possibly contemporary NetBSD.) For shared mappings, we should conversely verify that changes get propagated back to all the places they're supposed to be. Grep wants private fixed already mapped. The main things grep needs to know about mmap are: * does it exist and is it safe to write into the mmap'd area * how to use it (BSD variants) */ #include #include #if !STDC_HEADERS && !HAVE_STDLIB_H char *malloc (); #endif /* This mess was copied from the GNU getpagesize.h. */ #if !HAVE_GETPAGESIZE /* Assume that all systems that can run configure have sys/param.h. */ # if !HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ # if HAVE_SYS_PARAM_H # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else /* no EXEC_PAGESIZE */ # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif /* no CLSIZE */ # else /* no NBPG */ # ifdef NBPC # define getpagesize() NBPC # else /* no NBPC */ # ifdef PAGESIZE # define getpagesize() PAGESIZE # endif /* PAGESIZE */ # endif /* no NBPC */ # endif /* no NBPG */ # endif /* no EXEC_PAGESIZE */ # else /* no HAVE_SYS_PARAM_H */ # define getpagesize() 8192 /* punt totally */ # endif /* no HAVE_SYS_PARAM_H */ # endif /* no _SC_PAGESIZE */ #endif /* no HAVE_GETPAGESIZE */ int main () { char *data, *data2, *data3; int i, pagesize; int fd; pagesize = getpagesize (); /* First, make a file with some known garbage in it. */ data = (char *) malloc (pagesize); if (!data) exit (1); for (i = 0; i < pagesize; ++i) *(data + i) = rand (); umask (0); fd = creat ("conftest.mmap", 0600); if (fd < 0) exit (1); if (write (fd, data, pagesize) != pagesize) exit (1); close (fd); /* Next, try to mmap the file at a fixed address which already has something else allocated at it. If we can, also make sure that we see the same garbage. */ fd = open ("conftest.mmap", O_RDWR); if (fd < 0) exit (1); data2 = (char *) malloc (2 * pagesize); if (!data2) exit (1); data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) exit (1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) exit (1); /* Finally, make sure that changes to the mapped area do not percolate back to the file as seen by read(). (This is a bug on some variants of i386 svr4.0.) */ for (i = 0; i < pagesize; ++i) *(data2 + i) = *(data2 + i) + 1; data3 = (char *) malloc (pagesize); if (!data3) exit (1); if (read (fd, data3, pagesize) != pagesize) exit (1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) exit (1); close (fd); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_mmap_fixed_mapped=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_func_mmap_fixed_mapped=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 if test $ac_cv_func_mmap_fixed_mapped = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_MMAP 1 _ACEOF fi rm -f conftest.mmap echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6 if test "${ac_cv_gnu_library_2_1+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) Lucky GNU user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky GNU user" >/dev/null 2>&1; then ac_cv_gnu_library_2_1=yes else ac_cv_gnu_library_2_1=no fi rm -f conftest* fi echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6 GLIBC21="$ac_cv_gnu_library_2_1" echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then # Guess based on the CPU. case "$host_cpu" in alpha* | i3456786 | m68k | s390*) gt_cv_int_divbyzero_sigfpe="guessing yes";; *) gt_cv_int_divbyzero_sigfpe="guessing no";; esac else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include static void #ifdef __cplusplus sigfpe_handler (int sig) #else sigfpe_handler (sig) int sig; #endif { /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ exit (sig != SIGFPE); } int x = 1; int y = 0; int z; int nan; int main () { signal (SIGFPE, sigfpe_handler); /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) signal (SIGTRAP, sigfpe_handler); #endif /* Linux/SPARC yields signal SIGILL. */ #if defined (__sparc__) && defined (__linux__) signal (SIGILL, sigfpe_handler); #endif z = x / y; nan = y / y; exit (1); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_int_divbyzero_sigfpe=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) gt_cv_int_divbyzero_sigfpe=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6 case "$gt_cv_int_divbyzero_sigfpe" in *yes) value=1;; *) value=0;; esac cat >>confdefs.h <<_ACEOF #define INTDIV0_RAISES_SIGFPE $value _ACEOF echo "$as_me:$LINENO: checking for inttypes.h" >&5 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { uintmax_t i = (uintmax_t) -1; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then jm_ac_cv_header_inttypes_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 jm_ac_cv_header_inttypes_h=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6 if test $jm_ac_cv_header_inttypes_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_INTTYPES_H_WITH_UINTMAX 1 _ACEOF fi echo "$as_me:$LINENO: checking for stdint.h" >&5 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 if test "${jm_ac_cv_header_stdint_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { uintmax_t i = (uintmax_t) -1; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then jm_ac_cv_header_stdint_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 jm_ac_cv_header_stdint_h=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6 if test $jm_ac_cv_header_stdint_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_STDINT_H_WITH_UINTMAX 1 _ACEOF fi echo "$as_me:$LINENO: checking for unsigned long long" >&5 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 if test "${ac_cv_type_unsigned_long_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ unsigned long long ull = 1; int i = 63; int main () { unsigned long long ullmax = (unsigned long long) -1; return ull << i | ull >> i | ullmax / ull | ullmax % ull; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_unsigned_long_long=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_unsigned_long_long=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 if test $ac_cv_type_unsigned_long_long = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_UNSIGNED_LONG_LONG 1 _ACEOF fi if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then test $ac_cv_type_unsigned_long_long = yes \ && ac_type='unsigned long long' \ || ac_type='unsigned long' cat >>confdefs.h <<_ACEOF #define uintmax_t $ac_type _ACEOF fi echo "$as_me:$LINENO: checking for inttypes.h" >&5 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 if test "${gt_cv_header_inttypes_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_header_inttypes_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_header_inttypes_h=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6 if test $gt_cv_header_inttypes_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_INTTYPES_H 1 _ACEOF fi if test $gt_cv_header_inttypes_h = yes; then echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6 if test "${gt_cv_inttypes_pri_broken+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #ifdef PRId32 char *p = PRId32; #endif int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_inttypes_pri_broken=no else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_inttypes_pri_broken=yes fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6 fi if test "$gt_cv_inttypes_pri_broken" = yes; then cat >>confdefs.h <<_ACEOF #define PRI_MACROS_BROKEN 1 _ACEOF fi if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi; ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo "$as_me:$LINENO: checking for ld used by GCC" >&5 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 else echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi if test "${acl_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then test "$with_gnu_ld" != no && break else test "$with_gnu_ld" != yes && break fi fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi fi LD="$acl_cv_path_LD" if test -n "$LD"; then echo "$as_me:$LINENO: result: $LD" >&5 echo "${ECHO_T}$LD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 if test "${acl_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # 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 fi echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 with_gnu_ld=$acl_cv_prog_gnu_ld echo "$as_me:$LINENO: checking for shared library run path origin" >&5 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 if test "${acl_cv_rpath+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done fi echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 echo "${ECHO_T}$acl_cv_rpath" >&6 wl="$acl_cv_wl" libext="$acl_cv_libext" shlibext="$acl_cv_shlibext" hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" # Check whether --enable-rpath or --disable-rpath was given. if test "${enable_rpath+set}" = set; then enableval="$enable_rpath" : else enable_rpath=yes fi; use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then withval="$with_libiconv_prefix" if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/lib" fi fi fi; LIBICONV= LTLIBICONV= INCICONV= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='iconv ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" else : fi else found_dir= found_la= found_so= found_a= if test $use_additional = yes; then if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then found_dir="$additional_libdir" found_so="$additional_libdir/lib$name.$shlibext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi else if test -f "$additional_libdir/lib$name.$libext"; then found_dir="$additional_libdir" found_a="$additional_libdir/lib$name.$libext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then found_dir="$dir" found_so="$dir/lib$name.$shlibext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi else if test -f "$dir/lib$name.$libext"; then found_dir="$dir" found_a="$dir/lib$name.$libext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$hardcode_direct" = yes; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" fi if test "$hardcode_minus_L" != no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" else LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */lib | */lib/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/lib"; then haveit= if test "X$additional_libdir" = "X/usr/local/lib"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ;; esac done fi else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" done fi for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ stdlib.h string.h unistd.h sys/param.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done am_save_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done echo "$as_me:$LINENO: checking for iconv" >&5 echo $ECHO_N "checking for iconv... $ECHO_C" >&6 if test "${am_cv_func_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then am_cv_func_iconv=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then am_cv_lib_iconv=yes am_cv_func_iconv=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 echo "${ECHO_T}$am_cv_func_iconv" >&6 if test "$am_cv_func_iconv" = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ICONV 1 _ACEOF fi if test "$am_cv_lib_iconv" = yes; then echo "$as_me:$LINENO: checking how to link with libiconv" >&5 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $LIBICONV" >&5 echo "${ECHO_T}$LIBICONV" >&6 else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi if test "$am_cv_func_iconv" = yes; then echo "$as_me:$LINENO: checking for iconv declaration" >&5 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6 if test "${am_cv_proto_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then am_cv_proto_iconv_arg1="" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_proto_iconv_arg1="const" fi rm -f conftest.$ac_objext conftest.$ac_ext am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" fi am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` echo "$as_me:$LINENO: result: ${ac_t:- }$am_cv_proto_iconv" >&5 echo "${ECHO_T}${ac_t:- }$am_cv_proto_iconv" >&6 cat >>confdefs.h <<_ACEOF #define ICONV_CONST $am_cv_proto_iconv_arg1 _ACEOF fi echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 if test "${am_cv_langinfo_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { char* cs = nl_langinfo(CODESET); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then am_cv_langinfo_codeset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_langinfo_codeset=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6 if test $am_cv_langinfo_codeset = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LANGINFO_CODESET 1 _ACEOF fi if test $ac_cv_header_locale_h = yes; then echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 if test "${am_cv_val_LC_MESSAGES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then am_cv_val_LC_MESSAGES=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_val_LC_MESSAGES=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 if test $am_cv_val_LC_MESSAGES = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LC_MESSAGES 1 _ACEOF fi fi for ac_prog in bison 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_INTLBISON+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$INTLBISON"; then ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_INTLBISON="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi INTLBISON=$ac_cv_prog_INTLBISON if test -n "$INTLBISON"; then echo "$as_me:$LINENO: result: $INTLBISON" >&5 echo "${ECHO_T}$INTLBISON" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$INTLBISON" && break done if test -z "$INTLBISON"; then ac_verc_fail=yes else echo "$as_me:$LINENO: checking version of bison" >&5 echo $ECHO_N "checking version of bison... $ECHO_C" >&6 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; esac echo "$as_me:$LINENO: result: $ac_prog_version" >&5 echo "${ECHO_T}$ac_prog_version" >&6 fi if test $ac_verc_fail = yes; then INTLBISON=: fi echo "$as_me:$LINENO: checking whether NLS is requested" >&5 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" USE_NLS=$enableval else USE_NLS=yes fi; echo "$as_me:$LINENO: result: $USE_NLS" >&5 echo "${ECHO_T}$USE_NLS" >&6 BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no LIBINTL= LTLIBINTL= POSUB= if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no echo "$as_me:$LINENO: checking whether included gettext is requested" >&5 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6 # Check whether --with-included-gettext or --without-included-gettext was given. if test "${with_included_gettext+set}" = set; then withval="$with_included_gettext" nls_cv_force_use_gnu_gettext=$withval else nls_cv_force_use_gnu_gettext=no fi; echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; int main () { bindtextdomain ("", ""); return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_func_gnugettext1_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_gnugettext1_libc=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libintl-prefix or --without-libintl-prefix was given. if test "${with_libintl_prefix+set}" = set; then withval="$with_libintl_prefix" if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/lib" fi fi fi; LIBINTL= LTLIBINTL= INCINTL= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='intl ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" else : fi else found_dir= found_la= found_so= found_a= if test $use_additional = yes; then if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then found_dir="$additional_libdir" found_so="$additional_libdir/lib$name.$shlibext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi else if test -f "$additional_libdir/lib$name.$libext"; then found_dir="$additional_libdir" found_a="$additional_libdir/lib$name.$libext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then found_dir="$dir" found_so="$dir/lib$name.$shlibext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi else if test -f "$dir/lib$name.$libext"; then found_dir="$dir" found_a="$dir/lib$name.$libext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$hardcode_direct" = yes; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" fi if test "$hardcode_minus_L" != no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" else LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */lib | */lib/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/lib"; then haveit= if test "X$additional_libdir" = "X/usr/local/lib"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" ;; esac done fi else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" done fi echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (); int main () { bindtextdomain ("", ""); return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_func_gnugettext1_libintl=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_gnugettext1_libintl=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (); int main () { bindtextdomain ("", ""); return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" gt_cv_func_gnugettext1_libintl=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" fi echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6 fi if test "$gt_cv_func_gnugettext1_libc" = "yes" \ || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ && test "$PACKAGE" != gettext; }; then gt_use_preinstalled_gnugettext=yes else LIBINTL= LTLIBINTL= INCINTL= fi if test "$gt_use_preinstalled_gnugettext" != "yes"; then nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then INTLOBJS="\$(GETTOBJS)" BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV" LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then CATOBJEXT=.gmo fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then cat >>confdefs.h <<\_ACEOF #define ENABLE_NLS 1 _ACEOF else USE_NLS=no fi fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then echo "$as_me:$LINENO: checking how to link with libintl" >&5 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $LIBINTL" >&5 echo "${ECHO_T}$LIBINTL" >&6 for element in $INCINTL; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done fi cat >>confdefs.h <<\_ACEOF #define HAVE_GETTEXT 1 _ACEOF cat >>confdefs.h <<\_ACEOF #define HAVE_DCGETTEXT 1 _ACEOF fi POSUB=po fi if test "$PACKAGE" = gettext; then BUILD_INCLUDED_LIBINTL=yes fi nls_cv_header_intl= nls_cv_header_libgt= DATADIRNAME=share INSTOBJEXT=.mo GENCAT=gencat INTL_LIBTOOL_SUFFIX_PREFIX= INTLLIBS="$LIBINTL" if test X$gt_cv_func_gettext_libintl = Xyes ; then LIBS="-lintl $LIBS" fi echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* 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 <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no 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 : else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #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); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return makedev(0, 0); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_sys_types_h_makedev=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_sys_types_h_makedev=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6 if test $ac_cv_header_sys_types_h_makedev = no; then if test "${ac_cv_header_sys_mkdev_h+set}" = set; then echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5 echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5 echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_sys_mkdev_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6 fi if test $ac_cv_header_sys_mkdev_h = yes; then cat >>confdefs.h <<\_ACEOF #define MAJOR_IN_MKDEV 1 _ACEOF fi if test $ac_cv_header_sys_mkdev_h = no; then if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5 echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5 echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_sys_sysmacros_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6 fi if test $ac_cv_header_sys_sysmacros_h = yes; then cat >>confdefs.h <<\_ACEOF #define MAJOR_IN_SYSMACROS 1 _ACEOF fi fi fi ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include <$ac_hdr> int main () { if ((DIR *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 _ACEOF ac_header_dirent=$ac_hdr; break fi done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo "$as_me:$LINENO: checking for library containing opendir" >&5 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 if test "${ac_cv_search_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS ac_cv_search_opendir=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="none required" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$ac_cv_search_opendir" = no; then for ac_lib in dir; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="-l$ac_lib" break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 echo "${ECHO_T}$ac_cv_search_opendir" >&6 if test "$ac_cv_search_opendir" != no; then test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" fi else echo "$as_me:$LINENO: checking for library containing opendir" >&5 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 if test "${ac_cv_search_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS ac_cv_search_opendir=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="none required" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$ac_cv_search_opendir" = no; then for ac_lib in x; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="-l$ac_lib" break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 echo "${ECHO_T}$ac_cv_search_opendir" >&6 if test "$ac_cv_search_opendir" != no; then test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" fi fi echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include int main () { if ((struct tm *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_time=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_time=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 if test $ac_cv_header_time = yes; then cat >>confdefs.h <<\_ACEOF #define TIME_WITH_SYS_TIME 1 _ACEOF fi for ac_header in fcntl.h getopt.h grp.h memory.h netdb.h pwd.h utime.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in sys/ipc.h sys/socket.h sys/select.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in sys/types.h sys/stdtypes.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in sys/mman.h sys/resource.h sys/utsname.h sys/wait.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in netinet/in_systm.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in machine/types.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in mntent.h sys/mnttab.h sys/systemcfg.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in sys/mount.h sys/mntctl.h sys/param.h sys/vmount.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in bzlib.h libio.h zlib.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in err.h mcheck.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in pthread.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in float.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in glob.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking for struct statfs" >&5 echo $ECHO_N "checking for struct statfs... $ECHO_C" >&6 found_struct_statfs=no if test X$found_struct_statfs = Xno ; then cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H #include #endif #include int main () { struct statvfs sfs; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: in sys/statvfs.h" >&5 echo "${ECHO_T}in sys/statvfs.h" >&6 cat >>confdefs.h <<\_ACEOF #define STATFS_IN_SYS_STATVFS 1 _ACEOF found_struct_statfs=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext fi if test X$found_struct_statfs = Xno ; then cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H #include #endif #include int main () { struct statfs sfs; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: in sys/vfs.h" >&5 echo "${ECHO_T}in sys/vfs.h" >&6 cat >>confdefs.h <<\_ACEOF #define STATFS_IN_SYS_VFS 1 _ACEOF found_struct_statfs=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext fi if test X$found_struct_statfs = Xno ; then cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_PARAM_H #include #endif #include int main () { struct statfs sfs; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: in sys/mount.h" >&5 echo "${ECHO_T}in sys/mount.h" >&6 cat >>confdefs.h <<\_ACEOF #define STATFS_IN_SYS_MOUNT 1 _ACEOF found_struct_statfs=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext fi if test X$found_struct_statfs = Xno ; then cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H #include #endif #include int main () { struct statfs sfs; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: in sys/statfs.h" >&5 echo "${ECHO_T}in sys/statfs.h" >&6 cat >>confdefs.h <<\_ACEOF #define STATFS_IN_SYS_STATFS 1 _ACEOF found_struct_statfs=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext fi if test X$found_struct_statfs = Xno ; then { echo "$as_me:$LINENO: WARNING: not found" >&5 echo "$as_me: WARNING: not found" >&2;} fi if test X$found_struct_statfs = Xyes ; then echo "$as_me:$LINENO: checking for f_bavail member in struct statfs" >&5 echo $ECHO_N "checking for f_bavail member in struct statfs... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H #include #endif #if STATFS_IN_SYS_STATVFS # include typedef struct statvfs STATFS_t; #else typedef struct statfs STATFS_t; # if STATFS_IN_SYS_VFS # include # elif STATFS_IN_SYS_MOUNT # include # elif STATFS_IN_SYS_STATFS # include # endif #endif int main () { STATFS_t sfs; sfs.f_bavail = 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\_ACEOF #define STATFS_HAS_F_BAVAIL 1 _ACEOF else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest.$ac_objext conftest.$ac_ext fi if test X$found_struct_statfs = Xyes ; then echo "$as_me:$LINENO: checking if statfs() requires 4 arguments" >&5 echo $ECHO_N "checking if statfs() requires 4 arguments... $ECHO_C" >&6 if test "$cross_compiling" = yes; then echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef STATFS_IN_SYS_VFS #include #elif STATFS_IN_SYS_MOUNT #include #elif STATFS_IN_SYS_STATFS #include #endif main() { struct statfs sfs; exit (statfs(".", &sfs, sizeof(sfs), 0)); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\_ACEOF #define STAT_STATFS4 1 _ACEOF else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: checking for inline" >&5 echo $ECHO_N "checking for inline... $ECHO_C" >&6 if test "${ac_cv_c_inline+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_inline=$ac_kw; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext done fi echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 echo "${ECHO_T}$ac_cv_c_inline" >&6 case $ac_cv_c_inline in inline | yes) ;; no) cat >>confdefs.h <<\_ACEOF #define inline _ACEOF ;; *) cat >>confdefs.h <<_ACEOF #define inline $ac_cv_c_inline _ACEOF ;; esac PROVIDES_ERRNO=no echo "$as_me:$LINENO: checking if defines h_errno" >&5 echo $ECHO_N "checking if defines h_errno... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { printf("%d",h_errno) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then PROVIDES_ERRNO=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext echo "$as_me:$LINENO: result: $PROVIDES_ERRNO" >&5 echo "${ECHO_T}$PROVIDES_ERRNO" >&6 if test $PROVIDES_ERRNO = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_HERRNO 1 _ACEOF fi echo "$as_me:$LINENO: checking if defines S_IFSOCK" >&5 echo $ECHO_N "checking if defines S_IFSOCK... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { printf("%d", S_IFSOCK) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then HAS_S_IFSOCK=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 HAS_S_IFSOCK=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext echo "$as_me:$LINENO: result: $HAS_S_IFSOCK" >&5 echo "${ECHO_T}$HAS_S_IFSOCK" >&6 if test $HAS_S_IFSOCK = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_S_IFSOCK 1 _ACEOF fi echo "$as_me:$LINENO: checking if defines S_ISLNK" >&5 echo $ECHO_N "checking if defines S_ISLNK... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { printf("%d", S_ISLNK(0755)) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then HAS_S_ISLNK=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 HAS_S_ISLNK=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext echo "$as_me:$LINENO: result: $HAS_S_ISLNK" >&5 echo "${ECHO_T}$HAS_S_ISLNK" >&6 if test $HAS_S_ISLNK = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_S_ISLNK 1 _ACEOF fi echo "$as_me:$LINENO: checking if defines S_ISSOCK" >&5 echo $ECHO_N "checking if defines S_ISSOCK... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { printf("%d", S_ISSOCK(0755)) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then HAS_S_ISSOCK=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 HAS_S_ISSOCK=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext echo "$as_me:$LINENO: result: $HAS_S_ISSOCK" >&5 echo "${ECHO_T}$HAS_S_ISSOCK" >&6 if test $HAS_S_ISSOCK = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_S_ISSOCK 1 _ACEOF fi echo "$as_me:$LINENO: checking if timezone is defined" >&5 echo $ECHO_N "checking if timezone is defined... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { printf("%ld", timezone) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then HAS_TIMEZONE=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 HAS_TIMEZONE=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext echo "$as_me:$LINENO: result: $HAS_TIMEZONE" >&5 echo "${ECHO_T}$HAS_TIMEZONE" >&6 echo "$as_me:$LINENO: checking for mode_t" >&5 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 if test "${ac_cv_type_mode_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((mode_t *) 0) return 0; if (sizeof (mode_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_mode_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_mode_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 echo "${ECHO_T}$ac_cv_type_mode_t" >&6 if test $ac_cv_type_mode_t = yes; then : else cat >>confdefs.h <<_ACEOF #define mode_t int _ACEOF fi echo "$as_me:$LINENO: checking for pid_t" >&5 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 if test "${ac_cv_type_pid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((pid_t *) 0) return 0; if (sizeof (pid_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_pid_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_pid_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 if test $ac_cv_type_pid_t = yes; then : else cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo "$as_me:$LINENO: checking for working alloca.h" >&5 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 if test "${ac_cv_working_alloca_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { char *p = (char *) alloca (2 * sizeof (int)); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_working_alloca_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_working_alloca_h=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 if test $ac_cv_working_alloca_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA_H 1 _ACEOF fi echo "$as_me:$LINENO: checking for alloca" >&5 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 if test "${ac_cv_func_alloca_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __GNUC__ # define alloca __builtin_alloca #else # ifdef _MSC_VER # include # define alloca _alloca # else # if HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); # endif # endif # endif # endif #endif int main () { char *p = (char *) alloca (1); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_alloca_works=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_alloca_works=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 if test $ac_cv_func_alloca_works = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA 1 _ACEOF else # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=alloca.$ac_objext cat >>confdefs.h <<\_ACEOF #define C_ALLOCA 1 _ACEOF echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 if test "${ac_cv_os_cray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if defined(CRAY) && ! defined(CRAY2) webecray #else wenotbecray #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "webecray" >/dev/null 2>&1; then ac_cv_os_cray=yes else ac_cv_os_cray=no fi rm -f conftest* fi echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 echo "${ECHO_T}$ac_cv_os_cray" >&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define CRAY_STACKSEG_END $ac_func _ACEOF break fi done fi echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 if test "${ac_cv_c_stack_direction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int find_stack_direction () { static char *addr = 0; auto char dummy; if (addr == 0) { addr = &dummy; return find_stack_direction (); } else return (&dummy > addr) ? 1 : -1; } int main () { exit (find_stack_direction () < 0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_stack_direction=1 else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_c_stack_direction=-1 fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 cat >>confdefs.h <<_ACEOF #define STACK_DIRECTION $ac_cv_c_stack_direction _ACEOF fi for ac_func in vprintf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF echo "$as_me:$LINENO: checking for _doprnt" >&5 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 if test "${ac_cv_func__doprnt+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _doprnt (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _doprnt (); /* 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__doprnt) || defined (__stub____doprnt) choke me #else char (*f) () = _doprnt; #endif #ifdef __cplusplus } #endif int main () { return f != _doprnt; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func__doprnt=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func__doprnt=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 if test $ac_cv_func__doprnt = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_DOPRNT 1 _ACEOF fi fi done for ac_func in basename getcwd getwd inet_aton mtrace putenv realpath setenv do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in stpcpy stpncpy strcspn do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in strdup strerror strtol strtoul strspn strstr do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in regcomp do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in ftok do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # Check whether --with-glob or --without-glob was given. if test "${with_glob+set}" = set; then withval="$with_glob" rpm_cv_glob=yes else for ac_func in glob do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF rpm_cv_glob=no else rpm_cv_glob=yes fi done fi; if test $rpm_cv_glob = no ; then echo "$as_me:$LINENO: checking for GNU extensions to glob" >&5 echo $ECHO_N "checking for GNU extensions to glob... $ECHO_C" >&6 if test "${rpm_cv_glob_ext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else rm -f t mkdir t mkdir t/p touch t/p/foo.8 if test "$cross_compiling" = yes; then rpm_cv_glob_ext=no else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include main() { glob_t gl ; gl.gl_stat = stat; exit(glob("t/*/*.8", GLOB_PERIOD, NULL, &gl) || gl.gl_pathc < 1); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then rpm_cv_glob_ext=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) rpm_cv_glob_ext=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi rm -r t fi echo "$as_me:$LINENO: result: $rpm_cv_glob_ext" >&5 echo "${ECHO_T}$rpm_cv_glob_ext" >&6 if test "$rpm_cv_glob_ext" = no ; then echo " --> using the included GNU glob instead." >&6 rpm_cv_glob=yes fi fi if test "$rpm_cv_glob" = yes; then cat >>confdefs.h <<\_ACEOF #define USE_GNU_GLOB 1 _ACEOF LIBOBJS="$LIBOBJS glob.$ac_objext" LIBOBJS="$LIBOBJS fnmatch.$ac_objext" fi withval=auto # Check whether --with-python or --without-python was given. if test "${with_python+set}" = set; then withval="$with_python" fi; WITH_PYTHON_VERSION=$withval if test $withval = auto ; then echo "$as_me:$LINENO: checking for python 2.2" >&5 echo $ECHO_N "checking for python 2.2... $ECHO_C" >&6 if test "$cross_compiling" = yes; then withval=yes else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include main() { exit(strncmp("2.2", PY_VERSION, 3)); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then withval=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) withval=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $withval" >&5 echo "${ECHO_T}$withval" >&6 if test $withval = yes ; then WITH_PYTHON_VERSION="2.2" else echo "$as_me:$LINENO: checking for python 1.5.2" >&5 echo $ECHO_N "checking for python 1.5.2... $ECHO_C" >&6 if test "$cross_compiling" = yes; then withval=yes else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include main() { exit(strcmp("1.5.2", PY_VERSION)); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then withval=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) withval=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $withval" >&5 echo "${ECHO_T}$withval" >&6 if test $withval = yes ; then WITH_PYTHON_VERSION="1.5" fi fi fi if test "$WITH_PYTHON_VERSION" != no ; then WITH_PYTHON_SUBDIR=python WITH_PYTHON_SUBPACKAGE=1 else WITH_PYTHON_SUBDIR= WITH_PYTHON_SUBPACKAGE=0 fi # Extract the first word of "doxygen", so it can be a program name with args. set dummy doxygen; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___DOXYGEN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__DOXYGEN in [\\/]* | ?:[\\/]*) ac_cv_path___DOXYGEN="$__DOXYGEN" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___DOXYGEN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___DOXYGEN" && ac_cv_path___DOXYGEN="no" ;; esac fi __DOXYGEN=$ac_cv_path___DOXYGEN if test -n "$__DOXYGEN"; then echo "$as_me:$LINENO: result: $__DOXYGEN" >&5 echo "${ECHO_T}$__DOXYGEN" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi withval=auto # Check whether --with-apidocs or --without-apidocs was given. if test "${with_apidocs+set}" = set; then withval="$with_apidocs" fi; if test $withval = auto -a $__DOXYGEN != no ; then withval=yes elif test $withval = yes -a $__DOXYGEN = no ; then { { echo "$as_me:$LINENO: error: --> rpm API docs needs doxygen in PATH" >&5 echo "$as_me: error: --> rpm API docs needs doxygen in PATH" >&2;} { (exit 1); exit 1; }; } fi if test $withval = yes; then WITH_APIDOCS_TARGET=apidocs WITH_APIDOCS=1 else WITH_APIDOCS=0 fi withval=no # Check whether --with-dmalloc or --without-dmalloc was given. if test "${with_dmalloc+set}" = set; then withval="$with_dmalloc" fi; if test $withval = yes ; then cat >>confdefs.h <<\_ACEOF #define DMALLOC 1 _ACEOF LIBS="$LIBS -ldmalloc" fi withval=no # Check whether --with-efence or --without-efence was given. if test "${with_efence+set}" = set; then withval="$with_efence" fi; if test $withval = yes ; then cat >>confdefs.h <<\_ACEOF #define EFENCE 1 _ACEOF LIBS="$LIBS -lefence" fi for ac_func in setlocale do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in getpassphrase do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking for getmntent" >&5 echo $ECHO_N "checking for getmntent... $ECHO_C" >&6 if test "${ac_cv_func_getmntent+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getmntent (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getmntent (); /* 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_getmntent) || defined (__stub___getmntent) choke me #else char (*f) () = getmntent; #endif #ifdef __cplusplus } #endif int main () { return f != getmntent; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_getmntent=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_getmntent=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_getmntent" >&5 echo "${ECHO_T}$ac_cv_func_getmntent" >&6 if test $ac_cv_func_getmntent = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_GETMNTENT 1 _ACEOF else echo "$as_me:$LINENO: checking for getmntinfo" >&5 echo $ECHO_N "checking for getmntinfo... $ECHO_C" >&6 if test "${ac_cv_func_getmntinfo+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getmntinfo (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getmntinfo (); /* 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_getmntinfo) || defined (__stub___getmntinfo) choke me #else char (*f) () = getmntinfo; #endif #ifdef __cplusplus } #endif int main () { return f != getmntinfo; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_getmntinfo=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_getmntinfo=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_getmntinfo" >&5 echo "${ECHO_T}$ac_cv_func_getmntinfo" >&6 if test $ac_cv_func_getmntinfo = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_GETMNTINFO 1 _ACEOF else echo "$as_me:$LINENO: checking for mntctl" >&5 echo $ECHO_N "checking for mntctl... $ECHO_C" >&6 if test "${ac_cv_func_mntctl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char mntctl (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mntctl (); /* 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_mntctl) || defined (__stub___mntctl) choke me #else char (*f) () = mntctl; #endif #ifdef __cplusplus } #endif int main () { return f != mntctl; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_mntctl=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_mntctl=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_mntctl" >&5 echo "${ECHO_T}$ac_cv_func_mntctl" >&6 if test $ac_cv_func_mntctl = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_MNTCTL 1 _ACEOF else echo "$as_me:$LINENO: checking for getmntinfo_r" >&5 echo $ECHO_N "checking for getmntinfo_r... $ECHO_C" >&6 if test "${ac_cv_func_getmntinfo_r+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getmntinfo_r (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getmntinfo_r (); /* 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_getmntinfo_r) || defined (__stub___getmntinfo_r) choke me #else char (*f) () = getmntinfo_r; #endif #ifdef __cplusplus } #endif int main () { return f != getmntinfo_r; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_getmntinfo_r=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_getmntinfo_r=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_getmntinfo_r" >&5 echo "${ECHO_T}$ac_cv_func_getmntinfo_r" >&6 if test $ac_cv_func_getmntinfo_r = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_GETMNTINFO_R 1 _ACEOF else echo "$as_me:$LINENO: checking for getmntinfo_r in -lc_r" >&5 echo $ECHO_N "checking for getmntinfo_r in -lc_r... $ECHO_C" >&6 if test "${ac_cv_lib_c_r_getmntinfo_r+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lc_r $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getmntinfo_r (); int main () { getmntinfo_r (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_c_r_getmntinfo_r=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_c_r_getmntinfo_r=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_getmntinfo_r" >&5 echo "${ECHO_T}$ac_cv_lib_c_r_getmntinfo_r" >&6 if test $ac_cv_lib_c_r_getmntinfo_r = yes; then LIBS="$LIBS -lc_r"; cat >>confdefs.h <<\_ACEOF #define HAVE_GETMNTINFO_R 1 _ACEOF else cat >>confdefs.h <<\_ACEOF #define USE_GETMNTENT 1 _ACEOF LIBOBJS="$LIBOBJS getmntent.$ac_objext" fi fi fi fi fi echo "$as_me:$LINENO: checking for lchown" >&5 echo $ECHO_N "checking for lchown... $ECHO_C" >&6 if test "${ac_cv_func_lchown+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char lchown (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char lchown (); /* 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_lchown) || defined (__stub___lchown) choke me #else char (*f) () = lchown; #endif #ifdef __cplusplus } #endif int main () { return f != lchown; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_lchown=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_lchown=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_lchown" >&5 echo "${ECHO_T}$ac_cv_func_lchown" >&6 if test $ac_cv_func_lchown = yes; then __CHOWN_RHF="%{__chown} -Rhf" __CHGRP_RHF="%{__chgrp} -Rhf" cat >>confdefs.h <<\_ACEOF #define HAVE_LCHOWN 1 _ACEOF else __CHOWN_RHF="%{__chown} -Rf" __CHGRP_RHF="%{__chgrp} -Rf" echo "$as_me:$LINENO: checking whether chown() follows symlinks" >&5 echo $ECHO_N "checking whether chown() follows symlinks... $ECHO_C" >&6 # Check whether --enable-broken-chown or --disable-broken-chown was given. if test "${enable_broken_chown+set}" = set; then enableval="$enable_broken_chown" result=$enableval else result=unknown fi; if echo "$build" | egrep "(aix)|(hpux)|(linux)" > /dev/null ; then result=yes elif echo "$build" | egrep "(nextstep)" > /dev/null ; then result=no fi if test $result = unknown; then if test `${__ID} | cut -f2 -d\= | cut -f1 -d\(` = 0; then rm -f foo bar touch foo ln -s foo bar ${__CHOWN} 10 bar if test `ls -l foo | awk '{print $3}'` != "root"; then result=yes else result=no fi ${__RM} -f foo bar else echo "$as_me:$LINENO: checking (cannot check by non-root user)" >&5 echo $ECHO_N "checking (cannot check by non-root user)... $ECHO_C" >&6 result=no fi fi echo "$as_me:$LINENO: result: $result" >&5 echo "${ECHO_T}$result" >&6 if test $result = yes; then cat >>confdefs.h <<\_ACEOF #define CHOWN_FOLLOWS_SYMLINK 1 _ACEOF fi fi echo "$as_me:$LINENO: checking root's primary group" >&5 echo $ECHO_N "checking root's primary group... $ECHO_C" >&6 if test "$cross_compiling" = yes; then ROOT_GROUP="root" else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main() { struct passwd *root = NULL; struct group *roots_group = NULL; FILE * tempfile = NULL; root = getpwuid( (uid_t) 0 ); if (root != NULL) { roots_group = getgrgid(root->pw_gid); if (roots_group != NULL) { tempfile = fopen("conftest_rootg", "w"); if (tempfile != NULL) { fprintf(tempfile, "%s\n", roots_group->gr_name); fclose(tempfile); exit(0); } } } exit(1); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ROOT_GROUP=`cat conftest_rootg` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ROOT_GROUP="root" fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ROOT_GROUP" >&5 echo "${ECHO_T}$ROOT_GROUP" >&6 if test "x$varprefix" = "x"; then # For /usr and /usr/local, we want the 'var' directory to go # in /var and /var/local respectively. For everything else, # just put the 'var' directory in prefix/var. case $prefix in /usr | /usr/local ) varprefix=`echo $prefix | sed 's/usr/var/'` ;; NONE) varprefix=`echo $ac_default_prefix | sed 's/usr/var/'` ;; *) varprefix=$prefix/var ;; esac fi if test "x$tmpdir" = "x"; then if test -d $varprefix/tmp; then tmpdir=$varprefix/tmp else if test -d /var/tmp; then tmpdir=/var/tmp else tmpdir=/tmp fi fi fi if echo "$build_os" | grep sco > /dev/null; then echo "hacking things up for sco" cat >>confdefs.h <<\_ACEOF #define NEED_STRINGS_H 1 _ACEOF cat >>confdefs.h <<\_ACEOF #define HAVE_STRUCT_MNTTAB 1 _ACEOF elif echo "$build_os" | grep sunos > /dev/null; then echo "hacking things up for sunos" CFLAGS="$CFLAGS -D__USE_FIXED_PROTOTYPES__" cat >>confdefs.h <<\_ACEOF #define NEED_STRINGS_H 1 _ACEOF cat >>confdefs.h <<\_ACEOF #define NEED_MYREALLOC 1 _ACEOF LIBOBJS="$LIBOBJS myrealloc.$ac_objext" fi # # get rid of the 4-th tuple, if config.guess returned "linux-gnu" for build_os # if echo "$build_os" | grep '.*-gnulibc1' > /dev/null ; then build_os=`echo "${build_os}" | sed 's/-gnulibc1$//'` fi if echo "$build_os" | grep '.*-gnu' > /dev/null ; then build_os=`echo "${build_os}" | sed 's/-gnu$//'` fi build_os_exact="${build_os}" build_os_major=`echo "${build_os}" | sed 's/\..*$//'` build_os_noversion=`echo "${build_os}" | sed 's/[0-9]*\..*$//'` rm -f ./find-provides if test -f ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.prov ; then echo "using ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.prov for automatic provides generation" ln -s ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.prov ./find-provides elif test -f ${srcdir}/autodeps/${build_os_exact}.prov ; then echo "using ${srcdir}/autodeps/${build_os_exact}.prov for automatic provides generation" ln -s ${srcdir}/autodeps/${build_os_exact}.prov ./find-provides elif test -f ${srcdir}/autodeps/${build_os_major}.prov ; then echo "using ${srcdir}/autodeps/${build_os_major}.prov for automatic provides generation" ln -s ${srcdir}/autodeps/${build_os_major}.prov ./find-provides elif test -f ${srcdir}/autodeps/${build_os_noversion}.prov ; then echo "using ${srcdir}/autodeps/${build_os_noversion}.prov for automatic provides generation" ln -s ${srcdir}/autodeps/${build_os_noversion}.prov ./find-provides else echo "*** no default provides information is available for ${build_os_noversion}" ln -s ${srcdir}/autodeps/none ./find-provides fi rm -f ./find-requires if test -f ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.req ; then echo "using ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.req for automatic requires generation" ln -s ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.req ./find-requires elif test -f ${srcdir}/autodeps/${build_os_exact}.req ; then echo "using ${srcdir}/autodeps/${build_os_exact}.req for automatic requires generation" ln -s ${srcdir}/autodeps/${build_os_exact}.req ./find-requires elif test -f ${srcdir}/autodeps/${build_os_major}.req ; then echo "using ${srcdir}/autodeps/${build_os_major}.req for automatic requires generation" ln -s ${srcdir}/autodeps/${build_os_major}.req ./find-requires elif test -f ${srcdir}/autodeps/${build_os_noversion}.req ; then echo "using ${srcdir}/autodeps/${build_os_noversion}.req for automatic requires generation" ln -s ${srcdir}/autodeps/${build_os_noversion}.req ./find-requires else echo "*** no default requires information is available for ${build_os_noversion}" ln -s ${srcdir}/autodeps/none ./find-requires fi MARK64= autorelocate_path='%{nil}' case "${build_cpu}" in *86) RPMCANONCOLOR=0; RPMCANONARCH=i386 ;; x86_64*) RPMCANONCOLOR=3; RPMCANONARCH=x86_64 ;; alpha*) RPMCANONCOLOR=0; RPMCANONARCH=alpha ;; sparc*) RPMCANONCOLOR=0; RPMCANONARCH=sparc ;; ia64*) RPMCANONCOLOR=2; RPMCANONARCH=ia64; autorelocate_path='/emul/%%{ARCH}-%%{OS}' ;; s390x*) RPMCANONCOLOR=3; RPMCANONARCH=s390x ;; s390*) RPMCANONCOLOR=0; RPMCANONARCH=s390 ;; powerpc64*|ppc64*) RPMCANONCOLOR=3; RPMCANONARCH=ppc64 ;; powerpc*|ppc*) RPMCANONCOLOR=0; RPMCANONARCH=ppc ;; armv3l*) RPMCANONCOLOR=0; RPMCANONARCH=armv3l ;; armv4l*) RPMCANONCOLOR=0; RPMCANONARCH=armv4l ;; armv4b*) RPMCANONCOLOR=0; RPMCANONARCH=armv4b ;; arm*) RPMCANONCOLOR=0; RPMCANONARCH="${build_cpu}" ;; mipsel*) RPMCANONCOLOR=0; RPMCANONARCH=mipsel ;; mips*) RPMCANONCOLOR=0; RPMCANONARCH=mips ;; m68k*) RPMCANONCOLOR=0; RPMCANONARCH=m68k ;; *) RPMCANONCOLOR=0; RPMCANONARCH=unknown ;; esac case "${build_os_noversion}" in mint) RPMCANONARCH=m68kmint ;; esac RPMCANONVENDOR="$build_vendor" case "${build_vendor}" in unknown|pc|ibm|redhat|pld|mandrake|conectiva|lvr|yellowdog) test -f /etc/redhat-release && RPMCANONVENDOR=redhat test -f /etc/pld-release && RPMCANONVENDOR=pld test -f /etc/mandrake-release && RPMCANONVENDOR=mandrake test -f /etc/conectiva-release && RPMCANONVENDOR=conectiva test -f /etc/lvr-release && RPMCANONVENDOR=lvr test -f /etc/yellowdog-release && RPMCANONVENDOR=yellowdog ;; esac RPMCANONOS="$build_os_noversion" if test X"$prefix" = XNONE ; then usrprefix="$ac_default_prefix" else usrprefix=$prefix fi LOCALEDIR="`echo ${usrprefix}/share/locale`" cat >>confdefs.h <<_ACEOF #define LOCALEDIR "$LOCALEDIR" _ACEOF LIBDIR="`echo $libdir | sed 's-/lib$-/%{_lib}-'`" RPMCONFIGDIR="@@l_prefix@@/lib/openpkg" cat >>confdefs.h <<_ACEOF #define RPMCONFIGDIR "$RPMCONFIGDIR" _ACEOF SYSCONFIGDIR="@@l_prefix@@/etc/openpkg" cat >>confdefs.h <<_ACEOF #define SYSCONFIGDIR "$SYSCONFIGDIR" _ACEOF MACROFILES="${RPMCONFIGDIR}/macros:${RPMCONFIGDIR}/%{_target_platform}/macros:${SYSCONFIGDIR}/macros:${SYSCONFIGDIR}/macros.specspo:${SYSCONFIGDIR}/macros.db1:${SYSCONFIGDIR}/%{_target_platform}/macros:~/.rpmmacros" cat >>confdefs.h <<_ACEOF #define MACROFILES "$MACROFILES" _ACEOF LIBRPMRC_FILENAME="${SYSCONFIGDIR}/rpmrc" cat >>confdefs.h <<_ACEOF #define LIBRPMRC_FILENAME "$LIBRPMRC_FILENAME" _ACEOF VENDORRPMRC_FILENAME="${SYSCONFIGDIR}/${RPMCANONVENDOR}/rpmrc" cat >>confdefs.h <<_ACEOF #define VENDORRPMRC_FILENAME "$VENDORRPMRC_FILENAME" _ACEOF LIBRPMALIAS_FILENAME="${RPMCONFIGDIR}/rpmpopt" cat >>confdefs.h <<_ACEOF #define LIBRPMALIAS_FILENAME "$LIBRPMALIAS_FILENAME" _ACEOF FINDREQUIRES="${RPMCONFIGDIR}/find-requires" cat >>confdefs.h <<_ACEOF #define FINDREQUIRES "$FINDREQUIRES" _ACEOF FINDPROVIDES="${RPMCONFIGDIR}/find-provides" cat >>confdefs.h <<_ACEOF #define FINDPROVIDES "$FINDPROVIDES" _ACEOF testdir="`pwd`/tests" echo "$as_me:$LINENO: checking for uint8_t" >&5 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6 if test "${ac_cv_type_uint8_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if HAVE_STDINT_H #include #endif #include #if STDC_HEADERS #include #include #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then ac_cv_type_uint8_t=yes else ac_cv_type_uint8_t=no fi rm -f conftest* fi echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6 if test $ac_cv_type_uint8_t = no; then cat >>confdefs.h <<\_ACEOF #define uint8_t unsigned char _ACEOF fi echo "$as_me:$LINENO: checking for uint16_t" >&5 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6 if test "${ac_cv_type_uint16_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if HAVE_STDINT_H #include #endif #include #if STDC_HEADERS #include #include #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "(^|[^a-zA-Z_0-9])uint16_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then ac_cv_type_uint16_t=yes else ac_cv_type_uint16_t=no fi rm -f conftest* fi echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6 if test $ac_cv_type_uint16_t = no; then cat >>confdefs.h <<\_ACEOF #define uint16_t unsigned short _ACEOF fi echo "$as_me:$LINENO: checking for uint32_t" >&5 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6 if test "${ac_cv_type_uint32_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if HAVE_STDINT_H #include #endif #include #if STDC_HEADERS #include #include #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "(^|[^a-zA-Z_0-9])uint32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then ac_cv_type_uint32_t=yes else ac_cv_type_uint32_t=no fi rm -f conftest* fi echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6 if test $ac_cv_type_uint32_t = no; then cat >>confdefs.h <<\_ACEOF #define uint32_t unsigned int _ACEOF fi echo "$as_me:$LINENO: checking for madvise" >&5 echo $ECHO_N "checking for madvise... $ECHO_C" >&6 if test "${ac_cv_func_madvise+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char madvise (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char madvise (); /* 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_madvise) || defined (__stub___madvise) choke me #else char (*f) () = madvise; #endif #ifdef __cplusplus } #endif int main () { return f != madvise; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_madvise=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_madvise=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_madvise" >&5 echo "${ECHO_T}$ac_cv_func_madvise" >&6 subdirs="$subdirs popt zlib elfutils file db3" ac_config_files="$ac_config_files Doxyfile Makefile rpmrc macros platform rpmpopt rpm.spec rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile scripts/Makefile scripts/brp-redhat scripts/macros.perl scripts/macros.php scripts/macros.python tools/Makefile tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile misc/Makefile intl/Makefile po/Makefile.in doc/Makefile doc/manual/Makefile doc/fr/Makefile doc/ja/Makefile doc/ko/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile python/Makefile python/rpmdb/Makefile python/test/Makefile" ac_config_commands="$ac_config_commands default" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@@srcdir@@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi # Support unset when possible. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" # Sed expression to map a string onto a valid variable name. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by $as_me, which was generated by GNU Autoconf 2.57. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.57, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ac_shift=: ;; -*) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS section. # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # Capture the value of obsolete $ALL_LINGUAS because we need it to compute # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it # from automake. eval 'ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "Doxyfile" ) CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "rpmrc" ) CONFIG_FILES="$CONFIG_FILES rpmrc" ;; "macros" ) CONFIG_FILES="$CONFIG_FILES macros" ;; "platform" ) CONFIG_FILES="$CONFIG_FILES platform" ;; "rpmpopt" ) CONFIG_FILES="$CONFIG_FILES rpmpopt" ;; "rpm.spec" ) CONFIG_FILES="$CONFIG_FILES rpm.spec" ;; "rpmio/Makefile" ) CONFIG_FILES="$CONFIG_FILES rpmio/Makefile" ;; "rpmdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES rpmdb/Makefile" ;; "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; "build/Makefile" ) CONFIG_FILES="$CONFIG_FILES build/Makefile" ;; "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; "scripts/brp-redhat" ) CONFIG_FILES="$CONFIG_FILES scripts/brp-redhat" ;; "scripts/macros.perl" ) CONFIG_FILES="$CONFIG_FILES scripts/macros.perl" ;; "scripts/macros.php" ) CONFIG_FILES="$CONFIG_FILES scripts/macros.php" ;; "scripts/macros.python" ) CONFIG_FILES="$CONFIG_FILES scripts/macros.python" ;; "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; "tests/rpmrc" ) CONFIG_FILES="$CONFIG_FILES tests/rpmrc" ;; "tests/macros" ) CONFIG_FILES="$CONFIG_FILES tests/macros" ;; "tests/hello-test/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/hello-test/Makefile" ;; "misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;; "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;; "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "doc/manual/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/manual/Makefile" ;; "doc/fr/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/fr/Makefile" ;; "doc/ja/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/ja/Makefile" ;; "doc/ko/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/ko/Makefile" ;; "doc/pl/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/pl/Makefile" ;; "doc/ru/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/ru/Makefile" ;; "doc/sk/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/sk/Makefile" ;; "python/Makefile" ) CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; "python/rpmdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES python/rpmdb/Makefile" ;; "python/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES python/test/Makefile" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@@/@@@@/; s/@@,/@@@@/; s/,;t t\$/@@;t t/; /@@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@@@/,@@/; s/@@@@/@@,/; s/@@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@@SHELL@@,$SHELL,;t t s,@@PATH_SEPARATOR@@,$PATH_SEPARATOR,;t t s,@@PACKAGE_NAME@@,$PACKAGE_NAME,;t t s,@@PACKAGE_TARNAME@@,$PACKAGE_TARNAME,;t t s,@@PACKAGE_VERSION@@,$PACKAGE_VERSION,;t t s,@@PACKAGE_STRING@@,$PACKAGE_STRING,;t t s,@@PACKAGE_BUGREPORT@@,$PACKAGE_BUGREPORT,;t t s,@@exec_prefix@@,$exec_prefix,;t t s,@@prefix@@,$prefix,;t t s,@@program_transform_name@@,$program_transform_name,;t t s,@@bindir@@,$bindir,;t t s,@@sbindir@@,$sbindir,;t t s,@@libexecdir@@,$libexecdir,;t t s,@@datadir@@,$datadir,;t t s,@@sysconfdir@@,$sysconfdir,;t t s,@@sharedstatedir@@,$sharedstatedir,;t t s,@@localstatedir@@,$localstatedir,;t t s,@@libdir@@,$libdir,;t t s,@@includedir@@,$includedir,;t t s,@@oldincludedir@@,$oldincludedir,;t t s,@@infodir@@,$infodir,;t t s,@@mandir@@,$mandir,;t t s,@@build_alias@@,$build_alias,;t t s,@@host_alias@@,$host_alias,;t t s,@@target_alias@@,$target_alias,;t t s,@@DEFS@@,$DEFS,;t t s,@@ECHO_C@@,$ECHO_C,;t t s,@@ECHO_N@@,$ECHO_N,;t t s,@@ECHO_T@@,$ECHO_T,;t t s,@@LIBS@@,$LIBS,;t t s,@@build@@,$build,;t t s,@@build_cpu@@,$build_cpu,;t t s,@@build_vendor@@,$build_vendor,;t t s,@@build_os@@,$build_os,;t t s,@@host@@,$host,;t t s,@@host_cpu@@,$host_cpu,;t t s,@@host_vendor@@,$host_vendor,;t t s,@@host_os@@,$host_os,;t t s,@@target@@,$target,;t t s,@@target_cpu@@,$target_cpu,;t t s,@@target_vendor@@,$target_vendor,;t t s,@@target_os@@,$target_os,;t t s,@@INSTALL_PROGRAM@@,$INSTALL_PROGRAM,;t t s,@@INSTALL_SCRIPT@@,$INSTALL_SCRIPT,;t t s,@@INSTALL_DATA@@,$INSTALL_DATA,;t t s,@@CYGPATH_W@@,$CYGPATH_W,;t t s,@@PACKAGE@@,$PACKAGE,;t t s,@@VERSION@@,$VERSION,;t t s,@@ACLOCAL@@,$ACLOCAL,;t t s,@@AUTOCONF@@,$AUTOCONF,;t t s,@@AUTOMAKE@@,$AUTOMAKE,;t t s,@@AUTOHEADER@@,$AUTOHEADER,;t t s,@@MAKEINFO@@,$MAKEINFO,;t t s,@@AMTAR@@,$AMTAR,;t t s,@@install_sh@@,$install_sh,;t t s,@@STRIP@@,$STRIP,;t t s,@@ac_ct_STRIP@@,$ac_ct_STRIP,;t t s,@@INSTALL_STRIP_PROGRAM@@,$INSTALL_STRIP_PROGRAM,;t t s,@@AWK@@,$AWK,;t t s,@@SET_MAKE@@,$SET_MAKE,;t t s,@@am__leading_dot@@,$am__leading_dot,;t t s,@@CC@@,$CC,;t t s,@@CFLAGS@@,$CFLAGS,;t t s,@@LDFLAGS@@,$LDFLAGS,;t t s,@@CPPFLAGS@@,$CPPFLAGS,;t t s,@@ac_ct_CC@@,$ac_ct_CC,;t t s,@@EXEEXT@@,$EXEEXT,;t t s,@@OBJEXT@@,$OBJEXT,;t t s,@@DEPDIR@@,$DEPDIR,;t t s,@@am__include@@,$am__include,;t t s,@@am__quote@@,$am__quote,;t t s,@@AMDEP_TRUE@@,$AMDEP_TRUE,;t t s,@@AMDEP_FALSE@@,$AMDEP_FALSE,;t t s,@@AMDEPBACKSLASH@@,$AMDEPBACKSLASH,;t t s,@@CCDEPMODE@@,$CCDEPMODE,;t t s,@@am__fastdepCC_TRUE@@,$am__fastdepCC_TRUE,;t t s,@@am__fastdepCC_FALSE@@,$am__fastdepCC_FALSE,;t t s,@@CPP@@,$CPP,;t t s,@@EGREP@@,$EGREP,;t t s,@@CXX@@,$CXX,;t t s,@@CXXFLAGS@@,$CXXFLAGS,;t t s,@@ac_ct_CXX@@,$ac_ct_CXX,;t t s,@@CXXDEPMODE@@,$CXXDEPMODE,;t t s,@@am__fastdepCXX_TRUE@@,$am__fastdepCXX_TRUE,;t t s,@@am__fastdepCXX_FALSE@@,$am__fastdepCXX_FALSE,;t t s,@@AS@@,$AS,;t t s,@@RPMUSER@@,$RPMUSER,;t t s,@@RPMUID@@,$RPMUID,;t t s,@@RPMGROUP@@,$RPMGROUP,;t t s,@@RPMGID@@,$RPMGID,;t t s,@@CTAGS@@,$CTAGS,;t t s,@@CSCOPE@@,$CSCOPE,;t t s,@@LDFLAGS_STATIC@@,$LDFLAGS_STATIC,;t t s,@@LDFLAGS_NPTL@@,$LDFLAGS_NPTL,;t t s,@@FIXPERMS@@,$FIXPERMS,;t t s,@@MKDIR@@,$MKDIR,;t t s,@@MKDIR_P@@,$MKDIR_P,;t t s,@@U@@,$U,;t t s,@@ANSI2KNR@@,$ANSI2KNR,;t t s,@@LN_S@@,$LN_S,;t t s,@@ECHO@@,$ECHO,;t t s,@@RANLIB@@,$RANLIB,;t t s,@@ac_ct_RANLIB@@,$ac_ct_RANLIB,;t t s,@@LIBTOOL@@,$LIBTOOL,;t t s,@@AR@@,$AR,;t t s,@@ac_ct_AR@@,$ac_ct_AR,;t t s,@@BZIP2BIN@@,$BZIP2BIN,;t t s,@@__CAT@@,$__CAT,;t t s,@@__CHGRP@@,$__CHGRP,;t t s,@@__CHMOD@@,$__CHMOD,;t t s,@@__CHOWN@@,$__CHOWN,;t t s,@@__CP@@,$__CP,;t t s,@@__CPIO@@,$__CPIO,;t t s,@@__FILE@@,$__FILE,;t t s,@@__GPG@@,$__GPG,;t t s,@@__GREP@@,$__GREP,;t t s,@@GZIPBIN@@,$GZIPBIN,;t t s,@@UNZIPBIN@@,$UNZIPBIN,;t t s,@@__ID@@,$__ID,;t t s,@@__ID_U@@,$__ID_U,;t t s,@@__INSTALL@@,$__INSTALL,;t t s,@@__MAKE@@,$__MAKE,;t t s,@@__MKDIR@@,$__MKDIR,;t t s,@@__MV@@,$__MV,;t t s,@@__PATCH@@,$__PATCH,;t t s,@@__PERL@@,$__PERL,;t t s,@@PGPBIN@@,$PGPBIN,;t t s,@@__PYTHON@@,$__PYTHON,;t t s,@@__RM@@,$__RM,;t t s,@@__RSH@@,$__RSH,;t t s,@@__SED@@,$__SED,;t t s,@@__SSH@@,$__SSH,;t t s,@@__TAR@@,$__TAR,;t t s,@@__LD@@,$__LD,;t t s,@@__NM@@,$__NM,;t t s,@@__OBJCOPY@@,$__OBJCOPY,;t t s,@@__OBJDUMP@@,$__OBJDUMP,;t t s,@@__STRIP@@,$__STRIP,;t t s,@@WITH_ZLIB_SUBDIR@@,$WITH_ZLIB_SUBDIR,;t t s,@@WITH_ZLIB_INCLUDE@@,$WITH_ZLIB_INCLUDE,;t t s,@@WITH_ZLIB_LIB@@,$WITH_ZLIB_LIB,;t t s,@@WITH_ELFUTILS_SUBDIR@@,$WITH_ELFUTILS_SUBDIR,;t t s,@@WITH_LIBELF_INCLUDE@@,$WITH_LIBELF_INCLUDE,;t t s,@@WITH_LIBELF_LIB@@,$WITH_LIBELF_LIB,;t t s,@@WITH_LIBDWARF_INCLUDE@@,$WITH_LIBDWARF_INCLUDE,;t t s,@@WITH_BEECRYPT_SUBDIR@@,$WITH_BEECRYPT_SUBDIR,;t t s,@@WITH_BEECRYPT_INCLUDE@@,$WITH_BEECRYPT_INCLUDE,;t t s,@@WITH_BEECRYPT_LIB@@,$WITH_BEECRYPT_LIB,;t t s,@@WITH_DB_SUBDIR@@,$WITH_DB_SUBDIR,;t t s,@@WITH_INTERNAL_DB@@,$WITH_INTERNAL_DB,;t t s,@@DBLIBSRCS@@,$DBLIBSRCS,;t t s,@@DBLIBOBJS@@,$DBLIBOBJS,;t t s,@@libdb3@@,$libdb3,;t t s,@@libdb3a@@,$libdb3a,;t t s,@@WITH_BZIP2@@,$WITH_BZIP2,;t t s,@@MKINSTALLDIRS@@,$MKINSTALLDIRS,;t t s,@@MSGFMT@@,$MSGFMT,;t t s,@@GMSGFMT@@,$GMSGFMT,;t t s,@@XGETTEXT@@,$XGETTEXT,;t t s,@@MSGMERGE@@,$MSGMERGE,;t t s,@@ALLOCA@@,$ALLOCA,;t t s,@@GLIBC21@@,$GLIBC21,;t t s,@@LIBICONV@@,$LIBICONV,;t t s,@@LTLIBICONV@@,$LTLIBICONV,;t t s,@@INTLBISON@@,$INTLBISON,;t t s,@@USE_NLS@@,$USE_NLS,;t t s,@@BUILD_INCLUDED_LIBINTL@@,$BUILD_INCLUDED_LIBINTL,;t t s,@@USE_INCLUDED_LIBINTL@@,$USE_INCLUDED_LIBINTL,;t t s,@@CATOBJEXT@@,$CATOBJEXT,;t t s,@@INTLOBJS@@,$INTLOBJS,;t t s,@@DATADIRNAME@@,$DATADIRNAME,;t t s,@@INSTOBJEXT@@,$INSTOBJEXT,;t t s,@@GENCAT@@,$GENCAT,;t t s,@@INTL_LIBTOOL_SUFFIX_PREFIX@@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t s,@@INTLLIBS@@,$INTLLIBS,;t t s,@@LIBINTL@@,$LIBINTL,;t t s,@@LTLIBINTL@@,$LTLIBINTL,;t t s,@@POSUB@@,$POSUB,;t t s,@@LIBOBJS@@,$LIBOBJS,;t t s,@@WITH_PYTHON_SUBDIR@@,$WITH_PYTHON_SUBDIR,;t t s,@@WITH_PYTHON_SUBPACKAGE@@,$WITH_PYTHON_SUBPACKAGE,;t t s,@@WITH_PYTHON_VERSION@@,$WITH_PYTHON_VERSION,;t t s,@@__DOXYGEN@@,$__DOXYGEN,;t t s,@@WITH_APIDOCS_TARGET@@,$WITH_APIDOCS_TARGET,;t t s,@@WITH_APIDOCS@@,$WITH_APIDOCS,;t t s,@@__CHOWN_RHF@@,$__CHOWN_RHF,;t t s,@@__CHGRP_RHF@@,$__CHGRP_RHF,;t t s,@@ROOT_GROUP@@,$ROOT_GROUP,;t t s,@@varprefix@@,$varprefix,;t t s,@@tmpdir@@,$tmpdir,;t t s,@@MARK64@@,$MARK64,;t t s,@@RPMCANONCOLOR@@,$RPMCANONCOLOR,;t t s,@@autorelocate_path@@,$autorelocate_path,;t t s,@@RPMCANONARCH@@,$RPMCANONARCH,;t t s,@@RPMCANONVENDOR@@,$RPMCANONVENDOR,;t t s,@@RPMCANONOS@@,$RPMCANONOS,;t t s,@@LOCALEDIR@@,$LOCALEDIR,;t t s,@@LIBDIR@@,$LIBDIR,;t t s,@@RPMCONFIGDIR@@,$RPMCONFIGDIR,;t t s,@@SYSCONFIGDIR@@,$SYSCONFIGDIR,;t t s,@@MACROFILES@@,$MACROFILES,;t t s,@@LIBRPMRC_FILENAME@@,$LIBRPMRC_FILENAME,;t t s,@@VENDORRPMRC_FILENAME@@,$VENDORRPMRC_FILENAME,;t t s,@@LIBRPMALIAS_FILENAME@@,$LIBRPMALIAS_FILENAME,;t t s,@@FINDREQUIRES@@,$FINDREQUIRES,;t t s,@@FINDPROVIDES@@,$FINDPROVIDES,;t t s,@@testdir@@,$testdir,;t t s,@@INCPATH@@,$INCPATH,;t t s,@@LIBMISC@@,$LIBMISC,;t t s,@@RPM@@,$RPM,;t t s,@@OBJDUMP@@,$OBJDUMP,;t t s,@@subdirs@@,$subdirs,;t t s,@@LTLIBOBJS@@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @@srcdir@@, @@top_srcdir@@, and @@INSTALL@@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; *) # Relative if test -f "$f"; then # Build tree echo $f elif test -f "$srcdir/$f"; then # Source tree echo $srcdir/$f else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b s,@@configure_input@@,$configure_input,;t t s,@@srcdir@@,$ac_srcdir,;t t s,@@abs_srcdir@@,$ac_abs_srcdir,;t t s,@@top_srcdir@@,$ac_top_srcdir,;t t s,@@abs_top_srcdir@@,$ac_abs_top_srcdir,;t t s,@@builddir@@,$ac_builddir,;t t s,@@abs_builddir@@,$ac_abs_builddir,;t t s,@@top_builddir@@,$ac_top_builddir,;t t s,@@abs_top_builddir@@,$ac_abs_top_builddir,;t t s,@@INSTALL@@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' ac_uC=' ' ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; *) # Relative if test -f "$f"; then # Build tree echo $f elif test -f "$srcdir/$f"; then # Source tree echo $srcdir/$f else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, _ACEOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs cat >>$CONFIG_STATUS <<\_ACEOF # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`/stamp-h$_am_stamp_count done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_COMMANDS section. # for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_dir=`(dirname "$ac_dest") 2>/dev/null || $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_dest" : 'X\(//\)[^/]' \| \ X"$ac_dest" : 'X\(//\)$' \| \ X"$ac_dest" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_dest" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`(dirname "$mf") 2>/dev/null || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` else continue fi grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue # Extract the definition of DEP_FILES from the Makefile without # running `make'. DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` test -z "$DEPDIR" && continue # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n -e '/^U = / s///p' < "$mf"` test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" # We invoke sed twice because it is the simplest approach to # changing $(DEPDIR) to its actual value in the expansion. for file in `sed -n -e ' /^DEP_FILES = .*\\\\$/ { s/^DEP_FILES = // :loop s/\\\\$// p n /\\\\$/ b loop p } /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`(dirname "$file") 2>/dev/null || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; default-1 ) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' fi case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= GMOFILES= UPDATEPOFILES= DUMMYPOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@@POFILES@@|$POFILES|g" -e "s|@@GMOFILES@@|$GMOFILES|g" -e "s|@@UPDATEPOFILES@@|$UPDATEPOFILES|g" -e "s|@@DUMMYPOFILES@@|$DUMMYPOFILES|g" -e "s|@@CATALOGS@@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done ;; default ) echo timestamp > popt/stamp-h.in echo timestamp > stamp-h.in ;; esac done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi # # CONFIG_SUBDIRS section. # if test "$no_recursion" != yes; then # Remove --cache-file and --srcdir arguments so they do not pile up. ac_sub_configure_args= ac_prev= for ac_arg in $ac_configure_args; do if test -n "$ac_prev"; then ac_prev= continue fi case $ac_arg in -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ | --c=*) ;; --config-cache | -C) ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ;; *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; esac done # Always prepend --prefix to ensure using the same prefix # in subdir configurations. ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" ac_popdir=`pwd` for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue # Do not complain, so a configure script can configure whichever # parts of a large source tree are present. test -d $srcdir/$ac_dir || continue { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 echo "$as_me: configuring in $ac_dir" >&6;} { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_srcdir/configure.gnu; then ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" elif test -f $ac_srcdir/configure; then ac_sub_configure="$SHELL '$ac_srcdir/configure'" elif test -f $ac_srcdir/configure.in; then ac_sub_configure=$ac_configure else { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} ac_sub_configure= fi # The recursion is here. if test -n "$ac_sub_configure"; then # Make the cache file name correct relative to the subdirectory. case $cache_file in [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; *) # Relative path. ac_sub_cache_file=$ac_top_builddir$cache_file ;; esac { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} # The eval makes quoting arguments work. eval $ac_sub_configure $ac_sub_configure_args \ --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} { (exit 1); exit 1; }; } fi cd $ac_popdir done fi @ 1.24 log @commit some older pending changes @ text @@ 1.23 log @flush pending changes from last porting to HP-UX 11.11 @ text @d23359 3 d23398 3 d23437 3 @ 1.22 log @NetBSD/sparc64 fixes @ text @a4846 4 if test -f /usr/lib/nptl/libpthread.a ; then LDFLAGS_NPTL="-L/usr/lib/nptl" # INCPATH="$INCPATH -I/usr/include/nptl" fi d5904 1 a5904 1 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' d6679 1 a6679 1 echo '#line 6683 "configure"' > conftest.$ac_ext d7208 1 a7208 1 if { (eval echo configure:7212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then d8392 1 a8392 1 echo '#line 8396 "configure"' > conftest.$ac_ext d9064 1 a9064 1 #line 9068 "configure" d9162 1 a9162 1 #line 9166 "configure" d12606 65 @ 1.21 log @port to NetBSD @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57 (OpenPKG-CURRENT). d1138 1 a1138 1 generated by GNU Autoconf 2.57 (OpenPKG-CURRENT). Invocation command line was d6683 1 a6683 1 echo '#line 6687 "configure"' > conftest.$ac_ext d7212 1 a7212 1 if { (eval echo configure:7216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then d8396 1 a8396 1 echo '#line 8400 "configure"' > conftest.$ac_ext d9068 1 a9068 1 #line 9072 "configure" d9166 1 a9166 1 #line 9170 "configure" a23154 3 case "${target_cpu}" in x86_64*|ppc64*|powerpc64*|sparc64*|s390x*) MARK64=64 ;; esac d23859 1 a23859 1 generated by GNU Autoconf 2.57 (OpenPKG-CURRENT). Invocation command line was d23922 1 a23922 1 configured by $0, generated by GNU Autoconf 2.57 (OpenPKG-CURRENT), @ 1.20 log @finally commit all OpenPKG RPM changes to HEAD @ text @d5947 1 a5947 5 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' else lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' fi @ 1.19 log @Resolve: RPM 4.2 -> RPM 4.2.1 @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57. d470 1 a470 1 ac_subdirs_all="$ac_subdirs_all popt beecrypt zlib elfutils file db3" d1138 1 a1138 1 generated by GNU Autoconf 2.57. Invocation command line was d4043 1 a4043 1 CFLAGS="$CFLAGS -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" d4840 1 d4941 1 a4941 1 MKDIR_P="`echo ${prefix}/lib/rpm/mkinstalldirs`" d5882 1 d5986 1 a5986 1 sysv5uw[78]* | sysv4*uw2*) d6687 1 a6687 1 echo '#line 6685 "configure"' > conftest.$ac_ext d7216 1 a7216 1 if { (eval echo configure:7214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then d8074 1 a8074 1 sysv5uw7* | unixware7*) d8400 1 a8400 1 echo '#line 8398 "configure"' > conftest.$ac_ext d9072 1 a9072 1 #line 9070 "configure" d9170 1 a9170 1 #line 9168 "configure" d11271 1 a11271 1 if test -d zlib ; then a11288 38 dirs=$prefix if test "$cross_compiling" != "yes"; then dirs="$dirs /usr/local" fi for dir in $dirs do case $dir in NONE|/usr) continue;; /usr/local) if test X$localdone != X ; then continue; fi localdone="$dir" ;; esac echo "$as_me:$LINENO: checking for $dir/lib in LIBS" >&5 echo $ECHO_N "checking for $dir/lib in LIBS... $ECHO_C" >&6 if test -d $dir/lib 2> /dev/null ; then addlib $dir/lib echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi echo "$as_me:$LINENO: checking for $dir/include in INCPATH" >&5 echo $ECHO_N "checking for $dir/include in INCPATH... $ECHO_C" >&6 if test -d $dir/include 2>/dev/null ; then if "$dir" != "/usr/local" ; then INCPATH="$INCPATH -I$dir/include" fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi done d12018 1 a12018 1 WITH_BEECRYPT_INCLUDE="-I/usr/include/beecrypt" d12493 1 a12493 349 { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket (); /* 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_socket) || defined (__stub___socket) choke me #else char (*f) () = socket; #endif #ifdef __cplusplus } #endif int main () { return f != socket; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_socket=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_socket=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 echo "${ECHO_T}$ac_cv_func_socket" >&6 if test $ac_cv_func_socket = yes; then : else echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 if test "${ac_cv_lib_socket_socket+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket (); int main () { socket (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_socket_socket=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_socket_socket=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 if test $ac_cv_lib_socket_socket = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBSOCKET 1 _ACEOF LIBS="-lsocket $LIBS" fi fi for ac_header in thread.h pthread.h synch.h semaphore.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking for pthread_mutex_trylock in -lpthread" >&5 echo $ECHO_N "checking for pthread_mutex_trylock in -lpthread... $ECHO_C" >&6 if test "${ac_cv_lib_pthread_pthread_mutex_trylock+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pthread_mutex_trylock (); int main () { pthread_mutex_trylock (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_pthread_pthread_mutex_trylock=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_pthread_pthread_mutex_trylock=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_trylock" >&6 if test $ac_cv_lib_pthread_pthread_mutex_trylock = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBPTHREAD 1 _ACEOF LIBS="-lpthread $LIBS" else echo "$as_me:$LINENO: checking for __pthread_mutex_trylock in -lpthread" >&5 echo $ECHO_N "checking for __pthread_mutex_trylock in -lpthread... $ECHO_C" >&6 if test "${ac_cv_lib_pthread___pthread_mutex_trylock+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" d12497 13 a12509 1 char __pthread_mutex_trylock (); d12513 1 a12513 1 __pthread_mutex_trylock (); d12530 1 a12530 1 ac_cv_lib_pthread___pthread_mutex_trylock=yes d12535 1 a12535 1 ac_cv_lib_pthread___pthread_mutex_trylock=no a12537 1 LIBS=$ac_check_lib_save_LIBS d12539 4 a12542 9 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_trylock" >&5 echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_trylock" >&6 if test $ac_cv_lib_pthread___pthread_mutex_trylock = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBPTHREAD 1 _ACEOF LIBS="-lpthread $LIBS" d12546 3 a12548 3 echo "$as_me:$LINENO: checking for mutex_lock in -lthread" >&5 echo $ECHO_N "checking for mutex_lock in -lthread... $ECHO_C" >&6 if test "${ac_cv_lib_thread_mutex_lock+set}" = set; then d12552 1 a12552 1 LIBS="-lthread $LIBS" d12567 1 a12567 1 char mutex_lock (); d12571 1 a12571 1 mutex_lock (); d12588 1 a12588 1 ac_cv_lib_thread_mutex_lock=yes d12593 1 a12593 1 ac_cv_lib_thread_mutex_lock=no d12598 3 a12600 3 echo "$as_me:$LINENO: result: $ac_cv_lib_thread_mutex_lock" >&5 echo "${ECHO_T}$ac_cv_lib_thread_mutex_lock" >&6 if test $ac_cv_lib_thread_mutex_lock = yes; then d12602 1 a12602 1 #define HAVE_LIBTHREAD 1 d12605 1 a12605 1 LIBS="-lthread $LIBS" a12612 2 fi d22534 80 d22851 2 d23220 1 a23220 1 RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`" d23228 1 a23228 1 SYSCONFIGDIR="`echo /etc/rpm`" d23244 1 a23244 1 LIBRPMRC_FILENAME="${RPMCONFIGDIR}/rpmrc" d23252 1 a23252 1 VENDORRPMRC_FILENAME="${RPMCONFIGDIR}/${RPMCANONVENDOR}/rpmrc" d23260 1 a23260 1 LIBRPMALIAS_FILENAME="${RPMCONFIGDIR}/rpmpopt-${VERSION}" d23293 184 d23479 1 a23479 1 subdirs="$subdirs popt beecrypt zlib elfutils file db3" d23866 1 a23866 1 generated by GNU Autoconf 2.57. Invocation command line was d23929 1 a23929 1 configured by $0, generated by GNU Autoconf 2.57, a25045 1 echo timestamp > beecrypt/stamp-h.in @ 1.18 log @Resolve: RPM 4.1.1 -> RPM 4.2 @ text @d471 1 a471 1 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE AS RPMUSER RPMUID RPMGROUP RPMGID CTAGS CSCOPE LDFLAGS_STATIC LDFLAGS_NPTL FIXPERMS MKDIR MKDIR_P U ANSI2KNR LN_S ECHO RANLIB ac_ct_RANLIB LIBTOOL AR ac_ct_AR BZIP2BIN __CAT __CHGRP __CHMOD __CHOWN __CP __CPIO __FILE __GPG __GREP GZIPBIN UNZIPBIN __ID __ID_U __INSTALL __MAKE __MKDIR __MV __PATCH __PERL PGPBIN __PYTHON __RM __RSH __SED __SSH __TAR __LD __NM __OBJCOPY __OBJDUMP __STRIP WITH_ZLIB_SUBDIR WITH_ZLIB_INCLUDE WITH_ZLIB_LIB WITH_ELFUTILS_SUBDIR WITH_LIBELF_INCLUDE WITH_LIBELF_LIB WITH_LIBDWARF_INCLUDE WITH_DB_SUBDIR WITH_INTERNAL_DB DBLIBSRCS DBLIBOBJS libdb3 libdb3a WITH_BZIP2 MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBOBJS WITH_PYTHON_SUBDIR WITH_PYTHON_SUBPACKAGE WITH_PYTHON_VERSION __DOXYGEN WITH_APIDOCS_TARGET WITH_APIDOCS __CHOWN_RHF __CHGRP_RHF ROOT_GROUP varprefix tmpdir MARK64 RPMCANONCOLOR RPMCANONARCH RPMCANONVENDOR RPMCANONOS LOCALEDIR LIBDIR RPMCONFIGDIR SYSCONFIGDIR MACROFILES LIBRPMRC_FILENAME VENDORRPMRC_FILENAME LIBRPMALIAS_FILENAME FINDREQUIRES FINDPROVIDES testdir INCPATH LIBMISC RPM OBJDUMP subdirs LTLIBOBJS' d1574 1 a1574 1 am__api_version="1.6" d1793 9 d1810 10 d1822 1 a1822 1 VERSION=4.2 a1947 2 # Add the stamp file to the list of files AC keeps track of, # along with our hook. a1951 2 d2822 1 a2822 10 rm -f .deps 2>/dev/null mkdir .deps 2>/dev/null if test -d .deps; then DEPDIR=.deps else # MS-DOS does not allow filenames that begin with a dot. DEPDIR=_deps fi rmdir .deps 2>/dev/null d2829 1 a2829 1 doit: d2831 1 d2846 1 a2846 1 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then d2937 2 a2938 1 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && d2941 7 a2947 2 am_cv_CC_dependencies_compiler_type=$depmode break d2964 12 d4002 2 a4003 1 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && d4006 7 a4012 2 am_cv_CXX_dependencies_compiler_type=$depmode break d4028 12 d6685 1 a6685 1 echo '#line 6642 "configure"' > conftest.$ac_ext d7214 1 a7214 1 if { (eval echo configure:7171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then d8398 1 a8398 1 echo '#line 8355 "configure"' > conftest.$ac_ext d9070 1 a9070 1 #line 9027 "configure" d9168 1 a9168 1 #line 9125 "configure" d11859 221 d23462 1 d23468 2 a23469 1 ia64*) RPMCANONCOLOR=0; RPMCANONARCH=ia64 ;; d23503 1 d23696 14 d24299 1 d24314 1 d24329 2 d24337 2 d24399 3 d24446 1 d24892 8 a24899 5 # Run the commands associated with the file. case $ac_file in config.h ) # update the timestamp echo 'timestamp for config.h' >"./stamp-h1" ;; d24901 13 @ 1.17 log @Resolve: RPM 4.1 -> RPM 4.1.1 @ text @d1803 1 a1803 1 VERSION=4.1.1 d23200 1 a23200 1 x86_64*) RPMCANONCOLOR=0; RPMCANONARCH=x86_64 ;; d23204 1 a23204 1 s390x*) RPMCANONCOLOR=0; RPMCANONARCH=s390x ;; d23206 1 a23206 1 powerpc64*|ppc64*) RPMCANONCOLOR=0; RPMCANONARCH=ppc64 ;; d23291 1 a23291 1 LIBRPMALIAS_FILENAME="${RPMCONFIGDIR}/rpmpopt-4.1" @ 1.16 log @Resolve: RPM 4.0.5 -> RPM 4.1 @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.53. a8 167 # Find the correct PATH separator. Usually this is `:', but # DJGPP uses `;' like DOS. if test "X${PATH_SEPARATOR+set}" != Xset; then UNAME=${UNAME-`uname 2>/dev/null`} case X$UNAME in *-DOS) lt_cv_sys_path_separator=';' ;; *) lt_cv_sys_path_separator=':' ;; esac PATH_SEPARATOR=$lt_cv_sys_path_separator fi # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null && echo_test_string="`eval $cmd`" && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi d17 3 a23 1 # NLS nuisances. d31 32 a62 24 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && { $as_unset LANG || test "${LANG+set}" != set; } || { LANG=C; export LANG; } (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || { LC_ALL=C; export LC_ALL; } (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || { LC_TIME=C; export LC_TIME; } (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || { LC_CTYPE=C; export LC_CTYPE; } (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || { LANGUAGE=C; export LANGUAGE; } (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || { LC_COLLATE=C; export LC_COLLATE; } (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || { LC_NUMERIC=C; export LC_NUMERIC; } (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || { LC_MESSAGES=C; export LC_MESSAGES; } d66 1 a66 1 as_me=`(basename "$0") 2>/dev/null || d77 1 d88 4 a91 4 echo "#! /bin/sh" >conftest.sh echo "exit 0" >>conftest.sh chmod +x conftest.sh if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then d96 1 a96 1 rm -f conftest.sh d144 2 d214 184 a397 1 as_ln_s='cp -p' a398 16 rm -f conf$$ conf$$.exe conf$$.file as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" # Sed expression to map a string onto a valid variable name. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" a399 2 # CDPATH. $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } d413 1 d470 3 a472 1 ac_subdirs_all="$ac_subdirs_all popt beecrypt zlib libelf db3" d896 3 d1022 1 d1098 1 a1098 1 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` d1138 1 a1138 1 generated by GNU Autoconf 2.53. Invocation command line was d1190 1 d1192 1 d1194 2 d1197 2 a1198 1 for ac_arg d1200 35 a1234 15 case $ac_arg in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n ) continue ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" ac_sep=" " ;; esac # Get rid of the leading space. d1236 2 d1248 1 d1271 29 d1307 1 a1307 1 sed "/^$/d" confdefs.h d1464 1 d1764 2 a1765 2 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 d1772 1 a1772 1 @@echo 'ac_maketemp="${MAKE}"' d1803 1 a1803 1 VERSION=4.1 d1931 1 a1931 1 ac_config_headers="$ac_config_headers config.h" a1938 20 # echo " # **************************************************************************** # * * # * *** WARNING WARNING WARNING *** * # * * # * This is source code from the development branch of rpm-4.1. * # * * # * If you want the "production" rpm-4.0.4 code, then you should either use * # * an rpm-4.0.4 src.rpm, or, if using a CVS checkout, do the following: * # * * # * cvs -d :pserver:anonymous@@cvs.rpm.org:/cvs/devel login * # * (no password, just carriage return) * # * cvs -d :pserver:anonymous@@cvs.rpm.org:/cvs/devel get rpm * # * cd rpm * # * cvs up -r rpm-4_0 * # * * # **************************************************************************** # # " # sleep 10 d2144 1 a2144 3 set dummy "$as_dir/$ac_word" ${1+"$@@"} shift ac_cv_prog_CC="$@@" d2249 4 a2252 2 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} d2277 5 a2281 1 #include "confdefs.h" a2282 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d2292 1 a2292 1 ac_clean_files="$ac_clean_files a.out a.exe" d2311 4 a2314 3 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; ls a.out conftest 2>/dev/null; ls a.* conftest.* 2>/dev/null`; do d2316 18 a2333 9 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; a.out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool --akim. export ac_cv_exeext break;; * ) break;; d2338 6 a2343 3 cat conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 echo "$as_me: error: C compiler cannot create executables" >&2;} d2370 2 a2371 1 If you meant to cross compile, use \`--host'." >&5 d2373 2 a2374 1 If you meant to cross compile, use \`--host'." >&2;} d2382 1 a2382 1 rm -f a.out a.exe conftest$ac_cv_exeext d2402 2 a2403 1 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do d2405 1 a2405 1 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; d2413 4 a2416 2 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} d2434 5 a2438 1 #include "confdefs.h" a2439 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d2456 1 a2456 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; d2463 6 a2468 3 cat conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} d2485 5 a2489 1 #include "confdefs.h" a2490 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d2517 2 a2518 1 cat conftest.$ac_ext >&5 d2538 5 a2542 1 #include "confdefs.h" a2543 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d2567 2 a2568 1 cat conftest.$ac_ext >&5 d2590 96 d2718 5 a2722 1 #include "confdefs.h" a2724 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d2748 2 a2749 1 cat conftest.$ac_ext >&5 d2755 5 a2759 1 #include "confdefs.h" a2760 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d2784 2 a2785 1 cat conftest.$ac_ext >&5 d2798 2 a2799 1 cat conftest.$ac_ext >&5 d2818 1 a2818 1 ac_config_commands="$ac_config_commands depfiles" d2974 2 d2980 10 a2989 2 #include "confdefs.h" #include d2995 1 a2995 1 egrep -v '^ *\+' conftest.er1 >conftest.err d3012 2 a3013 1 cat conftest.$ac_ext >&5 d3023 5 a3027 1 #include "confdefs.h" d3033 1 a3033 1 egrep -v '^ *\+' conftest.er1 >conftest.err d3051 2 a3052 1 cat conftest.$ac_ext >&5 d3081 2 d3087 10 a3096 2 #include "confdefs.h" #include d3102 1 a3102 1 egrep -v '^ *\+' conftest.er1 >conftest.err d3119 2 a3120 1 cat conftest.$ac_ext >&5 d3130 5 a3134 1 #include "confdefs.h" d3140 1 a3140 1 egrep -v '^ *\+' conftest.er1 >conftest.err d3158 2 a3159 1 cat conftest.$ac_ext >&5 d3172 4 a3175 2 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} d3186 15 d3206 5 a3210 1 #include "confdefs.h" d3217 1 a3217 1 egrep "yes" >/dev/null 2>&1; then d3238 5 a3242 1 #include "confdefs.h" d3248 7 d3256 9 a3264 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 a3265 3 egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 d3267 1 a3267 10 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d3271 3 a3273 2 cat conftest.$ac_ext >&5 ac_cv_header_stdc=no d3275 1 a3275 1 rm -f conftest.err conftest.$ac_ext d3281 5 a3285 1 #include "confdefs.h" d3290 1 a3290 1 egrep "memchr" >/dev/null 2>&1; then d3303 5 a3307 1 #include "confdefs.h" d3312 1 a3312 1 egrep "free" >/dev/null 2>&1; then d3328 5 a3332 1 #include "confdefs.h" d3338 2 a3339 1 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ d3372 2 a3373 1 cat conftest.$ac_ext >&5 d3377 1 a3377 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d3412 5 a3416 1 #include "confdefs.h" d3436 2 a3437 1 cat conftest.$ac_ext >&5 d3468 5 a3472 1 #include "confdefs.h" d3491 2 a3492 1 cat conftest.$ac_ext >&5 d3504 5 a3508 1 #include "confdefs.h" d3514 1 a3514 1 egrep -v '^ *\+' conftest.er1 >conftest.err d3531 2 a3532 1 cat conftest.$ac_ext >&5 d3545 10 a3554 1 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};; d3561 10 a3570 1 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};; d3728 5 a3732 1 #include "confdefs.h" a3733 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d3760 2 a3761 1 cat conftest.$ac_ext >&5 d3781 5 a3785 1 #include "confdefs.h" a3786 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d3810 2 a3811 1 cat conftest.$ac_ext >&5 d3844 5 a3848 1 #include "confdefs.h" a3850 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d3874 2 a3875 1 cat conftest.$ac_ext >&5 d3881 5 a3885 1 #include "confdefs.h" a3886 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d3910 2 a3911 1 cat conftest.$ac_ext >&5 d4027 2 d4033 10 a4042 2 #include "confdefs.h" #include d4048 1 a4048 1 egrep -v '^ *\+' conftest.er1 >conftest.err d4065 2 a4066 1 cat conftest.$ac_ext >&5 d4076 5 a4080 1 #include "confdefs.h" d4086 1 a4086 1 egrep -v '^ *\+' conftest.er1 >conftest.err d4104 2 a4105 1 cat conftest.$ac_ext >&5 d4134 2 d4140 10 a4149 2 #include "confdefs.h" #include d4155 1 a4155 1 egrep -v '^ *\+' conftest.er1 >conftest.err d4172 2 a4173 1 cat conftest.$ac_ext >&5 d4183 5 a4187 1 #include "confdefs.h" d4193 1 a4193 1 egrep -v '^ *\+' conftest.er1 >conftest.err d4211 2 a4212 1 cat conftest.$ac_ext >&5 d4225 4 a4228 2 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} d4245 333 a4577 9 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" #include Autoconf TIOCGETP _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "$ac_pattern" >/dev/null 2>&1; then ac_cv_prog_gcc_traditional=yes d4579 7 a4585 1 ac_cv_prog_gcc_traditional=no d4587 3 a4589 1 rm -f conftest* d4591 3 a4594 10 if test $ac_cv_prog_gcc_traditional = no; then cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" #include Autoconf TCGETA _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "$ac_pattern" >/dev/null 2>&1; then ac_cv_prog_gcc_traditional=yes a4596 8 fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi d4610 5 a4614 1 #include "confdefs.h" d4642 2 a4643 1 cat conftest.$ac_ext >&5 d4647 1 a4647 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d4802 7 d4919 5 a4923 1 #include "confdefs.h" a4931 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d4955 2 a4956 1 cat conftest.$ac_ext >&5 d4993 5 a4997 1 #include "confdefs.h" a5026 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d5052 2 a5053 1 cat conftest.$ac_ext >&5 d5099 5 a5103 1 #include "confdefs.h" d5109 7 d5117 9 a5125 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 a5126 3 egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 d5128 1 a5128 10 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d5132 3 a5134 2 cat conftest.$ac_ext >&5 ac_cv_header_stdc=no d5136 1 a5136 1 rm -f conftest.err conftest.$ac_ext d5142 5 a5146 1 #include "confdefs.h" d5151 1 a5151 1 egrep "memchr" >/dev/null 2>&1; then d5164 5 a5168 1 #include "confdefs.h" d5173 1 a5173 1 egrep "free" >/dev/null 2>&1; then d5189 5 a5193 1 #include "confdefs.h" d5199 2 a5200 1 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ d5233 2 a5234 1 cat conftest.$ac_ext >&5 d5238 1 a5238 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d5270 5 a5274 1 #include "confdefs.h" d5293 2 a5294 1 cat conftest.$ac_ext >&5 d5306 5 a5310 1 #include "confdefs.h" d5316 1 a5316 1 egrep -v '^ *\+' conftest.er1 >conftest.err d5333 2 a5334 1 cat conftest.$ac_ext >&5 d5347 10 a5356 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d5363 10 a5372 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d5447 2 a5448 2 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 d5455 1 a5455 1 @@echo 'ac_maketemp="${MAKE}"' d5705 87 a5791 2 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 d5868 1 a5868 1 irix5* | irix6*) d5870 1 a5870 1 irix5*) d5892 1 a5892 1 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* ) d5963 3 d6019 1 a6019 1 irix*) d6022 3 d6133 1 a6133 1 (exit $ac_status); } && test -s conftest; then d6198 5 a6202 1 #include "confdefs.h" d6221 2 a6222 1 cat conftest.$ac_ext >&5 d6234 5 a6238 1 #include "confdefs.h" d6244 1 a6244 1 egrep -v '^ *\+' conftest.er1 >conftest.err d6261 2 a6262 1 cat conftest.$ac_ext >&5 d6275 10 a6284 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d6291 10 a6300 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d6326 1 d6642 1 a6642 1 echo '#line 5843 "configure"' > conftest.$ac_ext d6682 5 a6686 1 #include "confdefs.h" a6687 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d6711 2 a6712 1 cat conftest.$ac_ext >&5 d6884 1 a6884 1 beos* | irix5* | irix6* | osf3* | osf4* | osf5*) d6927 1 a6927 1 irix5* | irix6*) d6971 1 a6971 5 if test "x$host_vendor" = xsni; then lt_cv_prog_cc_wl='-LD' else lt_cv_prog_cc_wl='-Wl,' fi d7011 5 a7015 1 #include "confdefs.h" a7016 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d7055 2 a7056 1 cat conftest.$ac_ext >&5 d7099 5 a7103 1 #include "confdefs.h" a7104 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d7128 2 a7129 1 cat conftest.$ac_ext >&5 d7171 1 a7171 1 if { (eval echo configure:6379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then d7213 5 a7217 1 #include "confdefs.h" a7218 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d7249 2 a7250 1 cat conftest.$ac_ext >&5 d7298 5 a7302 1 #include "confdefs.h" a7303 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d7334 2 a7335 1 cat conftest.$ac_ext >&5 d7507 1 a7507 1 archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then d7516 1 d7629 2 a7630 1 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then d7633 2 a7634 1 fi d7748 3 a7750 2 # yet detect zsh echo's removal of \ escapes. archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' d7802 1 a7802 1 irix5* | irix6*) d7805 1 d7808 1 a7809 1 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' d7837 1 a7837 1 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' d7847 1 a7847 1 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' d7959 17 a7975 7 if test "x$host_vendor" = xsno; then archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? else archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie fi d8123 3 d8164 1 d8212 1 a8212 1 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` d8295 5 a8299 2 irix5* | irix6*) version_type=irix d8305 1 a8305 1 irix5*) d8350 24 d8433 2 a8434 2 soname_spec='${libname}${release}.so' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' d8438 1 d8481 6 d8609 5 a8613 1 #include "confdefs.h" d8615 8 a8622 2 which can conflict with char shl_load (); below. */ #include d8626 1 a8630 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d8637 4 a8640 1 f = shl_load; d8643 4 d8666 2 a8667 1 cat conftest.$ac_ext >&5 d8686 5 a8690 1 #include "confdefs.h" a8698 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d8722 2 a8723 1 cat conftest.$ac_ext >&5 d8741 5 a8745 1 #include "confdefs.h" d8747 8 a8754 2 which can conflict with char dlopen (); below. */ #include d8758 1 a8762 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d8769 4 a8772 1 f = dlopen; d8775 4 d8798 2 a8799 1 cat conftest.$ac_ext >&5 d8818 5 a8822 1 #include "confdefs.h" a8830 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d8854 2 a8855 1 cat conftest.$ac_ext >&5 d8875 5 a8879 1 #include "confdefs.h" a8887 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d8911 2 a8912 1 cat conftest.$ac_ext >&5 d8932 5 a8936 1 #include "confdefs.h" a8944 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d8968 2 a8969 1 cat conftest.$ac_ext >&5 d9027 1 a9027 1 #line 8172 "configure" d9125 1 a9125 1 #line 8270 "configure" d9308 1 a9308 1 for var in echo old_CC old_CFLAGS \ d9370 3 d9374 1 a9374 1 Xsed="sed -e s/^X//" d11301 1 a11301 1 WITH_LIBELF_SUBDIR= d11304 135 a11438 5 WITH_LIBELF_ARCHIVE= if test "${ac_cv_header_libelf_gelf_h+set}" = set; then echo "$as_me:$LINENO: checking for libelf/gelf.h" >&5 echo $ECHO_N "checking for libelf/gelf.h... $ECHO_C" >&6 if test "${ac_cv_header_libelf_gelf_h+set}" = set; then d11441 2 a11442 2 echo "$as_me:$LINENO: result: $ac_cv_header_libelf_gelf_h" >&5 echo "${ECHO_T}$ac_cv_header_libelf_gelf_h" >&6 d11445 2 a11446 2 echo "$as_me:$LINENO: checking libelf/gelf.h usability" >&5 echo $ECHO_N "checking libelf/gelf.h usability... $ECHO_C" >&6 d11449 5 a11453 1 #include "confdefs.h" d11455 1 a11455 1 #include d11472 2 a11473 1 cat conftest.$ac_ext >&5 d11481 2 a11482 2 echo "$as_me:$LINENO: checking libelf/gelf.h presence" >&5 echo $ECHO_N "checking libelf/gelf.h presence... $ECHO_C" >&6 d11485 6 a11490 2 #include "confdefs.h" #include d11495 1 a11495 1 egrep -v '^ *\+' conftest.er1 >conftest.err d11512 2 a11513 1 cat conftest.$ac_ext >&5 d11523 13 a11535 4 { echo "$as_me:$LINENO: WARNING: libelf/gelf.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: libelf/gelf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: libelf/gelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libelf/gelf.h: proceeding with the preprocessor's result" >&2;};; d11537 15 a11551 6 { echo "$as_me:$LINENO: WARNING: libelf/gelf.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: libelf/gelf.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: libelf/gelf.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: libelf/gelf.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: libelf/gelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libelf/gelf.h: proceeding with the preprocessor's result" >&2;};; d11553 3 a11555 3 echo "$as_me:$LINENO: checking for libelf/gelf.h" >&5 echo $ECHO_N "checking for libelf/gelf.h... $ECHO_C" >&6 if test "${ac_cv_header_libelf_gelf_h+set}" = set; then d11558 1 a11558 1 ac_cv_header_libelf_gelf_h=$ac_header_preproc d11560 2 a11561 2 echo "$as_me:$LINENO: result: $ac_cv_header_libelf_gelf_h" >&5 echo "${ECHO_T}$ac_cv_header_libelf_gelf_h" >&6 d11564 1 a11564 1 if test $ac_cv_header_libelf_gelf_h = yes; then d11568 1 a11568 1 #define HAVE_LIBELF_GELF_H 1 d11571 3 a11573 4 WITH_LIBELF_INCLUDE="-I/usr/include/libelf" echo "$as_me:$LINENO: checking for gelf_getdyn" >&5 echo $ECHO_N "checking for gelf_getdyn... $ECHO_C" >&6 if test "${ac_cv_func_gelf_getdyn+set}" = set; then d11576 3 a11578 1 cat >conftest.$ac_ext <<_ACEOF d11580 6 a11585 4 #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gelf_getdyn (); below. */ #include d11592 1 a11592 9 char gelf_getdyn (); char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d11596 1 a11596 9 /* 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_gelf_getdyn) || defined (__stub___gelf_getdyn) choke me #else f = gelf_getdyn; #endif d11613 1 a11613 1 ac_cv_func_gelf_getdyn=yes d11616 3 a11618 2 cat conftest.$ac_ext >&5 ac_cv_func_gelf_getdyn=no d11621 1 d11623 14 a11636 4 echo "$as_me:$LINENO: result: $ac_cv_func_gelf_getdyn" >&5 echo "${ECHO_T}$ac_cv_func_gelf_getdyn" >&6 if test $ac_cv_func_gelf_getdyn = yes; then : d11639 28 a11666 3 echo "$as_me:$LINENO: checking for gelf_getdyn in -lelf" >&5 echo $ECHO_N "checking for gelf_getdyn in -lelf... $ECHO_C" >&6 if test "${ac_cv_lib_elf_gelf_getdyn+set}" = set; then d11668 3 d11672 3 a11674 2 ac_check_lib_save_LIBS=$LIBS LIBS="-lelf $LIBS" d11677 7 a11683 22 #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gelf_getdyn (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { gelf_getdyn (); ; return 0; } d11685 3 a11687 3 rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 d11691 1 a11691 1 { ac_try='test -s conftest$ac_exeext' d11697 88 a11784 1 ac_cv_lib_elf_gelf_getdyn=yes d11786 1 a11786 6 echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_lib_elf_gelf_getdyn=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS d11788 2 a11789 8 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_gelf_getdyn" >&5 echo "${ECHO_T}$ac_cv_lib_elf_gelf_getdyn" >&6 if test $ac_cv_lib_elf_gelf_getdyn = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBELF 1 _ACEOF LIBS="-lelf $LIBS" d11792 1 d11795 3 a11797 1 fi a11798 1 WITH_LIBELF_LIB="-lelf" d11802 1 a11802 6 if test -d libelf ; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBELF_GELF_H 1 _ACEOF d11805 1 a11805 1 #define HAVE_LIBELF 1 d11808 1 a11808 4 WITH_LIBELF_SUBDIR=libelf WITH_LIBELF_INCLUDE="-I\${top_srcdir}/${WITH_LIBELF_SUBDIR}/lib" WITH_LIBELF_LIB="\${top_builddir}/${WITH_LIBELF_SUBDIR}/lib/libelf.la" WITH_LIBELF_ARCHIVE="\${top_builddir}/${WITH_LIBELF_SUBDIR}/lib/.libs/libelf.a" a11815 3 d11823 5 a11827 1 #include "confdefs.h" d11829 8 a11836 2 which can conflict with char setreuid (); below. */ #include d11840 1 a11844 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d11851 4 a11854 1 f = setreuid; d11857 4 d11880 2 a11881 1 cat conftest.$ac_ext >&5 d11901 5 a11905 1 #include "confdefs.h" a11913 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d11937 2 a11938 1 cat conftest.$ac_ext >&5 d11961 5 a11965 1 #include "confdefs.h" d11967 8 a11974 2 which can conflict with char rand (); below. */ #include d11978 1 a11982 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d11989 4 a11992 1 f = rand; d11995 4 d12018 2 a12019 1 cat conftest.$ac_ext >&5 d12040 5 a12044 1 #include "confdefs.h" a12052 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12076 2 a12077 1 cat conftest.$ac_ext >&5 d12105 5 a12109 1 #include "confdefs.h" d12111 8 a12118 2 which can conflict with char getdomainname (); below. */ #include d12122 1 a12126 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d12133 4 a12136 1 f = getdomainname; d12139 4 d12162 2 a12163 1 cat conftest.$ac_ext >&5 d12184 5 a12188 1 #include "confdefs.h" a12196 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12220 2 a12221 1 cat conftest.$ac_ext >&5 d12248 5 a12252 1 #include "confdefs.h" d12254 8 a12261 2 which can conflict with char socket (); below. */ #include d12265 1 a12269 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d12276 4 a12279 1 f = socket; d12282 4 d12305 2 a12306 1 cat conftest.$ac_ext >&5 d12327 5 a12331 1 #include "confdefs.h" a12339 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12363 2 a12364 1 cat conftest.$ac_ext >&5 d12406 5 a12410 1 #include "confdefs.h" d12429 2 a12430 1 cat conftest.$ac_ext >&5 d12442 5 a12446 1 #include "confdefs.h" d12452 1 a12452 1 egrep -v '^ *\+' conftest.er1 >conftest.err d12469 2 a12470 1 cat conftest.$ac_ext >&5 d12483 10 a12492 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d12499 10 a12508 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d12541 5 a12545 1 #include "confdefs.h" a12553 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12577 2 a12578 1 cat conftest.$ac_ext >&5 d12605 5 a12609 1 #include "confdefs.h" a12617 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12641 2 a12642 1 cat conftest.$ac_ext >&5 d12669 5 a12673 1 #include "confdefs.h" a12681 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12705 2 a12706 1 cat conftest.$ac_ext >&5 d12748 5 a12752 1 #include "confdefs.h" d12771 2 a12772 1 cat conftest.$ac_ext >&5 d12784 5 a12788 1 #include "confdefs.h" d12794 1 a12794 1 egrep -v '^ *\+' conftest.er1 >conftest.err d12811 2 a12812 1 cat conftest.$ac_ext >&5 d12825 10 a12834 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d12841 10 a12850 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d12881 5 a12885 1 #include "confdefs.h" a12893 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12917 2 a12918 1 cat conftest.$ac_ext >&5 d12926 5 a12930 1 #include "confdefs.h" a12938 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12963 2 a12964 1 cat conftest.$ac_ext >&5 d12986 5 a12990 1 #include "confdefs.h" d12992 8 a12999 2 which can conflict with char fchmod (); below. */ #include d13003 1 a13007 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d13014 4 a13017 1 f = fchmod; d13020 4 d13043 2 a13044 1 cat conftest.$ac_ext >&5 d13065 5 a13069 1 #include "confdefs.h" d13071 8 a13078 2 which can conflict with char $ac_func (); below. */ #include d13082 1 a13086 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d13093 4 a13096 1 f = $ac_func; d13099 4 d13122 2 a13123 1 cat conftest.$ac_ext >&5 d13149 5 a13153 1 #include "confdefs.h" a13161 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13185 2 a13186 1 cat conftest.$ac_ext >&5 d13238 5 a13242 1 #include "confdefs.h" d13261 2 a13262 1 cat conftest.$ac_ext >&5 d13274 5 a13278 1 #include "confdefs.h" d13284 1 a13284 1 egrep -v '^ *\+' conftest.er1 >conftest.err d13301 2 a13302 1 cat conftest.$ac_ext >&5 d13315 10 a13324 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d13331 10 a13340 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d13370 5 a13374 1 #include "confdefs.h" d13376 8 a13383 2 which can conflict with char db_create (); below. */ #include d13387 1 a13391 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d13398 4 a13401 1 f = db_create; d13404 4 d13427 2 a13428 1 cat conftest.$ac_ext >&5 d13447 5 a13451 1 #include "confdefs.h" a13459 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13483 2 a13484 1 cat conftest.$ac_ext >&5 d13504 5 a13508 1 #include "confdefs.h" a13516 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13540 2 a13541 1 cat conftest.$ac_ext >&5 d13561 5 a13565 1 #include "confdefs.h" a13573 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13597 2 a13598 1 cat conftest.$ac_ext >&5 d13618 5 a13622 1 #include "confdefs.h" a13630 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13654 2 a13655 1 cat conftest.$ac_ext >&5 d13693 5 a13697 1 #include "confdefs.h" a13705 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13730 2 a13731 1 cat conftest.$ac_ext >&5 d13797 5 a13801 1 #include "confdefs.h" a13809 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13833 2 a13834 1 cat conftest.$ac_ext >&5 d13865 5 a13869 1 #include "confdefs.h" a13877 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13901 2 a13902 1 cat conftest.$ac_ext >&5 d13929 5 a13933 1 #include "confdefs.h" a13941 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13965 2 a13966 1 cat conftest.$ac_ext >&5 d13986 5 a13990 1 #include "confdefs.h" a13998 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d14022 2 a14023 1 cat conftest.$ac_ext >&5 d14239 1 a14239 1 ac_config_commands="$ac_config_commands default-1" a14321 97 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac d14329 5 a14333 1 #include "confdefs.h" a14334 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d14404 2 a14405 1 cat conftest.$ac_ext >&5 d14429 5 a14433 1 #include "confdefs.h" d14435 3 a14437 2 static $ac_kw int static_foo () {return 0; } $ac_kw int foo () {return 0; } d14456 2 a14457 1 cat conftest.$ac_ext >&5 d14485 5 a14489 1 #include "confdefs.h" a14490 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d14517 2 a14518 1 cat conftest.$ac_ext >&5 d14542 5 a14546 1 #include "confdefs.h" a14547 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d14574 2 a14575 1 cat conftest.$ac_ext >&5 d14601 5 a14605 1 #include "confdefs.h" a14606 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d14630 2 a14631 1 cat conftest.$ac_ext >&5 d14653 5 a14657 1 #include "confdefs.h" a14678 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d14702 2 a14703 1 cat conftest.$ac_ext >&5 d14737 5 a14741 1 #include "confdefs.h" d14750 1 a14750 1 egrep "webecray" >/dev/null 2>&1; then d14770 5 a14774 1 #include "confdefs.h" d14776 8 a14783 2 which can conflict with char $ac_func (); below. */ #include d14787 1 a14791 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d14798 4 a14801 1 f = $ac_func; d14804 4 d14827 2 a14828 1 cat conftest.$ac_ext >&5 d14857 5 a14861 1 #include "confdefs.h" d14897 2 a14898 1 cat conftest.$ac_ext >&5 d14902 1 a14902 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d14934 5 a14938 1 #include "confdefs.h" d14957 2 a14958 1 cat conftest.$ac_ext >&5 d14970 5 a14974 1 #include "confdefs.h" d14980 1 a14980 1 egrep -v '^ *\+' conftest.er1 >conftest.err d14997 2 a14998 1 cat conftest.$ac_ext >&5 d15011 10 a15020 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d15027 10 a15036 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d15069 5 a15073 1 #include "confdefs.h" d15075 8 a15082 2 which can conflict with char $ac_func (); below. */ #include d15086 1 a15090 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d15097 4 a15100 1 f = $ac_func; d15103 4 d15126 2 a15127 1 cat conftest.$ac_ext >&5 d15152 5 a15156 1 #include "confdefs.h" d15299 2 a15300 1 cat conftest.$ac_ext >&5 d15304 1 a15304 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d15326 5 a15330 1 #include "confdefs.h" d15341 1 a15341 1 egrep "Lucky GNU user" >/dev/null 2>&1; then d15378 5 a15382 1 #include "confdefs.h" d15436 2 a15437 1 cat conftest.$ac_ext >&5 d15441 1 a15441 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d15465 5 a15469 1 #include "confdefs.h" a15471 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d15495 2 a15496 1 cat conftest.$ac_ext >&5 d15519 5 a15523 1 #include "confdefs.h" a15525 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d15549 2 a15550 1 cat conftest.$ac_ext >&5 d15573 5 a15577 1 #include "confdefs.h" a15578 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d15603 2 a15604 1 cat conftest.$ac_ext >&5 d15643 5 a15647 1 #include "confdefs.h" a15649 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d15673 2 a15674 1 cat conftest.$ac_ext >&5 d15701 5 a15705 1 #include "confdefs.h" a15710 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d15734 2 a15735 1 cat conftest.$ac_ext >&5 d16314 5 a16318 1 #include "confdefs.h" d16337 2 a16338 1 cat conftest.$ac_ext >&5 d16350 5 a16354 1 #include "confdefs.h" d16360 1 a16360 1 egrep -v '^ *\+' conftest.er1 >conftest.err d16377 2 a16378 1 cat conftest.$ac_ext >&5 d16391 10 a16400 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d16407 10 a16416 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d16471 5 a16475 1 #include "confdefs.h" d16477 8 a16484 2 which can conflict with char $ac_func (); below. */ #include d16488 1 a16492 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d16499 4 a16502 1 f = $ac_func; d16505 4 d16528 2 a16529 1 cat conftest.$ac_ext >&5 d16585 5 a16589 1 #include "confdefs.h" a16591 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d16617 2 a16618 1 cat conftest.$ac_ext >&5 d16626 5 a16630 1 #include "confdefs.h" a16632 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d16659 2 a16660 1 cat conftest.$ac_ext >&5 d16698 5 a16702 1 #include "confdefs.h" a16715 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d16739 2 a16740 1 cat conftest.$ac_ext >&5 d16767 5 a16771 1 #include "confdefs.h" a16772 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d16796 2 a16797 1 cat conftest.$ac_ext >&5 d16822 5 a16826 1 #include "confdefs.h" a16827 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d16851 2 a16852 1 cat conftest.$ac_ext >&5 d16994 5 a16998 1 #include "confdefs.h" a17001 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d17026 2 a17027 1 cat conftest.$ac_ext >&5 d17426 5 a17430 1 #include "confdefs.h" a17437 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d17462 2 a17463 1 cat conftest.$ac_ext >&5 d17471 5 a17475 1 #include "confdefs.h" a17482 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d17510 2 a17511 1 cat conftest.$ac_ext >&5 d17657 5 a17661 1 #include "confdefs.h" d17667 7 d17675 9 a17683 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 a17684 3 egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 d17686 1 a17686 10 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d17690 3 a17692 2 cat conftest.$ac_ext >&5 ac_cv_header_stdc=no d17694 1 a17694 1 rm -f conftest.err conftest.$ac_ext d17700 5 a17704 1 #include "confdefs.h" d17709 1 a17709 1 egrep "memchr" >/dev/null 2>&1; then d17722 5 a17726 1 #include "confdefs.h" d17731 1 a17731 1 egrep "free" >/dev/null 2>&1; then d17747 5 a17751 1 #include "confdefs.h" d17757 2 a17758 1 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ d17791 2 a17792 1 cat conftest.$ac_ext >&5 d17796 1 a17796 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d17817 5 a17821 1 #include "confdefs.h" a17822 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d17846 2 a17847 1 cat conftest.$ac_ext >&5 d17871 5 a17875 1 #include "confdefs.h" d17894 2 a17895 1 cat conftest.$ac_ext >&5 d17907 5 a17911 1 #include "confdefs.h" d17917 1 a17917 1 egrep -v '^ *\+' conftest.er1 >conftest.err d17934 2 a17935 1 cat conftest.$ac_ext >&5 d17948 10 a17957 1 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;};; d17964 10 a17973 1 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;};; d18011 5 a18015 1 #include "confdefs.h" d18034 2 a18035 1 cat conftest.$ac_ext >&5 d18047 5 a18051 1 #include "confdefs.h" d18057 1 a18057 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18074 2 a18075 1 cat conftest.$ac_ext >&5 d18088 10 a18097 1 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;};; d18104 10 a18113 1 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;};; d18153 5 a18157 1 #include "confdefs.h" a18160 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d18185 2 a18186 1 cat conftest.$ac_ext >&5 d18213 5 a18217 1 #include "confdefs.h" a18225 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d18249 2 a18250 1 cat conftest.$ac_ext >&5 d18258 5 a18262 1 #include "confdefs.h" a18270 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d18295 2 a18296 1 cat conftest.$ac_ext >&5 d18320 5 a18324 1 #include "confdefs.h" a18332 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d18356 2 a18357 1 cat conftest.$ac_ext >&5 d18365 5 a18369 1 #include "confdefs.h" a18377 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d18402 2 a18403 1 cat conftest.$ac_ext >&5 d18426 5 a18430 1 #include "confdefs.h" a18434 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d18459 2 a18460 1 cat conftest.$ac_ext >&5 d18500 5 a18504 1 #include "confdefs.h" d18523 2 a18524 1 cat conftest.$ac_ext >&5 d18536 5 a18540 1 #include "confdefs.h" d18546 1 a18546 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18563 2 a18564 1 cat conftest.$ac_ext >&5 d18577 10 a18586 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18593 10 a18602 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18645 5 a18649 1 #include "confdefs.h" d18668 2 a18669 1 cat conftest.$ac_ext >&5 d18681 5 a18685 1 #include "confdefs.h" d18691 1 a18691 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18708 2 a18709 1 cat conftest.$ac_ext >&5 d18722 10 a18731 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18738 10 a18747 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18788 5 a18792 1 #include "confdefs.h" d18811 2 a18812 1 cat conftest.$ac_ext >&5 d18824 5 a18828 1 #include "confdefs.h" d18834 1 a18834 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18851 2 a18852 1 cat conftest.$ac_ext >&5 d18865 10 a18874 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18881 10 a18890 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18933 5 a18937 1 #include "confdefs.h" d18956 2 a18957 1 cat conftest.$ac_ext >&5 d18969 5 a18973 1 #include "confdefs.h" d18979 1 a18979 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18996 2 a18997 1 cat conftest.$ac_ext >&5 d19010 10 a19019 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19026 10 a19035 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19076 5 a19080 1 #include "confdefs.h" d19099 2 a19100 1 cat conftest.$ac_ext >&5 d19112 5 a19116 1 #include "confdefs.h" d19122 1 a19122 1 egrep -v '^ *\+' conftest.er1 >conftest.err d19139 2 a19140 1 cat conftest.$ac_ext >&5 d19153 10 a19162 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19169 10 a19178 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19218 5 a19222 1 #include "confdefs.h" d19241 2 a19242 1 cat conftest.$ac_ext >&5 d19254 5 a19258 1 #include "confdefs.h" d19264 1 a19264 1 egrep -v '^ *\+' conftest.er1 >conftest.err d19281 2 a19282 1 cat conftest.$ac_ext >&5 d19295 10 a19304 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19311 10 a19320 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19362 5 a19366 1 #include "confdefs.h" d19385 2 a19386 1 cat conftest.$ac_ext >&5 d19398 5 a19402 1 #include "confdefs.h" d19408 1 a19408 1 egrep -v '^ *\+' conftest.er1 >conftest.err d19425 2 a19426 1 cat conftest.$ac_ext >&5 d19439 10 a19448 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19455 10 a19464 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19507 5 a19511 1 #include "confdefs.h" d19530 2 a19531 1 cat conftest.$ac_ext >&5 d19543 5 a19547 1 #include "confdefs.h" d19553 1 a19553 1 egrep -v '^ *\+' conftest.er1 >conftest.err d19570 2 a19571 1 cat conftest.$ac_ext >&5 d19584 10 a19593 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19600 10 a19609 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19651 5 a19655 1 #include "confdefs.h" d19674 2 a19675 1 cat conftest.$ac_ext >&5 d19687 5 a19691 1 #include "confdefs.h" d19697 1 a19697 1 egrep -v '^ *\+' conftest.er1 >conftest.err d19714 2 a19715 1 cat conftest.$ac_ext >&5 d19728 10 a19737 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19744 10 a19753 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19794 5 a19798 1 #include "confdefs.h" d19817 2 a19818 1 cat conftest.$ac_ext >&5 d19830 5 a19834 1 #include "confdefs.h" d19840 1 a19840 1 egrep -v '^ *\+' conftest.er1 >conftest.err d19857 2 a19858 1 cat conftest.$ac_ext >&5 d19871 10 a19880 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19887 10 a19896 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19936 5 a19940 1 #include "confdefs.h" d19959 2 a19960 1 cat conftest.$ac_ext >&5 d19972 5 a19976 1 #include "confdefs.h" d19982 1 a19982 1 egrep -v '^ *\+' conftest.er1 >conftest.err d19999 2 a20000 1 cat conftest.$ac_ext >&5 d20013 10 a20022 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d20029 10 a20038 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d20079 5 a20083 1 #include "confdefs.h" d20102 2 a20103 1 cat conftest.$ac_ext >&5 d20115 5 a20119 1 #include "confdefs.h" d20125 1 a20125 1 egrep -v '^ *\+' conftest.er1 >conftest.err d20142 2 a20143 1 cat conftest.$ac_ext >&5 d20156 10 a20165 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d20172 10 a20181 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d20222 5 a20226 1 #include "confdefs.h" d20245 2 a20246 1 cat conftest.$ac_ext >&5 d20258 5 a20262 1 #include "confdefs.h" d20268 1 a20268 1 egrep -v '^ *\+' conftest.er1 >conftest.err d20285 2 a20286 1 cat conftest.$ac_ext >&5 d20299 10 a20308 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d20315 10 a20324 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d20354 5 a20358 1 #include "confdefs.h" a20363 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20394 2 a20395 1 cat conftest.$ac_ext >&5 d20403 5 a20407 1 #include "confdefs.h" a20412 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20443 2 a20444 1 cat conftest.$ac_ext >&5 d20452 5 a20456 1 #include "confdefs.h" a20464 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20495 2 a20496 1 cat conftest.$ac_ext >&5 d20504 5 a20508 1 #include "confdefs.h" a20513 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20544 2 a20545 1 cat conftest.$ac_ext >&5 d20560 5 a20564 1 #include "confdefs.h" a20581 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20612 2 a20613 1 cat conftest.$ac_ext >&5 d20631 5 a20635 1 #include "confdefs.h" d20674 2 a20675 1 cat conftest.$ac_ext >&5 d20680 1 a20680 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d20693 5 a20697 1 #include "confdefs.h" d20699 3 a20701 2 static $ac_kw int static_foo () {return 0; } $ac_kw int foo () {return 0; } d20720 2 a20721 1 cat conftest.$ac_ext >&5 d20748 5 a20752 1 #include "confdefs.h" a20753 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20777 2 a20778 1 cat conftest.$ac_ext >&5 d20795 5 a20799 1 #include "confdefs.h" a20800 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20824 2 a20825 1 cat conftest.$ac_ext >&5 d20843 5 a20847 1 #include "confdefs.h" a20848 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20872 2 a20873 1 cat conftest.$ac_ext >&5 d20891 5 a20895 1 #include "confdefs.h" a20896 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20920 2 a20921 1 cat conftest.$ac_ext >&5 d20939 5 a20943 1 #include "confdefs.h" a20944 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20968 2 a20969 1 cat conftest.$ac_ext >&5 d20983 5 a20987 1 #include "confdefs.h" a20988 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d21015 2 a21016 1 cat conftest.$ac_ext >&5 d21040 5 a21044 1 #include "confdefs.h" a21045 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d21072 2 a21073 1 cat conftest.$ac_ext >&5 d21100 5 a21104 1 #include "confdefs.h" a21105 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d21129 2 a21130 1 cat conftest.$ac_ext >&5 d21152 5 a21156 1 #include "confdefs.h" a21177 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d21201 2 a21202 1 cat conftest.$ac_ext >&5 d21236 5 a21240 1 #include "confdefs.h" d21249 1 a21249 1 egrep "webecray" >/dev/null 2>&1; then d21269 5 a21273 1 #include "confdefs.h" d21275 8 a21282 2 which can conflict with char $ac_func (); below. */ #include d21286 1 a21290 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21297 4 a21300 1 f = $ac_func; d21303 4 d21326 2 a21327 1 cat conftest.$ac_ext >&5 d21356 5 a21360 1 #include "confdefs.h" d21396 2 a21397 1 cat conftest.$ac_ext >&5 d21401 1 a21401 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d21425 5 a21429 1 #include "confdefs.h" d21431 8 a21438 2 which can conflict with char $ac_func (); below. */ #include d21442 1 a21446 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21453 4 a21456 1 f = $ac_func; d21459 4 d21482 2 a21483 1 cat conftest.$ac_ext >&5 d21502 5 a21506 1 #include "confdefs.h" d21508 8 a21515 2 which can conflict with char _doprnt (); below. */ #include d21519 1 a21523 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21530 4 a21533 1 f = _doprnt; d21536 4 d21559 2 a21560 1 cat conftest.$ac_ext >&5 d21599 5 a21603 1 #include "confdefs.h" d21605 8 a21612 2 which can conflict with char $ac_func (); below. */ #include d21616 1 a21620 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21627 4 a21630 1 f = $ac_func; d21633 4 d21656 2 a21657 1 cat conftest.$ac_ext >&5 d21685 5 a21689 1 #include "confdefs.h" d21691 8 a21698 2 which can conflict with char $ac_func (); below. */ #include d21702 1 a21706 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21713 4 a21716 1 f = $ac_func; d21719 4 d21742 2 a21743 1 cat conftest.$ac_ext >&5 d21774 5 a21778 1 #include "confdefs.h" d21780 8 a21787 2 which can conflict with char $ac_func (); below. */ #include d21791 1 a21795 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21802 4 a21805 1 f = $ac_func; d21808 4 d21831 2 a21832 1 cat conftest.$ac_ext >&5 d21859 5 a21863 1 #include "confdefs.h" d21865 8 a21872 2 which can conflict with char $ac_func (); below. */ #include d21876 1 a21880 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21887 4 a21890 1 f = $ac_func; d21893 4 d21916 2 a21917 1 cat conftest.$ac_ext >&5 d21944 5 a21948 1 #include "confdefs.h" d21950 8 a21957 2 which can conflict with char $ac_func (); below. */ #include d21961 1 a21965 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21972 4 a21975 1 f = $ac_func; d21978 4 d22001 2 a22002 1 cat conftest.$ac_ext >&5 d22036 5 a22040 1 #include "confdefs.h" d22042 8 a22049 2 which can conflict with char $ac_func (); below. */ #include d22053 1 a22057 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d22064 4 a22067 1 f = $ac_func; d22070 4 d22093 2 a22094 1 cat conftest.$ac_ext >&5 d22129 5 a22133 1 #include "confdefs.h" d22159 2 a22160 1 cat conftest.$ac_ext >&5 d22164 1 a22164 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d22204 5 a22208 1 #include "confdefs.h" d22230 2 a22231 1 cat conftest.$ac_ext >&5 d22235 1 a22235 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d22250 5 a22254 1 #include "confdefs.h" d22276 2 a22277 1 cat conftest.$ac_ext >&5 d22281 1 a22281 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d22411 5 a22415 1 #include "confdefs.h" d22417 8 a22424 2 which can conflict with char $ac_func (); below. */ #include d22428 1 a22432 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d22439 4 a22442 1 f = $ac_func; d22445 4 d22468 2 a22469 1 cat conftest.$ac_ext >&5 d22496 5 a22500 1 #include "confdefs.h" d22502 8 a22509 2 which can conflict with char $ac_func (); below. */ #include d22513 1 a22517 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d22524 4 a22527 1 f = $ac_func; d22530 4 d22553 2 a22554 1 cat conftest.$ac_ext >&5 d22577 5 a22581 1 #include "confdefs.h" d22583 8 a22590 2 which can conflict with char getmntent (); below. */ #include d22594 1 a22598 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d22605 4 a22608 1 f = getmntent; d22611 4 d22634 2 a22635 1 cat conftest.$ac_ext >&5 d22657 5 a22661 1 #include "confdefs.h" d22663 8 a22670 2 which can conflict with char mntctl (); below. */ #include d22674 1 a22678 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d22685 4 a22688 1 f = mntctl; d22691 4 d22714 2 a22715 1 cat conftest.$ac_ext >&5 d22737 5 a22741 1 #include "confdefs.h" d22743 8 a22750 2 which can conflict with char getmntinfo_r (); below. */ #include d22754 1 a22758 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d22765 4 a22768 1 f = getmntinfo_r; d22771 4 d22794 2 a22795 1 cat conftest.$ac_ext >&5 d22819 5 a22823 1 #include "confdefs.h" a22831 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d22855 2 a22856 1 cat conftest.$ac_ext >&5 d22895 5 a22899 1 #include "confdefs.h" d22901 8 a22908 2 which can conflict with char lchown (); below. */ #include d22912 1 a22916 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d22923 4 a22926 1 f = lchown; d22929 4 d22952 2 a22953 1 cat conftest.$ac_ext >&5 d23026 5 a23030 1 #include "confdefs.h" d23073 2 a23074 1 cat conftest.$ac_ext >&5 d23078 1 a23078 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d23192 6 d23199 17 a23215 14 *86) RPMCANONARCH=i386 ;; alpha*) RPMCANONARCH=alpha ;; sparc*) RPMCANONARCH=sparc ;; ia64*) RPMCANONARCH=ia64 ;; s390*) RPMCANONARCH=s390 ;; powerpc*) RPMCANONARCH=ppc ;; armv3l*) RPMCANONARCH=armv3l ;; armv4l*) RPMCANONARCH=armv4l ;; armv4b*) RPMCANONARCH=armv4b ;; arm*) RPMCANONARCH="${build_cpu}" ;; mipsel*) RPMCANONARCH=mipsel ;; mips*) RPMCANONARCH=mips ;; m68k*) RPMCANONARCH=m68k ;; *) RPMCANONARCH=unknown ;; d23236 1 d23291 1 a23291 1 LIBRPMALIAS_FILENAME="${RPMCONFIGDIR}/rpmpopt-${VERSION}" d23326 1 a23326 1 subdirs="$subdirs popt beecrypt zlib libelf db3" d23329 2 a23330 2 ac_config_files="$ac_config_files Doxyfile Makefile rpmrc macros platform rpmpopt rpm.spec rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile scripts/Makefile scripts/brp-redhat scripts/macros.perl scripts/macros.php scripts/macros.python tools/Makefile tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile misc/Makefile intl/Makefile po/Makefile.in doc/Makefile doc/manual/Makefile doc/fr/Makefile doc/ja/Makefile doc/ko/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile python/Makefile python/rpmdb/Makefile python/test/Makefile" ac_config_commands="$ac_config_commands default" d23341 1 a23341 1 # `ac_cv_env_foo' variables (set or unset) will be overriden when d23376 1 a23376 1 if cmp -s $cache_file confcache; then :; else d23407 15 d23443 2 a23448 1 d23457 3 a23463 1 # NLS nuisances. d23471 32 a23502 24 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && { $as_unset LANG || test "${LANG+set}" != set; } || { LANG=C; export LANG; } (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || { LC_ALL=C; export LC_ALL; } (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || { LC_TIME=C; export LC_TIME; } (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || { LC_CTYPE=C; export LC_CTYPE; } (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || { LANGUAGE=C; export LANGUAGE; } (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || { LC_COLLATE=C; export LC_COLLATE; } (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || { LC_NUMERIC=C; export LC_NUMERIC; } (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || { LC_MESSAGES=C; export LC_MESSAGES; } d23506 1 a23506 1 as_me=`(basename "$0") 2>/dev/null || d23517 1 d23528 4 a23531 4 echo "#! /bin/sh" >conftest.sh echo "exit 0" >>conftest.sh chmod +x conftest.sh if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then d23536 1 a23536 1 rm -f conftest.sh d23585 2 d23660 6 d23682 1 a23682 1 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } d23699 1 a23699 1 generated by GNU Autoconf 2.53. Invocation command line was d23739 1 d23762 1 a23762 1 configured by $0, generated by GNU Autoconf 2.53, d23783 6 a23788 3 shift set dummy "$ac_option" "$ac_optarg" ${1+"$@@"} shift a23789 1 -*);; d23792 1 d23796 1 a23796 1 case $1 in d23799 1 a23799 1 cat >>$CONFIG_STATUS <<_ACEOF d23801 1 a23801 4 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF d23816 2 a23817 2 shift CONFIG_FILES="$CONFIG_FILES $1" d23820 2 a23821 2 shift CONFIG_HEADERS="$CONFIG_HEADERS $1" d23823 3 d23840 14 d23934 3 d23945 1 a23945 1 : ${TMPDIR=/tmp} d23947 1 a23947 1 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && d23951 1 a23951 1 tmp=$TMPDIR/cs$$-$RANDOM d23955 1 a23955 1 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 d24047 1 d24060 1 d24108 1 a24108 1 s,@@WITH_LIBELF_SUBDIR@@,$WITH_LIBELF_SUBDIR,;t t d24111 1 a24111 1 s,@@WITH_LIBELF_ARCHIVE@@,$WITH_LIBELF_ARCHIVE,;t t d24154 2 d24175 1 d24246 24 a24269 19 { case "$ac_dir" in [\\/]* | ?:[\\/]* ) as_incr_dir=;; *) as_incr_dir=.;; esac as_dummy="$ac_dir" for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do case $as_mkdir_dir in # Skip DOS drivespec ?:) as_incr_dir=$as_mkdir_dir ;; *) as_incr_dir=$as_incr_dir/$as_mkdir_dir test -d "$as_incr_dir" || mkdir "$as_incr_dir" || { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; } ;; esac done; } d24299 1 a24299 1 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` d24489 1 a24489 1 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS d24513 1 a24513 1 echo ' fi # egrep' >>$CONFIG_STATUS d24553 1 a24553 1 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then d24569 24 a24592 19 { case "$ac_dir" in [\\/]* | ?:[\\/]* ) as_incr_dir=;; *) as_incr_dir=.;; esac as_dummy="$ac_dir" for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do case $as_mkdir_dir in # Skip DOS drivespec ?:) as_incr_dir=$as_mkdir_dir ;; *) as_incr_dir=$as_incr_dir/$as_mkdir_dir test -d "$as_incr_dir" || mkdir "$as_incr_dir" || { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; } ;; esac done; } d24657 1 a24657 1 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` d24726 24 a24749 19 { case $dirpart/$fdir in [\\/]* | ?:[\\/]* ) as_incr_dir=;; *) as_incr_dir=.;; esac as_dummy=$dirpart/$fdir for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do case $as_mkdir_dir in # Skip DOS drivespec ?:) as_incr_dir=$as_mkdir_dir ;; *) as_incr_dir=$as_incr_dir/$as_mkdir_dir test -d "$as_incr_dir" || mkdir "$as_incr_dir" || { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5 echo "$as_me: error: cannot create $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; } ;; esac done; } d24879 3 d24883 1 a24883 1 $SHELL $CONFIG_STATUS || ac_cs_success=false d24938 24 a24961 19 { case "$ac_dir" in [\\/]* | ?:[\\/]* ) as_incr_dir=;; *) as_incr_dir=.;; esac as_dummy="$ac_dir" for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do case $as_mkdir_dir in # Skip DOS drivespec ?:) as_incr_dir=$as_mkdir_dir ;; *) as_incr_dir=$as_incr_dir/$as_mkdir_dir test -d "$as_incr_dir" || mkdir "$as_incr_dir" || { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; } ;; esac done; } d24991 1 a24991 1 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` @ 1.15 log @Resolve: RPM 4.0.4 -> RPM 4.0.5 @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57. d9 167 a183 3 # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' d188 1 d196 24 a219 32 # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi d223 1 a223 1 as_me=`$as_basename "$0" || a233 1 d244 4 a247 4 echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then d252 1 a252 1 rm -f conf$$.sh a299 2 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } a371 6 if mkdir -p . 2>/dev/null; then as_mkdir_p=: else as_mkdir_p=false fi d388 1 a388 1 $as_unset CDPATH d391 4 a394 10 # Find the correct PATH separator. Usually this is `:', but # DJGPP uses `;' like DOS. if test "X${PATH_SEPARATOR+set}" != Xset; then UNAME=${UNAME-`uname 2>/dev/null`} case X$UNAME in *-DOS) lt_cv_sys_path_separator=';' ;; *) lt_cv_sys_path_separator=':' ;; esac PATH_SEPARATOR=$lt_cv_sys_path_separator fi d396 1 d398 8 a405 1 # Check that we are running under the correct shell. d408 4 a411 6 case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac d413 6 a418 14 echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@@"} fi d420 14 a433 166 if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null && echo_test_string="`eval $cmd`" && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="rpmqv.c" # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else d458 1 a458 3 ac_subdirs_all="$ac_subdirs_all popt beecrypt db3" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE AS RPMUSER RPMUID RPMGROUP RPMGID CTAGS CSCOPE LDFLAGS_STATIC FIXPERMS MKDIR MKDIR_P U ANSI2KNR LN_S ECHO RANLIB ac_ct_RANLIB LIBTOOL AR ac_ct_AR BZIP2BIN __CAT __CHGRP __CHMOD __CHOWN __CP __CPIO __FILE __GPG __GREP GZIPBIN UNZIPBIN __ID __ID_U __INSTALL __MAKE __MKDIR __MV __PATCH __PERL PGPBIN __PYTHON __RM __RSH __SED __SSH __TAR __LD __NM __OBJCOPY __OBJDUMP __STRIP WITH_ZLIB_SUBDIR WITH_ZLIB_INCLUDE WITH_ZLIB_LIB WITH_DB_SUBDIR WITH_INTERNAL_DB DBLIBSRCS DBLIBOBJS libdb3 libdb3a WITH_BZIP2 MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBOBJS WITH_PYTHON_SUBDIR WITH_PYTHON_SUBPACKAGE WITH_PYTHON_VERSION __DOXYGEN WITH_APIDOCS_TARGET WITH_APIDOCS __CHOWN_RHF __CHGRP_RHF ROOT_GROUP varprefix tmpdir MARK64 RPMCANONARCH RPMCANONVENDOR RPMCANONOS LOCALEDIR LIBDIR RPMCONFIGDIR SYSCONFIGDIR MACROFILES LIBRPMRC_FILENAME VENDORRPMRC_FILENAME LIBRPMALIAS_FILENAME FINDREQUIRES FINDPROVIDES testdir INCPATH LIBMISC RPM OBJDUMP subdirs LTLIBOBJS' ac_subst_files='' a881 3 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } d1028 1 d1080 1 a1080 1 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` d1120 1 a1120 1 generated by GNU Autoconf 2.57. Invocation command line was a1171 1 # Strip out --silent because we don't want to record it for future runs. a1172 1 # Make two passes to allow for proper duplicate-argument suppression. a1173 2 ac_configure_args0= ac_configure_args1= d1175 1 a1175 2 ac_must_keep_next=false for ac_pass in 1 2 d1177 15 a1191 35 for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done a1192 2 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } a1202 1 a1224 29 cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi d1232 1 a1232 1 sed "/^$/d" confdefs.h | sort a1388 1 d1688 2 a1689 2 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 d1696 1 a1696 1 @@echo 'ac_maketemp="$(MAKE)"' d1727 1 a1727 1 VERSION=4.0.5 d1855 2 a1856 1 ac_config_headers="$ac_config_headers config.h" d1861 1 d1863 20 a1882 1 ALL_LINGUAS="cs da de en_RN es eu_ES fi fr gl hu id is it ja ko no pl pt pt_BR ro ru sk sl sr sv tr uk wa zh zh_CN.GB2312" d2088 3 a2090 1 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@@" d2195 2 a2196 4 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} d2221 1 a2221 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2223 6 d2238 1 a2238 1 ac_clean_files="$ac_clean_files a.out a.exe b.out" d2257 3 a2259 4 # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue d2261 9 a2269 18 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; d2274 3 a2276 6 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} d2303 1 a2303 2 If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 d2305 1 a2305 2 If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} d2313 1 a2313 1 rm -f a.out a.exe conftest$ac_cv_exeext b.out d2333 1 a2333 2 for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue d2335 1 a2335 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; d2343 2 a2344 4 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} d2362 1 a2362 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2364 6 d2386 1 a2386 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; d2393 3 a2395 6 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} d2412 1 a2412 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2414 6 d2446 1 a2446 2 sed 's/^/| /' conftest.$ac_ext >&5 d2466 1 a2466 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2468 6 d2497 1 a2497 2 sed 's/^/| /' conftest.$ac_ext >&5 d2519 4 a2522 7 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC d2524 3 a2526 2 #line $LINENO "configure" /* confdefs.h. */ d2528 14 a2541 108 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ ''\ d2551 1 a2551 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2554 6 d2583 1 a2583 2 sed 's/^/| /' conftest.$ac_ext >&5 d2589 1 a2589 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2591 6 d2620 1 a2620 2 sed 's/^/| /' conftest.$ac_ext >&5 d2633 1 a2633 2 sed 's/^/| /' conftest.$ac_ext >&5 d2652 1 a2652 1 ac_config_commands="$ac_config_commands depfiles" a2807 2 # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. d2812 2 a2813 10 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif d2819 1 a2819 1 grep -v '^ *+' conftest.er1 >conftest.err d2836 1 a2836 2 sed 's/^/| /' conftest.$ac_ext >&5 d2846 1 a2846 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2852 1 a2852 1 grep -v '^ *+' conftest.er1 >conftest.err d2870 1 a2870 2 sed 's/^/| /' conftest.$ac_ext >&5 a2898 2 # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. d2903 2 a2904 10 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif d2910 1 a2910 1 grep -v '^ *+' conftest.er1 >conftest.err d2927 1 a2927 2 sed 's/^/| /' conftest.$ac_ext >&5 d2937 1 a2937 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2943 1 a2943 1 grep -v '^ *+' conftest.er1 >conftest.err d2961 1 a2961 2 sed 's/^/| /' conftest.$ac_ext >&5 d2974 2 a2975 4 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} a2985 15 echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep d2991 1 a2991 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2998 1 a2998 1 $EGREP "yes" >/dev/null 2>&1; then d3019 1 a3019 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a3024 7 int main () { ; return 0; } d3026 2 a3027 3 rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 d3029 3 d3033 10 a3042 7 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d3046 2 a3047 3 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no d3049 1 a3049 1 rm -f conftest.$ac_objext conftest.$ac_ext d3055 1 a3055 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3060 1 a3060 1 $EGREP "memchr" >/dev/null 2>&1; then d3073 1 a3073 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3078 1 a3078 1 $EGREP "free" >/dev/null 2>&1; then d3094 1 a3094 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3100 1 a3100 2 # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ d3133 1 a3133 2 sed 's/^/| /' conftest.$ac_ext >&5 d3137 1 a3137 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d3172 1 a3172 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3192 1 a3192 2 sed 's/^/| /' conftest.$ac_ext >&5 d3223 1 a3223 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3242 1 a3242 2 sed 's/^/| /' conftest.$ac_ext >&5 d3254 1 a3254 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3260 1 a3260 1 grep -v '^ *+' conftest.er1 >conftest.err d3277 1 a3277 2 sed 's/^/| /' conftest.$ac_ext >&5 d3290 1 a3290 10 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d3297 1 a3297 10 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d3455 1 a3455 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3457 6 d3489 1 a3489 2 sed 's/^/| /' conftest.$ac_ext >&5 d3509 1 a3509 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3511 6 d3540 1 a3540 2 sed 's/^/| /' conftest.$ac_ext >&5 d3573 1 a3573 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3576 6 d3605 1 a3605 2 sed 's/^/| /' conftest.$ac_ext >&5 d3611 1 a3611 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3613 6 d3642 1 a3642 2 sed 's/^/| /' conftest.$ac_ext >&5 a3757 2 # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. d3762 2 a3763 10 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif d3769 1 a3769 1 grep -v '^ *+' conftest.er1 >conftest.err d3786 1 a3786 2 sed 's/^/| /' conftest.$ac_ext >&5 d3796 1 a3796 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3802 1 a3802 1 grep -v '^ *+' conftest.er1 >conftest.err d3820 1 a3820 2 sed 's/^/| /' conftest.$ac_ext >&5 a3848 2 # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. d3853 2 a3854 10 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif d3860 1 a3860 1 grep -v '^ *+' conftest.er1 >conftest.err d3877 1 a3877 2 sed 's/^/| /' conftest.$ac_ext >&5 d3887 1 a3887 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3893 1 a3893 1 grep -v '^ *+' conftest.er1 >conftest.err d3911 1 a3911 2 sed 's/^/| /' conftest.$ac_ext >&5 d3924 2 a3925 4 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} d3944 1 a3944 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3949 1 a3949 1 $EGREP "$ac_pattern" >/dev/null 2>&1; then d3960 1 a3960 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3965 1 a3965 1 $EGREP "$ac_pattern" >/dev/null 2>&1; then d3990 1 a3990 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4018 1 a4018 2 sed 's/^/| /' conftest.$ac_ext >&5 d4022 1 a4022 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d4287 1 a4287 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4296 6 d4325 1 a4325 2 sed 's/^/| /' conftest.$ac_ext >&5 d4362 1 a4362 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4392 6 d4423 1 a4423 2 sed 's/^/| /' conftest.$ac_ext >&5 d4469 1 a4469 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4475 3 a4477 11 int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 d4479 3 d4483 10 a4492 7 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d4496 2 a4497 3 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no d4499 1 a4499 1 rm -f conftest.$ac_objext conftest.$ac_ext d4505 1 a4505 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4510 1 a4510 1 $EGREP "memchr" >/dev/null 2>&1; then d4523 1 a4523 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4528 1 a4528 1 $EGREP "free" >/dev/null 2>&1; then d4544 1 a4544 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4550 1 a4550 2 # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ d4583 1 a4583 2 sed 's/^/| /' conftest.$ac_ext >&5 d4587 1 a4587 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d4619 1 a4619 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4638 1 a4638 2 sed 's/^/| /' conftest.$ac_ext >&5 d4650 1 a4650 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4656 1 a4656 1 grep -v '^ *+' conftest.er1 >conftest.err d4673 1 a4673 2 sed 's/^/| /' conftest.$ac_ext >&5 d4686 1 a4686 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d4693 1 a4693 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d4768 2 a4769 2 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 d4776 1 a4776 1 @@echo 'ac_maketemp="$(MAKE)"' d5026 2 a5027 87 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 if test "${lt_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_executable_p="test -f" as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" fi done done done # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. : ${TMPDIR=/tmp} { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=$TMPDIR/sed$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 { (exit 1); exit 1; } } _max=0 _count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for _sed in $_sed_list /usr/xpg4/bin/sed; do test ! -f ${_sed} && break cat /dev/null > "$tmp/sed.in" _count=0 echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" # Check for GNU sed and select it if it is found. if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then lt_cv_path_SED=${_sed} break fi while true; do cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" mv "$tmp/sed.tmp" "$tmp/sed.in" cp "$tmp/sed.in" "$tmp/sed.nl" echo >>"$tmp/sed.nl" ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break # 40000 chars as input seems more than enough test $_count -gt 10 && break _count=`expr $_count + 1` if test $_count -gt $_max; then _max=$_count lt_cv_path_SED=$_sed fi done done rm -rf "$tmp" fi if test "X$SED" != "X"; then lt_cv_path_SED=$SED else SED=$lt_cv_path_SED fi echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 d5104 1 a5104 1 irix5* | irix6* | nonstopux*) d5106 1 a5106 1 irix5* | nonstopux*) d5128 1 a5128 1 alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*) a5198 3 siemens) lt_cv_deplibs_check_method=pass_all ;; d5252 1 a5252 1 irix* | nonstopux*) a5254 3 osf*) symcode='[BCDEGQRST]' ;; d5363 1 a5363 1 (exit $ac_status); } && test -s conftest$ac_exeext; then d5428 1 a5428 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d5447 1 a5447 2 sed 's/^/| /' conftest.$ac_ext >&5 d5459 1 a5459 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d5465 1 a5465 1 grep -v '^ *+' conftest.er1 >conftest.err d5482 1 a5482 2 sed 's/^/| /' conftest.$ac_ext >&5 d5495 1 a5495 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d5502 1 a5502 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; a5527 1 d5843 1 a5843 1 echo '#line 6323 "configure"' > conftest.$ac_ext d5883 1 a5883 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d5885 6 d5914 1 a5914 2 sed 's/^/| /' conftest.$ac_ext >&5 d6086 1 a6086 1 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) d6129 1 a6129 1 irix5* | irix6* | nonstopux*) d6173 5 a6177 1 lt_cv_prog_cc_wl='-Wl,' d6217 1 a6217 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d6219 6 d6263 1 a6263 2 sed 's/^/| /' conftest.$ac_ext >&5 d6306 1 a6306 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d6308 6 d6337 1 a6337 2 sed 's/^/| /' conftest.$ac_ext >&5 d6379 1 a6379 1 if { (eval echo configure:6852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then d6421 1 a6421 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d6423 6 d6459 1 a6459 2 sed 's/^/| /' conftest.$ac_ext >&5 d6507 1 a6507 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d6509 6 d6545 1 a6545 2 sed 's/^/| /' conftest.$ac_ext >&5 d6717 1 a6717 1 archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then a6725 1 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; d6838 1 a6838 2 case $ld_flag in *-brtl*) d6841 1 a6841 2 ;; esac d6955 2 a6956 3 # yet detect zsh echo's removal of \ escapes. Also zsh mangles # `"' quotes if we put them in here... so don't! archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' d7008 1 a7008 1 irix5* | irix6* | nonstopux*) a7010 1 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' a7012 1 hardcode_libdir_flag_spec='-rpath $libdir' d7014 1 d7042 1 a7042 1 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' d7052 1 a7052 1 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' d7164 7 a7170 17 case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac a7317 3 need_lib_prefix=no need_version=no hardcode_into_libs=yes a7355 1 hardcode_into_libs=yes d7403 1 a7403 1 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` d7486 2 a7487 5 irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) version_type=irix ;; esac d7493 1 a7493 1 irix5* | nonstopux*) a7537 24 # Find out which ABI we are using (multilib Linux x86_64 hack). libsuff= case "$host_cpu" in x86_64*|s390x*) echo '#line 8036 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *64-bit*) libsuff=64 ;; esac fi rm -rf conftest* ;; *) ;; esac sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" d7597 2 a7598 2 soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' a7601 1 hardcode_into_libs=yes a7643 6 need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no d7766 1 a7766 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7768 2 a7769 8 which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a7772 1 { d7777 11 d7794 1 a7794 4 char (*f) () = shl_load; #endif #ifdef __cplusplus } a7796 4 int main () { return f != shl_load; d7816 1 a7816 2 sed 's/^/| /' conftest.$ac_ext >&5 d7835 1 a7835 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7844 6 d7873 1 a7873 2 sed 's/^/| /' conftest.$ac_ext >&5 d7891 1 a7891 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7893 2 a7894 8 which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a7897 1 { d7902 11 d7919 1 a7919 4 char (*f) () = dlopen; #endif #ifdef __cplusplus } a7921 4 int main () { return f != dlopen; d7941 1 a7941 2 sed 's/^/| /' conftest.$ac_ext >&5 d7960 1 a7960 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7969 6 d7998 1 a7998 2 sed 's/^/| /' conftest.$ac_ext >&5 d8018 1 a8018 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d8027 6 d8056 1 a8056 2 sed 's/^/| /' conftest.$ac_ext >&5 d8076 1 a8076 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d8085 6 d8114 1 a8114 2 sed 's/^/| /' conftest.$ac_ext >&5 d8172 1 a8172 1 #line 8708 "configure" d8270 1 a8270 1 #line 8806 "configure" d8453 1 a8453 1 for var in echo old_CC old_CFLAGS SED \ a8514 3 # A sed that does not truncate output. SED=$lt_SED d8516 1 a8516 1 Xsed="${SED} -e s/^X//" d10257 360 a10616 7 fi done done test -z "$ac_cv_path___OBJCOPY" && ac_cv_path___OBJCOPY="/usr/bin/objcopy" ;; esac d10618 4 a10621 5 __OBJCOPY=$ac_cv_path___OBJCOPY if test -n "$__OBJCOPY"; then echo "$as_me:$LINENO: result: $__OBJCOPY" >&5 echo "${ECHO_T}$__OBJCOPY" >&6 a10622 3 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi d10624 3 a10626 5 # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___OBJDUMP+set}" = set; then d10629 5 a10633 18 case $__OBJDUMP in [\\/]* | ?:[\\/]*) ac_cv_path___OBJDUMP="$__OBJDUMP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___OBJDUMP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d10635 38 a10672 3 test -z "$ac_cv_path___OBJDUMP" && ac_cv_path___OBJDUMP="/usr/bin/objdump" ;; esac d10674 2 a10675 8 __OBJDUMP=$ac_cv_path___OBJDUMP if test -n "$__OBJDUMP"; then echo "$as_me:$LINENO: result: $__OBJDUMP" >&5 echo "${ECHO_T}$__OBJDUMP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d10677 6 d10684 1 a10684 25 # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__STRIP in [\\/]* | ?:[\\/]*) ac_cv_path___STRIP="$__STRIP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___STRIP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done a10685 3 test -z "$ac_cv_path___STRIP" && ac_cv_path___STRIP="/usr/bin/strip" ;; esac a10686 1 __STRIP=$ac_cv_path___STRIP d10688 1 a10688 6 if test -n "$__STRIP"; then echo "$as_me:$LINENO: result: $__STRIP" >&5 echo "${ECHO_T}$__STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d10691 1 d10693 1 a10693 8 addlib() { l=$1 shift case "$target" in *-*-solaris*) LIBS="$LIBS -L$l -R$l $*";; *) LIBS="$LIBS -L$l $*";; esac } d10695 1 a10695 11 WITH_ZLIB_SUBDIR= WITH_ZLIB_INCLUDE= WITH_ZLIB_LIB= #if test -d zlib ; then # WITH_ZLIB_SUBDIR=zlib # addlib \${top_builddir}/zlib # WITH_ZLIB_INCLUDE="-I\${top_srcdir}/${WITH_ZLIB_SUBDIR}" # INCPATH="$INCPATH -I\${top_srcdir}/${WITH_ZLIB_SUBDIR}" # WITH_ZLIB_LIB="\${top_builddir}/${WITH_ZLIB_SUBDIR}/libz.la" # AC_DEFINE(HAVE_GZSEEK) #fi d10697 3 d10702 3 d10706 5 a10710 1 localdone= a10711 3 dirs=$prefix if test "$cross_compiling" != "yes"; then dirs="$dirs /usr/local" a10712 20 for dir in $dirs do case $dir in NONE|/usr) continue;; /usr/local) if test X$localdone != X ; then continue; fi localdone="$dir" ;; esac echo "$as_me:$LINENO: checking for $dir/lib in LIBS" >&5 echo $ECHO_N "checking for $dir/lib in LIBS... $ECHO_C" >&6 if test -d $dir/lib 2> /dev/null ; then addlib $dir/lib echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi a10713 13 echo "$as_me:$LINENO: checking for $dir/include in INCPATH" >&5 echo $ECHO_N "checking for $dir/include in INCPATH... $ECHO_C" >&6 if test -d $dir/include 2>/dev/null ; then if "$dir" != "/usr/local" ; then INCPATH="$INCPATH -I$dir/include" fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi done a10714 6 echo "$as_me:$LINENO: checking for /usr/ucblib in LIBS" >&5 echo $ECHO_N "checking for /usr/ucblib in LIBS... $ECHO_C" >&6 if test -d /usr/ucblib ; then if test "$build" = "mips-sni-sysv4" ; then addlib /usr/ccs/lib -lc fi a10715 1 addlib /usr/ucblib a10716 6 echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi d10727 1 a10727 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10729 2 a10730 8 which can conflict with char setreuid (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a10733 1 { d10738 11 d10755 1 a10755 4 char (*f) () = setreuid; #endif #ifdef __cplusplus } a10757 4 int main () { return f != setreuid; d10777 1 a10777 2 sed 's/^/| /' conftest.$ac_ext >&5 d10797 1 a10797 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10806 6 d10835 1 a10835 2 sed 's/^/| /' conftest.$ac_ext >&5 d10858 1 a10858 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10860 2 a10861 8 which can conflict with char rand (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a10864 1 { d10869 11 d10886 1 a10886 4 char (*f) () = rand; #endif #ifdef __cplusplus } a10888 4 int main () { return f != rand; d10908 1 a10908 2 sed 's/^/| /' conftest.$ac_ext >&5 d10929 1 a10929 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10938 6 d10967 1 a10967 2 sed 's/^/| /' conftest.$ac_ext >&5 d10995 1 a10995 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10997 2 a10998 8 which can conflict with char getdomainname (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a11001 1 { d11006 11 d11023 1 a11023 4 char (*f) () = getdomainname; #endif #ifdef __cplusplus } a11025 4 int main () { return f != getdomainname; d11045 1 a11045 2 sed 's/^/| /' conftest.$ac_ext >&5 d11066 1 a11066 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11075 6 d11104 1 a11104 2 sed 's/^/| /' conftest.$ac_ext >&5 d11131 1 a11131 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11133 2 a11134 8 which can conflict with char socket (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a11137 1 { d11142 11 d11159 1 a11159 4 char (*f) () = socket; #endif #ifdef __cplusplus } a11161 4 int main () { return f != socket; d11181 1 a11181 2 sed 's/^/| /' conftest.$ac_ext >&5 d11202 1 a11202 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11211 6 d11240 1 a11240 2 sed 's/^/| /' conftest.$ac_ext >&5 d11282 1 a11282 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11301 1 a11301 2 sed 's/^/| /' conftest.$ac_ext >&5 d11313 1 a11313 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11319 1 a11319 1 grep -v '^ *+' conftest.er1 >conftest.err d11336 1 a11336 2 sed 's/^/| /' conftest.$ac_ext >&5 d11349 1 a11349 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d11356 1 a11356 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d11389 1 a11389 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11398 6 d11427 1 a11427 2 sed 's/^/| /' conftest.$ac_ext >&5 d11454 1 a11454 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11463 6 d11492 1 a11492 2 sed 's/^/| /' conftest.$ac_ext >&5 d11519 1 a11519 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11528 6 d11557 1 a11557 2 sed 's/^/| /' conftest.$ac_ext >&5 d11599 1 a11599 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11618 1 a11618 2 sed 's/^/| /' conftest.$ac_ext >&5 d11630 1 a11630 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11636 1 a11636 1 grep -v '^ *+' conftest.er1 >conftest.err d11653 1 a11653 2 sed 's/^/| /' conftest.$ac_ext >&5 d11666 1 a11666 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d11673 1 a11673 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d11704 1 a11704 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11713 6 d11742 1 a11742 2 sed 's/^/| /' conftest.$ac_ext >&5 d11750 1 a11750 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11759 6 d11789 1 a11789 2 sed 's/^/| /' conftest.$ac_ext >&5 d11811 1 a11811 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11813 2 a11814 8 which can conflict with char fchmod (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a11817 1 { d11822 11 d11839 1 a11839 4 char (*f) () = fchmod; #endif #ifdef __cplusplus } a11841 4 int main () { return f != fchmod; d11861 1 a11861 2 sed 's/^/| /' conftest.$ac_ext >&5 d11882 1 a11882 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11884 2 a11885 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a11888 1 { d11893 11 d11910 1 a11910 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a11912 4 int main () { return f != $ac_func; d11932 1 a11932 2 sed 's/^/| /' conftest.$ac_ext >&5 d11958 1 a11958 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11967 6 d11996 1 a11996 2 sed 's/^/| /' conftest.$ac_ext >&5 d12048 1 a12048 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12067 1 a12067 2 sed 's/^/| /' conftest.$ac_ext >&5 d12079 1 a12079 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12085 1 a12085 1 grep -v '^ *+' conftest.er1 >conftest.err d12102 1 a12102 2 sed 's/^/| /' conftest.$ac_ext >&5 d12115 1 a12115 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d12122 1 a12122 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d12152 1 a12152 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12154 2 a12155 8 which can conflict with char db_create (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12158 1 { d12163 11 d12180 1 a12180 4 char (*f) () = db_create; #endif #ifdef __cplusplus } a12182 4 int main () { return f != db_create; d12202 1 a12202 2 sed 's/^/| /' conftest.$ac_ext >&5 d12221 1 a12221 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12230 6 d12259 1 a12259 2 sed 's/^/| /' conftest.$ac_ext >&5 d12279 1 a12279 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12288 6 d12317 1 a12317 2 sed 's/^/| /' conftest.$ac_ext >&5 d12337 1 a12337 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12346 6 d12375 1 a12375 2 sed 's/^/| /' conftest.$ac_ext >&5 d12395 1 a12395 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12404 6 d12433 1 a12433 2 sed 's/^/| /' conftest.$ac_ext >&5 d12471 1 a12471 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12480 6 d12510 1 a12510 2 sed 's/^/| /' conftest.$ac_ext >&5 d12534 1 a12534 1 DBLIBSRCS="$DBLIBSRCS db1.c falloc.c" d12576 1 a12576 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12585 6 d12614 1 a12614 2 sed 's/^/| /' conftest.$ac_ext >&5 d12645 1 a12645 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12654 6 d12683 1 a12683 2 sed 's/^/| /' conftest.$ac_ext >&5 d12710 1 a12710 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12719 6 d12748 1 a12748 2 sed 's/^/| /' conftest.$ac_ext >&5 d12768 1 a12768 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12777 6 d12806 1 a12806 2 sed 's/^/| /' conftest.$ac_ext >&5 d12828 1 a12828 86 for ac_func in personality do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done d13022 1 a13022 1 ac_config_commands="$ac_config_commands default-1" d13105 97 d13209 1 a13209 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13211 6 d13286 1 a13286 2 sed 's/^/| /' conftest.$ac_ext >&5 d13310 1 a13310 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13312 2 a13313 3 typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } d13332 1 a13332 2 sed 's/^/| /' conftest.$ac_ext >&5 d13360 1 a13360 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13362 6 d13394 1 a13394 2 sed 's/^/| /' conftest.$ac_ext >&5 d13418 1 a13418 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13420 6 d13452 1 a13452 2 sed 's/^/| /' conftest.$ac_ext >&5 d13478 1 a13478 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13480 6 d13509 1 a13509 2 sed 's/^/| /' conftest.$ac_ext >&5 d13531 1 a13531 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13553 6 d13582 1 a13582 2 sed 's/^/| /' conftest.$ac_ext >&5 d13616 1 a13616 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13625 1 a13625 1 $EGREP "webecray" >/dev/null 2>&1; then d13645 1 a13645 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13647 2 a13648 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a13651 1 { d13656 11 d13673 1 a13673 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a13675 4 int main () { return f != $ac_func; d13695 1 a13695 2 sed 's/^/| /' conftest.$ac_ext >&5 d13724 1 a13724 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13760 1 a13760 2 sed 's/^/| /' conftest.$ac_ext >&5 d13764 1 a13764 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d13796 1 a13796 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13815 1 a13815 2 sed 's/^/| /' conftest.$ac_ext >&5 d13827 1 a13827 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13833 1 a13833 1 grep -v '^ *+' conftest.er1 >conftest.err d13850 1 a13850 2 sed 's/^/| /' conftest.$ac_ext >&5 d13863 1 a13863 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d13870 1 a13870 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d13903 1 a13903 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13905 2 a13906 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a13909 1 { d13914 11 d13931 1 a13931 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a13933 4 int main () { return f != $ac_func; d13953 1 a13953 2 sed 's/^/| /' conftest.$ac_ext >&5 d13978 1 a13978 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14121 1 a14121 2 sed 's/^/| /' conftest.$ac_ext >&5 d14125 1 a14125 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d14147 1 a14147 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14158 1 a14158 1 $EGREP "Lucky GNU user" >/dev/null 2>&1; then d14195 1 a14195 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14249 1 a14249 2 sed 's/^/| /' conftest.$ac_ext >&5 d14253 1 a14253 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d14277 1 a14277 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14280 6 d14309 1 a14309 2 sed 's/^/| /' conftest.$ac_ext >&5 d14332 1 a14332 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14335 6 d14364 1 a14364 2 sed 's/^/| /' conftest.$ac_ext >&5 d14387 1 a14387 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14389 6 d14419 1 a14419 2 sed 's/^/| /' conftest.$ac_ext >&5 d14458 1 a14458 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14461 6 d14490 1 a14490 2 sed 's/^/| /' conftest.$ac_ext >&5 d14517 1 a14517 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14523 6 d14552 1 a14552 2 sed 's/^/| /' conftest.$ac_ext >&5 d15131 1 a15131 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15150 1 a15150 2 sed 's/^/| /' conftest.$ac_ext >&5 d15162 1 a15162 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15168 1 a15168 1 grep -v '^ *+' conftest.er1 >conftest.err d15185 1 a15185 2 sed 's/^/| /' conftest.$ac_ext >&5 d15198 1 a15198 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d15205 1 a15205 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d15260 1 a15260 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15262 2 a15263 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a15266 1 { d15271 11 d15288 1 a15288 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a15290 4 int main () { return f != $ac_func; d15310 1 a15310 2 sed 's/^/| /' conftest.$ac_ext >&5 d15366 1 a15366 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15369 6 d15400 1 a15400 2 sed 's/^/| /' conftest.$ac_ext >&5 d15408 1 a15408 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15411 6 d15443 1 a15443 2 sed 's/^/| /' conftest.$ac_ext >&5 d15481 1 a15481 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15495 6 d15524 1 a15524 2 sed 's/^/| /' conftest.$ac_ext >&5 d15551 1 a15551 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15553 6 d15582 1 a15582 2 sed 's/^/| /' conftest.$ac_ext >&5 d15607 1 a15607 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15609 6 d15638 1 a15638 2 sed 's/^/| /' conftest.$ac_ext >&5 d15780 1 a15780 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15784 6 d15814 1 a15814 2 sed 's/^/| /' conftest.$ac_ext >&5 d16213 1 a16213 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16221 6 d16251 1 a16251 2 sed 's/^/| /' conftest.$ac_ext >&5 d16259 1 a16259 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16267 6 d16300 1 a16300 2 sed 's/^/| /' conftest.$ac_ext >&5 d16446 1 a16446 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a16451 7 int main () { ; return 0; } d16453 2 a16454 3 rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 d16456 3 d16460 10 a16469 7 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d16473 2 a16474 3 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no d16476 1 a16476 1 rm -f conftest.$ac_objext conftest.$ac_ext d16482 1 a16482 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16487 1 a16487 1 $EGREP "memchr" >/dev/null 2>&1; then d16500 1 a16500 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16505 1 a16505 1 $EGREP "free" >/dev/null 2>&1; then d16521 1 a16521 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16527 1 a16527 2 # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ d16560 1 a16560 2 sed 's/^/| /' conftest.$ac_ext >&5 d16564 1 a16564 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d16585 1 a16585 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16587 6 d16616 1 a16616 2 sed 's/^/| /' conftest.$ac_ext >&5 d16640 1 a16640 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16659 1 a16659 2 sed 's/^/| /' conftest.$ac_ext >&5 d16671 1 a16671 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16677 1 a16677 1 grep -v '^ *+' conftest.er1 >conftest.err d16694 1 a16694 2 sed 's/^/| /' conftest.$ac_ext >&5 d16707 1 a16707 10 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d16714 1 a16714 10 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d16752 1 a16752 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16771 1 a16771 2 sed 's/^/| /' conftest.$ac_ext >&5 d16783 1 a16783 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16789 1 a16789 1 grep -v '^ *+' conftest.er1 >conftest.err d16806 1 a16806 2 sed 's/^/| /' conftest.$ac_ext >&5 d16819 1 a16819 10 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d16826 1 a16826 10 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d16866 1 a16866 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16870 6 d16900 1 a16900 2 sed 's/^/| /' conftest.$ac_ext >&5 d16927 1 a16927 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16936 6 d16965 1 a16965 2 sed 's/^/| /' conftest.$ac_ext >&5 d16973 1 a16973 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16982 6 d17012 1 a17012 2 sed 's/^/| /' conftest.$ac_ext >&5 d17036 1 a17036 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17045 6 d17074 1 a17074 2 sed 's/^/| /' conftest.$ac_ext >&5 d17082 1 a17082 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17091 6 d17121 1 a17121 2 sed 's/^/| /' conftest.$ac_ext >&5 d17144 1 a17144 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17149 6 d17179 1 a17179 2 sed 's/^/| /' conftest.$ac_ext >&5 d17219 1 a17219 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17238 1 a17238 2 sed 's/^/| /' conftest.$ac_ext >&5 d17250 1 a17250 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17256 1 a17256 1 grep -v '^ *+' conftest.er1 >conftest.err d17273 1 a17273 2 sed 's/^/| /' conftest.$ac_ext >&5 d17286 1 a17286 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17293 1 a17293 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17336 1 a17336 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17355 1 a17355 2 sed 's/^/| /' conftest.$ac_ext >&5 d17367 1 a17367 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17373 1 a17373 1 grep -v '^ *+' conftest.er1 >conftest.err d17390 1 a17390 2 sed 's/^/| /' conftest.$ac_ext >&5 d17403 1 a17403 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17410 1 a17410 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17451 1 a17451 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17470 1 a17470 2 sed 's/^/| /' conftest.$ac_ext >&5 d17482 1 a17482 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17488 1 a17488 1 grep -v '^ *+' conftest.er1 >conftest.err d17505 1 a17505 2 sed 's/^/| /' conftest.$ac_ext >&5 d17518 1 a17518 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17525 1 a17525 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17568 1 a17568 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17587 1 a17587 2 sed 's/^/| /' conftest.$ac_ext >&5 d17599 1 a17599 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17605 1 a17605 1 grep -v '^ *+' conftest.er1 >conftest.err d17622 1 a17622 2 sed 's/^/| /' conftest.$ac_ext >&5 d17635 1 a17635 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17642 1 a17642 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17683 1 a17683 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17702 1 a17702 2 sed 's/^/| /' conftest.$ac_ext >&5 d17714 1 a17714 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17720 1 a17720 1 grep -v '^ *+' conftest.er1 >conftest.err d17737 1 a17737 2 sed 's/^/| /' conftest.$ac_ext >&5 d17750 1 a17750 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17757 1 a17757 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17797 1 a17797 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17816 1 a17816 2 sed 's/^/| /' conftest.$ac_ext >&5 d17828 1 a17828 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17834 1 a17834 1 grep -v '^ *+' conftest.er1 >conftest.err d17851 1 a17851 2 sed 's/^/| /' conftest.$ac_ext >&5 d17864 1 a17864 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17871 1 a17871 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17913 1 a17913 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17932 1 a17932 2 sed 's/^/| /' conftest.$ac_ext >&5 d17944 1 a17944 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17950 1 a17950 1 grep -v '^ *+' conftest.er1 >conftest.err d17967 1 a17967 2 sed 's/^/| /' conftest.$ac_ext >&5 d17980 1 a17980 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17987 1 a17987 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18030 1 a18030 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18049 1 a18049 2 sed 's/^/| /' conftest.$ac_ext >&5 d18061 1 a18061 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18067 1 a18067 1 grep -v '^ *+' conftest.er1 >conftest.err d18084 1 a18084 2 sed 's/^/| /' conftest.$ac_ext >&5 d18097 1 a18097 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18104 1 a18104 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18146 1 a18146 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18165 1 a18165 2 sed 's/^/| /' conftest.$ac_ext >&5 d18177 1 a18177 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18183 1 a18183 1 grep -v '^ *+' conftest.er1 >conftest.err d18200 1 a18200 2 sed 's/^/| /' conftest.$ac_ext >&5 d18213 1 a18213 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18220 1 a18220 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18261 1 a18261 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18280 1 a18280 2 sed 's/^/| /' conftest.$ac_ext >&5 d18292 1 a18292 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18298 1 a18298 1 grep -v '^ *+' conftest.er1 >conftest.err d18315 1 a18315 2 sed 's/^/| /' conftest.$ac_ext >&5 d18328 1 a18328 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18335 1 a18335 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18375 1 a18375 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18394 1 a18394 2 sed 's/^/| /' conftest.$ac_ext >&5 d18406 1 a18406 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18412 1 a18412 1 grep -v '^ *+' conftest.er1 >conftest.err d18429 1 a18429 2 sed 's/^/| /' conftest.$ac_ext >&5 d18442 1 a18442 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18449 1 a18449 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18490 1 a18490 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18509 1 a18509 2 sed 's/^/| /' conftest.$ac_ext >&5 d18521 1 a18521 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18527 1 a18527 1 grep -v '^ *+' conftest.er1 >conftest.err d18544 1 a18544 2 sed 's/^/| /' conftest.$ac_ext >&5 d18557 1 a18557 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18564 1 a18564 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18605 1 a18605 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18624 1 a18624 2 sed 's/^/| /' conftest.$ac_ext >&5 d18636 1 a18636 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18642 1 a18642 1 grep -v '^ *+' conftest.er1 >conftest.err d18659 1 a18659 2 sed 's/^/| /' conftest.$ac_ext >&5 d18672 1 a18672 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18679 1 a18679 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18709 1 a18709 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18715 6 d18751 1 a18751 2 sed 's/^/| /' conftest.$ac_ext >&5 d18759 1 a18759 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18765 6 d18801 1 a18801 2 sed 's/^/| /' conftest.$ac_ext >&5 d18809 1 a18809 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18818 6 d18854 1 a18854 2 sed 's/^/| /' conftest.$ac_ext >&5 d18862 1 a18862 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18868 6 d18904 1 a18904 2 sed 's/^/| /' conftest.$ac_ext >&5 d18919 1 a18919 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18937 6 d18973 1 a18973 2 sed 's/^/| /' conftest.$ac_ext >&5 d18991 1 a18991 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19030 1 a19030 2 sed 's/^/| /' conftest.$ac_ext >&5 d19035 1 a19035 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d19048 1 a19048 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19050 2 a19051 3 typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } d19070 1 a19070 2 sed 's/^/| /' conftest.$ac_ext >&5 d19097 1 a19097 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19099 6 d19128 1 a19128 2 sed 's/^/| /' conftest.$ac_ext >&5 d19145 1 a19145 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19147 6 d19176 1 a19176 2 sed 's/^/| /' conftest.$ac_ext >&5 d19194 1 a19194 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19196 6 d19225 1 a19225 2 sed 's/^/| /' conftest.$ac_ext >&5 d19243 1 a19243 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19245 6 d19274 1 a19274 2 sed 's/^/| /' conftest.$ac_ext >&5 d19292 1 a19292 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19294 6 d19323 1 a19323 2 sed 's/^/| /' conftest.$ac_ext >&5 d19337 1 a19337 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19339 6 d19371 1 a19371 2 sed 's/^/| /' conftest.$ac_ext >&5 d19395 1 a19395 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19397 6 d19429 1 a19429 2 sed 's/^/| /' conftest.$ac_ext >&5 d19456 1 a19456 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19458 6 d19487 1 a19487 2 sed 's/^/| /' conftest.$ac_ext >&5 d19509 1 a19509 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19531 6 d19560 1 a19560 2 sed 's/^/| /' conftest.$ac_ext >&5 d19594 1 a19594 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19603 1 a19603 1 $EGREP "webecray" >/dev/null 2>&1; then d19623 1 a19623 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19625 2 a19626 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a19629 1 { d19634 11 d19651 1 a19651 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a19653 4 int main () { return f != $ac_func; d19673 1 a19673 2 sed 's/^/| /' conftest.$ac_ext >&5 d19702 1 a19702 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19738 1 a19738 2 sed 's/^/| /' conftest.$ac_ext >&5 d19742 1 a19742 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d19766 1 a19766 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19768 2 a19769 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a19772 1 { d19777 11 d19794 1 a19794 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a19796 4 int main () { return f != $ac_func; d19816 1 a19816 2 sed 's/^/| /' conftest.$ac_ext >&5 d19835 1 a19835 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19837 2 a19838 8 which can conflict with char _doprnt (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a19841 1 { d19846 11 d19863 1 a19863 4 char (*f) () = _doprnt; #endif #ifdef __cplusplus } a19865 4 int main () { return f != _doprnt; d19885 1 a19885 2 sed 's/^/| /' conftest.$ac_ext >&5 d19924 1 a19924 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19926 2 a19927 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a19930 1 { d19935 11 d19952 1 a19952 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a19954 4 int main () { return f != $ac_func; d19974 1 a19974 2 sed 's/^/| /' conftest.$ac_ext >&5 d20002 1 a20002 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20004 2 a20005 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20008 1 { d20013 11 d20030 1 a20030 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20032 4 int main () { return f != $ac_func; d20052 1 a20052 2 sed 's/^/| /' conftest.$ac_ext >&5 d20083 1 a20083 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20085 2 a20086 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20089 1 { d20094 11 d20111 1 a20111 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20113 4 int main () { return f != $ac_func; d20133 1 a20133 2 sed 's/^/| /' conftest.$ac_ext >&5 d20160 1 a20160 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20162 2 a20163 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20166 1 { d20171 11 d20188 1 a20188 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20190 4 int main () { return f != $ac_func; d20210 1 a20210 2 sed 's/^/| /' conftest.$ac_ext >&5 d20237 1 a20237 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20239 2 a20240 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20243 1 { d20248 11 d20265 1 a20265 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20267 4 int main () { return f != $ac_func; d20287 1 a20287 2 sed 's/^/| /' conftest.$ac_ext >&5 d20321 1 a20321 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20323 2 a20324 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20327 1 { d20332 11 d20349 1 a20349 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20351 4 int main () { return f != $ac_func; d20371 1 a20371 2 sed 's/^/| /' conftest.$ac_ext >&5 d20406 1 a20406 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20432 1 a20432 2 sed 's/^/| /' conftest.$ac_ext >&5 d20436 1 a20436 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d20476 1 a20476 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20498 1 a20498 2 sed 's/^/| /' conftest.$ac_ext >&5 d20502 1 a20502 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d20517 1 a20517 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20539 1 a20539 2 sed 's/^/| /' conftest.$ac_ext >&5 d20543 1 a20543 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d20646 16 d20673 1 a20673 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20675 2 a20676 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20679 1 { d20684 11 d20701 1 a20701 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20703 4 int main () { return f != $ac_func; d20723 1 a20723 2 sed 's/^/| /' conftest.$ac_ext >&5 d20750 1 a20750 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20752 2 a20753 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20756 1 { d20761 11 d20778 1 a20778 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20780 4 int main () { return f != $ac_func; d20800 1 a20800 2 sed 's/^/| /' conftest.$ac_ext >&5 d20823 1 a20823 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20825 2 a20826 8 which can conflict with char getmntent (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20829 1 { d20834 11 d20851 1 a20851 4 char (*f) () = getmntent; #endif #ifdef __cplusplus } a20853 4 int main () { return f != getmntent; d20873 1 a20873 2 sed 's/^/| /' conftest.$ac_ext >&5 d20895 1 a20895 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20897 2 a20898 8 which can conflict with char mntctl (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20901 1 { d20906 11 d20923 1 a20923 4 char (*f) () = mntctl; #endif #ifdef __cplusplus } a20925 4 int main () { return f != mntctl; d20945 1 a20945 2 sed 's/^/| /' conftest.$ac_ext >&5 d20967 1 a20967 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20969 2 a20970 8 which can conflict with char getmntinfo_r (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20973 1 { d20978 11 d20995 1 a20995 4 char (*f) () = getmntinfo_r; #endif #ifdef __cplusplus } a20997 4 int main () { return f != getmntinfo_r; d21017 1 a21017 2 sed 's/^/| /' conftest.$ac_ext >&5 d21041 1 a21041 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d21050 6 d21079 1 a21079 2 sed 's/^/| /' conftest.$ac_ext >&5 d21118 1 a21118 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d21120 2 a21121 8 which can conflict with char lchown (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a21124 1 { d21129 11 d21146 1 a21146 4 char (*f) () = lchown; #endif #ifdef __cplusplus } a21148 4 int main () { return f != lchown; d21168 1 a21168 2 sed 's/^/| /' conftest.$ac_ext >&5 d21241 1 a21241 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d21284 1 a21284 2 sed 's/^/| /' conftest.$ac_ext >&5 d21288 1 a21288 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a21401 6 MARK64= case "${target_cpu}" in x86_64*|ppc64*|powerpc64*|sparc64*|s390x*) MARK64=64 ;; esac d21423 1 a21423 1 unknown|pc|ibm|redhat|pld|mandrake|conectiva|lvr) d21429 1 d21526 1 a21526 1 subdirs="$subdirs popt beecrypt db3" d21529 2 a21530 2 ac_config_files="$ac_config_files Doxyfile Makefile rpmrc macros platform rpmpopt rpm.spec rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile scripts/Makefile scripts/brp-redhat tools/Makefile tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile misc/Makefile po/Makefile.in intl/Makefile doc/Makefile doc/manual/Makefile doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile python/Makefile" ac_config_commands="$ac_config_commands default" d21541 1 a21541 1 # `ac_cv_env_foo' variables (set or unset) will be overridden when d21576 1 a21576 1 if diff $cache_file confcache >/dev/null 2>&1; then :; else a21606 15 ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs a21627 2 ac_cs_recheck=false ac_cs_silent=false d21632 1 a21640 3 # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' d21645 1 d21653 24 a21676 32 # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi d21680 1 a21680 1 as_me=`$as_basename "$0" || a21690 1 d21701 4 a21704 4 echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then d21709 1 a21709 1 rm -f conf$$.sh a21757 2 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } a21830 6 if mkdir -p . 2>/dev/null; then as_mkdir_p=: else as_mkdir_p=false fi d21847 1 a21847 1 $as_unset CDPATH d21864 1 a21864 1 generated by GNU Autoconf 2.57. Invocation command line was a21903 1 -q, --quiet do not print progress messages d21926 1 a21926 1 configured by $0, generated by GNU Autoconf 2.57, d21947 3 a21949 6 ac_shift=: ;; -*) ac_option=$1 ac_optarg=$2 ac_shift=shift d21951 1 a21953 1 ac_option=$1 d21957 1 a21957 1 case $ac_option in d21960 5 a21965 2 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; d21980 2 a21981 2 $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" d21984 2 a21985 2 $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" a21986 3 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; a22000 14 ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi d22039 3 d22048 1 a22049 1 "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;; d22052 1 d22054 1 d22059 2 a22080 3 # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. d22089 1 a22089 1 d22091 1 a22091 1 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && d22095 1 a22095 1 tmp=./confstat$$-$RANDOM d22099 1 a22099 1 echo "$me: cannot create a temporary directory in ." >&2 a22190 1 s,@@EGREP@@,$EGREP,;t t d22250 4 a22295 1 s,@@MARK64@@,$MARK64,;t t a22314 1 s,@@LTLIBOBJS@@,$LTLIBOBJS,;t t d22385 19 a22403 24 { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } d22433 1 a22433 1 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` d22623 1 a22623 1 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS d22647 1 a22647 1 echo ' fi # grep' >>$CONFIG_STATUS d22687 1 a22687 1 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then d22703 19 a22721 24 { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } d22786 1 a22786 1 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` d22855 19 a22873 24 { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } a23002 3 ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" d23004 1 a23004 1 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false d23059 19 a23077 24 { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } d23107 1 a23107 1 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` @ 1.14 log @Resolve: RPM 4.0.3 -> RPM 4.0.4 @ text @a1 1 d3 1 a3 2 # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. d5 2 d9 232 a241 12 # Defaults: ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: ac_help="$ac_help --enable-shared[=PKGS] build shared libraries [default=yes]" ac_help="$ac_help --enable-static[=PKGS] build static libraries [default=yes]" ac_help="$ac_help --enable-fast-install[=PKGS] optimize for fast installation [default=yes]" ac_help="$ac_help --with-gnu-ld assume the C compiler uses GNU ld [default=no]" d251 1 d318 1 a318 1 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}" d401 72 a472 22 ac_help="$ac_help --disable-libtool-lock avoid locking (might break parallel builds)" ac_help="$ac_help --with-pic try to use only PIC/non-PIC objects [default=use both]" ac_help="$ac_help --without-db do not use internal Berkeley db" ac_help="$ac_help --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib" ac_help="$ac_help --disable-nls do not use Native Language Support" ac_help="$ac_help --with-included-gettext use the GNU gettext library included here" ac_help="$ac_help --with-glob use the internal GNU glob " ac_help="$ac_help --with-python build rpm python bindings " ac_help="$ac_help --with-apidocs build rpm API docs " ac_help="$ac_help --with-dmalloc build with dmalloc debugging support " ac_help="$ac_help --enable-broken-chown this system's chown follows symbolic links" d475 2 d479 1 a479 2 build=NONE cache_file=./config.cache a480 1 host=NONE a481 1 nonopt=NONE a489 1 target=NONE d493 6 a511 7 # Initialize some other variables. subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 a514 1 d522 1 a522 4 case "$ac_option" in -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) ac_optarg= ;; esac d526 1 a526 1 case "$ac_option" in d531 1 a531 1 bindir="$ac_optarg" ;; d534 1 a534 1 ac_prev=build ;; d536 1 a536 1 build="$ac_optarg" ;; d543 4 a546 1 cache_file="$ac_optarg" ;; d552 1 a552 1 datadir="$ac_optarg" ;; d555 1 a555 1 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` d557 5 a561 5 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` eval "enable_${ac_feature}=no" ;; d564 1 a564 1 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` d566 6 a571 6 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` case "$ac_option" in *=*) ;; d574 1 a574 1 eval "enable_${ac_feature}='$ac_optarg'" ;; d583 1 a583 1 exec_prefix="$ac_optarg" ;; d589 6 a594 54 -help | --help | --hel | --he) # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat << EOF Usage: configure [options] [host] Options: [defaults in brackets after descriptions] Configuration: --cache-file=FILE cache test results in FILE --help print this message --no-create do not create output files --quiet, --silent do not print \`checking...' messages --version print the version of autoconf that created configure Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [same as prefix] --bindir=DIR user executables in DIR [EPREFIX/bin] --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] --libexecdir=DIR program executables in DIR [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data in DIR [PREFIX/share] --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data in DIR [PREFIX/com] --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] --libdir=DIR object code libraries in DIR [EPREFIX/lib] --includedir=DIR C header files in DIR [PREFIX/include] --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] --infodir=DIR info documentation in DIR [PREFIX/info] --mandir=DIR man documentation in DIR [PREFIX/man] --srcdir=DIR find the sources in DIR [configure dir or ..] --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names EOF cat << EOF Host type: --build=BUILD configure for building on BUILD [BUILD=HOST] --host=HOST configure for HOST [guessed] --target=TARGET configure for TARGET [TARGET=HOST] Features and packages: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR EOF if test -n "$ac_help"; then echo "--enable and --with options recognized:$ac_help" fi exit 0 ;; d597 1 a597 1 ac_prev=host ;; d599 1 a599 1 host="$ac_optarg" ;; d606 1 a606 1 includedir="$ac_optarg" ;; d611 1 a611 1 infodir="$ac_optarg" ;; d616 1 a616 1 libdir="$ac_optarg" ;; d623 1 a623 1 libexecdir="$ac_optarg" ;; d632 1 a632 1 localstatedir="$ac_optarg" ;; d637 1 a637 1 mandir="$ac_optarg" ;; d644 1 a644 1 | --no-cr | --no-c) d658 1 a658 1 oldincludedir="$ac_optarg" ;; d663 1 a663 1 prefix="$ac_optarg" ;; d670 1 a670 1 program_prefix="$ac_optarg" ;; d677 1 a677 1 program_suffix="$ac_optarg" ;; d694 1 a694 1 program_transform_name="$ac_optarg" ;; d704 1 a704 1 sbindir="$ac_optarg" ;; d715 1 a715 1 sharedstatedir="$ac_optarg" ;; d720 1 a720 1 site="$ac_optarg" ;; d725 1 a725 1 srcdir="$ac_optarg" ;; d732 1 a732 1 sysconfdir="$ac_optarg" ;; d735 1 a735 1 ac_prev=target ;; d737 1 a737 1 target="$ac_optarg" ;; d742 2 a743 3 -version | --version | --versio | --versi | --vers) echo "configure generated by autoconf version 2.13" exit 0 ;; d746 1 a746 1 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` d748 3 a750 3 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi d752 2 a753 2 case "$ac_option" in *=*) ;; d756 1 a756 1 eval "with_${ac_package}='$ac_optarg'" ;; d759 1 a759 1 ac_package=`echo $ac_option|sed -e 's/-*without-//'` d761 5 a765 5 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } fi ac_package=`echo $ac_package| sed 's/-/_/g'` eval "with_${ac_package}=no" ;; d776 1 a776 1 x_includes="$ac_optarg" ;; d783 1 a783 1 x_libraries="$ac_optarg" ;; d785 3 a787 1 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } d790 10 d801 5 a805 7 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then echo "configure: warning: $ac_option: invalid host type" 1>&2 fi if test "x$nonopt" != xNONE; then { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } fi nonopt="$ac_option" d812 3 a814 1 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } d817 10 a826 21 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 # File descriptor usage: # 0 standard input # 1 file creation # 2 errors and warnings # 3 some systems may open it to /dev/tty # 4 used on the Kubota Titan # 6 checking for... messages and results # 5 compiler messages saved in config.log if test "$silent" = yes; then exec 6>/dev/null else exec 6>&1 fi exec 5>./config.log echo "\ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. " 1>&5 d828 3 a830 4 # Strip out --no-create and --no-recursion so they do not pile up. # Also quote any args containing shell metacharacters. ac_configure_args= for ac_arg d832 5 a836 8 case "$ac_arg" in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; *) ac_configure_args="$ac_configure_args $ac_arg" ;; d840 20 a859 9 # NLS nuisances. # Only set these to C if already set. These must not be set unconditionally # because not all systems understand e.g. LANG=C (notably SCO). # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! # Non-C LC_CTYPE values break the ctype check. if test "${LANG+set}" = set; then LANG=C; export LANG; fi if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi d861 1 a861 4 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo > confdefs.h a862 3 # A filename unique to this package, relative to the directory that # configure is in, which we can look for to find out if srcdir is correct. ac_unique_file=rpmqv.c d868 12 a879 3 ac_prog=$0 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. d889 2 a890 1 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } d892 2 a893 1 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } d896 429 a1324 1 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` d1326 28 d1364 3 a1366 1 echo "loading site script $ac_site_file" d1372 10 a1381 2 echo "loading cache $cache_file" . $cache_file d1383 54 a1436 2 echo "creating cache $cache_file" > $cache_file a1439 1 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. d1441 20 a1460 17 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross ac_exeext= ac_objext=o if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then ac_n= ac_c=' ' ac_t=' ' else ac_n=-n ac_c= ac_t= fi else ac_n= ac_c='\c' ac_t= fi d1473 4 d1480 83 a1562 19 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } fi 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. # Do some error checking and defaulting for the host and target type. # The inputs are: # configure --host=HOST --target=TARGET --build=BUILD NONOPT # # The rules are: # 1. You are not allowed to specify --host, --target, and nonopt at the # same time. # 2. Host defaults to nonopt. # 3. If nonopt is not specified, then host defaults to the current host, # as determined by config.guess. # 4. Target and build default to nonopt. # 5. If nonopt is not specified, then target and build default to host. d1566 3 a1568 71 case $host---$target---$nonopt in NONE---*---* | *---NONE---* | *---*---NONE) ;; *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; esac # 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:760: 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 echo $ac_n "checking target system type""... $ac_c" 1>&6 echo "configure:781: checking target system type" >&5 target_alias=$target case "$target_alias" in NONE) case $nonopt in NONE) target_alias=$host_alias ;; *) target_alias=$nonopt ;; esac ;; esac target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$target" 1>&6 echo $ac_n "checking build system type""... $ac_c" 1>&6 echo "configure:799: checking build system type" >&5 build_alias=$build case "$build_alias" in NONE) case $nonopt in NONE) build_alias=$host_alias ;; *) build_alias=$nonopt ;; esac ;; esac build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$build" 1>&6 test "$host_alias" != "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && d1570 1 d1572 1 a1572 1 d1580 1 d1585 2 a1586 2 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 echo "configure:834: checking for a BSD compatible install" >&5 d1588 2 a1589 2 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d1591 30 a1620 20 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 fi fi d1622 5 a1626 4 ;; esac done IFS="$ac_save_IFS" d1630 1 a1630 1 INSTALL="$ac_cv_path_install" d1636 1 a1636 1 INSTALL="$ac_install_sh" d1639 2 a1640 1 echo "$ac_t""$INSTALL" 1>&6 d1646 1 a1646 1 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' d1650 2 a1651 2 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 echo "configure:887: checking whether build environment is sane" >&5 d1654 1 a1654 1 echo timestamp > conftestfile d1661 1 a1661 1 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` d1664 1 a1664 1 set X `ls -t $srcdir/configure conftestfile` d1666 3 a1668 2 if test "$*" != "X $srcdir/configure conftestfile" \ && test "$*" != "X conftestfile $srcdir/configure"; then d1674 5 a1678 2 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" 1>&2; exit 1; } d1681 1 a1681 1 test "$2" = conftestfile d1687 5 a1691 14 { echo "configure: error: newly created file is older than distributed files! Check your system clock" 1>&2; exit 1; } fi rm -f conftest* echo "$ac_t""yes" 1>&6 if test "$program_transform_name" = s,x,x,; then program_transform_name= else # Double any \ or $. echo might interpret backslashes. cat <<\EOF_SED > conftestsed s,\\,\\\\,g; s,\$,$$,g EOF_SED program_transform_name="`echo $program_transform_name|sed -f conftestsed`" rm -f conftestsed d1693 2 d1696 1 a1696 1 program_transform_name="s,^,${program_prefix},; $program_transform_name" d1699 59 a1757 1 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" d1759 2 a1760 2 # sed with no file args requires a program. test "$program_transform_name" = "" && program_transform_name="s,x,x," d1762 5 a1766 5 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo "configure:944: 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 d1768 1 a1768 1 cat > conftestmake <<\EOF d1770 2 a1771 2 @@echo 'ac_maketemp="${MAKE}"' EOF d1773 1 a1773 1 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` d1779 1 a1779 1 rm -f conftestmake d1782 2 a1783 1 echo "$ac_t""yes" 1>&6 d1786 2 a1787 1 echo "$ac_t""no" 1>&6 d1791 7 d1799 3 a1801 1 PACKAGE=rpm a1802 1 VERSION=4.0.4 d1804 1 a1804 4 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; } fi cat >> confdefs.h <> confdefs.h <&6 echo "configure:990: checking for working aclocal" >&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 echo "$ac_t""found" 1>&6 d1871 2 a1872 2 ACLOCAL="$missing_dir/missing aclocal" echo "$ac_t""missing" 1>&6 d1875 12 a1886 8 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 echo "configure:1003: 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. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf echo "$ac_t""found" 1>&6 d1888 16 a1903 2 AUTOCONF="$missing_dir/missing autoconf" echo "$ac_t""missing" 1>&6 d1905 4 a1908 9 echo $ac_n "checking for working automake""... $ac_c" 1>&6 echo "configure:1016: checking for working automake" >&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 echo "$ac_t""found" 1>&6 d1910 2 a1911 2 AUTOMAKE="$missing_dir/missing automake" echo "$ac_t""missing" 1>&6 d1914 1 a1914 8 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 echo "configure:1029: 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. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader echo "$ac_t""found" 1>&6 d1916 1 a1916 2 AUTOHEADER="$missing_dir/missing autoheader" echo "$ac_t""missing" 1>&6 a1918 11 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 echo "configure:1042: 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. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo echo "$ac_t""found" 1>&6 else MAKEINFO="$missing_dir/missing makeinfo" echo "$ac_t""missing" 1>&6 d1920 5 d1927 3 a1933 1 d1937 40 a1976 1 LIBOBJS= d1978 4 a1981 1 # Extract the first word of "gcc", so it can be a program name with args. d1983 46 a2028 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1068: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d2033 14 a2046 10 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_prog_CC="gcc" break fi done IFS="$ac_save_ifs" d2049 1 a2049 1 CC="$ac_cv_prog_CC" d2051 46 a2096 1 echo "$ac_t""$CC" 1>&6 d2098 1 a2098 1 echo "$ac_t""no" 1>&6 d2101 1 d2105 4 a2108 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1098: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 a2112 1 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" d2114 18 a2131 13 ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" break fi done IFS="$ac_save_ifs" d2136 1 a2136 1 if test $# -gt 0; then d2141 1 a2141 3 set dummy "$ac_dir/$ac_word" "$@@" shift ac_cv_prog_CC="$@@" d2146 1 a2146 1 CC="$ac_cv_prog_CC" d2148 2 a2149 1 echo "$ac_t""$CC" 1>&6 d2151 2 a2152 1 echo "$ac_t""no" 1>&6 d2155 11 a2165 9 if test -z "$CC"; then case "`uname -s`" in *win32* | *WIN32*) # 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:1149: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d2170 14 a2183 10 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_prog_CC="cl" break fi done IFS="$ac_save_ifs" d2186 1 a2186 1 CC="$ac_cv_prog_CC" d2188 2 a2189 1 echo "$ac_t""$CC" 1>&6 d2191 6 a2196 1 echo "$ac_t""no" 1>&6 d2198 24 a2221 2 ;; esac d2223 12 a2234 1 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } d2237 2 a2238 2 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 echo "configure:1181: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d2240 2 a2241 6 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross d2243 1 a2243 1 cat > conftest.$ac_ext << EOF a2244 2 #line 1192 "configure" #include "confdefs.h" d2246 33 a2278 48 main(){return(0);} EOF if { (eval echo configure:1197: \"$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 ac_cv_prog_cc_cross=no else ac_cv_prog_cc_cross=yes fi else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_prog_cc_works=no fi rm -fr conftest* ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 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:1223: 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:1228: 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 cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no fi fi d2280 3 a2282 1 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 d2284 49 a2332 2 if test $ac_cv_prog_gcc = yes; then GCC=yes d2334 41 a2374 1 GCC= d2376 2 d2379 30 a2408 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:1256: 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 d2410 5 a2414 5 echo 'void f(){}' > conftest.c if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then ac_cv_prog_cc_g=yes else ac_cv_prog_cc_g=no a2415 1 rm -f conftest* d2417 19 a2435 1 fi d2437 135 a2571 1 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 d2573 1 a2573 1 CFLAGS="$ac_save_CFLAGS" d2587 83 a2670 5 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 echo "configure:1288: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= d2672 70 a2741 19 if test -z "$CPP"; then if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else # This must be in double quotes, not single quotes, because CPP may get # substituted into the Makefile and "${CC-cc}" will confuse make. CPP="${CC-cc} -E" # 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:1309: \"$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 d2744 35 a2778 16 echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 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:1326: \"$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 : d2780 3 a2782 22 echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 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:1343: \"$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 : else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP=/lib/cpp d2784 2 d2787 4 d2792 5 a2796 1 rm -f conftest* d2798 10 a2807 4 rm -f conftest* ac_cv_prog_CPP="$CPP" fi CPP="$ac_cv_prog_CPP" d2809 2 a2810 1 ac_cv_prog_CPP="$CPP" d2812 1 a2812 1 echo "$ac_t""$CPP" 1>&6 a2813 8 echo $ac_n "checking for AIX""... $ac_c" 1>&6 echo "configure:1368: checking for AIX" >&5 cat > conftest.$ac_ext <&5 | egrep "yes" >/dev/null 2>&1; then rm -rf conftest* echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF #define _ALL_SOURCE 1 EOF d2818 31 a2848 3 else rm -rf conftest* echo "$ac_t""no" 1>&6 a2849 1 rm -f conftest* d2852 12 a2863 23 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 echo "configure:1393: 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:1403: \"$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" d2865 5 a2869 5 rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 MINIX=yes d2871 2 a2872 2 echo "$ac_t""no" 1>&6 MINIX= a2874 4 if test "$MINIX" = yes; then cat >> confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF a2875 3 cat >> confdefs.h <<\EOF #define _POSIX_1_SOURCE 2 EOF a2876 3 cat >> confdefs.h <<\EOF #define _MINIX 1 EOF d2878 1 a2878 1 fi d2880 4 a2883 8 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl 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:1445: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d2885 46 a2930 9 if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else 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_prog_CXX="$ac_prog" d2934 3 a2936 6 IFS="$ac_save_ifs" fi fi CXX="$ac_cv_prog_CXX" if test -n "$CXX"; then echo "$ac_t""$CXX" 1>&6 d2938 1 a2938 1 echo "$ac_t""no" 1>&6 d2941 4 a2944 3 test -n "$CXX" && break done test -n "$CXX" || CXX="gcc" a2946 2 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 echo "configure:1477: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 d2948 62 a3009 6 ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross d3011 4 a3014 1 cat > conftest.$ac_ext << EOF d3016 23 a3038 12 #line 1488 "configure" #include "confdefs.h" int main(){return(0);} EOF if { (eval echo configure:1493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cxx_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then ac_cv_prog_cxx_cross=no else ac_cv_prog_cxx_cross=yes d3041 1 a3041 3 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_prog_cxx_works=no d3043 3 a3045 21 rm -fr conftest* ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 if test $ac_cv_prog_cxx_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 ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 echo "configure:1519: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 cross_compiling=$ac_cv_prog_cxx_cross echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 echo "configure:1524: checking whether we are using GNU C++" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d3047 6 a3052 9 cat > conftest.C <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gxx=yes else ac_cv_prog_gxx=no d3054 7 d3063 2 a3064 1 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 d3066 2 a3067 2 if test $ac_cv_prog_gxx = yes; then GXX=yes d3069 1 a3069 1 GXX= d3071 38 a3108 8 ac_test_CXXFLAGS="${CXXFLAGS+set}" ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS= echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 echo "configure:1552: checking whether ${CXX-g++} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d3110 4 a3113 3 echo 'void f(){}' > conftest.cc if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then ac_cv_prog_cxx_g=yes d3115 2 a3116 3 ac_cv_prog_cxx_g=no fi rm -f conftest* d3118 2 d3121 1 d3123 21 a3143 6 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS="$ac_save_CXXFLAGS" elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" d3145 1 a3145 1 CXXFLAGS="-g" d3148 14 a3161 6 if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi d3163 4 a3166 19 for ac_declaration in \ ''\ '#include ' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat > conftest.$ac_ext < $ac_declaration int main() { exit (42); ; return 0; } EOF if { (eval echo configure:1601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d3169 5 a3173 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* continue d3175 12 a3186 12 rm -f conftest* cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* break d3188 4 a3191 9 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* done if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h d3193 5 d3199 12 d3212 8 a3219 1 AS=${AS-as} d3221 3 a3223 2 if test "$ac_cv_prog_gcc" = yes; then CFLAGS="$CFLAGS -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" d3225 2 a3226 1 export CFLAGS d3228 4 a3231 9 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 echo "configure:1642: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d3233 33 a3265 16 # This must be in double quotes, not single quotes, because CPP may get # substituted into the Makefile and "${CC-cc}" will confuse make. CPP="${CC-cc} -E" # 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:1663: \"$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 : d3267 21 a3287 15 echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 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:1680: \"$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 d3290 1 a3290 22 echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 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:1697: \"$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 : else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP=/lib/cpp d3293 1 d3295 18 a3312 1 rm -f conftest* d3315 1 a3315 1 ac_cv_prog_CPP="$CPP" d3317 5 a3321 1 CPP="$ac_cv_prog_CPP" d3323 18 a3340 3 ac_cv_prog_CPP="$CPP" fi echo "$ac_t""$CPP" 1>&6 d3342 24 a3365 5 if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 echo "configure:1723: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d3367 10 a3376 14 ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "$ac_pattern" >/dev/null 2>&1; then rm -rf conftest* ac_cv_prog_gcc_traditional=yes else rm -rf conftest* ac_cv_prog_gcc_traditional=no d3378 3 a3380 1 rm -f conftest* d3382 3 a3385 11 if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "$ac_pattern" >/dev/null 2>&1; then rm -rf conftest* ac_cv_prog_gcc_traditional=yes a3386 1 rm -f conftest* d3388 58 a3445 1 fi d3448 1 a3448 5 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi fi d3451 70 a3520 4 echo $ac_n "checking whether va_list assignments need array notation""... $ac_c" 1>&6 echo "configure:1770: checking whether va_list assignments need array notation" >&5 if eval "test \"`echo '$''{'ac_cv_valistisarray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d3522 4 a3525 2 if test "$cross_compiling" = yes; then ac_cv_valistisarray=false d3527 46 a3572 18 cat > conftest.$ac_ext < #include void foo(int i, ...) { va_list ap1, ap2; va_start(ap1, i); ap2 = ap1; if (va_arg(ap2, int) != 123 || va_arg(ap1, int) != 123) { exit(1); } va_end(ap1); va_end(ap2); } int main() { foo(0, 123); return(0); } EOF if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_valistisarray=false d3574 1 a3574 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_valistisarray=true d3576 3 a3578 1 rm -fr conftest* d3580 4 a3583 1 d3587 1 a3587 4 if test "$ac_cv_valistisarray" = true ; then cat >> confdefs.h <<\EOF #define HAVE_VA_LIST_AS_ARRAY 1 EOF d3589 3 a3591 4 echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 fi a3592 5 RPMUSER=rpm RPMUID=37 RPMGROUP=rpm RPMGID=37 export RPMUSER RPMUID RPMGROUP RPMGID d3594 3 d3599 3 d3603 1 d3605 17 a3621 6 # Extract the first word of "ctags", so it can be a program name with args. set dummy ctags; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1830: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CTAGS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d3623 15 a3637 21 case "$CTAGS" in /*) ac_cv_path_CTAGS="$CTAGS" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_CTAGS="$CTAGS" # 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_CTAGS="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_CTAGS" && ac_cv_path_CTAGS="/bin/true" ;; esac d3639 4 a3642 3 CTAGS="$ac_cv_path_CTAGS" if test -n "$CTAGS"; then echo "$ac_t""$CTAGS" 1>&6 d3644 2 a3645 1 echo "$ac_t""no" 1>&6 d3648 16 a3663 6 # Extract the first word of "cscope", so it can be a program name with args. set dummy cscope; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1866: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CSCOPE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d3665 15 a3679 21 case "$CSCOPE" in /*) ac_cv_path_CSCOPE="$CSCOPE" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_CSCOPE="$CSCOPE" # 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_CSCOPE="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_CSCOPE" && ac_cv_path_CSCOPE="/bin/true" ;; esac d3681 4 a3684 3 CSCOPE="$ac_cv_path_CSCOPE" if test -n "$CSCOPE"; then echo "$ac_t""$CSCOPE" 1>&6 d3686 9 a3694 1 echo "$ac_t""no" 1>&6 d3698 89 a3786 22 echo $ac_n "checking flag used by libtool to link rpm""... $ac_c" 1>&6 echo "configure:1901: checking flag used by libtool to link rpm" >&5 if test X"$GCC" = Xyes ; then case "$target" in *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-sysv5uw*) LDFLAGS_STATUS="-static";; # Unixware has no shared libthread. *-*-*) LDFLAGS_STATIC="-all-static";; esac elif test X"$CC" = Xcc ; then case "$target" in *-*-linux*) LDFLAGS_STATIC="-all-static";; *-*-freebsd*) LDFLAGS_STATIC="-all-static";; *-*-osf*) LDFLAGS_STATIC="";; # OSF5 has no shared pthreads libs *-*-aix*) LDFLAGS_STATIC="-static";; # -Wl,-bnso doesn't seem to work... *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-irix*) LDFLAGS_STATIC="-static";; #should be -non_shared, but can't # link because of crt1.o then. *-*-ultrix*) LDFLAGS_STATIC="-all-static";; #ultrix doesn't have shared libs. *-*-*) LDFLAGS_STATIC="-static" echo "configure: warning: d3788 20 a3807 3 Unable to guess what option to pass to $CC to generate a static executable. You will need to set the LDFLAGS_STATIC macro in Makefile.inc to the appropriate argument(s) if you want to build a static rpm executable. d3809 14 a3822 3 " 1>&2 ;; esac d3824 5 a3828 2 # just link it dynamically LDFLAGS_STATIC="" d3830 42 a3871 2 LDFLAGS_STATIC="${LDFLAGS} ${LDFLAGS_STATIC}" # libtool format echo "$ac_t""$LDFLAGS_STATIC" 1>&6 d3873 35 d3909 8 a3916 13 echo $ac_n "checking POSIX chmod""... $ac_c" 1>&6 echo "configure:1939: checking POSIX chmod" >&5 touch foo.chmodtest chmod 744 foo.chmodtest chmod +X foo.chmodtest 2>/dev/null a=`ls -l foo.chmodtest | awk '{print $1}'` rm -f foo.chmodtest if test "$a" = "-rwxr-xr-x"; then echo "$ac_t""yes" 1>&6 FIXPERMS=a+rX,g-w,o-w else echo "$ac_t""no (tell your OS vendor about GNU fileutils)" 1>&6 FIXPERMS=a+r,g-w,o-w d3919 59 a3977 24 for ac_prog in mkdir 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:1959: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$MKDIR" in /*) ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_MKDIR="$MKDIR" # 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_MKDIR="$ac_dir/$ac_word" d3981 5 a3985 3 IFS="$ac_save_ifs" ;; esac d3987 1 a3987 5 MKDIR="$ac_cv_path_MKDIR" if test -n "$MKDIR"; then echo "$ac_t""$MKDIR" 1>&6 else echo "$ac_t""no" 1>&6 d3989 4 d3994 1 a3994 3 test -n "$MKDIR" && break done test -n "$MKDIR" || MKDIR="mkdir" d3996 4 a3999 11 echo $ac_n "checking if $MKDIR supports -p""... $ac_c" 1>&6 echo "configure:1996: checking if $MKDIR supports -p" >&5 rm -rf conftest $MKDIR -p conftest/a 2>/dev/null if test $? = 0 ; then rmdir conftest/a 2>/dev/null if test $? = 0 ; then : else MKDIR_P=0 fi d4001 59 a4059 6 rmdir conftest 2>/dev/null if test $? = 0 ; then MKDIR_P="$MKDIR -p" else MKDIR_P=0 fi d4061 5 a4065 1 MKDIR_P=0 d4067 1 d4069 24 a4092 3 if test X"$MKDIR_P" = X0 ; then echo "$ac_t""no" 1>&6 MKDIR_P="`echo ${prefix}/lib/rpm/mkinstalldirs`" d4094 1 a4094 1 echo "$ac_t""yes" 1>&6 d4096 6 a4101 3 cat >> confdefs.h <&6 echo "configure:2031: 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 d4168 7 a4174 9 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" d4201 1 a4201 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" d4203 6 a4208 2 rm -f conftest* LIBS="$ac_save_LIBS" d4210 3 d4214 7 a4220 3 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lcposix" d4222 5 a4226 1 echo "$ac_t""no" 1>&6 d4229 30 a4258 1 d4261 16 d4278 8 d4288 371 a4658 4 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 echo "configure:2077: checking for ${CC-cc} option to accept ANSI C" >&5 if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d4666 2 a4667 1 # HP-UX -Aa -D_HPUX_SOURCE d4669 1 a4669 1 for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" d4672 7 a4678 3 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* d4732 3 a4734 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d4736 1 a4736 1 rm -f conftest* d4743 2 a4744 1 echo "$ac_t""none needed" 1>&6 d4746 2 a4747 1 echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6 d4756 2 a4757 2 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 echo "configure:2156: checking for function prototypes" >&5 d4759 4 a4762 2 echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF d4764 1 a4764 1 EOF d4768 2 a4769 1 echo "$ac_t""no" 1>&6 d4771 14 a4784 9 # Ensure some checks needed by ansi2knr itself. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:2169: 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 <&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* d4812 4 a4815 5 echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_stdc=no d4817 1 a4817 1 rm -f conftest* d4821 7 a4827 3 cat > conftest.$ac_ext </dev/null 2>&1; then a4834 1 rm -rf conftest* d4843 7 a4849 3 cat > conftest.$ac_ext </dev/null 2>&1; then a4856 1 rm -rf conftest* d4865 1 a4865 1 if test "$cross_compiling" = yes; then d4868 7 a4874 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then d4912 6 a4917 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_header_stdc=no d4919 1 a4919 1 rm -fr conftest* a4920 1 d4923 3 d4927 1 a4927 3 echo "$ac_t""$ac_cv_header_stdc" 1>&6 if test $ac_cv_header_stdc = yes; then cat >> confdefs.h <<\EOF d4929 1 a4929 1 EOF d4933 2 a4934 1 for ac_hdr in string.h d4936 76 a5011 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:2276: 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 d5013 46 a5058 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:2286: \"$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" d5060 1 a5060 5 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" d5062 3 a5064 1 rm -f conftest* d5066 5 a5070 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d5072 1 a5074 1 fi d5079 1 a5079 1 # Extract the first word of "$ac_prog", so it can be a program name with args. d5081 4 a5084 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2320: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d5089 14 a5102 10 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_prog_AWK="$ac_prog" break fi done IFS="$ac_save_ifs" d5105 1 a5105 1 AWK="$ac_cv_prog_AWK" d5107 2 a5108 1 echo "$ac_t""$AWK" 1>&6 d5110 2 a5111 1 echo "$ac_t""no" 1>&6 d5114 1 a5114 1 test -n "$AWK" && break d5117 16 a5132 26 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 echo "configure:2350: 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 rm -f conftestdata if ln -s X conftestdata 2>/dev/null then rm -f conftestdata ac_cv_prog_LN_S="ln -s" else ac_cv_prog_LN_S=ln fi fi LN_S="$ac_cv_prog_LN_S" if test "$ac_cv_prog_LN_S" = "ln -s"; then echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo "configure:2371: 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 d5134 1 a5134 1 cat > conftestmake <<\EOF d5136 2 a5137 2 @@echo 'ac_maketemp="${MAKE}"' EOF d5139 1 a5139 1 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` d5145 1 a5145 1 rm -f conftestmake d5148 2 a5149 1 echo "$ac_t""yes" 1>&6 d5152 2 a5153 1 echo "$ac_t""no" 1>&6 a5157 62 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 echo "configure:2399: checking for Cygwin environment" >&5 if eval "test \"`echo '$''{'ac_cv_cygwin'+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* ac_cv_cygwin=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_cygwin=no fi rm -f conftest* rm -f conftest* fi echo "$ac_t""$ac_cv_cygwin" 1>&6 CYGWIN= test "$ac_cv_cygwin" = yes && CYGWIN=yes echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 echo "configure:2432: checking for mingw32 environment" >&5 if eval "test \"`echo '$''{'ac_cv_mingw32'+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* ac_cv_mingw32=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_mingw32=no fi rm -f conftest* rm -f conftest* fi echo "$ac_t""$ac_cv_mingw32" 1>&6 MINGW32= test "$ac_cv_mingw32" = yes && MINGW32=yes d5179 1 a5179 2 fi d5201 1 a5201 2 fi d5223 10 d5235 1 d5242 1 a5242 2 fi d5246 2 a5247 2 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 echo "configure:2541: checking for ld used by GCC" >&5 d5276 2 a5277 2 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 echo "configure:2571: checking for GNU ld" >&5 d5279 2 a5280 2 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 echo "configure:2574: checking for non-GNU ld" >&5 d5282 2 a5283 2 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d5286 1 a5286 1 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" d5309 2 a5310 1 echo "$ac_t""$LD" 1>&6 d5312 2 a5313 1 echo "$ac_t""no" 1>&6 d5315 7 a5321 5 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 echo "configure:2609: checking if the linker ($LD) is GNU ld" >&5 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d5330 2 a5331 2 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 d5335 4 a5338 4 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 echo "configure:2626: checking for $LD option to reload object files" >&5 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d5342 2 a5343 2 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6 d5347 4 a5350 4 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 echo "configure:2638: checking for BSD-compatible nm" >&5 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d5356 1 a5356 1 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" d5383 24 a5406 1 echo "$ac_t""$NM" 1>&6 d5408 67 a5474 4 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 echo "configure:2676: checking how to recognise dependant libraries" >&5 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d5485 1 a5485 1 # ['file_magic [regex]'] -- check by looking for files in library path d5514 1 a5514 1 rhapsody* | darwin1.012) d5549 1 a5549 1 irix5* | irix6*) d5551 1 a5551 1 irix5*) d5573 1 a5573 1 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* ) d5596 10 d5644 3 d5652 2 a5653 2 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6 a5656 51 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 echo "configure:2849: checking for object suffix" >&5 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else rm -f conftest* echo 'int i = 1;' > conftest.$ac_ext if { (eval echo configure:2855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then for ac_file in conftest.*; do case $ac_file in *.c) ;; *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; esac done else { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } fi rm -f conftest* fi echo "$ac_t""$ac_cv_objext" 1>&6 OBJEXT=$ac_cv_objext ac_objext=$ac_cv_objext echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 echo "configure:2875: checking for executable suffix" >&5 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$CYGWIN" = yes || test "$MINGW32" = yes; then ac_cv_exeext=.exe else rm -f conftest* echo 'int main () { return 0; }' > conftest.$ac_ext ac_cv_exeext= if { (eval echo configure:2885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for file in conftest.*; do case $file in *.c | *.o | *.obj) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done else { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } fi rm -f conftest* test x"${ac_cv_exeext}" = x && ac_cv_exeext=no fi fi a5657 4 EXEEXT="" test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} echo "$ac_t""${ac_cv_exeext}" 1>&6 ac_exeext=$EXEEXT a5658 5 if test $host != $build; then ac_tool_prefix=${host_alias}- else ac_tool_prefix= fi d5664 4 a5667 4 echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6 echo "configure:2916: checking command to parse $NM output" >&5 if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d5669 1 a5669 1 d5685 3 d5698 1 d5700 1 a5700 1 irix*) d5703 3 d5748 5 a5752 1 if { (eval echo configure:2992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d5755 5 a5759 1 if { (eval echo configure:2995: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then d5781 1 a5781 1 # define lt_ptr_t void * d5783 1 a5783 1 # define lt_ptr_t char * d5790 1 a5790 1 lt_ptr_t address; d5795 1 a5795 1 sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext d5797 1 a5797 1 {0, (lt_ptr_t) 0} d5810 5 a5814 1 if { (eval echo configure:3046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d5847 1 d5850 1 d5852 4 a5855 2 if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then echo "$ac_t""failed" 1>&6 d5857 2 a5858 1 echo "$ac_t""ok" 1>&6 d5861 2 a5862 1 for ac_hdr in dlfcn.h d5864 76 a5939 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:3092: 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 d5941 46 a5986 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:3102: \"$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" d5988 1 a5988 5 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" d5990 3 a5992 1 rm -f conftest* d5994 5 a5998 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d6000 1 d6007 1 d6012 4 a6015 4 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 echo "configure:3137: checking for ${ac_tool_prefix}file" >&5 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6067 2 a6068 1 echo "$ac_t""$MAGIC_CMD" 1>&6 d6070 2 a6071 1 echo "$ac_t""no" 1>&6 d6076 4 a6079 4 echo $ac_n "checking for file""... $ac_c" 1>&6 echo "configure:3199: checking for file" >&5 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6131 2 a6132 1 echo "$ac_t""$MAGIC_CMD" 1>&6 d6134 2 a6135 1 echo "$ac_t""no" 1>&6 d6147 2 a6148 1 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. d6150 4 a6153 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3270: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6158 14 a6171 10 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_prog_RANLIB="${ac_tool_prefix}ranlib" break fi done IFS="$ac_save_ifs" d6174 1 a6174 1 RANLIB="$ac_cv_prog_RANLIB" d6176 2 a6177 1 echo "$ac_t""$RANLIB" 1>&6 d6179 2 a6180 1 echo "$ac_t""no" 1>&6 d6183 1 a6183 1 d6185 1 a6185 1 if test -n "$ac_tool_prefix"; then d6188 4 a6191 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3302: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6193 2 a6194 2 if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. d6196 15 a6210 11 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_prog_RANLIB="ranlib" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" d6213 4 a6216 3 RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then echo "$ac_t""$RANLIB" 1>&6 d6218 2 a6219 1 echo "$ac_t""no" 1>&6 d6222 1 d6224 1 a6224 2 RANLIB=":" fi d6227 2 a6228 1 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. d6230 4 a6233 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3337: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6238 14 a6251 10 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_prog_STRIP="${ac_tool_prefix}strip" break fi done IFS="$ac_save_ifs" d6254 1 a6254 1 STRIP="$ac_cv_prog_STRIP" d6256 2 a6257 1 echo "$ac_t""$STRIP" 1>&6 d6259 2 a6260 1 echo "$ac_t""no" 1>&6 d6263 1 a6263 1 d6265 1 a6265 1 if test -n "$ac_tool_prefix"; then d6268 4 a6271 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3369: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6273 2 a6274 2 if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. d6276 15 a6290 11 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_prog_STRIP="strip" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" d6293 4 a6296 3 STRIP="$ac_cv_prog_STRIP" if test -n "$STRIP"; then echo "$ac_t""$STRIP" 1>&6 d6298 2 a6299 1 echo "$ac_t""no" 1>&6 d6302 1 d6304 1 a6304 2 STRIP=":" fi a6313 2 : fi d6315 1 d6323 6 a6328 2 echo '#line 3418 "configure"' > conftest.$ac_ext if { (eval echo configure:3419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6348 4 a6351 4 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 echo "configure:3440: checking whether the C compiler needs -belf" >&5 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6353 2 a6354 1 a6355 1 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. d6357 11 a6367 3 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross d6369 3 a6371 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* d6391 4 a6394 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* lt_cv_cc_needs_belf=no d6396 1 a6396 1 rm -f conftest* a6397 1 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. d6399 3 a6401 3 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross d6404 2 a6405 2 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 d6490 8 a6498 1 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" d6505 2 a6506 2 echo $ac_n "checking for objdir""... $ac_c" 1>&6 echo "configure:3573: checking for objdir" >&5 d6516 3 a6518 1 echo "$ac_t""$objdir" 1>&6 d6527 1 a6527 2 fi d6533 4 a6536 4 echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6 echo "configure:3600: checking for $compiler option to produce PIC" >&5 if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6556 1 a6556 1 # we not sure about C++ programs. d6565 1 a6565 1 beos* | irix5* | irix6* | osf3* | osf4* | osf5*) d6591 1 d6594 2 a6595 3 # AIX 5 now supports IA64 processor lt_cv_prog_cc_static='-Bstatic' lt_cv_prog_cc_wl='-Wl,' d6597 1 a6597 1 lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' d6608 1 a6608 1 irix5* | irix6*) d6652 1 a6652 5 if test "x$host_vendor" = xsni; then lt_cv_prog_cc_wl='-LD' else lt_cv_prog_cc_wl='-Wl,' fi d6676 2 a6677 1 echo "$ac_t""none" 1>&6 d6679 2 a6680 1 echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6 d6683 4 a6686 4 echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6 echo "configure:3752: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6690 7 a6696 3 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* d6733 1 a6733 1 d6735 5 a6739 5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* lt_cv_prog_cc_pic_works=no d6741 1 a6741 1 rm -f conftest* d6743 1 a6743 1 d6754 2 a6755 1 echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6 d6760 2 a6761 1 echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2 d6764 2 a6765 1 echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2 d6770 4 a6773 4 echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6 echo "configure:3818: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6778 7 a6784 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* d6808 3 a6810 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d6812 1 a6812 1 rm -f conftest* d6820 2 a6821 1 echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6 d6832 4 a6835 4 echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6 echo "configure:3860: checking if $compiler supports -c -o file.$ac_objext" >&5 if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6837 1 a6837 1 d6852 1 a6852 1 if { (eval echo configure:3879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then d6876 2 a6877 1 echo "$ac_t""$compiler_c_o" 1>&6 d6881 4 a6884 4 echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6 echo "configure:3908: checking if $compiler supports -c -o file.lo" >&5 if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d6886 1 a6886 1 d6890 9 a6898 3 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* d6927 1 a6927 1 d6929 3 a6931 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d6933 2 a6934 1 rm -f conftest* d6936 1 a6936 1 d6940 2 a6941 1 echo "$ac_t""$compiler_o_lo" 1>&6 d6950 2 a6951 2 echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6 echo "configure:3954: checking if we can lock with hard links" >&5 d6958 2 a6959 1 echo "$ac_t""$hard_links" 1>&6 d6961 2 a6962 1 echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2 d6971 2 a6972 2 echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6 echo "configure:3973: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 d6977 7 a6983 3 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* d7012 1 a7012 1 d7014 3 a7016 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d7018 1 a7018 1 rm -f conftest* d7020 2 a7021 1 echo "$ac_t""$compiler_rtti_exceptions" 1>&6 d7031 2 a7032 2 echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6 echo "configure:4013: checking whether the linker ($LD) supports shared libraries" >&5 d7073 1 a7073 1 cygwin* | mingw* | pw32* ) d7081 3 a7083 1 d7170 1 a7170 1 ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~ d7188 2 a7189 2 archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; d7191 11 a7201 10 echo EXPORTS > $output_objdir/$soname-def; _lt_hint=1; cat $export_symbols | while read symbol; do set dummy \$symbol; case \$# in 2) echo " \$2 @@ \$_lt_hint ; " >> $output_objdir/$soname-def;; *) echo " \$2 @@ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; esac; _lt_hint=`expr 1 + \$_lt_hint`; done; d7296 27 d7329 1 d7333 19 a7351 16 collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct=yes else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi d7354 1 d7356 1 a7356 1 shared_flag='-G' d7358 5 a7362 1 shared_flag='${wl}-bM:SRE' a7363 1 hardcode_direct=yes a7365 19 if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # Test if we are trying to use run time linking, or normal AIX style linking. # If -brtl is somewhere in LDFLAGS, we need to do run time linking. aix_use_runtimelinking=no for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then aix_use_runtimelinking=yes break fi done exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi d7370 3 d7374 1 a7374 2 allow_undefined_flag=' -Wl,-G' archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" d7377 3 a7379 3 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-znodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" d7381 7 a7387 7 hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' # Warning - without using the other run time loading flags, -berok will # link without error, but may produce a broken library. allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' d7419 8 a7426 1 allow_undefined_flag='-undefined suppress' d7429 3 a7431 2 # yet detect zsh echo's removal of \ escapes. archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' d7483 1 a7483 1 irix5* | irix6*) d7486 1 d7489 1 a7490 1 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' d7507 1 a7507 1 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts' a7514 2 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' d7517 16 d7577 1 d7581 8 d7590 20 d7640 17 a7656 7 if test "x$host_vendor" = xsno; then archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts' hardcode_direct=yes # is this really true??? else archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie fi d7726 2 a7727 1 echo "$ac_t""$ld_shlibs" 1>&6 d7731 2 a7732 2 echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6 echo "configure:4629: checking how to hardcode library paths into programs" >&5 d7755 2 a7756 1 echo "$ac_t""$hardcode_action" 1>&6 d7760 2 a7761 2 echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6 echo "configure:4657: checking whether stripping libraries is possible" >&5 d7765 2 a7766 1 echo "$ac_t""yes" 1>&6 d7768 2 a7769 1 echo "$ac_t""no" 1>&6 d7776 2 a7777 2 echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6 echo "configure:4671: checking dynamic linker characteristics" >&5 d7804 3 d7818 9 a7826 9 aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; d7828 4 a7831 3 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. d7833 3 a7835 2 # If using run time linking (on AIX 4.2 or later) use lib.so instead of # lib.a to let people know that these are not typical AIX shared libraries. a7843 1 deplibs_check_method=pass_all d7845 1 d7893 1 a7893 1 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` d7976 5 a7980 2 irix5* | irix6*) version_type=irix d7986 1 a7986 1 irix5*) d8031 24 d8084 13 a8096 3 if test "$with_gnu_ld" = yes; then need_lib_prefix=no need_version=no d8114 2 a8115 2 soname_spec='${libname}${release}.so' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' d8119 1 d8162 6 d8207 2 a8208 1 echo "$ac_t""$dynamic_linker" 1>&6 d8212 35 a8246 3 echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6 echo "configure:5057: checking if libtool supports shared libraries" >&5 echo "$ac_t""$can_build_shared" 1>&6 d8283 12 a8294 46 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 echo "configure:5096: checking for dlopen in -ldl" >&5 ac_lib_var=`echo dl'_'dlopen | 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="-ldl $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 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for dlopen""... $ac_c" 1>&6 echo "configure:5134: checking for dlopen" >&5 if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < d8305 4 d8310 2 a8311 5 builtin and then its argument prototype would still apply. */ char dlopen(); int main() { d8315 1 a8315 1 #if defined (__stub_dlopen) || defined (__stub___dlopen) d8318 4 a8321 1 dlopen(); d8324 38 a8361 5 ; return 0; } EOF if { (eval echo configure:5162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_dlopen=yes" d8363 9 a8371 7 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_dlopen=no" fi rm -f conftest* fi d8373 54 a8426 13 if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then echo "$ac_t""yes" 1>&6 lt_cv_dlopen="dlopen" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for shl_load""... $ac_c" 1>&6 echo "configure:5180: checking for shl_load" >&5 if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < d8437 4 d8442 2 a8443 5 builtin and then its argument prototype would still apply. */ char shl_load(); int main() { d8447 1 a8447 1 #if defined (__stub_shl_load) || defined (__stub___shl_load) d8450 4 a8453 1 shl_load(); d8456 38 a8493 5 ; return 0; } EOF if { (eval echo configure:5208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_shl_load=yes" d8495 9 a8503 7 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_shl_load=no" fi rm -f conftest* fi d8505 41 a8545 3 if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then echo "$ac_t""yes" 1>&6 lt_cv_dlopen="shl_load" d8547 4 a8550 6 echo "$ac_t""no" 1>&6 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 echo "configure:5226: checking for dlopen in -lsvld" >&5 ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d8552 1 a8552 1 ac_save_LIBS="$LIBS" d8554 8 a8561 3 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 d8604 4 a8607 6 echo "$ac_t""no" 1>&6 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 echo "configure:5264: checking for shl_load in -ldld" >&5 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d8609 1 a8609 1 ac_save_LIBS="$LIBS" d8611 8 a8618 3 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" d8664 1 a8664 2 rm -f conftest* LIBS="$ac_save_LIBS" d8667 2 a8668 5 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" else echo "$ac_t""no" 1>&6 a8670 2 fi a8671 1 a8673 2 fi a8674 1 d8697 4 a8700 4 echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6 echo "configure:5336: checking whether a program can dlopen itself" >&5 if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d8708 1 a8708 1 #line 5346 "configure" d8769 5 a8773 1 if { (eval echo configure:5407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then d8788 1 a8788 1 d8790 2 a8791 2 echo "$ac_t""$lt_cv_dlopen_self" 1>&6 d8795 4 a8798 4 echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6 echo "configure:5430: checking whether a statically linked program can dlopen itself" >&5 if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d8806 1 a8806 1 #line 5440 "configure" d8867 5 a8871 1 if { (eval echo configure:5501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then d8886 1 a8886 1 d8888 2 a8889 2 echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6 d8919 4 a8922 4 echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6 echo "configure:5550: checking whether -lc should be explicitly linked in" >&5 if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d8927 5 a8931 1 if { (eval echo configure:5557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d8944 5 a8948 1 if { (eval echo configure:5570: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; } d8960 2 a8961 1 echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6 d8989 1 a8989 1 for var in echo old_CC old_CFLAGS \ d9001 1 d9051 3 d9055 1 a9055 1 Xsed="sed -e s/^X//" d9071 3 a9076 3 # Whether or not to build static libraries. build_old_libs=$enable_static d9242 3 d9367 3 a9369 3 # This is a source program that is used to create import libraries # on Windows for dlls which lack them. Don't remove nor modify the # starting and closing comments d9534 2 a9535 1 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. d9537 4 a9540 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6151: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9545 14 a9558 10 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_prog_AR="${ac_tool_prefix}ar" break fi done IFS="$ac_save_ifs" d9561 1 a9561 1 AR="$ac_cv_prog_AR" d9563 2 a9564 1 echo "$ac_t""$AR" 1>&6 d9566 2 a9567 1 echo "$ac_t""no" 1>&6 d9570 1 a9570 1 d9572 1 a9572 1 if test -n "$ac_tool_prefix"; then d9575 4 a9578 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6183: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9580 2 a9581 2 if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. d9583 15 a9597 11 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_prog_AR="ar" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=":" d9600 4 a9603 3 AR="$ac_cv_prog_AR" if test -n "$AR"; then echo "$ac_t""$AR" 1>&6 d9605 2 a9606 1 echo "$ac_t""no" 1>&6 d9609 1 d9611 1 a9611 2 AR=":" fi d9615 6 a9620 2 if test "$cross_compiling" != "yes"; then MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/sbin:/usr/sbin:/usr/local/sbin:/opt/gnu/bin" d9622 1 a9622 1 # Extract the first word of "bzip2", so it can be a program name with args. d9624 4 a9627 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6222: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_BZIP2BIN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9629 2 a9630 2 case "$BZIP2BIN" in /*) a9632 3 ?:/*) ac_cv_path_BZIP2BIN="$BZIP2BIN" # Let the user override the test with a dos path. ;; d9634 14 a9647 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_BZIP2BIN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d9652 2 a9653 1 BZIP2BIN="$ac_cv_path_BZIP2BIN" d9655 2 a9656 1 echo "$ac_t""$BZIP2BIN" 1>&6 d9658 2 a9659 1 echo "$ac_t""no" 1>&6 d9662 1 a9662 1 # Extract the first word of "cat", so it can be a program name with args. d9664 4 a9667 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6258: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CAT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9669 2 a9670 2 case "$__CAT" in /*) a9672 3 ?:/*) ac_cv_path___CAT="$__CAT" # Let the user override the test with a dos path. ;; d9674 14 a9687 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CAT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d9692 2 a9693 1 __CAT="$ac_cv_path___CAT" d9695 2 a9696 1 echo "$ac_t""$__CAT" 1>&6 d9698 2 a9699 1 echo "$ac_t""no" 1>&6 d9702 1 a9702 1 # Extract the first word of "chgrp", so it can be a program name with args. d9704 4 a9707 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6294: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CHGRP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9709 2 a9710 2 case "$__CHGRP" in /*) a9712 3 ?:/*) ac_cv_path___CHGRP="$__CHGRP" # Let the user override the test with a dos path. ;; d9714 14 a9727 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CHGRP="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d9732 2 a9733 1 __CHGRP="$ac_cv_path___CHGRP" d9735 2 a9736 1 echo "$ac_t""$__CHGRP" 1>&6 d9738 2 a9739 1 echo "$ac_t""no" 1>&6 d9742 1 a9742 1 # Extract the first word of "chmod", so it can be a program name with args. d9744 4 a9747 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6330: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CHMOD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9749 2 a9750 2 case "$__CHMOD" in /*) a9752 3 ?:/*) ac_cv_path___CHMOD="$__CHMOD" # Let the user override the test with a dos path. ;; d9754 14 a9767 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CHMOD="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d9772 2 a9773 1 __CHMOD="$ac_cv_path___CHMOD" d9775 2 a9776 1 echo "$ac_t""$__CHMOD" 1>&6 d9778 2 a9779 1 echo "$ac_t""no" 1>&6 d9782 1 a9782 1 # Extract the first word of "chown", so it can be a program name with args. d9784 4 a9787 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6366: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CHOWN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9789 2 a9790 2 case "$__CHOWN" in /*) a9792 3 ?:/*) ac_cv_path___CHOWN="$__CHOWN" # Let the user override the test with a dos path. ;; d9794 14 a9807 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CHOWN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d9812 2 a9813 1 __CHOWN="$ac_cv_path___CHOWN" d9815 2 a9816 1 echo "$ac_t""$__CHOWN" 1>&6 d9818 2 a9819 1 echo "$ac_t""no" 1>&6 d9822 1 a9822 1 # Extract the first word of "cp", so it can be a program name with args. d9824 4 a9827 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6402: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9829 2 a9830 2 case "$__CP" in /*) a9832 3 ?:/*) ac_cv_path___CP="$__CP" # Let the user override the test with a dos path. ;; d9834 14 a9847 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CP="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d9852 2 a9853 1 __CP="$ac_cv_path___CP" d9855 2 a9856 1 echo "$ac_t""$__CP" 1>&6 d9858 2 a9859 1 echo "$ac_t""no" 1>&6 d9862 1 a9862 1 # Extract the first word of "cpio", so it can be a program name with args. d9864 4 a9867 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6438: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CPIO'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9869 2 a9870 2 case "$__CPIO" in /*) a9872 3 ?:/*) ac_cv_path___CPIO="$__CPIO" # Let the user override the test with a dos path. ;; d9874 14 a9887 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CPIO="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d9892 2 a9893 1 __CPIO="$ac_cv_path___CPIO" d9895 2 a9896 1 echo "$ac_t""$__CPIO" 1>&6 d9898 2 a9899 1 echo "$ac_t""no" 1>&6 d9902 1 a9902 1 # Extract the first word of "file", so it can be a program name with args. d9904 4 a9907 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6474: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___FILE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9909 2 a9910 2 case "$__FILE" in /*) a9912 3 ?:/*) ac_cv_path___FILE="$__FILE" # Let the user override the test with a dos path. ;; d9914 14 a9927 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___FILE="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d9932 2 a9933 1 __FILE="$ac_cv_path___FILE" d9935 2 a9936 1 echo "$ac_t""$__FILE" 1>&6 d9938 2 a9939 1 echo "$ac_t""no" 1>&6 d9942 1 a9942 1 # Extract the first word of "gpg", so it can be a program name with args. d9944 4 a9947 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6510: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___GPG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9949 2 a9950 2 case "$__GPG" in /*) a9952 3 ?:/*) ac_cv_path___GPG="$__GPG" # Let the user override the test with a dos path. ;; d9954 14 a9967 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___GPG="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d9972 2 a9973 1 __GPG="$ac_cv_path___GPG" d9975 2 a9976 1 echo "$ac_t""$__GPG" 1>&6 d9978 2 a9979 1 echo "$ac_t""no" 1>&6 d9982 1 a9982 1 # Extract the first word of "grep", so it can be a program name with args. d9984 4 a9987 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6546: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___GREP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d9989 2 a9990 2 case "$__GREP" in /*) a9992 3 ?:/*) ac_cv_path___GREP="$__GREP" # Let the user override the test with a dos path. ;; d9994 14 a10007 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___GREP="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10012 2 a10013 1 __GREP="$ac_cv_path___GREP" d10015 2 a10016 1 echo "$ac_t""$__GREP" 1>&6 d10018 2 a10019 1 echo "$ac_t""no" 1>&6 d10022 1 a10022 1 # Extract the first word of "gzip", so it can be a program name with args. d10024 4 a10027 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6582: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GZIPBIN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10029 2 a10030 2 case "$GZIPBIN" in /*) a10032 3 ?:/*) ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a dos path. ;; d10034 14 a10047 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_GZIPBIN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10052 2 a10053 1 GZIPBIN="$ac_cv_path_GZIPBIN" d10055 2 a10056 1 echo "$ac_t""$GZIPBIN" 1>&6 d10058 2 a10059 1 echo "$ac_t""no" 1>&6 d10062 1 a10062 1 # Extract the first word of "unzip", so it can be a program name with args. d10064 4 a10067 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6618: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_UNZIPBIN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10069 2 a10070 2 case "$UNZIPBIN" in /*) a10072 3 ?:/*) ac_cv_path_UNZIPBIN="$UNZIPBIN" # Let the user override the test with a dos path. ;; d10074 14 a10087 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_UNZIPBIN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10092 2 a10093 1 UNZIPBIN="$ac_cv_path_UNZIPBIN" d10095 2 a10096 1 echo "$ac_t""$UNZIPBIN" 1>&6 d10098 2 a10099 1 echo "$ac_t""no" 1>&6 d10103 1 a10103 1 # Extract the first word of "id", so it can be a program name with args. d10105 4 a10108 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6655: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___ID'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10110 2 a10111 2 case "$__ID" in /*) a10113 3 ?:/*) ac_cv_path___ID="$__ID" # Let the user override the test with a dos path. ;; d10115 14 a10128 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___ID="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10133 2 a10134 1 __ID="$ac_cv_path___ID" d10136 2 a10137 1 echo "$ac_t""$__ID" 1>&6 d10139 2 a10140 1 echo "$ac_t""no" 1>&6 d10143 3 a10145 3 echo $ac_n "checking checking whether id supports -u""... $ac_c" 1>&6 echo "configure:6689: checking checking whether id supports -u" >&5 if `${__ID} -u 2>&1 > /dev/null` ; then d10147 2 a10148 1 echo "$ac_t""yes" 1>&6 d10151 2 a10152 1 echo "$ac_t""no" 1>&6 a10153 1 d10155 2 a10156 1 # Extract the first word of "install", so it can be a program name with args. d10158 4 a10161 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6702: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___INSTALL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10163 2 a10164 2 case "$__INSTALL" in /*) a10166 3 ?:/*) ac_cv_path___INSTALL="$__INSTALL" # Let the user override the test with a dos path. ;; d10168 14 a10181 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___INSTALL="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10186 2 a10187 1 __INSTALL="$ac_cv_path___INSTALL" d10189 2 a10190 1 echo "$ac_t""$__INSTALL" 1>&6 d10192 2 a10193 1 echo "$ac_t""no" 1>&6 d10196 1 a10196 1 # Extract the first word of "make", so it can be a program name with args. d10198 4 a10201 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6738: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___MAKE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10203 2 a10204 2 case "$__MAKE" in /*) a10206 3 ?:/*) ac_cv_path___MAKE="$__MAKE" # Let the user override the test with a dos path. ;; d10208 14 a10221 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___MAKE="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10226 2 a10227 1 __MAKE="$ac_cv_path___MAKE" d10229 2 a10230 1 echo "$ac_t""$__MAKE" 1>&6 d10232 2 a10233 1 echo "$ac_t""no" 1>&6 d10236 1 a10236 1 # Extract the first word of "mkdir", so it can be a program name with args. d10238 4 a10241 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6774: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___MKDIR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10243 2 a10244 2 case "$__MKDIR" in /*) a10246 3 ?:/*) ac_cv_path___MKDIR="$__MKDIR" # Let the user override the test with a dos path. ;; d10248 14 a10261 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___MKDIR="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10266 2 a10267 1 __MKDIR="$ac_cv_path___MKDIR" d10269 2 a10270 1 echo "$ac_t""$__MKDIR" 1>&6 d10272 2 a10273 1 echo "$ac_t""no" 1>&6 d10276 1 a10276 1 # Extract the first word of "mv", so it can be a program name with args. d10278 4 a10281 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6810: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___MV'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10283 2 a10284 2 case "$__MV" in /*) a10286 3 ?:/*) ac_cv_path___MV="$__MV" # Let the user override the test with a dos path. ;; d10288 14 a10301 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___MV="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10306 2 a10307 1 __MV="$ac_cv_path___MV" d10309 2 a10310 1 echo "$ac_t""$__MV" 1>&6 d10312 2 a10313 1 echo "$ac_t""no" 1>&6 d10316 1 a10316 1 # Extract the first word of "patch", so it can be a program name with args. d10318 4 a10321 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6846: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___PATCH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10323 2 a10324 2 case "$__PATCH" in /*) a10326 3 ?:/*) ac_cv_path___PATCH="$__PATCH" # Let the user override the test with a dos path. ;; d10328 14 a10341 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___PATCH="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10346 2 a10347 1 __PATCH="$ac_cv_path___PATCH" d10349 2 a10350 1 echo "$ac_t""$__PATCH" 1>&6 d10352 2 a10353 1 echo "$ac_t""no" 1>&6 d10356 2 a10357 2 echo $ac_n "checking old version of patch""... $ac_c" 1>&6 echo "configure:6880: checking old version of patch" >&5 d10361 2 a10362 1 cat >> confdefs.h <<\EOF d10364 1 a10364 1 EOF d10366 2 a10367 1 echo "$ac_t""patch older then 2.2 found" 1>&6 d10369 2 a10370 1 echo "$ac_t""patch later then 2.2 found" 1>&6 d10373 1 a10373 1 # Extract the first word of "perl", so it can be a program name with args. d10375 4 a10378 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6896: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___PERL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10380 2 a10381 2 case "$__PERL" in /*) a10383 3 ?:/*) ac_cv_path___PERL="$__PERL" # Let the user override the test with a dos path. ;; d10385 14 a10398 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" 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" d10403 2 a10404 1 __PERL="$ac_cv_path___PERL" d10406 2 a10407 1 echo "$ac_t""$__PERL" 1>&6 d10409 2 a10410 1 echo "$ac_t""no" 1>&6 d10413 1 a10413 1 # Extract the first word of "pgp", so it can be a program name with args. d10415 4 a10418 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6932: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PGPBIN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10420 2 a10421 2 case "$PGPBIN" in /*) a10423 3 ?:/*) ac_cv_path_PGPBIN="$PGPBIN" # Let the user override the test with a dos path. ;; d10425 14 a10438 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_PGPBIN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10443 2 a10444 1 PGPBIN="$ac_cv_path_PGPBIN" d10446 2 a10447 1 echo "$ac_t""$PGPBIN" 1>&6 d10449 2 a10450 1 echo "$ac_t""no" 1>&6 d10453 1 a10453 1 # Extract the first word of "python", so it can be a program name with args. d10455 4 a10458 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6968: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___PYTHON'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10460 2 a10461 2 case "$__PYTHON" in /*) a10463 3 ?:/*) ac_cv_path___PYTHON="$__PYTHON" # Let the user override the test with a dos path. ;; d10465 14 a10478 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___PYTHON="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10483 2 a10484 1 __PYTHON="$ac_cv_path___PYTHON" d10486 2 a10487 1 echo "$ac_t""$__PYTHON" 1>&6 d10489 2 a10490 1 echo "$ac_t""no" 1>&6 d10493 1 a10493 1 # Extract the first word of "rm", so it can be a program name with args. d10495 4 a10498 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:7004: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___RM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10500 2 a10501 2 case "$__RM" in /*) a10503 3 ?:/*) ac_cv_path___RM="$__RM" # Let the user override the test with a dos path. ;; d10505 14 a10518 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___RM="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10523 2 a10524 1 __RM="$ac_cv_path___RM" d10526 2 a10527 1 echo "$ac_t""$__RM" 1>&6 d10529 2 a10530 1 echo "$ac_t""no" 1>&6 d10533 1 a10533 1 # Extract the first word of "rsh", so it can be a program name with args. d10535 4 a10538 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:7040: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___RSH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10540 2 a10541 2 case "$__RSH" in /*) a10543 3 ?:/*) ac_cv_path___RSH="$__RSH" # Let the user override the test with a dos path. ;; d10545 14 a10558 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___RSH="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10563 2 a10564 1 __RSH="$ac_cv_path___RSH" d10566 2 a10567 1 echo "$ac_t""$__RSH" 1>&6 d10569 2 a10570 1 echo "$ac_t""no" 1>&6 d10573 1 a10573 1 # Extract the first word of "sed", so it can be a program name with args. d10575 4 a10578 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:7076: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___SED'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10580 2 a10581 2 case "$__SED" in /*) a10583 3 ?:/*) ac_cv_path___SED="$__SED" # Let the user override the test with a dos path. ;; d10585 14 a10598 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___SED="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10603 2 a10604 1 __SED="$ac_cv_path___SED" d10606 2 a10607 1 echo "$ac_t""$__SED" 1>&6 d10609 2 a10610 1 echo "$ac_t""no" 1>&6 d10613 1 a10613 1 # Extract the first word of "ssh", so it can be a program name with args. d10615 4 a10618 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:7112: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___SSH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10620 2 a10621 2 case "$__SSH" in /*) a10623 3 ?:/*) ac_cv_path___SSH="$__SSH" # Let the user override the test with a dos path. ;; d10625 14 a10638 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___SSH="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10643 2 a10644 1 __SSH="$ac_cv_path___SSH" d10646 2 a10647 1 echo "$ac_t""$__SSH" 1>&6 d10649 2 a10650 1 echo "$ac_t""no" 1>&6 d10653 1 a10653 1 # Extract the first word of "tar", so it can be a program name with args. d10655 4 a10658 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:7148: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___TAR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10660 2 a10661 2 case "$__TAR" in /*) a10663 3 ?:/*) ac_cv_path___TAR="$__TAR" # Let the user override the test with a dos path. ;; d10665 14 a10678 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___TAR="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10683 2 a10684 1 __TAR="$ac_cv_path___TAR" d10686 2 a10687 1 echo "$ac_t""$__TAR" 1>&6 d10689 2 a10690 1 echo "$ac_t""no" 1>&6 d10694 1 a10694 1 # Extract the first word of "ld", so it can be a program name with args. d10696 4 a10699 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:7185: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10701 2 a10702 2 case "$__LD" in /*) a10704 3 ?:/*) ac_cv_path___LD="$__LD" # Let the user override the test with a dos path. ;; d10706 14 a10719 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___LD="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10724 2 a10725 1 __LD="$ac_cv_path___LD" d10727 2 a10728 1 echo "$ac_t""$__LD" 1>&6 d10730 2 a10731 1 echo "$ac_t""no" 1>&6 d10734 1 a10734 1 # Extract the first word of "nm", so it can be a program name with args. d10736 4 a10739 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:7221: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10741 2 a10742 2 case "$__NM" in /*) a10744 3 ?:/*) ac_cv_path___NM="$__NM" # Let the user override the test with a dos path. ;; d10746 14 a10759 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___NM="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10764 2 a10765 1 __NM="$ac_cv_path___NM" d10767 2 a10768 1 echo "$ac_t""$__NM" 1>&6 d10770 2 a10771 1 echo "$ac_t""no" 1>&6 d10774 1 a10774 1 # Extract the first word of "objcopy", so it can be a program name with args. d10776 4 a10779 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:7257: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___OBJCOPY'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10781 2 a10782 2 case "$__OBJCOPY" in /*) a10784 3 ?:/*) ac_cv_path___OBJCOPY="$__OBJCOPY" # Let the user override the test with a dos path. ;; d10786 14 a10799 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___OBJCOPY="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10804 2 a10805 1 __OBJCOPY="$ac_cv_path___OBJCOPY" d10807 2 a10808 1 echo "$ac_t""$__OBJCOPY" 1>&6 d10810 2 a10811 1 echo "$ac_t""no" 1>&6 d10814 1 a10814 1 # Extract the first word of "objdump", so it can be a program name with args. d10816 4 a10819 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:7293: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___OBJDUMP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10821 2 a10822 2 case "$__OBJDUMP" in /*) a10824 3 ?:/*) ac_cv_path___OBJDUMP="$__OBJDUMP" # Let the user override the test with a dos path. ;; d10826 14 a10839 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___OBJDUMP="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10844 2 a10845 1 __OBJDUMP="$ac_cv_path___OBJDUMP" d10847 2 a10848 1 echo "$ac_t""$__OBJDUMP" 1>&6 d10850 2 a10851 1 echo "$ac_t""no" 1>&6 d10854 1 a10854 1 # Extract the first word of "strip", so it can be a program name with args. d10856 4 a10859 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:7329: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___STRIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d10861 2 a10862 2 case "$__STRIP" in /*) a10864 3 ?:/*) ac_cv_path___STRIP="$__STRIP" # Let the user override the test with a dos path. ;; d10866 14 a10879 10 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___STRIP="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d10884 2 a10885 1 __STRIP="$ac_cv_path___STRIP" d10887 2 a10888 1 echo "$ac_t""$__STRIP" 1>&6 d10890 2 a10891 1 echo "$ac_t""no" 1>&6 a10893 1 fi d10898 1 a10898 1 case "$target" in d10935 3 a10937 3 echo $ac_n "checking for $dir/lib in LIBS""... $ac_c" 1>&6 echo "configure:7405: checking for $dir/lib in LIBS" >&5 if test -d $dir/lib ; then d10939 2 a10940 1 echo "$ac_t""yes" 1>&6 d10942 2 a10943 1 echo "$ac_t""no" 1>&6 d10946 8 a10953 5 echo $ac_n "checking for $dir/include in INCPATH""... $ac_c" 1>&6 echo "configure:7414: checking for $dir/include in INCPATH" >&5 if test -d $dir/include ; then INCPATH="$INCPATH -I$dir/include" echo "$ac_t""yes" 1>&6 d10955 2 a10956 1 echo "$ac_t""no" 1>&6 d10960 2 a10961 2 echo $ac_n "checking for /usr/ucblib in LIBS""... $ac_c" 1>&6 echo "configure:7424: checking for /usr/ucblib in LIBS" >&5 d10968 84 a11051 2 echo "$ac_t""yes" 1>&6 d11053 57 a11109 1 echo "$ac_t""no" 1>&6 d11113 1410 d12525 12 a12536 8 echo $ac_n "checking for setreuid""... $ac_c" 1>&6 echo "configure:7441: checking for setreuid" >&5 if eval "test \"`echo '$''{'ac_cv_func_setreuid'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < d12547 4 d12552 2 a12553 5 builtin and then its argument prototype would still apply. */ char setreuid(); int main() { d12557 1 a12557 1 #if defined (__stub_setreuid) || defined (__stub___setreuid) d12560 1 a12560 1 setreuid(); d12562 52 d12615 41 a12655 5 ; return 0; } EOF if { (eval echo configure:7469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_setreuid=yes" d12657 14 a12670 7 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_setreuid=no" fi rm -f conftest* fi d12672 41 a12712 3 if eval "test \"`echo '$ac_cv_func_'setreuid`\" = yes"; then echo "$ac_t""yes" 1>&6 : d12714 14 a12727 1 echo "$ac_t""no" 1>&6 d12729 41 a12769 5 echo $ac_n "checking for setreuid in -lucb""... $ac_c" 1>&6 echo "configure:7488: checking for setreuid in -lucb" >&5 ac_lib_var=`echo ucb'_'setreuid | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d12771 15 a12785 5 ac_save_LIBS="$LIBS" LIBS="-lucb $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" d12831 1 a12831 2 rm -f conftest* LIBS="$ac_save_LIBS" d12834 2 a12835 5 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 if echo $LIBS | grep -- -lucb >/dev/null ;then :; else LIBS="$LIBS -lc -lucb" USEUCB=y;fi else echo "$ac_t""no" 1>&6 d12842 5 a12846 15 echo $ac_n "checking for rand""... $ac_c" 1>&6 echo "configure:7532: checking for rand" >&5 if eval "test \"`echo '$''{'ac_cv_func_rand'+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 rand(); d12848 12 a12859 1 int main() { d12861 3 a12863 7 /* 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_rand) || defined (__stub___rand) choke me #else rand(); d12865 28 d12894 2 a12895 10 ; return 0; } EOF if { (eval echo configure:7560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_rand=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_rand=no" d12897 2 a12898 1 rm -f conftest* a12900 3 if eval "test \"`echo '$ac_cv_func_'rand`\" = yes"; then echo "$ac_t""yes" 1>&6 : a12901 1 echo "$ac_t""no" 1>&6 d12903 3 a12905 15 echo $ac_n "checking for rand in -lrand""... $ac_c" 1>&6 echo "configure:7579: checking for rand in -lrand" >&5 ac_lib_var=`echo rand'_'rand | 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="-lrand $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" a12912 2 rm -f conftest* LIBS="$ac_save_LIBS" a12913 7 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lm" else echo "$ac_t""no" 1>&6 fi d12916 5 a12920 1 fi a12922 15 echo $ac_n "checking for getdomainname""... $ac_c" 1>&6 echo "configure:7623: checking for getdomainname" >&5 if eval "test \"`echo '$''{'ac_cv_func_getdomainname'+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 getdomainname(); a12923 1 int main() { d12925 14 a12938 8 /* 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_getdomainname) || defined (__stub___getdomainname) choke me #else getdomainname(); #endif d12940 6 a12945 13 ; return 0; } EOF if { (eval echo configure:7651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getdomainname=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_getdomainname=no" fi rm -f conftest* fi d12947 7 a12953 3 if eval "test \"`echo '$ac_cv_func_'getdomainname`\" = yes"; then echo "$ac_t""yes" 1>&6 : d12955 9 a12963 1 echo "$ac_t""no" 1>&6 a12964 11 echo $ac_n "checking for getdomainname in -lnsl""... $ac_c" 1>&6 echo "configure:7670: checking for getdomainname in -lnsl" >&5 ac_lib_var=`echo nsl'_'getdomainname | 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="-lnsl $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" d13007 5 a13011 7 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" a13013 6 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lnsl" else echo "$ac_t""no" 1>&6 fi d13015 1 d13017 15 a13031 1 fi a13032 11 echo $ac_n "checking for socket""... $ac_c" 1>&6 echo "configure:7713: checking for socket" >&5 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < d13034 3 d13038 35 a13072 2 builtin and then its argument prototype would still apply. */ char socket(); d13074 3 a13076 1 int main() { d13078 1 a13078 8 /* 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_socket) || defined (__stub___socket) choke me #else socket(); #endif a13079 12 ; return 0; } EOF if { (eval echo configure:7741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_socket=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_socket=no" fi rm -f conftest* d13082 4 a13085 3 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then echo "$ac_t""yes" 1>&6 : d13087 9 a13095 1 echo "$ac_t""no" 1>&6 a13096 11 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 echo "configure:7760: checking for socket in -lsocket" >&5 ac_lib_var=`echo socket'_'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 else ac_save_LIBS="$LIBS" LIBS="-lsocket $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" d13139 4 a13142 12 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 -lsocket" d13144 9 a13152 3 echo "$ac_t""no" 1>&6 fi a13153 14 fi echo $ac_n "checking for fchmod""... $ac_c" 1>&6 echo "configure:7804: checking for fchmod" >&5 if eval "test \"`echo '$''{'ac_cv_func_fchmod'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < d13155 3 d13159 38 a13196 2 builtin and then its argument prototype would still apply. */ char fchmod(); d13198 3 a13200 10 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_fchmod) || defined (__stub___fchmod) choke me #else fchmod(); #endif a13201 5 ; return 0; } EOF if { (eval echo configure:7832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_fchmod=yes" d13203 1 a13203 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_fchmod=no" d13205 1 a13205 1 rm -f conftest* a13207 6 if eval "test \"`echo '$ac_cv_func_'fchmod`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 fi d13210 2 a13211 1 for ac_func in vsnprintf snprintf d13213 13 a13225 8 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:7855: 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 < d13236 4 d13241 2 a13242 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d13249 4 a13252 1 $ac_func(); d13255 35 a13289 13 ; return 0; } EOF if { (eval echo configure:7883: \"$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 a13290 9 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 a13294 31 echo $ac_n "checking for writev in -lport""... $ac_c" 1>&6 echo "configure:7909: checking for writev in -lport" >&5 ac_lib_var=`echo port'_'writev | 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="-lport $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" d13296 7 a13302 8 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_lib=HAVE_LIB`echo port | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 fi a13306 16 libthread="" echo $ac_n "checking for pthread_mutex_trylock in -lpthread""... $ac_c" 1>&6 echo "configure:7958: checking for pthread_mutex_trylock in -lpthread" >&5 ac_lib_var=`echo pthread'_'pthread_mutex_trylock | 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="-lpthread $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" d13315 20 a13334 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" d13336 7 a13342 3 rm -f conftest* LIBS="$ac_save_LIBS" a13343 5 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 libthread="-lpthread" else echo "$ac_t""no" 1>&6 d13345 6 a13350 5 echo $ac_n "checking for __pthread_mutex_trylock in -lpthread""... $ac_c" 1>&6 echo "configure:7997: checking for __pthread_mutex_trylock in -lpthread" >&5 ac_lib_var=`echo pthread'_'__pthread_mutex_trylock | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d13352 18 a13369 9 ac_save_LIBS="$LIBS" LIBS="-lpthread $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" d13375 1 a13375 2 rm -f conftest* LIBS="$ac_save_LIBS" d13377 3 a13379 4 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 libthread="-lpthread" d13381 2 a13382 1 echo "$ac_t""no" 1>&6 d13386 6 a13391 10 fi if test "x$libthread" = "x"; then # Try in libthread too. echo $ac_n "checking for mutex_lock in -lthread""... $ac_c" 1>&6 echo "configure:8043: checking for mutex_lock in -lthread" >&5 ac_lib_var=`echo thread'_'mutex_lock | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d13393 20 a13412 22 ac_save_LIBS="$LIBS" LIBS="-lthread $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" d13414 4 a13417 7 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 libthread="-lthread" d13419 2 a13420 3 echo "$ac_t""no" 1>&6 fi d13423 1 a13423 12 WITH_DB_SUBDIR= WITH_INTERNAL_DB=0 DBLIBSRCS="" libdb3="" libdb3a="" withval=yes # Check whether --with-db or --without-db was given. if test "${with_db+set}" = set; then withval="$with_db" : fi d13425 6 a13430 10 if test $withval = no ; then for ac_hdr in db3/db.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:8104: 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 d13432 19 a13450 19 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:8114: \"$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* d13452 4 a13455 7 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 a13459 1 done d13462 23 a13484 15 echo $ac_n "checking for db_create""... $ac_c" 1>&6 echo "configure:8142: checking for db_create" >&5 if eval "test \"`echo '$''{'ac_cv_func_db_create'+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 db_create(); d13486 1 a13486 1 int main() { a13487 8 /* 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_db_create) || defined (__stub___db_create) choke me #else db_create(); #endif d13489 7 a13495 5 ; return 0; } EOF if { (eval echo configure:8170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_db_create=yes" d13497 2 a13498 11 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_db_create=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'db_create`\" = yes"; then echo "$ac_t""yes" 1>&6 DBLIBSRCS="$DBLIBSRCS db3.c" d13500 13 a13512 16 echo "$ac_t""no" 1>&6 echo $ac_n "checking for db_create in -ldb-3.2""... $ac_c" 1>&6 echo "configure:8188: checking for db_create in -ldb-3.2" >&5 ac_lib_var=`echo db-3.2'_'db_create | 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="-ldb-3.2 $libthread $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" a13514 3 rm -f conftest* LIBS="$ac_save_LIBS" d13516 4 a13519 3 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.2" d13521 2 a13522 29 echo "$ac_t""no" 1>&6 echo $ac_n "checking for db_create in -ldb-3.1""... $ac_c" 1>&6 echo "configure:8226: checking for db_create in -ldb-3.1" >&5 ac_lib_var=`echo db-3.1'_'db_create | 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="-ldb-3.1 $libthread $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" a13523 2 rm -f conftest* LIBS="$ac_save_LIBS" d13526 11 a13536 3 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.1" d13538 13 a13550 16 echo "$ac_t""no" 1>&6 echo $ac_n "checking for db_create in -ldb-3.0""... $ac_c" 1>&6 echo "configure:8264: checking for db_create in -ldb-3.0" >&5 ac_lib_var=`echo db-3.0'_'db_create | 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="-ldb-3.0 $libthread $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" a13553 3 rm -f conftest* LIBS="$ac_save_LIBS" d13555 4 a13558 3 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.0" d13560 3 a13562 16 echo "$ac_t""no" 1>&6 echo $ac_n "checking for db_create in -ldb""... $ac_c" 1>&6 echo "configure:8302: checking for db_create in -ldb" >&5 ac_lib_var=`echo db'_'db_create | 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="-ldb $libthread $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" d13566 1 a13566 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" a13567 2 rm -f conftest* LIBS="$ac_save_LIBS" d13569 4 a13572 4 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb" d13574 7 a13580 2 echo "$ac_t""no" 1>&6 fi d13582 49 a13630 2 fi d13632 20 a13651 2 fi d13653 1 a13653 1 d13655 1 a13655 2 d13657 3 d13661 3 a13664 2 if test X"$DBLIBSRCS" = X; then { echo "configure: error: sorry rpm requires libdb-3.x.a (from the Berkeley db package)" 1>&2; exit 1; } d13667 4 a13670 20 if test -n "$libdb3" -a -n "$libthread" ; then echo $ac_n "checking whether $libdb3 needs $libthread""... $ac_c" 1>&6 echo "configure:8360: checking whether $libdb3 needs $libthread" >&5 saveLIBS="$LIBS" LIBS="$LIBS $libdb3" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* echo "$ac_t""no" 1>&6 d13672 14 a13685 8 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* libdb3="$libdb3 $libthread"; echo "$ac_t""yes" 1>&6 fi rm -f conftest* LIBS="$saveLIBS" fi d13687 14 d13702 2 a13703 3 cat >> confdefs.h <<\EOF #define HAVE_DB3_DB_H 1 EOF a13704 5 WITH_DB_SUBDIR=db3 WITH_INTERNAL_DB=1 DBLIBSRCS="db3.c" libdb3="# \$(top_builddir)/db3/libdb.la" libdb3a="\$(top_builddir)/db3/libdb.a" d13706 2 d13709 9 a13717 16 DBLIBSRCS="$DBLIBSRCS db1.c falloc.c" DBLIBOBJS=`echo $DBLIBSRCS | sed -e "s/\.c/\.lo/g"` for dbi in $DBLIBSRCS; do case $dbi in db3.c) cat >> confdefs.h <<\EOF #define USE_DB3 1 EOF d13719 3 a13721 3 db1.c) cat >> confdefs.h <<\EOF #define USE_DB1 1 EOF d13723 1 a13723 2 esac done d13725 37 a13761 4 echo $ac_n "checking for fork""... $ac_c" 1>&6 echo "configure:8425: checking for fork" >&5 if eval "test \"`echo '$''{'ac_cv_func_fork'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d13763 2 a13764 12 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 fork(); int main() { d13766 1 a13766 19 /* 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_fork) || defined (__stub___fork) choke me #else fork(); #endif ; return 0; } EOF if { (eval echo configure:8453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_fork=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_fork=no" d13768 1 a13768 1 rm -f conftest* d13770 3 a13772 3 if eval "test \"`echo '$ac_cv_func_'fork`\" = yes"; then echo "$ac_t""yes" 1>&6 a13774 4 echo "$ac_t""no" 1>&6 echo "using vfork() instead of fork()"; LIBOBJS=fakefork.o fi d13776 3 d13780 1 a13780 6 case "$target" in m68k-*-amigaos ) echo "Building for AmigaOS: using vfork() instead of fork()"; CFLAGS="$CFLAGS -Dfork=vfork" ;; esac d13782 37 a13818 8 if test -z "${WITH_ZLIB_LIB}" ; then for zlib in z gz ; do echo $ac_n "checking for gzread in -l${zlib}""... $ac_c" 1>&6 echo "configure:8486: checking for gzread in -l${zlib}" >&5 ac_lib_var=`echo ${zlib}'_'gzread | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d13820 2 a13821 9 ac_save_LIBS="$LIBS" LIBS="-l${zlib} $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" d13825 1 a13825 3 rm -f conftest* LIBS="$ac_save_LIBS" d13827 4 a13830 3 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -l${zlib}"; break d13832 5 a13836 5 echo "$ac_t""no" 1>&6 if test ${zlib} = gz; then { echo "configure: error: sorry rpm requires libz.a or libgz.a (from the zlib package)" 1>&2; exit 1; } fi d13839 47 a13885 1 done d13887 3 a13889 15 echo $ac_n "checking for gzseek in -l${zlib}""... $ac_c" 1>&6 echo "configure:8532: checking for gzseek in -l${zlib}" >&5 ac_lib_var=`echo ${zlib}'_'gzseek | 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${zlib} $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" a13891 2 rm -f conftest* LIBS="$ac_save_LIBS" d13893 32 a13924 6 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_GZSEEK 1 EOF d13926 21 d13948 4 a13951 1 echo "$ac_t""no" 1>&6 d13953 6 d13960 3 a13962 1 fi a13963 5 echo $ac_n "checking for bzread in -lbz2""... $ac_c" 1>&6 echo "configure:8577: checking for bzread in -lbz2" >&5 ac_lib_var=`echo bz2'_'bzread | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d13965 10 a13974 9 ac_save_LIBS="$LIBS" LIBS="-lbz2 $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" d13977 17 a13993 21 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lbz2" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for BZ2_bzread in -lbz2""... $ac_c" 1>&6 echo "configure:8615: checking for BZ2_bzread in -lbz2" >&5 ac_lib_var=`echo bz2'_'BZ2_bzread | 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="-lbz2 $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" d14000 1 a14000 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" a14002 1 LIBS="$ac_save_LIBS" d14005 17 a14021 28 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 WITH_BZIP2=1 LIBS="$LIBS -lbz2" cat >> confdefs.h <<\EOF #define HAVE_BZ2_1_0 1 EOF else echo "$ac_t""no" 1>&6 WITH_BZIP2=0 fi fi for ac_func in personality do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:8668: 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 < d14032 4 d14037 2 a14038 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d14045 1 a14045 1 $ac_func(); d14047 36 d14084 5 a14088 10 ; return 0; } EOF if { (eval echo configure:8696: \"$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" d14090 2 a14091 1 rm -f conftest* d14094 7 a14100 7 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 d14123 18 a14140 5 echo $ac_n "checking for error_at_line""... $ac_c" 1>&6 echo "configure:8722: checking for error_at_line" >&5 if eval "test \"`echo '$''{'am_cv_lib_error_at_line'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d14142 3 a14144 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_lib_error_at_line=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* am_cv_lib_error_at_line=no a14150 1 rm -f conftest* d14152 2 d14155 3 a14157 5 echo "$ac_t""$am_cv_lib_error_at_line" 1>&6 if test $am_cv_lib_error_at_line = no; then LIBOBJS="$LIBOBJS error.o" fi a14159 21 # 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:8756: 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 if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else 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_prog_RANLIB="ranlib" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" d14161 76 a14236 4 fi RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then echo "$ac_t""$RANLIB" 1>&6 d14238 1 a14238 1 echo "$ac_t""no" 1>&6 d14240 2 a14241 5 echo $ac_n "checking for working const""... $ac_c" 1>&6 echo "configure:8784: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d14243 2 a14244 3 cat > conftest.$ac_ext <j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } ; return 0; } EOF if { (eval echo configure:8838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes d14290 1 a14290 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_c_const=no d14292 3 a14294 1 rm -f conftest* d14296 4 a14299 6 echo "$ac_t""$ac_cv_c_const" 1>&6 if test $ac_cv_c_const = no; then cat >> confdefs.h <<\EOF #define const EOF a14302 23 echo $ac_n "checking for inline""... $ac_c" 1>&6 echo "configure:8859: 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* a14304 1 fi d14306 42 a14347 25 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 "configure:8899: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS #include #include a14348 10 EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_off_t=yes else rm -rf conftest* ac_cv_type_off_t=no fi rm -f conftest* d14350 35 a14384 6 fi echo "$ac_t""$ac_cv_type_off_t" 1>&6 if test $ac_cv_type_off_t = no; then cat >> confdefs.h <<\EOF #define off_t long EOF d14387 1 d14389 4 a14392 4 echo $ac_n "checking for size_t""... $ac_c" 1>&6 echo "configure:8932: 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 d14394 2 a14395 13 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])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_size_t=yes d14397 10 a14406 4 rm -rf conftest* ac_cv_type_size_t=no fi rm -f conftest* d14408 16 a14423 6 fi echo "$ac_t""$ac_cv_type_size_t" 1>&6 if test $ac_cv_type_size_t = no; then cat >> confdefs.h <<\EOF #define size_t unsigned EOF d14425 4 a14428 1 fi d14430 2 a14431 26 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 echo "configure:8967: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF if { (eval echo configure:8979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_header_alloca_h=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_alloca_h=no fi rm -f conftest* fi d14433 3 a14435 5 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 if test $ac_cv_header_alloca_h = yes; then cat >> confdefs.h <<\EOF #define HAVE_ALLOCA_H 1 EOF d14437 6 a14442 1 fi d14444 27 a14470 8 echo $ac_n "checking for alloca""... $ac_c" 1>&6 echo "configure:9000: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < # define alloca _alloca # else # if HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); # endif # endif # endif # endif #endif d14474 69 a14542 7 int main() { char *p = (char *) alloca(1); ; return 0; } EOF if { (eval echo configure:9033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes d14544 8 a14551 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_func_alloca_works=no a14552 1 rm -f conftest* d14554 3 d14558 3 a14560 5 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 if test $ac_cv_func_alloca_works = yes; then cat >> confdefs.h <<\EOF #define HAVE_ALLOCA 1 EOF d14563 1 a14564 9 if test $ac_cv_func_alloca_works = no; then # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=alloca.${ac_objext} cat >> confdefs.h <<\EOF #define C_ALLOCA 1 EOF d14566 12 d14579 5 a14583 12 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 echo "configure:9065: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext </dev/null 2>&1; then rm -rf conftest* ac_cv_os_cray=yes d14591 1 a14591 2 rm -rf conftest* ac_cv_os_cray=no d14595 2 d14598 23 a14621 7 echo "$ac_t""$ac_cv_os_cray" 1>&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:9095: 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 d14623 7 a14629 10 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(); d14631 2 a14632 1 int main() { d14634 3 a14636 5 /* 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 d14638 18 a14655 1 $ac_func(); d14657 9 d14667 22 a14688 10 ; return 0; } EOF if { (eval echo configure:9123: \"$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" d14690 1 a14690 1 rm -f conftest* d14692 178 d14871 7 a14877 5 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <&6 fi a14880 2 done fi d14882 4 a14885 4 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 echo "configure:9150: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d14887 12 a14898 7 if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext < addr) ? 1 : -1; d14904 55 d14961 3 a14963 1 exit (find_stack_direction() < 0); d14965 19 a14983 9 EOF if { (eval echo configure:9177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_c_stack_direction=-1 d14985 2 a14986 1 rm -fr conftest* d14988 10 a14998 1 fi d15000 14 a15013 4 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 cat >> confdefs.h <&6 echo "configure:9202: 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 d15021 37 a15057 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:9212: \"$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" d15059 2 a15060 7 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* d15062 2 a15063 7 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:9241: 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:9269: \"$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" d15083 1 a15083 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_$ac_func=no" a15084 1 rm -f conftest* d15087 19 a15105 7 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 d15110 5 a15114 1 done d15116 4 a15119 4 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 echo "configure:9294: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d15121 23 a15143 2 if test "$cross_compiling" = yes; then ac_cv_func_mmap_fixed_mapped=no d15145 22 a15166 3 cat > conftest.$ac_ext < #include #include d15177 4 a15180 3 #if HAVE_SYS_TYPES_H # include #endif d15182 2 a15183 3 #if HAVE_STDLIB_H # include #endif d15185 2 a15186 3 #if HAVE_SYS_STAT_H # include #endif d15188 5 a15192 3 #if HAVE_UNISTD_H # include #endif d15194 56 a15249 2 /* This mess was copied from the GNU getpagesize.h. */ #ifndef HAVE_GETPAGESIZE d15251 278 a15528 4 /* Assume that all systems that can run configure have sys/param.h. */ # ifndef HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif a15529 27 # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ # ifdef HAVE_SYS_PARAM_H # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else /* no EXEC_PAGESIZE */ # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif /* no CLSIZE */ # else /* no NBPG */ # ifdef NBPC # define getpagesize() NBPC # else /* no NBPC */ # ifdef PAGESIZE # define getpagesize() PAGESIZE # endif /* PAGESIZE */ # endif /* no NBPC */ # endif /* no NBPG */ # endif /* no EXEC_PAGESIZE */ # else /* no HAVE_SYS_PARAM_H */ # define getpagesize() 8192 /* punt totally */ # endif /* no HAVE_SYS_PARAM_H */ # endif /* no _SC_PAGESIZE */ a15530 1 #endif /* no HAVE_GETPAGESIZE */ a15531 5 #ifdef __cplusplus extern "C" { void *malloc(unsigned); } #else char *malloc(); #endif a15532 63 int main() { char *data, *data2, *data3; int i, pagesize; int fd; pagesize = getpagesize(); /* * First, make a file with some known garbage in it. */ data = malloc(pagesize); if (!data) exit(1); for (i = 0; i < pagesize; ++i) *(data + i) = rand(); umask(0); fd = creat("conftestmmap", 0600); if (fd < 0) exit(1); if (write(fd, data, pagesize) != pagesize) exit(1); close(fd); /* * Next, try to mmap the file at a fixed address which * already has something else allocated at it. If we can, * also make sure that we see the same garbage. */ fd = open("conftestmmap", O_RDWR); if (fd < 0) exit(1); data2 = malloc(2 * pagesize); if (!data2) exit(1); data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) exit(1); /* * Finally, make sure that changes to the mapped area * do not percolate back to the file as seen by read(). * (This is a bug on some variants of i386 svr4.0.) */ for (i = 0; i < pagesize; ++i) *(data2 + i) = *(data2 + i) + 1; data3 = malloc(pagesize); if (!data3) exit(1); if (read(fd, data3, pagesize) != pagesize) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) exit(1); close(fd); unlink("conftestmmap"); exit(0); } a15533 12 EOF if { (eval echo configure:9455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_func_mmap_fixed_mapped=no fi rm -fr conftest* fi a15534 1 fi a15535 5 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 if test $ac_cv_func_mmap_fixed_mapped = yes; then cat >> confdefs.h <<\EOF #define HAVE_MMAP 1 EOF a15536 1 fi a15538 8 echo $ac_n "checking whether we are using the GNU C Library 2.1 or newer""... $ac_c" 1>&6 echo "configure:9479: checking whether we are using the GNU C Library 2.1 or newer" >&5 if eval "test \"`echo '$''{'ac_cv_gnu_library_2_1'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) Lucky GNU user #endif #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "Lucky GNU user" >/dev/null 2>&1; then rm -rf conftest* ac_cv_gnu_library_2_1=yes else rm -rf conftest* ac_cv_gnu_library_2_1=no fi rm -f conftest* a15540 3 fi a15541 4 echo "$ac_t""$ac_cv_gnu_library_2_1" 1>&6 GLIBC21="$ac_cv_gnu_library_2_1" d15543 1 a15543 2 for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ d15546 71 a15616 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:9520: 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 d15618 51 a15668 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:9530: \"$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" d15670 1 a15670 5 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" d15672 3 a15674 1 rm -f conftest* d15676 5 a15680 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d15682 1 d15685 24 a15708 3 for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \ getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \ strdup strtoul tsearch __argz_count __argz_stringify __argz_next d15710 13 a15722 8 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:9561: 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 < d15733 4 d15738 2 a15739 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d15746 4 a15749 1 $ac_func(); d15752 35 a15786 13 ; return 0; } EOF if { (eval echo configure:9589: \"$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 a15787 9 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 d15792 23 a15814 9 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then withval="$with_libiconv_prefix" for dir in `echo "$withval" | tr : ' '`; do if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi d15816 4 a15819 2 fi d15822 4 a15825 4 echo $ac_n "checking for iconv""... $ac_c" 1>&6 echo "configure:9629: checking for iconv" >&5 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d15827 1 a15827 1 d15830 7 a15836 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* d15863 3 a15865 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d15867 1 a15867 1 rm -f conftest* d15870 8 a15877 4 LIBS="$LIBS -liconv" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* d15905 3 a15907 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d15909 1 a15909 1 rm -f conftest* d15912 1 a15912 1 d15914 21 a15935 1 echo "$ac_t""$am_cv_func_iconv" 1>&6 d15937 5 a15941 3 cat >> confdefs.h <<\EOF #define HAVE_ICONV 1 EOF d15943 7 a15949 9 echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6 echo "configure:9690: checking for iconv declaration" >&5 if eval "test \"`echo '$''{'am_cv_proto_iconv'+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* d15985 4 a15988 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* am_cv_proto_iconv_arg1="const" d15990 1 a15990 1 rm -f conftest* d15995 6 a16000 3 echo "$ac_t""${ac_t:- }$am_cv_proto_iconv" 1>&6 cat >> confdefs.h <&6 echo "configure:9744: checking for nl_langinfo and CODESET" >&5 if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+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 rm -rf conftest* d16042 4 a16045 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* am_cv_langinfo_codeset=no d16047 2 a16048 2 rm -f conftest* d16050 3 d16054 1 a16054 3 echo "$ac_t""$am_cv_langinfo_codeset" 1>&6 if test $am_cv_langinfo_codeset = yes; then cat >> confdefs.h <<\EOF d16056 1 a16056 1 EOF d16060 14 a16073 9 if test $ac_cv_header_locale_h = yes; then echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 echo "configure:9779: checking for LC_MESSAGES" >&5 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+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 rm -rf conftest* d16097 4 a16100 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* am_cv_val_LC_MESSAGES=no d16102 1 a16102 1 rm -f conftest* d16104 3 d16108 1 a16108 3 echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6 if test $am_cv_val_LC_MESSAGES = yes; then cat >> confdefs.h <<\EOF d16110 45 a16154 1 EOF d16156 17 a16172 1 fi d16174 18 a16191 3 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 echo "configure:9812: checking whether NLS is requested" >&5 # Check whether --enable-nls or --disable-nls was given. d16197 4 a16200 1 fi a16201 2 echo "$ac_t""$USE_NLS" 1>&6 a16204 1 INTLLIBS= d16206 9 a16214 4 if test "$USE_NLS" = "yes"; then cat >> confdefs.h <<\EOF #define ENABLE_NLS 1 EOF d16216 1 a16216 3 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 echo "configure:9834: checking whether included gettext is requested" >&5 # Check whether --with-included-gettext or --without-included-gettext was given. d16222 3 a16224 3 fi echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 a16227 1 CATOBJEXT=NONE a16228 2 d16230 16 a16245 36 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 echo "configure:9854: checking for libintl.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:9864: \"$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 echo $ac_n "checking for GNU gettext in libc""... $ac_c" 1>&6 echo "configure:9881: checking for GNU gettext in libc" >&5 if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libc'+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 rm -rf conftest* d16272 4 a16275 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* gt_cv_func_gnugettext1_libc=no d16277 1 a16277 1 rm -f conftest* d16279 2 d16282 1 a16282 1 echo "$ac_t""$gt_cv_func_gnugettext1_libc" 1>&6 a16283 30 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then echo $ac_n "checking for GNU gettext in libintl""... $ac_c" 1>&6 echo "configure:9911: checking for GNU gettext in libintl" >&5 if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libintl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -lintl $LIBICONV" cat > conftest.$ac_ext < extern int _nl_msg_cat_cntr; int main() { bindtextdomain ("", ""); return (int) gettext ("") + _nl_msg_cat_cntr ; return 0; } EOF if { (eval echo configure:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gt_cv_func_gnugettext1_libintl=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* gt_cv_func_gnugettext1_libintl=no fi rm -f conftest* LIBS="$gt_save_LIBS" fi a16284 2 echo "$ac_t""$gt_cv_func_gnugettext1_libintl" 1>&6 fi d16286 9 a16294 6 if test "$gt_cv_func_gnugettext1_libc" = "yes" \ || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ && test "$PACKAGE" != gettext; }; then cat >> confdefs.h <<\EOF #define HAVE_GETTEXT 1 EOF d16296 2 a16298 23 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then INTLLIBS="-lintl $LIBICONV" fi gt_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:9960: 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(); d16300 3 a16302 1 int main() { d16304 4 a16307 8 /* 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 d16309 4 a16312 13 ; return 0; } EOF if { (eval echo configure:9988: \"$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 d16314 2 a16315 11 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 d16317 2 a16318 1 LIBS="$gt_save_LIBS" d16320 3 a16322 19 # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:10017: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break d16325 309 d16635 19 a16653 34 IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then echo "$ac_t""$MSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:10051: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GMSGFMT="$GMSGFMT" # 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_GMSGFMT="$ac_dir/$ac_word" break d16655 6 a16660 12 done IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi d16662 45 a16706 7 # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:10088: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d16708 4 a16711 19 case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac d16713 51 a16763 5 XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then echo "$ac_t""$XGETTEXT" 1>&6 else echo "$ac_t""no" 1>&6 d16765 3 d16769 9 a16777 7 CATOBJEXT=.gmo fi else echo "$ac_t""no" 1>&6 fi d16780 2 a16781 2 if test "$CATOBJEXT" = "NONE"; then nls_cv_use_gnu_gettext=yes d16787 10 a16796 19 # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:10138: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break d16798 11 d16810 1 a16810 12 done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then echo "$ac_t""$MSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi d16812 1 a16812 35 # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:10172: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GMSGFMT="$GMSGFMT" # 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_GMSGFMT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi d16814 22 a16835 19 # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:10208: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break d16837 3 a16841 11 IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then echo "$ac_t""$XGETTEXT" 1>&6 else echo "$ac_t""no" 1>&6 fi a16842 6 BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes CATOBJEXT=.gmo INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` a16844 8 if test "$GMSGFMT" != ":"; then if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then : ; else echo "$ac_t""found msgfmt program is not GNU msgfmt; ignore it" 1>&6 GMSGFMT=":" fi fi d16846 8 a16853 8 if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then : ; else echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6 XGETTEXT=":" fi fi a16854 1 POSUB=po d16856 3 a16858 1 a16864 30 for ac_prog in bison 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:10279: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_INTLBISON'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$INTLBISON"; then ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test. else 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_prog_INTLBISON="$ac_prog" break fi done IFS="$ac_save_ifs" fi fi INTLBISON="$ac_cv_prog_INTLBISON" if test -n "$INTLBISON"; then echo "$ac_t""$INTLBISON" 1>&6 else echo "$ac_t""no" 1>&6 fi a16865 2 test -n "$INTLBISON" && break done a16866 17 if test -z "$INTLBISON"; then ac_verc_fail=yes else echo $ac_n "checking version of bison""... $ac_c" 1>&6 echo "configure:10312: checking version of bison" >&5 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; esac echo "$ac_t""$ac_prog_version" 1>&6 fi if test $ac_verc_fail = yes; then INTLBISON=: fi a16867 4 for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done a16868 9 d16874 1 a16874 1 d16877 1 a16877 1 a16879 2 a16880 26 if test "x$CATOBJEXT" != "x"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 echo "configure:10359: checking for catalogs to be installed" >&5 NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS echo "$ac_t""$LINGUAS" 1>&6 fi d16882 9 a16890 4 if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi a16891 8 MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi a16892 3 INTL_LIBTOOL_SUFFIX_PREFIX= d16897 12 a16908 8 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:10403: 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 <&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* d16936 4 a16939 5 echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_stdc=no d16941 1 a16941 1 rm -f conftest* d16945 7 a16951 3 cat > conftest.$ac_ext </dev/null 2>&1; then a16958 1 rm -rf conftest* d16967 7 a16973 3 cat > conftest.$ac_ext </dev/null 2>&1; then a16980 1 rm -rf conftest* d16989 1 a16989 1 if test "$cross_compiling" = yes; then d16992 7 a16998 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then d17036 6 a17041 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_header_stdc=no d17043 1 a17043 1 rm -fr conftest* a17044 1 d17047 3 d17051 1 a17051 3 echo "$ac_t""$ac_cv_header_stdc" 1>&6 if test $ac_cv_header_stdc = yes; then cat >> confdefs.h <<\EOF d17053 1 a17053 1 EOF d17057 12 a17068 8 echo $ac_n "checking whether sys/types.h defines makedev""... $ac_c" 1>&6 echo "configure:10507: checking whether sys/types.h defines makedev" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_types_h_makedev'+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 rm -rf conftest* d17092 4 a17095 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_sys_types_h_makedev=no d17097 1 a17097 1 rm -f conftest* d17100 2 a17101 2 echo "$ac_t""$ac_cv_header_sys_types_h_makedev" 1>&6 d17104 75 a17178 5 ac_safe=`echo "sys/mkdev.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/mkdev.h""... $ac_c" 1>&6 echo "configure:10537: checking for sys/mkdev.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d17180 46 a17225 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:10547: \"$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" d17227 1 a17227 5 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" d17229 3 a17231 1 rm -f conftest* d17233 3 a17235 3 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF d17237 5 a17241 1 EOF d17243 71 d17315 1 a17315 1 echo "$ac_t""no" 1>&6 d17317 5 d17323 43 a17365 19 if test $ac_cv_header_sys_mkdev_h = no; then ac_safe=`echo "sys/sysmacros.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/sysmacros.h""... $ac_c" 1>&6 echo "configure:10575: checking for sys/sysmacros.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:10585: \"$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" d17367 1 a17367 5 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" d17369 3 a17371 1 rm -f conftest* d17373 3 a17375 3 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF d17377 1 a17377 1 EOF a17378 2 else echo "$ac_t""no" 1>&6 d17381 1 d17385 5 d17391 14 a17404 11 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:10617: 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 <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d17447 1 d17451 15 a17465 11 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 echo "configure:10655: 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 else ac_save_LIBS="$LIBS" LIBS="-ldir $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" d17541 8 a17548 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" d17550 4 a17553 2 rm -f conftest* LIBS="$ac_save_LIBS" d17556 1 a17556 3 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -ldir" d17558 14 a17571 2 echo "$ac_t""no" 1>&6 fi a17572 12 else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 echo "configure:10696: 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 else ac_save_LIBS="$LIBS" LIBS="-lx $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" d17648 8 a17655 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" d17657 4 a17660 2 rm -f conftest* LIBS="$ac_save_LIBS" a17662 6 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lx" else echo "$ac_t""no" 1>&6 fi d17666 4 a17669 4 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 echo "configure:10738: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d17671 7 a17677 3 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* d17705 4 a17708 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_time=no d17710 1 a17710 1 rm -f conftest* d17712 3 d17716 1 a17716 3 echo "$ac_t""$ac_cv_header_time" 1>&6 if test $ac_cv_header_time = yes; then cat >> confdefs.h <<\EOF d17718 1 a17718 1 EOF d17723 8 a17730 1 for ac_hdr in fcntl.h getopt.h grp.h memory.h netdb.h pwd.h utime.h d17732 71 a17802 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:10777: 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 d17804 51 a17854 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:10787: \"$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" d17856 11 a17866 5 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" d17868 82 a17949 1 rm -f conftest* d17951 49 a17999 7 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d18007 7 d18017 2 a18018 1 for ac_hdr in sys/ipc.h sys/socket.h sys/select.h d18020 76 a18095 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:10818: 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 d18097 46 a18142 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:10828: \"$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" d18144 1 a18144 5 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" d18146 3 a18148 1 rm -f conftest* d18150 5 a18154 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d18156 1 d18159 5 a18163 1 for ac_hdr in sys/types.h sys/stdtypes.h d18165 76 a18240 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:10858: 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 d18242 46 a18287 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:10868: \"$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" d18289 1 a18289 5 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" d18291 3 a18293 1 rm -f conftest* d18295 5 a18299 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d18301 1 d18304 3 a18306 1 for ac_hdr in sys/mman.h sys/resource.h sys/utsname.h sys/wait.h d18308 71 a18378 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:10898: 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 d18380 51 a18430 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:10908: \"$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" d18432 1 a18432 5 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" d18434 3 a18436 1 rm -f conftest* d18438 5 a18442 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d18444 1 d18448 1 a18448 1 for ac_hdr in netinet/in_systm.h d18450 71 a18520 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:10939: 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 d18522 51 a18572 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:10949: \"$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" d18574 1 a18574 5 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" d18576 3 a18578 1 rm -f conftest* d18580 5 a18584 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d18586 1 d18589 4 a18592 1 for ac_hdr in machine/types.h d18594 76 a18669 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:10979: 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 d18671 46 a18716 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:10989: \"$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" d18718 1 a18718 5 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" d18720 3 a18722 1 rm -f conftest* d18724 5 a18728 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d18730 1 d18733 5 a18737 1 for ac_hdr in mntent.h sys/mnttab.h sys/systemcfg.h d18739 76 a18814 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:11019: 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 d18816 46 a18861 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:11029: \"$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" d18863 1 a18863 5 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" d18865 3 a18867 1 rm -f conftest* d18869 5 a18873 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d18875 1 d18878 4 a18881 1 for ac_hdr in sys/mount.h sys/mntctl.h sys/param.h sys/vmount.h d18883 76 a18958 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:11059: 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 d18960 46 a19005 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:11069: \"$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" d19007 1 a19007 5 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" d19009 3 a19011 1 rm -f conftest* d19013 5 a19017 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d19019 1 d19022 3 a19024 1 for ac_hdr in bzlib.h libio.h zlib.h d19026 71 a19096 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:11099: 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 d19098 51 a19148 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:11109: \"$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" d19150 1 a19150 5 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" d19152 3 a19154 1 rm -f conftest* d19156 5 a19160 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d19162 1 d19165 2 a19166 1 for ac_hdr in err.h mcheck.h d19168 76 a19243 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:11139: 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 d19245 46 a19290 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:11149: \"$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" d19292 1 a19292 5 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" d19294 3 a19296 1 rm -f conftest* d19298 5 a19302 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d19304 1 d19308 2 a19309 1 for ac_hdr in float.h d19311 76 a19386 5 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:11180: 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 d19388 46 a19433 11 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:11190: \"$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" d19435 1 a19435 5 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" d19437 3 a19439 1 rm -f conftest* d19441 5 a19445 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d19447 1 d19451 74 a19524 5 if test X"$USE_NLS" = Xyes; then BUILD_RPMNLSTOOLS="rpmgettext rpmputtext" if test X"$USE_INCLUDED_LIBINTL" = Xyes; then INCPATH="-I\$(top_builddir)/intl $INCPATH" fi d19526 1 a19526 1 BUILD_RPMNLSTOOLS= d19528 5 d19534 43 a19576 20 for ac_hdr in glob.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:11231: 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:11241: \"$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" d19578 1 a19578 5 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" d19580 3 a19582 1 rm -f conftest* d19584 5 a19588 9 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 d19590 1 d19594 2 a19595 2 echo $ac_n "checking for struct statfs""... $ac_c" 1>&6 echo "configure:11269: checking for struct statfs" >&5 d19599 7 a19605 3 cat > conftest.$ac_ext < int main() { d19615 20 a19634 6 ; return 0; } EOF if { (eval echo configure:11285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""in sys/statvfs.h" 1>&6 cat >> confdefs.h <<\EOF d19636 1 a19636 1 EOF d19640 3 a19642 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d19644 1 a19644 1 rm -f conftest* d19648 7 a19654 3 cat > conftest.$ac_ext < int main() { d19664 20 a19683 6 ; return 0; } EOF if { (eval echo configure:11313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""in sys/vfs.h" 1>&6 cat >> confdefs.h <<\EOF d19685 1 a19685 1 EOF d19689 3 a19691 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d19693 1 a19693 1 rm -f conftest* d19697 7 a19703 3 cat > conftest.$ac_ext < int main() { d19716 20 a19735 6 ; return 0; } EOF if { (eval echo configure:11344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""in sys/mount.h" 1>&6 cat >> confdefs.h <<\EOF d19737 1 a19737 1 EOF d19741 3 a19743 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d19745 1 a19745 1 rm -f conftest* d19749 7 a19755 3 cat > conftest.$ac_ext < int main() { d19765 20 a19784 6 ; return 0; } EOF if { (eval echo configure:11372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""in sys/statfs.h" 1>&6 cat >> confdefs.h <<\EOF d19786 1 a19786 1 EOF d19790 3 a19792 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d19794 1 a19794 1 rm -f conftest* d19798 2 a19799 1 echo "configure: warning: not found" 1>&2 d19803 9 a19811 5 echo $ac_n "checking for f_bavail member in struct statfs""... $ac_c" 1>&6 echo "configure:11393: checking for f_bavail member in struct statfs" >&5 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF d19855 1 a19855 1 EOF d19858 5 a19862 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* echo "$ac_t""no" 1>&6 d19865 1 a19865 1 rm -f conftest* d19869 2 a19870 2 echo $ac_n "checking if statfs() requires 4 arguments""... $ac_c" 1>&6 echo "configure:11438: checking if statfs() requires 4 arguments" >&5 d19872 2 a19873 1 echo "$ac_t""no" 1>&6 d19876 7 a19882 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF d19916 1 a19916 1 EOF d19919 7 a19925 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* echo "$ac_t""no" 1>&6 d19927 1 a19927 1 rm -fr conftest* a19928 1 d19931 4 a19934 4 echo $ac_n "checking for inline""... $ac_c" 1>&6 echo "configure:11482: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d19938 12 a19949 3 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* d19966 3 a19968 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d19970 1 a19970 1 rm -f conftest* d19974 3 a19976 3 echo "$ac_t""$ac_cv_c_inline" 1>&6 case "$ac_cv_c_inline" in d19978 4 a19981 3 no) cat >> confdefs.h <<\EOF #define inline EOF d19983 1 a19983 1 *) cat >> confdefs.h < defines h_errno""... $ac_c" 1>&6 echo "configure:11524: checking if defines h_errno" >&5 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* d20023 3 a20025 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d20027 3 a20029 2 rm -f conftest* echo "$ac_t""$PROVIDES_ERRNO" 1>&6 d20031 2 a20032 1 cat >> confdefs.h <<\EOF d20034 1 a20034 1 EOF d20038 9 a20046 5 echo $ac_n "checking if defines S_IFSOCK""... $ac_c" 1>&6 echo "configure:11550: checking if defines S_IFSOCK" >&5 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* d20070 4 a20073 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* HAS_S_IFSOCK=no d20075 3 a20077 2 rm -f conftest* echo "$ac_t""$HAS_S_IFSOCK" 1>&6 d20079 2 a20080 1 cat >> confdefs.h <<\EOF d20082 1 a20082 1 EOF d20086 9 a20094 5 echo $ac_n "checking if defines S_ISLNK""... $ac_c" 1>&6 echo "configure:11578: checking if defines S_ISLNK" >&5 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* d20118 4 a20121 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* HAS_S_ISLNK=no d20123 3 a20125 2 rm -f conftest* echo "$ac_t""$HAS_S_ISLNK" 1>&6 d20127 2 a20128 1 cat >> confdefs.h <<\EOF d20130 1 a20130 1 EOF d20134 9 a20142 5 echo $ac_n "checking if defines S_ISSOCK""... $ac_c" 1>&6 echo "configure:11606: checking if defines S_ISSOCK" >&5 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* d20166 4 a20169 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* HAS_S_ISSOCK=no d20171 3 a20173 2 rm -f conftest* echo "$ac_t""$HAS_S_ISSOCK" 1>&6 d20175 2 a20176 1 cat >> confdefs.h <<\EOF d20178 1 a20178 1 EOF d20182 9 a20190 5 echo $ac_n "checking if timezone is defined""... $ac_c" 1>&6 echo "configure:11634: checking if timezone is defined" >&5 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* d20214 4 a20217 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* HAS_TIMEZONE=no d20219 40 a20258 20 rm -f conftest* echo "$ac_t""$HAS_TIMEZONE" 1>&6 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 echo "configure:11656: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_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])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* d20261 6 a20266 2 rm -rf conftest* ac_cv_type_mode_t=no d20268 5 a20272 1 rm -f conftest* d20274 1 a20274 4 fi echo "$ac_t""$ac_cv_type_mode_t" 1>&6 if test $ac_cv_type_mode_t = no; then cat >> confdefs.h <<\EOF d20276 1 a20276 1 EOF d20280 36 a20315 17 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 echo "configure:11689: 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* d20318 6 a20323 2 rm -rf conftest* ac_cv_type_pid_t=no d20325 5 a20329 1 rm -f conftest* d20331 1 a20331 4 fi echo "$ac_t""$ac_cv_type_pid_t" 1>&6 if test $ac_cv_type_pid_t = no; then cat >> confdefs.h <<\EOF d20333 1 a20333 1 EOF d20340 12 a20351 8 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 echo "configure:11725: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+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 rm -rf conftest* ac_cv_header_alloca_h=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_alloca_h=no fi rm -f conftest* fi d20386 1 a20386 3 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 if test $ac_cv_header_alloca_h = yes; then cat >> confdefs.h <<\EOF d20388 1 a20388 1 EOF d20392 12 a20403 9 echo $ac_n "checking for alloca""... $ac_c" 1>&6 echo "configure:11758: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+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 rm -rf conftest* d20447 4 a20450 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_func_alloca_works=no d20452 1 a20452 1 rm -f conftest* d20454 2 a20456 1 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 d20458 2 a20459 1 cat >> confdefs.h <<\EOF d20461 7 a20467 1 EOF d20469 1 a20469 1 fi d20471 1 a20471 7 if test $ac_cv_func_alloca_works = no; then # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=alloca.${ac_objext} cat >> confdefs.h <<\EOF d20473 1 a20473 1 EOF d20476 12 a20487 8 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 echo "configure:11823: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext </dev/null 2>&1; then rm -rf conftest* a20498 1 rm -rf conftest* d20504 2 a20505 2 echo "$ac_t""$ac_cv_os_cray" 1>&6 d20507 14 a20520 9 for ac_func in _getb67 GETB67 getb67; do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:11853: 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 < d20531 4 d20536 2 a20537 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d20544 4 a20547 1 $ac_func(); d20550 32 a20581 13 ; return 0; } EOF if { (eval echo configure:11881: \"$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 d20583 1 a20583 3 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <&6 d20590 1 a20590 1 done d20593 4 a20596 4 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 echo "configure:11908: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d20601 8 a20608 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then d20641 6 a20646 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_c_stack_direction=-1 d20648 1 a20648 1 rm -fr conftest* a20649 1 d20651 2 d20654 1 a20654 2 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 cat >> confdefs.h <&6 echo "configure:11957: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < d20687 4 d20692 2 a20693 5 builtin and then its argument prototype would still apply. */ char vprintf(); int main() { d20697 1 a20697 1 #if defined (__stub_vprintf) || defined (__stub___vprintf) d20700 4 a20703 1 vprintf(); d20706 48 a20753 33 ; return 0; } EOF if { (eval echo configure:11985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_vprintf=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_VPRINTF 1 EOF else echo "$ac_t""no" 1>&6 fi if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 echo "configure:12009: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < d20764 4 d20769 2 a20770 5 builtin and then its argument prototype would still apply. */ char _doprnt(); int main() { d20777 4 a20780 1 _doprnt(); d20783 32 a20814 13 ; return 0; } EOF if { (eval echo configure:12037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func__doprnt=no" fi rm -f conftest* fi d20816 1 a20816 3 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF d20818 1 a20818 1 EOF a20819 2 else echo "$ac_t""no" 1>&6 d20823 5 a20829 27 echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 echo "configure:12063: checking for working fnmatch" >&5 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else # Some versions of Solaris or SCO have a broken fnmatch function. # So we run a test program. If we are cross-compiling, take no chance. # Thanks to John Oleynick and Franc,ois Pinard for this test. if test "$cross_compiling" = yes; then ac_cv_func_fnmatch_works=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_fnmatch_works=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_func_fnmatch_works=no fi rm -fr conftest* fi a20830 1 fi a20831 5 echo "$ac_t""$ac_cv_func_fnmatch_works" 1>&6 if test $ac_cv_func_fnmatch_works = yes; then cat >> confdefs.h <<\EOF #define HAVE_FNMATCH 1 EOF a20832 1 fi a20833 3 if test $ac_cv_func_fnmatch_works = no; then LIBOBJS="$LIBOBJS fnmatch.o" fi d20838 13 a20850 8 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:12108: 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 < d20861 4 d20866 2 a20867 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d20874 4 a20877 1 $ac_func(); d20880 35 a20914 13 ; return 0; } EOF if { (eval echo configure:12136: \"$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 a20915 9 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 d20919 3 d20924 13 a20936 8 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:12163: 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 < d20947 4 d20952 2 a20953 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d20960 4 a20963 1 $ac_func(); d20966 35 a21000 13 ; return 0; } EOF if { (eval echo configure:12191: \"$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 a21001 9 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 d21005 6 d21013 13 a21025 8 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:12218: 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 < d21036 4 d21041 2 a21042 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d21049 4 a21052 1 $ac_func(); d21055 35 a21089 13 ; return 0; } EOF if { (eval echo configure:12246: \"$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 a21090 9 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 d21095 1 d21098 13 a21110 8 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:12274: 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 < d21121 4 d21126 2 a21127 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d21134 4 a21137 1 $ac_func(); d21140 35 a21174 13 ; return 0; } EOF if { (eval echo configure:12302: \"$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 a21175 9 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 d21180 1 d21183 13 a21195 8 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:12330: 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 < d21206 4 d21211 2 a21212 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d21219 4 a21222 1 $ac_func(); d21225 35 a21259 13 ; return 0; } EOF if { (eval echo configure:12358: \"$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 a21260 9 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 d21266 1 d21272 2 a21273 1 for ac_func in glob d21275 13 a21287 8 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:12392: 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 < d21298 4 d21303 2 a21304 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d21311 4 a21314 1 $ac_func(); d21317 35 a21351 20 ; return 0; } EOF if { (eval echo configure:12420: \"$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 rpm_cv_glob=yes d21358 1 a21358 2 fi d21361 4 a21364 4 echo $ac_n "checking for GNU extensions to glob""... $ac_c" 1>&6 echo "configure:12450: checking for GNU extensions to glob" >&5 if eval "test \"`echo '$''{'rpm_cv_glob_ext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d21366 1 a21366 1 d21374 7 a21380 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then d21404 6 a21409 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* rpm_cv_glob_ext=no d21411 1 a21411 1 rm -fr conftest* d21413 1 a21414 2 rm -r t d21416 2 a21417 2 echo "$ac_t""$rpm_cv_glob_ext" 1>&6 d21425 2 a21426 1 cat >> confdefs.h <<\EOF d21428 1 a21428 1 EOF d21430 2 a21431 1 LIBOBJS="$LIBOBJS glob.o fnmatch.o" d21434 1 a21437 2 : fi d21439 1 d21441 1 a21441 1 WITH_PYTHON_VERSION= d21444 2 a21445 2 echo $ac_n "checking for python 2.2""... $ac_c" 1>&6 echo "configure:12517: checking for python 2.2" >&5 d21449 7 a21455 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then d21475 6 a21480 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* withval=no d21482 1 a21482 1 rm -fr conftest* d21484 2 a21485 2 echo "$ac_t""$withval" 1>&6 d21490 2 a21491 2 echo $ac_n "checking for python 1.5.2""... $ac_c" 1>&6 echo "configure:12548: checking for python 1.5.2" >&5 d21495 7 a21501 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then d21521 6 a21526 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* withval=no d21528 1 a21528 1 rm -fr conftest* d21530 2 a21531 2 echo "$ac_t""$withval" 1>&6 d21539 1 a21539 1 if test -n "$WITH_PYTHON_VERSION" ; then d21552 4 a21555 4 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:12595: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___DOXYGEN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d21557 2 a21558 2 case "$__DOXYGEN" in /*) a21560 3 ?:/*) ac_cv_path___DOXYGEN="$__DOXYGEN" # Let the user override the test with a dos path. ;; d21562 14 a21575 10 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___DOXYGEN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" d21580 2 a21581 1 __DOXYGEN="$ac_cv_path___DOXYGEN" d21583 2 a21584 1 echo "$ac_t""$__DOXYGEN" 1>&6 d21586 2 a21587 1 echo "$ac_t""no" 1>&6 d21591 1 a21594 2 : fi d21596 1 d21601 3 a21603 1 { echo "configure: error: --> rpm API docs needs doxygen in PATH" 1>&2; exit 1; } d21616 1 a21619 2 : fi d21621 1 d21623 2 a21624 1 cat >> confdefs.h <<\EOF d21626 1 a21626 1 EOF d21631 1 d21634 13 a21646 8 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:12669: 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 < d21657 4 d21662 2 a21663 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d21670 4 a21673 1 $ac_func(); d21676 35 a21710 13 ; return 0; } EOF if { (eval echo configure:12697: \"$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 a21711 9 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 d21716 1 d21719 13 a21731 8 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:12725: 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 < d21742 4 d21747 2 a21748 5 builtin and then its argument prototype would still apply. */ char $ac_func(); int main() { d21755 4 a21758 1 $ac_func(); d21761 35 a21795 13 ; return 0; } EOF if { (eval echo configure:12753: \"$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 a21796 9 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 d21801 12 a21812 8 echo $ac_n "checking for getmntent""... $ac_c" 1>&6 echo "configure:12779: checking for getmntent" >&5 if eval "test \"`echo '$''{'ac_cv_func_getmntent'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < d21823 4 d21828 2 a21829 5 builtin and then its argument prototype would still apply. */ char getmntent(); int main() { d21836 4 a21839 1 getmntent(); d21842 32 a21873 13 ; return 0; } EOF if { (eval echo configure:12807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getmntent=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_getmntent=no" fi rm -f conftest* fi d21875 1 a21875 3 if eval "test \"`echo '$ac_cv_func_'getmntent`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF d21877 1 a21877 1 EOF a21879 1 echo "$ac_t""no" 1>&6 d21881 12 a21892 8 echo $ac_n "checking for mntctl""... $ac_c" 1>&6 echo "configure:12829: checking for mntctl" >&5 if eval "test \"`echo '$''{'ac_cv_func_mntctl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < d21903 4 d21908 2 a21909 5 builtin and then its argument prototype would still apply. */ char mntctl(); int main() { d21916 4 a21919 1 mntctl(); d21922 32 a21953 13 ; return 0; } EOF if { (eval echo configure:12857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_mntctl=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_mntctl=no" fi rm -f conftest* fi d21955 1 a21955 3 if eval "test \"`echo '$ac_cv_func_'mntctl`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF d21957 1 a21957 1 EOF a21959 1 echo "$ac_t""no" 1>&6 d21961 12 a21972 8 echo $ac_n "checking for getmntinfo_r""... $ac_c" 1>&6 echo "configure:12879: checking for getmntinfo_r" >&5 if eval "test \"`echo '$''{'ac_cv_func_getmntinfo_r'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < d21983 4 d21988 2 a21989 5 builtin and then its argument prototype would still apply. */ char getmntinfo_r(); int main() { d21996 4 a21999 1 getmntinfo_r(); d22002 32 a22033 13 ; return 0; } EOF if { (eval echo configure:12907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getmntinfo_r=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_getmntinfo_r=no" fi rm -f conftest* fi d22035 1 a22035 3 if eval "test \"`echo '$ac_cv_func_'getmntinfo_r`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF d22037 1 a22037 1 EOF a22039 1 echo "$ac_t""no" 1>&6 d22041 4 a22044 5 echo $ac_n "checking for getmntinfo_r in -lc_r""... $ac_c" 1>&6 echo "configure:12929: checking for getmntinfo_r in -lc_r" >&5 ac_lib_var=`echo c_r'_'getmntinfo_r | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d22046 1 a22046 1 ac_save_LIBS="$LIBS" d22048 8 a22055 3 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" d22098 1 a22098 5 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBS="$LIBS -lc_r"; cat >> confdefs.h <<\EOF d22100 1 a22100 1 EOF a22102 1 echo "$ac_t""no" 1>&6 d22104 2 a22105 1 cat >> confdefs.h <<\EOF d22107 1 a22107 1 EOF d22109 1 a22109 1 LIBOBJS="$LIBOBJS getmntent.o" d22119 4 a22122 4 echo $ac_n "checking for lchown""... $ac_c" 1>&6 echo "configure:12986: checking for lchown" >&5 if eval "test \"`echo '$''{'ac_cv_func_lchown'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d22124 7 a22130 3 cat > conftest.$ac_ext < d22141 4 d22146 2 a22147 5 builtin and then its argument prototype would still apply. */ char lchown(); int main() { d22154 4 a22157 1 lchown(); d22160 32 a22191 16 ; return 0; } EOF if { (eval echo configure:13014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_lchown=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_lchown=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'lchown`\" = yes"; then echo "$ac_t""yes" 1>&6 d22194 2 a22195 1 cat >> confdefs.h <<\EOF d22197 1 a22197 1 EOF d22200 1 a22200 2 echo "$ac_t""no" 1>&6 __CHOWN_RHF="%{__chown} -Rf" d22202 2 a22203 2 echo $ac_n "checking whether chown() follows symlinks""... $ac_c" 1>&6 echo "configure:13039: checking whether chown() follows symlinks" >&5 d22210 1 a22210 2 fi d22229 2 a22230 2 echo $ac_n "checking (cannot check by non-root user)""... $ac_c" 1>&6 echo "configure:13067: checking (cannot check by non-root user)" >&5 d22235 2 a22236 1 echo "$ac_t""$result" 1>&6 d22238 2 a22239 1 cat >> confdefs.h <<\EOF d22241 1 a22241 1 EOF d22249 2 a22250 2 echo $ac_n "checking root's primary group""... $ac_c" 1>&6 echo "configure:13085: checking root's primary group" >&5 d22255 7 a22261 3 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then d22302 6 a22307 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ROOT_GROUP="root" d22309 1 a22309 1 rm -fr conftest* d22311 2 a22312 2 echo "$ac_t""$ROOT_GROUP" 1>&6 d22317 1 a22317 1 # in /var and /var/local respectively. For everything else, d22324 1 a22324 1 *) d22326 1 a22326 1 esac d22345 2 a22346 1 cat >> confdefs.h <<\EOF d22348 2 a22349 1 EOF d22351 1 a22351 1 cat >> confdefs.h <<\EOF d22353 1 a22353 1 EOF d22358 2 a22359 1 cat >> confdefs.h <<\EOF d22361 2 a22362 1 EOF d22364 1 a22364 1 cat >> confdefs.h <<\EOF d22366 1 a22366 1 EOF d22368 1 a22368 1 LIBOBJS="$LIBOBJS myrealloc.o" d22423 6 d22450 1 a22450 1 unknown|pc|ibm|redhat|pld|mandrake|conectiva) d22455 1 d22458 188 a22645 1 RPMCANONOS="$build_os_noversion" d22648 7 d22656 11 d22668 27 a22694 2 if test -n "$LIBOBJS" ; then LIBMISC='$(top_builddir)/misc/libmisc.a' d22698 32 d22731 32 a22762 4 if test X"$prefix" = XNONE ; then usrprefix="$ac_default_prefix" else usrprefix=$prefix a22763 4 LOCALEDIR="`echo ${usrprefix}/share/locale`" cat >> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h < confcache <<\EOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs. It is not useful on other systems. # If it contains results you don't want to keep, you may remove or edit it. # # By default, configure uses ./config.cache as the cache file, # creating it if it does not exist already. You can give configure # the --cache-file=FILE option to use a different cache file; that is # what configure does when it calls configure scripts in # subdirectories, so they share the cache. # Giving --cache-file=/dev/null disables caching, for debugging configure. # config.status only pays attention to the cache file if you give it the # --recheck option to rerun configure. # EOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" d23011 4 a23014 3 *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' d23016 45 a23060 12 esac >> confcache if cmp -s $cache_file confcache; then : else if test -w $cache_file; then echo "updating cache $cache_file" cat confcache > $cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache d23062 3 a23064 1 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 d23066 1 a23066 3 test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' d23068 3 a23070 5 # Any assignment to VPATH causes Sun make to only execute # the first set of double-colon rules, so remove it if not needed. # If there is a colon in the path, we need to keep it. if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' d23073 6 a23078 3 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 DEFS=-DHAVE_CONFIG_H d23080 1 a23080 2 # Without the "./", some shells look in PATH for config.status. : ${CONFIG_STATUS=./config.status} d23082 1 a23082 8 echo creating $CONFIG_STATUS rm -f $CONFIG_STATUS cat > $CONFIG_STATUS </dev/null | sed 1q`: d23084 1 a23084 1 # $0 $ac_configure_args a23085 2 # Compiler output produced by configure, useful for debugging # configure, is in ./config.log if it exists. d23087 15 a23101 2 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" for ac_option d23103 37 a23139 10 case "\$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) echo "$CONFIG_STATUS generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; *) echo "\$ac_cs_usage"; exit 1 ;; d23143 38 a23180 13 ac_given_srcdir=$srcdir ac_given_INSTALL="$INSTALL" trap 'rm -fr `echo " Doxyfile Makefile rpmrc macros platform rpmpopt rpm.spec rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile scripts/Makefile scripts/brp-redhat tools/Makefile tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile misc/Makefile po/Makefile.in intl/Makefile doc/Makefile doc/manual/Makefile doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile python/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF $ac_vpsub $extrasub s%@@SHELL@@%$SHELL%g s%@@CFLAGS@@%$CFLAGS%g s%@@CPPFLAGS@@%$CPPFLAGS%g s%@@CXXFLAGS@@%$CXXFLAGS%g s%@@FFLAGS@@%$FFLAGS%g s%@@DEFS@@%$DEFS%g s%@@LDFLAGS@@%$LDFLAGS%g s%@@LIBS@@%$LIBS%g s%@@exec_prefix@@%$exec_prefix%g s%@@prefix@@%$prefix%g s%@@program_transform_name@@%$program_transform_name%g s%@@bindir@@%$bindir%g s%@@sbindir@@%$sbindir%g s%@@libexecdir@@%$libexecdir%g s%@@datadir@@%$datadir%g s%@@sysconfdir@@%$sysconfdir%g s%@@sharedstatedir@@%$sharedstatedir%g s%@@localstatedir@@%$localstatedir%g s%@@libdir@@%$libdir%g s%@@includedir@@%$includedir%g s%@@oldincludedir@@%$oldincludedir%g s%@@infodir@@%$infodir%g s%@@mandir@@%$mandir%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%@@target@@%$target%g s%@@target_alias@@%$target_alias%g s%@@target_cpu@@%$target_cpu%g s%@@target_vendor@@%$target_vendor%g s%@@target_os@@%$target_os%g s%@@build@@%$build%g s%@@build_alias@@%$build_alias%g s%@@build_cpu@@%$build_cpu%g s%@@build_vendor@@%$build_vendor%g s%@@build_os@@%$build_os%g s%@@INSTALL_PROGRAM@@%$INSTALL_PROGRAM%g s%@@INSTALL_SCRIPT@@%$INSTALL_SCRIPT%g s%@@INSTALL_DATA@@%$INSTALL_DATA%g s%@@PACKAGE@@%$PACKAGE%g s%@@VERSION@@%$VERSION%g s%@@ACLOCAL@@%$ACLOCAL%g s%@@AUTOCONF@@%$AUTOCONF%g s%@@AUTOMAKE@@%$AUTOMAKE%g s%@@AUTOHEADER@@%$AUTOHEADER%g s%@@MAKEINFO@@%$MAKEINFO%g s%@@SET_MAKE@@%$SET_MAKE%g s%@@CC@@%$CC%g s%@@CPP@@%$CPP%g s%@@CXX@@%$CXX%g s%@@AS@@%$AS%g s%@@RPMUSER@@%$RPMUSER%g s%@@RPMUID@@%$RPMUID%g s%@@RPMGROUP@@%$RPMGROUP%g s%@@RPMGID@@%$RPMGID%g s%@@CTAGS@@%$CTAGS%g s%@@CSCOPE@@%$CSCOPE%g s%@@LDFLAGS_STATIC@@%$LDFLAGS_STATIC%g s%@@FIXPERMS@@%$FIXPERMS%g s%@@MKDIR@@%$MKDIR%g s%@@MKDIR_P@@%$MKDIR_P%g s%@@U@@%$U%g s%@@ANSI2KNR@@%$ANSI2KNR%g s%@@AWK@@%$AWK%g s%@@LN_S@@%$LN_S%g s%@@OBJEXT@@%$OBJEXT%g s%@@EXEEXT@@%$EXEEXT%g s%@@ECHO@@%$ECHO%g s%@@RANLIB@@%$RANLIB%g s%@@STRIP@@%$STRIP%g s%@@LIBTOOL@@%$LIBTOOL%g s%@@AR@@%$AR%g s%@@BZIP2BIN@@%$BZIP2BIN%g s%@@__CAT@@%$__CAT%g s%@@__CHGRP@@%$__CHGRP%g s%@@__CHMOD@@%$__CHMOD%g s%@@__CHOWN@@%$__CHOWN%g s%@@__CP@@%$__CP%g s%@@__CPIO@@%$__CPIO%g s%@@__FILE@@%$__FILE%g s%@@__GPG@@%$__GPG%g s%@@__GREP@@%$__GREP%g s%@@GZIPBIN@@%$GZIPBIN%g s%@@UNZIPBIN@@%$UNZIPBIN%g s%@@__ID@@%$__ID%g s%@@__ID_U@@%$__ID_U%g s%@@__INSTALL@@%$__INSTALL%g s%@@__MAKE@@%$__MAKE%g s%@@__MKDIR@@%$__MKDIR%g s%@@__MV@@%$__MV%g s%@@__PATCH@@%$__PATCH%g s%@@__PERL@@%$__PERL%g s%@@PGPBIN@@%$PGPBIN%g s%@@__PYTHON@@%$__PYTHON%g s%@@__RM@@%$__RM%g s%@@__RSH@@%$__RSH%g s%@@__SED@@%$__SED%g s%@@__SSH@@%$__SSH%g s%@@__TAR@@%$__TAR%g s%@@__LD@@%$__LD%g s%@@__NM@@%$__NM%g s%@@__OBJCOPY@@%$__OBJCOPY%g s%@@__OBJDUMP@@%$__OBJDUMP%g s%@@__STRIP@@%$__STRIP%g s%@@WITH_ZLIB_SUBDIR@@%$WITH_ZLIB_SUBDIR%g s%@@WITH_ZLIB_INCLUDE@@%$WITH_ZLIB_INCLUDE%g s%@@WITH_ZLIB_LIB@@%$WITH_ZLIB_LIB%g s%@@WITH_DB_SUBDIR@@%$WITH_DB_SUBDIR%g s%@@WITH_INTERNAL_DB@@%$WITH_INTERNAL_DB%g s%@@DBLIBSRCS@@%$DBLIBSRCS%g s%@@DBLIBOBJS@@%$DBLIBOBJS%g s%@@libdb3@@%$libdb3%g s%@@libdb3a@@%$libdb3a%g s%@@WITH_BZIP2@@%$WITH_BZIP2%g s%@@LIBOBJS@@%$LIBOBJS%g s%@@ALLOCA@@%$ALLOCA%g s%@@GLIBC21@@%$GLIBC21%g s%@@LIBICONV@@%$LIBICONV%g s%@@USE_NLS@@%$USE_NLS%g s%@@MSGFMT@@%$MSGFMT%g s%@@GMSGFMT@@%$GMSGFMT%g s%@@XGETTEXT@@%$XGETTEXT%g s%@@INTLBISON@@%$INTLBISON%g s%@@BUILD_INCLUDED_LIBINTL@@%$BUILD_INCLUDED_LIBINTL%g s%@@USE_INCLUDED_LIBINTL@@%$USE_INCLUDED_LIBINTL%g s%@@CATALOGS@@%$CATALOGS%g s%@@CATOBJEXT@@%$CATOBJEXT%g s%@@GMOFILES@@%$GMOFILES%g s%@@INTLLIBS@@%$INTLLIBS%g s%@@INTLOBJS@@%$INTLOBJS%g s%@@POFILES@@%$POFILES%g s%@@POSUB@@%$POSUB%g s%@@DATADIRNAME@@%$DATADIRNAME%g s%@@INSTOBJEXT@@%$INSTOBJEXT%g s%@@GENCAT@@%$GENCAT%g s%@@MKINSTALLDIRS@@%$MKINSTALLDIRS%g s%@@INTL_LIBTOOL_SUFFIX_PREFIX@@%$INTL_LIBTOOL_SUFFIX_PREFIX%g s%@@BUILD_RPMNLSTOOLS@@%$BUILD_RPMNLSTOOLS%g s%@@WITH_PYTHON_SUBDIR@@%$WITH_PYTHON_SUBDIR%g s%@@WITH_PYTHON_SUBPACKAGE@@%$WITH_PYTHON_SUBPACKAGE%g s%@@WITH_PYTHON_VERSION@@%$WITH_PYTHON_VERSION%g s%@@__DOXYGEN@@%$__DOXYGEN%g s%@@WITH_APIDOCS_TARGET@@%$WITH_APIDOCS_TARGET%g s%@@WITH_APIDOCS@@%$WITH_APIDOCS%g s%@@__CHOWN_RHF@@%$__CHOWN_RHF%g s%@@__CHGRP_RHF@@%$__CHGRP_RHF%g s%@@ROOT_GROUP@@%$ROOT_GROUP%g s%@@varprefix@@%$varprefix%g s%@@tmpdir@@%$tmpdir%g s%@@RPMCANONARCH@@%$RPMCANONARCH%g s%@@RPMCANONVENDOR@@%$RPMCANONVENDOR%g s%@@RPMCANONOS@@%$RPMCANONOS%g s%@@LIBMISC@@%$LIBMISC%g s%@@LOCALEDIR@@%$LOCALEDIR%g s%@@LIBDIR@@%$LIBDIR%g s%@@RPMCONFIGDIR@@%$RPMCONFIGDIR%g s%@@SYSCONFIGDIR@@%$SYSCONFIGDIR%g s%@@MACROFILES@@%$MACROFILES%g s%@@LIBRPMRC_FILENAME@@%$LIBRPMRC_FILENAME%g s%@@LIBRPMALIAS_FILENAME@@%$LIBRPMALIAS_FILENAME%g s%@@FINDREQUIRES@@%$FINDREQUIRES%g s%@@FINDPROVIDES@@%$FINDPROVIDES%g s%@@testdir@@%$testdir%g s%@@INCPATH@@%$INCPATH%g s%@@RPM@@%$RPM%g s%@@OBJDUMP@@%$OBJDUMP%g s%@@subdirs@@%$subdirs%g d23186 203 a23389 1 EOF d23391 1 a23391 1 cat >> $CONFIG_STATUS <<\EOF d23393 36 a23428 26 # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. ac_file=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_cmds # Line after last line for current file. ac_more_lines=: ac_sed_cmds="" while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file else sed "${ac_end}q" conftest.subs > conftest.s$ac_file fi if test ! -s conftest.s$ac_file; then ac_more_lines=false rm -f conftest.s$ac_file else if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f conftest.s$ac_file" else ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" fi ac_file=`expr $ac_file + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_cmds` d23430 1 a23430 5 done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi EOF d23432 13 a23444 1 cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dir_suffix. ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dir_suffix= ac_dots= fi case "$ac_given_srcdir" in .) srcdir=. if test -z "$ac_dots"; then top_srcdir=. else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; d23506 14 a23519 2 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" top_srcdir="$ac_dots$ac_given_srcdir" ;; d23522 77 a23598 23 case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac echo creating "$ac_file" rm -f "$ac_file" configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." case "$ac_file" in *Makefile*) ac_comsub="1i\\ # $configure_input" ;; *) ac_comsub= ;; esac ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` sed -e "$ac_comsub s%@@configure_input@@%$configure_input%g s%@@srcdir@@%$srcdir%g s%@@top_srcdir@@%$top_srcdir%g s%@@INSTALL@@%$INSTALL%g " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file fi; done rm -f conftest.s* d23604 7 a23610 7 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' ac_dC='\3' ac_dD='%g' # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='\([ ]\)%\1#\2define\3' d23612 1 a23612 6 ac_uD='\4%g' # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_eB='$%\1#\2define\3' ac_eC=' ' ac_eD='%g' d23614 1 a23614 8 if test "${CONFIG_HEADERS+set}" != set; then EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF fi for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then d23616 8 a23623 4 case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; d23626 2 a23627 1 echo creating $ac_file d23629 62 a23690 20 rm -f conftest.frag conftest.in conftest.out ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` cat $ac_file_inputs > conftest.in EOF # Transform confdefs.h into a sed script conftest.vals that substitutes # the proper values into config.h.in to produce config.h. And first: # Protect against being on the right side of a sed subst in config.status. # Protect against being in an unquoted here document in config.status. rm -f conftest.vals cat > conftest.hdr <<\EOF s/[\\&%]/\\&/g s%[\\$`]%\\&%g s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp s%ac_d%ac_u%gp s%ac_u%ac_e%gp EOF sed -n -f conftest.hdr confdefs.h > conftest.vals rm -f conftest.hdr d23695 37 a23731 7 cat >> conftest.vals <<\EOF s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% EOF # Break up conftest.vals because some shells have a limit on # the size of here documents, and old seds have small limits too. d23733 1 a23733 1 while : d23735 8 a23742 6 ac_lines=`grep -c . conftest.vals` # grep -c gives empty output for an empty file on some AIX systems. if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi # Write a limited-size here document to conftest.frag. echo ' cat > conftest.frag <> $CONFIG_STATUS sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS d23744 65 a23808 24 sed -f conftest.frag conftest.in > conftest.out rm -f conftest.in mv conftest.out conftest.in ' >> $CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail rm -f conftest.vals mv conftest.tail conftest.vals done rm -f conftest.vals cat >> $CONFIG_STATUS <<\EOF rm -f conftest.frag conftest.h echo "/* $ac_file. Generated automatically by configure. */" > conftest.h cat conftest.in >> conftest.h rm -f conftest.in if cmp -s $ac_file conftest.h 2>/dev/null; then echo "$ac_file is unchanged" rm -f conftest.h else # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" d23810 3 a23812 2 rm -f $ac_file mv conftest.h $ac_file d23814 9 a23822 1 fi; done d23824 139 a23962 2 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; d23989 16 a24004 9 # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" d24006 2 a24007 3 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; d24009 41 a24049 6 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" d24051 15 a24065 4 ;; esac done echo timestamp > popt/stamp-h.in a24067 1 d24069 9 a24077 2 exit 0 EOF d24079 1 a24079 2 rm -fr confdefs* $ac_clean_files test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 d24081 25 d24116 1 a24116 1 case "$ac_arg" in d24121 4 a24124 1 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) d24130 4 d24138 6 a24143 1 for ac_config_dir in popt beecrypt zlib $WITH_DB_SUBDIR; do d24147 1 a24147 3 if test ! -d $srcdir/$ac_config_dir; then continue fi d24149 58 a24206 11 echo configuring in $ac_config_dir case "$srcdir" in .) ;; *) if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :; else { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; } fi ;; esac a24207 2 ac_popdir=`pwd` cd $ac_config_dir d24209 1 a24209 11 # A "../" for each directory in /$ac_config_dir. ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` case "$srcdir" in .) # No --srcdir option. We are building in place. ac_sub_srcdir=$srcdir ;; /*) # Absolute path. ac_sub_srcdir=$srcdir/$ac_config_dir ;; *) # Relative path. ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; esac d24212 5 a24216 3 if test -f $ac_sub_srcdir/configure; then ac_sub_configure=$ac_sub_srcdir/configure elif test -f $ac_sub_srcdir/configure.in; then d24219 2 a24220 1 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2 a24225 1 d24227 2 a24228 2 case "$cache_file" in /*) ac_sub_cache_file=$cache_file ;; d24230 1 a24230 1 ac_sub_cache_file="$ac_dots$cache_file" ;; a24231 4 case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac d24233 2 a24234 1 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" d24236 5 a24240 5 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir then : else { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; } fi @ 1.13 log @Resolve: RPM 4.0.2 -> RPM 4.0.3 @ text @d972 1 a972 1 VERSION=4.0.3 d7372 15 d7404 1 a7404 1 echo "configure:7390: checking for $dir/lib in LIBS" >&5 d7413 1 a7413 1 echo "configure:7399: checking for $dir/include in INCPATH" >&5 d7423 1 a7423 1 echo "configure:7409: checking for /usr/ucblib in LIBS" >&5 d7440 1 a7440 1 echo "configure:7426: checking for setreuid" >&5 d7445 1 a7445 1 #line 7431 "configure" d7468 1 a7468 1 if { (eval echo configure:7454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7487 1 a7487 1 echo "configure:7473: checking for setreuid in -lucb" >&5 d7495 1 a7495 1 #line 7481 "configure" d7506 1 a7506 1 if { (eval echo configure:7492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7531 1 a7531 1 echo "configure:7517: checking for rand" >&5 d7536 1 a7536 1 #line 7522 "configure" d7559 1 a7559 1 if { (eval echo configure:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7578 1 a7578 1 echo "configure:7564: checking for rand in -lrand" >&5 d7586 1 a7586 1 #line 7572 "configure" d7597 1 a7597 1 if { (eval echo configure:7583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7622 1 a7622 1 echo "configure:7608: checking for getdomainname" >&5 d7627 1 a7627 1 #line 7613 "configure" d7650 1 a7650 1 if { (eval echo configure:7636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7669 1 a7669 1 echo "configure:7655: checking for getdomainname in -lnsl" >&5 d7677 1 a7677 1 #line 7663 "configure" d7688 1 a7688 1 if { (eval echo configure:7674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7712 1 a7712 1 echo "configure:7698: checking for socket" >&5 d7717 1 a7717 1 #line 7703 "configure" d7740 1 a7740 1 if { (eval echo configure:7726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7759 1 a7759 1 echo "configure:7745: checking for socket in -lsocket" >&5 d7767 1 a7767 1 #line 7753 "configure" d7778 1 a7778 1 if { (eval echo configure:7764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7803 1 a7803 1 echo "configure:7789: checking for fchmod" >&5 d7808 1 a7808 1 #line 7794 "configure" d7831 1 a7831 1 if { (eval echo configure:7817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7854 1 a7854 1 echo "configure:7840: checking for $ac_func" >&5 d7859 1 a7859 1 #line 7845 "configure" d7882 1 a7882 1 if { (eval echo configure:7868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7908 1 a7908 1 echo "configure:7894: checking for writev in -lport" >&5 d7916 1 a7916 1 #line 7902 "configure" d7927 1 a7927 1 if { (eval echo configure:7913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7957 1 a7957 1 echo "configure:7943: checking for pthread_mutex_trylock in -lpthread" >&5 d7965 1 a7965 1 #line 7951 "configure" d7976 1 a7976 1 if { (eval echo configure:7962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7996 1 a7996 1 echo "configure:7982: checking for __pthread_mutex_trylock in -lpthread" >&5 d8004 1 a8004 1 #line 7990 "configure" d8015 1 a8015 1 if { (eval echo configure:8001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8042 1 a8042 1 echo "configure:8028: checking for mutex_lock in -lthread" >&5 d8050 1 a8050 1 #line 8036 "configure" d8061 1 a8061 1 if { (eval echo configure:8047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8103 1 a8103 1 echo "configure:8089: checking for $ac_hdr" >&5 d8108 1 a8108 1 #line 8094 "configure" d8113 1 a8113 1 { (eval echo configure:8099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d8141 1 a8141 1 echo "configure:8127: checking for db_create" >&5 d8146 1 a8146 1 #line 8132 "configure" d8169 1 a8169 1 if { (eval echo configure:8155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8187 1 a8187 1 echo "configure:8173: checking for db_create in -ldb-3.2" >&5 d8195 1 a8195 1 #line 8181 "configure" d8206 1 a8206 1 if { (eval echo configure:8192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8225 1 a8225 1 echo "configure:8211: checking for db_create in -ldb-3.1" >&5 d8233 1 a8233 1 #line 8219 "configure" d8244 1 a8244 1 if { (eval echo configure:8230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8263 1 a8263 1 echo "configure:8249: checking for db_create in -ldb-3.0" >&5 d8271 1 a8271 1 #line 8257 "configure" d8282 1 a8282 1 if { (eval echo configure:8268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8301 1 a8301 1 echo "configure:8287: checking for db_create in -ldb" >&5 d8309 1 a8309 1 #line 8295 "configure" d8320 1 a8320 1 if { (eval echo configure:8306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8359 1 a8359 1 echo "configure:8345: checking whether $libdb3 needs $libthread" >&5 d8363 1 a8363 1 #line 8349 "configure" d8374 1 a8374 1 if { (eval echo configure:8360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8424 1 a8424 1 echo "configure:8410: checking for fork" >&5 d8429 1 a8429 1 #line 8415 "configure" d8452 1 a8452 1 if { (eval echo configure:8438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8482 1 d8485 1 a8485 1 echo "configure:8470: checking for gzread in -l${zlib}" >&5 d8493 1 a8493 1 #line 8478 "configure" d8504 1 a8504 1 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8531 1 a8531 1 echo "configure:8516: checking for gzseek in -l${zlib}" >&5 d8539 1 a8539 1 #line 8524 "configure" d8550 1 a8550 1 if { (eval echo configure:8535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8573 1 d8576 1 a8576 1 echo "configure:8560: checking for bzread in -lbz2" >&5 d8584 1 a8584 1 #line 8568 "configure" d8595 1 a8595 1 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8614 1 a8614 1 echo "configure:8598: checking for BZ2_bzread in -lbz2" >&5 d8622 1 a8622 1 #line 8606 "configure" d8633 1 a8633 1 if { (eval echo configure:8617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8667 1 a8667 1 echo "configure:8651: checking for $ac_func" >&5 d8672 1 a8672 1 #line 8656 "configure" d8695 1 a8695 1 if { (eval echo configure:8679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8721 1 a8721 1 echo "configure:8705: checking for error_at_line" >&5 d8726 1 a8726 1 #line 8710 "configure" d8733 1 a8733 1 if { (eval echo configure:8717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8755 1 a8755 1 echo "configure:8739: checking for $ac_word" >&5 d8783 1 a8783 1 echo "configure:8767: checking for working const" >&5 d8788 1 a8788 1 #line 8772 "configure" d8837 1 a8837 1 if { (eval echo configure:8821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d8858 1 a8858 1 echo "configure:8842: checking for inline" >&5 d8865 1 a8865 1 #line 8849 "configure" d8872 1 a8872 1 if { (eval echo configure:8856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d8898 1 a8898 1 echo "configure:8882: checking for off_t" >&5 d8903 1 a8903 1 #line 8887 "configure" d8931 1 a8931 1 echo "configure:8915: checking for size_t" >&5 d8936 1 a8936 1 #line 8920 "configure" d8966 1 a8966 1 echo "configure:8950: checking for working alloca.h" >&5 d8971 1 a8971 1 #line 8955 "configure" d8978 1 a8978 1 if { (eval echo configure:8962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8999 1 a8999 1 echo "configure:8983: checking for alloca" >&5 d9004 1 a9004 1 #line 8988 "configure" d9032 1 a9032 1 if { (eval echo configure:9016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9064 1 a9064 1 echo "configure:9048: checking whether alloca needs Cray hooks" >&5 d9069 1 a9069 1 #line 9053 "configure" d9094 1 a9094 1 echo "configure:9078: checking for $ac_func" >&5 d9099 1 a9099 1 #line 9083 "configure" d9122 1 a9122 1 if { (eval echo configure:9106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9149 1 a9149 1 echo "configure:9133: checking stack direction for C alloca" >&5 d9157 1 a9157 1 #line 9141 "configure" d9176 1 a9176 1 if { (eval echo configure:9160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d9201 1 a9201 1 echo "configure:9185: checking for $ac_hdr" >&5 d9206 1 a9206 1 #line 9190 "configure" d9211 1 a9211 1 { (eval echo configure:9195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d9240 1 a9240 1 echo "configure:9224: checking for $ac_func" >&5 d9245 1 a9245 1 #line 9229 "configure" d9268 1 a9268 1 if { (eval echo configure:9252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9293 1 a9293 1 echo "configure:9277: checking for working mmap" >&5 d9301 1 a9301 1 #line 9285 "configure" d9454 1 a9454 1 if { (eval echo configure:9438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d9478 1 a9478 1 echo "configure:9462: checking whether we are using the GNU C Library 2.1 or newer" >&5 d9483 1 a9483 1 #line 9467 "configure" d9519 1 a9519 1 echo "configure:9503: checking for $ac_hdr" >&5 d9524 1 a9524 1 #line 9508 "configure" d9529 1 a9529 1 { (eval echo configure:9513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d9560 1 a9560 1 echo "configure:9544: checking for $ac_func" >&5 d9565 1 a9565 1 #line 9549 "configure" d9588 1 a9588 1 if { (eval echo configure:9572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9628 1 a9628 1 echo "configure:9612: checking for iconv" >&5 d9636 1 a9636 1 #line 9620 "configure" d9646 1 a9646 1 if { (eval echo configure:9630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9658 1 a9658 1 #line 9642 "configure" d9668 1 a9668 1 if { (eval echo configure:9652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9689 1 a9689 1 echo "configure:9673: checking for iconv declaration" >&5 d9695 1 a9695 1 #line 9679 "configure" d9714 1 a9714 1 if { (eval echo configure:9698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d9743 1 a9743 1 echo "configure:9727: checking for nl_langinfo and CODESET" >&5 d9748 1 a9748 1 #line 9732 "configure" d9755 1 a9755 1 if { (eval echo configure:9739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9778 1 a9778 1 echo "configure:9762: checking for LC_MESSAGES" >&5 d9783 1 a9783 1 #line 9767 "configure" d9790 1 a9790 1 if { (eval echo configure:9774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9811 1 a9811 1 echo "configure:9795: checking whether NLS is requested" >&5 d9833 1 a9833 1 echo "configure:9817: checking whether included gettext is requested" >&5 d9853 1 a9853 1 echo "configure:9837: checking for libintl.h" >&5 d9858 1 a9858 1 #line 9842 "configure" d9863 1 a9863 1 { (eval echo configure:9847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d9880 1 a9880 1 echo "configure:9864: checking for GNU gettext in libc" >&5 d9885 1 a9885 1 #line 9869 "configure" d9894 1 a9894 1 if { (eval echo configure:9878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9910 1 a9910 1 echo "configure:9894: checking for GNU gettext in libintl" >&5 d9917 1 a9917 1 #line 9901 "configure" d9926 1 a9926 1 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9959 1 a9959 1 echo "configure:9943: checking for $ac_func" >&5 d9964 1 a9964 1 #line 9948 "configure" d9987 1 a9987 1 if { (eval echo configure:9971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d10013 1 a10013 1 # Extract the first word of "msgfmt", so it can be a program name with args. d10016 1 a10016 1 echo "configure:10000: checking for $ac_word" >&5 d10029 1 a10029 1 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then d10036 1 a10036 1 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" d10041 1 a10041 1 if test -n "$MSGFMT"; then d10046 2 a10047 2 if test "$MSGFMT" != "no"; then # Extract the first word of "gmsgfmt", so it can be a program name with args. d10050 1 a10050 1 echo "configure:10034: checking for $ac_word" >&5 a10082 1 fi d10084 1 a10084 1 # Extract the first word of "xgettext", so it can be a program name with args. d10087 1 a10087 1 echo "configure:10072: checking for $ac_word" >&5 d10100 1 a10100 1 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then d10112 1 a10112 1 if test -n "$XGETTEXT"; then d10137 1 a10137 1 echo "configure:10122: checking for $ac_word" >&5 d10150 1 a10150 1 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then d10157 1 a10157 1 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt" d10162 1 a10162 1 if test -n "$MSGFMT"; then d10171 1 a10171 1 echo "configure:10156: checking for $ac_word" >&5 d10207 1 a10207 1 echo "configure:10192: checking for $ac_word" >&5 d10220 1 a10220 1 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then d10232 1 a10232 1 if test -n "$XGETTEXT"; then d10246 11 a10256 2 if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then d10278 1 a10278 1 echo "configure:10254: checking for $ac_word" >&5 d10311 2 a10312 2 echo "configure:10287: checking version of bison" >&5 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'` d10358 1 a10358 1 echo "configure:10334: checking for catalogs to be installed" >&5 d10402 1 a10402 1 echo "configure:10378: checking for ANSI C header files" >&5 d10407 1 a10407 1 #line 10383 "configure" d10415 1 a10415 1 { (eval echo configure:10391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10432 1 a10432 1 #line 10408 "configure" d10450 1 a10450 1 #line 10426 "configure" d10471 1 a10471 1 #line 10447 "configure" d10482 1 a10482 1 if { (eval echo configure:10458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d10506 1 a10506 1 echo "configure:10482: checking whether sys/types.h defines makedev" >&5 d10511 1 a10511 1 #line 10487 "configure" d10518 1 a10518 1 if { (eval echo configure:10494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d10536 1 a10536 1 echo "configure:10512: checking for sys/mkdev.h" >&5 d10541 1 a10541 1 #line 10517 "configure" d10546 1 a10546 1 { (eval echo configure:10522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10574 1 a10574 1 echo "configure:10550: checking for sys/sysmacros.h" >&5 d10579 1 a10579 1 #line 10555 "configure" d10584 1 a10584 1 { (eval echo configure:10560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10616 1 a10616 1 echo "configure:10592: checking for $ac_hdr that defines DIR" >&5 d10621 1 a10621 1 #line 10597 "configure" d10629 1 a10629 1 if { (eval echo configure:10605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d10654 1 a10654 1 echo "configure:10630: checking for opendir in -ldir" >&5 d10662 1 a10662 1 #line 10638 "configure" d10673 1 a10673 1 if { (eval echo configure:10649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d10695 1 a10695 1 echo "configure:10671: checking for opendir in -lx" >&5 d10703 1 a10703 1 #line 10679 "configure" d10714 1 a10714 1 if { (eval echo configure:10690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d10737 1 a10737 1 echo "configure:10713: checking whether time.h and sys/time.h may both be included" >&5 d10742 1 a10742 1 #line 10718 "configure" d10751 1 a10751 1 if { (eval echo configure:10727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d10776 1 a10776 1 echo "configure:10752: checking for $ac_hdr" >&5 d10781 1 a10781 1 #line 10757 "configure" d10786 1 a10786 1 { (eval echo configure:10762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10817 1 a10817 1 echo "configure:10793: checking for $ac_hdr" >&5 d10822 1 a10822 1 #line 10798 "configure" d10827 1 a10827 1 { (eval echo configure:10803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10857 1 a10857 1 echo "configure:10833: checking for $ac_hdr" >&5 d10862 1 a10862 1 #line 10838 "configure" d10867 1 a10867 1 { (eval echo configure:10843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10897 1 a10897 1 echo "configure:10873: checking for $ac_hdr" >&5 d10902 1 a10902 1 #line 10878 "configure" d10907 1 a10907 1 { (eval echo configure:10883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10938 1 a10938 1 echo "configure:10914: checking for $ac_hdr" >&5 d10943 1 a10943 1 #line 10919 "configure" d10948 1 a10948 1 { (eval echo configure:10924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10978 1 a10978 1 echo "configure:10954: checking for $ac_hdr" >&5 d10983 1 a10983 1 #line 10959 "configure" d10988 1 a10988 1 { (eval echo configure:10964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11018 1 a11018 1 echo "configure:10994: checking for $ac_hdr" >&5 d11023 1 a11023 1 #line 10999 "configure" d11028 1 a11028 1 { (eval echo configure:11004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11058 1 a11058 1 echo "configure:11034: checking for $ac_hdr" >&5 d11063 1 a11063 1 #line 11039 "configure" d11068 1 a11068 1 { (eval echo configure:11044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11098 1 a11098 1 echo "configure:11074: checking for $ac_hdr" >&5 d11103 1 a11103 1 #line 11079 "configure" d11108 1 a11108 1 { (eval echo configure:11084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11138 1 a11138 1 echo "configure:11114: checking for $ac_hdr" >&5 d11143 1 a11143 1 #line 11119 "configure" d11148 1 a11148 1 { (eval echo configure:11124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11179 1 a11179 1 echo "configure:11155: checking for $ac_hdr" >&5 d11184 1 a11184 1 #line 11160 "configure" d11189 1 a11189 1 { (eval echo configure:11165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11230 1 a11230 1 echo "configure:11206: checking for $ac_hdr" >&5 d11235 1 a11235 1 #line 11211 "configure" d11240 1 a11240 1 { (eval echo configure:11216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11268 1 a11268 1 echo "configure:11244: checking for struct statfs" >&5 d11273 1 a11273 1 #line 11249 "configure" d11284 1 a11284 1 if { (eval echo configure:11260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11301 1 a11301 1 #line 11277 "configure" d11312 1 a11312 1 if { (eval echo configure:11288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11329 1 a11329 1 #line 11305 "configure" d11343 1 a11343 1 if { (eval echo configure:11319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11360 1 a11360 1 #line 11336 "configure" d11371 1 a11371 1 if { (eval echo configure:11347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11392 1 a11392 1 echo "configure:11368: checking for f_bavail member in struct statfs" >&5 d11394 1 a11394 1 #line 11370 "configure" d11418 1 a11418 1 if { (eval echo configure:11394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11437 1 a11437 1 echo "configure:11413: checking if statfs() requires 4 arguments" >&5 d11443 1 a11443 1 #line 11419 "configure" d11462 1 a11462 1 if { (eval echo configure:11438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d11481 1 a11481 1 echo "configure:11457: checking for inline" >&5 d11488 1 a11488 1 #line 11464 "configure" d11495 1 a11495 1 if { (eval echo configure:11471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11523 1 a11523 1 echo "configure:11499: checking if defines h_errno" >&5 d11525 1 a11525 1 #line 11501 "configure" d11532 1 a11532 1 if { (eval echo configure:11508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11549 1 a11549 1 echo "configure:11525: checking if defines S_IFSOCK" >&5 d11551 1 a11551 1 #line 11527 "configure" d11558 1 a11558 1 if { (eval echo configure:11534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11577 1 a11577 1 echo "configure:11553: checking if defines S_ISLNK" >&5 d11579 1 a11579 1 #line 11555 "configure" d11586 1 a11586 1 if { (eval echo configure:11562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11605 1 a11605 1 echo "configure:11581: checking if defines S_ISSOCK" >&5 d11607 1 a11607 1 #line 11583 "configure" d11614 1 a11614 1 if { (eval echo configure:11590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11633 1 a11633 1 echo "configure:11609: checking if timezone is defined" >&5 d11635 1 a11635 1 #line 11611 "configure" d11642 1 a11642 1 if { (eval echo configure:11618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11655 1 a11655 1 echo "configure:11631: checking for mode_t" >&5 d11660 1 a11660 1 #line 11636 "configure" d11688 1 a11688 1 echo "configure:11664: checking for pid_t" >&5 d11693 1 a11693 1 #line 11669 "configure" d11724 1 a11724 1 echo "configure:11700: checking for working alloca.h" >&5 d11729 1 a11729 1 #line 11705 "configure" d11736 1 a11736 1 if { (eval echo configure:11712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11757 1 a11757 1 echo "configure:11733: checking for alloca" >&5 d11762 1 a11762 1 #line 11738 "configure" d11790 1 a11790 1 if { (eval echo configure:11766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11822 1 a11822 1 echo "configure:11798: checking whether alloca needs Cray hooks" >&5 d11827 1 a11827 1 #line 11803 "configure" d11852 1 a11852 1 echo "configure:11828: checking for $ac_func" >&5 d11857 1 a11857 1 #line 11833 "configure" d11880 1 a11880 1 if { (eval echo configure:11856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11907 1 a11907 1 echo "configure:11883: checking stack direction for C alloca" >&5 d11915 1 a11915 1 #line 11891 "configure" d11934 1 a11934 1 if { (eval echo configure:11910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d11956 1 a11956 1 echo "configure:11932: checking for vprintf" >&5 d11961 1 a11961 1 #line 11937 "configure" d11984 1 a11984 1 if { (eval echo configure:11960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12008 1 a12008 1 echo "configure:11984: checking for _doprnt" >&5 d12013 1 a12013 1 #line 11989 "configure" d12036 1 a12036 1 if { (eval echo configure:12012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12062 1 a12062 1 echo "configure:12038: checking for working fnmatch" >&5 d12073 1 a12073 1 #line 12049 "configure" d12077 1 a12077 1 if { (eval echo configure:12053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null a12100 4 cat >> confdefs.h <&5 d12112 1 a12112 1 #line 12092 "configure" d12135 1 a12135 1 if { (eval echo configure:12115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12162 1 a12162 1 echo "configure:12142: checking for $ac_func" >&5 d12167 1 a12167 1 #line 12147 "configure" d12190 1 a12190 1 if { (eval echo configure:12170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12217 1 a12217 1 echo "configure:12197: checking for $ac_func" >&5 d12222 1 a12222 1 #line 12202 "configure" d12245 1 a12245 1 if { (eval echo configure:12225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12273 1 a12273 1 echo "configure:12253: checking for $ac_func" >&5 d12278 1 a12278 1 #line 12258 "configure" d12301 1 a12301 1 if { (eval echo configure:12281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12329 1 a12329 1 echo "configure:12309: checking for $ac_func" >&5 d12334 1 a12334 1 #line 12314 "configure" d12357 1 a12357 1 if { (eval echo configure:12337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12391 1 a12391 1 echo "configure:12371: checking for $ac_func" >&5 d12396 1 a12396 1 #line 12376 "configure" d12419 1 a12419 1 if { (eval echo configure:12399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12449 1 a12449 1 echo "configure:12429: checking for GNU extensions to glob" >&5 d12462 1 a12462 1 #line 12442 "configure" d12474 1 a12474 1 if { (eval echo configure:12454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d12512 1 d12514 3 a12516 2 echo $ac_n "checking for python 1.5.2""... $ac_c" 1>&6 echo "configure:12494: checking for python 1.5.2" >&5 d12521 32 a12552 1 #line 12499 "configure" d12560 1 a12560 1 if { (eval echo configure:12507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d12572 6 a12577 1 echo "$ac_t""$withval" 1>&6 d12580 1 a12580 1 if test $withval = yes ; then d12590 1 d12594 1 a12594 1 echo "configure:12535: checking for $ac_word" >&5 d12668 1 a12668 1 echo "configure:12609: checking for $ac_func" >&5 d12673 1 a12673 1 #line 12614 "configure" d12696 1 a12696 1 if { (eval echo configure:12637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12724 1 a12724 1 echo "configure:12665: checking for $ac_func" >&5 d12729 1 a12729 1 #line 12670 "configure" d12752 1 a12752 1 if { (eval echo configure:12693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12778 1 a12778 1 echo "configure:12719: checking for getmntent" >&5 d12783 1 a12783 1 #line 12724 "configure" d12806 1 a12806 1 if { (eval echo configure:12747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12828 1 a12828 1 echo "configure:12769: checking for mntctl" >&5 d12833 1 a12833 1 #line 12774 "configure" d12856 1 a12856 1 if { (eval echo configure:12797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12878 1 a12878 1 echo "configure:12819: checking for getmntinfo_r" >&5 d12883 1 a12883 1 #line 12824 "configure" d12906 1 a12906 1 if { (eval echo configure:12847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12928 1 a12928 1 echo "configure:12869: checking for getmntinfo_r in -lc_r" >&5 d12936 1 a12936 1 #line 12877 "configure" d12947 1 a12947 1 if { (eval echo configure:12888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12985 1 a12985 1 echo "configure:12926: checking for lchown" >&5 d12990 1 a12990 1 #line 12931 "configure" d13013 1 a13013 1 if { (eval echo configure:12954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d13038 1 a13038 1 echo "configure:12979: checking whether chown() follows symlinks" >&5 d13066 1 a13066 1 echo "configure:13007: checking (cannot check by non-root user)" >&5 d13084 1 a13084 1 echo "configure:13025: checking root's primary group" >&5 d13090 1 a13090 1 #line 13031 "configure" d13119 1 a13119 1 if { (eval echo configure:13060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d13352 1 a13352 1 subdirs="popt $WITH_DB_SUBDIR" d13578 3 d13614 1 d13874 3 d13884 1 a13884 1 echo creating "$ac_dir/POTFILES" d13886 1 a13886 1 echo creating "$ac_dir/Makefile" d13893 1 d13928 1 a13928 1 for ac_config_dir in popt $WITH_DB_SUBDIR; do @ 1.12 log @Resolve: RPM 4.0.1 -> RPM 4.0.2 @ text @d22 158 d183 1 a183 1 --enable-v5-packages[=no] [experimental] support for rpm-5.x packages" d185 3 a187 1 --disable-db1 Disable DB1 support " a192 2 --with-catgets use catgets functions if available" ac_help="$ac_help d642 1 a642 1 ac_unique_file=rpm.c d759 1 a759 1 echo "configure:602: checking host system type" >&5 d780 1 a780 1 echo "configure:623: checking target system type" >&5 d798 1 a798 1 echo "configure:641: checking build system type" >&5 d833 1 a833 1 echo "configure:676: checking for a BSD compatible install" >&5 d886 1 a886 1 echo "configure:729: checking whether build environment is sane" >&5 d943 1 a943 1 echo "configure:786: checking whether ${MAKE-make} sets \${MAKE}" >&5 d972 1 a972 1 VERSION=4.0.2 d989 1 a989 1 echo "configure:832: checking for working aclocal" >&5 d1002 1 a1002 1 echo "configure:845: checking for working autoconf" >&5 d1015 1 a1015 1 echo "configure:858: checking for working automake" >&5 d1028 1 a1028 1 echo "configure:871: checking for working autoheader" >&5 d1041 1 a1041 1 echo "configure:884: checking for working makeinfo" >&5 d1060 1 a1060 1 ALL_LINGUAS="cs da de es eu_ES fi fr gl hu id is it ja ko no pl pt pt_BR ro ru sk sl sr sv tr uk wa zh zh_CN.GB2312" a1063 19 if test "$program_transform_name" = s,x,x,; then program_transform_name= else # Double any \ or $. echo might interpret backslashes. cat <<\EOF_SED > conftestsed s,\\,\\\\,g; s,\$,$$,g EOF_SED program_transform_name="`echo $program_transform_name|sed -f conftestsed`" rm -f conftestsed fi test "$program_prefix" != NONE && program_transform_name="s,^,${program_prefix},; $program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" # sed with no file args requires a program. test "$program_transform_name" = "" && program_transform_name="s,x,x," d1067 1 a1067 1 echo "configure:929: checking for $ac_word" >&5 d1097 1 a1097 1 echo "configure:959: checking for $ac_word" >&5 d1148 1 a1148 1 echo "configure:1010: checking for $ac_word" >&5 d1180 1 a1180 1 echo "configure:1042: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1191 1 a1191 1 #line 1053 "configure" d1196 1 a1196 1 if { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1222 1 a1222 1 echo "configure:1084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1227 1 a1227 1 echo "configure:1089: checking whether we are using GNU C" >&5 d1236 1 a1236 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1255 1 a1255 1 echo "configure:1117: checking whether ${CC-cc} accepts -g" >&5 a1285 4 if test "$ac_cv_prog_gcc" = yes; then CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" fi d1287 1 a1287 1 echo "configure:1153: checking how to run the C preprocessor" >&5 d1302 1 a1302 1 #line 1168 "configure" d1308 1 a1308 1 { (eval echo configure:1174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1319 1 a1319 1 #line 1185 "configure" d1325 1 a1325 1 { (eval echo configure:1191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1336 1 a1336 1 #line 1202 "configure" d1342 1 a1342 1 { (eval echo configure:1208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1366 4 a1369 9 if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 echo "configure:1234: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP d1377 1 a1377 1 egrep "$ac_pattern" >/dev/null 2>&1; then d1379 4 a1382 1 ac_cv_prog_gcc_traditional=yes d1385 1 a1385 1 ac_cv_prog_gcc_traditional=no d1390 8 a1397 3 if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA d1401 10 a1410 2 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "$ac_pattern" >/dev/null 2>&1; then d1412 1 a1412 1 ac_cv_prog_gcc_traditional=yes a1414 2 fi d1416 3 a1418 23 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi fi # 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: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # 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:1291: 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 d1420 2 a1421 36 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 fi fi done ;; esac done IFS="$ac_save_IFS" fi if test "${ac_cv_path_install+set}" = set; then INSTALL="$ac_cv_path_install" else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL="$ac_install_sh" fi a1422 1 echo "$ac_t""$INSTALL" 1>&6 d1424 4 a1427 3 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' d1429 3 a1431 1 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' d1433 3 a1435 1 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' d1437 1 d1439 4 a1442 2 # Extract the first word of "ctags", so it can be a program name with args. set dummy ctags; ac_word=$2 d1444 2 a1445 2 echo "configure:1347: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CTAGS'+set}'`\" = set"; then d1448 3 a1450 8 case "$CTAGS" in /*) ac_cv_path_CTAGS="$CTAGS" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_CTAGS="$CTAGS" # Let the user override the test with a dos path. ;; *) d1453 1 a1453 1 for ac_dir in $ac_dummy; do d1456 1 a1456 1 ac_cv_path_CTAGS="$ac_dir/$ac_word" a1460 3 test -z "$ac_cv_path_CTAGS" && ac_cv_path_CTAGS="/bin/true" ;; esac d1462 4 a1465 3 CTAGS="$ac_cv_path_CTAGS" if test -n "$CTAGS"; then echo "$ac_t""$CTAGS" 1>&6 d1470 30 a1499 6 # Extract the first word of "cscope", so it can be a program name with args. set dummy cscope; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1383: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CSCOPE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d1501 15 a1515 21 case "$CSCOPE" in /*) ac_cv_path_CSCOPE="$CSCOPE" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_CSCOPE="$CSCOPE" # 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_CSCOPE="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_CSCOPE" && ac_cv_path_CSCOPE="/bin/true" ;; esac d1517 17 a1533 3 CSCOPE="$ac_cv_path_CSCOPE" if test -n "$CSCOPE"; then echo "$ac_t""$CSCOPE" 1>&6 d1535 1 a1535 1 echo "$ac_t""no" 1>&6 a1536 35 echo $ac_n "checking flag used by libtool to link rpm""... $ac_c" 1>&6 echo "configure:1418: checking flag used by libtool to link rpm" >&5 if test X"$GCC" = Xyes ; then case "$target" in *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-sysv5uw*) LDFLAGS_STATUS="-static";; # Unixware has no shared libthread. *-*-*) LDFLAGS_STATIC="-all-static";; esac elif test X"$CC" = Xcc ; then case "$target" in *-*-linux*) LDFLAGS_STATIC="-all-static";; *-*-freebsd*) LDFLAGS_STATIC="-all-static";; *-*-osf*) LDFLAGS_STATIC="";; # OSF5 has no shared pthreads libs *-*-aix*) LDFLAGS_STATIC="-static";; # -Wl,-bnso doesn't seem to work... *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-irix*) LDFLAGS_STATIC="-static";; #should be -non_shared, but can't # link because of crt1.o then. *-*-ultrix*) LDFLAGS_STATIC="-all-static";; #ultrix doesn't have shared libs. *-*-*) LDFLAGS_STATIC="-static" echo "configure: warning: Unable to guess what option to pass to $CC to generate a static executable. You will need to set the LDFLAGS_STATIC macro in Makefile.inc to the appropriate argument(s) if you want to build a static rpm executable. " 1>&2 ;; esac else # just link it dynamically LDFLAGS_STATIC="" a1537 2 LDFLAGS_STATIC="${LDFLAGS} ${LDFLAGS_STATIC}" # libtool format echo "$ac_t""$LDFLAGS_STATIC" 1>&6 d1539 1 d1541 2 a1542 10 echo $ac_n "checking POSIX chmod""... $ac_c" 1>&6 echo "configure:1456: checking POSIX chmod" >&5 touch foo.chmodtest chmod 744 foo.chmodtest chmod +X foo.chmodtest 2>/dev/null a=`ls -l foo.chmodtest | awk '{print $1}'` rm -f foo.chmodtest if test "$a" = "-rwxr-xr-x"; then echo "$ac_t""yes" 1>&6 FIXPERMS=a+rX,g-w,o-w d1544 1 a1544 2 echo "$ac_t""no (tell your OS vendor about GNU fileutils)" 1>&6 FIXPERMS=a+r,g-w,o-w d1547 6 a1552 8 for ac_prog in mkdir 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:1476: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then d1555 3 a1557 24 case "$MKDIR" in /*) ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_MKDIR="$MKDIR" # 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_MKDIR="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" ;; esac fi MKDIR="$ac_cv_path_MKDIR" if test -n "$MKDIR"; then echo "$ac_t""$MKDIR" 1>&6 d1559 1 a1559 1 echo "$ac_t""no" 1>&6 d1561 1 d1563 1 a1563 3 test -n "$MKDIR" && break done test -n "$MKDIR" || MKDIR="mkdir" d1565 9 a1573 18 echo $ac_n "checking if $MKDIR supports -p""... $ac_c" 1>&6 echo "configure:1513: checking if $MKDIR supports -p" >&5 rm -rf conftest $MKDIR -p conftest/a 2>/dev/null if test $? = 0 ; then rmdir conftest/a 2>/dev/null if test $? = 0 ; then : else MKDIR_P=0 fi rmdir conftest 2>/dev/null if test $? = 0 ; then MKDIR_P="$MKDIR -p" else MKDIR_P=0 fi d1575 5 a1579 1 MKDIR_P=0 d1582 20 a1601 3 if test X"$MKDIR_P" = X0 ; then echo "$ac_t""no" 1>&6 MKDIR_P="`echo ${prefix}/lib/rpm/mkinstalldirs`" d1603 4 a1606 1 echo "$ac_t""yes" 1>&6 d1608 3 a1610 10 cat >> confdefs.h <&6 echo "configure:1547: checking for AIX" >&5 cat > conftest.$ac_ext <&5 | egrep "yes" >/dev/null 2>&1; then d1619 1 a1619 4 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF #define _ALL_SOURCE 1 EOF d1621 2 a1622 2 rm -rf conftest* echo "$ac_t""no" 1>&6 d1625 7 d1633 1 d1635 13 a1647 4 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 echo "configure:1572: checking for minix/config.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then d1650 22 d1673 1 a1673 1 #line 1577 "configure" d1675 2 a1676 1 #include d1679 1 a1679 1 { (eval echo configure:1582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1682 5 d1688 12 a1699 1 eval "ac_cv_header_$ac_safe=yes" d1705 5 a1709 1 eval "ac_cv_header_$ac_safe=no" d1712 1 d1714 1 a1714 3 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 MINIX=yes d1716 1 a1716 2 echo "$ac_t""no" 1>&6 MINIX= d1718 1 d1720 7 a1726 56 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 POSIXized ISC""... $ac_c" 1>&6 echo "configure:1620: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then echo "$ac_t""yes" 1>&6 ISC=yes # If later tests want to check for ISC. cat >> confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF if test "$GCC" = yes; then CC="$CC -posix" else CC="$CC -Xp" fi else echo "$ac_t""no" 1>&6 ISC= fi echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 echo "configure:1645: checking for ${CC-cc} option to accept ANSI C" >&5 if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else am_cv_prog_cc_stdc=no ac_save_CC="$CC" # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" d1728 1 a1728 1 #line 1661 "configure" d1730 2 a1731 34 #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main() { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } d1733 2 a1734 1 if { (eval echo configure:1698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1736 1 a1736 1 am_cv_prog_cc_stdc="$ac_arg"; break d1738 2 a1739 2 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 a1741 2 done CC="$ac_save_CC" a1742 1 fi d1744 3 a1746 32 if test -z "$am_cv_prog_cc_stdc"; then echo "$ac_t""none needed" 1>&6 else echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6 fi case "x$am_cv_prog_cc_stdc" in x|xno) ;; *) CC="$CC $am_cv_prog_cc_stdc" ;; esac echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 echo "configure:1724: checking for function prototypes" >&5 if test "$am_cv_prog_cc_stdc" != no; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define PROTOTYPES 1 EOF U= ANSI2KNR= else echo "$ac_t""no" 1>&6 U=_ ANSI2KNR=./ansi2knr # Ensure some checks needed by ansi2knr itself. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:1737: 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 #include #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1750: \"$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 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* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < d1752 1 a1752 3 egrep "memchr" >/dev/null 2>&1; then : else d1754 1 a1754 1 ac_cv_header_stdc=no d1758 1 d1761 4 a1764 13 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 rm -rf conftest* ac_cv_header_stdc=no a1765 1 rm -f conftest* a1766 1 fi d1768 7 a1774 4 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 : d1777 1 a1777 1 #line 1806 "configure" d1779 11 a1789 8 #include #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); } d1791 1 a1791 1 if { (eval echo configure:1817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1793 1 a1793 1 : d1798 1 a1798 1 ac_cv_header_stdc=no a1803 1 fi d1805 4 a1808 4 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 d1811 3 d1816 7 a1822 39 for ac_hdr in string.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1844: 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:1854: \"$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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done a1823 1 fi d1826 2 a1827 4 for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 d1829 2 a1830 2 echo "configure:1888: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then d1833 8 a1840 3 if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else d1843 1 a1843 1 for ac_dir in $ac_dummy; do d1846 1 a1846 1 ac_cv_prog_AWK="$ac_prog" d1851 3 d1855 3 a1857 4 fi AWK="$ac_cv_prog_AWK" if test -n "$AWK"; then echo "$ac_t""$AWK" 1>&6 d1862 5 a1866 6 test -n "$AWK" && break done echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 echo "configure:1918: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then d1869 21 a1889 7 rm -f conftestdata if ln -s X conftestdata 2>/dev/null then rm -f conftestdata ac_cv_prog_LN_S="ln -s" else ac_cv_prog_LN_S=ln d1891 3 a1893 4 fi LN_S="$ac_cv_prog_LN_S" if test "$ac_cv_prog_LN_S" = "ln -s"; then echo "$ac_t""yes" 1>&6 a1897 26 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo "configure:1939: 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 else cat > conftestmake <<\EOF all: @@echo 'ac_maketemp="${MAKE}"' EOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftestmake fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$ac_t""yes" 1>&6 SET_MAKE= else echo "$ac_t""no" 1>&6 SET_MAKE="MAKE=${MAKE-make}" fi d1899 26 d1926 3 a1928 19 # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} case "$enableval" in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$ac_save_ifs" ;; esac d1930 2 a1931 1 enable_shared=yes d1933 2 d1936 11 a1946 19 # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} case "$enableval" in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$ac_save_ifs" ;; esac d1948 2 a1949 1 enable_static=yes a1951 22 # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} case "$enableval" in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$ac_save_ifs" ;; esac else enable_fast_install=yes fi d1953 4 a1956 2 # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 d1958 2 a1959 2 echo "configure:2038: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then d1962 8 a1969 3 if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else d1972 1 a1972 1 for ac_dir in $ac_dummy; do d1975 1 a1975 1 ac_cv_prog_RANLIB="ranlib" d1980 2 a1981 1 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" d1983 3 a1985 4 fi RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then echo "$ac_t""$RANLIB" 1>&6 d1990 22 a2011 4 # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes d2013 1 a2013 1 with_gnu_ld=no d2016 5 a2020 32 ac_prog=ld if test "$ac_cv_prog_gcc" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 echo "configure:2077: checking for ld used by GCC" >&5 ac_prog=`($CC -print-prog-name=ld) 2>&5` case "$ac_prog" in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 echo "configure:2101: checking for GNU ld" >&5 else echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 echo "configure:2104: checking for non-GNU ld" >&5 d2022 11 a2032 1 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then d2035 17 a2051 17 if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ac_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then test "$with_gnu_ld" != no && break else test "$with_gnu_ld" != yes && break fi fi done IFS="$ac_save_ifs" d2053 4 a2056 1 ac_cv_path_LD="$LD" # Let the user override the test with a path. d2058 3 d2062 3 a2064 4 LD="$ac_cv_path_LD" if test -n "$LD"; then echo "$ac_t""$LD" 1>&6 d2068 10 a2077 4 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 echo "configure:2139: checking if the linker ($LD) is GNU ld" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then d2080 42 a2121 7 # I'd rather use --version here, but apparently some GNU ld's only accept -v. if $LD -v 2>&1 &5; then ac_cv_prog_gnu_ld=yes else ac_cv_prog_gnu_ld=no fi fi d2123 1 a2123 1 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 d2125 1 d2127 5 a2131 4 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 echo "configure:2155: checking for BSD-compatible nm" >&5 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d2133 2 a2134 25 if test -n "$NM"; then # Let the user override the test. ac_cv_path_NM="$NM" else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then ac_cv_path_NM="$ac_dir/nm -B" break elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then ac_cv_path_NM="$ac_dir/nm -p" break else ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm d2136 4 d2142 8 a2149 7 NM="$ac_cv_path_NM" echo "$ac_t""$NM" 1>&6 case "$target" in NONE) lt_target="$host" ;; *) lt_target="$target" ;; a2151 12 # Check for any special flags to pass to ltconfig. # # the following will cause an existing older ltconfig to fail, so # we ignore this at the expense of the cache file... Checking this # will just take longer ... bummer! #libtool_flags="--cache-file=$cache_file" # test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" d2154 7 a2160 5 # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" : fi d2162 8 a2169 32 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" # Some flags need to be propagated to the compiler or linker for good # libtool support. case "$lt_target" in *-*-irix6*) # Find out which ABI we are using. echo '#line 2224 "configure"' > conftest.$ac_ext if { (eval echo configure:2225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then case "`/usr/bin/file conftest.o`" in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 echo "configure:2246: checking whether the C compiler needs -belf" >&5 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then d2173 1 a2173 1 #line 2251 "configure" d2175 4 a2178 4 int main() { ; return 0; } d2180 4 a2183 1 if { (eval echo configure:2258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2185 1 a2185 1 lt_cv_cc_needs_belf=yes d2187 1 d2191 1 a2191 1 lt_cv_cc_needs_belf=no d2194 14 d2209 1 d2211 1 a2211 6 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; d2213 3373 d5587 53 a5639 1 esac d5641 2 d5644 16 a5659 6 # Save cache, so that ltconfig can load it cat > confcache <<\EOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs. It is not useful on other systems. # If it contains results you don't want to keep, you may remove or edit it. d5661 3 a5663 8 # By default, configure uses ./config.cache as the cache file, # creating it if it does not exist already. You can give configure # the --cache-file=FILE option to use a different cache file; that is # what configure does when it calls configure scripts in # subdirectories, so they share the cache. # Giving --cache-file=/dev/null disables caching, for debugging configure. # config.status only pays attention to the cache file if you give it the # --recheck option to rerun configure. d5665 273 a5938 13 # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" d5940 179 a6118 3 *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' d6120 11 a6130 10 esac >> confcache if cmp -s $cache_file confcache; then : else if test -w $cache_file; then echo "updating cache $cache_file" cat confcache > $cache_file else echo "not updating unwritable cache $cache_file" fi a6131 1 rm -f confcache a6133 8 # Actually configure libtool. ac_aux_dir is where install-sh is found. CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } a6134 8 # Reload cache, that may have been modified by ltconfig if test -r "$cache_file"; then echo "loading cache $cache_file" . $cache_file else echo "creating cache $cache_file" > $cache_file fi d6138 1 a6138 1 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" d6143 1 a6143 3 # Redirect the config.log output again, so that the ltconfig log is not # clobbered by the next message. exec 5>>./config.log a6145 5 if test $host != $build; then ac_tool_prefix=${host_alias}- else ac_tool_prefix= fi d6150 1 a6150 1 echo "configure:2369: checking for $ac_word" >&5 d6182 1 a6182 1 echo "configure:2401: checking for $ac_word" >&5 d6221 1 a6221 1 echo "configure:2440: checking for $ac_word" >&5 d6257 1 a6257 1 echo "configure:2476: checking for $ac_word" >&5 d6293 1 a6293 1 echo "configure:2512: checking for $ac_word" >&5 d6329 1 a6329 1 echo "configure:2548: checking for $ac_word" >&5 d6365 1 a6365 1 echo "configure:2584: checking for $ac_word" >&5 d6401 1 a6401 1 echo "configure:2620: checking for $ac_word" >&5 d6437 1 a6437 1 echo "configure:2656: checking for $ac_word" >&5 d6470 38 a6507 2 # Extract the first word of "gzip", so it can be a program name with args. set dummy gzip; ac_word=$2 d6509 2 a6510 2 echo "configure:2692: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GZIPBIN'+set}'`\" = set"; then d6513 1 a6513 1 case "$GZIPBIN" in d6515 1 a6515 1 ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a path. d6518 1 a6518 1 ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a dos path. d6526 1 a6526 1 ac_cv_path_GZIPBIN="$ac_dir/$ac_word" d6531 1 a6531 1 test -z "$ac_cv_path_GZIPBIN" && ac_cv_path_GZIPBIN="/bin/gzip" d6535 3 a6537 3 GZIPBIN="$ac_cv_path_GZIPBIN" if test -n "$GZIPBIN"; then echo "$ac_t""$GZIPBIN" 1>&6 d6545 1 a6545 1 echo "configure:2728: checking for $ac_word" >&5 d6578 36 d6617 1 a6617 1 echo "configure:2764: checking for $ac_word" >&5 d6654 1 a6654 1 echo "configure:2801: checking for $ac_word" >&5 d6688 1 a6688 1 echo "configure:2835: checking checking whether id supports -u" >&5 d6701 1 a6701 1 echo "configure:2848: checking for $ac_word" >&5 d6737 1 a6737 1 echo "configure:2884: checking for $ac_word" >&5 d6773 1 a6773 1 echo "configure:2920: checking for $ac_word" >&5 d6809 1 a6809 1 echo "configure:2956: checking for $ac_word" >&5 d6845 1 a6845 1 echo "configure:2992: checking for $ac_word" >&5 d6879 1 a6879 1 echo "configure:3026: checking old version of patch" >&5 d6895 1 a6895 1 echo "configure:3042: checking for $ac_word" >&5 d6931 1 a6931 1 echo "configure:3078: checking for $ac_word" >&5 d6967 1 a6967 1 echo "configure:3114: checking for $ac_word" >&5 d7003 1 a7003 1 echo "configure:3150: checking for $ac_word" >&5 d7039 1 a7039 1 echo "configure:3186: checking for $ac_word" >&5 d7075 1 a7075 1 echo "configure:3222: checking for $ac_word" >&5 d7111 1 a7111 1 echo "configure:3258: checking for $ac_word" >&5 d7147 1 a7147 1 echo "configure:3294: checking for $ac_word" >&5 d7184 1 a7184 1 echo "configure:3331: checking for $ac_word" >&5 d7220 1 a7220 1 echo "configure:3367: checking for $ac_word" >&5 d7256 1 a7256 1 echo "configure:3403: checking for $ac_word" >&5 d7292 1 a7292 1 echo "configure:3439: checking for $ac_word" >&5 d7328 1 a7328 1 echo "configure:3475: checking for $ac_word" >&5 d7373 6 a7378 1 for dir in $prefix /usr/local d7389 1 a7389 1 echo "configure:3531: checking for $dir/lib in LIBS" >&5 d7398 1 a7398 1 echo "configure:3540: checking for $dir/include in INCPATH" >&5 d7408 1 a7408 1 echo "configure:3550: checking for /usr/ucblib in LIBS" >&5 a7421 16 ### use option --enable-v5-packages to turn on support for rpm-5.x packages echo $ac_n "checking if you want experimental rpm-5.0 packages""... $ac_c" 1>&6 echo "configure:3566: checking if you want experimental rpm-5.0 packages" >&5 # Check whether --enable-v5-packages or --disable-v5-packages was given. if test "${enable_v5_packages+set}" = set; then enableval="$enable_v5_packages" with_v5_packages=$enableval else with_v5_packages=no fi echo "$ac_t""$with_v5_packages" 1>&6 test "$with_v5_packages" = yes && cat >> confdefs.h <<\EOF #define ENABLE_V5_PACKAGES 1 EOF d7425 1 a7425 1 echo "configure:3583: checking for setreuid" >&5 d7430 1 a7430 1 #line 3588 "configure" d7453 1 a7453 1 if { (eval echo configure:3611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7472 1 a7472 1 echo "configure:3630: checking for setreuid in -lucb" >&5 d7480 1 a7480 1 #line 3638 "configure" d7491 1 a7491 1 if { (eval echo configure:3649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7516 1 a7516 1 echo "configure:3674: checking for rand" >&5 d7521 1 a7521 1 #line 3679 "configure" d7544 1 a7544 1 if { (eval echo configure:3702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7563 1 a7563 1 echo "configure:3721: checking for rand in -lrand" >&5 d7571 1 a7571 1 #line 3729 "configure" d7582 1 a7582 1 if { (eval echo configure:3740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7607 1 a7607 1 echo "configure:3765: checking for getdomainname" >&5 d7612 1 a7612 1 #line 3770 "configure" d7635 1 a7635 1 if { (eval echo configure:3793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7654 1 a7654 1 echo "configure:3812: checking for getdomainname in -lnsl" >&5 d7662 1 a7662 1 #line 3820 "configure" d7673 1 a7673 1 if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7697 1 a7697 1 echo "configure:3855: checking for socket" >&5 d7702 1 a7702 1 #line 3860 "configure" d7725 1 a7725 1 if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7744 1 a7744 1 echo "configure:3902: checking for socket in -lsocket" >&5 d7752 1 a7752 1 #line 3910 "configure" d7763 1 a7763 1 if { (eval echo configure:3921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7788 1 a7788 1 echo "configure:3946: checking for fchmod" >&5 d7793 1 a7793 1 #line 3951 "configure" d7816 1 a7816 1 if { (eval echo configure:3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7836 56 d7893 1 a7893 1 echo "configure:3995: checking for writev in -lport" >&5 d7901 1 a7901 1 #line 4003 "configure" d7912 1 a7912 1 if { (eval echo configure:4014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7942 1 a7942 1 echo "configure:4044: checking for pthread_mutex_trylock in -lpthread" >&5 d7950 1 a7950 1 #line 4052 "configure" d7961 1 a7961 1 if { (eval echo configure:4063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7981 1 a7981 1 echo "configure:4083: checking for __pthread_mutex_trylock in -lpthread" >&5 d7989 1 a7989 1 #line 4091 "configure" d8000 1 a8000 1 if { (eval echo configure:4102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8027 1 a8027 1 echo "configure:4129: checking for mutex_lock in -lthread" >&5 d8035 1 a8035 1 #line 4137 "configure" d8046 1 a8046 1 if { (eval echo configure:4148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8068 2 d8072 11 a8082 2 libdb2="" libdb1="" d8084 6 a8089 3 echo $ac_n "checking for db_create""... $ac_c" 1>&6 echo "configure:4176: checking for db_create" >&5 if eval "test \"`echo '$''{'ac_cv_func_db_create'+set}'`\" = set"; then d8093 1 a8093 1 #line 4181 "configure" d8095 1 a8095 20 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char db_create(); below. */ #include /* 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 db_create(); 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_db_create) || defined (__stub___db_create) choke me #else db_create(); #endif ; return 0; } d8097 4 a8100 1 if { (eval echo configure:4204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8102 1 a8102 1 eval "ac_cv_func_db_create=yes" d8104 1 d8108 1 a8108 1 eval "ac_cv_func_db_create=no" d8112 1 a8112 2 if eval "test \"`echo '$ac_cv_func_'db_create`\" = yes"; then d8114 5 a8118 1 DBLIBSRCS="$DBLIBSRCS db3.c" d8121 7 a8127 4 echo $ac_n "checking for db_create in -ldb-3.1""... $ac_c" 1>&6 echo "configure:4222: checking for db_create in -ldb-3.1" >&5 ac_lib_var=`echo db-3.1'_'db_create | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then d8130 2 a8131 4 ac_save_LIBS="$LIBS" LIBS="-ldb-3.1 $libthread $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" d8143 8 a8150 21 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.1" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for db_create in -ldb-3.0""... $ac_c" 1>&6 echo "configure:4260: checking for db_create in -ldb-3.0" >&5 ac_lib_var=`echo db-3.0'_'db_create | 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="-ldb-3.0 $libthread $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8156 1 a8156 1 eval "ac_cv_lib_$ac_lib_var=yes" d8161 1 a8161 1 eval "ac_cv_lib_$ac_lib_var=no" d8164 1 a8164 1 LIBS="$ac_save_LIBS" d8166 1 a8166 2 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then d8168 1 a8168 1 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.0" d8171 3 a8173 3 echo $ac_n "checking for db_create in -ldb""... $ac_c" 1>&6 echo "configure:4298: checking for db_create in -ldb" >&5 ac_lib_var=`echo db'_'db_create | sed 'y%./+-%__p_%'` d8178 1 a8178 1 LIBS="-ldb $libthread $LIBS" d8180 1 a8180 1 #line 4306 "configure" d8191 1 a8191 1 if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8206 1 a8206 1 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb" d8209 4 a8212 41 fi fi fi fi echo $ac_n "checking whether to enable DB1 support""... $ac_c" 1>&6 echo "configure:4350: checking whether to enable DB1 support" >&5 # Check whether --enable-db1 or --disable-db1 was given. if test "${enable_db1+set}" = set; then enableval="$enable_db1" if test "$enableval" = "yes"; then echo "$ac_t""yes" 1>&6 usedb1=yes else echo "$ac_t""no" 1>&6 usedb1=no fi else echo "$ac_t""yes" 1>&6 usedb1=yes fi if test "$usedb1" = "yes"; then echo $ac_n "checking for dbopen""... $ac_c" 1>&6 echo "configure:4374: checking for dbopen" >&5 if eval "test \"`echo '$''{'ac_cv_func_dbopen'+set}'`\" = set"; then d8215 4 a8218 2 cat > conftest.$ac_ext < d8223 1 a8223 1 char dbopen(); d8226 1 a8226 10 /* 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_dbopen) || defined (__stub___dbopen) choke me #else dbopen(); #endif d8229 1 a8229 1 if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8231 1 a8231 1 eval "ac_cv_func_dbopen=yes" d8236 1 a8236 1 eval "ac_cv_func_dbopen=no" d8239 2 d8242 1 a8242 2 if eval "test \"`echo '$ac_cv_func_'dbopen`\" = yes"; then d8244 1 a8244 1 DBLIBSRCS="$DBLIBSRCS db3.c" d8247 3 a8249 3 echo $ac_n "checking for dbopen in -ldb1""... $ac_c" 1>&6 echo "configure:4420: checking for dbopen in -ldb1" >&5 ac_lib_var=`echo db1'_'dbopen | sed 'y%./+-%__p_%'` d8254 1 a8254 1 LIBS="-ldb1 $LIBS" d8256 1 a8256 1 #line 4428 "configure" d8261 1 a8261 1 char dbopen(); d8264 1 a8264 1 dbopen() d8267 1 a8267 1 if { (eval echo configure:4439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8282 1 a8282 1 DBLIBSRCS="$DBLIBSRCS db1.c falloc.c" ; libdb1="-ldb1" d8285 3 a8287 3 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 echo "configure:4458: checking for dbopen in -ldb" >&5 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` d8292 1 a8292 1 LIBS="-ldb $LIBS" d8294 1 a8294 1 #line 4466 "configure" d8299 1 a8299 1 char dbopen(); d8302 1 a8302 1 dbopen() d8305 1 a8305 1 if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8320 1 a8320 1 DBLIBSRCS="$DBLIBSRCS db1.c falloc.c" ; libdb1="-ldb" d8325 4 a8328 1 d8331 1 a8331 1 d8334 1 d8337 1 d8339 1 a8339 1 { echo "configure: error: sorry rpm requires libdb-3.x.a or libdb1.a (from the Berkeley db package)" 1>&2; exit 1; } d8344 1 a8344 1 echo "configure:4511: checking whether $libdb3 needs $libthread" >&5 d8348 1 a8348 1 #line 4515 "configure" d8359 1 a8359 1 if { (eval echo configure:4526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8372 16 a8394 1 a8400 4 db2.c) cat >> confdefs.h <<\EOF #define USE_DB2 1 EOF ;; d8409 1 a8409 1 echo "configure:4565: checking for fork" >&5 d8414 1 a8414 1 #line 4570 "configure" d8437 1 a8437 1 if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8469 1 a8469 1 echo "configure:4625: checking for gzread in -l${zlib}" >&5 d8477 1 a8477 1 #line 4633 "configure" d8488 1 a8488 1 if { (eval echo configure:4644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8515 1 a8515 1 echo "configure:4671: checking for gzseek in -l${zlib}" >&5 d8523 1 a8523 1 #line 4679 "configure" d8534 1 a8534 1 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8559 1 a8559 1 echo "configure:4715: checking for bzread in -lbz2" >&5 d8567 1 a8567 1 #line 4723 "configure" d8578 1 a8578 1 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8597 1 a8597 1 echo "configure:4753: checking for BZ2_bzread in -lbz2" >&5 d8605 1 a8605 1 #line 4761 "configure" d8616 1 a8616 1 if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8650 1 a8650 1 echo "configure:4806: checking for $ac_func" >&5 d8655 1 a8655 1 #line 4811 "configure" d8678 1 a8678 1 if { (eval echo configure:4834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8704 1 a8704 1 echo "configure:4860: checking for error_at_line" >&5 d8709 1 a8709 1 #line 4865 "configure" d8716 1 a8716 1 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8735 30 d8766 1 a8766 1 echo "configure:4892: checking for working const" >&5 d8771 1 a8771 1 #line 4897 "configure" d8820 1 a8820 1 if { (eval echo configure:4946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d8841 1 a8841 1 echo "configure:4967: checking for inline" >&5 d8848 1 a8848 1 #line 4974 "configure" d8855 1 a8855 1 if { (eval echo configure:4981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d8881 1 a8881 1 echo "configure:5007: checking for off_t" >&5 d8886 1 a8886 1 #line 5012 "configure" d8914 1 a8914 1 echo "configure:5040: checking for size_t" >&5 d8919 1 a8919 1 #line 5045 "configure" d8949 1 a8949 1 echo "configure:5075: checking for working alloca.h" >&5 d8954 1 a8954 1 #line 5080 "configure" d8961 1 a8961 1 if { (eval echo configure:5087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8982 1 a8982 1 echo "configure:5108: checking for alloca" >&5 d8987 1 a8987 1 #line 5113 "configure" d9015 1 a9015 1 if { (eval echo configure:5141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9047 1 a9047 1 echo "configure:5173: checking whether alloca needs Cray hooks" >&5 d9052 1 a9052 1 #line 5178 "configure" d9077 1 a9077 1 echo "configure:5203: checking for $ac_func" >&5 d9082 1 a9082 1 #line 5208 "configure" d9105 1 a9105 1 if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9132 1 a9132 1 echo "configure:5258: checking stack direction for C alloca" >&5 d9140 1 a9140 1 #line 5266 "configure" d9159 1 a9159 1 if { (eval echo configure:5285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d9180 1 a9180 1 for ac_hdr in unistd.h d9184 1 a9184 1 echo "configure:5310: checking for $ac_hdr" >&5 d9189 1 a9189 1 #line 5315 "configure" d9194 1 a9194 1 { (eval echo configure:5320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d9223 1 a9223 1 echo "configure:5349: checking for $ac_func" >&5 d9228 1 a9228 1 #line 5354 "configure" d9251 1 a9251 1 if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9276 1 a9276 1 echo "configure:5402: checking for working mmap" >&5 d9284 1 a9284 1 #line 5410 "configure" d9312 16 a9329 3 # ifdef HAVE_UNISTD_H # include # endif d9437 1 a9437 1 if { (eval echo configure:5550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d9459 40 a9498 3 for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ unistd.h sys/param.h d9502 1 a9502 1 echo "configure:5578: checking for $ac_hdr" >&5 d9507 1 a9507 1 #line 5583 "configure" d9512 1 a9512 1 { (eval echo configure:5588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d9538 3 a9540 2 for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ strdup __argz_count __argz_stringify __argz_next d9543 1 a9543 1 echo "configure:5618: checking for $ac_func" >&5 d9548 1 a9548 1 #line 5623 "configure" d9571 1 a9571 1 if { (eval echo configure:5646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9596 17 a9612 6 if test "${ac_cv_func_stpcpy+set}" != "set"; then for ac_func in stpcpy do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:5675: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then d9615 27 a9641 2 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(); d9671 9 a9679 1 int main() { d9681 8 a9688 5 /* 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 d9690 1 a9690 1 $ac_func(); d9693 2 d9697 1 a9697 1 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9699 1 a9699 1 eval "ac_cv_func_$ac_func=yes" d9704 1 a9704 1 eval "ac_cv_func_$ac_func=no" d9707 1 d9710 27 a9736 5 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 a9749 1 done d9751 4 a9754 4 fi if test "${ac_cv_func_stpcpy}" = "yes"; then cat >> confdefs.h <<\EOF #define HAVE_STPCPY 1 d9757 1 a9757 1 fi d9761 1 a9761 1 echo "configure:5737: checking for LC_MESSAGES" >&5 d9766 1 a9766 1 #line 5742 "configure" d9773 1 a9773 1 if { (eval echo configure:5749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9794 1 a9794 1 echo "configure:5770: checking whether NLS is requested" >&5 d9806 1 d9808 1 d9816 1 a9816 1 echo "configure:5790: checking whether included gettext is requested" >&5 d9829 4 a9832 3 nls_cv_header_intl= nls_cv_header_libgt= CATOBJEXT=NONE d9836 1 a9836 1 echo "configure:5809: checking for libintl.h" >&5 d9841 1 a9841 1 #line 5814 "configure" d9846 1 a9846 1 { (eval echo configure:5819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d9862 3 a9864 3 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 echo "configure:5836: checking for gettext in libc" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then d9868 1 a9868 1 #line 5841 "configure" d9871 1 d9873 2 a9874 1 return (int) gettext ("") d9877 1 a9877 1 if { (eval echo configure:5848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9879 1 a9879 1 gt_cv_func_gettext_libc=yes d9884 1 a9884 1 gt_cv_func_gettext_libc=no d9889 1 a9889 1 echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 d9891 4 a9894 5 if test "$gt_cv_func_gettext_libc" != "yes"; then echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 echo "configure:5864: checking for bindtextdomain in -lintl" >&5 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then d9897 4 a9900 4 ac_save_LIBS="$LIBS" LIBS="-lintl $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 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 echo "configure:5899: checking for gettext in libintl" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6 echo "configure:5904: checking for gettext in -lintl" >&5 ac_lib_var=`echo intl'_'gettext | 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="-lintl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9911 1 a9911 1 eval "ac_cv_lib_$ac_lib_var=yes" d9916 1 a9916 1 eval "ac_cv_lib_$ac_lib_var=no" d9919 1 a9919 16 LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 gt_cv_func_gettext_libintl=yes else echo "$ac_t""no" 1>&6 gt_cv_func_gettext_libintl=no fi fi echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6 else echo "$ac_t""no" 1>&6 d9922 1 d9925 4 a9928 3 if test "$gt_cv_func_gettext_libc" = "yes" \ || test "$gt_cv_func_gettext_libintl" = "yes"; then cat >> confdefs.h <<\EOF d9932 8 a9939 35 # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5962: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test -n "$MSGFMT"; then echo "$ac_t""$MSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi if test "$MSGFMT" != "no"; then for ac_func in dcgettext d9942 1 a9942 1 echo "configure:5996: checking for $ac_func" >&5 d9947 1 a9947 1 #line 6001 "configure" d9970 1 a9970 1 if { (eval echo configure:6024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9994 1 a9994 35 # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6051: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GMSGFMT="$GMSGFMT" # 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_GMSGFMT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi d9996 2 a9997 2 # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 d9999 2 a10000 2 echo "configure:6087: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then d10003 1 a10003 1 case "$XGETTEXT" in d10005 1 a10005 1 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. d10012 2 a10013 2 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" d10019 1 a10019 172 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test -n "$XGETTEXT"; then echo "$ac_t""$XGETTEXT" 1>&6 else echo "$ac_t""no" 1>&6 fi cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* CATOBJEXT=.gmo DATADIRNAME=share else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CATOBJEXT=.mo DATADIRNAME=lib fi rm -f conftest* INSTOBJEXT=.mo fi fi else echo "$ac_t""no" 1>&6 fi if test "$CATOBJEXT" = "NONE"; then echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6 echo "configure:6150: checking whether catgets can be used" >&5 # Check whether --with-catgets or --without-catgets was given. if test "${with_catgets+set}" = set; then withval="$with_catgets" nls_cv_use_catgets=$withval else nls_cv_use_catgets=no fi echo "$ac_t""$nls_cv_use_catgets" 1>&6 if test "$nls_cv_use_catgets" = "yes"; then echo $ac_n "checking for main in -li""... $ac_c" 1>&6 echo "configure:6163: checking for main in -li" >&5 ac_lib_var=`echo i'_'main | 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="-li $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 ac_tr_lib=HAVE_LIB`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 fi echo $ac_n "checking for catgets""... $ac_c" 1>&6 echo "configure:6206: checking for catgets" >&5 if eval "test \"`echo '$''{'ac_cv_func_catgets'+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 catgets(); 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_catgets) || defined (__stub___catgets) choke me #else catgets(); #endif ; return 0; } EOF if { (eval echo configure:6234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_catgets=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_catgets=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_CATGETS 1 EOF INTLOBJS="\$(CATOBJS)" # Extract the first word of "gencat", so it can be a program name with args. set dummy gencat; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6256: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GENCAT" in /*) ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GENCAT="$GENCAT" # 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_GENCAT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT="no" d10023 3 a10025 3 GENCAT="$ac_cv_path_GENCAT" if test -n "$GENCAT"; then echo "$ac_t""$GENCAT" 1>&6 d10029 2 a10030 2 if test "$GENCAT" != "no"; then # Extract the first word of "gmsgfmt", so it can be a program name with args. d10033 1 a10033 1 echo "configure:6292: checking for $ac_word" >&5 d10055 1 a10055 1 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" d10066 1 a10066 34 if test "$GMSGFMT" = "no"; then # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6329: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_GMSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi d10068 1 a10068 2 fi # Extract the first word of "xgettext", so it can be a program name with args. d10071 1 a10071 1 echo "configure:6364: checking for $ac_word" >&5 d10102 4 a10105 10 USE_INCLUDED_LIBINTL=yes CATOBJEXT=.cat INSTOBJEXT=.cat DATADIRNAME=lib INTLDEPS='$(top_builddir)/intl/libintl.a' INTLLIBS=$INTLDEPS LIBS=`echo $LIBS | sed -e 's/-lintl//'` nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h fi a10109 2 fi fi d10121 1 a10121 1 echo "configure:6422: checking for $ac_word" >&5 d10155 1 a10155 1 echo "configure:6456: checking for $ac_word" >&5 d10191 1 a10191 1 echo "configure:6492: checking for $ac_word" >&5 d10223 1 d10226 2 a10227 7 INSTOBJEXT=.mo DATADIRNAME=share INTLDEPS='$(top_builddir)/intl/libintl.a' INTLLIBS=$INTLDEPS LIBS=`echo $LIBS | sed -e 's/-lintl//'` nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h d10239 1 a10239 6 # We need to process the po/ directory. POSUB=po else DATADIRNAME=share nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h a10241 1 d10244 54 a10297 5 # If this is used in GNU gettext we have to set USE_NLS to `yes' # because some of the sources are only built for this goal. if test "$PACKAGE" = gettext; then USE_NLS=yes USE_INCLUDED_LIBINTL=yes d10314 8 d10323 2 d10333 1 a10333 1 echo "configure:6585: checking for catalogs to be installed" >&5 d10335 15 a10349 4 for lang in ${LINGUAS=$ALL_LINGUAS}; do case "$ALL_LINGUAS" in *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; esac a10359 60 if test $ac_cv_header_locale_h = yes; then INCLUDE_LOCALE_H="#include " else INCLUDE_LOCALE_H="\ /* The system does not provide the header . Take care yourself. */" fi test -d intl || mkdir intl if test "$CATOBJEXT" = ".cat"; then ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 echo "configure:6613: checking for linux/version.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:6623: \"$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 msgformat=linux else echo "$ac_t""no" 1>&6 msgformat=xopen fi sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed fi sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed if test "$PACKAGE" = "gettext"; then GT_NO="#NO#" GT_YES= else GT_NO= GT_YES="#YES#" fi d10369 1 a10369 1 l= a10370 14 test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@@/.*@@@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES d10377 1 a10377 1 echo "configure:6692: checking for ANSI C header files" >&5 d10382 1 a10382 1 #line 6697 "configure" d10390 1 a10390 1 { (eval echo configure:6705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10407 1 a10407 1 #line 6722 "configure" d10425 1 a10425 1 #line 6740 "configure" d10446 1 a10446 1 #line 6761 "configure" d10457 1 a10457 1 if { (eval echo configure:6772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d10481 1 a10481 1 echo "configure:6796: checking whether sys/types.h defines makedev" >&5 d10486 1 a10486 1 #line 6801 "configure" d10493 1 a10493 1 if { (eval echo configure:6808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d10511 1 a10511 1 echo "configure:6826: checking for sys/mkdev.h" >&5 d10516 1 a10516 1 #line 6831 "configure" d10521 1 a10521 1 { (eval echo configure:6836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10549 1 a10549 1 echo "configure:6864: checking for sys/sysmacros.h" >&5 d10554 1 a10554 1 #line 6869 "configure" d10559 1 a10559 1 { (eval echo configure:6874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10591 1 a10591 1 echo "configure:6906: checking for $ac_hdr that defines DIR" >&5 d10596 1 a10596 1 #line 6911 "configure" d10604 1 a10604 1 if { (eval echo configure:6919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d10629 1 a10629 1 echo "configure:6944: checking for opendir in -ldir" >&5 d10637 1 a10637 1 #line 6952 "configure" d10648 1 a10648 1 if { (eval echo configure:6963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d10670 1 a10670 1 echo "configure:6985: checking for opendir in -lx" >&5 d10678 1 a10678 1 #line 6993 "configure" d10689 1 a10689 1 if { (eval echo configure:7004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d10712 1 a10712 1 echo "configure:7027: checking whether time.h and sys/time.h may both be included" >&5 d10717 1 a10717 1 #line 7032 "configure" d10726 1 a10726 1 if { (eval echo configure:7041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then a10746 40 for ac_hdr in db_185.h db1/db.h db3/db.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:7066: 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:7076: \"$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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done d10751 1 a10751 1 echo "configure:7106: checking for $ac_hdr" >&5 d10756 1 a10756 1 #line 7111 "configure" d10761 1 a10761 1 { (eval echo configure:7116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10788 1 a10788 1 for ac_hdr in sys/socket.h sys/select.h d10792 1 a10792 1 echo "configure:7147: checking for $ac_hdr" >&5 d10797 1 a10797 1 #line 7152 "configure" d10802 1 a10802 1 { (eval echo configure:7157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10832 1 a10832 1 echo "configure:7187: checking for $ac_hdr" >&5 d10837 1 a10837 1 #line 7192 "configure" d10842 1 a10842 1 { (eval echo configure:7197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10872 1 a10872 1 echo "configure:7227: checking for $ac_hdr" >&5 d10877 1 a10877 1 #line 7232 "configure" d10882 1 a10882 1 { (eval echo configure:7237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10913 1 a10913 1 echo "configure:7268: checking for $ac_hdr" >&5 d10918 1 a10918 1 #line 7273 "configure" d10923 1 a10923 1 { (eval echo configure:7278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10953 1 a10953 1 echo "configure:7308: checking for $ac_hdr" >&5 d10958 1 a10958 1 #line 7313 "configure" d10963 1 a10963 1 { (eval echo configure:7318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10993 1 a10993 1 echo "configure:7348: checking for $ac_hdr" >&5 d10998 1 a10998 1 #line 7353 "configure" d11003 1 a11003 1 { (eval echo configure:7358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11033 1 a11033 1 echo "configure:7388: checking for $ac_hdr" >&5 d11038 1 a11038 1 #line 7393 "configure" d11043 1 a11043 1 { (eval echo configure:7398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11073 1 a11073 1 echo "configure:7428: checking for $ac_hdr" >&5 d11078 1 a11078 1 #line 7433 "configure" d11083 1 a11083 1 { (eval echo configure:7438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11113 1 a11113 1 echo "configure:7468: checking for $ac_hdr" >&5 d11118 1 a11118 1 #line 7473 "configure" d11123 1 a11123 1 { (eval echo configure:7478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11154 1 a11154 1 echo "configure:7509: checking for $ac_hdr" >&5 d11159 1 a11159 1 #line 7514 "configure" d11164 1 a11164 1 { (eval echo configure:7519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11205 1 a11205 1 echo "configure:7560: checking for $ac_hdr" >&5 d11210 1 a11210 1 #line 7565 "configure" d11215 1 a11215 1 { (eval echo configure:7570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11243 1 a11243 1 echo "configure:7598: checking for struct statfs" >&5 d11248 1 a11248 1 #line 7603 "configure" d11259 1 a11259 1 if { (eval echo configure:7614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11276 1 a11276 1 #line 7631 "configure" d11287 1 a11287 1 if { (eval echo configure:7642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11304 1 a11304 1 #line 7659 "configure" d11318 1 a11318 1 if { (eval echo configure:7673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11335 1 a11335 1 #line 7690 "configure" d11346 1 a11346 1 if { (eval echo configure:7701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11367 1 a11367 1 echo "configure:7722: checking for f_bavail member in struct statfs" >&5 d11369 1 a11369 1 #line 7724 "configure" d11393 1 a11393 1 if { (eval echo configure:7748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11412 1 a11412 1 echo "configure:7767: checking if statfs() requires 4 arguments" >&5 d11418 1 a11418 1 #line 7773 "configure" d11437 1 a11437 1 if { (eval echo configure:7792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d11456 1 a11456 1 echo "configure:7811: checking for inline" >&5 d11463 1 a11463 1 #line 7818 "configure" d11470 1 a11470 1 if { (eval echo configure:7825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11498 1 a11498 1 echo "configure:7853: checking if defines h_errno" >&5 d11500 1 a11500 1 #line 7855 "configure" d11507 1 a11507 1 if { (eval echo configure:7862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11524 1 a11524 1 echo "configure:7879: checking if defines S_IFSOCK" >&5 d11526 1 a11526 1 #line 7881 "configure" d11533 1 a11533 1 if { (eval echo configure:7888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11552 1 a11552 1 echo "configure:7907: checking if defines S_ISLNK" >&5 d11554 1 a11554 1 #line 7909 "configure" d11561 1 a11561 1 if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11580 1 a11580 1 echo "configure:7935: checking if defines S_ISSOCK" >&5 d11582 1 a11582 1 #line 7937 "configure" d11589 1 a11589 1 if { (eval echo configure:7944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11608 1 a11608 1 echo "configure:7963: checking if timezone is defined" >&5 d11610 1 a11610 1 #line 7965 "configure" d11617 1 a11617 1 if { (eval echo configure:7972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11630 1 a11630 1 echo "configure:7985: checking for mode_t" >&5 d11635 1 a11635 1 #line 7990 "configure" d11663 1 a11663 1 echo "configure:8018: checking for pid_t" >&5 d11668 1 a11668 1 #line 8023 "configure" d11699 1 a11699 1 echo "configure:8054: checking for working alloca.h" >&5 d11704 1 a11704 1 #line 8059 "configure" d11711 1 a11711 1 if { (eval echo configure:8066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11732 1 a11732 1 echo "configure:8087: checking for alloca" >&5 d11737 1 a11737 1 #line 8092 "configure" d11765 1 a11765 1 if { (eval echo configure:8120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11797 1 a11797 1 echo "configure:8152: checking whether alloca needs Cray hooks" >&5 d11802 1 a11802 1 #line 8157 "configure" d11827 1 a11827 1 echo "configure:8182: checking for $ac_func" >&5 d11832 1 a11832 1 #line 8187 "configure" d11855 1 a11855 1 if { (eval echo configure:8210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11882 1 a11882 1 echo "configure:8237: checking stack direction for C alloca" >&5 d11890 1 a11890 1 #line 8245 "configure" d11909 1 a11909 1 if { (eval echo configure:8264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d11931 1 a11931 1 echo "configure:8286: checking for vprintf" >&5 d11936 1 a11936 1 #line 8291 "configure" d11959 1 a11959 1 if { (eval echo configure:8314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11983 1 a11983 1 echo "configure:8338: checking for _doprnt" >&5 d11988 1 a11988 1 #line 8343 "configure" d12011 1 a12011 1 if { (eval echo configure:8366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12037 1 a12037 1 echo "configure:8392: checking for working fnmatch" >&5 d12048 1 a12048 1 #line 8403 "configure" d12052 1 a12052 1 if { (eval echo configure:8407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d12086 1 a12086 1 echo "configure:8441: checking for $ac_func" >&5 d12091 1 a12091 1 #line 8446 "configure" d12114 1 a12114 1 if { (eval echo configure:8469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12141 1 a12141 1 echo "configure:8496: checking for $ac_func" >&5 d12146 1 a12146 1 #line 8501 "configure" d12169 1 a12169 1 if { (eval echo configure:8524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12196 1 a12196 1 echo "configure:8551: checking for $ac_func" >&5 d12201 1 a12201 1 #line 8556 "configure" d12224 1 a12224 1 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12252 57 a12308 1 echo "configure:8607: checking for $ac_func" >&5 d12313 1 a12313 1 #line 8612 "configure" d12336 1 a12336 1 if { (eval echo configure:8635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12370 1 a12370 1 echo "configure:8669: checking for $ac_func" >&5 d12375 1 a12375 1 #line 8674 "configure" d12398 1 a12398 1 if { (eval echo configure:8697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12428 6 a12433 1 echo "configure:8727: checking for GNU extensions to glob" >&5 d12441 1 a12441 1 #line 8735 "configure" d12453 1 a12453 1 if { (eval echo configure:8747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d12466 7 a12472 4 echo "$ac_t""$rpm_cv_glob_ext" 1>&6 if test $rpm_cv_glob_ext = no ; then echo " --> using the included GNU glob instead." >&6 rpm_cv_glob=yes d12476 1 a12476 1 if test $rpm_cv_glob = yes; then a12482 1 d12493 1 a12493 1 echo "configure:8785: checking for python 1.5.2" >&5 d12495 1 a12495 1 withval=no d12498 1 a12498 1 #line 8790 "configure" d12506 1 a12506 1 if { (eval echo configure:8798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d12534 1 a12534 1 echo "configure:8826: checking for $ac_word" >&5 d12608 1 a12608 1 echo "configure:8900: checking for $ac_func" >&5 d12613 1 a12613 1 #line 8905 "configure" d12636 1 a12636 1 if { (eval echo configure:8928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12664 1 a12664 1 echo "configure:8956: checking for $ac_func" >&5 d12669 1 a12669 1 #line 8961 "configure" d12692 1 a12692 1 if { (eval echo configure:8984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12718 1 a12718 1 echo "configure:9010: checking for getmntent" >&5 d12723 1 a12723 1 #line 9015 "configure" d12746 1 a12746 1 if { (eval echo configure:9038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12768 1 a12768 1 echo "configure:9060: checking for mntctl" >&5 d12773 1 a12773 1 #line 9065 "configure" d12796 1 a12796 1 if { (eval echo configure:9088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12818 1 a12818 1 echo "configure:9110: checking for getmntinfo_r" >&5 d12823 1 a12823 1 #line 9115 "configure" d12846 1 a12846 1 if { (eval echo configure:9138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12868 1 a12868 1 echo "configure:9160: checking for getmntinfo_r in -lc_r" >&5 d12876 1 a12876 1 #line 9168 "configure" d12887 1 a12887 1 if { (eval echo configure:9179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12925 1 a12925 1 echo "configure:9217: checking for lchown" >&5 d12930 1 a12930 1 #line 9222 "configure" d12953 1 a12953 1 if { (eval echo configure:9245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12978 1 a12978 1 echo "configure:9270: checking whether chown() follows symlinks" >&5 d13006 1 a13006 1 echo "configure:9298: checking (cannot check by non-root user)" >&5 d13024 1 a13024 1 echo "configure:9316: checking root's primary group" >&5 d13030 1 a13030 1 #line 9322 "configure" d13059 1 a13059 1 if { (eval echo configure:9351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d13185 1 d13188 4 a13191 1 arm*) RPMCANONARCH=arm ;; d13199 1 a13199 1 unknown|pc|redhat|pld|mandrake|conectiva) a13275 6 TOP_SOURCEDIR="`pwd`" cat >> confdefs.h <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF srcdir=$ac_given_srcdir while test -n "$ac_sources"; do set $ac_dests; ac_dest=$1; shift; ac_dests=$* set $ac_sources; ac_source=$1; shift; ac_sources=$* echo "linking $srcdir/$ac_source to $ac_dest" if test ! -r $srcdir/$ac_source; then { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; } fi rm -f $ac_dest # Make relative symlinks. # Remove last slash and all that follows it. Not all systems have dirname. ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'` if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then # The dest file is in a subdirectory. test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir" ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dest_dir_suffix. ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dest_dir_suffix= ac_dots= fi case "$srcdir" in [/$]*) ac_rel_source="$srcdir/$ac_source" ;; *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;; esac # Make a symlink if possible; otherwise try a hard link. if ln -s $ac_rel_source $ac_dest 2>/dev/null || ln $srcdir/$ac_source $ac_dest; then : else { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; } fi done EOF d13799 27 a13825 4 case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac echo timestamp > popt/stamp-h.in d13827 2 d13860 1 a13860 1 for ac_config_dir in popt; do a13930 1 @ 1.11 log @Resolve: RPM 4.0 -> RPM 4.0.1 @ text @d27 2 d601 1 a601 1 echo "configure:600: checking host system type" >&5 d622 1 a622 1 echo "configure:621: checking target system type" >&5 d640 1 a640 1 echo "configure:639: checking build system type" >&5 d675 1 a675 1 echo "configure:674: checking for a BSD compatible install" >&5 d728 1 a728 1 echo "configure:727: checking whether build environment is sane" >&5 d785 1 a785 1 echo "configure:784: checking whether ${MAKE-make} sets \${MAKE}" >&5 d814 1 a814 1 VERSION=4.0.1 d831 1 a831 1 echo "configure:830: checking for working aclocal" >&5 d844 1 a844 1 echo "configure:843: checking for working autoconf" >&5 d857 1 a857 1 echo "configure:856: checking for working automake" >&5 d870 1 a870 1 echo "configure:869: checking for working autoheader" >&5 d883 1 a883 1 echo "configure:882: checking for working makeinfo" >&5 d928 1 a928 1 echo "configure:927: checking for $ac_word" >&5 d958 1 a958 1 echo "configure:957: checking for $ac_word" >&5 d1009 1 a1009 1 echo "configure:1008: checking for $ac_word" >&5 d1041 1 a1041 1 echo "configure:1040: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1052 1 a1052 1 #line 1051 "configure" d1057 1 a1057 1 if { (eval echo configure:1056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1083 1 a1083 1 echo "configure:1082: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1088 1 a1088 1 echo "configure:1087: checking whether we are using GNU C" >&5 d1097 1 a1097 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1116 1 a1116 1 echo "configure:1115: checking whether ${CC-cc} accepts -g" >&5 d1152 1 a1152 1 echo "configure:1151: checking how to run the C preprocessor" >&5 d1167 1 a1167 1 #line 1166 "configure" d1173 1 a1173 1 { (eval echo configure:1172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1184 1 a1184 1 #line 1183 "configure" d1190 1 a1190 1 { (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1201 1 a1201 1 #line 1200 "configure" d1207 1 a1207 1 { (eval echo configure:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1233 1 a1233 1 echo "configure:1232: checking whether ${CC-cc} needs -traditional" >&5 d1239 1 a1239 1 #line 1238 "configure" d1257 1 a1257 1 #line 1256 "configure" d1290 1 a1290 1 echo "configure:1289: checking for a BSD compatible install" >&5 d1346 1 a1346 1 echo "configure:1345: checking for $ac_word" >&5 d1382 1 a1382 1 echo "configure:1381: checking for $ac_word" >&5 d1417 1 a1417 1 echo "configure:1416: checking flag used by libtool to link rpm" >&5 d1420 4 a1423 3 *-*-solaris*) LDFLAGS_STATIC="";; *-*-hpux*) LDFLAGS_STATIC="";; *-*-*) LDFLAGS_STATIC="-all";; d1427 7 a1433 7 *-*-linux*) LDFLAGS_STATIC="-all";; *-*-freebsd*) LDFLAGS_STATIC="-all";; *-*-osf*) LDFLAGS_STATIC="-all";; *-*-aix*) LDFLAGS_STATIC="";; # -Wl,-bnso doesn't seem to work... *-*-hpux*) LDFLAGS_STATIC="";; *-*-solaris*) LDFLAGS_STATIC="";; *-*-irix*) LDFLAGS_STATIC="";; #should be -non_shared, but can't d1435 2 a1436 2 *-*-ultrix*) LDFLAGS_STATIC="-all";; #ultrix doesn't have shared libs. *-*-*) LDFLAGS_STATIC="" d1450 1 a1450 1 LDFLAGS_STATIC="${LDFLAGS} ${LDFLAGS_STATIC}-static" # libtool format d1455 1 a1455 1 echo "configure:1453: checking POSIX chmod" >&5 d1475 1 a1475 1 echo "configure:1473: checking for $ac_word" >&5 d1512 1 a1512 1 echo "configure:1510: checking if $MKDIR supports -p" >&5 d1546 1 a1546 1 echo "configure:1544: checking for AIX" >&5 d1548 1 a1548 1 #line 1546 "configure" d1571 1 a1571 1 echo "configure:1569: checking for minix/config.h" >&5 d1576 1 a1576 1 #line 1574 "configure" d1581 1 a1581 1 { (eval echo configure:1579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1619 1 a1619 1 echo "configure:1617: checking for POSIXized ISC" >&5 d1644 1 a1644 1 echo "configure:1642: checking for ${CC-cc} option to accept ANSI C" >&5 d1660 1 a1660 1 #line 1658 "configure" d1697 1 a1697 1 if { (eval echo configure:1695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1723 1 a1723 1 echo "configure:1721: checking for function prototypes" >&5 d1736 1 a1736 1 echo "configure:1734: checking for ANSI C header files" >&5 d1741 1 a1741 1 #line 1739 "configure" d1749 1 a1749 1 { (eval echo configure:1747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1766 1 a1766 1 #line 1764 "configure" d1784 1 a1784 1 #line 1782 "configure" d1805 1 a1805 1 #line 1803 "configure" d1816 1 a1816 1 if { (eval echo configure:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1843 1 a1843 1 echo "configure:1841: checking for $ac_hdr" >&5 d1848 1 a1848 1 #line 1846 "configure" d1853 1 a1853 1 { (eval echo configure:1851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1887 1 a1887 1 echo "configure:1885: checking for $ac_word" >&5 d1917 1 a1917 1 echo "configure:1915: checking whether ln -s works" >&5 d1938 1 a1938 1 echo "configure:1936: checking whether ${MAKE-make} sets \${MAKE}" >&5 d2037 1 a2037 1 echo "configure:2035: checking for $ac_word" >&5 d2076 1 a2076 1 echo "configure:2074: checking for ld used by GCC" >&5 d2100 1 a2100 1 echo "configure:2098: checking for GNU ld" >&5 d2103 1 a2103 1 echo "configure:2101: checking for non-GNU ld" >&5 d2138 1 a2138 1 echo "configure:2136: checking if the linker ($LD) is GNU ld" >&5 d2154 1 a2154 1 echo "configure:2152: checking for BSD-compatible nm" >&5 d2223 2 a2224 2 echo '#line 2221 "configure"' > conftest.$ac_ext if { (eval echo configure:2222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2245 1 a2245 1 echo "configure:2243: checking whether the C compiler needs -belf" >&5 d2250 1 a2250 1 #line 2248 "configure" d2257 1 a2257 1 if { (eval echo configure:2255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2368 1 a2368 1 echo "configure:2366: checking for $ac_word" >&5 d2400 1 a2400 1 echo "configure:2398: checking for $ac_word" >&5 d2439 1 a2439 1 echo "configure:2437: checking for $ac_word" >&5 d2475 1 a2475 1 echo "configure:2473: checking for $ac_word" >&5 d2511 1 a2511 1 echo "configure:2509: checking for $ac_word" >&5 d2547 1 a2547 1 echo "configure:2545: checking for $ac_word" >&5 d2583 1 a2583 1 echo "configure:2581: checking for $ac_word" >&5 d2619 1 a2619 1 echo "configure:2617: checking for $ac_word" >&5 d2655 1 a2655 1 echo "configure:2653: checking for $ac_word" >&5 d2691 1 a2691 1 echo "configure:2689: checking for $ac_word" >&5 d2727 1 a2727 1 echo "configure:2725: checking for $ac_word" >&5 d2763 1 a2763 1 echo "configure:2761: checking for $ac_word" >&5 d2800 1 a2800 1 echo "configure:2798: checking for $ac_word" >&5 d2834 1 a2834 1 echo "configure:2832: checking checking whether id supports -u" >&5 d2847 1 a2847 1 echo "configure:2845: checking for $ac_word" >&5 d2883 1 a2883 1 echo "configure:2881: checking for $ac_word" >&5 d2919 1 a2919 1 echo "configure:2917: checking for $ac_word" >&5 d2955 1 a2955 1 echo "configure:2953: checking for $ac_word" >&5 d2991 1 a2991 1 echo "configure:2989: checking for $ac_word" >&5 d3025 1 a3025 1 echo "configure:3023: checking old version of patch" >&5 d3041 1 a3041 1 echo "configure:3039: checking for $ac_word" >&5 d3077 1 a3077 1 echo "configure:3075: checking for $ac_word" >&5 d3113 1 a3113 1 echo "configure:3111: checking for $ac_word" >&5 d3149 1 a3149 1 echo "configure:3147: checking for $ac_word" >&5 d3185 1 a3185 1 echo "configure:3183: checking for $ac_word" >&5 d3221 1 a3221 1 echo "configure:3219: checking for $ac_word" >&5 d3257 1 a3257 1 echo "configure:3255: checking for $ac_word" >&5 d3293 1 a3293 1 echo "configure:3291: checking for $ac_word" >&5 d3330 1 a3330 1 echo "configure:3328: checking for $ac_word" >&5 d3366 1 a3366 1 echo "configure:3364: checking for $ac_word" >&5 d3402 1 a3402 1 echo "configure:3400: checking for $ac_word" >&5 d3438 1 a3438 1 echo "configure:3436: checking for $ac_word" >&5 d3474 1 a3474 1 echo "configure:3472: checking for $ac_word" >&5 d3530 1 a3530 1 echo "configure:3528: checking for $dir/lib in LIBS" >&5 d3539 1 a3539 1 echo "configure:3537: checking for $dir/include in INCPATH" >&5 d3549 1 a3549 1 echo "configure:3547: checking for /usr/ucblib in LIBS" >&5 d3565 1 a3565 1 echo "configure:3563: checking if you want experimental rpm-5.0 packages" >&5 d3582 1 a3582 1 echo "configure:3580: checking for setreuid" >&5 d3587 1 a3587 1 #line 3585 "configure" d3610 1 a3610 1 if { (eval echo configure:3608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3629 1 a3629 1 echo "configure:3627: checking for setreuid in -lucb" >&5 d3637 1 a3637 1 #line 3635 "configure" d3648 1 a3648 1 if { (eval echo configure:3646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3673 1 a3673 1 echo "configure:3671: checking for rand" >&5 d3678 1 a3678 1 #line 3676 "configure" d3701 1 a3701 1 if { (eval echo configure:3699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3720 1 a3720 1 echo "configure:3718: checking for rand in -lrand" >&5 d3728 1 a3728 1 #line 3726 "configure" d3739 1 a3739 1 if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3764 1 a3764 1 echo "configure:3762: checking for getdomainname" >&5 d3769 1 a3769 1 #line 3767 "configure" d3792 1 a3792 1 if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3811 1 a3811 1 echo "configure:3809: checking for getdomainname in -lnsl" >&5 d3819 1 a3819 1 #line 3817 "configure" d3830 1 a3830 1 if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3854 1 a3854 1 echo "configure:3852: checking for socket" >&5 d3859 1 a3859 1 #line 3857 "configure" d3882 1 a3882 1 if { (eval echo configure:3880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3901 1 a3901 1 echo "configure:3899: checking for socket in -lsocket" >&5 d3909 1 a3909 1 #line 3907 "configure" d3920 1 a3920 1 if { (eval echo configure:3918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3945 1 a3945 1 echo "configure:3943: checking for fchmod" >&5 d3950 1 a3950 1 #line 3948 "configure" d3973 1 a3973 1 if { (eval echo configure:3971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3994 1 a3994 1 echo "configure:3992: checking for writev in -lport" >&5 d4002 1 a4002 1 #line 4000 "configure" d4013 1 a4013 1 if { (eval echo configure:4011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4041 1 a4041 1 libpthread="" d4043 1 a4043 1 echo "configure:4041: checking for pthread_mutex_trylock in -lpthread" >&5 d4051 1 a4051 1 #line 4049 "configure" d4062 86 a4147 1 if { (eval echo configure:4060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4162 1 a4162 1 libpthread="-lpthread" d4167 1 d4173 1 d4175 1 a4175 1 echo "configure:4086: checking for db_create" >&5 d4180 1 a4180 1 #line 4091 "configure" d4203 1 a4203 1 if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4221 1 a4221 1 echo "configure:4132: checking for db_create in -ldb-3.1" >&5 d4227 1 a4227 1 LIBS="-ldb-3.1 $libpthread $LIBS" d4229 1 a4229 1 #line 4140 "configure" d4240 1 a4240 1 if { (eval echo configure:4151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4259 1 a4259 1 echo "configure:4170: checking for db_create in -ldb-3.0" >&5 d4265 1 a4265 1 LIBS="-ldb-3.0 $libpthread $LIBS" d4267 1 a4267 1 #line 4178 "configure" d4278 1 a4278 1 if { (eval echo configure:4189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4297 1 a4297 1 echo "configure:4208: checking for db_create in -ldb" >&5 d4303 1 a4303 1 LIBS="-ldb $libpthread $LIBS" d4305 1 a4305 1 #line 4216 "configure" d4316 1 a4316 1 if { (eval echo configure:4227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4347 27 a4373 2 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 echo "configure:4259: checking for dbopen" >&5 d4378 1 a4378 1 #line 4264 "configure" d4401 1 a4401 1 if { (eval echo configure:4287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4419 1 a4419 1 echo "configure:4305: checking for dbopen in -ldb1" >&5 d4427 1 a4427 1 #line 4313 "configure" d4438 1 a4438 1 if { (eval echo configure:4324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4457 1 a4457 1 echo "configure:4343: checking for dbopen in -ldb" >&5 d4465 1 a4465 1 #line 4351 "configure" d4476 1 a4476 1 if { (eval echo configure:4362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4496 1 a4496 1 d4499 2 a4503 1 d4508 3 a4510 3 if test -n "$libdb3" -a -n "$libpthread" ; then echo $ac_n "checking whether $libdb3 needs $libpthread""... $ac_c" 1>&6 echo "configure:4395: checking whether $libdb3 needs $libpthread" >&5 d4514 1 a4514 1 #line 4399 "configure" d4525 1 a4525 1 if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4532 1 a4532 1 libdb3="$libdb3 $libpthread"; echo "$ac_t""yes" 1>&6 d4564 1 a4564 1 echo "configure:4449: checking for fork" >&5 d4569 1 a4569 1 #line 4454 "configure" d4592 1 a4592 1 if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4624 1 a4624 1 echo "configure:4509: checking for gzread in -l${zlib}" >&5 d4632 1 a4632 1 #line 4517 "configure" d4643 1 a4643 1 if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4670 1 a4670 1 echo "configure:4555: checking for gzseek in -l${zlib}" >&5 d4678 1 a4678 1 #line 4563 "configure" d4689 1 a4689 1 if { (eval echo configure:4574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4714 1 a4714 1 echo "configure:4599: checking for bzread in -lbz2" >&5 d4722 1 a4722 1 #line 4607 "configure" d4733 1 a4733 1 if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4752 1 a4752 1 echo "configure:4637: checking for BZ2_bzread in -lbz2" >&5 d4760 1 a4760 1 #line 4645 "configure" d4771 1 a4771 1 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4805 1 a4805 1 echo "configure:4690: checking for $ac_func" >&5 d4810 1 a4810 1 #line 4695 "configure" d4833 1 a4833 1 if { (eval echo configure:4718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4859 1 a4859 1 echo "configure:4744: checking for error_at_line" >&5 d4864 1 a4864 1 #line 4749 "configure" d4871 1 a4871 1 if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4891 1 a4891 1 echo "configure:4776: checking for working const" >&5 d4896 1 a4896 1 #line 4781 "configure" d4945 1 a4945 1 if { (eval echo configure:4830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4966 1 a4966 1 echo "configure:4851: checking for inline" >&5 d4973 1 a4973 1 #line 4858 "configure" d4980 1 a4980 1 if { (eval echo configure:4865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d5006 1 a5006 1 echo "configure:4891: checking for off_t" >&5 d5011 1 a5011 1 #line 4896 "configure" d5039 1 a5039 1 echo "configure:4924: checking for size_t" >&5 d5044 1 a5044 1 #line 4929 "configure" d5074 1 a5074 1 echo "configure:4959: checking for working alloca.h" >&5 d5079 1 a5079 1 #line 4964 "configure" d5086 1 a5086 1 if { (eval echo configure:4971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5107 1 a5107 1 echo "configure:4992: checking for alloca" >&5 d5112 1 a5112 1 #line 4997 "configure" d5140 1 a5140 1 if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5172 1 a5172 1 echo "configure:5057: checking whether alloca needs Cray hooks" >&5 d5177 1 a5177 1 #line 5062 "configure" d5202 1 a5202 1 echo "configure:5087: checking for $ac_func" >&5 d5207 1 a5207 1 #line 5092 "configure" d5230 1 a5230 1 if { (eval echo configure:5115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5257 1 a5257 1 echo "configure:5142: checking stack direction for C alloca" >&5 d5265 1 a5265 1 #line 5150 "configure" d5284 1 a5284 1 if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5309 1 a5309 1 echo "configure:5194: checking for $ac_hdr" >&5 d5314 1 a5314 1 #line 5199 "configure" d5319 1 a5319 1 { (eval echo configure:5204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5348 1 a5348 1 echo "configure:5233: checking for $ac_func" >&5 d5353 1 a5353 1 #line 5238 "configure" d5376 1 a5376 1 if { (eval echo configure:5261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5401 1 a5401 1 echo "configure:5286: checking for working mmap" >&5 d5409 1 a5409 1 #line 5294 "configure" d5549 1 a5549 1 if { (eval echo configure:5434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5577 1 a5577 1 echo "configure:5462: checking for $ac_hdr" >&5 d5582 1 a5582 1 #line 5467 "configure" d5587 1 a5587 1 { (eval echo configure:5472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5617 1 a5617 1 echo "configure:5502: checking for $ac_func" >&5 d5622 1 a5622 1 #line 5507 "configure" d5645 1 a5645 1 if { (eval echo configure:5530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5674 1 a5674 1 echo "configure:5559: checking for $ac_func" >&5 d5679 1 a5679 1 #line 5564 "configure" d5702 1 a5702 1 if { (eval echo configure:5587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5736 1 a5736 1 echo "configure:5621: checking for LC_MESSAGES" >&5 d5741 1 a5741 1 #line 5626 "configure" d5748 1 a5748 1 if { (eval echo configure:5633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5769 1 a5769 1 echo "configure:5654: checking whether NLS is requested" >&5 d5789 1 a5789 1 echo "configure:5674: checking whether included gettext is requested" >&5 d5808 1 a5808 1 echo "configure:5693: checking for libintl.h" >&5 d5813 1 a5813 1 #line 5698 "configure" d5818 1 a5818 1 { (eval echo configure:5703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5835 1 a5835 1 echo "configure:5720: checking for gettext in libc" >&5 d5840 1 a5840 1 #line 5725 "configure" d5847 1 a5847 1 if { (eval echo configure:5732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5863 1 a5863 1 echo "configure:5748: checking for bindtextdomain in -lintl" >&5 d5871 1 a5871 1 #line 5756 "configure" d5882 1 a5882 1 if { (eval echo configure:5767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5898 1 a5898 1 echo "configure:5783: checking for gettext in libintl" >&5 d5903 1 a5903 1 echo "configure:5788: checking for gettext in -lintl" >&5 d5911 1 a5911 1 #line 5796 "configure" d5922 1 a5922 1 if { (eval echo configure:5807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5961 1 a5961 1 echo "configure:5846: checking for $ac_word" >&5 d5995 1 a5995 1 echo "configure:5880: checking for $ac_func" >&5 d6000 1 a6000 1 #line 5885 "configure" d6023 1 a6023 1 if { (eval echo configure:5908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6050 1 a6050 1 echo "configure:5935: checking for $ac_word" >&5 d6086 1 a6086 1 echo "configure:5971: checking for $ac_word" >&5 d6118 1 a6118 1 #line 6003 "configure" d6126 1 a6126 1 if { (eval echo configure:6011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6149 1 a6149 1 echo "configure:6034: checking whether catgets can be used" >&5 d6162 1 a6162 1 echo "configure:6047: checking for main in -li" >&5 d6170 1 a6170 1 #line 6055 "configure" d6177 1 a6177 1 if { (eval echo configure:6062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6205 1 a6205 1 echo "configure:6090: checking for catgets" >&5 d6210 1 a6210 1 #line 6095 "configure" d6233 1 a6233 1 if { (eval echo configure:6118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6255 1 a6255 1 echo "configure:6140: checking for $ac_word" >&5 d6291 1 a6291 1 echo "configure:6176: checking for $ac_word" >&5 d6328 1 a6328 1 echo "configure:6213: checking for $ac_word" >&5 d6363 1 a6363 1 echo "configure:6248: checking for $ac_word" >&5 d6421 1 a6421 1 echo "configure:6306: checking for $ac_word" >&5 d6455 1 a6455 1 echo "configure:6340: checking for $ac_word" >&5 d6491 1 a6491 1 echo "configure:6376: checking for $ac_word" >&5 d6584 1 a6584 1 echo "configure:6469: checking for catalogs to be installed" >&5 d6612 1 a6612 1 echo "configure:6497: checking for linux/version.h" >&5 d6617 1 a6617 1 #line 6502 "configure" d6622 1 a6622 1 { (eval echo configure:6507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6691 1 a6691 1 echo "configure:6576: checking for ANSI C header files" >&5 d6696 1 a6696 1 #line 6581 "configure" d6704 1 a6704 1 { (eval echo configure:6589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6721 1 a6721 1 #line 6606 "configure" d6739 1 a6739 1 #line 6624 "configure" d6760 1 a6760 1 #line 6645 "configure" d6771 1 a6771 1 if { (eval echo configure:6656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6795 1 a6795 1 echo "configure:6680: checking whether sys/types.h defines makedev" >&5 d6800 1 a6800 1 #line 6685 "configure" d6807 1 a6807 1 if { (eval echo configure:6692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6825 1 a6825 1 echo "configure:6710: checking for sys/mkdev.h" >&5 d6830 1 a6830 1 #line 6715 "configure" d6835 1 a6835 1 { (eval echo configure:6720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6863 1 a6863 1 echo "configure:6748: checking for sys/sysmacros.h" >&5 d6868 1 a6868 1 #line 6753 "configure" d6873 1 a6873 1 { (eval echo configure:6758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6905 1 a6905 1 echo "configure:6790: checking for $ac_hdr that defines DIR" >&5 d6910 1 a6910 1 #line 6795 "configure" d6918 1 a6918 1 if { (eval echo configure:6803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6943 1 a6943 1 echo "configure:6828: checking for opendir in -ldir" >&5 d6951 1 a6951 1 #line 6836 "configure" d6962 1 a6962 1 if { (eval echo configure:6847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6984 1 a6984 1 echo "configure:6869: checking for opendir in -lx" >&5 d6992 1 a6992 1 #line 6877 "configure" d7003 1 a7003 1 if { (eval echo configure:6888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7026 1 a7026 1 echo "configure:6911: checking whether time.h and sys/time.h may both be included" >&5 d7031 1 a7031 1 #line 6916 "configure" d7040 1 a7040 1 if { (eval echo configure:6925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7065 1 a7065 1 echo "configure:6950: checking for $ac_hdr" >&5 d7070 1 a7070 1 #line 6955 "configure" d7075 1 a7075 1 { (eval echo configure:6960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7105 1 a7105 1 echo "configure:6990: checking for $ac_hdr" >&5 d7110 1 a7110 1 #line 6995 "configure" d7115 1 a7115 1 { (eval echo configure:7000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7146 1 a7146 1 echo "configure:7031: checking for $ac_hdr" >&5 d7151 1 a7151 1 #line 7036 "configure" d7156 1 a7156 1 { (eval echo configure:7041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7186 1 a7186 1 echo "configure:7071: checking for $ac_hdr" >&5 d7191 1 a7191 1 #line 7076 "configure" d7196 1 a7196 1 { (eval echo configure:7081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7226 1 a7226 1 echo "configure:7111: checking for $ac_hdr" >&5 d7231 1 a7231 1 #line 7116 "configure" d7236 1 a7236 1 { (eval echo configure:7121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7267 1 a7267 1 echo "configure:7152: checking for $ac_hdr" >&5 d7272 1 a7272 1 #line 7157 "configure" d7277 1 a7277 1 { (eval echo configure:7162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7307 1 a7307 1 echo "configure:7192: checking for $ac_hdr" >&5 d7312 1 a7312 1 #line 7197 "configure" d7317 1 a7317 1 { (eval echo configure:7202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7347 1 a7347 1 echo "configure:7232: checking for $ac_hdr" >&5 d7352 1 a7352 1 #line 7237 "configure" d7357 1 a7357 1 { (eval echo configure:7242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7387 1 a7387 1 echo "configure:7272: checking for $ac_hdr" >&5 d7392 1 a7392 1 #line 7277 "configure" d7397 1 a7397 1 { (eval echo configure:7282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7427 1 a7427 1 echo "configure:7312: checking for $ac_hdr" >&5 d7432 1 a7432 1 #line 7317 "configure" d7437 1 a7437 1 { (eval echo configure:7322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7467 1 a7467 1 echo "configure:7352: checking for $ac_hdr" >&5 d7472 1 a7472 1 #line 7357 "configure" d7477 1 a7477 1 { (eval echo configure:7362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7508 1 a7508 1 echo "configure:7393: checking for $ac_hdr" >&5 d7513 1 a7513 1 #line 7398 "configure" d7518 1 a7518 1 { (eval echo configure:7403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7559 1 a7559 1 echo "configure:7444: checking for $ac_hdr" >&5 d7564 1 a7564 1 #line 7449 "configure" d7569 1 a7569 1 { (eval echo configure:7454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7597 1 a7597 1 echo "configure:7482: checking for struct statfs" >&5 d7602 1 a7602 1 #line 7487 "configure" d7613 1 a7613 1 if { (eval echo configure:7498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7630 1 a7630 1 #line 7515 "configure" d7641 1 a7641 1 if { (eval echo configure:7526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7658 1 a7658 1 #line 7543 "configure" d7672 1 a7672 1 if { (eval echo configure:7557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7689 1 a7689 1 #line 7574 "configure" d7700 1 a7700 1 if { (eval echo configure:7585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7721 1 a7721 1 echo "configure:7606: checking for f_bavail member in struct statfs" >&5 d7723 1 a7723 1 #line 7608 "configure" d7747 1 a7747 1 if { (eval echo configure:7632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7766 1 a7766 1 echo "configure:7651: checking if statfs() requires 4 arguments" >&5 d7772 1 a7772 1 #line 7657 "configure" d7791 1 a7791 1 if { (eval echo configure:7676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7810 1 a7810 1 echo "configure:7695: checking for inline" >&5 d7817 1 a7817 1 #line 7702 "configure" d7824 1 a7824 1 if { (eval echo configure:7709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7852 1 a7852 1 echo "configure:7737: checking if defines h_errno" >&5 d7854 1 a7854 1 #line 7739 "configure" d7861 1 a7861 1 if { (eval echo configure:7746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7878 1 a7878 1 echo "configure:7763: checking if defines S_IFSOCK" >&5 d7880 1 a7880 1 #line 7765 "configure" d7887 1 a7887 1 if { (eval echo configure:7772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7906 1 a7906 1 echo "configure:7791: checking if defines S_ISLNK" >&5 d7908 1 a7908 1 #line 7793 "configure" d7915 1 a7915 1 if { (eval echo configure:7800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7934 1 a7934 1 echo "configure:7819: checking if defines S_ISSOCK" >&5 d7936 1 a7936 1 #line 7821 "configure" d7943 1 a7943 1 if { (eval echo configure:7828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7962 1 a7962 1 echo "configure:7847: checking if timezone is defined" >&5 d7964 1 a7964 1 #line 7849 "configure" d7971 1 a7971 1 if { (eval echo configure:7856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7984 1 a7984 1 echo "configure:7869: checking for mode_t" >&5 d7989 1 a7989 1 #line 7874 "configure" d8017 1 a8017 1 echo "configure:7902: checking for pid_t" >&5 d8022 1 a8022 1 #line 7907 "configure" d8053 1 a8053 1 echo "configure:7938: checking for working alloca.h" >&5 d8058 1 a8058 1 #line 7943 "configure" d8065 1 a8065 1 if { (eval echo configure:7950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8086 1 a8086 1 echo "configure:7971: checking for alloca" >&5 d8091 1 a8091 1 #line 7976 "configure" d8119 1 a8119 1 if { (eval echo configure:8004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8151 1 a8151 1 echo "configure:8036: checking whether alloca needs Cray hooks" >&5 d8156 1 a8156 1 #line 8041 "configure" d8181 1 a8181 1 echo "configure:8066: checking for $ac_func" >&5 d8186 1 a8186 1 #line 8071 "configure" d8209 1 a8209 1 if { (eval echo configure:8094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8236 1 a8236 1 echo "configure:8121: checking stack direction for C alloca" >&5 d8244 1 a8244 1 #line 8129 "configure" d8263 1 a8263 1 if { (eval echo configure:8148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8285 1 a8285 1 echo "configure:8170: checking for vprintf" >&5 d8290 1 a8290 1 #line 8175 "configure" d8313 1 a8313 1 if { (eval echo configure:8198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8337 1 a8337 1 echo "configure:8222: checking for _doprnt" >&5 d8342 1 a8342 1 #line 8227 "configure" d8365 1 a8365 1 if { (eval echo configure:8250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8391 1 a8391 1 echo "configure:8276: checking for working fnmatch" >&5 d8402 1 a8402 1 #line 8287 "configure" d8406 1 a8406 1 if { (eval echo configure:8291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8440 1 a8440 1 echo "configure:8325: checking for $ac_func" >&5 d8445 1 a8445 1 #line 8330 "configure" d8468 1 a8468 1 if { (eval echo configure:8353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8495 1 a8495 1 echo "configure:8380: checking for $ac_func" >&5 d8500 1 a8500 1 #line 8385 "configure" d8523 1 a8523 1 if { (eval echo configure:8408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8550 1 a8550 1 echo "configure:8435: checking for $ac_func" >&5 d8555 1 a8555 1 #line 8440 "configure" d8578 1 a8578 1 if { (eval echo configure:8463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8606 1 a8606 1 echo "configure:8491: checking for $ac_func" >&5 d8611 1 a8611 1 #line 8496 "configure" d8634 1 a8634 1 if { (eval echo configure:8519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8668 1 a8668 1 echo "configure:8553: checking for $ac_func" >&5 d8673 1 a8673 1 #line 8558 "configure" d8696 1 a8696 1 if { (eval echo configure:8581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8726 1 a8726 1 echo "configure:8611: checking for GNU extensions to glob" >&5 d8734 1 a8734 1 #line 8619 "configure" d8746 1 a8746 1 if { (eval echo configure:8631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8784 1 a8784 1 echo "configure:8669: checking for python 1.5.2" >&5 d8789 1 a8789 1 #line 8674 "configure" d8797 1 a8797 1 if { (eval echo configure:8682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8825 1 a8825 1 echo "configure:8710: checking for $ac_word" >&5 d8899 1 a8899 1 echo "configure:8784: checking for $ac_func" >&5 d8904 1 a8904 1 #line 8789 "configure" d8927 1 a8927 1 if { (eval echo configure:8812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8955 1 a8955 1 echo "configure:8840: checking for $ac_func" >&5 d8960 1 a8960 1 #line 8845 "configure" d8983 1 a8983 1 if { (eval echo configure:8868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9009 1 a9009 1 echo "configure:8894: checking for getmntent" >&5 d9014 1 a9014 1 #line 8899 "configure" d9037 1 a9037 1 if { (eval echo configure:8922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9059 1 a9059 1 echo "configure:8944: checking for mntctl" >&5 d9064 1 a9064 1 #line 8949 "configure" d9087 1 a9087 1 if { (eval echo configure:8972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9109 1 a9109 1 echo "configure:8994: checking for getmntinfo_r" >&5 d9114 1 a9114 1 #line 8999 "configure" d9137 1 a9137 1 if { (eval echo configure:9022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9159 1 a9159 1 echo "configure:9044: checking for getmntinfo_r in -lc_r" >&5 d9167 1 a9167 1 #line 9052 "configure" d9178 1 a9178 1 if { (eval echo configure:9063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9200 6 a9205 1 LIBOBJS="$LIBOBJS getmntent.o" d9216 1 a9216 1 echo "configure:9096: checking for lchown" >&5 d9221 1 a9221 1 #line 9101 "configure" d9244 1 a9244 1 if { (eval echo configure:9124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9269 1 a9269 1 echo "configure:9149: checking whether chown() follows symlinks" >&5 d9297 1 a9297 1 echo "configure:9177: checking (cannot check by non-root user)" >&5 d9315 1 a9315 1 echo "configure:9195: checking root's primary group" >&5 d9321 1 a9321 1 #line 9201 "configure" d9350 1 a9350 1 if { (eval echo configure:9230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d9366 11 a9376 2 varprefix=`echo $prefix | sed 's/usr/var/'` test "x$prefix" = xNONE && varprefix=`echo $ac_default_prefix | sed 's/usr/var/'` @ 1.10 log @Resolve: RPM 3.0.6 -> RPM 4.0 @ text @d35 6 d599 1 a599 1 echo "configure:594: checking host system type" >&5 d620 1 a620 1 echo "configure:615: checking target system type" >&5 d638 1 a638 1 echo "configure:633: checking build system type" >&5 d673 1 a673 1 echo "configure:668: checking for a BSD compatible install" >&5 d726 1 a726 1 echo "configure:721: checking whether build environment is sane" >&5 d783 1 a783 1 echo "configure:778: checking whether ${MAKE-make} sets \${MAKE}" >&5 d812 1 a812 1 VERSION=4.0 d829 1 a829 1 echo "configure:824: checking for working aclocal" >&5 d842 1 a842 1 echo "configure:837: checking for working autoconf" >&5 d855 1 a855 1 echo "configure:850: checking for working automake" >&5 d868 1 a868 1 echo "configure:863: checking for working autoheader" >&5 d881 1 a881 1 echo "configure:876: checking for working makeinfo" >&5 d900 1 a900 1 ALL_LINGUAS="cs da de es fi fr gl hu id is it ja ko no pl pt pt_BR ro ru sk sl sr sv tr uk wa zh zh_CN.GB2312" d926 1 a926 1 echo "configure:921: checking for $ac_word" >&5 d956 1 a956 1 echo "configure:951: checking for $ac_word" >&5 d1007 1 a1007 1 echo "configure:1002: checking for $ac_word" >&5 d1039 1 a1039 1 echo "configure:1034: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1050 1 a1050 1 #line 1045 "configure" d1055 1 a1055 1 if { (eval echo configure:1050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1081 1 a1081 1 echo "configure:1076: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1086 1 a1086 1 echo "configure:1081: checking whether we are using GNU C" >&5 d1095 1 a1095 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1114 1 a1114 1 echo "configure:1109: checking whether ${CC-cc} accepts -g" >&5 d1150 1 a1150 1 echo "configure:1145: checking how to run the C preprocessor" >&5 d1165 1 a1165 1 #line 1160 "configure" d1171 1 a1171 1 { (eval echo configure:1166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1182 1 a1182 1 #line 1177 "configure" d1188 1 a1188 1 { (eval echo configure:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1199 1 a1199 1 #line 1194 "configure" d1205 1 a1205 1 { (eval echo configure:1200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1231 1 a1231 1 echo "configure:1226: checking whether ${CC-cc} needs -traditional" >&5 d1237 1 a1237 1 #line 1232 "configure" d1255 1 a1255 1 #line 1250 "configure" d1288 1 a1288 1 echo "configure:1283: checking for a BSD compatible install" >&5 d1341 73 d1415 1 a1415 1 echo "configure:1337: checking flag used by libtool to link rpm" >&5 d1452 1 a1452 1 echo "configure:1374: checking POSIX chmod" >&5 d1472 1 a1472 1 echo "configure:1394: checking for $ac_word" >&5 d1509 1 a1509 1 echo "configure:1431: checking if $MKDIR supports -p" >&5 d1543 1 a1543 1 echo "configure:1465: checking for AIX" >&5 d1545 1 a1545 1 #line 1467 "configure" d1568 1 a1568 1 echo "configure:1490: checking for minix/config.h" >&5 d1573 1 a1573 1 #line 1495 "configure" d1578 1 a1578 1 { (eval echo configure:1500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1616 1 a1616 1 echo "configure:1538: checking for POSIXized ISC" >&5 d1641 1 a1641 1 echo "configure:1563: checking for ${CC-cc} option to accept ANSI C" >&5 d1657 1 a1657 1 #line 1579 "configure" d1694 1 a1694 1 if { (eval echo configure:1616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1720 1 a1720 1 echo "configure:1642: checking for function prototypes" >&5 d1733 1 a1733 1 echo "configure:1655: checking for ANSI C header files" >&5 d1738 1 a1738 1 #line 1660 "configure" d1746 1 a1746 1 { (eval echo configure:1668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1763 1 a1763 1 #line 1685 "configure" d1781 1 a1781 1 #line 1703 "configure" d1802 1 a1802 1 #line 1724 "configure" d1813 1 a1813 1 if { (eval echo configure:1735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1840 1 a1840 1 echo "configure:1762: checking for $ac_hdr" >&5 d1845 1 a1845 1 #line 1767 "configure" d1850 1 a1850 1 { (eval echo configure:1772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1884 1 a1884 1 echo "configure:1806: checking for $ac_word" >&5 d1914 1 a1914 1 echo "configure:1836: checking whether ln -s works" >&5 d1935 1 a1935 1 echo "configure:1857: checking whether ${MAKE-make} sets \${MAKE}" >&5 d2034 1 a2034 1 echo "configure:1956: checking for $ac_word" >&5 d2073 1 a2073 1 echo "configure:1995: checking for ld used by GCC" >&5 d2097 1 a2097 1 echo "configure:2019: checking for GNU ld" >&5 d2100 1 a2100 1 echo "configure:2022: checking for non-GNU ld" >&5 d2135 1 a2135 1 echo "configure:2057: checking if the linker ($LD) is GNU ld" >&5 d2151 1 a2151 1 echo "configure:2073: checking for BSD-compatible nm" >&5 d2220 2 a2221 2 echo '#line 2142 "configure"' > conftest.$ac_ext if { (eval echo configure:2143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2242 1 a2242 1 echo "configure:2164: checking whether the C compiler needs -belf" >&5 d2247 1 a2247 1 #line 2169 "configure" d2254 1 a2254 1 if { (eval echo configure:2176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2365 1 a2365 1 echo "configure:2287: checking for $ac_word" >&5 d2397 1 a2397 1 echo "configure:2319: checking for $ac_word" >&5 d2436 1 a2436 1 echo "configure:2358: checking for $ac_word" >&5 d2472 1 a2472 1 echo "configure:2394: checking for $ac_word" >&5 d2508 1 a2508 1 echo "configure:2430: checking for $ac_word" >&5 d2544 1 a2544 1 echo "configure:2466: checking for $ac_word" >&5 d2580 1 a2580 1 echo "configure:2502: checking for $ac_word" >&5 d2616 1 a2616 1 echo "configure:2538: checking for $ac_word" >&5 d2652 1 a2652 1 echo "configure:2574: checking for $ac_word" >&5 d2688 1 a2688 1 echo "configure:2610: checking for $ac_word" >&5 d2724 1 a2724 1 echo "configure:2646: checking for $ac_word" >&5 d2757 36 d2797 1 a2797 1 echo "configure:2683: checking for $ac_word" >&5 d2831 1 a2831 1 echo "configure:2717: checking checking whether id supports -u" >&5 d2844 1 a2844 1 echo "configure:2730: checking for $ac_word" >&5 d2880 1 a2880 1 echo "configure:2766: checking for $ac_word" >&5 d2916 1 a2916 1 echo "configure:2802: checking for $ac_word" >&5 d2952 1 a2952 1 echo "configure:2838: checking for $ac_word" >&5 d2988 1 a2988 1 echo "configure:2874: checking for $ac_word" >&5 d3022 1 a3022 1 echo "configure:2908: checking old version of patch" >&5 d3038 1 a3038 1 echo "configure:2924: checking for $ac_word" >&5 d3074 1 a3074 1 echo "configure:2960: checking for $ac_word" >&5 d3107 36 d3146 1 a3146 1 echo "configure:2996: checking for $ac_word" >&5 d3182 1 a3182 1 echo "configure:3032: checking for $ac_word" >&5 d3218 1 a3218 1 echo "configure:3068: checking for $ac_word" >&5 d3254 1 a3254 1 echo "configure:3104: checking for $ac_word" >&5 d3290 1 a3290 1 echo "configure:3140: checking for $ac_word" >&5 d3327 1 a3327 1 echo "configure:3177: checking for $ac_word" >&5 d3363 1 a3363 1 echo "configure:3213: checking for $ac_word" >&5 d3399 1 a3399 1 echo "configure:3249: checking for $ac_word" >&5 d3435 1 a3435 1 echo "configure:3285: checking for $ac_word" >&5 d3471 1 a3471 1 echo "configure:3321: checking for $ac_word" >&5 d3527 1 a3527 1 echo "configure:3377: checking for $dir/lib in LIBS" >&5 d3536 1 a3536 1 echo "configure:3386: checking for $dir/include in INCPATH" >&5 d3546 1 a3546 1 echo "configure:3396: checking for /usr/ucblib in LIBS" >&5 d3562 1 a3562 1 echo "configure:3412: checking if you want experimental rpm-5.0 packages" >&5 a3577 90 echo $ac_n "checking for strcasecmp""... $ac_c" 1>&6 echo "configure:3429: checking for strcasecmp" >&5 if eval "test \"`echo '$''{'ac_cv_func_strcasecmp'+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 strcasecmp(); 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_strcasecmp) || defined (__stub___strcasecmp) choke me #else strcasecmp(); #endif ; return 0; } EOF if { (eval echo configure:3457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_strcasecmp=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_strcasecmp=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'strcasecmp`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for strcasecmp in -lucb""... $ac_c" 1>&6 echo "configure:3476: checking for strcasecmp in -lucb" >&5 ac_lib_var=`echo ucb'_'strcasecmp | 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="-lucb $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 -lc -lucb" USEUCB=y else echo "$ac_t""no" 1>&6 fi fi d3579 1 a3579 1 echo "configure:3519: checking for setreuid" >&5 d3584 1 a3584 1 #line 3524 "configure" d3607 1 a3607 1 if { (eval echo configure:3547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3626 1 a3626 1 echo "configure:3566: checking for setreuid in -lucb" >&5 d3634 1 a3634 1 #line 3574 "configure" d3645 1 a3645 1 if { (eval echo configure:3585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3670 1 a3670 1 echo "configure:3610: checking for rand" >&5 d3675 1 a3675 1 #line 3615 "configure" d3698 1 a3698 1 if { (eval echo configure:3638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3717 1 a3717 1 echo "configure:3657: checking for rand in -lrand" >&5 d3725 1 a3725 1 #line 3665 "configure" d3736 1 a3736 1 if { (eval echo configure:3676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3761 1 a3761 1 echo "configure:3701: checking for getdomainname" >&5 d3766 1 a3766 1 #line 3706 "configure" d3789 1 a3789 1 if { (eval echo configure:3729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3808 1 a3808 1 echo "configure:3748: checking for getdomainname in -lnsl" >&5 d3816 1 a3816 1 #line 3756 "configure" d3827 1 a3827 1 if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3851 1 a3851 1 echo "configure:3791: checking for socket" >&5 d3856 1 a3856 1 #line 3796 "configure" d3879 1 a3879 1 if { (eval echo configure:3819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3898 1 a3898 1 echo "configure:3838: checking for socket in -lsocket" >&5 d3906 1 a3906 1 #line 3846 "configure" d3917 1 a3917 1 if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3942 1 a3942 1 echo "configure:3882: checking for fchmod" >&5 d3947 1 a3947 1 #line 3887 "configure" d3970 1 a3970 1 if { (eval echo configure:3910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3991 1 a3991 1 echo "configure:3931: checking for writev in -lport" >&5 d3999 1 a3999 1 #line 3939 "configure" d4010 1 a4010 1 if { (eval echo configure:3950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4038 43 a4080 1 DBLIBOBJS="" a4083 1 PTHREAD="" d4085 1 a4085 1 echo "configure:3984: checking for db_create" >&5 d4090 1 a4090 1 #line 3989 "configure" d4113 1 a4113 1 if { (eval echo configure:4012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4127 1 a4127 1 DBLIBOBJS="$DBLIBOBJS db3.c" d4131 1 a4131 1 echo "configure:4030: checking for db_create in -ldb-3.1" >&5 d4137 1 a4137 1 LIBS="-ldb-3.1 $LIBS" d4139 1 a4139 1 #line 4038 "configure" d4150 1 a4150 1 if { (eval echo configure:4049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4165 1 a4165 1 LIBS="$LIBS $PTHREAD"; DBLIBOBJS="$DBLIBOBJS db3.c" ; libdb3="-ldb-3.1" d4169 1 a4169 1 echo "configure:4068: checking for db_create in -ldb-3.0" >&5 d4175 1 a4175 1 LIBS="-ldb-3.0 $LIBS" d4177 1 a4177 1 #line 4076 "configure" d4188 1 a4188 1 if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4203 1 a4203 1 LIBS="$LIBS $PTHREAD"; DBLIBOBJS="$DBLIBOBJS db3.c"; libdb3="-ldb-3.0" d4207 1 a4207 1 echo "configure:4106: checking for db_create in -ldb" >&5 d4213 1 a4213 1 LIBS="-ldb $PTHREAD $LIBS" d4215 1 a4215 1 #line 4114 "configure" d4226 1 a4226 1 if { (eval echo configure:4125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4241 1 a4241 1 LIBS="$LIBS $PTHREAD"; DBLIBOBJS="$DBLIBOBJS db3.c"; libdb3="-ldb" d4246 1 d4249 1 d4256 1 d4258 1 a4258 1 echo "configure:4154: checking for dbopen" >&5 d4263 1 a4263 1 #line 4159 "configure" d4286 1 a4286 1 if { (eval echo configure:4182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4300 1 a4300 1 DBLIBOBJS="$DBLIBOBJS db3.c" d4304 1 a4304 1 echo "configure:4200: checking for dbopen in -ldb1" >&5 d4312 1 a4312 1 #line 4208 "configure" d4323 1 a4323 1 if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4338 1 a4338 1 DBLIBOBJS="$DBLIBOBJS db1.c falloc.c" ; libdb1="-ldb1" d4342 1 a4342 1 echo "configure:4238: checking for dbopen in -ldb" >&5 d4350 1 a4350 1 #line 4246 "configure" d4361 1 a4361 1 if { (eval echo configure:4257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4376 1 a4376 1 LIBS="$LIBS $PTHREAD"; DBLIBOBJS="$DBLIBOBJS db1.c falloc.c" ; libdb1="-ldb" d4381 1 d4384 1 d4388 1 a4388 1 if test X"$DBLIBOBJS" = X; then d4392 33 d4430 1 a4430 1 for dbi in $DBLIBOBJS; do d4448 1 a4448 1 echo "configure:4309: checking for fork" >&5 d4453 1 a4453 1 #line 4314 "configure" d4476 1 a4476 1 if { (eval echo configure:4337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4508 1 a4508 1 echo "configure:4369: checking for gzread in -l${zlib}" >&5 d4516 1 a4516 1 #line 4377 "configure" d4527 1 a4527 1 if { (eval echo configure:4388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4554 1 a4554 1 echo "configure:4415: checking for gzseek in -l${zlib}" >&5 d4562 1 a4562 1 #line 4423 "configure" d4573 1 a4573 1 if { (eval echo configure:4434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4598 1 a4598 1 echo "configure:4459: checking for bzread in -lbz2" >&5 d4606 1 a4606 1 #line 4467 "configure" d4617 1 a4617 1 if { (eval echo configure:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4636 1 a4636 1 echo "configure:4497: checking for BZ2_bzread in -lbz2" >&5 d4644 1 a4644 1 #line 4505 "configure" d4655 1 a4655 1 if { (eval echo configure:4516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4671 1 d4679 1 a4679 1 echo "configure: warning: rpm needs libbz2.a (from the bzip2 package)" 1>&2 d4685 1 d4689 1 a4689 1 echo "configure:4548: checking for $ac_func" >&5 d4694 1 a4694 1 #line 4553 "configure" d4717 1 a4717 1 if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4743 1 a4743 1 echo "configure:4602: checking for error_at_line" >&5 d4748 1 a4748 1 #line 4607 "configure" d4755 1 a4755 1 if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4775 1 a4775 1 echo "configure:4634: checking for working const" >&5 d4780 1 a4780 1 #line 4639 "configure" d4829 1 a4829 1 if { (eval echo configure:4688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4850 1 a4850 1 echo "configure:4709: checking for inline" >&5 d4857 1 a4857 1 #line 4716 "configure" d4864 1 a4864 1 if { (eval echo configure:4723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4890 1 a4890 1 echo "configure:4749: checking for off_t" >&5 d4895 1 a4895 1 #line 4754 "configure" d4923 1 a4923 1 echo "configure:4782: checking for size_t" >&5 d4928 1 a4928 1 #line 4787 "configure" d4958 1 a4958 1 echo "configure:4817: checking for working alloca.h" >&5 d4963 1 a4963 1 #line 4822 "configure" d4970 1 a4970 1 if { (eval echo configure:4829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4991 1 a4991 1 echo "configure:4850: checking for alloca" >&5 d4996 1 a4996 1 #line 4855 "configure" d5024 1 a5024 1 if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5056 1 a5056 1 echo "configure:4915: checking whether alloca needs Cray hooks" >&5 d5061 1 a5061 1 #line 4920 "configure" d5086 1 a5086 1 echo "configure:4945: checking for $ac_func" >&5 d5091 1 a5091 1 #line 4950 "configure" d5114 1 a5114 1 if { (eval echo configure:4973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5141 1 a5141 1 echo "configure:5000: checking stack direction for C alloca" >&5 d5149 1 a5149 1 #line 5008 "configure" d5168 1 a5168 1 if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5193 1 a5193 1 echo "configure:5052: checking for $ac_hdr" >&5 d5198 1 a5198 1 #line 5057 "configure" d5203 1 a5203 1 { (eval echo configure:5062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5232 1 a5232 1 echo "configure:5091: checking for $ac_func" >&5 d5237 1 a5237 1 #line 5096 "configure" d5260 1 a5260 1 if { (eval echo configure:5119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5285 1 a5285 1 echo "configure:5144: checking for working mmap" >&5 d5293 1 a5293 1 #line 5152 "configure" d5433 1 a5433 1 if { (eval echo configure:5292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5461 1 a5461 1 echo "configure:5320: checking for $ac_hdr" >&5 d5466 1 a5466 1 #line 5325 "configure" d5471 1 a5471 1 { (eval echo configure:5330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5501 1 a5501 1 echo "configure:5360: checking for $ac_func" >&5 d5506 1 a5506 1 #line 5365 "configure" d5529 1 a5529 1 if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5558 1 a5558 1 echo "configure:5417: checking for $ac_func" >&5 d5563 1 a5563 1 #line 5422 "configure" d5586 1 a5586 1 if { (eval echo configure:5445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5620 1 a5620 1 echo "configure:5479: checking for LC_MESSAGES" >&5 d5625 1 a5625 1 #line 5484 "configure" d5632 1 a5632 1 if { (eval echo configure:5491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5653 1 a5653 1 echo "configure:5512: checking whether NLS is requested" >&5 d5673 1 a5673 1 echo "configure:5532: checking whether included gettext is requested" >&5 d5692 1 a5692 1 echo "configure:5551: checking for libintl.h" >&5 d5697 1 a5697 1 #line 5556 "configure" d5702 1 a5702 1 { (eval echo configure:5561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5719 1 a5719 1 echo "configure:5578: checking for gettext in libc" >&5 d5724 1 a5724 1 #line 5583 "configure" d5731 1 a5731 1 if { (eval echo configure:5590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5747 1 a5747 1 echo "configure:5606: checking for bindtextdomain in -lintl" >&5 d5755 1 a5755 1 #line 5614 "configure" d5766 1 a5766 1 if { (eval echo configure:5625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5782 1 a5782 1 echo "configure:5641: checking for gettext in libintl" >&5 d5787 1 a5787 1 echo "configure:5646: checking for gettext in -lintl" >&5 d5795 1 a5795 1 #line 5654 "configure" d5806 1 a5806 1 if { (eval echo configure:5665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5845 1 a5845 1 echo "configure:5704: checking for $ac_word" >&5 d5879 1 a5879 1 echo "configure:5738: checking for $ac_func" >&5 d5884 1 a5884 1 #line 5743 "configure" d5907 1 a5907 1 if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5934 1 a5934 1 echo "configure:5793: checking for $ac_word" >&5 d5970 1 a5970 1 echo "configure:5829: checking for $ac_word" >&5 d6002 1 a6002 1 #line 5861 "configure" d6010 1 a6010 1 if { (eval echo configure:5869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6033 1 a6033 1 echo "configure:5892: checking whether catgets can be used" >&5 d6046 1 a6046 1 echo "configure:5905: checking for main in -li" >&5 d6054 1 a6054 1 #line 5913 "configure" d6061 1 a6061 1 if { (eval echo configure:5920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6089 1 a6089 1 echo "configure:5948: checking for catgets" >&5 d6094 1 a6094 1 #line 5953 "configure" d6117 1 a6117 1 if { (eval echo configure:5976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6139 1 a6139 1 echo "configure:5998: checking for $ac_word" >&5 d6175 1 a6175 1 echo "configure:6034: checking for $ac_word" >&5 d6212 1 a6212 1 echo "configure:6071: checking for $ac_word" >&5 d6247 1 a6247 1 echo "configure:6106: checking for $ac_word" >&5 d6305 1 a6305 1 echo "configure:6164: checking for $ac_word" >&5 d6339 1 a6339 1 echo "configure:6198: checking for $ac_word" >&5 d6375 1 a6375 1 echo "configure:6234: checking for $ac_word" >&5 d6468 1 a6468 1 echo "configure:6327: checking for catalogs to be installed" >&5 d6496 1 a6496 1 echo "configure:6355: checking for linux/version.h" >&5 d6501 1 a6501 1 #line 6360 "configure" d6506 1 a6506 1 { (eval echo configure:6365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6575 1 a6575 1 echo "configure:6434: checking for ANSI C header files" >&5 d6580 1 a6580 1 #line 6439 "configure" d6588 1 a6588 1 { (eval echo configure:6447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6605 1 a6605 1 #line 6464 "configure" d6623 1 a6623 1 #line 6482 "configure" d6644 1 a6644 1 #line 6503 "configure" d6655 1 a6655 1 if { (eval echo configure:6514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6679 1 a6679 1 echo "configure:6538: checking whether sys/types.h defines makedev" >&5 d6684 1 a6684 1 #line 6543 "configure" d6691 1 a6691 1 if { (eval echo configure:6550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6709 1 a6709 1 echo "configure:6568: checking for sys/mkdev.h" >&5 d6714 1 a6714 1 #line 6573 "configure" d6719 1 a6719 1 { (eval echo configure:6578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6747 1 a6747 1 echo "configure:6606: checking for sys/sysmacros.h" >&5 d6752 1 a6752 1 #line 6611 "configure" d6757 1 a6757 1 { (eval echo configure:6616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6789 1 a6789 1 echo "configure:6648: checking for $ac_hdr that defines DIR" >&5 d6794 1 a6794 1 #line 6653 "configure" d6802 1 a6802 1 if { (eval echo configure:6661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6827 1 a6827 1 echo "configure:6686: checking for opendir in -ldir" >&5 d6835 1 a6835 1 #line 6694 "configure" d6846 1 a6846 1 if { (eval echo configure:6705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6868 1 a6868 1 echo "configure:6727: checking for opendir in -lx" >&5 d6876 1 a6876 1 #line 6735 "configure" d6887 1 a6887 1 if { (eval echo configure:6746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6910 1 a6910 1 echo "configure:6769: checking whether time.h and sys/time.h may both be included" >&5 d6915 1 a6915 1 #line 6774 "configure" d6924 1 a6924 1 if { (eval echo configure:6783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6949 1 a6949 1 echo "configure:6808: checking for $ac_hdr" >&5 d6954 1 a6954 1 #line 6813 "configure" d6959 1 a6959 1 { (eval echo configure:6818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6989 1 a6989 1 echo "configure:6848: checking for $ac_hdr" >&5 d6994 1 a6994 1 #line 6853 "configure" d6999 1 a6999 1 { (eval echo configure:6858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7030 1 a7030 1 echo "configure:6889: checking for $ac_hdr" >&5 d7035 1 a7035 1 #line 6894 "configure" d7040 1 a7040 1 { (eval echo configure:6899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7070 1 a7070 1 echo "configure:6929: checking for $ac_hdr" >&5 d7075 1 a7075 1 #line 6934 "configure" d7080 1 a7080 1 { (eval echo configure:6939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7110 1 a7110 1 echo "configure:6969: checking for $ac_hdr" >&5 d7115 1 a7115 1 #line 6974 "configure" d7120 1 a7120 1 { (eval echo configure:6979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7151 1 a7151 1 echo "configure:7010: checking for $ac_hdr" >&5 d7156 1 a7156 1 #line 7015 "configure" d7161 1 a7161 1 { (eval echo configure:7020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7191 1 a7191 1 echo "configure:7050: checking for $ac_hdr" >&5 d7196 1 a7196 1 #line 7055 "configure" d7201 1 a7201 1 { (eval echo configure:7060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7231 1 a7231 1 echo "configure:7090: checking for $ac_hdr" >&5 d7236 1 a7236 1 #line 7095 "configure" d7241 1 a7241 1 { (eval echo configure:7100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7271 1 a7271 1 echo "configure:7130: checking for $ac_hdr" >&5 d7276 1 a7276 1 #line 7135 "configure" d7281 1 a7281 1 { (eval echo configure:7140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7311 1 a7311 1 echo "configure:7170: checking for $ac_hdr" >&5 d7316 1 a7316 1 #line 7175 "configure" d7321 1 a7321 1 { (eval echo configure:7180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7351 1 a7351 1 echo "configure:7210: checking for $ac_hdr" >&5 d7356 1 a7356 1 #line 7215 "configure" d7361 42 a7402 1 { (eval echo configure:7220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7443 1 a7443 1 echo "configure:7261: checking for $ac_hdr" >&5 d7448 1 a7448 1 #line 7266 "configure" d7453 1 a7453 1 { (eval echo configure:7271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7481 1 a7481 1 echo "configure:7299: checking for struct statfs" >&5 d7486 1 a7486 1 #line 7304 "configure" d7497 1 a7497 1 if { (eval echo configure:7315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7514 1 a7514 1 #line 7332 "configure" d7525 1 a7525 1 if { (eval echo configure:7343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7542 1 a7542 1 #line 7360 "configure" d7556 1 a7556 1 if { (eval echo configure:7374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7573 1 a7573 1 #line 7391 "configure" d7584 1 a7584 1 if { (eval echo configure:7402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7605 1 a7605 1 echo "configure:7423: checking for f_bavail member in struct statfs" >&5 d7607 1 a7607 1 #line 7425 "configure" d7631 1 a7631 1 if { (eval echo configure:7449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7650 1 a7650 1 echo "configure:7468: checking if statfs() requires 4 arguments" >&5 d7656 1 a7656 1 #line 7474 "configure" d7675 1 a7675 1 if { (eval echo configure:7493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7694 1 a7694 1 echo "configure:7512: checking for inline" >&5 d7701 1 a7701 1 #line 7519 "configure" d7708 1 a7708 1 if { (eval echo configure:7526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7736 1 a7736 1 echo "configure:7554: checking if defines h_errno" >&5 d7738 1 a7738 1 #line 7556 "configure" d7745 1 a7745 1 if { (eval echo configure:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7762 1 a7762 1 echo "configure:7580: checking if defines S_IFSOCK" >&5 d7764 1 a7764 1 #line 7582 "configure" d7771 1 a7771 1 if { (eval echo configure:7589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7790 1 a7790 1 echo "configure:7608: checking if defines S_ISLNK" >&5 d7792 1 a7792 1 #line 7610 "configure" d7799 1 a7799 1 if { (eval echo configure:7617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7818 1 a7818 1 echo "configure:7636: checking if defines S_ISSOCK" >&5 d7820 1 a7820 1 #line 7638 "configure" d7827 1 a7827 1 if { (eval echo configure:7645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7846 1 a7846 1 echo "configure:7664: checking if timezone is defined" >&5 d7848 1 a7848 1 #line 7666 "configure" d7855 1 a7855 1 if { (eval echo configure:7673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7868 1 a7868 1 echo "configure:7686: checking for mode_t" >&5 d7873 1 a7873 1 #line 7691 "configure" d7901 1 a7901 1 echo "configure:7719: checking for pid_t" >&5 d7906 1 a7906 1 #line 7724 "configure" d7937 1 a7937 1 echo "configure:7755: checking for working alloca.h" >&5 d7942 1 a7942 1 #line 7760 "configure" d7949 1 a7949 1 if { (eval echo configure:7767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7970 1 a7970 1 echo "configure:7788: checking for alloca" >&5 d7975 1 a7975 1 #line 7793 "configure" d8003 1 a8003 1 if { (eval echo configure:7821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8035 1 a8035 1 echo "configure:7853: checking whether alloca needs Cray hooks" >&5 d8040 1 a8040 1 #line 7858 "configure" d8065 1 a8065 1 echo "configure:7883: checking for $ac_func" >&5 d8070 1 a8070 1 #line 7888 "configure" d8093 1 a8093 1 if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8120 1 a8120 1 echo "configure:7938: checking stack direction for C alloca" >&5 d8128 1 a8128 1 #line 7946 "configure" d8147 1 a8147 1 if { (eval echo configure:7965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8169 1 a8169 1 echo "configure:7987: checking for vprintf" >&5 d8174 1 a8174 1 #line 7992 "configure" d8197 1 a8197 1 if { (eval echo configure:8015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8221 1 a8221 1 echo "configure:8039: checking for _doprnt" >&5 d8226 1 a8226 1 #line 8044 "configure" d8249 1 a8249 1 if { (eval echo configure:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8275 1 a8275 1 echo "configure:8093: checking for working fnmatch" >&5 d8286 1 a8286 1 #line 8104 "configure" d8290 1 a8290 1 if { (eval echo configure:8108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8324 1 a8324 1 echo "configure:8142: checking for $ac_func" >&5 d8329 1 a8329 1 #line 8147 "configure" d8352 1 a8352 1 if { (eval echo configure:8170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8376 1 a8376 1 for ac_func in stpcpy stpncpy strcasecmp strncasecmp strcspn d8379 1 a8379 1 echo "configure:8197: checking for $ac_func" >&5 d8384 1 a8384 1 #line 8202 "configure" d8407 1 a8407 1 if { (eval echo configure:8225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8434 1 a8434 1 echo "configure:8252: checking for $ac_func" >&5 d8439 1 a8439 1 #line 8257 "configure" d8462 1 a8462 1 if { (eval echo configure:8280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8490 1 a8490 1 echo "configure:8308: checking for $ac_func" >&5 d8495 1 a8495 1 #line 8313 "configure" d8518 1 a8518 1 if { (eval echo configure:8336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8552 1 a8552 1 echo "configure:8370: checking for $ac_func" >&5 d8557 1 a8557 1 #line 8375 "configure" d8580 1 a8580 1 if { (eval echo configure:8398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8610 1 a8610 1 echo "configure:8428: checking for GNU extensions to glob" >&5 d8618 1 a8618 1 #line 8436 "configure" d8630 1 a8630 1 if { (eval echo configure:8448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8658 122 d8783 1 a8783 1 echo "configure:8479: checking for $ac_func" >&5 d8788 1 a8788 1 #line 8484 "configure" d8811 1 a8811 1 if { (eval echo configure:8507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8839 1 a8839 1 echo "configure:8535: checking for $ac_func" >&5 d8844 1 a8844 1 #line 8540 "configure" d8867 1 a8867 1 if { (eval echo configure:8563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8893 1 a8893 1 echo "configure:8589: checking for getmntent" >&5 d8898 1 a8898 1 #line 8594 "configure" d8921 1 a8921 1 if { (eval echo configure:8617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8943 1 a8943 1 echo "configure:8639: checking for mntctl" >&5 d8948 1 a8948 1 #line 8644 "configure" d8971 1 a8971 1 if { (eval echo configure:8667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8993 1 a8993 1 echo "configure:8689: checking for getmntinfo_r" >&5 d8998 1 a8998 1 #line 8694 "configure" d9021 1 a9021 1 if { (eval echo configure:8717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9043 1 a9043 1 echo "configure:8739: checking for getmntinfo_r in -lc_r" >&5 d9051 1 a9051 1 #line 8747 "configure" d9062 1 a9062 1 if { (eval echo configure:8758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9095 1 a9095 1 echo "configure:8791: checking for lchown" >&5 d9100 1 a9100 1 #line 8796 "configure" d9123 1 a9123 1 if { (eval echo configure:8819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9148 1 a9148 1 echo "configure:8844: checking whether chown() follows symlinks" >&5 d9176 1 a9176 1 echo "configure:8872: checking (cannot check by non-root user)" >&5 d9194 1 a9194 1 echo "configure:8890: checking root's primary group" >&5 d9200 1 a9200 1 #line 8896 "configure" d9229 1 a9229 1 if { (eval echo configure:8925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d9340 1 a9340 2 i386|i486|i586|i686|ix86) RPMCANONARCH=i386 ;; ia64*) RPMCANONARCH=ia64 ;; d9343 2 d9356 5 a9360 3 unknown|pc|redhat|pld) test -f /etc/redhat-release && RPMCANONVENDOR=redhat test -f /etc/pld-release && RPMCANONVENDOR=pld d9393 1 d9400 8 d9414 1 a9432 6 MACROFILES="${RPMCONFIGDIR}/macros" cat >> confdefs.h < RPM 3.0.6 @ text @d806 1 a806 1 VERSION=3.0.6 d894 1 a894 1 ALL_LINGUAS="cs de fi fr ja pl pt_BR ru sk sl sr sv tr" d3977 175 d4153 1 a4153 1 echo "configure:3979: checking for dbopen" >&5 d4158 1 a4158 1 #line 3984 "configure" d4181 1 a4181 1 if { (eval echo configure:4007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4195 1 a4195 1 : d4199 1 a4199 1 echo "configure:4025: checking for dbopen in -ldb1" >&5 d4207 1 a4207 1 #line 4033 "configure" d4218 1 a4218 1 if { (eval echo configure:4044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4233 1 a4233 1 LIBS="$LIBS -ldb1" d4237 1 a4237 1 echo "configure:4063: checking for dbopen in -ldb" >&5 d4245 1 a4245 1 #line 4071 "configure" d4256 1 a4256 1 if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4271 1 a4271 1 LIBS="$LIBS -ldb" a4273 1 { echo "configure: error: sorry rpm requires a db-1.85 API" 1>&2; exit 1; } a4277 1 d4281 26 d4308 1 a4308 1 echo "configure:4110: checking for fork" >&5 d4313 1 a4313 1 #line 4115 "configure" d4336 1 a4336 1 if { (eval echo configure:4138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4368 1 a4368 1 echo "configure:4170: checking for gzread in -l${zlib}" >&5 d4376 1 a4376 1 #line 4178 "configure" d4387 1 a4387 1 if { (eval echo configure:4189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4414 1 a4414 1 echo "configure:4216: checking for gzseek in -l${zlib}" >&5 d4422 1 a4422 1 #line 4224 "configure" d4433 1 a4433 1 if { (eval echo configure:4235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4458 1 a4458 1 echo "configure:4260: checking for bzread in -lbz2" >&5 d4466 1 a4466 1 #line 4268 "configure" d4477 1 a4477 1 if { (eval echo configure:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4496 1 a4496 1 echo "configure:4298: checking for BZ2_bzread in -lbz2" >&5 d4504 1 a4504 1 #line 4306 "configure" d4515 1 a4515 1 if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4547 1 a4547 1 echo "configure:4349: checking for $ac_func" >&5 d4552 1 a4552 1 #line 4354 "configure" d4575 1 a4575 1 if { (eval echo configure:4377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4601 1 a4601 1 echo "configure:4403: checking for error_at_line" >&5 d4606 1 a4606 1 #line 4408 "configure" d4613 1 a4613 1 if { (eval echo configure:4415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4633 1 a4633 1 echo "configure:4435: checking for working const" >&5 d4638 1 a4638 1 #line 4440 "configure" d4687 1 a4687 1 if { (eval echo configure:4489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4708 1 a4708 1 echo "configure:4510: checking for inline" >&5 d4715 1 a4715 1 #line 4517 "configure" d4722 1 a4722 1 if { (eval echo configure:4524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4748 1 a4748 1 echo "configure:4550: checking for off_t" >&5 d4753 1 a4753 1 #line 4555 "configure" d4781 1 a4781 1 echo "configure:4583: checking for size_t" >&5 d4786 1 a4786 1 #line 4588 "configure" d4816 1 a4816 1 echo "configure:4618: checking for working alloca.h" >&5 d4821 1 a4821 1 #line 4623 "configure" d4828 1 a4828 1 if { (eval echo configure:4630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4849 1 a4849 1 echo "configure:4651: checking for alloca" >&5 d4854 1 a4854 1 #line 4656 "configure" d4882 1 a4882 1 if { (eval echo configure:4684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4914 1 a4914 1 echo "configure:4716: checking whether alloca needs Cray hooks" >&5 d4919 1 a4919 1 #line 4721 "configure" d4944 1 a4944 1 echo "configure:4746: checking for $ac_func" >&5 d4949 1 a4949 1 #line 4751 "configure" d4972 1 a4972 1 if { (eval echo configure:4774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4999 1 a4999 1 echo "configure:4801: checking stack direction for C alloca" >&5 d5007 1 a5007 1 #line 4809 "configure" d5026 1 a5026 1 if { (eval echo configure:4828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5051 1 a5051 1 echo "configure:4853: checking for $ac_hdr" >&5 d5056 1 a5056 1 #line 4858 "configure" d5061 1 a5061 1 { (eval echo configure:4863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5090 1 a5090 1 echo "configure:4892: checking for $ac_func" >&5 d5095 1 a5095 1 #line 4897 "configure" d5118 1 a5118 1 if { (eval echo configure:4920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5143 1 a5143 1 echo "configure:4945: checking for working mmap" >&5 d5151 1 a5151 1 #line 4953 "configure" d5291 1 a5291 1 if { (eval echo configure:5093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5319 1 a5319 1 echo "configure:5121: checking for $ac_hdr" >&5 d5324 1 a5324 1 #line 5126 "configure" d5329 1 a5329 1 { (eval echo configure:5131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5359 1 a5359 1 echo "configure:5161: checking for $ac_func" >&5 d5364 1 a5364 1 #line 5166 "configure" d5387 1 a5387 1 if { (eval echo configure:5189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5416 1 a5416 1 echo "configure:5218: checking for $ac_func" >&5 d5421 1 a5421 1 #line 5223 "configure" d5444 1 a5444 1 if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5478 1 a5478 1 echo "configure:5280: checking for LC_MESSAGES" >&5 d5483 1 a5483 1 #line 5285 "configure" d5490 1 a5490 1 if { (eval echo configure:5292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5511 1 a5511 1 echo "configure:5313: checking whether NLS is requested" >&5 d5531 1 a5531 1 echo "configure:5333: checking whether included gettext is requested" >&5 d5550 1 a5550 1 echo "configure:5352: checking for libintl.h" >&5 d5555 1 a5555 1 #line 5357 "configure" d5560 1 a5560 1 { (eval echo configure:5362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5577 1 a5577 1 echo "configure:5379: checking for gettext in libc" >&5 d5582 1 a5582 1 #line 5384 "configure" d5589 1 a5589 1 if { (eval echo configure:5391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5605 1 a5605 1 echo "configure:5407: checking for bindtextdomain in -lintl" >&5 d5613 1 a5613 1 #line 5415 "configure" d5624 1 a5624 1 if { (eval echo configure:5426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5640 1 a5640 1 echo "configure:5442: checking for gettext in libintl" >&5 d5645 1 a5645 1 echo "configure:5447: checking for gettext in -lintl" >&5 d5653 1 a5653 1 #line 5455 "configure" d5664 1 a5664 1 if { (eval echo configure:5466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5703 1 a5703 1 echo "configure:5505: checking for $ac_word" >&5 d5737 1 a5737 1 echo "configure:5539: checking for $ac_func" >&5 d5742 1 a5742 1 #line 5544 "configure" d5765 1 a5765 1 if { (eval echo configure:5567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5792 1 a5792 1 echo "configure:5594: checking for $ac_word" >&5 d5828 1 a5828 1 echo "configure:5630: checking for $ac_word" >&5 d5860 1 a5860 1 #line 5662 "configure" d5868 1 a5868 1 if { (eval echo configure:5670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5891 1 a5891 1 echo "configure:5693: checking whether catgets can be used" >&5 d5904 1 a5904 1 echo "configure:5706: checking for main in -li" >&5 d5912 1 a5912 1 #line 5714 "configure" d5919 1 a5919 1 if { (eval echo configure:5721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5947 1 a5947 1 echo "configure:5749: checking for catgets" >&5 d5952 1 a5952 1 #line 5754 "configure" d5975 1 a5975 1 if { (eval echo configure:5777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5997 1 a5997 1 echo "configure:5799: checking for $ac_word" >&5 d6033 1 a6033 1 echo "configure:5835: checking for $ac_word" >&5 d6070 1 a6070 1 echo "configure:5872: checking for $ac_word" >&5 d6105 1 a6105 1 echo "configure:5907: checking for $ac_word" >&5 d6163 1 a6163 1 echo "configure:5965: checking for $ac_word" >&5 d6197 1 a6197 1 echo "configure:5999: checking for $ac_word" >&5 d6233 1 a6233 1 echo "configure:6035: checking for $ac_word" >&5 d6326 1 a6326 1 echo "configure:6128: checking for catalogs to be installed" >&5 d6354 1 a6354 1 echo "configure:6156: checking for linux/version.h" >&5 d6359 1 a6359 1 #line 6161 "configure" d6364 1 a6364 1 { (eval echo configure:6166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6433 1 a6433 1 echo "configure:6235: checking for ANSI C header files" >&5 d6438 1 a6438 1 #line 6240 "configure" d6446 1 a6446 1 { (eval echo configure:6248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6463 1 a6463 1 #line 6265 "configure" d6481 1 a6481 1 #line 6283 "configure" d6502 1 a6502 1 #line 6304 "configure" d6513 1 a6513 1 if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6537 1 a6537 1 echo "configure:6339: checking whether sys/types.h defines makedev" >&5 d6542 1 a6542 1 #line 6344 "configure" d6549 1 a6549 1 if { (eval echo configure:6351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6567 1 a6567 1 echo "configure:6369: checking for sys/mkdev.h" >&5 d6572 1 a6572 1 #line 6374 "configure" d6577 1 a6577 1 { (eval echo configure:6379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6605 1 a6605 1 echo "configure:6407: checking for sys/sysmacros.h" >&5 d6610 1 a6610 1 #line 6412 "configure" d6615 1 a6615 1 { (eval echo configure:6417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6647 1 a6647 1 echo "configure:6449: checking for $ac_hdr that defines DIR" >&5 d6652 1 a6652 1 #line 6454 "configure" d6660 1 a6660 1 if { (eval echo configure:6462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6685 1 a6685 1 echo "configure:6487: checking for opendir in -ldir" >&5 d6693 1 a6693 1 #line 6495 "configure" d6704 1 a6704 1 if { (eval echo configure:6506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6726 1 a6726 1 echo "configure:6528: checking for opendir in -lx" >&5 d6734 1 a6734 1 #line 6536 "configure" d6745 1 a6745 1 if { (eval echo configure:6547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6768 1 a6768 1 echo "configure:6570: checking whether time.h and sys/time.h may both be included" >&5 d6773 1 a6773 1 #line 6575 "configure" d6782 1 a6782 1 if { (eval echo configure:6584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6803 1 a6803 1 for ac_hdr in db_185.h db1/db.h d6807 1 a6807 1 echo "configure:6609: checking for $ac_hdr" >&5 d6812 1 a6812 1 #line 6614 "configure" d6817 1 a6817 1 { (eval echo configure:6619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6847 1 a6847 1 echo "configure:6649: checking for $ac_hdr" >&5 d6852 1 a6852 1 #line 6654 "configure" d6857 1 a6857 1 { (eval echo configure:6659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6888 1 a6888 1 echo "configure:6690: checking for $ac_hdr" >&5 d6893 1 a6893 1 #line 6695 "configure" d6898 1 a6898 1 { (eval echo configure:6700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6928 1 a6928 1 echo "configure:6730: checking for $ac_hdr" >&5 d6933 1 a6933 1 #line 6735 "configure" d6938 1 a6938 1 { (eval echo configure:6740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6968 1 a6968 1 echo "configure:6770: checking for $ac_hdr" >&5 d6973 1 a6973 1 #line 6775 "configure" d6978 1 a6978 1 { (eval echo configure:6780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7009 1 a7009 1 echo "configure:6811: checking for $ac_hdr" >&5 d7014 1 a7014 1 #line 6816 "configure" d7019 1 a7019 1 { (eval echo configure:6821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7049 1 a7049 1 echo "configure:6851: checking for $ac_hdr" >&5 d7054 1 a7054 1 #line 6856 "configure" d7059 1 a7059 1 { (eval echo configure:6861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7089 1 a7089 1 echo "configure:6891: checking for $ac_hdr" >&5 d7094 1 a7094 1 #line 6896 "configure" d7099 1 a7099 1 { (eval echo configure:6901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7125 1 a7125 1 for ac_hdr in sys/mount.h sys/mntctl.h sys/vmount.h d7129 1 a7129 1 echo "configure:6931: checking for $ac_hdr" >&5 d7134 1 a7134 1 #line 6936 "configure" d7139 1 a7139 1 { (eval echo configure:6941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7169 1 a7169 1 echo "configure:6971: checking for $ac_hdr" >&5 d7174 1 a7174 1 #line 6976 "configure" d7179 1 a7179 1 { (eval echo configure:6981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7209 1 a7209 1 echo "configure:7011: checking for $ac_hdr" >&5 d7214 1 a7214 1 #line 7016 "configure" d7219 1 a7219 1 { (eval echo configure:7021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7260 1 a7260 1 echo "configure:7062: checking for $ac_hdr" >&5 d7265 1 a7265 1 #line 7067 "configure" d7270 1 a7270 1 { (eval echo configure:7072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7298 1 a7298 1 echo "configure:7100: checking for struct statfs" >&5 d7303 1 a7303 1 #line 7105 "configure" d7314 1 a7314 1 if { (eval echo configure:7116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7331 1 a7331 1 #line 7133 "configure" d7342 1 a7342 1 if { (eval echo configure:7144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7359 1 a7359 1 #line 7161 "configure" d7365 3 d7373 1 a7373 1 if { (eval echo configure:7172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7390 1 a7390 1 #line 7189 "configure" d7401 1 a7401 1 if { (eval echo configure:7200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7422 1 a7422 1 echo "configure:7221: checking for f_bavail member in struct statfs" >&5 d7424 1 a7424 1 #line 7223 "configure" d7448 1 a7448 1 if { (eval echo configure:7247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7467 1 a7467 1 echo "configure:7266: checking if statfs() requires 4 arguments" >&5 d7473 1 a7473 1 #line 7272 "configure" d7492 1 a7492 1 if { (eval echo configure:7291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7511 1 a7511 1 echo "configure:7310: checking for inline" >&5 d7518 1 a7518 1 #line 7317 "configure" d7525 1 a7525 1 if { (eval echo configure:7324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7553 1 a7553 1 echo "configure:7352: checking if defines h_errno" >&5 d7555 1 a7555 1 #line 7354 "configure" d7562 1 a7562 1 if { (eval echo configure:7361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7579 1 a7579 1 echo "configure:7378: checking if defines S_IFSOCK" >&5 d7581 1 a7581 1 #line 7380 "configure" d7588 1 a7588 1 if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7607 1 a7607 1 echo "configure:7406: checking if defines S_ISLNK" >&5 d7609 1 a7609 1 #line 7408 "configure" d7616 1 a7616 1 if { (eval echo configure:7415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7635 1 a7635 1 echo "configure:7434: checking if defines S_ISSOCK" >&5 d7637 1 a7637 1 #line 7436 "configure" d7644 1 a7644 1 if { (eval echo configure:7443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7663 1 a7663 1 echo "configure:7462: checking if timezone is defined" >&5 d7665 1 a7665 1 #line 7464 "configure" d7672 1 a7672 1 if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7685 1 a7685 1 echo "configure:7484: checking for mode_t" >&5 d7690 1 a7690 1 #line 7489 "configure" d7718 1 a7718 1 echo "configure:7517: checking for pid_t" >&5 d7723 1 a7723 1 #line 7522 "configure" d7754 1 a7754 1 echo "configure:7553: checking for working alloca.h" >&5 d7759 1 a7759 1 #line 7558 "configure" d7766 1 a7766 1 if { (eval echo configure:7565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7787 1 a7787 1 echo "configure:7586: checking for alloca" >&5 d7792 1 a7792 1 #line 7591 "configure" d7820 1 a7820 1 if { (eval echo configure:7619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7852 1 a7852 1 echo "configure:7651: checking whether alloca needs Cray hooks" >&5 d7857 1 a7857 1 #line 7656 "configure" d7882 1 a7882 1 echo "configure:7681: checking for $ac_func" >&5 d7887 1 a7887 1 #line 7686 "configure" d7910 1 a7910 1 if { (eval echo configure:7709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7937 1 a7937 1 echo "configure:7736: checking stack direction for C alloca" >&5 d7945 1 a7945 1 #line 7744 "configure" d7964 1 a7964 1 if { (eval echo configure:7763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7986 1 a7986 1 echo "configure:7785: checking for vprintf" >&5 d7991 1 a7991 1 #line 7790 "configure" d8014 1 a8014 1 if { (eval echo configure:7813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8038 1 a8038 1 echo "configure:7837: checking for _doprnt" >&5 d8043 1 a8043 1 #line 7842 "configure" d8066 1 a8066 1 if { (eval echo configure:7865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8092 1 a8092 1 echo "configure:7891: checking for working fnmatch" >&5 d8103 1 a8103 1 #line 7902 "configure" d8107 1 a8107 1 if { (eval echo configure:7906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8141 1 a8141 1 echo "configure:7940: checking for $ac_func" >&5 d8146 1 a8146 1 #line 7945 "configure" d8169 1 a8169 1 if { (eval echo configure:7968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8196 1 a8196 1 echo "configure:7995: checking for $ac_func" >&5 d8201 1 a8201 1 #line 8000 "configure" d8224 1 a8224 1 if { (eval echo configure:8023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8251 1 a8251 1 echo "configure:8050: checking for $ac_func" >&5 d8256 1 a8256 1 #line 8055 "configure" d8279 1 a8279 1 if { (eval echo configure:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8307 1 a8307 1 echo "configure:8106: checking for $ac_func" >&5 d8312 1 a8312 1 #line 8111 "configure" d8335 1 a8335 1 if { (eval echo configure:8134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8369 1 a8369 1 echo "configure:8168: checking for $ac_func" >&5 d8374 1 a8374 1 #line 8173 "configure" d8397 1 a8397 1 if { (eval echo configure:8196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8427 1 a8427 1 echo "configure:8226: checking for GNU extensions to glob" >&5 d8435 1 a8435 1 #line 8234 "configure" d8447 1 a8447 1 if { (eval echo configure:8246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8478 1 a8478 1 echo "configure:8277: checking for $ac_func" >&5 d8483 1 a8483 1 #line 8282 "configure" d8506 1 a8506 1 if { (eval echo configure:8305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8534 1 a8534 1 echo "configure:8333: checking for $ac_func" >&5 d8539 1 a8539 1 #line 8338 "configure" d8562 1 a8562 1 if { (eval echo configure:8361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8588 1 a8588 1 echo "configure:8387: checking for getmntent" >&5 d8593 1 a8593 1 #line 8392 "configure" d8616 1 a8616 1 if { (eval echo configure:8415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8638 1 a8638 1 echo "configure:8437: checking for mntctl" >&5 d8643 1 a8643 1 #line 8442 "configure" d8666 1 a8666 1 if { (eval echo configure:8465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8688 1 a8688 1 echo "configure:8487: checking for getmntinfo_r" >&5 d8693 1 a8693 1 #line 8492 "configure" d8716 1 a8716 1 if { (eval echo configure:8515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8738 1 a8738 1 echo "configure:8537: checking for getmntinfo_r in -lc_r" >&5 d8746 1 a8746 1 #line 8545 "configure" d8757 1 a8757 1 if { (eval echo configure:8556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8790 1 a8790 1 echo "configure:8589: checking for lchown" >&5 d8795 1 a8795 1 #line 8594 "configure" d8818 1 a8818 1 if { (eval echo configure:8617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8843 1 a8843 1 echo "configure:8642: checking whether chown() follows symlinks" >&5 d8871 1 a8871 1 echo "configure:8670: checking (cannot check by non-root user)" >&5 d8889 1 a8889 1 echo "configure:8688: checking root's primary group" >&5 d8895 1 a8895 1 #line 8694 "configure" d8924 1 a8924 1 if { (eval echo configure:8723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d9097 1 a9097 1 LIBRPMALIAS_FILENAME="${RPMCONFIGDIR}/rpmpopt" d9245 2 a9246 1 lib/Makefile build/Makefile tools/Makefile scripts/Makefile d9350 4 d9443 2 a9444 1 lib/Makefile build/Makefile tools/Makefile scripts/Makefile @ 1.8 log @Resolve: RPM 3.0.4 -> RPM 3.0.5 @ text @d806 1 a806 1 VERSION=3.0.5 d2352 1 a2352 1 MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/opt/gnu/bin" d3409 1 a3409 1 ### use option --enable-v5-packages to turn on support for rpm-4.x packages d3412 3 a3414 3 # Check whether --enable-v4-packages or --disable-v4-packages was given. if test "${enable_v4_packages+set}" = set; then enableval="$enable_v4_packages" d4293 1 a4293 1 LIBS="$LIBS -lbz2"; break d9047 1 a9047 1 doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile d9240 1 a9240 1 doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile @ 1.7 log @Resolve: RPM 3.0.3 -> RPM 3.0.4 @ text @d25 1 a25 3 --disable-v1-packages[=no] disable support for rpm-1.x packages" ac_help="$ac_help --enable-v4-packages[=no] [experimental] support for rpm-4.x packages" d593 1 a593 1 echo "configure:596: checking host system type" >&5 d614 1 a614 1 echo "configure:617: checking target system type" >&5 d632 1 a632 1 echo "configure:635: checking build system type" >&5 d667 1 a667 1 echo "configure:670: checking for a BSD compatible install" >&5 d720 1 a720 1 echo "configure:723: checking whether build environment is sane" >&5 d777 1 a777 1 echo "configure:780: checking whether ${MAKE-make} sets \${MAKE}" >&5 d806 1 a806 1 VERSION=3.0.4 d823 1 a823 1 echo "configure:826: checking for working aclocal" >&5 d836 1 a836 1 echo "configure:839: checking for working autoconf" >&5 d849 1 a849 1 echo "configure:852: checking for working automake" >&5 d862 1 a862 1 echo "configure:865: checking for working autoheader" >&5 d875 1 a875 1 echo "configure:878: checking for working makeinfo" >&5 d920 1 a920 1 echo "configure:923: checking for $ac_word" >&5 d950 1 a950 1 echo "configure:953: checking for $ac_word" >&5 d1001 1 a1001 1 echo "configure:1004: checking for $ac_word" >&5 d1033 1 a1033 1 echo "configure:1036: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1044 1 a1044 1 #line 1047 "configure" d1049 1 a1049 1 if { (eval echo configure:1052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1075 1 a1075 1 echo "configure:1078: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1080 1 a1080 1 echo "configure:1083: checking whether we are using GNU C" >&5 d1089 1 a1089 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1108 1 a1108 1 echo "configure:1111: checking whether ${CC-cc} accepts -g" >&5 d1144 1 a1144 1 echo "configure:1147: checking how to run the C preprocessor" >&5 d1159 1 a1159 1 #line 1162 "configure" d1165 1 a1165 1 { (eval echo configure:1168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1176 1 a1176 1 #line 1179 "configure" d1182 1 a1182 1 { (eval echo configure:1185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1193 1 a1193 1 #line 1196 "configure" d1199 1 a1199 1 { (eval echo configure:1202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1225 1 a1225 1 echo "configure:1228: checking whether ${CC-cc} needs -traditional" >&5 d1231 1 a1231 1 #line 1234 "configure" d1249 1 a1249 1 #line 1252 "configure" d1282 1 a1282 1 echo "configure:1285: checking for a BSD compatible install" >&5 d1336 1 a1336 1 echo "configure:1339: checking flag used by libtool to link rpm" >&5 d1373 1 a1373 1 echo "configure:1376: checking POSIX chmod" >&5 d1393 1 a1393 1 echo "configure:1396: checking for $ac_word" >&5 d1430 1 a1430 1 echo "configure:1433: checking if $MKDIR supports -p" >&5 d1464 1 a1464 1 echo "configure:1467: checking for AIX" >&5 d1466 1 a1466 1 #line 1469 "configure" d1489 1 a1489 1 echo "configure:1492: checking for minix/config.h" >&5 d1494 1 a1494 1 #line 1497 "configure" d1499 1 a1499 1 { (eval echo configure:1502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1537 1 a1537 1 echo "configure:1540: checking for POSIXized ISC" >&5 d1562 1 a1562 1 echo "configure:1565: checking for ${CC-cc} option to accept ANSI C" >&5 d1578 1 a1578 1 #line 1581 "configure" d1615 1 a1615 1 if { (eval echo configure:1618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1641 1 a1641 1 echo "configure:1644: checking for function prototypes" >&5 d1654 1 a1654 1 echo "configure:1657: checking for ANSI C header files" >&5 d1659 1 a1659 1 #line 1662 "configure" d1667 1 a1667 1 { (eval echo configure:1670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1684 1 a1684 1 #line 1687 "configure" d1702 1 a1702 1 #line 1705 "configure" d1723 1 a1723 1 #line 1726 "configure" d1734 1 a1734 1 if { (eval echo configure:1737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1761 1 a1761 1 echo "configure:1764: checking for $ac_hdr" >&5 d1766 1 a1766 1 #line 1769 "configure" d1771 1 a1771 1 { (eval echo configure:1774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1805 1 a1805 1 echo "configure:1808: checking for $ac_word" >&5 d1835 1 a1835 1 echo "configure:1838: checking whether ln -s works" >&5 d1856 1 a1856 1 echo "configure:1859: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1955 1 a1955 1 echo "configure:1958: checking for $ac_word" >&5 d1994 1 a1994 1 echo "configure:1997: checking for ld used by GCC" >&5 d2018 1 a2018 1 echo "configure:2021: checking for GNU ld" >&5 d2021 1 a2021 1 echo "configure:2024: checking for non-GNU ld" >&5 d2056 1 a2056 1 echo "configure:2059: checking if the linker ($LD) is GNU ld" >&5 d2072 1 a2072 1 echo "configure:2075: checking for BSD-compatible nm" >&5 d2141 2 a2142 2 echo '#line 2144 "configure"' > conftest.$ac_ext if { (eval echo configure:2145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2163 1 a2163 1 echo "configure:2166: checking whether the C compiler needs -belf" >&5 d2168 1 a2168 1 #line 2171 "configure" d2175 1 a2175 1 if { (eval echo configure:2178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2286 1 a2286 1 echo "configure:2289: checking for $ac_word" >&5 d2318 1 a2318 1 echo "configure:2321: checking for $ac_word" >&5 d2357 1 a2357 1 echo "configure:2360: checking for $ac_word" >&5 d2393 1 a2393 1 echo "configure:2396: checking for $ac_word" >&5 d2429 1 a2429 1 echo "configure:2432: checking for $ac_word" >&5 d2465 1 a2465 1 echo "configure:2468: checking for $ac_word" >&5 d2501 1 a2501 1 echo "configure:2504: checking for $ac_word" >&5 d2537 1 a2537 1 echo "configure:2540: checking for $ac_word" >&5 d2573 1 a2573 1 echo "configure:2576: checking for $ac_word" >&5 d2609 1 a2609 1 echo "configure:2612: checking for $ac_word" >&5 d2645 1 a2645 1 echo "configure:2648: checking for $ac_word" >&5 d2682 1 a2682 1 echo "configure:2685: checking for $ac_word" >&5 d2716 1 a2716 1 echo "configure:2719: checking checking whether id supports -u" >&5 d2729 1 a2729 1 echo "configure:2732: checking for $ac_word" >&5 d2765 1 a2765 1 echo "configure:2768: checking for $ac_word" >&5 d2801 1 a2801 1 echo "configure:2804: checking for $ac_word" >&5 d2837 1 a2837 1 echo "configure:2840: checking for $ac_word" >&5 d2873 1 a2873 1 echo "configure:2876: checking for $ac_word" >&5 d2907 1 a2907 1 echo "configure:2910: checking old version of patch" >&5 d2923 1 a2923 1 echo "configure:2926: checking for $ac_word" >&5 d2959 1 a2959 1 echo "configure:2962: checking for $ac_word" >&5 d2995 1 a2995 1 echo "configure:2998: checking for $ac_word" >&5 d3031 1 a3031 1 echo "configure:3034: checking for $ac_word" >&5 d3067 1 a3067 1 echo "configure:3070: checking for $ac_word" >&5 d3103 1 a3103 1 echo "configure:3106: checking for $ac_word" >&5 d3139 1 a3139 1 echo "configure:3142: checking for $ac_word" >&5 d3176 1 a3176 1 echo "configure:3179: checking for $ac_word" >&5 d3212 1 a3212 1 echo "configure:3215: checking for $ac_word" >&5 d3248 1 a3248 1 echo "configure:3251: checking for $ac_word" >&5 d3284 1 a3284 1 echo "configure:3287: checking for $ac_word" >&5 d3320 1 a3320 1 echo "configure:3323: checking for $ac_word" >&5 d3376 1 a3376 1 echo "configure:3379: checking for $dir/lib in LIBS" >&5 d3385 1 a3385 1 echo "configure:3388: checking for $dir/include in INCPATH" >&5 d3395 1 a3395 1 echo "configure:3398: checking for /usr/ucblib in LIBS" >&5 d3409 3 a3411 20 ### use option --disable-v1-packages to turn off support for rpm-1.x packages echo $ac_n "checking if you want support for rpm-1.0 packages""... $ac_c" 1>&6 echo "configure:3414: checking if you want support for rpm-1.0 packages" >&5 # Check whether --enable-v1-packages or --disable-v1-packages was given. if test "${enable_v1_packages+set}" = set; then enableval="$enable_v1_packages" with_v1_packages=$enableval else with_v1_packages=yes fi echo "$ac_t""$with_v1_packages" 1>&6 test "$with_v1_packages" = yes && cat >> confdefs.h <<\EOF #define ENABLE_V1_PACKAGES 1 EOF ### use option --enable-v4-packages to turn on support for rpm-4.x packages echo $ac_n "checking if you want experimental rpm-4.0 packages""... $ac_c" 1>&6 echo "configure:3431: checking if you want experimental rpm-4.0 packages" >&5 d3415 1 a3415 1 with_v4_packages=$enableval d3417 1 a3417 1 with_v4_packages=no d3420 3 a3422 3 echo "$ac_t""$with_v4_packages" 1>&6 test "$with_v4_packages" = yes && cat >> confdefs.h <<\EOF #define ENABLE_V4_PACKAGES 1 d3428 1 a3428 1 echo "configure:3448: checking for strcasecmp" >&5 d3433 1 a3433 1 #line 3453 "configure" d3456 1 a3456 1 if { (eval echo configure:3476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3475 1 a3475 1 echo "configure:3495: checking for strcasecmp in -lucb" >&5 d3483 1 a3483 1 #line 3503 "configure" d3494 1 a3494 1 if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3518 1 a3518 1 echo "configure:3538: checking for setreuid" >&5 d3523 1 a3523 1 #line 3543 "configure" d3546 1 a3546 1 if { (eval echo configure:3566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3565 1 a3565 1 echo "configure:3585: checking for setreuid in -lucb" >&5 d3573 1 a3573 1 #line 3593 "configure" d3584 1 a3584 1 if { (eval echo configure:3604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3609 1 a3609 1 echo "configure:3629: checking for rand" >&5 d3614 1 a3614 1 #line 3634 "configure" d3637 1 a3637 1 if { (eval echo configure:3657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3656 1 a3656 1 echo "configure:3676: checking for rand in -lrand" >&5 d3664 1 a3664 1 #line 3684 "configure" d3675 1 a3675 1 if { (eval echo configure:3695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3700 1 a3700 1 echo "configure:3720: checking for getdomainname" >&5 d3705 1 a3705 1 #line 3725 "configure" d3728 1 a3728 1 if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3747 1 a3747 1 echo "configure:3767: checking for getdomainname in -lnsl" >&5 d3755 1 a3755 1 #line 3775 "configure" d3766 1 a3766 1 if { (eval echo configure:3786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3790 1 a3790 1 echo "configure:3810: checking for socket" >&5 d3795 1 a3795 1 #line 3815 "configure" d3818 1 a3818 1 if { (eval echo configure:3838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3837 1 a3837 1 echo "configure:3857: checking for socket in -lsocket" >&5 d3845 1 a3845 1 #line 3865 "configure" d3856 1 a3856 1 if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3881 1 a3881 1 echo "configure:3901: checking for fchmod" >&5 d3886 1 a3886 1 #line 3906 "configure" d3909 1 a3909 1 if { (eval echo configure:3929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3930 1 a3930 1 echo "configure:3950: checking for writev in -lport" >&5 d3938 1 a3938 1 #line 3958 "configure" d3949 1 a3949 1 if { (eval echo configure:3969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3978 1 a3978 1 echo "configure:3998: checking for dbopen" >&5 d3983 1 a3983 1 #line 4003 "configure" d4006 1 a4006 1 if { (eval echo configure:4026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4024 1 a4024 1 echo "configure:4044: checking for dbopen in -ldb1" >&5 d4032 1 a4032 1 #line 4052 "configure" d4043 1 a4043 1 if { (eval echo configure:4063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4062 1 a4062 1 echo "configure:4082: checking for dbopen in -ldb" >&5 d4070 1 a4070 1 #line 4090 "configure" d4081 1 a4081 1 if { (eval echo configure:4101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4109 1 a4109 1 echo "configure:4129: checking for fork" >&5 d4114 1 a4114 1 #line 4134 "configure" d4137 1 a4137 1 if { (eval echo configure:4157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4169 1 a4169 1 echo "configure:4189: checking for gzread in -l${zlib}" >&5 d4177 1 a4177 1 #line 4197 "configure" d4188 1 a4188 1 if { (eval echo configure:4208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4215 1 a4215 1 echo "configure:4235: checking for gzseek in -l${zlib}" >&5 d4223 1 a4223 1 #line 4243 "configure" d4234 1 a4234 1 if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4258 3 a4260 4 for bz2lib in bz2 ; do echo $ac_n "checking for bzread in -l${bz2lib}""... $ac_c" 1>&6 echo "configure:4280: checking for bzread in -l${bz2lib}" >&5 ac_lib_var=`echo ${bz2lib}'_'bzread | sed 'y%./+-%__p_%'` d4265 1 a4265 1 LIBS="-l${bz2lib} $LIBS" d4267 1 a4267 1 #line 4288 "configure" d4278 39 a4316 1 if { (eval echo configure:4299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4331 6 a4336 1 LIBS="$LIBS -l${bz2lib}"; break d4339 3 a4341 4 if test ${bz2lib} = bz2; then echo "configure: warning: rpm needs libbz2.a (from the bzip2 package)" 1>&2 fi a4343 1 done d4348 1 a4348 1 echo "configure:4328: checking for $ac_func" >&5 d4353 1 a4353 1 #line 4333 "configure" d4376 1 a4376 1 if { (eval echo configure:4356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4402 1 a4402 1 echo "configure:4382: checking for error_at_line" >&5 d4407 1 a4407 1 #line 4387 "configure" d4414 1 a4414 1 if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4434 1 a4434 1 echo "configure:4414: checking for working const" >&5 d4439 1 a4439 1 #line 4419 "configure" d4488 1 a4488 1 if { (eval echo configure:4468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4509 1 a4509 1 echo "configure:4489: checking for inline" >&5 d4516 1 a4516 1 #line 4496 "configure" d4523 1 a4523 1 if { (eval echo configure:4503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4549 1 a4549 1 echo "configure:4529: checking for off_t" >&5 d4554 1 a4554 1 #line 4534 "configure" d4582 1 a4582 1 echo "configure:4562: checking for size_t" >&5 d4587 1 a4587 1 #line 4567 "configure" d4617 1 a4617 1 echo "configure:4597: checking for working alloca.h" >&5 d4622 1 a4622 1 #line 4602 "configure" d4629 1 a4629 1 if { (eval echo configure:4609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4650 1 a4650 1 echo "configure:4630: checking for alloca" >&5 d4655 1 a4655 1 #line 4635 "configure" d4683 1 a4683 1 if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4715 1 a4715 1 echo "configure:4695: checking whether alloca needs Cray hooks" >&5 d4720 1 a4720 1 #line 4700 "configure" d4745 1 a4745 1 echo "configure:4725: checking for $ac_func" >&5 d4750 1 a4750 1 #line 4730 "configure" d4773 1 a4773 1 if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4800 1 a4800 1 echo "configure:4780: checking stack direction for C alloca" >&5 d4808 1 a4808 1 #line 4788 "configure" d4827 1 a4827 1 if { (eval echo configure:4807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4852 1 a4852 1 echo "configure:4832: checking for $ac_hdr" >&5 d4857 1 a4857 1 #line 4837 "configure" d4862 1 a4862 1 { (eval echo configure:4842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4891 1 a4891 1 echo "configure:4871: checking for $ac_func" >&5 d4896 1 a4896 1 #line 4876 "configure" d4919 1 a4919 1 if { (eval echo configure:4899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4944 1 a4944 1 echo "configure:4924: checking for working mmap" >&5 d4952 1 a4952 1 #line 4932 "configure" d5092 1 a5092 1 if { (eval echo configure:5072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5120 1 a5120 1 echo "configure:5100: checking for $ac_hdr" >&5 d5125 1 a5125 1 #line 5105 "configure" d5130 1 a5130 1 { (eval echo configure:5110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5160 1 a5160 1 echo "configure:5140: checking for $ac_func" >&5 d5165 1 a5165 1 #line 5145 "configure" d5188 1 a5188 1 if { (eval echo configure:5168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5217 1 a5217 1 echo "configure:5197: checking for $ac_func" >&5 d5222 1 a5222 1 #line 5202 "configure" d5245 1 a5245 1 if { (eval echo configure:5225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5279 1 a5279 1 echo "configure:5259: checking for LC_MESSAGES" >&5 d5284 1 a5284 1 #line 5264 "configure" d5291 1 a5291 1 if { (eval echo configure:5271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5312 1 a5312 1 echo "configure:5292: checking whether NLS is requested" >&5 d5332 1 a5332 1 echo "configure:5312: checking whether included gettext is requested" >&5 d5351 1 a5351 1 echo "configure:5331: checking for libintl.h" >&5 d5356 1 a5356 1 #line 5336 "configure" d5361 1 a5361 1 { (eval echo configure:5341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5378 1 a5378 1 echo "configure:5358: checking for gettext in libc" >&5 d5383 1 a5383 1 #line 5363 "configure" d5390 1 a5390 1 if { (eval echo configure:5370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5406 1 a5406 1 echo "configure:5386: checking for bindtextdomain in -lintl" >&5 d5414 1 a5414 1 #line 5394 "configure" d5425 1 a5425 1 if { (eval echo configure:5405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5441 1 a5441 1 echo "configure:5421: checking for gettext in libintl" >&5 d5446 1 a5446 1 echo "configure:5426: checking for gettext in -lintl" >&5 d5454 1 a5454 1 #line 5434 "configure" d5465 1 a5465 1 if { (eval echo configure:5445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5504 1 a5504 1 echo "configure:5484: checking for $ac_word" >&5 d5538 1 a5538 1 echo "configure:5518: checking for $ac_func" >&5 d5543 1 a5543 1 #line 5523 "configure" d5566 1 a5566 1 if { (eval echo configure:5546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5593 1 a5593 1 echo "configure:5573: checking for $ac_word" >&5 d5629 1 a5629 1 echo "configure:5609: checking for $ac_word" >&5 d5661 1 a5661 1 #line 5641 "configure" d5669 1 a5669 1 if { (eval echo configure:5649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5692 1 a5692 1 echo "configure:5672: checking whether catgets can be used" >&5 d5705 1 a5705 1 echo "configure:5685: checking for main in -li" >&5 d5713 1 a5713 1 #line 5693 "configure" d5720 1 a5720 1 if { (eval echo configure:5700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5748 1 a5748 1 echo "configure:5728: checking for catgets" >&5 d5753 1 a5753 1 #line 5733 "configure" d5776 1 a5776 1 if { (eval echo configure:5756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5798 1 a5798 1 echo "configure:5778: checking for $ac_word" >&5 d5834 1 a5834 1 echo "configure:5814: checking for $ac_word" >&5 d5871 1 a5871 1 echo "configure:5851: checking for $ac_word" >&5 d5906 1 a5906 1 echo "configure:5886: checking for $ac_word" >&5 d5964 1 a5964 1 echo "configure:5944: checking for $ac_word" >&5 d5998 1 a5998 1 echo "configure:5978: checking for $ac_word" >&5 d6034 1 a6034 1 echo "configure:6014: checking for $ac_word" >&5 d6127 1 a6127 1 echo "configure:6107: checking for catalogs to be installed" >&5 d6155 1 a6155 1 echo "configure:6135: checking for linux/version.h" >&5 d6160 1 a6160 1 #line 6140 "configure" d6165 1 a6165 1 { (eval echo configure:6145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6234 1 a6234 1 echo "configure:6214: checking for ANSI C header files" >&5 d6239 1 a6239 1 #line 6219 "configure" d6247 1 a6247 1 { (eval echo configure:6227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6264 1 a6264 1 #line 6244 "configure" d6282 1 a6282 1 #line 6262 "configure" d6303 1 a6303 1 #line 6283 "configure" d6314 1 a6314 1 if { (eval echo configure:6294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6338 1 a6338 1 echo "configure:6318: checking whether sys/types.h defines makedev" >&5 d6343 1 a6343 1 #line 6323 "configure" d6350 1 a6350 1 if { (eval echo configure:6330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6368 1 a6368 1 echo "configure:6348: checking for sys/mkdev.h" >&5 d6373 1 a6373 1 #line 6353 "configure" d6378 1 a6378 1 { (eval echo configure:6358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6406 1 a6406 1 echo "configure:6386: checking for sys/sysmacros.h" >&5 d6411 1 a6411 1 #line 6391 "configure" d6416 1 a6416 1 { (eval echo configure:6396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6448 1 a6448 1 echo "configure:6428: checking for $ac_hdr that defines DIR" >&5 d6453 1 a6453 1 #line 6433 "configure" d6461 1 a6461 1 if { (eval echo configure:6441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6486 1 a6486 1 echo "configure:6466: checking for opendir in -ldir" >&5 d6494 1 a6494 1 #line 6474 "configure" d6505 1 a6505 1 if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6527 1 a6527 1 echo "configure:6507: checking for opendir in -lx" >&5 d6535 1 a6535 1 #line 6515 "configure" d6546 1 a6546 1 if { (eval echo configure:6526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6569 1 a6569 1 echo "configure:6549: checking whether time.h and sys/time.h may both be included" >&5 d6574 1 a6574 1 #line 6554 "configure" d6583 1 a6583 1 if { (eval echo configure:6563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6608 1 a6608 1 echo "configure:6588: checking for $ac_hdr" >&5 d6613 1 a6613 1 #line 6593 "configure" d6618 1 a6618 1 { (eval echo configure:6598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6648 1 a6648 1 echo "configure:6628: checking for $ac_hdr" >&5 d6653 1 a6653 1 #line 6633 "configure" d6658 1 a6658 1 { (eval echo configure:6638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6689 1 a6689 1 echo "configure:6669: checking for $ac_hdr" >&5 d6694 1 a6694 1 #line 6674 "configure" d6699 1 a6699 1 { (eval echo configure:6679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6729 1 a6729 1 echo "configure:6709: checking for $ac_hdr" >&5 d6734 1 a6734 1 #line 6714 "configure" d6739 1 a6739 1 { (eval echo configure:6719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6769 1 a6769 1 echo "configure:6749: checking for $ac_hdr" >&5 d6774 1 a6774 1 #line 6754 "configure" d6779 1 a6779 1 { (eval echo configure:6759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6810 1 a6810 1 echo "configure:6790: checking for $ac_hdr" >&5 d6815 1 a6815 1 #line 6795 "configure" d6820 1 a6820 1 { (eval echo configure:6800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6850 1 a6850 1 echo "configure:6830: checking for $ac_hdr" >&5 d6855 1 a6855 1 #line 6835 "configure" d6860 1 a6860 1 { (eval echo configure:6840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6890 1 a6890 1 echo "configure:6870: checking for $ac_hdr" >&5 d6895 1 a6895 1 #line 6875 "configure" d6900 1 a6900 1 { (eval echo configure:6880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6930 1 a6930 1 echo "configure:6910: checking for $ac_hdr" >&5 d6935 1 a6935 1 #line 6915 "configure" d6940 1 a6940 1 { (eval echo configure:6920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6970 1 a6970 1 echo "configure:6950: checking for $ac_hdr" >&5 d6975 1 a6975 1 #line 6955 "configure" d6980 1 a6980 1 { (eval echo configure:6960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7010 1 a7010 1 echo "configure:6990: checking for $ac_hdr" >&5 d7015 1 a7015 1 #line 6995 "configure" d7020 1 a7020 1 { (eval echo configure:7000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } a7046 53 BUILD_RPMCONVERT=yes for ac_hdr in gdbm.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:7032: 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:7042: \"$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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 BUILD_RPMCONVERT=no fi done echo $ac_n "checking if rpmconvert should be built""... $ac_c" 1>&6 echo "configure:7070: checking if rpmconvert should be built" >&5 if test X"$BUILD_RPMCONVERT" = X"yes"; then BUILD_RPMCONVERT=rpmconvert echo "$ac_t""yes" 1>&6 else BUILD_RPMCONVERT= echo "$ac_t""no" 1>&6 fi d7061 1 a7061 1 echo "configure:7094: checking for $ac_hdr" >&5 d7066 1 a7066 1 #line 7099 "configure" d7071 1 a7071 1 { (eval echo configure:7104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7099 1 a7099 1 echo "configure:7132: checking for struct statfs" >&5 d7104 1 a7104 1 #line 7137 "configure" d7115 1 a7115 1 if { (eval echo configure:7148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7132 1 a7132 1 #line 7165 "configure" d7143 1 a7143 1 if { (eval echo configure:7176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7160 1 a7160 1 #line 7193 "configure" d7171 1 a7171 1 if { (eval echo configure:7204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7188 1 a7188 1 #line 7221 "configure" d7199 1 a7199 1 if { (eval echo configure:7232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7220 1 a7220 1 echo "configure:7253: checking for f_bavail member in struct statfs" >&5 d7222 1 a7222 1 #line 7255 "configure" d7246 1 a7246 1 if { (eval echo configure:7279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7265 1 a7265 1 echo "configure:7298: checking if statfs() requires 4 arguments" >&5 d7271 1 a7271 1 #line 7304 "configure" d7290 1 a7290 1 if { (eval echo configure:7323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7309 1 a7309 1 echo "configure:7342: checking for inline" >&5 d7316 1 a7316 1 #line 7349 "configure" d7323 1 a7323 1 if { (eval echo configure:7356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7351 1 a7351 1 echo "configure:7384: checking if defines h_errno" >&5 d7353 1 a7353 1 #line 7386 "configure" d7360 1 a7360 1 if { (eval echo configure:7393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7377 1 a7377 1 echo "configure:7410: checking if defines S_IFSOCK" >&5 d7379 1 a7379 1 #line 7412 "configure" d7386 1 a7386 1 if { (eval echo configure:7419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7405 1 a7405 1 echo "configure:7438: checking if defines S_ISLNK" >&5 d7407 1 a7407 1 #line 7440 "configure" d7414 1 a7414 1 if { (eval echo configure:7447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7433 1 a7433 1 echo "configure:7466: checking if defines S_ISSOCK" >&5 d7435 1 a7435 1 #line 7468 "configure" d7442 1 a7442 1 if { (eval echo configure:7475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7461 1 a7461 1 echo "configure:7494: checking if timezone is defined" >&5 d7463 1 a7463 1 #line 7496 "configure" d7470 1 a7470 1 if { (eval echo configure:7503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7483 1 a7483 1 echo "configure:7516: checking for mode_t" >&5 d7488 1 a7488 1 #line 7521 "configure" d7516 1 a7516 1 echo "configure:7549: checking for pid_t" >&5 d7521 1 a7521 1 #line 7554 "configure" d7552 1 a7552 1 echo "configure:7585: checking for working alloca.h" >&5 d7557 1 a7557 1 #line 7590 "configure" d7564 1 a7564 1 if { (eval echo configure:7597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7585 1 a7585 1 echo "configure:7618: checking for alloca" >&5 d7590 1 a7590 1 #line 7623 "configure" d7618 1 a7618 1 if { (eval echo configure:7651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7650 1 a7650 1 echo "configure:7683: checking whether alloca needs Cray hooks" >&5 d7655 1 a7655 1 #line 7688 "configure" d7680 1 a7680 1 echo "configure:7713: checking for $ac_func" >&5 d7685 1 a7685 1 #line 7718 "configure" d7708 1 a7708 1 if { (eval echo configure:7741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7735 1 a7735 1 echo "configure:7768: checking stack direction for C alloca" >&5 d7743 1 a7743 1 #line 7776 "configure" d7762 1 a7762 1 if { (eval echo configure:7795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7784 1 a7784 1 echo "configure:7817: checking for vprintf" >&5 d7789 1 a7789 1 #line 7822 "configure" d7812 1 a7812 1 if { (eval echo configure:7845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7836 1 a7836 1 echo "configure:7869: checking for _doprnt" >&5 d7841 1 a7841 1 #line 7874 "configure" d7864 1 a7864 1 if { (eval echo configure:7897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7890 1 a7890 1 echo "configure:7923: checking for working fnmatch" >&5 d7901 1 a7901 1 #line 7934 "configure" d7905 1 a7905 1 if { (eval echo configure:7938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7939 1 a7939 1 echo "configure:7972: checking for $ac_func" >&5 d7944 1 a7944 1 #line 7977 "configure" d7967 1 a7967 1 if { (eval echo configure:8000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7994 1 a7994 1 echo "configure:8027: checking for $ac_func" >&5 d7999 1 a7999 1 #line 8032 "configure" d8022 1 a8022 1 if { (eval echo configure:8055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8049 1 a8049 1 echo "configure:8082: checking for $ac_func" >&5 d8054 1 a8054 1 #line 8087 "configure" d8077 1 a8077 1 if { (eval echo configure:8110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8105 1 a8105 1 echo "configure:8138: checking for $ac_func" >&5 d8110 1 a8110 1 #line 8143 "configure" d8133 1 a8133 1 if { (eval echo configure:8166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8167 1 a8167 1 echo "configure:8200: checking for $ac_func" >&5 d8172 1 a8172 1 #line 8205 "configure" d8195 1 a8195 1 if { (eval echo configure:8228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8225 4 a8228 1 echo "configure:8258: checking for GNU extensions to glob" >&5 d8233 1 a8233 1 #line 8263 "configure" d8242 1 a8242 1 exit(glob("doc/*/*.8", 0, NULL, &gl) || gl.gl_pathc < 1); d8245 1 a8245 1 if { (eval echo configure:8275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8257 1 d8276 1 a8276 1 echo "configure:8305: checking for $ac_func" >&5 d8281 1 a8281 1 #line 8310 "configure" d8304 1 a8304 1 if { (eval echo configure:8333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8332 1 a8332 1 echo "configure:8361: checking for $ac_func" >&5 d8337 1 a8337 1 #line 8366 "configure" d8360 1 a8360 1 if { (eval echo configure:8389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8386 1 a8386 1 echo "configure:8415: checking for getmntent" >&5 d8391 1 a8391 1 #line 8420 "configure" d8414 1 a8414 1 if { (eval echo configure:8443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8436 1 a8436 1 echo "configure:8465: checking for mntctl" >&5 d8441 1 a8441 1 #line 8470 "configure" d8464 1 a8464 1 if { (eval echo configure:8493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8486 1 a8486 1 echo "configure:8515: checking for getmntinfo_r" >&5 d8491 1 a8491 1 #line 8520 "configure" d8514 1 a8514 1 if { (eval echo configure:8543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8536 1 a8536 1 echo "configure:8565: checking for getmntinfo_r in -lc_r" >&5 d8544 1 a8544 1 #line 8573 "configure" d8555 1 a8555 1 if { (eval echo configure:8584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8588 1 a8588 1 echo "configure:8617: checking for lchown" >&5 d8593 1 a8593 1 #line 8622 "configure" d8616 1 a8616 1 if { (eval echo configure:8645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8641 1 a8641 1 echo "configure:8670: checking whether chown() follows symlinks" >&5 d8669 1 a8669 1 echo "configure:8698: checking (cannot check by non-root user)" >&5 d8687 1 a8687 1 echo "configure:8716: checking root's primary group" >&5 d8693 1 a8693 1 #line 8722 "configure" d8722 1 a8722 1 if { (eval echo configure:8751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8834 1 d8875 2 a9169 1 s%@@BUILD_RPMCONVERT@@%$BUILD_RPMCONVERT%g d9181 1 @ 1.6 log @Resolve: RPM 3.0.2 -> RPM 3.0.3 @ text @a28 2 --enable-bzip2-payload[=no] [experimental] support for packages with bzip2 paylaods" ac_help="$ac_help a34 2 --with-regex use the GNU regex library " ac_help="$ac_help d595 1 a595 1 echo "configure:600: checking host system type" >&5 d616 1 a616 1 echo "configure:621: checking target system type" >&5 d634 1 a634 1 echo "configure:639: checking build system type" >&5 d669 1 a669 1 echo "configure:674: checking for a BSD compatible install" >&5 d722 1 a722 1 echo "configure:727: checking whether build environment is sane" >&5 d779 1 a779 1 echo "configure:784: checking whether ${MAKE-make} sets \${MAKE}" >&5 a805 1 d808 1 a808 1 VERSION=3.0.3 d825 1 a825 1 echo "configure:831: checking for working aclocal" >&5 d838 1 a838 1 echo "configure:844: checking for working autoconf" >&5 d851 1 a851 1 echo "configure:857: checking for working automake" >&5 d864 1 a864 1 echo "configure:870: checking for working autoheader" >&5 d877 1 a877 1 echo "configure:883: checking for working makeinfo" >&5 d896 1 a896 1 ALL_LINGUAS="cs de fi fr pl pt_BR ru sk sr sv tr" d922 1 a922 1 echo "configure:928: checking for $ac_word" >&5 d952 1 a952 1 echo "configure:958: checking for $ac_word" >&5 d1003 1 a1003 1 echo "configure:1009: checking for $ac_word" >&5 d1035 1 a1035 1 echo "configure:1041: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1046 1 a1046 1 #line 1052 "configure" d1051 1 a1051 1 if { (eval echo configure:1057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1077 1 a1077 1 echo "configure:1083: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1082 1 a1082 1 echo "configure:1088: checking whether we are using GNU C" >&5 d1091 1 a1091 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1110 1 a1110 1 echo "configure:1116: checking whether ${CC-cc} accepts -g" >&5 d1142 1 a1142 1 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" d1146 1 a1146 1 echo "configure:1152: checking how to run the C preprocessor" >&5 d1161 1 a1161 1 #line 1167 "configure" d1167 1 a1167 1 { (eval echo configure:1173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1178 1 a1178 1 #line 1184 "configure" d1184 1 a1184 1 { (eval echo configure:1190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1195 1 a1195 1 #line 1201 "configure" d1201 1 a1201 1 { (eval echo configure:1207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1227 1 a1227 1 echo "configure:1233: checking whether ${CC-cc} needs -traditional" >&5 d1233 1 a1233 1 #line 1239 "configure" d1251 1 a1251 1 #line 1257 "configure" d1284 1 a1284 1 echo "configure:1290: checking for a BSD compatible install" >&5 d1338 1 a1338 1 echo "configure:1344: checking flag used by libtool to link rpm" >&5 d1375 1 a1375 1 echo "configure:1381: checking POSIX chmod" >&5 d1395 1 a1395 1 echo "configure:1401: checking for $ac_word" >&5 d1432 1 a1432 1 echo "configure:1438: checking if $MKDIR supports -p" >&5 d1466 1 a1466 1 echo "configure:1472: checking for AIX" >&5 d1468 1 a1468 1 #line 1474 "configure" d1491 1 a1491 1 echo "configure:1497: checking for minix/config.h" >&5 d1496 1 a1496 1 #line 1502 "configure" d1501 1 a1501 1 { (eval echo configure:1507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1539 1 a1539 1 echo "configure:1545: checking for POSIXized ISC" >&5 d1564 1 a1564 1 echo "configure:1570: checking for ${CC-cc} option to accept ANSI C" >&5 d1580 1 a1580 1 #line 1586 "configure" d1617 1 a1617 1 if { (eval echo configure:1623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1643 1 a1643 1 echo "configure:1649: checking for function prototypes" >&5 d1656 1 a1656 1 echo "configure:1662: checking for ANSI C header files" >&5 d1661 1 a1661 1 #line 1667 "configure" d1669 1 a1669 1 { (eval echo configure:1675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1686 1 a1686 1 #line 1692 "configure" d1704 1 a1704 1 #line 1710 "configure" d1725 1 a1725 1 #line 1731 "configure" d1736 1 a1736 1 if { (eval echo configure:1742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1763 1 a1763 1 echo "configure:1769: checking for $ac_hdr" >&5 d1768 1 a1768 1 #line 1774 "configure" d1773 1 a1773 1 { (eval echo configure:1779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1807 1 a1807 1 echo "configure:1813: checking for $ac_word" >&5 d1837 1 a1837 1 echo "configure:1843: checking whether ln -s works" >&5 d1858 1 a1858 1 echo "configure:1864: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1957 1 a1957 1 echo "configure:1963: checking for $ac_word" >&5 d1996 1 a1996 1 echo "configure:2002: checking for ld used by GCC" >&5 d2020 1 a2020 1 echo "configure:2026: checking for GNU ld" >&5 d2023 1 a2023 1 echo "configure:2029: checking for non-GNU ld" >&5 a2056 1 d2058 1 a2058 1 echo "configure:2065: checking if the linker ($LD) is GNU ld" >&5 d2074 1 a2074 1 echo "configure:2081: checking for BSD-compatible nm" >&5 d2110 4 d2140 1 a2140 1 case "$host" in d2143 2 a2144 2 echo '#line 2146 "configure"' > conftest.$ac_ext if { (eval echo configure:2147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2165 1 a2165 1 echo "configure:2168: checking whether the C compiler needs -belf" >&5 d2170 1 a2170 1 #line 2173 "configure" d2177 1 a2177 1 if { (eval echo configure:2180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2255 1 a2255 1 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ d2288 1 a2288 1 echo "configure:2291: checking for $ac_word" >&5 d2320 1 a2320 1 echo "configure:2323: checking for $ac_word" >&5 d2359 1 a2359 1 echo "configure:2362: checking for $ac_word" >&5 a2391 1 d2395 1 a2395 1 echo "configure:2399: checking for $ac_word" >&5 d2431 1 a2431 1 echo "configure:2435: checking for $ac_word" >&5 d2467 1 a2467 1 echo "configure:2471: checking for $ac_word" >&5 d2503 1 a2503 1 echo "configure:2507: checking for $ac_word" >&5 d2539 1 a2539 1 echo "configure:2543: checking for $ac_word" >&5 d2575 1 a2575 1 echo "configure:2579: checking for $ac_word" >&5 a2607 1 d2611 1 a2611 1 echo "configure:2616: checking for $ac_word" >&5 d2644 37 d2684 1 a2684 1 echo "configure:2652: checking for $ac_word" >&5 d2717 47 d2767 1 a2767 1 echo "configure:2688: checking for $ac_word" >&5 d2803 1 a2803 1 echo "configure:2724: checking for $ac_word" >&5 d2839 1 a2839 1 echo "configure:2760: checking for $ac_word" >&5 a2871 1 d2875 1 a2875 1 echo "configure:2797: checking for $ac_word" >&5 d2909 1 a2909 1 echo "configure:2831: checking old version of patch" >&5 d2922 36 d2961 1 a2961 1 echo "configure:2847: checking for $ac_word" >&5 d2997 1 a2997 1 echo "configure:2883: checking for $ac_word" >&5 d3030 291 a3320 2 # Extract the first word of "tar", so it can be a program name with args. set dummy tar; ac_word=$2 d3322 2 a3323 2 echo "configure:2919: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___TAR'+set}'`\" = set"; then d3326 1 a3326 1 case "$__TAR" in d3328 1 a3328 1 ac_cv_path___TAR="$__TAR" # Let the user override the test with a path. d3331 1 a3331 1 ac_cv_path___TAR="$__TAR" # Let the user override the test with a dos path. d3339 1 a3339 1 ac_cv_path___TAR="$ac_dir/$ac_word" d3344 1 a3344 1 test -z "$ac_cv_path___TAR" && ac_cv_path___TAR="/bin/tar" d3348 3 a3350 3 __TAR="$ac_cv_path___TAR" if test -n "$__TAR"; then echo "$ac_t""$__TAR" 1>&6 d3378 1 a3378 1 echo "configure:2975: checking for $dir/lib in LIBS" >&5 d3387 1 a3387 1 echo "configure:2984: checking for $dir/include in INCPATH" >&5 d3397 1 a3397 1 echo "configure:2994: checking for /usr/ucblib in LIBS" >&5 d3413 1 a3413 1 echo "configure:3010: checking if you want support for rpm-1.0 packages" >&5 d3430 1 a3430 1 echo "configure:3027: checking if you want experimental rpm-4.0 packages" >&5 a3444 17 ### use option --enable-bzip2-payload to turn on support for packages with bzip2 payloads echo $ac_n "checking if you want support for packages with bzip2 payloads""... $ac_c" 1>&6 echo "configure:3044: checking if you want support for packages with bzip2 payloads" >&5 # Check whether --enable-bzip2-payload or --disable-bzip2-payload was given. if test "${enable_bzip2_payload+set}" = set; then enableval="$enable_bzip2_payload" with_bzip2_payload=$enableval else with_bzip2_payload=no fi echo "$ac_t""$with_bzip2_payload" 1>&6 test "$with_bzip2_payload" = yes && cat >> confdefs.h <<\EOF #define ENABLE_BZIP2_PAYLOAD 1 EOF d3447 1 a3447 1 echo "configure:3061: checking for strcasecmp" >&5 d3452 1 a3452 1 #line 3066 "configure" d3475 1 a3475 1 if { (eval echo configure:3089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3494 1 a3494 1 echo "configure:3108: checking for strcasecmp in -lucb" >&5 d3502 1 a3502 1 #line 3116 "configure" d3513 1 a3513 1 if { (eval echo configure:3127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3537 1 a3537 1 echo "configure:3151: checking for setreuid" >&5 d3542 1 a3542 1 #line 3156 "configure" d3565 1 a3565 1 if { (eval echo configure:3179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3584 1 a3584 1 echo "configure:3198: checking for setreuid in -lucb" >&5 d3592 1 a3592 1 #line 3206 "configure" d3603 1 a3603 1 if { (eval echo configure:3217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3628 1 a3628 1 echo "configure:3242: checking for rand" >&5 d3633 1 a3633 1 #line 3247 "configure" d3656 1 a3656 1 if { (eval echo configure:3270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3675 1 a3675 1 echo "configure:3289: checking for rand in -lrand" >&5 d3683 1 a3683 1 #line 3297 "configure" d3694 1 a3694 1 if { (eval echo configure:3308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3719 1 a3719 1 echo "configure:3333: checking for getdomainname" >&5 d3724 1 a3724 1 #line 3338 "configure" d3747 1 a3747 1 if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3766 1 a3766 1 echo "configure:3380: checking for getdomainname in -lnsl" >&5 d3774 1 a3774 1 #line 3388 "configure" d3785 1 a3785 1 if { (eval echo configure:3399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3809 1 a3809 1 echo "configure:3423: checking for socket" >&5 d3814 1 a3814 1 #line 3428 "configure" d3837 1 a3837 1 if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3856 1 a3856 1 echo "configure:3470: checking for socket in -lsocket" >&5 d3864 1 a3864 1 #line 3478 "configure" d3875 1 a3875 1 if { (eval echo configure:3489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3900 1 a3900 1 echo "configure:3514: checking for fchmod" >&5 d3905 1 a3905 1 #line 3519 "configure" d3928 1 a3928 1 if { (eval echo configure:3542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a3947 1 d3949 1 a3949 1 echo "configure:3564: checking for writev in -lport" >&5 d3957 1 a3957 1 #line 3572 "configure" d3968 1 a3968 1 if { (eval echo configure:3583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3997 1 a3997 1 echo "configure:3612: checking for dbopen" >&5 d4002 1 a4002 1 #line 3617 "configure" d4025 1 a4025 1 if { (eval echo configure:3640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4043 1 a4043 1 echo "configure:3658: checking for dbopen in -ldb1" >&5 d4051 1 a4051 1 #line 3666 "configure" d4062 1 a4062 1 if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4081 1 a4081 1 echo "configure:3696: checking for dbopen in -ldb" >&5 d4089 1 a4089 1 #line 3704 "configure" d4100 1 a4100 1 if { (eval echo configure:3715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4118 1 a4118 1 echo "configure: warning: sorry this package needs libdb.a (from the db package)" 1>&2 d4128 1 a4128 1 echo "configure:3743: checking for fork" >&5 d4133 1 a4133 1 #line 3748 "configure" d4156 1 a4156 1 if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a4185 1 ZLIB= d4188 1 a4188 1 echo "configure:3804: checking for gzread in -l${zlib}" >&5 d4196 1 a4196 1 #line 3812 "configure" d4207 1 a4207 1 if { (eval echo configure:3823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4226 1 a4226 1 echo "configure: warning: sorry this package needs libz.a or libgz.a (from the zlib package)" 1>&2 d4233 44 d4279 1 a4279 1 echo "configure:3851: checking for bzread in -l${bz2lib}" >&5 d4287 1 a4287 1 #line 3859 "configure" d4298 1 a4298 1 if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4317 1 a4317 1 echo "configure: warning: missing libbz2.a (from the bzip2 package)" 1>&2 d4324 56 d4381 1 a4381 1 echo "configure:3897: checking for error_at_line" >&5 d4386 1 a4386 1 #line 3902 "configure" d4393 1 a4393 1 if { (eval echo configure:3909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4413 1 a4413 1 echo "configure:3929: checking for working const" >&5 d4418 1 a4418 1 #line 3934 "configure" d4467 1 a4467 1 if { (eval echo configure:3983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4488 1 a4488 1 echo "configure:4004: checking for inline" >&5 d4495 1 a4495 1 #line 4011 "configure" d4502 1 a4502 1 if { (eval echo configure:4018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4528 1 a4528 1 echo "configure:4044: checking for off_t" >&5 d4533 1 a4533 1 #line 4049 "configure" d4561 1 a4561 1 echo "configure:4077: checking for size_t" >&5 d4566 1 a4566 1 #line 4082 "configure" d4596 1 a4596 1 echo "configure:4112: checking for working alloca.h" >&5 d4601 1 a4601 1 #line 4117 "configure" d4608 1 a4608 1 if { (eval echo configure:4124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4629 1 a4629 1 echo "configure:4145: checking for alloca" >&5 d4634 1 a4634 1 #line 4150 "configure" d4662 1 a4662 1 if { (eval echo configure:4178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4694 1 a4694 1 echo "configure:4210: checking whether alloca needs Cray hooks" >&5 d4699 1 a4699 1 #line 4215 "configure" d4724 1 a4724 1 echo "configure:4240: checking for $ac_func" >&5 d4729 1 a4729 1 #line 4245 "configure" d4752 1 a4752 1 if { (eval echo configure:4268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4779 1 a4779 1 echo "configure:4295: checking stack direction for C alloca" >&5 d4787 1 a4787 1 #line 4303 "configure" d4806 1 a4806 1 if { (eval echo configure:4322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4831 1 a4831 1 echo "configure:4347: checking for $ac_hdr" >&5 d4836 1 a4836 1 #line 4352 "configure" d4841 1 a4841 1 { (eval echo configure:4357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4870 1 a4870 1 echo "configure:4386: checking for $ac_func" >&5 d4875 1 a4875 1 #line 4391 "configure" d4898 1 a4898 1 if { (eval echo configure:4414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4923 1 a4923 1 echo "configure:4439: checking for working mmap" >&5 d4931 1 a4931 1 #line 4447 "configure" d5071 1 a5071 1 if { (eval echo configure:4587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5099 1 a5099 1 echo "configure:4615: checking for $ac_hdr" >&5 d5104 1 a5104 1 #line 4620 "configure" d5109 1 a5109 1 { (eval echo configure:4625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5139 1 a5139 1 echo "configure:4655: checking for $ac_func" >&5 d5144 1 a5144 1 #line 4660 "configure" d5167 1 a5167 1 if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5196 1 a5196 1 echo "configure:4712: checking for $ac_func" >&5 d5201 1 a5201 1 #line 4717 "configure" d5224 1 a5224 1 if { (eval echo configure:4740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5258 1 a5258 1 echo "configure:4774: checking for LC_MESSAGES" >&5 d5263 1 a5263 1 #line 4779 "configure" d5270 1 a5270 1 if { (eval echo configure:4786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5291 1 a5291 1 echo "configure:4807: checking whether NLS is requested" >&5 d5311 1 a5311 1 echo "configure:4827: checking whether included gettext is requested" >&5 d5330 1 a5330 1 echo "configure:4846: checking for libintl.h" >&5 d5335 1 a5335 1 #line 4851 "configure" d5340 1 a5340 1 { (eval echo configure:4856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5357 1 a5357 1 echo "configure:4873: checking for gettext in libc" >&5 d5362 1 a5362 1 #line 4878 "configure" d5369 1 a5369 1 if { (eval echo configure:4885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5385 1 a5385 1 echo "configure:4901: checking for bindtextdomain in -lintl" >&5 d5393 1 a5393 1 #line 4909 "configure" d5404 1 a5404 1 if { (eval echo configure:4920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5420 1 a5420 1 echo "configure:4936: checking for gettext in libintl" >&5 d5425 1 a5425 1 echo "configure:4941: checking for gettext in -lintl" >&5 d5433 1 a5433 1 #line 4949 "configure" d5444 1 a5444 1 if { (eval echo configure:4960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5483 1 a5483 1 echo "configure:4999: checking for $ac_word" >&5 d5517 1 a5517 1 echo "configure:5033: checking for $ac_func" >&5 d5522 1 a5522 1 #line 5038 "configure" d5545 1 a5545 1 if { (eval echo configure:5061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5572 1 a5572 1 echo "configure:5088: checking for $ac_word" >&5 d5608 1 a5608 1 echo "configure:5124: checking for $ac_word" >&5 d5640 1 a5640 1 #line 5156 "configure" d5648 1 a5648 1 if { (eval echo configure:5164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5671 1 a5671 1 echo "configure:5187: checking whether catgets can be used" >&5 d5684 1 a5684 1 echo "configure:5200: checking for main in -li" >&5 d5692 1 a5692 1 #line 5208 "configure" d5699 1 a5699 1 if { (eval echo configure:5215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5727 1 a5727 1 echo "configure:5243: checking for catgets" >&5 d5732 1 a5732 1 #line 5248 "configure" d5755 1 a5755 1 if { (eval echo configure:5271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5777 1 a5777 1 echo "configure:5293: checking for $ac_word" >&5 d5813 1 a5813 1 echo "configure:5329: checking for $ac_word" >&5 d5850 1 a5850 1 echo "configure:5366: checking for $ac_word" >&5 d5885 1 a5885 1 echo "configure:5401: checking for $ac_word" >&5 d5943 1 a5943 1 echo "configure:5459: checking for $ac_word" >&5 d5977 1 a5977 1 echo "configure:5493: checking for $ac_word" >&5 d6013 1 a6013 1 echo "configure:5529: checking for $ac_word" >&5 d6106 1 a6106 1 echo "configure:5622: checking for catalogs to be installed" >&5 d6134 1 a6134 1 echo "configure:5650: checking for linux/version.h" >&5 d6139 1 a6139 1 #line 5655 "configure" d6144 1 a6144 1 { (eval echo configure:5660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6213 1 a6213 1 echo "configure:5729: checking for ANSI C header files" >&5 d6218 1 a6218 1 #line 5734 "configure" d6226 1 a6226 1 { (eval echo configure:5742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6243 1 a6243 1 #line 5759 "configure" d6261 1 a6261 1 #line 5777 "configure" d6282 1 a6282 1 #line 5798 "configure" d6293 1 a6293 1 if { (eval echo configure:5809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6317 1 a6317 1 echo "configure:5833: checking whether sys/types.h defines makedev" >&5 d6322 1 a6322 1 #line 5838 "configure" d6329 1 a6329 1 if { (eval echo configure:5845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6347 1 a6347 1 echo "configure:5863: checking for sys/mkdev.h" >&5 d6352 1 a6352 1 #line 5868 "configure" d6357 1 a6357 1 { (eval echo configure:5873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6385 1 a6385 1 echo "configure:5901: checking for sys/sysmacros.h" >&5 d6390 1 a6390 1 #line 5906 "configure" d6395 1 a6395 1 { (eval echo configure:5911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6427 1 a6427 1 echo "configure:5943: checking for $ac_hdr that defines DIR" >&5 d6432 1 a6432 1 #line 5948 "configure" d6440 1 a6440 1 if { (eval echo configure:5956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6465 1 a6465 1 echo "configure:5981: checking for opendir in -ldir" >&5 d6473 1 a6473 1 #line 5989 "configure" d6484 1 a6484 1 if { (eval echo configure:6000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6506 1 a6506 1 echo "configure:6022: checking for opendir in -lx" >&5 d6514 1 a6514 1 #line 6030 "configure" d6525 1 a6525 1 if { (eval echo configure:6041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6548 1 a6548 1 echo "configure:6064: checking whether time.h and sys/time.h may both be included" >&5 d6553 1 a6553 1 #line 6069 "configure" d6562 1 a6562 1 if { (eval echo configure:6078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6587 1 a6587 1 echo "configure:6103: checking for $ac_hdr" >&5 d6592 1 a6592 1 #line 6108 "configure" d6597 1 a6597 1 { (eval echo configure:6113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6627 1 a6627 1 echo "configure:6143: checking for $ac_hdr" >&5 d6632 1 a6632 1 #line 6148 "configure" d6637 1 a6637 1 { (eval echo configure:6153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6668 1 a6668 1 echo "configure:6184: checking for $ac_hdr" >&5 d6673 1 a6673 1 #line 6189 "configure" d6678 1 a6678 1 { (eval echo configure:6194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6708 1 a6708 1 echo "configure:6224: checking for $ac_hdr" >&5 d6713 1 a6713 1 #line 6229 "configure" d6718 1 a6718 1 { (eval echo configure:6234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6748 1 a6748 1 echo "configure:6264: checking for $ac_hdr" >&5 d6753 1 a6753 1 #line 6269 "configure" d6758 1 a6758 1 { (eval echo configure:6274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6789 1 a6789 1 echo "configure:6305: checking for $ac_hdr" >&5 d6794 1 a6794 1 #line 6310 "configure" d6799 1 a6799 1 { (eval echo configure:6315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6829 1 a6829 1 echo "configure:6345: checking for $ac_hdr" >&5 d6834 1 a6834 1 #line 6350 "configure" d6839 1 a6839 1 { (eval echo configure:6355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6869 1 a6869 1 echo "configure:6385: checking for $ac_hdr" >&5 d6874 1 a6874 1 #line 6390 "configure" d6879 1 a6879 1 { (eval echo configure:6395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6909 1 a6909 1 echo "configure:6425: checking for $ac_hdr" >&5 d6914 1 a6914 1 #line 6430 "configure" d6919 1 a6919 1 { (eval echo configure:6435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6949 1 a6949 1 echo "configure:6465: checking for $ac_hdr" >&5 d6954 1 a6954 1 #line 6470 "configure" d6959 1 a6959 1 { (eval echo configure:6475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6989 1 a6989 1 echo "configure:6505: checking for $ac_hdr" >&5 d6994 1 a6994 1 #line 6510 "configure" d6999 1 a6999 1 { (eval echo configure:6515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7031 1 a7031 1 echo "configure:6547: checking for $ac_hdr" >&5 d7036 1 a7036 1 #line 6552 "configure" d7041 1 a7041 1 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7069 1 a7069 1 echo "configure:6585: checking if rpmconvert should be built" >&5 d7082 1 a7082 1 INCPATH="$INCPATH -I\$(top_builddir)/intl" d7093 1 a7093 1 echo "configure:6609: checking for $ac_hdr" >&5 d7098 1 a7098 1 #line 6614 "configure" d7103 1 a7103 1 { (eval echo configure:6619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7131 1 a7131 1 echo "configure:6647: checking for struct statfs" >&5 d7136 1 a7136 1 #line 6652 "configure" d7147 1 a7147 1 if { (eval echo configure:6663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7164 1 a7164 1 #line 6680 "configure" d7175 1 a7175 1 if { (eval echo configure:6691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7192 1 a7192 1 #line 6708 "configure" d7203 1 a7203 1 if { (eval echo configure:6719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7220 1 a7220 1 #line 6736 "configure" d7231 1 a7231 1 if { (eval echo configure:6747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7252 1 a7252 1 echo "configure:6768: checking for f_bavail member in struct statfs" >&5 d7254 1 a7254 1 #line 6770 "configure" d7278 1 a7278 1 if { (eval echo configure:6794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7297 1 a7297 1 echo "configure:6813: checking if statfs() requires 4 arguments" >&5 d7303 1 a7303 1 #line 6819 "configure" d7322 1 a7322 1 if { (eval echo configure:6838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7341 1 a7341 1 echo "configure:6857: checking for inline" >&5 d7348 1 a7348 1 #line 6864 "configure" d7355 1 a7355 1 if { (eval echo configure:6871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7383 1 a7383 1 echo "configure:6899: checking if defines h_errno" >&5 d7385 1 a7385 1 #line 6901 "configure" d7392 1 a7392 1 if { (eval echo configure:6908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7409 1 a7409 1 echo "configure:6925: checking if defines S_IFSOCK" >&5 d7411 1 a7411 1 #line 6927 "configure" d7418 1 a7418 1 if { (eval echo configure:6934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7437 1 a7437 1 echo "configure:6953: checking if defines S_ISLNK" >&5 d7439 1 a7439 1 #line 6955 "configure" d7446 1 a7446 1 if { (eval echo configure:6962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7465 1 a7465 1 echo "configure:6981: checking if defines S_ISSOCK" >&5 d7467 1 a7467 1 #line 6983 "configure" d7474 1 a7474 1 if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7493 1 a7493 1 echo "configure:7009: checking if timezone is defined" >&5 d7495 1 a7495 1 #line 7011 "configure" d7502 1 a7502 1 if { (eval echo configure:7018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7515 1 a7515 1 echo "configure:7031: checking for mode_t" >&5 d7520 1 a7520 1 #line 7036 "configure" d7548 1 a7548 1 echo "configure:7064: checking for pid_t" >&5 d7553 1 a7553 1 #line 7069 "configure" d7584 1 a7584 1 echo "configure:7100: checking for working alloca.h" >&5 d7589 1 a7589 1 #line 7105 "configure" d7596 1 a7596 1 if { (eval echo configure:7112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7617 1 a7617 1 echo "configure:7133: checking for alloca" >&5 d7622 1 a7622 1 #line 7138 "configure" d7650 1 a7650 1 if { (eval echo configure:7166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7682 1 a7682 1 echo "configure:7198: checking whether alloca needs Cray hooks" >&5 d7687 1 a7687 1 #line 7203 "configure" d7712 1 a7712 1 echo "configure:7228: checking for $ac_func" >&5 d7717 1 a7717 1 #line 7233 "configure" d7740 1 a7740 1 if { (eval echo configure:7256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7767 1 a7767 1 echo "configure:7283: checking stack direction for C alloca" >&5 d7775 1 a7775 1 #line 7291 "configure" d7794 1 a7794 1 if { (eval echo configure:7310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7816 1 a7816 1 echo "configure:7332: checking for vprintf" >&5 d7821 1 a7821 1 #line 7337 "configure" d7844 1 a7844 1 if { (eval echo configure:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7868 1 a7868 1 echo "configure:7384: checking for _doprnt" >&5 d7873 1 a7873 1 #line 7389 "configure" d7896 1 a7896 1 if { (eval echo configure:7412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7922 1 a7922 1 echo "configure:7438: checking for working fnmatch" >&5 d7933 1 a7933 1 #line 7449 "configure" d7937 1 a7937 1 if { (eval echo configure:7453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7968 1 a7968 1 for ac_func in mtrace d7971 1 a7971 1 echo "configure:7487: checking for $ac_func" >&5 d7976 1 a7976 1 #line 7492 "configure" d7999 1 a7999 1 if { (eval echo configure:7515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8023 1 a8023 2 for ac_func in getcwd getwd inet_aton putenv realpath d8026 1 a8026 1 echo "configure:7543: checking for $ac_func" >&5 d8031 1 a8031 1 #line 7548 "configure" d8054 1 a8054 1 if { (eval echo configure:7571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a8074 1 LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}" a8077 1 d8081 1 a8081 59 echo "configure:7600: 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:7628: \"$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 LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}" fi done for ac_func in stpcpy stpncpy strcasecmp strncasecmp strcspn do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:7658: checking for $ac_func" >&5 d8086 1 a8086 1 #line 7663 "configure" d8109 1 a8109 1 if { (eval echo configure:7686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a8129 1 LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}" d8134 1 a8134 1 for ac_func in basename d8137 1 a8137 1 echo "configure:7715: checking for $ac_func" >&5 d8142 1 a8142 1 #line 7720 "configure" d8165 1 a8165 1 if { (eval echo configure:7743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a8185 64 LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}" fi done # Check whether --with-regex or --without-regex was given. if test "${with_regex+set}" = set; then withval="$with_regex" rpm_cv_regex=yes else for ac_func in regcomp do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:7778: 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:7806: \"$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 rpm_cv_regex=yes a8188 40 fi if test $rpm_cv_regex = no ; then echo $ac_n "checking whether the regexp library is broken""... $ac_c" 1>&6 echo "configure:7836: checking whether the regexp library is broken" >&5 if test "$cross_compiling" = yes; then rpm_cv_regex_broken=yes else cat > conftest.$ac_ext < #include main() { regex_t blah ; exit(regcomp(&blah, "foo.*bar", REG_NOSUB) || regexec (&blah, "foobar", 0, NULL, 0)); } EOF if { (eval echo configure:7848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then rpm_cv_regex_broken=no else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* rpm_cv_regex_broken=yes fi rm -fr conftest* fi echo "$ac_t""$rpm_cv_regex_broken" 1>&6 if test $rpm_cv_regex_broken = yes ; then echo " --> using the included GNU regex instead." >&6 rpm_cv_regex=yes fi fi if test $rpm_cv_regex = yes; then cat >> confdefs.h <<\EOF #define USE_GNU_REGEX 1 EOF a8189 2 LIBOBJS="$LIBOBJS regex.o" fi d8199 1 a8199 1 echo "configure:7883: checking for $ac_func" >&5 d8204 1 a8204 1 #line 7888 "configure" d8227 1 a8227 1 if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8256 2 a8257 2 echo $ac_n "checking whether the glob library is broken""... $ac_c" 1>&6 echo "configure:7941: checking whether the glob library is broken" >&5 d8259 1 a8259 1 rpm_cv_glob_broken=yes d8262 1 a8262 1 #line 7946 "configure" d8266 1 d8268 5 a8272 1 main() { glob_t blah ; exit(glob("doc/*/*.8", 0, NULL, &blah) || blah.gl_pathc < 1); } d8274 1 a8274 1 if { (eval echo configure:7953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8276 1 a8276 1 rpm_cv_glob_broken=no d8281 1 a8281 1 rpm_cv_glob_broken=yes d8286 4 a8289 4 echo "$ac_t""$rpm_cv_glob_broken" 1>&6 if test $rpm_cv_glob_broken = yes ; then echo " --> using the included GNU glob instead." >&6 rpm_cv_glob=yes d8298 1 a8298 1 LIBOBJS="$LIBOBJS glob.o" d8304 1 a8304 1 echo "configure:7983: checking for $ac_func" >&5 d8309 1 a8309 1 #line 7988 "configure" d8332 1 a8332 1 if { (eval echo configure:8011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8360 1 a8360 1 echo "configure:8039: checking for $ac_func" >&5 d8365 1 a8365 1 #line 8044 "configure" d8388 1 a8388 1 if { (eval echo configure:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8414 1 a8414 1 echo "configure:8093: checking for getmntent" >&5 d8419 1 a8419 1 #line 8098 "configure" d8442 1 a8442 1 if { (eval echo configure:8121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8464 1 a8464 1 echo "configure:8143: checking for mntctl" >&5 d8469 1 a8469 1 #line 8148 "configure" d8492 1 a8492 1 if { (eval echo configure:8171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8514 1 a8514 1 echo "configure:8193: checking for getmntinfo_r" >&5 d8519 1 a8519 1 #line 8198 "configure" d8542 1 a8542 1 if { (eval echo configure:8221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8564 1 a8564 1 echo "configure:8243: checking for getmntinfo_r in -lc_r" >&5 d8572 1 a8572 1 #line 8251 "configure" d8583 1 a8583 1 if { (eval echo configure:8262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a8614 1 LCHOWN=no d8616 1 a8616 1 echo "configure:8296: checking for lchown" >&5 d8621 1 a8621 1 #line 8301 "configure" d8644 1 a8644 1 if { (eval echo configure:8324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8658 3 a8660 1 LCHOWN=yes; cat >> confdefs.h <<\EOF d8666 2 a8667 3 fi if test "$LCHOWN" = no; then d8669 1 a8669 1 echo "configure:8348: checking whether chown() follows symlinks" >&5 d8684 1 a8684 1 if test `id | cut -f2 -d\= | cut -f1 -d\(` = 0; then d8688 1 a8688 1 chown 10 bar d8694 1 a8694 1 rm -f foo bar d8697 1 a8697 1 echo "configure:8376: checking (cannot check by non-root user)" >&5 d8712 2 d8715 1 a8715 1 echo "configure:8392: checking root's primary group" >&5 d8721 1 a8721 1 #line 8398 "configure" d8750 1 a8750 1 if { (eval echo configure:8427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8875 4 a8878 1 unknown|pc) test -f /etc/redhat-release && RPMCANONVENDOR=redhat ;; d8944 6 d8955 1 a8955 1 INCPATH="$INCPATH -I\$(top_builddir)/misc" a8962 2 # XXX Propagate -lucb to popt ... export LIBS INCPATH CONFIG_SITE d9067 2 a9068 2 trap 'rm -fr `echo "Makefile rpmrc macros lib/Makefile build/Makefile tools/Makefile scripts/Makefile d9071 3 a9073 2 doc/Makefile doc/manual/Makefile doc/pl/Makefile doc/ru/Makefile python/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 a9141 2 s%@@LD@@%$LD%g s%@@NM@@%$NM%g d9152 1 d9154 2 d9160 1 d9163 3 d9167 5 d9197 2 d9214 1 d9260 2 a9261 2 CONFIG_FILES=\${CONFIG_FILES-"Makefile rpmrc macros lib/Makefile build/Makefile tools/Makefile scripts/Makefile d9264 3 a9266 2 doc/Makefile doc/manual/Makefile doc/pl/Makefile doc/ru/Makefile python/Makefile"} @ 1.5 log @Resolve: RPM 3.0.1 -> RPM 3.0.2 @ text @d15 1 a15 1 --enable-shared[=PKGS] build shared libraries [default=no]" d25 6 d37 4 d599 1 a599 1 echo "configure:590: checking host system type" >&5 d620 1 a620 1 echo "configure:611: checking target system type" >&5 d638 1 a638 1 echo "configure:629: checking build system type" >&5 d673 1 a673 1 echo "configure:664: checking for a BSD compatible install" >&5 d726 1 a726 1 echo "configure:717: checking whether build environment is sane" >&5 d783 1 a783 1 echo "configure:774: checking whether ${MAKE-make} sets \${MAKE}" >&5 d813 1 a813 1 VERSION=3.0.2 d830 1 a830 1 echo "configure:821: checking for working aclocal" >&5 d843 1 a843 1 echo "configure:834: checking for working autoconf" >&5 d856 1 a856 1 echo "configure:847: checking for working automake" >&5 d869 1 a869 1 echo "configure:860: checking for working autoheader" >&5 d882 1 a882 1 echo "configure:873: checking for working makeinfo" >&5 d901 1 a901 1 ALL_LINGUAS="cs de fi fr pt_BR ru sk sr sv tr" d927 1 a927 1 echo "configure:918: checking for $ac_word" >&5 d957 1 a957 1 echo "configure:948: checking for $ac_word" >&5 d1008 1 a1008 1 echo "configure:999: checking for $ac_word" >&5 d1040 1 a1040 1 echo "configure:1031: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1051 1 a1051 1 #line 1042 "configure" d1056 1 a1056 1 if { (eval echo configure:1047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1082 1 a1082 1 echo "configure:1073: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1087 1 a1087 1 echo "configure:1078: checking whether we are using GNU C" >&5 d1096 1 a1096 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1115 1 a1115 1 echo "configure:1106: checking whether ${CC-cc} accepts -g" >&5 d1151 1 a1151 1 echo "configure:1142: checking how to run the C preprocessor" >&5 d1166 1 a1166 1 #line 1157 "configure" d1172 1 a1172 1 { (eval echo configure:1163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1183 1 a1183 1 #line 1174 "configure" d1189 1 a1189 1 { (eval echo configure:1180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1200 1 a1200 1 #line 1191 "configure" d1206 1 a1206 1 { (eval echo configure:1197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1232 1 a1232 1 echo "configure:1223: checking whether ${CC-cc} needs -traditional" >&5 d1238 1 a1238 1 #line 1229 "configure" d1256 1 a1256 1 #line 1247 "configure" d1289 1 a1289 1 echo "configure:1280: checking for a BSD compatible install" >&5 d1343 1 a1343 1 echo "configure:1334: checking flag used by libtool to link rpm" >&5 d1380 1 a1380 1 echo "configure:1371: checking POSIX chmod" >&5 d1400 1 a1400 1 echo "configure:1391: checking for $ac_word" >&5 d1437 1 a1437 1 echo "configure:1428: checking if $MKDIR supports -p" >&5 d1471 1 a1471 1 echo "configure:1462: checking for AIX" >&5 d1473 1 a1473 1 #line 1464 "configure" d1496 1 a1496 1 echo "configure:1487: checking for minix/config.h" >&5 d1501 1 a1501 1 #line 1492 "configure" d1506 1 a1506 1 { (eval echo configure:1497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1544 1 a1544 1 echo "configure:1535: checking for POSIXized ISC" >&5 d1569 1 a1569 1 echo "configure:1560: checking for ${CC-cc} option to accept ANSI C" >&5 d1585 1 a1585 1 #line 1576 "configure" d1622 1 a1622 1 if { (eval echo configure:1613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1648 1 a1648 1 echo "configure:1639: checking for function prototypes" >&5 d1661 1 a1661 1 echo "configure:1652: checking for ANSI C header files" >&5 d1666 1 a1666 1 #line 1657 "configure" d1674 1 a1674 1 { (eval echo configure:1665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1691 1 a1691 1 #line 1682 "configure" d1709 1 a1709 1 #line 1700 "configure" d1730 1 a1730 1 #line 1721 "configure" d1741 1 a1741 1 if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1768 1 a1768 1 echo "configure:1759: checking for $ac_hdr" >&5 d1773 1 a1773 1 #line 1764 "configure" d1778 1 a1778 1 { (eval echo configure:1769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1812 1 a1812 1 echo "configure:1803: checking for $ac_word" >&5 d1842 1 a1842 1 echo "configure:1833: checking whether ln -s works" >&5 d1863 1 a1863 1 echo "configure:1854: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1910 1 a1910 1 enable_shared=no d1962 1 a1962 1 echo "configure:1953: checking for $ac_word" >&5 d2001 1 a2001 1 echo "configure:1992: checking for ld used by GCC" >&5 d2025 1 a2025 1 echo "configure:2016: checking for GNU ld" >&5 d2028 1 a2028 1 echo "configure:2019: checking for non-GNU ld" >&5 d2064 1 a2064 1 echo "configure:2055: checking if the linker ($LD) is GNU ld" >&5 d2080 1 a2080 1 echo "configure:2071: checking for BSD-compatible nm" >&5 d2145 2 a2146 2 echo '#line 2136 "configure"' > conftest.$ac_ext if { (eval echo configure:2137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2167 1 a2167 1 echo "configure:2158: checking whether the C compiler needs -belf" >&5 d2172 1 a2172 1 #line 2163 "configure" d2179 1 a2179 1 if { (eval echo configure:2170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2290 1 a2290 1 echo "configure:2281: checking for $ac_word" >&5 d2322 1 a2322 1 echo "configure:2313: checking for $ac_word" >&5 d2361 1 a2361 1 echo "configure:2352: checking for $ac_word" >&5 d2398 1 a2398 1 echo "configure:2389: checking for $ac_word" >&5 d2434 1 a2434 1 echo "configure:2425: checking for $ac_word" >&5 d2470 1 a2470 1 echo "configure:2461: checking for $ac_word" >&5 d2506 1 a2506 1 echo "configure:2497: checking for $ac_word" >&5 d2542 1 a2542 1 echo "configure:2533: checking for $ac_word" >&5 d2578 1 a2578 1 echo "configure:2569: checking for $ac_word" >&5 d2615 1 a2615 1 echo "configure:2606: checking for $ac_word" >&5 d2651 1 a2651 1 echo "configure:2642: checking for $ac_word" >&5 d2687 1 a2687 1 echo "configure:2678: checking for $ac_word" >&5 d2723 1 a2723 1 echo "configure:2714: checking for $ac_word" >&5 d2759 1 a2759 1 echo "configure:2750: checking for $ac_word" >&5 d2796 1 a2796 1 echo "configure:2787: checking for $ac_word" >&5 d2830 1 a2830 1 echo "configure:2821: checking old version of patch" >&5 d2846 1 a2846 1 echo "configure:2837: checking for $ac_word" >&5 d2882 1 a2882 1 echo "configure:2873: checking for $ac_word" >&5 d2918 1 a2918 1 echo "configure:2909: checking for $ac_word" >&5 d2974 1 a2974 1 echo "configure:2965: checking for $dir/lib in LIBS" >&5 d2983 1 a2983 1 echo "configure:2974: checking for $dir/include in INCPATH" >&5 d2993 1 a2993 1 echo "configure:2984: checking for /usr/ucblib in LIBS" >&5 d3007 52 d3060 1 a3060 1 echo "configure:2999: checking for strcasecmp" >&5 d3065 1 a3065 1 #line 3004 "configure" d3088 1 a3088 1 if { (eval echo configure:3027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3107 1 a3107 1 echo "configure:3046: checking for strcasecmp in -lucb" >&5 d3115 1 a3115 1 #line 3054 "configure" d3126 1 a3126 1 if { (eval echo configure:3065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3150 1 a3150 1 echo "configure:3089: checking for setreuid" >&5 d3155 1 a3155 1 #line 3094 "configure" d3178 1 a3178 1 if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3197 1 a3197 1 echo "configure:3136: checking for setreuid in -lucb" >&5 d3205 1 a3205 1 #line 3144 "configure" d3216 1 a3216 1 if { (eval echo configure:3155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3241 1 a3241 1 echo "configure:3180: checking for rand" >&5 d3246 1 a3246 1 #line 3185 "configure" d3269 1 a3269 1 if { (eval echo configure:3208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3288 1 a3288 1 echo "configure:3227: checking for rand in -lrand" >&5 d3296 1 a3296 1 #line 3235 "configure" d3307 1 a3307 1 if { (eval echo configure:3246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3332 1 a3332 1 echo "configure:3271: checking for getdomainname" >&5 d3337 1 a3337 1 #line 3276 "configure" d3360 1 a3360 1 if { (eval echo configure:3299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3379 1 a3379 1 echo "configure:3318: checking for getdomainname in -lnsl" >&5 d3387 1 a3387 1 #line 3326 "configure" d3398 1 a3398 1 if { (eval echo configure:3337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3422 1 a3422 1 echo "configure:3361: checking for socket" >&5 d3427 1 a3427 1 #line 3366 "configure" d3450 1 a3450 1 if { (eval echo configure:3389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3469 1 a3469 1 echo "configure:3408: checking for socket in -lsocket" >&5 d3477 1 a3477 1 #line 3416 "configure" d3488 1 a3488 1 if { (eval echo configure:3427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3513 1 a3513 1 echo "configure:3452: checking for fchmod" >&5 d3518 1 a3518 1 #line 3457 "configure" d3541 1 a3541 1 if { (eval echo configure:3480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3561 1 d3563 1 a3563 1 echo "configure:3501: checking for writev in -lport" >&5 d3571 1 a3571 1 #line 3509 "configure" d3582 1 a3582 1 if { (eval echo configure:3520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3611 1 a3611 1 echo "configure:3549: checking for dbopen" >&5 d3616 1 a3616 1 #line 3554 "configure" d3639 1 a3639 1 if { (eval echo configure:3577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3657 1 a3657 1 echo "configure:3595: checking for dbopen in -ldb1" >&5 d3665 1 a3665 1 #line 3603 "configure" d3676 1 a3676 1 if { (eval echo configure:3614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3691 1 a3691 8 ac_tr_lib=HAVE_LIB`echo db1 | sed -e 's/^a-zA-Z0-9_/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&5 d3703 1 a3703 1 #line 3648 "configure" d3714 1 a3714 1 if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3729 1 a3729 8 ac_tr_lib=HAVE_LIB`echo db | sed -e 's/^a-zA-Z0-9_/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&5 d3747 1 a3747 1 #line 3699 "configure" d3770 1 a3770 1 if { (eval echo configure:3722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3803 1 a3803 1 echo "configure:3755: checking for gzread in -l${zlib}" >&5 d3811 1 a3811 1 #line 3763 "configure" d3822 1 a3822 1 if { (eval echo configure:3774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a3847 1 BZ2LIB= d3850 1 a3850 1 echo "configure:3803: checking for bzread in -l${bz2lib}" >&5 d3858 1 a3858 1 #line 3811 "configure" d3869 1 a3869 1 if { (eval echo configure:3822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3896 1 a3896 1 echo "configure:3849: checking for error_at_line" >&5 d3901 1 a3901 1 #line 3854 "configure" d3908 1 a3908 1 if { (eval echo configure:3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3928 1 a3928 1 echo "configure:3881: checking for working const" >&5 d3933 1 a3933 1 #line 3886 "configure" d3982 1 a3982 1 if { (eval echo configure:3935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4003 1 a4003 1 echo "configure:3956: checking for inline" >&5 d4010 1 a4010 1 #line 3963 "configure" d4017 1 a4017 1 if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4043 1 a4043 1 echo "configure:3996: checking for off_t" >&5 d4048 1 a4048 1 #line 4001 "configure" d4076 1 a4076 1 echo "configure:4029: checking for size_t" >&5 d4081 1 a4081 1 #line 4034 "configure" d4111 1 a4111 1 echo "configure:4064: checking for working alloca.h" >&5 d4116 1 a4116 1 #line 4069 "configure" d4123 1 a4123 1 if { (eval echo configure:4076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4144 1 a4144 1 echo "configure:4097: checking for alloca" >&5 d4149 1 a4149 1 #line 4102 "configure" d4177 1 a4177 1 if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4209 1 a4209 1 echo "configure:4162: checking whether alloca needs Cray hooks" >&5 d4214 1 a4214 1 #line 4167 "configure" d4239 1 a4239 1 echo "configure:4192: checking for $ac_func" >&5 d4244 1 a4244 1 #line 4197 "configure" d4267 1 a4267 1 if { (eval echo configure:4220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4294 1 a4294 1 echo "configure:4247: checking stack direction for C alloca" >&5 d4302 1 a4302 1 #line 4255 "configure" d4321 1 a4321 1 if { (eval echo configure:4274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4346 1 a4346 1 echo "configure:4299: checking for $ac_hdr" >&5 d4351 1 a4351 1 #line 4304 "configure" d4356 1 a4356 1 { (eval echo configure:4309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4385 1 a4385 1 echo "configure:4338: checking for $ac_func" >&5 d4390 1 a4390 1 #line 4343 "configure" d4413 1 a4413 1 if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4438 1 a4438 1 echo "configure:4391: checking for working mmap" >&5 d4446 1 a4446 1 #line 4399 "configure" d4586 1 a4586 1 if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4614 1 a4614 1 echo "configure:4567: checking for $ac_hdr" >&5 d4619 1 a4619 1 #line 4572 "configure" d4624 1 a4624 1 { (eval echo configure:4577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4654 1 a4654 1 echo "configure:4607: checking for $ac_func" >&5 d4659 1 a4659 1 #line 4612 "configure" d4682 1 a4682 1 if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4711 1 a4711 1 echo "configure:4664: checking for $ac_func" >&5 d4716 1 a4716 1 #line 4669 "configure" d4739 1 a4739 1 if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4773 1 a4773 1 echo "configure:4726: checking for LC_MESSAGES" >&5 d4778 1 a4778 1 #line 4731 "configure" d4785 1 a4785 1 if { (eval echo configure:4738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4806 1 a4806 1 echo "configure:4759: checking whether NLS is requested" >&5 d4826 1 a4826 1 echo "configure:4779: checking whether included gettext is requested" >&5 d4845 1 a4845 1 echo "configure:4798: checking for libintl.h" >&5 d4850 1 a4850 1 #line 4803 "configure" d4855 1 a4855 1 { (eval echo configure:4808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4872 1 a4872 1 echo "configure:4825: checking for gettext in libc" >&5 d4877 1 a4877 1 #line 4830 "configure" d4884 1 a4884 1 if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4900 1 a4900 1 echo "configure:4853: checking for bindtextdomain in -lintl" >&5 d4908 1 a4908 1 #line 4861 "configure" d4919 1 a4919 1 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4935 1 a4935 1 echo "configure:4888: checking for gettext in libintl" >&5 d4940 1 a4940 1 echo "configure:4893: checking for gettext in -lintl" >&5 d4948 1 a4948 1 #line 4901 "configure" d4959 1 a4959 1 if { (eval echo configure:4912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4998 1 a4998 1 echo "configure:4951: checking for $ac_word" >&5 d5032 1 a5032 1 echo "configure:4985: checking for $ac_func" >&5 d5037 1 a5037 1 #line 4990 "configure" d5060 1 a5060 1 if { (eval echo configure:5013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5087 1 a5087 1 echo "configure:5040: checking for $ac_word" >&5 d5123 1 a5123 1 echo "configure:5076: checking for $ac_word" >&5 d5155 1 a5155 1 #line 5108 "configure" d5163 1 a5163 1 if { (eval echo configure:5116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5186 1 a5186 1 echo "configure:5139: checking whether catgets can be used" >&5 d5199 1 a5199 1 echo "configure:5152: checking for main in -li" >&5 d5207 1 a5207 1 #line 5160 "configure" d5214 1 a5214 1 if { (eval echo configure:5167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5242 1 a5242 1 echo "configure:5195: checking for catgets" >&5 d5247 1 a5247 1 #line 5200 "configure" d5270 1 a5270 1 if { (eval echo configure:5223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5292 1 a5292 1 echo "configure:5245: checking for $ac_word" >&5 d5328 1 a5328 1 echo "configure:5281: checking for $ac_word" >&5 d5365 1 a5365 1 echo "configure:5318: checking for $ac_word" >&5 d5400 1 a5400 1 echo "configure:5353: checking for $ac_word" >&5 d5458 1 a5458 1 echo "configure:5411: checking for $ac_word" >&5 d5492 1 a5492 1 echo "configure:5445: checking for $ac_word" >&5 d5528 1 a5528 1 echo "configure:5481: checking for $ac_word" >&5 d5621 1 a5621 1 echo "configure:5574: checking for catalogs to be installed" >&5 d5649 1 a5649 1 echo "configure:5602: checking for linux/version.h" >&5 d5654 1 a5654 1 #line 5607 "configure" d5659 1 a5659 1 { (eval echo configure:5612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5728 1 a5728 1 echo "configure:5681: checking for ANSI C header files" >&5 d5733 1 a5733 1 #line 5686 "configure" d5741 1 a5741 1 { (eval echo configure:5694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5758 1 a5758 1 #line 5711 "configure" d5776 1 a5776 1 #line 5729 "configure" d5797 1 a5797 1 #line 5750 "configure" d5808 1 a5808 1 if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5832 1 a5832 1 echo "configure:5785: checking whether sys/types.h defines makedev" >&5 d5837 1 a5837 1 #line 5790 "configure" d5844 1 a5844 1 if { (eval echo configure:5797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5862 1 a5862 1 echo "configure:5815: checking for sys/mkdev.h" >&5 d5867 1 a5867 1 #line 5820 "configure" d5872 1 a5872 1 { (eval echo configure:5825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5900 1 a5900 1 echo "configure:5853: checking for sys/sysmacros.h" >&5 d5905 1 a5905 1 #line 5858 "configure" d5910 1 a5910 1 { (eval echo configure:5863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5942 1 a5942 1 echo "configure:5895: checking for $ac_hdr that defines DIR" >&5 d5947 1 a5947 1 #line 5900 "configure" d5955 1 a5955 1 if { (eval echo configure:5908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d5980 1 a5980 1 echo "configure:5933: checking for opendir in -ldir" >&5 d5988 1 a5988 1 #line 5941 "configure" d5999 1 a5999 1 if { (eval echo configure:5952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6021 1 a6021 1 echo "configure:5974: checking for opendir in -lx" >&5 d6029 1 a6029 1 #line 5982 "configure" d6040 1 a6040 1 if { (eval echo configure:5993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6063 1 a6063 1 echo "configure:6016: checking whether time.h and sys/time.h may both be included" >&5 d6068 1 a6068 1 #line 6021 "configure" d6077 1 a6077 1 if { (eval echo configure:6030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6102 1 a6102 1 echo "configure:6055: checking for $ac_hdr" >&5 d6107 1 a6107 1 #line 6060 "configure" d6112 1 a6112 1 { (eval echo configure:6065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6142 1 a6142 1 echo "configure:6095: checking for $ac_hdr" >&5 d6147 1 a6147 1 #line 6100 "configure" d6152 1 a6152 1 { (eval echo configure:6105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6183 1 a6183 1 echo "configure:6136: checking for $ac_hdr" >&5 d6188 1 a6188 1 #line 6141 "configure" d6193 1 a6193 1 { (eval echo configure:6146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6223 1 a6223 1 echo "configure:6176: checking for $ac_hdr" >&5 d6228 1 a6228 1 #line 6181 "configure" d6233 1 a6233 1 { (eval echo configure:6186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6263 1 a6263 1 echo "configure:6216: checking for $ac_hdr" >&5 d6268 1 a6268 1 #line 6221 "configure" d6273 1 a6273 1 { (eval echo configure:6226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6304 1 a6304 1 echo "configure:6257: checking for $ac_hdr" >&5 d6309 1 a6309 1 #line 6262 "configure" d6314 1 a6314 1 { (eval echo configure:6267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6344 1 a6344 1 echo "configure:6297: checking for $ac_hdr" >&5 d6349 1 a6349 1 #line 6302 "configure" d6354 1 a6354 1 { (eval echo configure:6307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6384 1 a6384 1 echo "configure:6337: checking for $ac_hdr" >&5 d6389 1 a6389 1 #line 6342 "configure" d6394 1 a6394 1 { (eval echo configure:6347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6424 1 a6424 1 echo "configure:6377: checking for $ac_hdr" >&5 d6429 1 a6429 1 #line 6382 "configure" d6434 1 a6434 1 { (eval echo configure:6387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6464 41 a6504 1 echo "configure:6417: checking for $ac_hdr" >&5 d6509 1 a6509 1 #line 6422 "configure" d6514 1 a6514 1 { (eval echo configure:6427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6546 1 a6546 1 echo "configure:6459: checking for $ac_hdr" >&5 d6551 1 a6551 1 #line 6464 "configure" d6556 1 a6556 1 { (eval echo configure:6469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6584 1 a6584 1 echo "configure:6497: checking if rpmconvert should be built" >&5 d6594 10 d6608 1 a6608 1 echo "configure:6511: checking for $ac_hdr" >&5 d6613 1 a6613 1 #line 6516 "configure" d6618 1 a6618 1 { (eval echo configure:6521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6646 1 a6646 1 echo "configure:6549: checking for struct statfs" >&5 d6651 1 a6651 1 #line 6554 "configure" d6662 1 a6662 1 if { (eval echo configure:6565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6679 1 a6679 1 #line 6582 "configure" d6690 1 a6690 1 if { (eval echo configure:6593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6707 1 a6707 1 #line 6610 "configure" d6718 1 a6718 1 if { (eval echo configure:6621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6735 1 a6735 1 #line 6638 "configure" d6746 1 a6746 1 if { (eval echo configure:6649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6767 1 a6767 1 echo "configure:6670: checking for f_bavail member in struct statfs" >&5 d6769 1 a6769 1 #line 6672 "configure" d6793 1 a6793 1 if { (eval echo configure:6696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6812 1 a6812 1 echo "configure:6715: checking if statfs() requires 4 arguments" >&5 d6818 1 a6818 1 #line 6721 "configure" d6837 1 a6837 1 if { (eval echo configure:6740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6856 1 a6856 1 echo "configure:6759: checking for inline" >&5 d6863 1 a6863 1 #line 6766 "configure" d6870 1 a6870 1 if { (eval echo configure:6773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6898 1 a6898 1 echo "configure:6801: checking if defines h_errno" >&5 d6900 1 a6900 1 #line 6803 "configure" d6907 1 a6907 1 if { (eval echo configure:6810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6924 1 a6924 1 echo "configure:6827: checking if defines S_IFSOCK" >&5 d6926 1 a6926 1 #line 6829 "configure" d6933 1 a6933 1 if { (eval echo configure:6836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6952 1 a6952 1 echo "configure:6855: checking if defines S_ISLNK" >&5 d6954 1 a6954 1 #line 6857 "configure" d6961 1 a6961 1 if { (eval echo configure:6864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6980 1 a6980 1 echo "configure:6883: checking if defines S_ISSOCK" >&5 d6982 1 a6982 1 #line 6885 "configure" d6989 1 a6989 1 if { (eval echo configure:6892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7008 1 a7008 1 echo "configure:6911: checking if timezone is defined" >&5 d7010 1 a7010 1 #line 6913 "configure" d7017 1 a7017 1 if { (eval echo configure:6920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7030 1 a7030 1 echo "configure:6933: checking for mode_t" >&5 d7035 1 a7035 1 #line 6938 "configure" d7063 1 a7063 1 echo "configure:6966: checking for pid_t" >&5 d7068 1 a7068 1 #line 6971 "configure" d7099 1 a7099 1 echo "configure:7002: checking for working alloca.h" >&5 d7104 1 a7104 1 #line 7007 "configure" d7111 1 a7111 1 if { (eval echo configure:7014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7132 1 a7132 1 echo "configure:7035: checking for alloca" >&5 d7137 1 a7137 1 #line 7040 "configure" d7165 1 a7165 1 if { (eval echo configure:7068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7197 1 a7197 1 echo "configure:7100: checking whether alloca needs Cray hooks" >&5 d7202 1 a7202 1 #line 7105 "configure" d7227 1 a7227 1 echo "configure:7130: checking for $ac_func" >&5 d7232 1 a7232 1 #line 7135 "configure" d7255 1 a7255 1 if { (eval echo configure:7158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7282 1 a7282 1 echo "configure:7185: checking stack direction for C alloca" >&5 d7290 1 a7290 1 #line 7193 "configure" d7309 1 a7309 1 if { (eval echo configure:7212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7331 1 a7331 1 echo "configure:7234: checking for vprintf" >&5 d7336 1 a7336 1 #line 7239 "configure" d7359 1 a7359 1 if { (eval echo configure:7262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7383 1 a7383 1 echo "configure:7286: checking for _doprnt" >&5 d7388 1 a7388 1 #line 7291 "configure" d7411 1 a7411 1 if { (eval echo configure:7314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7437 1 a7437 1 echo "configure:7340: checking for working fnmatch" >&5 d7448 1 a7448 1 #line 7351 "configure" d7452 1 a7452 1 if { (eval echo configure:7355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7483 1 a7483 1 for ac_func in getcwd getwd glob inet_aton putenv realpath d7486 1 a7486 1 echo "configure:7389: checking for $ac_func" >&5 d7491 1 a7491 1 #line 7394 "configure" d7514 57 a7570 1 if { (eval echo configure:7417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7599 1 a7599 1 echo "configure:7446: checking for $ac_func" >&5 d7604 1 a7604 1 #line 7451 "configure" d7627 1 a7627 1 if { (eval echo configure:7474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7657 1 a7657 1 echo "configure:7504: checking for $ac_func" >&5 d7662 1 a7662 1 #line 7509 "configure" d7685 1 a7685 1 if { (eval echo configure:7532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7714 1 a7714 1 echo "configure:7561: checking for $ac_func" >&5 d7719 1 a7719 1 #line 7566 "configure" d7742 1 a7742 1 if { (eval echo configure:7589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7769 210 d7982 1 a7982 1 echo "configure:7619: checking for $ac_func" >&5 d7987 1 a7987 1 #line 7624 "configure" d8010 57 a8066 1 if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8092 1 a8092 1 echo "configure:7673: checking for getmntent" >&5 d8097 1 a8097 1 #line 7678 "configure" d8120 1 a8120 1 if { (eval echo configure:7701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8142 1 a8142 1 echo "configure:7723: checking for mntctl" >&5 d8147 1 a8147 1 #line 7728 "configure" d8170 1 a8170 1 if { (eval echo configure:7751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8192 1 a8192 1 echo "configure:7773: checking for getmntinfo_r" >&5 d8197 1 a8197 1 #line 7778 "configure" d8220 1 a8220 1 if { (eval echo configure:7801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8242 1 a8242 1 echo "configure:7823: checking for getmntinfo_r in -lc_r" >&5 d8250 1 a8250 1 #line 7831 "configure" d8261 1 a8261 1 if { (eval echo configure:7842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8292 1 d8295 1 a8295 1 echo "configure:7875: checking for lchown" >&5 d8300 1 a8300 1 #line 7880 "configure" d8323 1 a8323 1 if { (eval echo configure:7903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a8344 1 d8347 1 a8347 1 echo "configure:7928: checking whether chown() follows symlinks" >&5 d8375 1 a8375 1 echo "configure:7956: checking (cannot check by non-root user)" >&5 d8391 1 a8391 1 echo "configure:7972: checking root's primary group" >&5 d8397 1 a8397 1 #line 7978 "configure" d8426 1 a8426 1 if { (eval echo configure:8007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8564 6 a8569 1 LOCALEDIR="`echo ${prefix}/share/locale`" d8575 1 a8575 1 RPMCONFIGDIR="`echo ${prefix}/lib/rpm`" d8621 3 d8739 3 a8741 1 misc/Makefile po/Makefile.in intl/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 d8854 1 d8918 3 a8920 1 misc/Makefile po/Makefile.in intl/Makefile"} d9142 2 a9143 2 touch Makefile.in sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile @ 1.4 log @Resolve: RPM 3.0 -> RPM 3.0.1 @ text @d23 1 a23 1 --disable-libtool-lock force libtool not to do file locking" d803 1 a803 1 VERSION=3.0.1 d1365 1 a1365 1 LDFLAGS_STATIC="${LDFLAGS_STATIC}-static" # libtool format d1995 1 a1995 1 /* | [A-Za-z]:[\\/]*) d2024 1 a2024 1 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" d2027 1 a2027 1 if test -f "$ac_dir/$ac_prog"; then d2078 1 a2078 1 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" d2081 1 a2081 1 if test -f $ac_dir/nm; then a2105 210 # Check for command to grab the raw symbol name followed by C symbol from nm. echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6 echo "configure:2109: checking command to parse $NM output" >&5 if eval "test \"`echo '$''{'ac_cv_sys_global_symbol_pipe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else # These are sane defaults that work on at least a few old systems. # {They come from Ultrix. What could be older than Ultrix?!! ;)} # Character class describing NM global symbol codes. ac_symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. ac_sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform the above into a raw symbol and a C symbol. ac_symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration ac_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" # Define system-specific variables. case "$host_os" in aix*) ac_symcode='[BCDT]' ;; cygwin* | mingw*) ac_symcode='[ABCDGISTW]' ;; hpux*) ac_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^. .* \(.*\)$/extern char \1;/p'" ;; irix*) ac_symcode='[BCDEGRST]' ;; solaris*) ac_symcode='[BDT]' ;; esac # If we're using GNU nm, then use its standard symbol codes. if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then ac_symcode='[ABCDGISTW]' fi # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do ac_cv_sys_global_symbol_pipe="sed -n -e 's/^.* \($ac_symcode\) *\($ac_symprfx\)$ac_sympat$/$ac_symxfrm/p'" # Check to see that the pipe works correctly. ac_pipe_works=no rm -f conftest.$ac_ext cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then # Now try to grab the symbols. ac_nlist=conftest.nm if { (eval echo configure:2176: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5; } && test -s "$ac_nlist"; then # Try sorting and uniquifying the output. if sort "$ac_nlist" | uniq > "$ac_nlist"T; then mv -f "$ac_nlist"T "$ac_nlist" else rm -f "$ac_nlist"T fi # Make sure that we snagged all the symbols we need. if egrep ' nm_test_var$' "$ac_nlist" >/dev/null; then if egrep ' nm_test_func$' "$ac_nlist" >/dev/null; then cat < conftest.c #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$ac_global_symbol_to_cdecl"' < "$ac_nlist" >> conftest.c' cat <> conftest.c #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[] = { EOF sed 's/^. \(.*\) \(.*\)$/ {"\2", (lt_ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c cat <<\EOF >> conftest.c {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftestm.$ac_objext ac_save_LIBS="$LIBS" ac_save_CFLAGS="$CFLAGS" LIBS="conftestm.$ac_objext" CFLAGS="$CFLAGS$no_builtin_flag" if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_pipe_works=yes else echo "configure: failed program was:" >&5 cat conftest.c >&5 fi LIBS="$ac_save_LIBS" CFLAGS="$ac_save_CFLAGS" else echo "cannot find nm_test_func in $ac_nlist" >&5 fi else echo "cannot find nm_test_var in $ac_nlist" >&5 fi else echo "cannot run $ac_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.c >&5 fi rm -rf conftest* # Do not use the global_symbol_pipe unless it works. if test "$ac_pipe_works" = yes; then if test x"$ac_symprfx" = x"_"; then ac_cv_sys_symbol_underscore=yes else ac_cv_sys_symbol_underscore=no fi break else ac_cv_sys_global_symbol_pipe= fi done fi ac_result=yes if test -z "$ac_cv_sys_global_symbol_pipe"; then ac_result=no fi echo "$ac_t""$ac_result" 1>&6 echo $ac_n "checking for _ prefix in compiled symbols""... $ac_c" 1>&6 echo "configure:2274: checking for _ prefix in compiled symbols" >&5 if eval "test \"`echo '$''{'ac_cv_sys_symbol_underscore'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_sys_symbol_underscore=no cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then # Now try to grab the symbols. ac_nlist=conftest.nm if { (eval echo configure:2286: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5; } && test -s "$ac_nlist"; then # See whether the symbols have a leading underscore. if egrep '^. _nm_test_func' "$ac_nlist" >/dev/null; then ac_cv_sys_symbol_underscore=yes else if egrep '^. nm_test_func ' "$ac_nlist" >/dev/null; then : else echo "configure: cannot find nm_test_func in $ac_nlist" >&5 fi fi else echo "configure: cannot run $ac_cv_sys_global_symbol_pipe" >&5 fi else echo "configure: failed program was:" >&5 cat conftest.c >&5 fi rm -rf conftest* fi echo "$ac_t""$ac_cv_sys_symbol_underscore" 1>&6 USE_SYMBOL_UNDERSCORE=${ac_cv_sys_symbol_underscore=no} if test $host != $build; then ac_tool_prefix=${host_alias}- else ac_tool_prefix= fi a2116 2 test "$lt_dlopen" = yes && libtool_flags="$libtool_flags --enable-dlopen" test "$silent" = yes && libtool_flags="$libtool_flags --silent" d2120 10 d2135 2 a2136 2 echo '#line 2338 "configure"' > conftest.$ac_ext if { (eval echo configure:2339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2157 1 a2157 1 echo "configure:2360: checking whether the C compiler needs -belf" >&5 d2162 1 a2162 1 #line 2365 "configure" d2169 1 a2169 1 if { (eval echo configure:2372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a2187 137 *-*-cygwin*) # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2395: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else 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_prog_DLLTOOL="${ac_tool_prefix}dlltool" break fi done IFS="$ac_save_ifs" fi fi DLLTOOL="$ac_cv_prog_DLLTOOL" if test -n "$DLLTOOL"; then echo "$ac_t""$DLLTOOL" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$ac_cv_prog_DLLTOOL"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2427: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else 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_prog_DLLTOOL="dlltool" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false" fi fi DLLTOOL="$ac_cv_prog_DLLTOOL" if test -n "$DLLTOOL"; then echo "$ac_t""$DLLTOOL" 1>&6 else echo "$ac_t""no" 1>&6 fi else DLLTOOL="false" fi fi # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. set dummy ${ac_tool_prefix}as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2462: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$AS"; then ac_cv_prog_AS="$AS" # Let the user override the test. else 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_prog_AS="${ac_tool_prefix}as" break fi done IFS="$ac_save_ifs" fi fi AS="$ac_cv_prog_AS" if test -n "$AS"; then echo "$ac_t""$AS" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$ac_cv_prog_AS"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2494: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$AS"; then ac_cv_prog_AS="$AS" # Let the user override the test. else 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_prog_AS="as" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false" fi fi AS="$ac_cv_prog_AS" if test -n "$AS"; then echo "$ac_t""$AS" 1>&6 else echo "$ac_t""no" 1>&6 fi else AS="false" fi fi ;; a2190 15 # enable the --disable-libtool-lock switch # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" need_locks=$enableval else need_locks=yes fi if test x"$need_locks" = xno; then libtool_flags="$libtool_flags --disable-lock" fi d2243 3 a2245 2 LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \ DLLTOOL="$DLLTOOL" AS="$AS" \ d2271 6 d2280 1 a2280 1 echo "configure:2628: checking for $ac_word" >&5 d2312 1 a2312 1 echo "configure:2660: checking for $ac_word" >&5 d2351 1 a2351 1 echo "configure:2699: checking for $ac_word" >&5 d2388 1 a2388 1 echo "configure:2736: checking for $ac_word" >&5 d2424 1 a2424 1 echo "configure:2772: checking for $ac_word" >&5 d2460 1 a2460 1 echo "configure:2808: checking for $ac_word" >&5 d2496 1 a2496 1 echo "configure:2844: checking for $ac_word" >&5 d2532 1 a2532 1 echo "configure:2880: checking for $ac_word" >&5 d2568 1 a2568 1 echo "configure:2916: checking for $ac_word" >&5 d2605 1 a2605 1 echo "configure:2953: checking for $ac_word" >&5 d2641 1 a2641 1 echo "configure:2989: checking for $ac_word" >&5 d2677 1 a2677 1 echo "configure:3025: checking for $ac_word" >&5 d2713 1 a2713 1 echo "configure:3061: checking for $ac_word" >&5 d2749 1 a2749 1 echo "configure:3097: checking for $ac_word" >&5 d2786 1 a2786 1 echo "configure:3134: checking for $ac_word" >&5 d2820 1 a2820 1 echo "configure:3168: checking old version of patch" >&5 d2836 1 a2836 1 echo "configure:3184: checking for $ac_word" >&5 d2872 1 a2872 1 echo "configure:3220: checking for $ac_word" >&5 d2908 1 a2908 1 echo "configure:3256: checking for $ac_word" >&5 d2964 1 a2964 1 echo "configure:3312: checking for $dir/lib in LIBS" >&5 d2973 1 a2973 1 echo "configure:3321: checking for $dir/include in INCPATH" >&5 d2983 1 a2983 1 echo "configure:3331: checking for /usr/ucblib in LIBS" >&5 d2998 1 a2998 1 echo "configure:3346: checking for strcasecmp" >&5 d3003 1 a3003 1 #line 3351 "configure" d3026 1 a3026 1 if { (eval echo configure:3374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3045 1 a3045 1 echo "configure:3393: checking for strcasecmp in -lucb" >&5 d3053 1 a3053 1 #line 3401 "configure" d3064 1 a3064 1 if { (eval echo configure:3412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3088 1 a3088 1 echo "configure:3436: checking for setreuid" >&5 d3093 1 a3093 1 #line 3441 "configure" d3116 1 a3116 1 if { (eval echo configure:3464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3135 1 a3135 1 echo "configure:3483: checking for setreuid in -lucb" >&5 d3143 1 a3143 1 #line 3491 "configure" d3154 1 a3154 1 if { (eval echo configure:3502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3179 1 a3179 1 echo "configure:3527: checking for rand" >&5 d3184 1 a3184 1 #line 3532 "configure" d3207 1 a3207 1 if { (eval echo configure:3555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3226 1 a3226 1 echo "configure:3574: checking for rand in -lrand" >&5 d3234 1 a3234 1 #line 3582 "configure" d3245 1 a3245 1 if { (eval echo configure:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3270 1 a3270 1 echo "configure:3618: checking for getdomainname" >&5 d3275 1 a3275 1 #line 3623 "configure" d3298 1 a3298 1 if { (eval echo configure:3646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3317 1 a3317 1 echo "configure:3665: checking for getdomainname in -lnsl" >&5 d3325 1 a3325 1 #line 3673 "configure" d3336 1 a3336 1 if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3360 1 a3360 1 echo "configure:3708: checking for socket" >&5 d3365 1 a3365 1 #line 3713 "configure" d3388 1 a3388 1 if { (eval echo configure:3736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3407 1 a3407 1 echo "configure:3755: checking for socket in -lsocket" >&5 d3415 1 a3415 1 #line 3763 "configure" d3426 1 a3426 1 if { (eval echo configure:3774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3450 97 d3548 1 a3548 1 echo "configure:3799: checking for dbopen" >&5 d3553 1 a3553 1 #line 3804 "configure" d3576 1 a3576 1 if { (eval echo configure:3827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3594 1 a3594 1 echo "configure:3845: checking for dbopen in -ldb1" >&5 d3602 1 a3602 1 #line 3853 "configure" d3613 1 a3613 1 if { (eval echo configure:3864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3639 1 a3639 1 echo "configure:3890: checking for dbopen in -ldb" >&5 d3647 1 a3647 1 #line 3898 "configure" d3658 1 a3658 1 if { (eval echo configure:3909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3693 1 a3693 1 echo "configure:3944: checking for fork" >&5 d3698 1 a3698 1 #line 3949 "configure" d3721 1 a3721 1 if { (eval echo configure:3972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3754 1 a3754 1 echo "configure:4005: checking for gzread in -l${zlib}" >&5 d3762 1 a3762 1 #line 4013 "configure" d3773 1 a3773 1 if { (eval echo configure:4024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3802 1 a3802 1 echo "configure:4053: checking for bzread in -l${bz2lib}" >&5 d3810 1 a3810 1 #line 4061 "configure" d3821 1 a3821 1 if { (eval echo configure:4072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3848 1 a3848 1 echo "configure:4099: checking for error_at_line" >&5 d3853 1 a3853 1 #line 4104 "configure" d3860 1 a3860 1 if { (eval echo configure:4111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3880 1 a3880 1 echo "configure:4131: checking for working const" >&5 d3885 1 a3885 1 #line 4136 "configure" d3934 1 a3934 1 if { (eval echo configure:4185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d3955 1 a3955 1 echo "configure:4206: checking for inline" >&5 d3962 1 a3962 1 #line 4213 "configure" d3969 1 a3969 1 if { (eval echo configure:4220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d3995 1 a3995 1 echo "configure:4246: checking for off_t" >&5 d4000 1 a4000 1 #line 4251 "configure" d4028 1 a4028 1 echo "configure:4279: checking for size_t" >&5 d4033 1 a4033 1 #line 4284 "configure" d4063 1 a4063 1 echo "configure:4314: checking for working alloca.h" >&5 d4068 1 a4068 1 #line 4319 "configure" d4075 1 a4075 1 if { (eval echo configure:4326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4096 1 a4096 1 echo "configure:4347: checking for alloca" >&5 d4101 1 a4101 1 #line 4352 "configure" d4129 1 a4129 1 if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4161 1 a4161 1 echo "configure:4412: checking whether alloca needs Cray hooks" >&5 d4166 1 a4166 1 #line 4417 "configure" d4191 1 a4191 1 echo "configure:4442: checking for $ac_func" >&5 d4196 1 a4196 1 #line 4447 "configure" d4219 1 a4219 1 if { (eval echo configure:4470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4246 1 a4246 1 echo "configure:4497: checking stack direction for C alloca" >&5 d4254 1 a4254 1 #line 4505 "configure" d4273 1 a4273 1 if { (eval echo configure:4524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4298 1 a4298 1 echo "configure:4549: checking for $ac_hdr" >&5 d4303 1 a4303 1 #line 4554 "configure" d4308 1 a4308 1 { (eval echo configure:4559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4337 1 a4337 1 echo "configure:4588: checking for $ac_func" >&5 d4342 1 a4342 1 #line 4593 "configure" d4365 1 a4365 1 if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4390 1 a4390 1 echo "configure:4641: checking for working mmap" >&5 d4398 1 a4398 1 #line 4649 "configure" d4538 1 a4538 1 if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4566 1 a4566 1 echo "configure:4817: checking for $ac_hdr" >&5 d4571 1 a4571 1 #line 4822 "configure" d4576 1 a4576 1 { (eval echo configure:4827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4606 1 a4606 1 echo "configure:4857: checking for $ac_func" >&5 d4611 1 a4611 1 #line 4862 "configure" d4634 1 a4634 1 if { (eval echo configure:4885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4663 1 a4663 1 echo "configure:4914: checking for $ac_func" >&5 d4668 1 a4668 1 #line 4919 "configure" d4691 1 a4691 1 if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4725 1 a4725 1 echo "configure:4976: checking for LC_MESSAGES" >&5 d4730 1 a4730 1 #line 4981 "configure" d4737 1 a4737 1 if { (eval echo configure:4988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4758 1 a4758 1 echo "configure:5009: checking whether NLS is requested" >&5 d4778 1 a4778 1 echo "configure:5029: checking whether included gettext is requested" >&5 d4797 1 a4797 1 echo "configure:5048: checking for libintl.h" >&5 d4802 1 a4802 1 #line 5053 "configure" d4807 1 a4807 1 { (eval echo configure:5058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4824 1 a4824 1 echo "configure:5075: checking for gettext in libc" >&5 d4829 1 a4829 1 #line 5080 "configure" d4836 1 a4836 1 if { (eval echo configure:5087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4852 1 a4852 1 echo "configure:5103: checking for bindtextdomain in -lintl" >&5 d4860 1 a4860 1 #line 5111 "configure" d4871 1 a4871 1 if { (eval echo configure:5122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4887 1 a4887 1 echo "configure:5138: checking for gettext in libintl" >&5 d4892 1 a4892 1 echo "configure:5143: checking for gettext in -lintl" >&5 d4900 1 a4900 1 #line 5151 "configure" d4911 1 a4911 1 if { (eval echo configure:5162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4950 1 a4950 1 echo "configure:5201: checking for $ac_word" >&5 d4984 1 a4984 1 echo "configure:5235: checking for $ac_func" >&5 d4989 1 a4989 1 #line 5240 "configure" d5012 1 a5012 1 if { (eval echo configure:5263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5039 1 a5039 1 echo "configure:5290: checking for $ac_word" >&5 d5075 1 a5075 1 echo "configure:5326: checking for $ac_word" >&5 d5107 1 a5107 1 #line 5358 "configure" d5115 1 a5115 1 if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5138 1 a5138 1 echo "configure:5389: checking whether catgets can be used" >&5 d5151 1 a5151 1 echo "configure:5402: checking for main in -li" >&5 d5159 1 a5159 1 #line 5410 "configure" d5166 1 a5166 1 if { (eval echo configure:5417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5194 1 a5194 1 echo "configure:5445: checking for catgets" >&5 d5199 1 a5199 1 #line 5450 "configure" d5222 1 a5222 1 if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5244 1 a5244 1 echo "configure:5495: checking for $ac_word" >&5 d5280 1 a5280 1 echo "configure:5531: checking for $ac_word" >&5 d5317 1 a5317 1 echo "configure:5568: checking for $ac_word" >&5 d5352 1 a5352 1 echo "configure:5603: checking for $ac_word" >&5 d5410 1 a5410 1 echo "configure:5661: checking for $ac_word" >&5 d5444 1 a5444 1 echo "configure:5695: checking for $ac_word" >&5 d5480 1 a5480 1 echo "configure:5731: checking for $ac_word" >&5 d5573 1 a5573 1 echo "configure:5824: checking for catalogs to be installed" >&5 d5601 1 a5601 1 echo "configure:5852: checking for linux/version.h" >&5 d5606 1 a5606 1 #line 5857 "configure" d5611 1 a5611 1 { (eval echo configure:5862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5680 1 a5680 1 echo "configure:5931: checking for ANSI C header files" >&5 d5685 1 a5685 1 #line 5936 "configure" d5693 1 a5693 1 { (eval echo configure:5944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5710 1 a5710 1 #line 5961 "configure" d5728 1 a5728 1 #line 5979 "configure" d5749 1 a5749 1 #line 6000 "configure" d5760 1 a5760 1 if { (eval echo configure:6011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5784 1 a5784 1 echo "configure:6035: checking whether sys/types.h defines makedev" >&5 d5789 1 a5789 1 #line 6040 "configure" d5796 1 a5796 1 if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5814 1 a5814 1 echo "configure:6065: checking for sys/mkdev.h" >&5 d5819 1 a5819 1 #line 6070 "configure" d5824 1 a5824 1 { (eval echo configure:6075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5852 1 a5852 1 echo "configure:6103: checking for sys/sysmacros.h" >&5 d5857 1 a5857 1 #line 6108 "configure" d5862 1 a5862 1 { (eval echo configure:6113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5894 1 a5894 1 echo "configure:6145: checking for $ac_hdr that defines DIR" >&5 d5899 1 a5899 1 #line 6150 "configure" d5907 1 a5907 1 if { (eval echo configure:6158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d5932 1 a5932 1 echo "configure:6183: checking for opendir in -ldir" >&5 d5940 1 a5940 1 #line 6191 "configure" d5951 1 a5951 1 if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5973 1 a5973 1 echo "configure:6224: checking for opendir in -lx" >&5 d5981 1 a5981 1 #line 6232 "configure" d5992 1 a5992 1 if { (eval echo configure:6243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6015 1 a6015 1 echo "configure:6266: checking whether time.h and sys/time.h may both be included" >&5 d6020 1 a6020 1 #line 6271 "configure" d6029 1 a6029 1 if { (eval echo configure:6280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6054 1 a6054 1 echo "configure:6305: checking for $ac_hdr" >&5 d6059 1 a6059 1 #line 6310 "configure" d6064 1 a6064 1 { (eval echo configure:6315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6094 1 a6094 1 echo "configure:6345: checking for $ac_hdr" >&5 d6099 1 a6099 1 #line 6350 "configure" d6104 1 a6104 1 { (eval echo configure:6355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6135 1 a6135 1 echo "configure:6386: checking for $ac_hdr" >&5 d6140 1 a6140 1 #line 6391 "configure" d6145 1 a6145 1 { (eval echo configure:6396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6175 1 a6175 1 echo "configure:6426: checking for $ac_hdr" >&5 d6180 1 a6180 1 #line 6431 "configure" d6185 1 a6185 1 { (eval echo configure:6436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6215 1 a6215 1 echo "configure:6466: checking for $ac_hdr" >&5 d6220 1 a6220 1 #line 6471 "configure" d6225 1 a6225 1 { (eval echo configure:6476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6256 1 a6256 1 echo "configure:6507: checking for $ac_hdr" >&5 d6261 1 a6261 1 #line 6512 "configure" d6266 1 a6266 1 { (eval echo configure:6517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6296 1 a6296 1 echo "configure:6547: checking for $ac_hdr" >&5 d6301 1 a6301 1 #line 6552 "configure" d6306 1 a6306 1 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6336 1 a6336 1 echo "configure:6587: checking for $ac_hdr" >&5 d6341 1 a6341 1 #line 6592 "configure" d6346 1 a6346 1 { (eval echo configure:6597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6376 1 a6376 1 echo "configure:6627: checking for $ac_hdr" >&5 d6381 1 a6381 1 #line 6632 "configure" d6386 1 a6386 1 { (eval echo configure:6637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6416 1 a6416 1 echo "configure:6667: checking for $ac_hdr" >&5 d6421 1 a6421 1 #line 6672 "configure" d6426 1 a6426 1 { (eval echo configure:6677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6458 1 a6458 1 echo "configure:6709: checking for $ac_hdr" >&5 d6463 1 a6463 1 #line 6714 "configure" d6468 1 a6468 1 { (eval echo configure:6719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6496 1 a6496 1 echo "configure:6747: checking if rpmconvert should be built" >&5 d6510 1 a6510 1 echo "configure:6761: checking for $ac_hdr" >&5 d6515 1 a6515 1 #line 6766 "configure" d6520 1 a6520 1 { (eval echo configure:6771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6548 1 a6548 1 echo "configure:6799: checking for struct statfs" >&5 d6553 1 a6553 1 #line 6804 "configure" d6564 1 a6564 1 if { (eval echo configure:6815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6581 1 a6581 1 #line 6832 "configure" d6592 1 a6592 1 if { (eval echo configure:6843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6609 1 a6609 1 #line 6860 "configure" d6620 1 a6620 1 if { (eval echo configure:6871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6637 1 a6637 1 #line 6888 "configure" d6648 1 a6648 1 if { (eval echo configure:6899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6669 1 a6669 1 echo "configure:6920: checking for f_bavail member in struct statfs" >&5 d6671 1 a6671 1 #line 6922 "configure" d6695 1 a6695 1 if { (eval echo configure:6946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6714 1 a6714 1 echo "configure:6965: checking if statfs() requires 4 arguments" >&5 d6720 1 a6720 1 #line 6971 "configure" d6739 1 a6739 1 if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6758 1 a6758 1 echo "configure:7009: checking for inline" >&5 d6765 1 a6765 1 #line 7016 "configure" d6772 1 a6772 1 if { (eval echo configure:7023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6800 1 a6800 1 echo "configure:7051: checking if defines h_errno" >&5 d6802 1 a6802 1 #line 7053 "configure" d6809 1 a6809 1 if { (eval echo configure:7060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6826 1 a6826 1 echo "configure:7077: checking if defines S_IFSOCK" >&5 d6828 1 a6828 1 #line 7079 "configure" d6835 1 a6835 1 if { (eval echo configure:7086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6854 1 a6854 1 echo "configure:7105: checking if defines S_ISLNK" >&5 d6856 1 a6856 1 #line 7107 "configure" d6863 1 a6863 1 if { (eval echo configure:7114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6882 1 a6882 1 echo "configure:7133: checking if defines S_ISSOCK" >&5 d6884 1 a6884 1 #line 7135 "configure" d6891 1 a6891 1 if { (eval echo configure:7142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6910 1 a6910 1 echo "configure:7161: checking if timezone is defined" >&5 d6912 1 a6912 1 #line 7163 "configure" d6919 1 a6919 1 if { (eval echo configure:7170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6932 1 a6932 1 echo "configure:7183: checking for mode_t" >&5 d6937 1 a6937 1 #line 7188 "configure" d6965 1 a6965 1 echo "configure:7216: checking for pid_t" >&5 d6970 1 a6970 1 #line 7221 "configure" d7001 1 a7001 1 echo "configure:7252: checking for working alloca.h" >&5 d7006 1 a7006 1 #line 7257 "configure" d7013 1 a7013 1 if { (eval echo configure:7264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7034 1 a7034 1 echo "configure:7285: checking for alloca" >&5 d7039 1 a7039 1 #line 7290 "configure" d7067 1 a7067 1 if { (eval echo configure:7318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7099 1 a7099 1 echo "configure:7350: checking whether alloca needs Cray hooks" >&5 d7104 1 a7104 1 #line 7355 "configure" d7129 1 a7129 1 echo "configure:7380: checking for $ac_func" >&5 d7134 1 a7134 1 #line 7385 "configure" d7157 1 a7157 1 if { (eval echo configure:7408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7184 1 a7184 1 echo "configure:7435: checking stack direction for C alloca" >&5 d7192 1 a7192 1 #line 7443 "configure" d7211 1 a7211 1 if { (eval echo configure:7462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7233 1 a7233 1 echo "configure:7484: checking for vprintf" >&5 d7238 1 a7238 1 #line 7489 "configure" d7261 1 a7261 1 if { (eval echo configure:7512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7285 1 a7285 1 echo "configure:7536: checking for _doprnt" >&5 d7290 1 a7290 1 #line 7541 "configure" d7313 1 a7313 1 if { (eval echo configure:7564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7339 1 a7339 1 echo "configure:7590: checking for working fnmatch" >&5 d7350 1 a7350 1 #line 7601 "configure" d7354 1 a7354 1 if { (eval echo configure:7605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7388 1 a7388 1 echo "configure:7639: checking for $ac_func" >&5 d7393 1 a7393 1 #line 7644 "configure" d7416 1 a7416 1 if { (eval echo configure:7667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7445 1 a7445 1 echo "configure:7696: checking for $ac_func" >&5 d7450 1 a7450 1 #line 7701 "configure" d7473 1 a7473 1 if { (eval echo configure:7724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7503 1 a7503 1 echo "configure:7754: checking for $ac_func" >&5 d7508 1 a7508 1 #line 7759 "configure" d7531 1 a7531 1 if { (eval echo configure:7782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7560 1 a7560 1 echo "configure:7811: checking for $ac_func" >&5 d7565 1 a7565 1 #line 7816 "configure" d7588 1 a7588 1 if { (eval echo configure:7839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7618 1 a7618 1 echo "configure:7869: checking for $ac_func" >&5 d7623 1 a7623 1 #line 7874 "configure" d7646 1 a7646 1 if { (eval echo configure:7897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7672 1 a7672 1 echo "configure:7923: checking for getmntent" >&5 d7677 1 a7677 1 #line 7928 "configure" d7700 1 a7700 1 if { (eval echo configure:7951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7722 1 a7722 1 echo "configure:7973: checking for mntctl" >&5 d7727 1 a7727 1 #line 7978 "configure" d7750 1 a7750 1 if { (eval echo configure:8001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7772 1 a7772 1 echo "configure:8023: checking for getmntinfo_r" >&5 d7777 1 a7777 1 #line 8028 "configure" d7800 1 a7800 1 if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7822 1 a7822 1 echo "configure:8073: checking for getmntinfo_r in -lc_r" >&5 d7830 1 a7830 1 #line 8081 "configure" d7841 1 a7841 1 if { (eval echo configure:8092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7874 1 a7874 1 echo "configure:8125: checking for lchown" >&5 d7879 1 a7879 1 #line 8130 "configure" d7902 1 a7902 1 if { (eval echo configure:8153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7927 1 a7927 1 echo "configure:8178: checking whether chown() follows symlinks" >&5 d7955 1 a7955 1 echo "configure:8206: checking (cannot check by non-root user)" >&5 d7971 1 a7971 1 echo "configure:8222: checking root's primary group" >&5 d7977 1 a7977 1 #line 8228 "configure" d8006 1 a8006 1 if { (eval echo configure:8257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8126 3 d8203 1 a8203 1 export LIBS INCPATH a8381 3 s%@@USE_SYMBOL_UNDERSCORE@@%$USE_SYMBOL_UNDERSCORE%g s%@@DLLTOOL@@%$DLLTOOL%g s%@@AS@@%$AS%g @ 1.3 log @Resolve: RPM 2.5.6 -> RPM 3.0 @ text @d803 1 a803 1 VERSION=3.0 d8317 3 @ 1.2 log @Resolve: RPM 2.5 -> RPM 2.5.6 @ text @d4 1 a4 1 # Generated automatically using autoconf version 2.12 d15 17 a31 1 --disable-nls do not use National Language Support" d70 1 d354 1 a354 1 echo "configure generated by autoconf version 2.12" d524 1 a524 1 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' d527 2 a541 6 XGETTEXT="" LIBINTL="" PO="" GETTEXTSTUB="gettextstub.o" d584 1 a584 1 if $ac_config_sub sun4 >/dev/null 2>&1; then : d589 1 a589 1 echo "configure:577: checking host system type" >&5 d596 1 a596 1 if host_alias=`$ac_config_guess`; then : d603 1 a603 1 host=`$ac_config_sub $host_alias` d610 1 a610 1 echo "configure:598: checking target system type" >&5 d621 1 a621 1 target=`$ac_config_sub $target_alias` d628 1 a628 1 echo "configure:616: checking build system type" >&5 d639 1 a639 1 build=`$ac_config_sub $build_alias` d651 263 d917 1 a917 1 echo "configure:642: checking for $ac_word" >&5 d924 3 a926 2 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do d947 1 a947 1 echo "configure:671: checking for $ac_word" >&5 d954 1 a954 1 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" d956 2 a957 1 for ac_dir in $PATH; do d992 34 d1030 1 a1030 1 echo "configure:719: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1036 1 a1036 1 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' d1039 3 a1041 2 cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1060 6 d1072 1 a1072 1 echo "configure:753: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1077 1 a1077 1 echo "configure:758: checking whether we are using GNU C" >&5 d1086 1 a1086 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1097 9 a1105 5 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:782: checking whether ${CC-cc} accepts -g" >&5 d1120 4 a1123 3 if test "$ac_test_CFLAGS" = set; then CFLAGS="$ac_save_CFLAGS" elif test $ac_cv_prog_cc_g = yes; then d1126 4 d1131 2 d1134 4 a1137 3 else GCC= test "${CFLAGS+set}" = set || CFLAGS="-g" d1141 1 a1141 1 echo "configure:810: checking how to run the C preprocessor" >&5 d1156 1 a1156 1 #line 825 "configure" d1162 2 a1163 2 { (eval echo configure:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d1173 18 a1190 1 #line 842 "configure" d1196 2 a1197 2 { (eval echo configure:848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d1210 2 d1222 1 a1222 1 echo "configure:872: checking whether ${CC-cc} needs -traditional" >&5 d1228 1 a1228 1 #line 878 "configure" d1246 1 a1246 1 #line 896 "configure" d1274 1 d1279 1 a1279 1 echo "configure:928: checking for a BSD compatible install" >&5 d1284 1 a1284 1 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" d1291 3 a1293 1 for ac_prog in ginstall installbsd scoinst install; do a1297 1 # OSF/1 installbsd also uses dspmsg, but is usable. d1327 2 d1332 128 d1461 1 a1461 1 echo "configure:979: checking for AIX" >&5 d1463 1 a1463 1 #line 981 "configure" d1486 1 a1486 1 echo "configure:1004: checking for minix/config.h" >&5 d1491 1 a1491 1 #line 1009 "configure" d1496 2 a1497 2 { (eval echo configure:1014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` d1534 1 a1534 1 echo "configure:1052: checking for POSIXized ISC" >&5 d1555 249 a1803 7 for ac_prog in mawk gawk nawk awk 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:1078: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then d1809 3 a1811 2 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do d1832 1 a1832 1 echo "configure:1107: checking whether ln -s works" >&5 d1853 1 a1853 1 echo "configure:1128: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1879 15 a1893 16 # 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:1157: 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 if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_RANLIB="ranlib" break d1897 2 a1898 6 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" fi fi RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then echo "$ac_t""$RANLIB" 1>&6 d1900 1 a1900 1 echo "$ac_t""no" 1>&6 d1903 19 a1921 3 if test $host != $build; then ac_tool_prefix=${host_alias}- d1923 1 a1923 1 ac_tool_prefix= d1926 14 a1939 16 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1193: 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 if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" break d1943 2 a1944 5 fi fi RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then echo "$ac_t""$RANLIB" 1>&6 d1946 1 a1946 1 echo "$ac_t""no" 1>&6 d1949 1 a1949 4 if test -z "$ac_cv_prog_RANLIB"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "ranlib", so it can be a program name with args. d1952 1 a1952 1 echo "configure:1224: checking for $ac_word" >&5 d1959 3 a1961 2 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do d1979 37 d2017 2 a2018 2 RANLIB=":" fi d2020 1 a2020 6 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1258: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then d2023 1 a2023 3 if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else d2027 10 a2036 3 if test -f $ac_dir/$ac_word; then ac_cv_prog_AR="${ac_tool_prefix}ar" break d2040 2 d2044 4 a2047 3 AR="$ac_cv_prog_AR" if test -n "$AR"; then echo "$ac_t""$AR" 1>&6 d2051 16 d2069 3 a2071 7 if test -z "$ac_cv_prog_AR"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1289: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then d2074 3 a2076 2 if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. d2079 1 a2079 1 for ac_dir in $PATH; do d2081 14 a2094 3 if test -f $ac_dir/$ac_word; then ac_cv_prog_AR="ar" break d2098 1 a2098 1 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=":" a2100 6 AR="$ac_cv_prog_AR" if test -n "$AR"; then echo "$ac_t""$AR" 1>&6 else echo "$ac_t""no" 1>&6 fi d2102 2 a2103 4 else AR=":" fi fi d2106 4899 a7004 27 if test "$cross_compiling" = "no"; then CPIOBIN="cpio" else echo $ac_n "checking for GNU cpio... $ac_c" if test -z "$CPIOBIN"; then oldifs="$IFS" IFS=: for n in $PATH:/opt/gnu/bin; do if test -f $n/cpio; then $n/cpio --quiet -o < /dev/null >/dev/null 2>/dev/null if test "$?" = "0"; then CPIOBIN="$n/cpio"; fi fi done IFS="$oldifs" fi if test -z "$CPIOBIN"; then echo "no" echo "" echo "RPM will not work without GNU cpio 2.4.2 or later." exit 1 else echo "yes" fi d7007 10 a7016 1 topdir=`pwd` d7018 7 a7024 6 echo $ac_n "checking for /usr/local/lib... $ac_c" if test -d /usr/local/lib ; then LIBS="$LIBS -L/usr/local/lib" LIBPATH="$LIBPATH -L/usr/local/lib" echo "yes" d7026 2 a7027 1 echo "no" d7029 18 d7048 14 a7061 5 echo $ac_n "checking for /usr/local/include... $ac_c" if test -d /usr/local/include ; then INCPATH="$INCPATH -I/usr/local/include" echo "yes" d7063 2 a7064 1 echo "no" d7066 6 d7073 1 d7075 13 a7087 4 # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" USE_NLS=$enableval d7089 4 a7092 1 USE_NLS=yes d7094 6 d7101 1 d7103 4 a7106 8 if test "$USE_NLS" != "no"; then echo $ac_n "checking for gettext""... $ac_c" 1>&6 echo "configure:1383: checking for gettext" >&5 if eval "test \"`echo '$''{'ac_cv_func_gettext'+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 gettext(); d7110 18 d7129 1 a7129 8 /* 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_gettext) || defined (__stub___gettext) choke me #else gettext(); #endif d7131 8 d7141 1 a7141 1 if { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d7143 1 a7143 1 eval "ac_cv_func_gettext=yes" d7148 1 a7148 1 eval "ac_cv_func_gettext=no" d7151 6 d7159 2 a7160 13 if eval "test \"`echo '$ac_cv_func_'gettext`\" = yes"; then echo "$ac_t""yes" 1>&6 HAVEGETTEXT="yes" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6 echo "configure:1429: checking for gettext in -lintl" >&5 ac_lib_var=`echo intl'_'gettext | 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="-lintl $LIBS" d7162 1 a7162 1 #line 1437 "configure" d7164 1 a7164 5 /* 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 gettext(); d7166 1 a7166 1 gettext() d7169 1 a7169 1 if { (eval echo configure:1448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d7171 1 a7171 1 eval "ac_cv_lib_$ac_lib_var=yes" d7176 26 a7201 1 eval "ac_cv_lib_$ac_lib_var=no" a7203 1 LIBS="$ac_save_LIBS" d7206 26 a7231 3 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBINTL="-lintl" HAVEGETTEXT="y" d7233 5 a7237 4 echo "$ac_t""no" 1>&6 echo "configure: warning: sorry this package needs libintl.a (from the gettext package)" 1>&2 d7239 5 a7244 1 d7248 5 a7252 5 # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1478: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_XGETTEXT'+set}'`\" = set"; then d7255 11 a7265 2 if test -n "$XGETTEXT"; then ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test. d7267 6 a7272 9 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_XGETTEXT="xgettext" break fi done IFS="$ac_save_ifs" d7274 7 d7282 38 a7319 3 XGETTEXT="$ac_cv_prog_XGETTEXT" if test -n "$XGETTEXT"; then echo "$ac_t""$XGETTEXT" 1>&6 d7321 14 a7334 1 echo "$ac_t""no" 1>&6 d7337 9 a7346 6 if test "$XGETTEXT" != ""; then if xgettext --help 2>&1 | grep illegal >/dev/null ; then echo "xgettext isn't GNU version" XGETTEXT="" fi fi d7348 19 a7366 7 if test "$XGETTEXT" != "" -a "$HAVEGETTEXT" != ""; then echo "xgettext and gettext() exist; will build i18n support" PO=po GETTEXTSTUB="" else echo "xgettext and libintl.a don't both exist; will not build i18n support" fi d7368 5 a7372 1 echo "user specificed no gettext; will not build i18n support" d7375 6 a7380 3 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 echo "configure:1523: checking for dbopen" >&5 if eval "test \"`echo '$''{'ac_cv_func_dbopen'+set}'`\" = set"; then d7384 1 a7384 1 #line 1528 "configure" d7387 1 a7387 1 which can conflict with char dbopen(); below. */ d7392 1 a7392 1 char dbopen(); d7399 1 a7399 1 #if defined (__stub_dbopen) || defined (__stub___dbopen) d7402 1 a7402 1 dbopen(); d7407 1 a7407 1 if { (eval echo configure:1551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d7409 1 a7409 1 eval "ac_cv_func_dbopen=yes" d7414 1 a7414 1 eval "ac_cv_func_dbopen=no" d7419 66 a7484 9 if eval "test \"`echo '$ac_cv_func_'dbopen`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 echo "configure:1569: checking for dbopen in -ldb" >&5 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then d7487 2 a7488 4 ac_save_LIBS="$LIBS" LIBS="-ldb $LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then d7513 1 a7513 1 eval "ac_cv_lib_$ac_lib_var=yes" d7518 1 a7518 1 eval "ac_cv_lib_$ac_lib_var=no" d7521 1 a7521 1 LIBS="$ac_save_LIBS" d7523 1 a7523 2 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then d7525 2 a7526 4 ac_tr_lib=HAVE_LIB`echo db | sed -e 's/^a-zA-Z0-9_/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&2 fi d7533 4 a7536 4 echo $ac_n "checking for fork""... $ac_c" 1>&6 echo "configure:1622: checking for fork" >&5 if eval "test \"`echo '$''{'ac_cv_func_fork'+set}'`\" = set"; then d7540 1 a7540 1 #line 1627 "configure" d7543 1 a7543 1 which can conflict with char fork(); below. */ d7548 1 a7548 1 char fork(); d7555 1 a7555 1 #if defined (__stub_fork) || defined (__stub___fork) d7558 1 a7558 1 fork(); d7563 1 a7563 1 if { (eval echo configure:1650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d7565 1 a7565 1 eval "ac_cv_func_fork=yes" d7570 1 a7570 1 eval "ac_cv_func_fork=no" d7575 1 a7575 1 if eval "test \"`echo '$ac_cv_func_'fork`\" = yes"; then d7577 4 a7580 1 : a7582 2 echo "using vfork() instead of fork()"; MISCOBJS=fakefork.o d7585 1 a7585 7 case "$target" in m68k-*-amigaos ) echo "Building for AmigaOS: using vfork() instead of fork()"; CFLAGS="$CFLAGS -Dfork=vfork" ;; esac d7588 3 a7590 4 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 echo "configure:1681: checking for socket in -lsocket" >&5 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then d7593 8 a7600 4 ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" d7610 4 a7613 2 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" a7614 2 rm -f conftest* LIBS="$ac_save_LIBS" d7617 7 a7623 5 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 LIBSOCKET="-lsocket -lnsl" else echo "$ac_t""no" 1>&6 d7626 7 d7635 5 a7639 6 ZLIB= for zlib in z gz ; do echo $ac_n "checking for gzread in -l${zlib}""... $ac_c" 1>&6 echo "configure:1725: checking for gzread in -l${zlib}" >&5 ac_lib_var=`echo ${zlib}'_'gzread | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then d7642 2 a7643 4 ac_save_LIBS="$LIBS" LIBS="-l${zlib} $LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then d7668 1 a7668 1 eval "ac_cv_lib_$ac_lib_var=yes" d7673 1 a7673 1 eval "ac_cv_lib_$ac_lib_var=no" d7676 1 a7676 1 LIBS="$ac_save_LIBS" d7678 1 a7678 2 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then d7680 5 a7684 1 ZLIB="-l${zlib}"; break d7687 1 a7687 4 if test ${zlib} = gz; then echo "configure: warning: sorry this package needs libz.a or libgz.a (from the zlib package)" 1>&2 fi a7688 1 d7692 1 a7692 2 for ac_hdr in netinet/in_systm.h d7694 3 a7696 4 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1776: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then d7700 1 a7700 1 #line 1781 "configure" d7702 20 a7721 1 #include <$ac_hdr> d7723 1 a7723 4 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then d7725 1 a7725 1 eval "ac_cv_header_$ac_safe=yes" a7726 1 echo "$ac_err" >&5 d7730 1 a7730 1 eval "ac_cv_header_$ac_safe=no" d7734 2 a7735 1 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then d7737 1 a7737 1 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` d7739 1 a7739 1 #define $ac_tr_hdr 1 d7744 1 d7748 3 a7750 1 for ac_hdr in alloca.h d7752 3 a7754 4 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1816: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then d7758 1 a7758 1 #line 1821 "configure" d7760 20 a7779 1 #include <$ac_hdr> d7781 1 a7781 4 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then d7783 1 a7783 1 eval "ac_cv_header_$ac_safe=yes" a7784 1 echo "$ac_err" >&5 d7788 1 a7788 1 eval "ac_cv_header_$ac_safe=no" d7792 2 a7793 1 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then d7795 1 a7795 1 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` d7797 1 a7797 1 #define $ac_tr_hdr 1 d7802 1 d7806 2 a7807 1 for ac_hdr in machine/types.h d7809 3 a7811 4 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1856: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then d7815 1 a7815 1 #line 1861 "configure" d7817 20 a7836 1 #include <$ac_hdr> d7838 1 a7838 4 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then d7840 1 a7840 1 eval "ac_cv_header_$ac_safe=yes" a7841 1 echo "$ac_err" >&5 d7845 1 a7845 1 eval "ac_cv_header_$ac_safe=no" d7849 2 a7850 1 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then d7852 1 a7852 1 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` d7854 1 a7854 1 #define $ac_tr_hdr 1 d7859 1 d7864 2 a7865 2 if test "$PO" = po; then for ac_hdr in libintl.h d7867 3 a7869 4 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1898: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then d7873 1 a7873 1 #line 1903 "configure" d7875 20 a7894 1 #include <$ac_hdr> d7896 1 a7896 4 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then d7898 1 a7898 1 eval "ac_cv_header_$ac_safe=yes" a7899 1 echo "$ac_err" >&5 d7903 1 a7903 1 eval "ac_cv_header_$ac_safe=no" d7907 2 a7908 1 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then d7910 1 a7910 1 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` d7912 1 a7912 1 #define $ac_tr_hdr 1 a7919 1 fi d7921 3 a7923 3 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 echo "configure:1937: checking whether byte ordering is bigendian" >&5 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then d7926 2 a7927 4 ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext < #include d7939 7 a7945 2 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN bogus endian macros a7946 11 ; return 0; } EOF if { (eval echo configure:1955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext < #include int main() { a7947 3 #if BYTE_ORDER != BIG_ENDIAN not big endian #endif d7950 1 a7950 1 if { (eval echo configure:1970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7952 1 a7952 1 ac_cv_c_bigendian=yes d7957 1 a7957 6 ac_cv_c_bigendian=no fi rm -f conftest* else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 a7959 28 if test $ac_cv_c_bigendian = unknown; then if test "$cross_compiling" = yes; then { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_c_bigendian=no else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_c_bigendian=yes fi rm -fr conftest* d7962 2 a7963 5 fi fi echo "$ac_t""$ac_cv_c_bigendian" 1>&6 if test $ac_cv_c_bigendian = yes; then d7965 1 a7965 1 #define WORDS_BIGENDIAN 1 d7968 2 a7969 1 fi d7971 3 a7973 4 echo $ac_n "checking for inet_aton""... $ac_c" 1>&6 echo "configure:2028: checking for inet_aton" >&5 if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then d7977 1 a7977 1 #line 2033 "configure" d7980 1 a7980 1 which can conflict with char inet_aton(); below. */ d7985 1 a7985 1 char inet_aton(); d7992 1 a7992 1 #if defined (__stub_inet_aton) || defined (__stub___inet_aton) d7995 1 a7995 1 inet_aton(); d8000 1 a8000 1 if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d8002 1 a8002 1 eval "ac_cv_func_inet_aton=yes" d8007 1 a8007 1 eval "ac_cv_func_inet_aton=no" d8012 1 a8012 1 if eval "test \"`echo '$ac_cv_func_'inet_aton`\" = yes"; then d8015 1 a8015 1 #define HAVE_INET_ATON 1 a8019 2 MISCOBJS="$MISCOBJS inet_aton.o" fi d8021 3 a8023 3 echo $ac_n "checking for realpath""... $ac_c" 1>&6 echo "configure:2080: checking for realpath" >&5 if eval "test \"`echo '$''{'ac_cv_func_realpath'+set}'`\" = set"; then d8027 1 a8027 1 #line 2085 "configure" d8030 1 a8030 1 which can conflict with char realpath(); below. */ d8035 1 a8035 1 char realpath(); d8042 1 a8042 1 #if defined (__stub_realpath) || defined (__stub___realpath) d8045 1 a8045 1 realpath(); d8050 1 a8050 1 if { (eval echo configure:2108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d8052 1 a8052 1 eval "ac_cv_func_realpath=yes" d8057 1 a8057 1 eval "ac_cv_func_realpath=no" d8062 1 a8062 1 if eval "test \"`echo '$ac_cv_func_'realpath`\" = yes"; then d8064 4 a8067 1 : a8069 2 MISCOBJS="$MISCOBJS realpath.o" fi d8071 4 a8074 3 echo $ac_n "checking for setenv""... $ac_c" 1>&6 echo "configure:2129: checking for setenv" >&5 if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then d8077 4 a8080 2 cat > conftest.$ac_ext < d8085 1 a8085 1 char setenv(); d8088 1 a8088 10 /* 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_setenv) || defined (__stub___setenv) choke me #else setenv(); #endif d8091 1 a8091 1 if { (eval echo configure:2157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d8093 1 a8093 1 eval "ac_cv_func_setenv=yes" d8098 1 a8098 1 eval "ac_cv_func_setenv=no" d8101 2 d8104 6 a8110 3 if eval "test \"`echo '$ac_cv_func_'setenv`\" = yes"; then echo "$ac_t""yes" 1>&6 : d8113 3 a8115 1 MISCOBJS="$MISCOBJS setenv.o" d8118 8 a8125 3 echo $ac_n "checking for getopt_long""... $ac_c" 1>&6 echo "configure:2178: checking for getopt_long" >&5 if eval "test \"`echo '$''{'ac_cv_func_getopt_long'+set}'`\" = set"; then d8129 1 a8129 1 #line 2183 "configure" d8132 1 a8132 1 which can conflict with char getopt_long(); below. */ d8137 1 a8137 1 char getopt_long(); d8144 1 a8144 1 #if defined (__stub_getopt_long) || defined (__stub___getopt_long) d8147 1 a8147 1 getopt_long(); d8152 1 a8152 1 if { (eval echo configure:2206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d8154 1 a8154 1 eval "ac_cv_func_getopt_long=yes" d8159 1 a8159 1 eval "ac_cv_func_getopt_long=no" d8164 1 a8164 1 if eval "test \"`echo '$ac_cv_func_'getopt_long`\" = yes"; then d8166 4 a8169 1 : a8171 1 MISCOBJS="$MISCOBJS getopt.o getopt1.o" d8175 91 a8265 2 if test -n "$MISCOBJS"; then LIBMISC=-lmisc d8268 3 d8276 1 d8289 23 a8311 8 if echo "$build" | grep solaris >/dev/null ; then # Solaris needs -ldl to use -lnsl, and it can't build static # binaries if you use -ldl echo "hacking things up for solaris" LIBDL=-ldl RPM=rpm.shared else RPM=rpm d8314 5 a8318 7 rm -f ./find-provides.sh if test -f autodeps/${build_os}.prov ; then echo "using autodeps/$build_os.prov for automatic provides generation" ln -s autodeps/${build_os}.prov ./find-provides.sh else echo "*** no default provides information is available for $build_os" ln -s autodeps/none ./find-provides.sh d8321 63 a8383 7 rm -f ./find-requires.sh if test -f autodeps/${build_os}.req ; then echo "using autodeps/$build_os.req for automatic requires generation" ln -s autodeps/$build_os.req ./find-requires.sh else echo "*** no default requires information is available for $build_os" ln -s autodeps/none ./find-requires.sh d8388 35 d8424 4 d8430 4 d8437 1 d8446 2 d8449 1 d8474 1 a8474 1 case `(ac_space=' '; set) 2>&1` in d8514 1 a8514 13 # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. cat > conftest.defs <<\EOF s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g s%\[%\\&%g s%\]%\\&%g s%\$%$$%g EOF DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` rm -f conftest.defs d8541 1 a8541 1 echo "$CONFIG_STATUS generated by autoconf version 2.12" d8552 4 a8555 1 trap 'rm -fr `echo "Makefile Makefile.inc lib-rpmrc lib/Makefile build/Makefile tools/Makefile po/Makefile misc/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 d8564 1 d8568 1 d8602 11 d8615 6 a8620 2 s%@@INSTALL_PROGRAM@@%$INSTALL_PROGRAM%g s%@@INSTALL_DATA@@%$INSTALL_DATA%g a8622 1 s%@@SET_MAKE@@%$SET_MAKE%g d8624 6 d8631 21 d8653 19 a8671 6 s%@@ZLIB@@%$ZLIB%g s%@@MISCOBJS@@%$MISCOBJS%g s%@@INCPATH@@%$INCPATH%g s%@@LIBMISC@@%$LIBMISC%g s%@@LIBINTL@@%$LIBINTL%g s%@@LIBSOCKET@@%$LIBSOCKET%g d8674 14 a8687 6 s%@@topdir@@%$topdir%g s%@@INTLDEF@@%$INTLDEF%g s%@@LIBPATH@@%$LIBPATH%g s%@@LIBDL@@%$LIBDL%g s%@@PO@@%$PO%g s%@@GETTEXTSTUB@@%$GETTEXTSTUB%g d8689 1 a8689 1 s%@@CPIOBIN@@%$CPIOBIN%g d8731 4 a8734 1 CONFIG_FILES=\${CONFIG_FILES-"Makefile Makefile.inc lib-rpmrc lib/Makefile build/Makefile tools/Makefile po/Makefile misc/Makefile"} d8793 20 d8815 44 d8860 45 d8906 1 d8908 11 d8920 38 d8963 98 @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Import: RPM 2.2.11 @ text @@ 1.1.1.2 log @Import: RPM 2.3 @ text @d2127 49 d2177 1 a2177 1 echo "configure:2129: checking for getopt_long" >&5 d2182 1 a2182 1 #line 2134 "configure" d2205 1 a2205 1 if { (eval echo configure:2157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then @ 1.1.1.3 log @Import: RPM 2.3.11 @ text @a523 1 d576 1 a576 1 echo "configure:578: checking host system type" >&5 d597 1 a597 1 echo "configure:599: checking target system type" >&5 d615 1 a615 1 echo "configure:617: checking build system type" >&5 d641 1 a641 1 echo "configure:643: checking for $ac_word" >&5 d670 1 a670 1 echo "configure:672: checking for $ac_word" >&5 d718 1 a718 1 echo "configure:720: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d728 1 a728 1 #line 730 "configure" d732 1 a732 1 if { (eval echo configure:734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d752 1 a752 1 echo "configure:754: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d757 1 a757 1 echo "configure:759: checking whether we are using GNU C" >&5 d766 1 a766 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d781 1 a781 1 echo "configure:783: checking whether ${CC-cc} accepts -g" >&5 d809 1 a809 1 echo "configure:811: checking how to run the C preprocessor" >&5 d824 1 a824 1 #line 826 "configure" d830 1 a830 1 { (eval echo configure:832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d841 1 a841 1 #line 843 "configure" d847 1 a847 1 { (eval echo configure:849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d871 1 a871 1 echo "configure:873: checking whether ${CC-cc} needs -traditional" >&5 d877 1 a877 1 #line 879 "configure" d895 1 a895 1 #line 897 "configure" d927 1 a927 1 echo "configure:929: checking for a BSD compatible install" >&5 a976 15 echo $ac_n "checking checking for POSIX chmod...""... $ac_c" 1>&6 echo "configure:980: checking checking for POSIX chmod..." >&5 touch foo.chmodtest chmod 744 foo.chmodtest chmod +X foo.chmodtest 2>/dev/null a=`ls -l foo.chmodtest | awk '{print $1}'` rm -f foo.chmodtest if test "$a" = "-rwxr-xr-x"; then echo "$ac_t""yes" 1>&6 FIXPERMS=a+rX,g-w,o-w else echo "$ac_t""no (tell your OS vendor about GNU fileutils)" 1>&6 FIXPERMS=a+r,g-w,o-w fi d978 1 a978 1 echo "configure:995: checking for AIX" >&5 d980 1 a980 1 #line 997 "configure" d1003 1 a1003 1 echo "configure:1020: checking for minix/config.h" >&5 d1008 1 a1008 1 #line 1025 "configure" d1013 1 a1013 1 { (eval echo configure:1030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1051 1 a1051 1 echo "configure:1068: checking for POSIXized ISC" >&5 d1077 1 a1077 1 echo "configure:1094: checking for $ac_word" >&5 d1106 1 a1106 1 echo "configure:1123: checking whether ln -s works" >&5 d1127 1 a1127 1 echo "configure:1144: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1156 1 a1156 1 echo "configure:1173: checking for $ac_word" >&5 d1189 65 d1257 1 a1257 1 echo "configure:1209: checking for $ac_word" >&5 d1288 1 a1288 1 echo "configure:1240: checking for $ac_word" >&5 d1324 1 a1324 2 echo $ac_n "checking checking for GNU cpio...""... $ac_c" 1>&6 echo "configure:1277: checking checking for GNU cpio..." >&5 d1340 4 a1343 2 echo "$ac_t""no" 1>&6 { echo "configure: error: RPM will not work without GNU cpio 2.4.2 or later." 1>&2; exit 1; } d1345 1 a1345 1 echo "$ac_t""yes" 1>&6 d1351 1 a1351 22 if test $prefix != "/usr" -a $prefix != "/usr/local"; then echo $ac_n "checking for $prefix/lib... $ac_c" if test -d $prefix/lib ; then LIBS="$LIBS -L$prefix/lib" echo "yes" else echo "no" fi echo $ac_n "checking for $prefix/include... $ac_c" if test -d $prefix/include ; then INCPATH="$INCPATH -I$prefix/include" echo "yes" else echo "no" fi fi echo $ac_n "checking checking for /usr/local/lib...""... $ac_c" 1>&6 echo "configure:1323: checking checking for /usr/local/lib..." >&5 d1354 1 d1356 1 a1356 1 echo "$ac_t""yes" 1>&6 d1358 1 a1358 1 echo "$ac_t""no" 1>&6 d1361 1 a1361 2 echo $ac_n "checking checking for /usr/local/include...""... $ac_c" 1>&6 echo "configure:1333: checking checking for /usr/local/include..." >&5 d1364 2 a1365 1 echo "$ac_t""yes" 1>&6 d1367 1 a1367 1 echo "$ac_t""no" 1>&6 d1382 1 a1382 1 echo "configure:1353: checking for gettext" >&5 d1387 1 a1387 1 #line 1358 "configure" d1410 1 a1410 1 if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1428 1 a1428 1 echo "configure:1399: checking for gettext in -lintl" >&5 d1436 1 a1436 1 #line 1407 "configure" d1447 1 a1447 1 if { (eval echo configure:1418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1477 1 a1477 1 echo "configure:1448: checking for $ac_word" >&5 a1520 181 echo $ac_n "checking for gethostname""... $ac_c" 1>&6 echo "configure:1493: checking for gethostname" >&5 if eval "test \"`echo '$''{'ac_cv_func_gethostname'+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 gethostname(); 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_gethostname) || defined (__stub___gethostname) choke me #else gethostname(); #endif ; return 0; } EOF if { (eval echo configure:1521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_gethostname=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_gethostname=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'gethostname`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for gethostname in -lnsl""... $ac_c" 1>&6 echo "configure:1540: checking for gethostname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostname | 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="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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="-lnsl $LIBS" else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for socket""... $ac_c" 1>&6 echo "configure:1583: checking for socket" >&5 if eval "test \"`echo '$''{'ac_cv_func_socket'+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 socket(); 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_socket) || defined (__stub___socket) choke me #else socket(); #endif ; return 0; } EOF if { (eval echo configure:1611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_socket=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_socket=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 echo "configure:1630: checking for socket in -lsocket" >&5 ac_lib_var=`echo socket'_'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 else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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="-lsocket $LIBS" else echo "$ac_t""no" 1>&6 fi fi d1522 1 a1522 1 echo "configure:1674: checking for dbopen" >&5 d1527 1 a1527 1 #line 1679 "configure" d1550 1 a1550 1 if { (eval echo configure:1702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1568 1 a1568 1 echo "configure:1720: checking for dbopen in -ldb" >&5 d1574 1 a1574 1 LIBS="-ldb $LIBS" d1576 1 a1576 1 #line 1728 "configure" d1587 1 a1587 1 if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1621 1 a1621 1 echo "configure:1773: checking for fork" >&5 d1626 1 a1626 1 #line 1778 "configure" d1649 1 a1649 1 if { (eval echo configure:1801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1679 3 a1681 5 ZLIB= for zlib in z gz ; do echo $ac_n "checking for gzread in -l${zlib}""... $ac_c" 1>&6 echo "configure:1834: checking for gzread in -l${zlib}" >&5 ac_lib_var=`echo ${zlib}'_'gzread | sed 'y%./+-%__p_%'` d1686 1 a1686 1 LIBS="-l${zlib} $LIBS" d1688 1 a1688 1 #line 1842 "configure" d1693 1 a1693 1 char gzread(); d1696 1 a1696 1 gzread() d1699 1 a1699 1 if { (eval echo configure:1853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1714 1 a1714 1 LIBS="-l${zlib} $LIBS"; break a1716 4 if test ${zlib} = gz; then echo "configure: warning: sorry this package needs libz.a or libgz.a (from the zlib package)" 1>&2 fi a1718 1 done d1720 7 a1726 3 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:1880: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then d1729 2 a1730 25 cat > conftest.$ac_ext < #include #include #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* ac_cv_header_stdc=yes else 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* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. d1732 1 a1732 1 #line 1910 "configure" d1734 4 a1737 10 #include EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then : else rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* d1739 3 a1741 8 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 < d1743 1 a1743 4 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "free" >/dev/null 2>&1; then : else d1745 1 a1745 26 ac_cv_header_stdc=no 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 : 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); } EOF if { (eval echo configure:1960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : a1748 34 rm -fr conftest* ac_cv_header_stdc=no fi rm -fr conftest* fi fi fi 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 for ac_hdr in netinet/in_systm.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1987: 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:1997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then d1750 1 a1750 7 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" d1753 2 d1756 1 a1756 1 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then d1758 1 a1758 5 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 echo "configure:2027: 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:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` 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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done d1770 2 a1771 1 for ac_hdr in machine/types.h string.h d1775 1 a1775 1 echo "configure:2067: checking for $ac_hdr" >&5 d1780 1 a1780 1 #line 2072 "configure" d1785 1 a1785 1 { (eval echo configure:2077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1811 1 a1811 1 for ac_hdr in glob.h d1815 1 a1815 1 echo "configure:2107: checking for $ac_hdr" >&5 d1820 1 a1820 1 #line 2112 "configure" d1825 1 a1825 1 { (eval echo configure:2117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } a1847 1 MISCOBJS="$MISCOBJS glob.o" d1851 1 a1851 1 for ac_hdr in fnmatch.h d1855 1 a1855 1 echo "configure:2148: checking for $ac_hdr" >&5 d1860 1 a1860 1 #line 2153 "configure" d1865 1 a1865 1 { (eval echo configure:2158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } a1887 1 MISCOBJS="$MISCOBJS fnmatch.o" d1897 1 a1897 1 echo "configure:2191: checking for $ac_hdr" >&5 d1902 1 a1902 1 #line 2196 "configure" d1907 1 a1907 1 { (eval echo configure:2201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1936 1 a1936 1 echo "configure:2230: checking whether byte ordering is bigendian" >&5 d1943 1 a1943 1 #line 2237 "configure" d1954 1 a1954 1 if { (eval echo configure:2248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1958 1 a1958 1 #line 2252 "configure" d1969 1 a1969 1 if { (eval echo configure:2263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1989 1 a1989 1 #line 2283 "configure" d2002 1 a2002 1 if { (eval echo configure:2296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null a2025 83 PROVIDES_ERRNO=no echo $ac_n "checking checking if defines h_errno...""... $ac_c" 1>&6 echo "configure:2322: checking checking if defines h_errno..." >&5 cat > conftest.$ac_ext < int main() { printf("%d",h_errno) ; return 0; } EOF if { (eval echo configure:2331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* PROVIDES_ERRNO=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* echo "$ac_t""$PROVIDES_ERRNO" 1>&6 if test $PROVIDES_ERRNO = yes; then cat >> confdefs.h <<\EOF #define HAVE_HERRNO 1 EOF fi echo $ac_n "checking checking if defines S_ISLNK...""... $ac_c" 1>&6 echo "configure:2348: checking checking if defines S_ISLNK..." >&5 cat > conftest.$ac_ext < int main() { printf("%d", S_ISLNK(0755)) ; return 0; } EOF if { (eval echo configure:2357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* HAS_S_ISLNK=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* HAS_S_ISLNK=no fi rm -f conftest* echo "$ac_t""$HAS_S_ISLNK" 1>&6 if test $HAS_S_ISLNK=yes; then cat >> confdefs.h <<\EOF #define HAVE_S_ISLNK 1 EOF fi echo $ac_n "checking checking if defines S_ISSOCK...""... $ac_c" 1>&6 echo "configure:2376: checking checking if defines S_ISSOCK..." >&5 cat > conftest.$ac_ext < int main() { printf("%d", S_ISSOCK(0755)) ; return 0; } EOF if { (eval echo configure:2385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* HAS_S_ISSOCK=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* HAS_S_ISSOCK=no fi rm -f conftest* echo "$ac_t""$HAS_S_ISSOCK" 1>&6 if test $HAS_S_ISSOCK=yes; then cat >> confdefs.h <<\EOF #define HAVE_S_ISSOCK 1 EOF fi d2027 1 a2027 1 echo "configure:2404: checking for inet_aton" >&5 d2032 1 a2032 1 #line 2409 "configure" d2055 1 a2055 1 if { (eval echo configure:2432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2079 1 a2079 1 echo "configure:2456: checking for realpath" >&5 d2084 1 a2084 1 #line 2461 "configure" d2107 1 a2107 1 if { (eval echo configure:2484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2121 34 a2154 2 cat >> confdefs.h <<\EOF #define HAVE_REALPATH 1 d2156 11 d2168 3 d2173 1 a2173 1 MISCOBJS="$MISCOBJS realpath.o" d2307 13 a2319 1 DEFS=-DHAVE_CONFIG_H d2357 1 a2357 1 trap 'rm -fr `echo "Makefile Makefile.inc lib-rpmrc lib/Makefile build/Makefile tools/Makefile po/Makefile misc/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 d2412 1 d2417 1 d2422 1 a2427 1 s%@@FIXPERMS@@%$FIXPERMS%g a2526 107 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' ac_dC='\3' ac_dD='%g' # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='\([ ]\)%\1#\2define\3' ac_uC=' ' ac_uD='\4%g' # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_eB='$%\1#\2define\3' ac_eC=' ' ac_eD='%g' if test "${CONFIG_HEADERS+set}" != set; then EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF fi for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac echo creating $ac_file rm -f conftest.frag conftest.in conftest.out ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` cat $ac_file_inputs > conftest.in EOF # Transform confdefs.h into a sed script conftest.vals that substitutes # the proper values into config.h.in to produce config.h. And first: # Protect against being on the right side of a sed subst in config.status. # Protect against being in an unquoted here document in config.status. rm -f conftest.vals cat > conftest.hdr <<\EOF s/[\\&%]/\\&/g s%[\\$`]%\\&%g s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp s%ac_d%ac_u%gp s%ac_u%ac_e%gp EOF sed -n -f conftest.hdr confdefs.h > conftest.vals rm -f conftest.hdr # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. cat >> conftest.vals <<\EOF s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% EOF # Break up conftest.vals because some shells have a limit on # the size of here documents, and old seds have small limits too. rm -f conftest.tail while : do ac_lines=`grep -c . conftest.vals` # grep -c gives empty output for an empty file on some AIX systems. if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi # Write a limited-size here document to conftest.frag. echo ' cat > conftest.frag <> $CONFIG_STATUS sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS echo 'CEOF sed -f conftest.frag conftest.in > conftest.out rm -f conftest.in mv conftest.out conftest.in ' >> $CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail rm -f conftest.vals mv conftest.tail conftest.vals done rm -f conftest.vals cat >> $CONFIG_STATUS <<\EOF rm -f conftest.frag conftest.h echo "/* $ac_file. Generated automatically by configure. */" > conftest.h cat conftest.in >> conftest.h rm -f conftest.in if cmp -s $ac_file conftest.h 2>/dev/null; then echo "$ac_file is unchanged" rm -f conftest.h else # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" fi rm -f $ac_file mv conftest.h $ac_file fi fi; done @ 1.1.1.4 log @Import: RPM 2.4 @ text @a15 2 ac_help="$ac_help --enable-broken-chown this system's chown follows symbolic links" d577 1 a577 1 echo "configure:580: checking host system type" >&5 d598 1 a598 1 echo "configure:601: checking target system type" >&5 d616 1 a616 1 echo "configure:619: checking build system type" >&5 d642 1 a642 1 echo "configure:645: checking for $ac_word" >&5 d671 1 a671 1 echo "configure:674: checking for $ac_word" >&5 d719 1 a719 1 echo "configure:722: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d729 1 a729 1 #line 732 "configure" d733 1 a733 1 if { (eval echo configure:736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d753 1 a753 1 echo "configure:756: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d758 1 a758 1 echo "configure:761: checking whether we are using GNU C" >&5 d767 1 a767 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d782 1 a782 1 echo "configure:785: checking whether ${CC-cc} accepts -g" >&5 d810 1 a810 1 echo "configure:813: checking how to run the C preprocessor" >&5 d825 1 a825 1 #line 828 "configure" d831 1 a831 1 { (eval echo configure:834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d842 1 a842 1 #line 845 "configure" d848 1 a848 1 { (eval echo configure:851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d872 1 a872 1 echo "configure:875: checking whether ${CC-cc} needs -traditional" >&5 d878 1 a878 1 #line 881 "configure" d896 1 a896 1 #line 899 "configure" d928 1 a928 1 echo "configure:931: checking for a BSD compatible install" >&5 d979 1 a979 1 echo "configure:982: checking checking for POSIX chmod..." >&5 d994 1 a994 1 echo "configure:997: checking for AIX" >&5 d996 1 a996 1 #line 999 "configure" d1019 1 a1019 1 echo "configure:1022: checking for minix/config.h" >&5 d1024 1 a1024 1 #line 1027 "configure" d1029 1 a1029 1 { (eval echo configure:1032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1067 1 a1067 1 echo "configure:1070: checking for POSIXized ISC" >&5 d1093 1 a1093 1 echo "configure:1096: checking for $ac_word" >&5 d1122 1 a1122 1 echo "configure:1125: checking whether ln -s works" >&5 d1143 1 a1143 1 echo "configure:1146: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1172 1 a1172 1 echo "configure:1175: checking for $ac_word" >&5 d1208 1 a1208 1 echo "configure:1211: checking for $ac_word" >&5 d1239 1 a1239 1 echo "configure:1242: checking for $ac_word" >&5 d1271 4 a1274 1 if test "$cross_compiling" != "yes"; then d1276 1 a1276 1 echo "configure:1276: checking checking for GNU cpio..." >&5 d1293 1 a1293 23 echo "configure: warning: RPM will not work without GNU cpio 2.4.2 or later." 1>&2 CPIOBIN="cpio" else echo "$ac_t""yes" 1>&6 fi echo $ac_n "checking checking for GNU gzip...""... $ac_c" 1>&6 echo "configure:1300: checking checking for GNU gzip..." >&5 if test -z "$GZIPBIN"; then oldifs="$IFS" IFS=: for n in $PATH:/opt/gnu/bin; do if test -f $n/gzip; then GZIPBIN="$n/gzip"; fi done IFS="$oldifs" fi if test -z "$GZIPBIN"; then GZIPBIN="gzip" echo "$ac_t""no" 1>&6 echo "configure: warning: RPM will not work without GNU gzip." 1>&2 d1322 1 a1322 1 echo "configure:1344: checking checking for /usr/local/lib..." >&5 d1332 1 a1332 1 echo "configure:1354: checking checking for /usr/local/include..." >&5 a1339 101 echo $ac_n "checking checking for /usr/ucblib...""... $ac_c" 1>&6 echo "configure:1363: checking checking for /usr/ucblib..." >&5 if test -d /usr/ucblib ; then LIBS="$LIBS -L/usr/ucblib" echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for strcasecmp""... $ac_c" 1>&6 echo "configure:1374: checking for strcasecmp" >&5 if eval "test \"`echo '$''{'ac_cv_func_strcasecmp'+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 strcasecmp(); 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_strcasecmp) || defined (__stub___strcasecmp) choke me #else strcasecmp(); #endif ; return 0; } EOF if { (eval echo configure:1402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_strcasecmp=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_strcasecmp=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'strcasecmp`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for strcasecmp in -lucb""... $ac_c" 1>&6 echo "configure:1421: checking for strcasecmp in -lucb" >&5 ac_lib_var=`echo ucb'_'strcasecmp | 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="-lucb $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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="-lucb $LIBS" else echo "$ac_t""no" 1>&6 fi fi d1352 1 a1352 1 echo "configure:1475: checking for gettext" >&5 d1357 1 a1357 1 #line 1480 "configure" d1380 1 a1380 1 if { (eval echo configure:1503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1398 1 a1398 1 echo "configure:1521: checking for gettext in -lintl" >&5 d1406 1 a1406 1 #line 1529 "configure" d1417 1 a1417 1 if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1447 1 a1447 1 echo "configure:1570: checking for $ac_word" >&5 d1491 3 a1493 3 echo $ac_n "checking for getdomainname""... $ac_c" 1>&6 echo "configure:1615: checking for getdomainname" >&5 if eval "test \"`echo '$''{'ac_cv_func_getdomainname'+set}'`\" = set"; then d1497 1 a1497 1 #line 1620 "configure" d1500 1 a1500 1 which can conflict with char getdomainname(); below. */ d1505 1 a1505 1 char getdomainname(); d1512 1 a1512 1 #if defined (__stub_getdomainname) || defined (__stub___getdomainname) d1515 1 a1515 1 getdomainname(); d1520 1 a1520 1 if { (eval echo configure:1643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1522 1 a1522 1 eval "ac_cv_func_getdomainname=yes" d1527 1 a1527 1 eval "ac_cv_func_getdomainname=no" d1532 1 a1532 1 if eval "test \"`echo '$ac_cv_func_'getdomainname`\" = yes"; then d1538 3 a1540 3 echo $ac_n "checking for getdomainname in -lnsl""... $ac_c" 1>&6 echo "configure:1662: checking for getdomainname in -lnsl" >&5 ac_lib_var=`echo nsl'_'getdomainname | sed 'y%./+-%__p_%'` d1547 1 a1547 1 #line 1670 "configure" d1552 1 a1552 1 char getdomainname(); d1555 1 a1555 1 getdomainname() d1558 1 a1558 1 if { (eval echo configure:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1582 1 a1582 1 echo "configure:1705: checking for socket" >&5 d1587 1 a1587 1 #line 1710 "configure" d1610 1 a1610 1 if { (eval echo configure:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1629 1 a1629 1 echo "configure:1752: checking for socket in -lsocket" >&5 d1637 1 a1637 1 #line 1760 "configure" d1648 1 a1648 1 if { (eval echo configure:1771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1673 1 a1673 1 echo "configure:1796: checking for dbopen" >&5 d1678 1 a1678 1 #line 1801 "configure" d1701 1 a1701 1 if { (eval echo configure:1824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1719 1 a1719 1 echo "configure:1842: checking for dbopen in -ldb" >&5 d1727 1 a1727 1 #line 1850 "configure" d1738 1 a1738 1 if { (eval echo configure:1861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1772 1 a1772 1 echo "configure:1895: checking for fork" >&5 d1777 1 a1777 1 #line 1900 "configure" d1800 1 a1800 1 if { (eval echo configure:1923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1833 1 a1833 1 echo "configure:1956: checking for gzread in -l${zlib}" >&5 d1841 1 a1841 1 #line 1964 "configure" d1852 1 a1852 1 if { (eval echo configure:1975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1879 1 a1879 1 echo "configure:2002: checking for ANSI C header files" >&5 d1884 1 a1884 1 #line 2007 "configure" d1892 1 a1892 1 { (eval echo configure:2015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1909 1 a1909 1 #line 2032 "configure" d1927 1 a1927 1 #line 2050 "configure" d1948 1 a1948 1 #line 2071 "configure" d1959 1 a1959 1 if { (eval echo configure:2082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d1982 1 a1982 107 echo $ac_n "checking whether sys/types.h defines makedev""... $ac_c" 1>&6 echo "configure:2106: checking whether sys/types.h defines makedev" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_types_h_makedev'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return makedev(0, 0); ; return 0; } EOF if { (eval echo configure:2118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_header_sys_types_h_makedev=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_sys_types_h_makedev=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_header_sys_types_h_makedev" 1>&6 if test $ac_cv_header_sys_types_h_makedev = no; then ac_safe=`echo "sys/mkdev.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/mkdev.h""... $ac_c" 1>&6 echo "configure:2136: checking for sys/mkdev.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:2146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` 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 cat >> confdefs.h <<\EOF #define MAJOR_IN_MKDEV 1 EOF else echo "$ac_t""no" 1>&6 fi if test $ac_cv_header_sys_mkdev_h = no; then ac_safe=`echo "sys/sysmacros.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/sysmacros.h""... $ac_c" 1>&6 echo "configure:2174: checking for sys/sysmacros.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:2184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` 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 cat >> confdefs.h <<\EOF #define MAJOR_IN_SYSMACROS 1 EOF else echo "$ac_t""no" 1>&6 fi fi fi for ac_hdr in netinet/in_systm.h limits.h d1986 1 a1986 1 echo "configure:2215: checking for $ac_hdr" >&5 d1991 1 a1991 1 #line 2220 "configure" d1996 1 a1996 1 { (eval echo configure:2225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2022 1 a2022 1 for ac_hdr in alloca.h dirent.h sys/socket.h sys/select.h d2026 1 a2026 1 echo "configure:2255: checking for $ac_hdr" >&5 d2031 1 a2031 1 #line 2260 "configure" d2036 1 a2036 1 { (eval echo configure:2265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2066 1 a2066 1 echo "configure:2295: checking for $ac_hdr" >&5 d2071 1 a2071 1 #line 2300 "configure" d2076 1 a2076 1 { (eval echo configure:2305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2106 1 a2106 1 echo "configure:2335: checking for $ac_hdr" >&5 d2111 1 a2111 1 #line 2340 "configure" d2116 1 a2116 1 { (eval echo configure:2345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2147 1 a2147 1 echo "configure:2376: checking for $ac_hdr" >&5 d2152 1 a2152 1 #line 2381 "configure" d2157 1 a2157 1 { (eval echo configure:2386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2190 1 a2190 1 echo "configure:2419: checking for $ac_hdr" >&5 d2195 1 a2195 1 #line 2424 "configure" d2200 1 a2200 1 { (eval echo configure:2429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2229 1 a2229 1 echo "configure:2458: checking whether byte ordering is bigendian" >&5 d2236 1 a2236 1 #line 2465 "configure" d2247 1 a2247 1 if { (eval echo configure:2476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2251 1 a2251 1 #line 2480 "configure" d2262 1 a2262 1 if { (eval echo configure:2491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2282 1 a2282 1 #line 2511 "configure" d2295 1 a2295 1 if { (eval echo configure:2524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2320 2 a2321 2 echo $ac_n "checking if defines h_errno...""... $ac_c" 1>&6 echo "configure:2550: checking if defines h_errno..." >&5 d2323 1 a2323 1 #line 2552 "configure" d2330 1 a2330 1 if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2346 2 a2347 30 echo $ac_n "checking if defines S_IFSOCK...""... $ac_c" 1>&6 echo "configure:2576: checking if defines S_IFSOCK..." >&5 cat > conftest.$ac_ext < int main() { printf("%d", S_IFSOCK) ; return 0; } EOF if { (eval echo configure:2585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* HAS_S_IFSOCK=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* HAS_S_IFSOCK=no fi rm -f conftest* echo "$ac_t""$HAS_S_IFSOCK" 1>&6 if test $HAS_S_IFSOCK = yes; then cat >> confdefs.h <<\EOF #define HAVE_S_IFSOCK 1 EOF fi echo $ac_n "checking if defines S_ISLNK...""... $ac_c" 1>&6 echo "configure:2604: checking if defines S_ISLNK..." >&5 d2349 1 a2349 1 #line 2606 "configure" d2356 1 a2356 1 if { (eval echo configure:2613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2367 1 a2367 1 if test $HAS_S_ISLNK = yes; then d2374 2 a2375 2 echo $ac_n "checking if defines S_ISSOCK...""... $ac_c" 1>&6 echo "configure:2632: checking if defines S_ISSOCK..." >&5 d2377 1 a2377 1 #line 2634 "configure" d2384 1 a2384 1 if { (eval echo configure:2641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2395 1 a2395 1 if test $HAS_S_ISSOCK = yes; then a2401 64 echo $ac_n "checking whether chown() follows symlinks...""... $ac_c" 1>&6 echo "configure:2660: checking whether chown() follows symlinks..." >&5 # Check whether --enable-broken-chown or --disable-broken-chown was given. if test "${enable_broken_chown+set}" = set; then enableval="$enable_broken_chown" result=yes else result=no fi if test $result = no; then if test `id -u` = 0; then rm -f foo bar touch foo ln -s foo bar chown 10 bar if test `ls -l foo | awk '{print $3}'` != "root"; then result=yes else result=no fi rm -f foo bar else echo $ac_n "checking (cannot check by non-root user)""... $ac_c" 1>&6 echo "configure:2683: checking (cannot check by non-root user)" >&5 result=yes fi fi echo "$ac_t""$result" 1>&6 if test $result = yes; then cat >> confdefs.h <<\EOF #define CHOWN_FOLLOWS_SYMLINK 1 EOF fi echo $ac_n "checking if timezone is defined...""... $ac_c" 1>&6 echo "configure:2696: checking if timezone is defined..." >&5 cat > conftest.$ac_ext < int main() { printf("%ld", timezone) ; return 0; } EOF if { (eval echo configure:2705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* HAS_TIMEZONE=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* HAS_TIMEZONE=no fi rm -f conftest* echo "$ac_t""$HAS_TIMEZONE" 1>&6 if test $HAS_TIMEZONE = no; then cat >> confdefs.h <<\EOF #define NEED_TIMEZONE 1 EOF fi d2403 1 a2403 1 echo "configure:2724: checking for inet_aton" >&5 d2408 1 a2408 1 #line 2729 "configure" d2431 1 a2431 1 if { (eval echo configure:2752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2455 1 a2455 1 echo "configure:2776: checking for realpath" >&5 d2460 1 a2460 1 #line 2781 "configure" d2483 1 a2483 1 if { (eval echo configure:2804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then a2505 147 echo $ac_n "checking for strerror""... $ac_c" 1>&6 echo "configure:2828: checking for strerror" >&5 if eval "test \"`echo '$''{'ac_cv_func_strerror'+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 strerror(); 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_strerror) || defined (__stub___strerror) choke me #else strerror(); #endif ; return 0; } EOF if { (eval echo configure:2856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_strerror=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_strerror=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'strerror`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 MISCOBJS="$MISCOBJS strerror.o" fi echo $ac_n "checking for strtol""... $ac_c" 1>&6 echo "configure:2877: checking for strtol" >&5 if eval "test \"`echo '$''{'ac_cv_func_strtol'+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 strtol(); 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_strtol) || defined (__stub___strtol) choke me #else strtol(); #endif ; return 0; } EOF if { (eval echo configure:2905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_strtol=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_strtol=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'strtol`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 MISCOBJS="$MISCOBJS strtol.o" fi echo $ac_n "checking for strtoul""... $ac_c" 1>&6 echo "configure:2926: checking for strtoul" >&5 if eval "test \"`echo '$''{'ac_cv_func_strtoul'+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 strtoul(); 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_strtoul) || defined (__stub___strtoul) choke me #else strtoul(); #endif ; return 0; } EOF if { (eval echo configure:2954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_strtoul=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_strtoul=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'strtoul`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 MISCOBJS="$MISCOBJS strtoul.o" fi d2528 3 a2530 10 # Solaris 2.5.1 seems to confuse things if echo "$build" | grep "solaris2.5" > /dev/null ; then echo "Hacking things up for Solaris 2.5.x" build_os="solaris" fi RPM=rpm # Solaris needs -ldl to use -lnsl, and it can't build static # binaries if you use -ldl if echo "$build_os" | grep solaris >/dev/null; then a2531 1 RPM=rpm.shared a2532 2 elif echo "$build_os" | grep sco > /dev/null; then echo "hacking things up for sco" d2534 2 a2535 19 cat >> confdefs.h <<\EOF #define NEED_STRINGS_H 1 EOF elif echo "$build_os" | grep sunos > /dev/null; then echo "hacking things up for sunos" CFLAGS="$CFLAGS -D__USE_FIXED_PROTOTYPES__" cat >> confdefs.h <<\EOF #define NEED_STRINGS_H 1 EOF cat >> confdefs.h <<\EOF #define NEED_MYREALLOC 1 EOF MISCOBJS="$MISCOBJS myrealloc.o" elif echo "$build_os" | grep hpux > /dev/null; then RPM=rpm.shared echo "hacking things up for hpux" a2573 1 a2742 1 s%@@GZIPBIN@@%$GZIPBIN%g @ 1.1.1.5 log @Import: RPM 2.4.12 @ text @a531 2 MISCOBJS= d579 1 a579 1 echo "configure:582: checking host system type" >&5 d600 1 a600 1 echo "configure:603: checking target system type" >&5 d618 1 a618 1 echo "configure:621: checking build system type" >&5 d644 1 a644 1 echo "configure:647: checking for $ac_word" >&5 d673 1 a673 1 echo "configure:676: checking for $ac_word" >&5 d721 1 a721 1 echo "configure:724: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d731 1 a731 1 #line 734 "configure" d735 1 a735 1 if { (eval echo configure:738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d755 1 a755 1 echo "configure:758: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d760 1 a760 1 echo "configure:763: checking whether we are using GNU C" >&5 d769 1 a769 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d784 1 a784 1 echo "configure:787: checking whether ${CC-cc} accepts -g" >&5 d812 1 a812 1 echo "configure:815: checking how to run the C preprocessor" >&5 d827 1 a827 1 #line 830 "configure" d833 1 a833 1 { (eval echo configure:836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d844 1 a844 1 #line 847 "configure" d850 1 a850 1 { (eval echo configure:853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d874 1 a874 1 echo "configure:877: checking whether ${CC-cc} needs -traditional" >&5 d880 1 a880 1 #line 883 "configure" d898 1 a898 1 #line 901 "configure" d930 1 a930 1 echo "configure:933: checking for a BSD compatible install" >&5 d980 2 a981 2 echo $ac_n "checking POSIX chmod...""... $ac_c" 1>&6 echo "configure:984: checking POSIX chmod..." >&5 d996 1 a996 1 echo "configure:999: checking for AIX" >&5 d998 1 a998 1 #line 1001 "configure" d1021 1 a1021 1 echo "configure:1024: checking for minix/config.h" >&5 d1026 1 a1026 1 #line 1029 "configure" d1031 1 a1031 1 { (eval echo configure:1034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1069 1 a1069 1 echo "configure:1072: checking for POSIXized ISC" >&5 d1095 1 a1095 1 echo "configure:1098: checking for $ac_word" >&5 d1124 1 a1124 1 echo "configure:1127: checking whether ln -s works" >&5 d1145 1 a1145 1 echo "configure:1148: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1174 1 a1174 1 echo "configure:1177: checking for $ac_word" >&5 d1210 1 a1210 1 echo "configure:1213: checking for $ac_word" >&5 d1241 1 a1241 1 echo "configure:1244: checking for $ac_word" >&5 d1274 26 a1299 2 echo $ac_n "checking GNU gzip...""... $ac_c" 1>&6 echo "configure:1278: checking GNU gzip..." >&5 a1305 1 break a1317 14 echo $ac_n "checking old version of patch""... $ac_c" 1>&6 echo "configure:1300: checking old version of patch" >&5 PATCHVERSION=`patch --version 2>&1` if test "$PATCHVERSION" = "Patch version 2.1"; then cat >> confdefs.h <<\EOF #define HAVE_OLDPATCH_21 1 EOF echo "$ac_t""patch older then 2.2 found" 1>&6 else echo "$ac_t""patch later then 2.2 found" 1>&6 fi d1323 1 a1323 2 echo $ac_n "checking "$prefix/lib... $ac_c"""... $ac_c" 1>&6 echo "configure:1318: checking "$prefix/lib... $ac_c"" >&5 d1325 3 a1327 2 LIBS="$LIBS -L$prefix/lib" echo "$ac_t""yes" 1>&6 d1329 1 a1329 1 echo "$ac_t""no" 1>&6 d1334 3 a1336 2 INCPATH="$INCPATH -I$prefix/include" echo "$ac_t""yes" 1>&6 d1338 1 a1338 1 echo "$ac_t""no" 1>&6 d1342 2 a1343 2 echo $ac_n "checking /usr/local/lib...""... $ac_c" 1>&6 echo "configure:1336: checking /usr/local/lib..." >&5 d1352 2 a1353 2 echo $ac_n "checking /usr/local/include...""... $ac_c" 1>&6 echo "configure:1346: checking /usr/local/include..." >&5 d1361 2 a1362 2 echo $ac_n "checking /usr/ucblib...""... $ac_c" 1>&6 echo "configure:1355: checking /usr/ucblib..." >&5 a1363 4 if test "$build" = "mips-sni-sysv4" ; then LIBS="$LIBS -L/usr/ccs/lib -lc" fi d1373 1 a1373 1 echo "configure:1370: checking for strcasecmp" >&5 d1378 1 a1378 1 #line 1375 "configure" d1401 1 a1401 1 if { (eval echo configure:1398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1420 1 a1420 1 echo "configure:1417: checking for strcasecmp in -lucb" >&5 d1428 1 a1428 1 #line 1425 "configure" d1439 1 a1439 92 if { (eval echo configure:1436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lucb" USEUCB=y else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for rand""... $ac_c" 1>&6 echo "configure:1461: checking for rand" >&5 if eval "test \"`echo '$''{'ac_cv_func_rand'+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 rand(); 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_rand) || defined (__stub___rand) choke me #else rand(); #endif ; return 0; } EOF if { (eval echo configure:1489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_rand=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_rand=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'rand`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for rand in -lrand""... $ac_c" 1>&6 echo "configure:1508: checking for rand in -lrand" >&5 ac_lib_var=`echo rand'_'rand | 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="-lrand $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1454 1 a1454 1 LIBS="$LIBS -lm" d1474 1 a1474 1 echo "configure:1562: checking for gettext" >&5 d1479 1 a1479 1 #line 1567 "configure" d1502 1 a1502 1 if { (eval echo configure:1590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1520 1 a1520 1 echo "configure:1608: checking for gettext in -lintl" >&5 d1528 1 a1528 1 #line 1616 "configure" d1539 1 a1539 1 if { (eval echo configure:1627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1569 1 a1569 1 echo "configure:1657: checking for $ac_word" >&5 d1614 1 a1614 1 echo "configure:1702: checking for getdomainname" >&5 d1619 1 a1619 1 #line 1707 "configure" d1642 1 a1642 1 if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1661 1 a1661 1 echo "configure:1749: checking for getdomainname in -lnsl" >&5 d1669 1 a1669 1 #line 1757 "configure" d1680 1 a1680 1 if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1695 1 a1695 1 LIBS="$LIBS -lnsl" d1704 1 a1704 1 echo "configure:1792: checking for socket" >&5 d1709 1 a1709 1 #line 1797 "configure" d1732 1 a1732 1 if { (eval echo configure:1820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1751 1 a1751 1 echo "configure:1839: checking for socket in -lsocket" >&5 d1759 1 a1759 1 #line 1847 "configure" d1770 1 a1770 1 if { (eval echo configure:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1785 1 a1785 1 LIBS="$LIBS -lsocket" d1795 1 a1795 1 echo "configure:1883: checking for dbopen" >&5 d1800 1 a1800 1 #line 1888 "configure" d1823 1 a1823 1 if { (eval echo configure:1911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1841 1 a1841 1 echo "configure:1929: checking for dbopen in -ldb" >&5 d1849 1 a1849 1 #line 1937 "configure" d1860 1 a1860 1 if { (eval echo configure:1948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1894 1 a1894 1 echo "configure:1982: checking for fork" >&5 d1899 1 a1899 1 #line 1987 "configure" d1922 1 a1922 1 if { (eval echo configure:2010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1955 1 a1955 1 echo "configure:2043: checking for gzread in -l${zlib}" >&5 d1963 1 a1963 1 #line 2051 "configure" d1974 1 a1974 1 if { (eval echo configure:2062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1989 1 a1989 1 LIBS="$LIBS -l${zlib}"; break d2001 1 a2001 1 echo "configure:2089: checking for ANSI C header files" >&5 d2006 1 a2006 1 #line 2094 "configure" d2014 1 a2014 1 { (eval echo configure:2102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2031 1 a2031 1 #line 2119 "configure" d2049 1 a2049 1 #line 2137 "configure" d2070 1 a2070 1 #line 2158 "configure" d2081 1 a2081 1 if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2105 1 a2105 1 echo "configure:2193: checking whether sys/types.h defines makedev" >&5 d2110 1 a2110 1 #line 2198 "configure" d2117 1 a2117 1 if { (eval echo configure:2205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2135 1 a2135 1 echo "configure:2223: checking for sys/mkdev.h" >&5 d2140 1 a2140 1 #line 2228 "configure" d2145 1 a2145 1 { (eval echo configure:2233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2173 1 a2173 1 echo "configure:2261: checking for sys/sysmacros.h" >&5 d2178 1 a2178 1 #line 2266 "configure" d2183 1 a2183 1 { (eval echo configure:2271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2214 1 a2214 1 echo "configure:2302: checking for $ac_hdr" >&5 d2219 1 a2219 1 #line 2307 "configure" d2224 1 a2224 1 { (eval echo configure:2312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2254 1 a2254 1 echo "configure:2342: checking for $ac_hdr" >&5 d2259 1 a2259 1 #line 2347 "configure" d2264 1 a2264 1 { (eval echo configure:2352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2294 1 a2294 41 echo "configure:2382: 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:2392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` 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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_hdr in mntent.h sys/mnttab.h sys/systemcfg.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:2422: checking for $ac_hdr" >&5 d2299 1 a2299 1 #line 2427 "configure" d2304 1 a2304 1 { (eval echo configure:2432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2334 1 a2334 1 echo "configure:2462: checking for $ac_hdr" >&5 d2339 1 a2339 1 #line 2467 "configure" d2344 1 a2344 1 { (eval echo configure:2472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2375 1 a2375 1 echo "configure:2503: checking for $ac_hdr" >&5 d2380 1 a2380 1 #line 2508 "configure" d2385 1 a2385 1 { (eval echo configure:2513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2418 1 a2418 1 echo "configure:2546: checking for $ac_hdr" >&5 d2423 1 a2423 1 #line 2551 "configure" d2428 1 a2428 1 { (eval echo configure:2556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2457 1 a2457 1 echo "configure:2585: checking whether byte ordering is bigendian" >&5 d2464 1 a2464 1 #line 2592 "configure" d2475 1 a2475 1 if { (eval echo configure:2603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2479 1 a2479 1 #line 2607 "configure" d2490 1 a2490 1 if { (eval echo configure:2618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2510 1 a2510 1 #line 2638 "configure" d2523 1 a2523 1 if { (eval echo configure:2651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2549 1 a2549 1 echo "configure:2677: checking if defines h_errno..." >&5 d2551 1 a2551 1 #line 2679 "configure" d2558 1 a2558 1 if { (eval echo configure:2686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2575 1 a2575 1 echo "configure:2703: checking if defines S_IFSOCK..." >&5 d2577 1 a2577 1 #line 2705 "configure" d2584 1 a2584 1 if { (eval echo configure:2712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2603 1 a2603 1 echo "configure:2731: checking if defines S_ISLNK..." >&5 d2605 1 a2605 1 #line 2733 "configure" d2612 1 a2612 1 if { (eval echo configure:2740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2631 1 a2631 1 echo "configure:2759: checking if defines S_ISSOCK..." >&5 d2633 1 a2633 1 #line 2761 "configure" d2640 1 a2640 1 if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2658 36 d2695 1 a2695 1 echo "configure:2787: checking if timezone is defined..." >&5 d2697 1 a2697 1 #line 2789 "configure" d2704 1 a2704 1 if { (eval echo configure:2796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2723 1 a2723 1 echo "configure:2815: checking for inet_aton" >&5 d2728 1 a2728 1 #line 2820 "configure" d2751 1 a2751 1 if { (eval echo configure:2843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2775 1 a2775 1 echo "configure:2867: checking for realpath" >&5 d2780 1 a2780 1 #line 2872 "configure" d2803 1 a2803 1 if { (eval echo configure:2895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then a2825 201 echo $ac_n "checking for getmntent""... $ac_c" 1>&6 echo "configure:2919: checking for getmntent" >&5 if eval "test \"`echo '$''{'ac_cv_func_getmntent'+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 getmntent(); 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_getmntent) || defined (__stub___getmntent) choke me #else getmntent(); #endif ; return 0; } EOF if { (eval echo configure:2947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_getmntent=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_getmntent=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'getmntent`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_GETMNTENT 1 EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for mntctl""... $ac_c" 1>&6 echo "configure:2969: checking for mntctl" >&5 if eval "test \"`echo '$''{'ac_cv_func_mntctl'+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 mntctl(); 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_mntctl) || defined (__stub___mntctl) choke me #else mntctl(); #endif ; return 0; } EOF if { (eval echo configure:2997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_mntctl=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_mntctl=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'mntctl`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_MNTCTL 1 EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for getmntinfo_r""... $ac_c" 1>&6 echo "configure:3019: checking for getmntinfo_r" >&5 if eval "test \"`echo '$''{'ac_cv_func_getmntinfo_r'+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 getmntinfo_r(); 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_getmntinfo_r) || defined (__stub___getmntinfo_r) choke me #else getmntinfo_r(); #endif ; return 0; } EOF if { (eval echo configure:3047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_getmntinfo_r=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_getmntinfo_r=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'getmntinfo_r`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_GETMNTINFO_R 1 EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for getmntinfo_r in -lc_r""... $ac_c" 1>&6 echo "configure:3069: checking for getmntinfo_r in -lc_r" >&5 ac_lib_var=`echo c_r'_'getmntinfo_r | 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="-lc_r $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; 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 -lc_r"; cat >> confdefs.h <<\EOF #define HAVE_GETMNTINFO_R 1 EOF else echo "$ac_t""no" 1>&6 MISCOBJS="$MISCOBJS getmntent.o" fi fi fi fi d2827 1 a2827 1 echo "configure:3120: checking for strerror" >&5 d2832 1 a2832 1 #line 3125 "configure" d2855 1 a2855 1 if { (eval echo configure:3148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2876 1 a2876 1 echo "configure:3169: checking for strtol" >&5 d2881 1 a2881 1 #line 3174 "configure" d2904 1 a2904 1 if { (eval echo configure:3197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2925 1 a2925 1 echo "configure:3218: checking for strtoul" >&5 d2930 1 a2930 1 #line 3223 "configure" d2953 1 a2953 1 if { (eval echo configure:3246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then a2972 16 LCHOWN=no echo $ac_n "checking for lchown""... $ac_c" 1>&6 echo "configure:3268: checking for lchown" >&5 if eval "test \"`echo '$''{'ac_cv_func_lchown'+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 lchown(); d2974 2 a2975 78 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_lchown) || defined (__stub___lchown) choke me #else lchown(); #endif ; return 0; } EOF if { (eval echo configure:3296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_lchown=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_lchown=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'lchown`\" = yes"; then echo "$ac_t""yes" 1>&6 LCHOWN=yes; cat >> confdefs.h <<\EOF #define HAVE_LCHOWN 1 EOF else echo "$ac_t""no" 1>&6 fi if test "$LCHOWN" = no; then echo $ac_n "checking whether chown() follows symlinks...""... $ac_c" 1>&6 echo "configure:3321: checking whether chown() follows symlinks..." >&5 # Check whether --enable-broken-chown or --disable-broken-chown was given. if test "${enable_broken_chown+set}" = set; then enableval="$enable_broken_chown" result=yes else result=unknown fi if echo "$build" | egrep "(aix)|(hpux)|(linux)" > /dev/null ; then result=yes elif echo "$build" | egrep "(nextstep)" > /dev/null ; then result=no fi if test $result = unknown; then if test `id | cut -f 2 -d \= | cut -f 1 -d \(` = 0; then rm -f foo bar touch foo ln -s foo bar chown 10 bar if test `ls -l foo | awk '{print $3}'` != "root"; then result=yes else result=no fi rm -f foo bar else echo $ac_n "checking (cannot check by non-root user)""... $ac_c" 1>&6 echo "configure:3349: checking (cannot check by non-root user)" >&5 result=no fi fi echo "$ac_t""$result" 1>&6 if test $result = yes; then cat >> confdefs.h <<\EOF #define CHOWN_FOLLOWS_SYMLINK 1 EOF fi a3014 4 cat >> confdefs.h <<\EOF #define HAVE_STRUCT_MNTTAB 1 EOF a3049 7 if test -n "$MISCOBJS" ; then MISCDIR=misc LIBMISC=-lmisc MISCPATH=misc/libmisc.a fi a3068 6 if test -d newbuild ; then NBMAKEFILE=newbuild/Makefile else NBMAKEFILE= fi d3170 1 a3170 1 trap 'rm -fr `echo "Makefile Makefile.inc lib-rpmrc lib/Makefile build/Makefile $NBMAKEFILE tools/Makefile po/Makefile misc/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 d3227 1 d3237 1 a3239 3 s%@@MISCDIR@@%$MISCDIR%g s%@@LIBMISC@@%$LIBMISC%g s%@@MISCPATH@@%$MISCPATH%g d3281 1 a3281 1 CONFIG_FILES=\${CONFIG_FILES-"Makefile Makefile.inc lib-rpmrc lib/Makefile build/Makefile $NBMAKEFILE tools/Makefile po/Makefile misc/Makefile"} @ 1.1.1.6 log @Import: RPM 2.5 @ text @a642 2 RPMCONFIGDIR='$(libdir)' d646 1 a646 1 echo "configure:649: checking for $ac_word" >&5 d675 1 a675 1 echo "configure:678: checking for $ac_word" >&5 d723 1 a723 1 echo "configure:726: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d733 1 a733 1 #line 736 "configure" d737 1 a737 1 if { (eval echo configure:740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d757 1 a757 1 echo "configure:760: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d762 1 a762 1 echo "configure:765: checking whether we are using GNU C" >&5 d771 1 a771 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d786 1 a786 1 echo "configure:789: checking whether ${CC-cc} accepts -g" >&5 d814 1 a814 1 echo "configure:817: checking how to run the C preprocessor" >&5 d829 1 a829 1 #line 832 "configure" d835 1 a835 1 { (eval echo configure:838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d846 1 a846 1 #line 849 "configure" d852 1 a852 1 { (eval echo configure:855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d876 1 a876 1 echo "configure:879: checking whether ${CC-cc} needs -traditional" >&5 d882 1 a882 1 #line 885 "configure" d900 1 a900 1 #line 903 "configure" d932 1 a932 1 echo "configure:935: checking for a BSD compatible install" >&5 a981 52 if test X"$GCC" = Xyes ; then TARGET="depend everything" else TARGET="everything" # # let the top level Makefile know that we're done with `depend' # echo > .depend-done fi echo $ac_n "checking what additional CFLAGS are needed to link statically""... $ac_c" 1>&6 echo "configure:998: checking what additional CFLAGS are needed to link statically" >&5 if test X"$GCC" = Xyes ; then case "$target" in *-*-hpux*) LDFLAGS_STATIC="-Wl,-a,archive_shared";; #works better *-*-*) LDFLAGS_STATIC="-static";; esac elif test X"$CC" = Xcc ; then case "$target" in *-*-linux*) LDFLAGS_STATIC="-static";; *-*-freebsd*) LDFLAGS_STATIC="-static";; *-*-osf*) LDFLAGS_STATIC="-non_shared";; *-*-aix*) LDFLAGS_STATIC="";; # -Wl,-bnso doesn't seem to work... *-*-hpux*) LDFLAGS_STATIC="-Wl,-a,archive_shared";; *-*-solaris*) LDFLAGS_STATIC="-B static";; *-*-irix*) LDFLAGS_STATIC="";; #should be -non_shared, but can't # link because of crt1.o then. *-*-ultrix*) LDFLAGS_STATIC="";; #ultrix doesn't have shared libs. *-*-*) LDFLAGS_STATIC="" echo "configure: warning: Unable to guess what option to pass to $CC to generate a static executable. You will need to set the LDFLAGS_STATIC macro in Makefile.inc to the appropriate argument(s) if you want to build a static rpm executable. " 1>&2 ;; esac else # just link it dynamically LDFLAGS_STATIC="" fi echo "$ac_t""$LDFLAGS_STATIC" 1>&6 if test -n "$LDFLAGS_STATIC"; then RPM=rpm else RPM=rpm.shared fi d983 1 a983 1 echo "configure:1038: checking POSIX chmod..." >&5 a996 109 for ac_prog in mkdir 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:1057: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$MKDIR" in /*) ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_MKDIR="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" ;; esac fi MKDIR="$ac_cv_path_MKDIR" if test -n "$MKDIR"; then echo "$ac_t""$MKDIR" 1>&6 else echo "$ac_t""no" 1>&6 fi test -n "$MKDIR" && break done test -n "$MKDIR" || MKDIR="mkdir" echo $ac_n "checking if $MKDIR supports -p""... $ac_c" 1>&6 echo "configure:1090: checking if $MKDIR supports -p" >&5 rm -rf conftest $MKDIR -p conftest/a 2>/dev/null if test $? = 0 ; then rmdir conftest/a 2>/dev/null if test $? = 0 ; then : else MKDIR_P=0 fi rmdir conftest 2>/dev/null if test $? = 0 ; then MKDIR_P="$MKDIR -p" else MKDIR_P=0 fi else MKDIR_P=0 fi if test X"$MKDIR_P" = X0 ; then echo "$ac_t""no" 1>&6 for ac_prog in mkdirhier 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:1118: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MKDIRHIER'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$MKDIRHIER" in /*) ac_cv_path_MKDIRHIER="$MKDIRHIER" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_MKDIRHIER="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" ;; esac fi MKDIRHIER="$ac_cv_path_MKDIRHIER" if test -n "$MKDIRHIER"; then echo "$ac_t""$MKDIRHIER" 1>&6 else echo "$ac_t""no" 1>&6 fi test -n "$MKDIRHIER" && break done test -n "$MKDIRHIER" || MKDIRHIER="mkdirhier" MKDIR_P="$MKDIRHIER" else echo "$ac_t""yes" 1>&6 fi cat >> confdefs.h <&5 d1000 1 a1000 1 #line 1164 "configure" d1023 1 a1023 1 echo "configure:1187: checking for minix/config.h" >&5 d1028 1 a1028 1 #line 1192 "configure" d1033 1 a1033 1 { (eval echo configure:1197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1071 1 a1071 1 echo "configure:1235: checking for POSIXized ISC" >&5 d1097 1 a1097 1 echo "configure:1261: checking for $ac_word" >&5 d1126 1 a1126 1 echo "configure:1290: checking whether ln -s works" >&5 d1147 1 a1147 1 echo "configure:1311: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1176 1 a1176 1 echo "configure:1340: checking for $ac_word" >&5 d1212 1 a1212 1 echo "configure:1376: checking for $ac_word" >&5 d1243 1 a1243 1 echo "configure:1407: checking for $ac_word" >&5 d1277 1 a1277 1 echo "configure:1441: checking GNU gzip..." >&5 d1299 1 a1299 1 echo "configure:1463: checking old version of patch" >&5 a1313 10 topsrcdir=`cd ${srcdir}; pwd` addlib() { l=$1 shift case "$target" in *-*-solaris*) LIBS="$LIBS -L$l -R $l $*";; *) LIBS="$LIBS -L$l $*";; esac } d1317 1 a1317 1 echo "configure:1491: checking "$prefix/lib... $ac_c"" >&5 d1319 1 a1319 1 addlib $prefix/lib d1335 1 a1335 1 echo "configure:1509: checking /usr/local/lib..." >&5 d1337 1 a1337 1 addlib /usr/local/lib d1345 1 a1345 1 echo "configure:1519: checking /usr/local/include..." >&5 d1354 1 a1354 1 echo "configure:1528: checking /usr/ucblib..." >&5 d1357 1 a1357 1 addlib /usr/ccs/lib -lc d1360 1 a1360 1 addlib /usr/ucblib d1369 1 a1369 1 echo "configure:1543: checking for strcasecmp" >&5 d1374 1 a1374 1 #line 1548 "configure" d1397 1 a1397 1 if { (eval echo configure:1571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1416 1 a1416 1 echo "configure:1590: checking for strcasecmp in -lucb" >&5 d1424 1 a1424 1 #line 1598 "configure" d1435 1 a1435 1 if { (eval echo configure:1609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1460 1 a1460 1 echo "configure:1634: checking for rand" >&5 d1465 1 a1465 1 #line 1639 "configure" d1488 1 a1488 1 if { (eval echo configure:1662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1507 1 a1507 1 echo "configure:1681: checking for rand in -lrand" >&5 d1515 1 a1515 1 #line 1689 "configure" d1526 1 a1526 1 if { (eval echo configure:1700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1561 1 a1561 1 echo "configure:1735: checking for gettext" >&5 d1566 1 a1566 1 #line 1740 "configure" d1589 1 a1589 1 if { (eval echo configure:1763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1607 1 a1607 1 echo "configure:1781: checking for gettext in -lintl" >&5 d1615 1 a1615 1 #line 1789 "configure" d1626 1 a1626 1 if { (eval echo configure:1800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1656 1 a1656 1 echo "configure:1830: checking for $ac_word" >&5 d1701 1 a1701 1 echo "configure:1875: checking for getdomainname" >&5 d1706 1 a1706 1 #line 1880 "configure" d1729 1 a1729 1 if { (eval echo configure:1903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1748 1 a1748 1 echo "configure:1922: checking for getdomainname in -lnsl" >&5 d1756 1 a1756 1 #line 1930 "configure" d1767 1 a1767 1 if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1791 1 a1791 1 echo "configure:1965: checking for socket" >&5 d1796 1 a1796 1 #line 1970 "configure" d1819 1 a1819 1 if { (eval echo configure:1993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1838 1 a1838 1 echo "configure:2012: checking for socket in -lsocket" >&5 d1846 1 a1846 1 #line 2020 "configure" d1857 1 a1857 1 if { (eval echo configure:2031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1882 1 a1882 1 echo "configure:2056: checking for dbopen" >&5 d1887 1 a1887 1 #line 2061 "configure" d1910 1 a1910 1 if { (eval echo configure:2084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1928 1 a1928 1 echo "configure:2102: checking for dbopen in -ldb" >&5 d1936 1 a1936 1 #line 2110 "configure" d1947 1 a1947 1 if { (eval echo configure:2121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d1981 1 a1981 1 echo "configure:2155: checking for fork" >&5 d1986 1 a1986 1 #line 2160 "configure" d2009 1 a2009 1 if { (eval echo configure:2183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2042 1 a2042 1 echo "configure:2216: checking for gzread in -l${zlib}" >&5 d2050 1 a2050 1 #line 2224 "configure" d2061 1 a2061 1 if { (eval echo configure:2235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2088 1 a2088 1 echo "configure:2262: checking for ANSI C header files" >&5 d2093 1 a2093 1 #line 2267 "configure" d2101 1 a2101 1 { (eval echo configure:2275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2118 1 a2118 1 #line 2292 "configure" d2136 1 a2136 1 #line 2310 "configure" d2157 1 a2157 1 #line 2331 "configure" d2168 1 a2168 1 if { (eval echo configure:2342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null d2192 1 a2192 1 echo "configure:2366: checking whether sys/types.h defines makedev" >&5 d2197 1 a2197 1 #line 2371 "configure" d2204 1 a2204 1 if { (eval echo configure:2378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2222 1 a2222 1 echo "configure:2396: checking for sys/mkdev.h" >&5 d2227 1 a2227 1 #line 2401 "configure" d2232 1 a2232 1 { (eval echo configure:2406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2260 1 a2260 1 echo "configure:2434: checking for sys/sysmacros.h" >&5 d2265 1 a2265 1 #line 2439 "configure" d2270 1 a2270 1 { (eval echo configure:2444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2301 1 a2301 1 echo "configure:2475: checking for $ac_hdr" >&5 d2306 1 a2306 1 #line 2480 "configure" d2311 1 a2311 1 { (eval echo configure:2485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2341 1 a2341 1 echo "configure:2515: checking for $ac_hdr" >&5 d2346 1 a2346 1 #line 2520 "configure" d2351 1 a2351 1 { (eval echo configure:2525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2381 1 a2381 41 echo "configure:2555: 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:2565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` 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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_hdr in sys/types.h sys/stdtypes.h unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:2595: checking for $ac_hdr" >&5 d2386 1 a2386 1 #line 2600 "configure" d2391 1 a2391 1 { (eval echo configure:2605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2421 1 a2421 41 echo "configure:2635: 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:2645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` 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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_hdr in sys/mount.h sys/mntctl.h sys/vmount.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:2675: checking for $ac_hdr" >&5 d2426 1 a2426 1 #line 2680 "configure" d2431 1 a2431 1 { (eval echo configure:2685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2461 1 a2461 1 echo "configure:2715: checking for $ac_hdr" >&5 d2466 1 a2466 1 #line 2720 "configure" d2471 1 a2471 1 { (eval echo configure:2725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2502 1 a2502 1 echo "configure:2756: checking for $ac_hdr" >&5 d2507 1 a2507 1 #line 2761 "configure" d2512 1 a2512 1 { (eval echo configure:2766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2545 1 a2545 1 echo "configure:2799: checking for $ac_hdr" >&5 d2550 1 a2550 1 #line 2804 "configure" d2555 1 a2555 1 { (eval echo configure:2809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d2584 1 a2584 1 echo "configure:2838: checking whether byte ordering is bigendian" >&5 d2591 1 a2591 1 #line 2845 "configure" d2602 1 a2602 1 if { (eval echo configure:2856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2606 1 a2606 1 #line 2860 "configure" d2617 1 a2617 1 if { (eval echo configure:2871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2637 1 a2637 1 #line 2891 "configure" d2650 1 a2650 1 if { (eval echo configure:2904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null a2672 40 echo $ac_n "checking for inline""... $ac_c" 1>&6 echo "configure:2928: 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 fi 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 < defines h_errno..." >&5 d2678 1 a2678 1 #line 2972 "configure" d2685 1 a2685 1 if { (eval echo configure:2979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2702 1 a2702 1 echo "configure:2996: checking if defines S_IFSOCK..." >&5 d2704 1 a2704 1 #line 2998 "configure" d2711 1 a2711 1 if { (eval echo configure:3005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2730 1 a2730 1 echo "configure:3024: checking if defines S_ISLNK..." >&5 d2732 1 a2732 1 #line 3026 "configure" d2739 1 a2739 1 if { (eval echo configure:3033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2758 1 a2758 1 echo "configure:3052: checking if defines S_ISSOCK..." >&5 d2760 1 a2760 1 #line 3054 "configure" d2767 1 a2767 1 if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2786 1 a2786 1 echo "configure:3080: checking if timezone is defined..." >&5 d2788 1 a2788 1 #line 3082 "configure" d2795 1 a2795 1 if { (eval echo configure:3089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2806 6 d2814 1 a2814 1 echo "configure:3102: checking for inet_aton" >&5 d2819 1 a2819 1 #line 3107 "configure" d2842 1 a2842 1 if { (eval echo configure:3130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2866 1 a2866 1 echo "configure:3154: checking for realpath" >&5 d2871 1 a2871 1 #line 3159 "configure" d2894 1 a2894 1 if { (eval echo configure:3182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2918 1 a2918 1 echo "configure:3206: checking for getmntent" >&5 d2923 1 a2923 1 #line 3211 "configure" d2946 1 a2946 1 if { (eval echo configure:3234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d2968 1 a2968 1 echo "configure:3256: checking for mntctl" >&5 d2973 1 a2973 1 #line 3261 "configure" d2996 1 a2996 1 if { (eval echo configure:3284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3018 1 a3018 1 echo "configure:3306: checking for getmntinfo_r" >&5 d3023 1 a3023 1 #line 3311 "configure" d3046 1 a3046 1 if { (eval echo configure:3334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3068 1 a3068 1 echo "configure:3356: checking for getmntinfo_r in -lc_r" >&5 d3076 1 a3076 1 #line 3364 "configure" d3087 1 a3087 1 if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3119 1 a3119 1 echo "configure:3407: checking for strerror" >&5 d3124 1 a3124 1 #line 3412 "configure" d3147 1 a3147 1 if { (eval echo configure:3435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3168 1 a3168 1 echo "configure:3456: checking for strtol" >&5 d3173 1 a3173 1 #line 3461 "configure" d3196 1 a3196 1 if { (eval echo configure:3484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3217 1 a3217 1 echo "configure:3505: checking for strtoul" >&5 d3222 1 a3222 1 #line 3510 "configure" d3245 1 a3245 1 if { (eval echo configure:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then a3264 49 echo $ac_n "checking for strdup""... $ac_c" 1>&6 echo "configure:3554: checking for strdup" >&5 if eval "test \"`echo '$''{'ac_cv_func_strdup'+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 strdup(); 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_strdup) || defined (__stub___strdup) choke me #else strdup(); #endif ; return 0; } EOF if { (eval echo configure:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_strdup=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_strdup=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'strdup`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 MISCOBJS="$MISCOBJS strdup.o" fi d3267 1 a3267 1 echo "configure:3604: checking for lchown" >&5 d3272 1 a3272 1 #line 3609 "configure" d3295 1 a3295 1 if { (eval echo configure:3632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d3320 1 a3320 1 echo "configure:3657: checking whether chown() follows symlinks..." >&5 d3324 1 a3324 1 result=$enableval d3335 1 a3335 1 if test `id | cut -f2 -d\= | cut -f1 -d\(` = 0; then d3348 1 a3348 1 echo "configure:3685: checking (cannot check by non-root user)" >&5 a3361 57 echo $ac_n "checking root's primary group""... $ac_c" 1>&6 echo "configure:3701: checking root's primary group" >&5 if test "$cross_compiling" = yes; then ROOT_GROUP="root" else cat > conftest.$ac_ext < #include #include #include int main() { struct passwd *root = NULL; struct group *roots_group = NULL; FILE * tempfile = NULL; root = getpwuid( (uid_t) 0 ); if (root != NULL) { roots_group = getgrgid(root->pw_gid); if (roots_group != NULL) { tempfile = fopen("conftest_rootg", "w"); if (tempfile != NULL) { fprintf(tempfile, "%s\n", roots_group->gr_name); fclose(tempfile); exit(0); } } } exit(1); } EOF if { (eval echo configure:3736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ROOT_GROUP=`cat conftest_rootg` else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ROOT_GROUP="root" fi rm -fr conftest* fi cat >> confdefs.h <&6 d3379 14 a3392 1 if echo "$build_os" | grep sco > /dev/null; then d3416 1 a3416 3 #RPM=rpm.shared RPM=rpm LIBDL=-ldld a3417 13 elif echo "$build_os" | grep irix > /dev/null; then RPM=rpm.shared echo "hacking things up for irix" elif echo "$build_os" | grep aix > /dev/null; then RPM=rpm.shared echo "hacking things up for aix" fi # # get rid of the 4-th tuple, if config.guess returned "linux-gnu" for build_os # if echo "$build_os" | grep '.*-gnu' > /dev/null ; then build_os=`echo "${build_os}" | sed 's/-gnu$//'` a3419 6 build_os_exact="${build_os}" build_os_major=`echo "${build_os}" | sed 's/\..*$//'` build_os_noversion=`echo "${build_os}" | sed 's/[0-9]*\..*$//'` d3421 3 a3423 9 if test -f ${srcdir}/autodeps/${build_os_exact}.prov ; then echo "using ${srcdir}/autodeps/${build_os_exact}.prov for automatic provides generation" ln -s ${srcdir}/autodeps/${build_os_exact}.prov ./find-provides.sh elif test -f ${srcdir}/autodeps/${build_os_major}.prov ; then echo "using ${srcdir}/autodeps/${build_os_major}.prov for automatic provides generation" ln -s ${srcdir}/autodeps/${build_os_major}.prov ./find-provides.sh elif test -f ${srcdir}/autodeps/${build_os_noversion}.prov ; then echo "using ${srcdir}/autodeps/${build_os_noversion}.prov for automatic provides generation" ln -s ${srcdir}/autodeps/${build_os_noversion}.prov ./find-provides.sh d3425 2 a3426 2 echo "*** no default provides information is available for ${build_os_noversion}" ln -s ${srcdir}/autodeps/none ./find-provides.sh d3430 3 a3432 9 if test -f ${srcdir}/autodeps/${build_os_exact}.req ; then echo "using ${srcdir}/autodeps/${build_os_exact}.req for automatic requires generation" ln -s ${srcdir}/autodeps/${build_os_exact}.req ./find-requires.sh elif test -f ${srcdir}/autodeps/${build_os_major}.req ; then echo "using ${srcdir}/autodeps/${build_os_major}.req for automatic requires generation" ln -s ${srcdir}/autodeps/${build_os_major}.req ./find-requires.sh elif test -f ${srcdir}/autodeps/${build_os_noversion}.req ; then echo "using ${srcdir}/autodeps/${build_os_noversion}.req for automatic requires generation" ln -s ${srcdir}/autodeps/${build_os_noversion}.req ./find-requires.sh d3434 2 a3435 2 echo "*** no default requires information is available for ${build_os_noversion}" ln -s ${srcdir}/autodeps/none ./find-requires.sh a3437 1 a3463 4 a3469 2 subdirs="popt" a3619 3 s%@@TARGET@@%$TARGET%g s%@@MKDIR@@%$MKDIR%g s%@@MKDIRHIER@@%$MKDIRHIER%g a3625 1 s%@@ROOT_GROUP@@%$ROOT_GROUP%g a3631 1 s%@@topsrcdir@@%$topsrcdir%g a3641 4 s%@@RPMCONFIGDIR@@%$RPMCONFIGDIR%g s%@@MKDIR_P@@%$MKDIR_P%g s%@@LDFLAGS_STATIC@@%$LDFLAGS_STATIC%g s%@@subdirs@@%$subdirs%g a3859 97 if test "$no_recursion" != yes; then # Remove --cache-file and --srcdir arguments so they do not pile up. ac_sub_configure_args= ac_prev= for ac_arg in $ac_configure_args; do if test -n "$ac_prev"; then ac_prev= continue fi case "$ac_arg" in -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ;; *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; esac done for ac_config_dir in popt; do # Do not complain, so a configure script can configure whichever # parts of a large source tree are present. if test ! -d $srcdir/$ac_config_dir; then continue fi echo configuring in $ac_config_dir case "$srcdir" in .) ;; *) if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :; else { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; } fi ;; esac ac_popdir=`pwd` cd $ac_config_dir # A "../" for each directory in /$ac_config_dir. ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` case "$srcdir" in .) # No --srcdir option. We are building in place. ac_sub_srcdir=$srcdir ;; /*) # Absolute path. ac_sub_srcdir=$srcdir/$ac_config_dir ;; *) # Relative path. ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; esac # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_sub_srcdir/configure; then ac_sub_configure=$ac_sub_srcdir/configure elif test -f $ac_sub_srcdir/configure.in; then ac_sub_configure=$ac_configure else echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2 ac_sub_configure= fi # The recursion is here. if test -n "$ac_sub_configure"; then # Make the cache file name correct relative to the subdirectory. case "$cache_file" in /*) ac_sub_cache_file=$cache_file ;; *) # Relative path. ac_sub_cache_file="$ac_dots$cache_file" ;; esac case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" # The eval makes quoting arguments work. if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir then : else { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; } fi fi cd $ac_popdir done fi @ 1.1.1.7 log @Import: RPM 3.0 @ text @d4 1 a4 1 # Generated automatically using autoconf version 2.13 d15 1 a15 1 --enable-shared[=PKGS] build shared libraries [default=no]" d17 1 a17 15 --enable-static[=PKGS] build static libraries [default=yes]" ac_help="$ac_help --enable-fast-install[=PKGS] optimize for fast installation [default=yes]" ac_help="$ac_help --with-gnu-ld assume the C compiler uses GNU ld [default=no]" ac_help="$ac_help --disable-libtool-lock force libtool not to do file locking" ac_help="$ac_help --disable-nls do not use Native Language Support" ac_help="$ac_help --with-included-gettext use the GNU gettext library included here" ac_help="$ac_help --with-catgets use catgets functions if available" ac_help="$ac_help --enable-broken-chown this system's chown follows symbolic links" a55 1 SHELL=${CONFIG_SHELL-/bin/sh} d339 1 a339 1 echo "configure generated by autoconf version 2.13" d509 1 a509 1 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' a511 2 ac_exeext= ac_objext=o d525 9 d576 1 a576 1 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : d581 1 a581 1 echo "configure:590: checking host system type" >&5 d588 1 a588 1 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : d595 1 a595 1 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` d602 1 a602 1 echo "configure:611: checking target system type" >&5 d613 1 a613 1 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` d620 1 a620 1 echo "configure:629: checking build system type" >&5 d631 1 a631 1 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` d643 1 a643 262 # 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: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # 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:664: 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 else IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 fi fi done ;; esac done IFS="$ac_save_IFS" fi if test "${ac_cv_path_install+set}" = set; then INSTALL="$ac_cv_path_install" else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL="$ac_install_sh" fi fi echo "$ac_t""$INSTALL" 1>&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 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:717: checking whether build environment is sane" >&5 # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "$*" != "X $srcdir/configure conftestfile" \ && test "$*" != "X conftestfile $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { echo "configure: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" 1>&2; exit 1; } fi test "$2" = conftestfile ) then # Ok. : else { echo "configure: error: newly created file is older than distributed files! Check your system clock" 1>&2; exit 1; } fi rm -f conftest* echo "$ac_t""yes" 1>&6 if test "$program_transform_name" = s,x,x,; then program_transform_name= else # Double any \ or $. echo might interpret backslashes. cat <<\EOF_SED > conftestsed s,\\,\\\\,g; s,\$,$$,g EOF_SED program_transform_name="`echo $program_transform_name|sed -f conftestsed`" rm -f conftestsed fi test "$program_prefix" != NONE && program_transform_name="s,^,${program_prefix},; $program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" # sed with no file args requires a program. 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:774: 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 else cat > conftestmake <<\EOF all: @@echo 'ac_maketemp="${MAKE}"' EOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftestmake fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$ac_t""yes" 1>&6 SET_MAKE= else echo "$ac_t""no" 1>&6 SET_MAKE="MAKE=${MAKE-make}" fi PACKAGE=rpm VERSION=3.0 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; } fi cat >> confdefs.h <> confdefs.h <&6 echo "configure:821: checking for working aclocal" >&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 echo "$ac_t""found" 1>&6 else ACLOCAL="$missing_dir/missing aclocal" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 echo "configure:834: 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. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf echo "$ac_t""found" 1>&6 else AUTOCONF="$missing_dir/missing autoconf" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working automake""... $ac_c" 1>&6 echo "configure:847: checking for working automake" >&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 echo "$ac_t""found" 1>&6 else AUTOMAKE="$missing_dir/missing automake" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 echo "configure:860: 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. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader echo "$ac_t""found" 1>&6 else AUTOHEADER="$missing_dir/missing autoheader" echo "$ac_t""missing" 1>&6 fi echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 echo "configure:873: 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. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo echo "$ac_t""found" 1>&6 else MAKEINFO="$missing_dir/missing makeinfo" echo "$ac_t""missing" 1>&6 fi ALL_LINGUAS="cs de fi fr pt_BR ru sk sr sv tr" LIBOBJS= if test "$program_transform_name" = s,x,x,; then program_transform_name= else # Double any \ or $. echo might interpret backslashes. cat <<\EOF_SED > conftestsed s,\\,\\\\,g; s,\$,$$,g EOF_SED program_transform_name="`echo $program_transform_name|sed -f conftestsed`" rm -f conftestsed fi test "$program_prefix" != NONE && program_transform_name="s,^,${program_prefix},; $program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" # sed with no file args requires a program. test "$program_transform_name" = "" && program_transform_name="s,x,x," d648 1 a648 1 echo "configure:918: checking for $ac_word" >&5 d655 2 a656 3 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do d677 1 a677 1 echo "configure:948: checking for $ac_word" >&5 d684 1 a684 1 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" d686 1 a686 2 ac_dummy="$PATH" for ac_dir in $ac_dummy; do a720 34 if test -z "$CC"; then case "`uname -s`" in *win32* | *WIN32*) # 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:999: 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 if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else 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_prog_CC="cl" break fi done IFS="$ac_save_ifs" fi fi CC="$ac_cv_prog_CC" if test -n "$CC"; then echo "$ac_t""$CC" 1>&6 else echo "$ac_t""no" 1>&6 fi ;; esac fi d725 1 a725 1 echo "configure:1031: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d731 1 a731 1 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' d734 2 a735 3 cat > conftest.$ac_ext << EOF #line 1042 "configure" a736 1 d739 1 a739 1 if { (eval echo configure:1047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a752 6 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross d759 1 a759 1 echo "configure:1073: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d764 1 a764 1 echo "configure:1078: checking whether we are using GNU C" >&5 d773 1 a773 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d784 5 a788 9 else GCC= fi 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:1106: checking whether ${CC-cc} accepts -g" >&5 d803 3 a805 4 if test "$ac_test_CFLAGS" = set; then CFLAGS="$ac_save_CFLAGS" elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then d808 1 a808 1 CFLAGS="-g" d811 2 a812 9 if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi if test "$ac_cv_prog_gcc" = yes; then CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" d816 1 a816 1 echo "configure:1142: checking how to run the C preprocessor" >&5 d831 1 a831 1 #line 1157 "configure" d837 2 a838 2 { (eval echo configure:1163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d848 1 a848 18 #line 1174 "configure" #include "confdefs.h" #include Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1180: \"$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 : else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext <&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` a867 2 fi rm -f conftest* d878 1 a878 1 echo "configure:1223: checking whether ${CC-cc} needs -traditional" >&5 d884 1 a884 1 #line 1229 "configure" d902 1 a902 1 #line 1247 "configure" a929 1 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag d934 1 a934 1 echo "configure:1280: checking for a BSD compatible install" >&5 d939 1 a939 1 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" d946 1 a946 3 # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do d951 1 d981 12 a992 1 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' a993 1 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' d996 2 a997 2 echo $ac_n "checking flag used by libtool to link rpm""... $ac_c" 1>&6 echo "configure:1334: checking flag used by libtool to link rpm" >&5 d1000 2 a1001 3 *-*-solaris*) LDFLAGS_STATIC="";; *-*-hpux*) LDFLAGS_STATIC="";; *-*-*) LDFLAGS_STATIC="-all";; d1005 7 a1011 7 *-*-linux*) LDFLAGS_STATIC="-all";; *-*-freebsd*) LDFLAGS_STATIC="-all";; *-*-osf*) LDFLAGS_STATIC="-all";; *-*-aix*) LDFLAGS_STATIC="";; # -Wl,-bnso doesn't seem to work... *-*-hpux*) LDFLAGS_STATIC="";; *-*-solaris*) LDFLAGS_STATIC="";; *-*-irix*) LDFLAGS_STATIC="";; #should be -non_shared, but can't d1013 2 a1014 2 *-*-ultrix*) LDFLAGS_STATIC="-all";; #ultrix doesn't have shared libs. *-*-*) LDFLAGS_STATIC="" a1027 1 LDFLAGS_STATIC="${LDFLAGS_STATIC}-static" # libtool format d1030 5 d1036 2 a1037 2 echo $ac_n "checking POSIX chmod""... $ac_c" 1>&6 echo "configure:1371: checking POSIX chmod" >&5 a1050 1 d1056 1 a1056 1 echo "configure:1391: checking for $ac_word" >&5 a1063 3 ?:/*) ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a dos path. ;; d1065 2 a1066 3 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do d1089 1 a1089 1 echo "configure:1428: checking if $MKDIR supports -p" >&5 d1112 38 a1149 1 MKDIR_P="`echo ${prefix}/lib/rpm/mkinstalldirs`" d1159 1 d1161 1 a1161 1 echo "configure:1462: checking for AIX" >&5 d1163 1 a1163 1 #line 1464 "configure" d1186 1 a1186 1 echo "configure:1487: checking for minix/config.h" >&5 d1191 1 a1191 1 #line 1492 "configure" d1196 2 a1197 2 { (eval echo configure:1497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d1234 1 a1234 1 echo "configure:1535: checking for POSIXized ISC" >&5 d1255 7 a1261 6 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 echo "configure:1560: checking for ${CC-cc} option to accept ANSI C" >&5 if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then d1264 2 a1265 52 am_cv_prog_cc_stdc=no ac_save_CC="$CC" # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" cat > conftest.$ac_ext < #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main() { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } EOF if { (eval echo configure:1613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* am_cv_prog_cc_stdc="$ac_arg"; break d1267 2 a1268 196 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* done CC="$ac_save_CC" fi if test -z "$am_cv_prog_cc_stdc"; then echo "$ac_t""none needed" 1>&6 else echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6 fi case "x$am_cv_prog_cc_stdc" in x|xno) ;; *) CC="$CC $am_cv_prog_cc_stdc" ;; esac echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 echo "configure:1639: checking for function prototypes" >&5 if test "$am_cv_prog_cc_stdc" != no; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define PROTOTYPES 1 EOF U= ANSI2KNR= else echo "$ac_t""no" 1>&6 U=_ ANSI2KNR=./ansi2knr # Ensure some checks needed by ansi2knr itself. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:1652: 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 #include #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1665: \"$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 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* 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 rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* 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 : else rm -rf conftest* ac_cv_header_stdc=no 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 : 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); } EOF if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_header_stdc=no fi rm -fr conftest* fi fi fi 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 for ac_hdr in string.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:1759: 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:1769: \"$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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done fi for ac_prog in gawk mawk nawk awk 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:1803: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do d1289 1 a1289 1 echo "configure:1833: checking whether ln -s works" >&5 d1310 1 a1310 1 echo "configure:1854: checking whether ${MAKE-make} sets \${MAKE}" >&5 a1335 70 # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} case "$enableval" in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$ac_save_ifs" ;; esac else enable_shared=no fi # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} case "$enableval" in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$ac_save_ifs" ;; esac else enable_static=yes fi # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} case "$enableval" in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$ac_save_ifs" ;; esac else enable_fast_install=yes fi d1339 1 a1339 1 echo "configure:1953: checking for $ac_word" >&5 d1346 2 a1347 3 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do d1365 3 a1367 37 # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$ac_cv_prog_gcc" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 echo "configure:1992: checking for ld used by GCC" >&5 ac_prog=`($CC -print-prog-name=ld) 2>&5` case "$ac_prog" in # Accept absolute paths. /* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 echo "configure:2016: checking for GNU ld" >&5 d1369 1 a1369 2 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 echo "configure:2019: checking for non-GNU ld" >&5 d1371 6 a1376 1 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then d1379 3 a1381 1 if test -z "$LD"; then d1385 3 a1387 10 if test -f "$ac_dir/$ac_prog"; then ac_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then test "$with_gnu_ld" != no && break else test "$with_gnu_ld" != yes && break fi a1390 2 else ac_cv_path_LD="$LD" # Let the user override the test with a path. d1393 3 a1395 4 LD="$ac_cv_path_LD" if test -n "$LD"; then echo "$ac_t""$LD" 1>&6 a1398 14 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 echo "configure:2055: checking if the linker ($LD) is GNU ld" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. if $LD -v 2>&1 &5; then ac_cv_prog_gnu_ld=yes else ac_cv_prog_gnu_ld=no fi fi a1399 1 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 d1401 7 a1407 4 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 echo "configure:2071: checking for BSD-compatible nm" >&5 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then d1410 2 a1411 3 if test -n "$NM"; then # Let the user override the test. ac_cv_path_NM="$NM" d1414 1 a1414 1 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do d1416 2 a1417 326 if test -f $ac_dir/nm; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then ac_cv_path_NM="$ac_dir/nm -B" break elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then ac_cv_path_NM="$ac_dir/nm -p" break else ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm fi fi NM="$ac_cv_path_NM" echo "$ac_t""$NM" 1>&6 # Check for command to grab the raw symbol name followed by C symbol from nm. echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6 echo "configure:2109: checking command to parse $NM output" >&5 if eval "test \"`echo '$''{'ac_cv_sys_global_symbol_pipe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else # These are sane defaults that work on at least a few old systems. # {They come from Ultrix. What could be older than Ultrix?!! ;)} # Character class describing NM global symbol codes. ac_symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. ac_sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform the above into a raw symbol and a C symbol. ac_symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration ac_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" # Define system-specific variables. case "$host_os" in aix*) ac_symcode='[BCDT]' ;; cygwin* | mingw*) ac_symcode='[ABCDGISTW]' ;; hpux*) ac_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^. .* \(.*\)$/extern char \1;/p'" ;; irix*) ac_symcode='[BCDEGRST]' ;; solaris*) ac_symcode='[BDT]' ;; esac # If we're using GNU nm, then use its standard symbol codes. if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then ac_symcode='[ABCDGISTW]' fi # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do ac_cv_sys_global_symbol_pipe="sed -n -e 's/^.* \($ac_symcode\) *\($ac_symprfx\)$ac_sympat$/$ac_symxfrm/p'" # Check to see that the pipe works correctly. ac_pipe_works=no rm -f conftest.$ac_ext cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then # Now try to grab the symbols. ac_nlist=conftest.nm if { (eval echo configure:2176: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5; } && test -s "$ac_nlist"; then # Try sorting and uniquifying the output. if sort "$ac_nlist" | uniq > "$ac_nlist"T; then mv -f "$ac_nlist"T "$ac_nlist" else rm -f "$ac_nlist"T fi # Make sure that we snagged all the symbols we need. if egrep ' nm_test_var$' "$ac_nlist" >/dev/null; then if egrep ' nm_test_func$' "$ac_nlist" >/dev/null; then cat < conftest.c #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$ac_global_symbol_to_cdecl"' < "$ac_nlist" >> conftest.c' cat <> conftest.c #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[] = { EOF sed 's/^. \(.*\) \(.*\)$/ {"\2", (lt_ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c cat <<\EOF >> conftest.c {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftestm.$ac_objext ac_save_LIBS="$LIBS" ac_save_CFLAGS="$CFLAGS" LIBS="conftestm.$ac_objext" CFLAGS="$CFLAGS$no_builtin_flag" if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_pipe_works=yes else echo "configure: failed program was:" >&5 cat conftest.c >&5 fi LIBS="$ac_save_LIBS" CFLAGS="$ac_save_CFLAGS" else echo "cannot find nm_test_func in $ac_nlist" >&5 fi else echo "cannot find nm_test_var in $ac_nlist" >&5 fi else echo "cannot run $ac_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.c >&5 fi rm -rf conftest* # Do not use the global_symbol_pipe unless it works. if test "$ac_pipe_works" = yes; then if test x"$ac_symprfx" = x"_"; then ac_cv_sys_symbol_underscore=yes else ac_cv_sys_symbol_underscore=no fi break else ac_cv_sys_global_symbol_pipe= fi done fi ac_result=yes if test -z "$ac_cv_sys_global_symbol_pipe"; then ac_result=no fi echo "$ac_t""$ac_result" 1>&6 echo $ac_n "checking for _ prefix in compiled symbols""... $ac_c" 1>&6 echo "configure:2274: checking for _ prefix in compiled symbols" >&5 if eval "test \"`echo '$''{'ac_cv_sys_symbol_underscore'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_sys_symbol_underscore=no cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then # Now try to grab the symbols. ac_nlist=conftest.nm if { (eval echo configure:2286: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5; } && test -s "$ac_nlist"; then # See whether the symbols have a leading underscore. if egrep '^. _nm_test_func' "$ac_nlist" >/dev/null; then ac_cv_sys_symbol_underscore=yes else if egrep '^. nm_test_func ' "$ac_nlist" >/dev/null; then : else echo "configure: cannot find nm_test_func in $ac_nlist" >&5 fi fi else echo "configure: cannot run $ac_cv_sys_global_symbol_pipe" >&5 fi else echo "configure: failed program was:" >&5 cat conftest.c >&5 fi rm -rf conftest* fi echo "$ac_t""$ac_cv_sys_symbol_underscore" 1>&6 USE_SYMBOL_UNDERSCORE=${ac_cv_sys_symbol_underscore=no} if test $host != $build; then ac_tool_prefix=${host_alias}- else ac_tool_prefix= fi # Check for any special flags to pass to ltconfig. # # the following will cause an existing older ltconfig to fail, so # we ignore this at the expense of the cache file... Checking this # will just take longer ... bummer! #libtool_flags="--cache-file=$cache_file" # test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" test "$lt_dlopen" = yes && libtool_flags="$libtool_flags --enable-dlopen" test "$silent" = yes && libtool_flags="$libtool_flags --silent" test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" # Some flags need to be propagated to the compiler or linker for good # libtool support. case "$host" in *-*-irix6*) # Find out which ABI we are using. echo '#line 2338 "configure"' > conftest.$ac_ext if { (eval echo configure:2339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then case "`/usr/bin/file conftest.o`" in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 echo "configure:2360: checking whether the C compiler needs -belf" >&5 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+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 rm -rf conftest* lt_cv_cc_needs_belf=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* lt_cv_cc_needs_belf=no fi rm -f conftest* fi echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; *-*-cygwin*) # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2395: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else 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_prog_DLLTOOL="${ac_tool_prefix}dlltool" d1422 1 d1425 3 a1427 3 DLLTOOL="$ac_cv_prog_DLLTOOL" if test -n "$DLLTOOL"; then echo "$ac_t""$DLLTOOL" 1>&6 a1431 9 if test -z "$ac_cv_prog_DLLTOOL"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2427: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d1433 1 a1433 14 if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else 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_prog_DLLTOOL="dlltool" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false" a1435 6 DLLTOOL="$ac_cv_prog_DLLTOOL" if test -n "$DLLTOOL"; then echo "$ac_t""$DLLTOOL" 1>&6 else echo "$ac_t""no" 1>&6 fi a1436 4 else DLLTOOL="false" fi fi d1438 21 a1458 17 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. set dummy ${ac_tool_prefix}as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2462: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$AS"; then ac_cv_prog_AS="$AS" # Let the user override the test. else 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_prog_AS="${ac_tool_prefix}as" break a1459 10 done IFS="$ac_save_ifs" fi fi AS="$ac_cv_prog_AS" if test -n "$AS"; then echo "$ac_t""$AS" 1>&6 else echo "$ac_t""no" 1>&6 fi d1461 3 d1465 3 a1467 2515 if test -z "$ac_cv_prog_AS"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2494: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$AS"; then ac_cv_prog_AS="$AS" # Let the user override the test. else 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_prog_AS="as" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false" fi fi AS="$ac_cv_prog_AS" if test -n "$AS"; then echo "$ac_t""$AS" 1>&6 else echo "$ac_t""no" 1>&6 fi else AS="false" fi fi ;; esac # enable the --disable-libtool-lock switch # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" need_locks=$enableval else need_locks=yes fi if test x"$need_locks" = xno; then libtool_flags="$libtool_flags --disable-lock" fi # Save cache, so that ltconfig can load it cat > confcache <<\EOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs. It is not useful on other systems. # If it contains results you don't want to keep, you may remove or edit it. # # By default, configure uses ./config.cache as the cache file, # creating it if it does not exist already. You can give configure # the --cache-file=FILE option to use a different cache file; that is # what configure does when it calls configure scripts in # subdirectories, so they share the cache. # Giving --cache-file=/dev/null disables caching, for debugging configure. # config.status only pays attention to the cache file if you give it the # --recheck option to rerun configure. # EOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). sed -n \ -e "s/'/'\\\\''/g" \ -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' ;; esac >> confcache if cmp -s $cache_file confcache; then : else if test -w $cache_file; then echo "updating cache $cache_file" cat confcache > $cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache # Actually configure libtool. ac_aux_dir is where install-sh is found. CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \ DLLTOOL="$DLLTOOL" AS="$AS" \ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } # Reload cache, that may have been modified by ltconfig if test -r "$cache_file"; then echo "loading cache $cache_file" . $cache_file else echo "creating cache $cache_file" > $cache_file fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Redirect the config.log output again, so that the ltconfig log is not # clobbered by the next message. exec 5>>./config.log # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2628: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else 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_prog_AR="${ac_tool_prefix}ar" break fi done IFS="$ac_save_ifs" fi fi AR="$ac_cv_prog_AR" if test -n "$AR"; then echo "$ac_t""$AR" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$ac_cv_prog_AR"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2660: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else 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_prog_AR="ar" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=":" fi fi AR="$ac_cv_prog_AR" if test -n "$AR"; then echo "$ac_t""$AR" 1>&6 else echo "$ac_t""no" 1>&6 fi else AR=":" fi fi if test "$cross_compiling" != "yes"; then MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/opt/gnu/bin" # Extract the first word of "bzip2", so it can be a program name with args. set dummy bzip2; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2699: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_BZIP2BIN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$BZIP2BIN" in /*) ac_cv_path_BZIP2BIN="$BZIP2BIN" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_BZIP2BIN="$BZIP2BIN" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_BZIP2BIN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_BZIP2BIN" && ac_cv_path_BZIP2BIN="/usr/bin/bzip2" ;; esac fi BZIP2BIN="$ac_cv_path_BZIP2BIN" if test -n "$BZIP2BIN"; then echo "$ac_t""$BZIP2BIN" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "cat", so it can be a program name with args. set dummy cat; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2736: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CAT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__CAT" in /*) ac_cv_path___CAT="$__CAT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___CAT="$__CAT" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CAT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___CAT" && ac_cv_path___CAT="/bin/cat" ;; esac fi __CAT="$ac_cv_path___CAT" if test -n "$__CAT"; then echo "$ac_t""$__CAT" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "chgrp", so it can be a program name with args. set dummy chgrp; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2772: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CHGRP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__CHGRP" in /*) ac_cv_path___CHGRP="$__CHGRP" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___CHGRP="$__CHGRP" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CHGRP="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___CHGRP" && ac_cv_path___CHGRP="/bin/chgrp" ;; esac fi __CHGRP="$ac_cv_path___CHGRP" if test -n "$__CHGRP"; then echo "$ac_t""$__CHGRP" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "chmod", so it can be a program name with args. set dummy chmod; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2808: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CHMOD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__CHMOD" in /*) ac_cv_path___CHMOD="$__CHMOD" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___CHMOD="$__CHMOD" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CHMOD="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___CHMOD" && ac_cv_path___CHMOD="/bin/chmod" ;; esac fi __CHMOD="$ac_cv_path___CHMOD" if test -n "$__CHMOD"; then echo "$ac_t""$__CHMOD" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "chown", so it can be a program name with args. set dummy chown; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2844: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CHOWN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__CHOWN" in /*) ac_cv_path___CHOWN="$__CHOWN" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___CHOWN="$__CHOWN" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CHOWN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___CHOWN" && ac_cv_path___CHOWN="/bin/chown" ;; esac fi __CHOWN="$ac_cv_path___CHOWN" if test -n "$__CHOWN"; then echo "$ac_t""$__CHOWN" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "cp", so it can be a program name with args. set dummy cp; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2880: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__CP" in /*) ac_cv_path___CP="$__CP" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___CP="$__CP" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CP="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___CP" && ac_cv_path___CP="/bin/cp" ;; esac fi __CP="$ac_cv_path___CP" if test -n "$__CP"; then echo "$ac_t""$__CP" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "cpio", so it can be a program name with args. set dummy cpio; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2916: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___CPIO'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__CPIO" in /*) ac_cv_path___CPIO="$__CPIO" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___CPIO="$__CPIO" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___CPIO="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___CPIO" && ac_cv_path___CPIO="/bin/cpio" ;; esac fi __CPIO="$ac_cv_path___CPIO" if test -n "$__CPIO"; then echo "$ac_t""$__CPIO" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "gzip", so it can be a program name with args. set dummy gzip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2953: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GZIPBIN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GZIPBIN" in /*) ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_GZIPBIN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GZIPBIN" && ac_cv_path_GZIPBIN="/bin/gzip" ;; esac fi GZIPBIN="$ac_cv_path_GZIPBIN" if test -n "$GZIPBIN"; then echo "$ac_t""$GZIPBIN" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "id", so it can be a program name with args. set dummy id; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2989: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___ID'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__ID" in /*) ac_cv_path___ID="$__ID" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___ID="$__ID" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___ID="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___ID" && ac_cv_path___ID="/usr/bin/id" ;; esac fi __ID="$ac_cv_path___ID" if test -n "$__ID"; then echo "$ac_t""$__ID" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "make", so it can be a program name with args. set dummy make; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3025: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___MAKE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__MAKE" in /*) ac_cv_path___MAKE="$__MAKE" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___MAKE="$__MAKE" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___MAKE="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___MAKE" && ac_cv_path___MAKE="/usr/bin/make" ;; esac fi __MAKE="$ac_cv_path___MAKE" if test -n "$__MAKE"; then echo "$ac_t""$__MAKE" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "mkdir", so it can be a program name with args. set dummy mkdir; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3061: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___MKDIR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__MKDIR" in /*) ac_cv_path___MKDIR="$__MKDIR" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___MKDIR="$__MKDIR" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___MKDIR="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___MKDIR" && ac_cv_path___MKDIR="/bin/mkdir" ;; esac fi __MKDIR="$ac_cv_path___MKDIR" if test -n "$__MKDIR"; then echo "$ac_t""$__MKDIR" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "mv", so it can be a program name with args. set dummy mv; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3097: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___MV'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__MV" in /*) ac_cv_path___MV="$__MV" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___MV="$__MV" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___MV="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___MV" && ac_cv_path___MV="/bin/mv" ;; esac fi __MV="$ac_cv_path___MV" if test -n "$__MV"; then echo "$ac_t""$__MV" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "patch", so it can be a program name with args. set dummy patch; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3134: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___PATCH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__PATCH" in /*) ac_cv_path___PATCH="$__PATCH" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___PATCH="$__PATCH" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___PATCH="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___PATCH" && ac_cv_path___PATCH="/usr/bin/patch" ;; esac fi __PATCH="$ac_cv_path___PATCH" if test -n "$__PATCH"; then echo "$ac_t""$__PATCH" 1>&6 else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking old version of patch""... $ac_c" 1>&6 echo "configure:3168: checking old version of patch" >&5 PATCHVERSION=`patch --version 2>&1` if test "$PATCHVERSION" = "Patch version 2.1"; then cat >> confdefs.h <<\EOF #define HAVE_OLDPATCH_21 1 EOF echo "$ac_t""patch older then 2.2 found" 1>&6 else echo "$ac_t""patch later then 2.2 found" 1>&6 fi # Extract the first word of "pgp", so it can be a program name with args. set dummy pgp; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3184: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PGPBIN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$PGPBIN" in /*) ac_cv_path_PGPBIN="$PGPBIN" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_PGPBIN="$PGPBIN" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_PGPBIN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_PGPBIN" && ac_cv_path_PGPBIN="/usr/bin/pgp" ;; esac fi PGPBIN="$ac_cv_path_PGPBIN" if test -n "$PGPBIN"; then echo "$ac_t""$PGPBIN" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "rm", so it can be a program name with args. set dummy rm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3220: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___RM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__RM" in /*) ac_cv_path___RM="$__RM" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___RM="$__RM" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___RM="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___RM" && ac_cv_path___RM="/bin/rm" ;; esac fi __RM="$ac_cv_path___RM" if test -n "$__RM"; then echo "$ac_t""$__RM" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "tar", so it can be a program name with args. set dummy tar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3256: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___TAR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__TAR" in /*) ac_cv_path___TAR="$__TAR" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___TAR="$__TAR" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___TAR="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___TAR" && ac_cv_path___TAR="/bin/tar" ;; esac fi __TAR="$ac_cv_path___TAR" if test -n "$__TAR"; then echo "$ac_t""$__TAR" 1>&6 else echo "$ac_t""no" 1>&6 fi fi addlib() { l=$1 shift case "$target" in *-*-solaris*) LIBS="$LIBS -L$l -R$l $*";; *) LIBS="$LIBS -L$l $*";; esac } localdone= for dir in $prefix /usr/local do case $dir in NONE|/usr) continue;; /usr/local) if test X$localdone != X ; then continue; fi localdone="$dir" ;; esac echo $ac_n "checking for $dir/lib in LIBS""... $ac_c" 1>&6 echo "configure:3312: checking for $dir/lib in LIBS" >&5 if test -d $dir/lib ; then addlib $dir/lib echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for $dir/include in INCPATH""... $ac_c" 1>&6 echo "configure:3321: checking for $dir/include in INCPATH" >&5 if test -d $dir/include ; then INCPATH="$INCPATH -I$dir/include" echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 fi done echo $ac_n "checking for /usr/ucblib in LIBS""... $ac_c" 1>&6 echo "configure:3331: checking for /usr/ucblib in LIBS" >&5 if test -d /usr/ucblib ; then if test "$build" = "mips-sni-sysv4" ; then addlib /usr/ccs/lib -lc fi addlib /usr/ucblib echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for strcasecmp""... $ac_c" 1>&6 echo "configure:3346: checking for strcasecmp" >&5 if eval "test \"`echo '$''{'ac_cv_func_strcasecmp'+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 strcasecmp(); 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_strcasecmp) || defined (__stub___strcasecmp) choke me #else strcasecmp(); #endif ; return 0; } EOF if { (eval echo configure:3374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_strcasecmp=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_strcasecmp=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'strcasecmp`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for strcasecmp in -lucb""... $ac_c" 1>&6 echo "configure:3393: checking for strcasecmp in -lucb" >&5 ac_lib_var=`echo ucb'_'strcasecmp | 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="-lucb $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 -lc -lucb" USEUCB=y else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for setreuid""... $ac_c" 1>&6 echo "configure:3436: checking for setreuid" >&5 if eval "test \"`echo '$''{'ac_cv_func_setreuid'+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 setreuid(); 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_setreuid) || defined (__stub___setreuid) choke me #else setreuid(); #endif ; return 0; } EOF if { (eval echo configure:3464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_setreuid=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_setreuid=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'setreuid`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for setreuid in -lucb""... $ac_c" 1>&6 echo "configure:3483: checking for setreuid in -lucb" >&5 ac_lib_var=`echo ucb'_'setreuid | 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="-lucb $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 if echo $LIBS | grep -- -lucb >/dev/null ;then :; else LIBS="$LIBS -lc -lucb" USEUCB=y;fi else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for rand""... $ac_c" 1>&6 echo "configure:3527: checking for rand" >&5 if eval "test \"`echo '$''{'ac_cv_func_rand'+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 rand(); 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_rand) || defined (__stub___rand) choke me #else rand(); #endif ; return 0; } EOF if { (eval echo configure:3555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_rand=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_rand=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'rand`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for rand in -lrand""... $ac_c" 1>&6 echo "configure:3574: checking for rand in -lrand" >&5 ac_lib_var=`echo rand'_'rand | 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="-lrand $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 -lm" else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for getdomainname""... $ac_c" 1>&6 echo "configure:3618: checking for getdomainname" >&5 if eval "test \"`echo '$''{'ac_cv_func_getdomainname'+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 getdomainname(); 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_getdomainname) || defined (__stub___getdomainname) choke me #else getdomainname(); #endif ; return 0; } EOF if { (eval echo configure:3646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_getdomainname=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_getdomainname=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'getdomainname`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for getdomainname in -lnsl""... $ac_c" 1>&6 echo "configure:3665: checking for getdomainname in -lnsl" >&5 ac_lib_var=`echo nsl'_'getdomainname | 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="-lnsl $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 -lnsl" else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for socket""... $ac_c" 1>&6 echo "configure:3708: checking for socket" >&5 if eval "test \"`echo '$''{'ac_cv_func_socket'+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 socket(); 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_socket) || defined (__stub___socket) choke me #else socket(); #endif ; return 0; } EOF if { (eval echo configure:3736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_socket=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_socket=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 echo "configure:3755: checking for socket in -lsocket" >&5 ac_lib_var=`echo socket'_'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 else ac_save_LIBS="$LIBS" LIBS="-lsocket $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 -lsocket" else echo "$ac_t""no" 1>&6 fi fi echo $ac_n "checking for dbopen""... $ac_c" 1>&6 echo "configure:3799: checking for dbopen" >&5 if eval "test \"`echo '$''{'ac_cv_func_dbopen'+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 dbopen(); 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_dbopen) || defined (__stub___dbopen) choke me #else dbopen(); #endif ; return 0; } EOF if { (eval echo configure:3827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_dbopen=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_dbopen=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'dbopen`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo $ac_n "checking for dbopen in -ldb1""... $ac_c" 1>&6 echo "configure:3845: checking for dbopen in -ldb1" >&5 ac_lib_var=`echo db1'_'dbopen | 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="-ldb1 $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 ac_tr_lib=HAVE_LIB`echo db1 | sed -e 's/^a-zA-Z0-9_/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 echo "configure:3890: checking for dbopen in -ldb" >&5 ac_lib_var=`echo db'_'dbopen | 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="-ldb $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 ac_tr_lib=HAVE_LIB`echo db | sed -e 's/^a-zA-Z0-9_/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 echo "configure: warning: sorry this package needs libdb.a (from the db package)" 1>&2 fi fi fi echo $ac_n "checking for fork""... $ac_c" 1>&6 echo "configure:3944: checking for fork" >&5 if eval "test \"`echo '$''{'ac_cv_func_fork'+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 fork(); 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_fork) || defined (__stub___fork) choke me #else fork(); #endif ; return 0; } EOF if { (eval echo configure:3972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_fork=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_fork=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'fork`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 echo "using vfork() instead of fork()"; LIBOBJS=fakefork.o fi case "$target" in m68k-*-amigaos ) echo "Building for AmigaOS: using vfork() instead of fork()"; CFLAGS="$CFLAGS -Dfork=vfork" ;; esac ZLIB= for zlib in z gz ; do echo $ac_n "checking for gzread in -l${zlib}""... $ac_c" 1>&6 echo "configure:4005: checking for gzread in -l${zlib}" >&5 ac_lib_var=`echo ${zlib}'_'gzread | 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${zlib} $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 -l${zlib}"; break else echo "$ac_t""no" 1>&6 if test ${zlib} = gz; then echo "configure: warning: sorry this package needs libz.a or libgz.a (from the zlib package)" 1>&2 fi fi done BZ2LIB= for bz2lib in bz2 ; do echo $ac_n "checking for bzread in -l${bz2lib}""... $ac_c" 1>&6 echo "configure:4053: checking for bzread in -l${bz2lib}" >&5 ac_lib_var=`echo ${bz2lib}'_'bzread | 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${bz2lib} $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 -l${bz2lib}"; break else echo "$ac_t""no" 1>&6 if test ${bz2lib} = bz2; then echo "configure: warning: missing libbz2.a (from the bzip2 package)" 1>&2 fi fi done echo $ac_n "checking for error_at_line""... $ac_c" 1>&6 echo "configure:4099: checking for error_at_line" >&5 if eval "test \"`echo '$''{'am_cv_lib_error_at_line'+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 rm -rf conftest* am_cv_lib_error_at_line=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* am_cv_lib_error_at_line=no fi rm -f conftest* fi echo "$ac_t""$am_cv_lib_error_at_line" 1>&6 if test $am_cv_lib_error_at_line = no; then LIBOBJS="$LIBOBJS error.o" fi echo $ac_n "checking for working const""... $ac_c" 1>&6 echo "configure:4131: 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; } ; return 0; } EOF if { (eval echo configure:4185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_c_const=no fi rm -f conftest* 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 fi echo $ac_n "checking for inline""... $ac_c" 1>&6 echo "configure:4206: 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 fi 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 "configure:4246: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_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])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_off_t=yes else rm -rf conftest* ac_cv_type_off_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_off_t" 1>&6 if test $ac_cv_type_off_t = no; then cat >> confdefs.h <<\EOF #define off_t long EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 echo "configure:4279: 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 #include #include #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_size_t=yes else rm -rf conftest* ac_cv_type_size_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_size_t" 1>&6 if test $ac_cv_type_size_t = no; then cat >> confdefs.h <<\EOF #define size_t unsigned EOF fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 echo "configure:4314: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF if { (eval echo configure:4326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_header_alloca_h=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_alloca_h=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 if test $ac_cv_header_alloca_h = yes; then cat >> confdefs.h <<\EOF #define HAVE_ALLOCA_H 1 EOF fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 echo "configure:4347: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < # define alloca _alloca # else # if HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); # endif # endif # endif # endif #endif int main() { char *p = (char *) alloca(1); ; return 0; } EOF if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_func_alloca_works=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 if test $ac_cv_func_alloca_works = yes; then cat >> confdefs.h <<\EOF #define HAVE_ALLOCA 1 EOF fi if test $ac_cv_func_alloca_works = no; then # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=alloca.${ac_objext} cat >> confdefs.h <<\EOF #define C_ALLOCA 1 EOF echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 echo "configure:4412: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5 | egrep "webecray" >/dev/null 2>&1; then rm -rf conftest* ac_cv_os_cray=yes else rm -rf conftest* ac_cv_os_cray=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_os_cray" 1>&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:4442: 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:4470: \"$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 cat >> confdefs.h <&6 fi done fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 echo "configure:4497: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext < addr) ? 1 : -1; } main () { exit (find_stack_direction() < 0); } EOF if { (eval echo configure:4524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_c_stack_direction=-1 fi rm -fr conftest* fi fi echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 cat >> confdefs.h <&6 echo "configure:4549: 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:4559: \"$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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:4588: 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:4616: \"$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 working mmap""... $ac_c" 1>&6 echo "configure:4641: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext < #include #include /* This mess was copied from the GNU getpagesize.h. */ #ifndef HAVE_GETPAGESIZE # ifdef HAVE_UNISTD_H # include # endif /* Assume that all systems that can run configure have sys/param.h. */ # ifndef HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ # ifdef HAVE_SYS_PARAM_H # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else /* no EXEC_PAGESIZE */ # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif /* no CLSIZE */ # else /* no NBPG */ # ifdef NBPC # define getpagesize() NBPC # else /* no NBPC */ # ifdef PAGESIZE # define getpagesize() PAGESIZE # endif /* PAGESIZE */ # endif /* no NBPC */ # endif /* no NBPG */ # endif /* no EXEC_PAGESIZE */ # else /* no HAVE_SYS_PARAM_H */ # define getpagesize() 8192 /* punt totally */ # endif /* no HAVE_SYS_PARAM_H */ # endif /* no _SC_PAGESIZE */ #endif /* no HAVE_GETPAGESIZE */ #ifdef __cplusplus extern "C" { void *malloc(unsigned); } #else char *malloc(); #endif int main() { char *data, *data2, *data3; int i, pagesize; int fd; pagesize = getpagesize(); /* * First, make a file with some known garbage in it. */ data = malloc(pagesize); if (!data) exit(1); for (i = 0; i < pagesize; ++i) *(data + i) = rand(); umask(0); fd = creat("conftestmmap", 0600); if (fd < 0) exit(1); if (write(fd, data, pagesize) != pagesize) exit(1); close(fd); /* * Next, try to mmap the file at a fixed address which * already has something else allocated at it. If we can, * also make sure that we see the same garbage. */ fd = open("conftestmmap", O_RDWR); if (fd < 0) exit(1); data2 = malloc(2 * pagesize); if (!data2) exit(1); data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) exit(1); /* * Finally, make sure that changes to the mapped area * do not percolate back to the file as seen by read(). * (This is a bug on some variants of i386 svr4.0.) */ for (i = 0; i < pagesize; ++i) *(data2 + i) = *(data2 + i) + 1; data3 = malloc(pagesize); if (!data3) exit(1); if (read(fd, data3, pagesize) != pagesize) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) exit(1); close(fd); unlink("conftestmmap"); exit(0); } EOF if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_func_mmap_fixed_mapped=no fi rm -fr conftest* fi fi echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 if test $ac_cv_func_mmap_fixed_mapped = yes; then cat >> confdefs.h <<\EOF #define HAVE_MMAP 1 EOF fi for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ unistd.h sys/param.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:4817: 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:4827: \"$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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ strdup __argz_count __argz_stringify __argz_next do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:4857: 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:4885: \"$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 if test "${ac_cv_func_stpcpy+set}" != "set"; then for ac_func in stpcpy do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:4914: 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:4942: \"$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 fi if test "${ac_cv_func_stpcpy}" = "yes"; then cat >> confdefs.h <<\EOF #define HAVE_STPCPY 1 EOF fi if test $ac_cv_header_locale_h = yes; then echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 echo "configure:4976: checking for LC_MESSAGES" >&5 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return LC_MESSAGES ; return 0; } EOF if { (eval echo configure:4988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_val_LC_MESSAGES=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* am_cv_val_LC_MESSAGES=no fi rm -f conftest* fi echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6 if test $am_cv_val_LC_MESSAGES = yes; then cat >> confdefs.h <<\EOF #define HAVE_LC_MESSAGES 1 d1470 3 a1473 9 fi echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 echo "configure:5009: checking whether NLS is requested" >&5 # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" USE_NLS=$enableval else USE_NLS=yes d1476 11 a1486 2 echo "$ac_t""$USE_NLS" 1>&6 d1488 9 a1496 1 USE_INCLUDED_LIBINTL=no d1498 8 a1505 4 if test "$USE_NLS" = "yes"; then cat >> confdefs.h <<\EOF #define ENABLE_NLS 1 EOF d1507 6 a1512 6 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 echo "configure:5029: checking whether included gettext is requested" >&5 # Check whether --with-included-gettext or --without-included-gettext was given. if test "${with_included_gettext+set}" = set; then withval="$with_included_gettext" nls_cv_force_use_gnu_gettext=$withval d1514 1 a1514 1 nls_cv_force_use_gnu_gettext=no d1517 8 a1524 1 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 d1526 6 a1531 5 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then nls_cv_header_intl= nls_cv_header_libgt= CATOBJEXT=NONE d1533 3 a1535 5 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 echo "configure:5048: checking for libintl.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d1537 1 a1537 45 cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:5058: \"$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 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 echo "configure:5075: checking for gettext in libc" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return (int) gettext ("") ; return 0; } EOF if { (eval echo configure:5087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gt_cv_func_gettext_libc=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* gt_cv_func_gettext_libc=no fi rm -f conftest* a1539 1 echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 d1541 3 a1543 5 if test "$gt_cv_func_gettext_libc" != "yes"; then echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 echo "configure:5103: checking for bindtextdomain in -lintl" >&5 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then d1546 2 a1547 4 ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1572 1 a1572 1 eval "ac_cv_lib_$ac_lib_var=yes" d1577 1 a1577 1 eval "ac_cv_lib_$ac_lib_var=no" d1580 1 a1580 1 LIBS="$ac_save_LIBS" d1582 1 a1582 2 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then d1584 1 a1584 4 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 echo "configure:5138: checking for gettext in libintl" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d1586 5 a1590 3 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6 echo "configure:5143: checking for gettext in -lintl" >&5 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'` d1595 1 a1595 1 LIBS="-lintl $LIBS" d1597 1 a1597 1 #line 5151 "configure" d1602 1 a1602 1 char gettext(); d1605 1 a1605 1 gettext() d1608 1 a1608 1 if { (eval echo configure:5162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1623 1 a1623 1 gt_cv_func_gettext_libintl=yes a1625 1 gt_cv_func_gettext_libintl=no a1627 1 fi a1628 3 echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6 else echo "$ac_t""no" 1>&6 a1630 1 fi d1632 3 a1634 45 if test "$gt_cv_func_gettext_libc" = "yes" \ || test "$gt_cv_func_gettext_libintl" = "yes"; then cat >> confdefs.h <<\EOF #define HAVE_GETTEXT 1 EOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5201: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test -n "$MSGFMT"; then echo "$ac_t""$MSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi if test "$MSGFMT" != "no"; then for ac_func in dcgettext do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:5235: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then d1638 1 a1638 1 #line 5240 "configure" d1641 1 a1641 1 which can conflict with char $ac_func(); below. */ d1646 1 a1646 1 char $ac_func(); d1653 1 a1653 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d1656 1 a1656 1 $ac_func(); d1661 1 a1661 1 if { (eval echo configure:5263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1663 1 a1663 1 eval "ac_cv_func_$ac_func=yes" d1668 1 a1668 1 eval "ac_cv_func_$ac_func=no" d1673 1 a1673 1 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then d1675 1 a1675 5 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <&6 echo "configure:5290: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GMSGFMT="$GMSGFMT" # 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_GMSGFMT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5326: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test -n "$XGETTEXT"; then echo "$ac_t""$XGETTEXT" 1>&6 else echo "$ac_t""no" 1>&6 fi cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* CATOBJEXT=.gmo DATADIRNAME=share else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CATOBJEXT=.mo DATADIRNAME=lib fi rm -f conftest* INSTOBJEXT=.mo fi fi else echo "$ac_t""no" 1>&6 fi if test "$CATOBJEXT" = "NONE"; then echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6 echo "configure:5389: checking whether catgets can be used" >&5 # Check whether --with-catgets or --without-catgets was given. if test "${with_catgets+set}" = set; then withval="$with_catgets" nls_cv_use_catgets=$withval else nls_cv_use_catgets=no fi echo "$ac_t""$nls_cv_use_catgets" 1>&6 if test "$nls_cv_use_catgets" = "yes"; then echo $ac_n "checking for main in -li""... $ac_c" 1>&6 echo "configure:5402: checking for main in -li" >&5 ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'` d1686 1 a1686 1 LIBS="-li $LIBS" d1688 1 a1688 1 #line 5410 "configure" d1690 4 d1696 1 a1696 1 main() d1699 1 a1699 1 if { (eval echo configure:5417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1714 13 a1726 8 ac_tr_lib=HAVE_LIB`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 d1731 5 a1735 3 echo $ac_n "checking for catgets""... $ac_c" 1>&6 echo "configure:5445: checking for catgets" >&5 if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then d1739 1 a1739 1 #line 5450 "configure" d1742 1 a1742 1 which can conflict with char catgets(); below. */ d1747 1 a1747 1 char catgets(); d1754 1 a1754 1 #if defined (__stub_catgets) || defined (__stub___catgets) d1757 1 a1757 1 catgets(); d1762 1 a1762 1 if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1764 1 a1764 1 eval "ac_cv_func_catgets=yes" d1769 1 a1769 1 eval "ac_cv_func_catgets=no" d1774 1 a1774 1 if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then d1776 1 a1776 37 cat >> confdefs.h <<\EOF #define HAVE_CATGETS 1 EOF INTLOBJS="\$(CATOBJS)" # Extract the first word of "gencat", so it can be a program name with args. set dummy gencat; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5495: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GENCAT" in /*) ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GENCAT="$GENCAT" # 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_GENCAT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT="no" ;; esac fi GENCAT="$ac_cv_path_GENCAT" if test -n "$GENCAT"; then echo "$ac_t""$GENCAT" 1>&6 d1779 4 a1782 7 fi if test "$GENCAT" != "no"; then # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5531: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then d1785 9 a1793 28 case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GMSGFMT="$GMSGFMT" # 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_GMSGFMT="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi d1795 7 a1801 7 if test "$GMSGFMT" = "no"; then # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5568: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d1803 4 a1806 25 case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_GMSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no" ;; esac fi GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 d1808 2 a1810 27 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5603: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac d1812 3 a1814 3 XGETTEXT="$ac_cv_path_XGETTEXT" if test -n "$XGETTEXT"; then echo "$ac_t""$XGETTEXT" 1>&6 d1817 3 d1822 1 a1822 12 USE_INCLUDED_LIBINTL=yes CATOBJEXT=.cat INSTOBJEXT=.cat DATADIRNAME=lib INTLDEPS='$(top_builddir)/intl/libintl.a' INTLLIBS=$INTLDEPS LIBS=`echo $LIBS | sed -e 's/-lintl//'` nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h fi else echo "$ac_t""no" 1>&6 a1824 2 fi fi d1826 2 a1827 9 if test "$CATOBJEXT" = "NONE"; then nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then INTLOBJS="\$(GETTOBJS)" # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 d1829 2 a1830 2 echo "configure:5661: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then d1833 3 a1835 5 case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) d1840 1 a1840 39 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test -n "$MSGFMT"; then echo "$ac_t""$MSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5695: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GMSGFMT" in /*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GMSGFMT="$GMSGFMT" # 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_GMSGFMT="$ac_dir/$ac_word" a1844 3 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac a1845 33 GMSGFMT="$ac_cv_path_GMSGFMT" if test -n "$GMSGFMT"; then echo "$ac_t""$GMSGFMT" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:5731: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac d1847 1 a1847 1 XGETTEXT="$ac_cv_path_XGETTEXT" a1853 11 USE_INCLUDED_LIBINTL=yes CATOBJEXT=.gmo INSTOBJEXT=.mo DATADIRNAME=share INTLDEPS='$(top_builddir)/intl/libintl.a' INTLLIBS=$INTLDEPS LIBS=`echo $LIBS | sed -e 's/-lintl//'` nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h fi d1855 4 a1858 6 if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6 XGETTEXT=":" d1860 1 a1860 1 fi d1862 4 a1865 2 # We need to process the po/ directory. POSUB=po d1867 1 a1867 3 DATADIRNAME=share nls_cv_header_intl=intl/libintl.h nls_cv_header_libgt=intl/libgettext.h d1869 3 a1871 2 d1873 3 a1875 61 # If this is used in GNU gettext we have to set USE_NLS to `yes' # because some of the sources are only built for this goal. if test "$PACKAGE" = gettext; then USE_NLS=yes USE_INCLUDED_LIBINTL=yes fi for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "x$CATOBJEXT" != "x"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 echo "configure:5824: checking for catalogs to be installed" >&5 NEW_LINGUAS= for lang in ${LINGUAS=$ALL_LINGUAS}; do case "$ALL_LINGUAS" in *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; esac done LINGUAS=$NEW_LINGUAS echo "$ac_t""$LINGUAS" 1>&6 fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi if test $ac_cv_header_locale_h = yes; then INCLUDE_LOCALE_H="#include " else INCLUDE_LOCALE_H="\ /* The system does not provide the header . Take care yourself. */" fi test -d intl || mkdir intl if test "$CATOBJEXT" = ".cat"; then ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 echo "configure:5852: checking for linux/version.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then d1879 1 a1879 1 #line 5857 "configure" d1881 7 a1887 24 #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:5862: \"$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 msgformat=linux else echo "$ac_t""no" 1>&6 msgformat=xopen fi d1889 1 d1891 8 a1898 44 sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed fi sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed if test "$PACKAGE" = "gettext"; then GT_NO="#NO#" GT_YES= else GT_NO= GT_YES="#YES#" fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi l= test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@@/.*@@@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES if test X$gt_cv_func_gettext_libintl = Xyes ; then LIBS="-lintl $LIBS" fi d1900 1 a1900 12 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:5931: 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 #include #include d1902 1 a1902 4 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:5944: \"$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 d1904 1 a1904 1 ac_cv_header_stdc=yes a1905 1 echo "$ac_err" >&5 d1909 1 a1909 35 ac_cv_header_stdc=no fi 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 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then : else rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* 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 : else rm -rf conftest* ac_cv_header_stdc=no a1911 1 d1914 2 a1915 3 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 d1918 12 a1929 2 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); } d1936 3 d1940 3 a1942 3 if { (eval echo configure:6011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : d1946 2 a1947 4 rm -fr conftest* ac_cv_header_stdc=no fi rm -fr conftest* d1949 2 d1953 5 a1959 5 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 d1963 3 a1965 3 echo $ac_n "checking whether sys/types.h defines makedev""... $ac_c" 1>&6 echo "configure:6035: checking whether sys/types.h defines makedev" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_types_h_makedev'+set}'`\" = set"; then d1969 1 a1969 1 #line 6040 "configure" d1971 8 a1978 1 #include d1980 10 a1989 1 return makedev(0, 0); d1992 1 a1992 1 if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1994 1 a1994 1 ac_cv_header_sys_types_h_makedev=yes d1999 1 a1999 1 ac_cv_header_sys_types_h_makedev=no a2001 1 d2004 5 a2008 1 echo "$ac_t""$ac_cv_header_sys_types_h_makedev" 1>&6 d2010 4 a2013 5 if test $ac_cv_header_sys_types_h_makedev = no; then ac_safe=`echo "sys/mkdev.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/mkdev.h""... $ac_c" 1>&6 echo "configure:6065: checking for sys/mkdev.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then d2016 4 a2019 2 cat > conftest.$ac_ext < d2030 1 a2030 4 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:6075: \"$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 d2032 1 a2032 1 eval "ac_cv_header_$ac_safe=yes" a2033 1 echo "$ac_err" >&5 d2037 1 a2037 1 eval "ac_cv_header_$ac_safe=no" d2040 2 d2043 1 a2043 1 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then d2045 1 a2045 4 cat >> confdefs.h <<\EOF #define MAJOR_IN_MKDEV 1 EOF d2051 6 a2056 5 if test $ac_cv_header_sys_mkdev_h = no; then ac_safe=`echo "sys/sysmacros.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/sysmacros.h""... $ac_c" 1>&6 echo "configure:6103: checking for sys/sysmacros.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then d2060 1 a2060 1 #line 6108 "configure" d2062 20 a2081 1 #include d2083 1 a2083 4 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:6113: \"$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 d2085 1 a2085 1 eval "ac_cv_header_$ac_safe=yes" a2086 1 echo "$ac_err" >&5 d2090 1 a2090 1 eval "ac_cv_header_$ac_safe=no" d2094 2 a2095 1 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then d2097 1 a2097 4 cat >> confdefs.h <<\EOF #define MAJOR_IN_SYSMACROS 1 EOF d2100 4 a2103 12 fi fi fi ac_header_dirent=no 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:6145: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then d2106 4 a2109 2 cat > conftest.$ac_ext < #include <$ac_hdr> d2117 1 a2117 1 DIR *dirp = 0; d2120 1 a2120 1 if { (eval echo configure:6158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2122 1 a2122 1 eval "ac_cv_header_dirent_$ac_safe=yes" d2127 1 a2127 1 eval "ac_cv_header_dirent_$ac_safe=no" d2130 2 d2133 1 a2133 1 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then d2135 2 a2136 1 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` d2138 1 a2138 1 #define $ac_tr_hdr 1 d2140 3 a2142 1 ac_header_dirent=$ac_hdr; break d2145 5 d2151 5 a2155 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:6183: 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 d2158 2 a2159 4 ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2184 1 a2184 1 eval "ac_cv_lib_$ac_lib_var=yes" d2189 1 a2189 1 eval "ac_cv_lib_$ac_lib_var=no" d2192 1 a2192 1 LIBS="$ac_save_LIBS" d2194 1 a2194 2 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then d2196 1 a2196 1 LIBS="$LIBS -ldir" d2199 2 d2203 14 a2216 4 else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 echo "configure:6224: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` d2221 1 a2221 1 LIBS="-lx $LIBS" d2223 1 a2223 1 #line 6232 "configure" d2228 1 a2228 1 char opendir(); d2231 1 a2231 1 opendir() d2234 1 a2234 1 if { (eval echo configure:6243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2249 1 a2249 1 LIBS="$LIBS -lx" d2252 4 d2258 1 a2258 1 fi d2260 3 a2262 3 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 echo "configure:6266: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then d2266 1 a2266 1 #line 6271 "configure" d2268 4 a2271 6 #include #include #include int main() { struct tm *tp; ; return 0; } d2273 4 a2276 1 if { (eval echo configure:6280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2278 1 a2278 1 ac_cv_header_time=yes d2280 1 d2284 35 a2318 1 ac_cv_header_time=no d2321 33 d2356 2 a2357 2 echo "$ac_t""$ac_cv_header_time" 1>&6 if test $ac_cv_header_time = yes; then d2359 1 a2359 1 #define TIME_WITH_SYS_TIME 1 d2364 3 a2366 7 for ac_hdr in db_185.h db1/db.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:6305: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then d2370 1 a2370 1 #line 6310 "configure" d2372 4 a2375 1 #include <$ac_hdr> d2377 1 a2377 4 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:6315: \"$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 d2379 1 a2379 1 eval "ac_cv_header_$ac_safe=yes" a2380 1 echo "$ac_err" >&5 d2384 1 a2384 1 eval "ac_cv_header_$ac_safe=no" d2387 1 a2388 11 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done d2390 6 a2395 5 for ac_hdr in fcntl.h getopt.h grp.h memory.h netdb.h pwd.h utime.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:6345: checking for $ac_hdr" >&5 d2400 1 a2400 1 #line 6350 "configure" d2402 1 a2402 1 #include <$ac_hdr> d2405 2 a2406 2 { (eval echo configure:6355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d2421 2 a2422 3 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 echo "configure:6386: checking for $ac_hdr" >&5 d2438 1 a2438 1 #line 6391 "configure" d2440 1 a2440 1 #include <$ac_hdr> d2443 2 a2444 2 { (eval echo configure:6396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d2459 2 a2460 3 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&5 d2479 1 a2479 1 #line 6431 "configure" d2484 2 a2485 2 { (eval echo configure:6436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d2510 1 a2510 1 for ac_hdr in sys/mman.h sys/resource.h sys/utsname.h sys/wait.h d2514 1 a2514 1 echo "configure:6466: checking for $ac_hdr" >&5 d2519 1 a2519 1 #line 6471 "configure" d2524 2 a2525 2 { (eval echo configure:6476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d2550 1 a2550 2 for ac_hdr in netinet/in_systm.h d2554 1 a2554 1 echo "configure:6507: checking for $ac_hdr" >&5 d2559 1 a2559 1 #line 6512 "configure" d2564 2 a2565 2 { (eval echo configure:6517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d2590 1 a2590 1 for ac_hdr in machine/types.h d2594 1 a2594 1 echo "configure:6547: checking for $ac_hdr" >&5 d2599 1 a2599 1 #line 6552 "configure" d2604 2 a2605 2 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d2634 1 a2634 1 echo "configure:6587: checking for $ac_hdr" >&5 d2639 1 a2639 1 #line 6592 "configure" d2644 2 a2645 2 { (eval echo configure:6597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d2674 1 a2674 1 echo "configure:6627: checking for $ac_hdr" >&5 d2679 1 a2679 1 #line 6632 "configure" d2684 2 a2685 2 { (eval echo configure:6637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d2710 1 a2710 1 for ac_hdr in bzlib.h libio.h zlib.h d2714 1 a2714 1 echo "configure:6667: checking for $ac_hdr" >&5 d2719 1 a2719 1 #line 6672 "configure" d2724 2 a2725 2 { (eval echo configure:6677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d2747 1 d2751 1 a2751 3 BUILD_RPMCONVERT=yes for ac_hdr in gdbm.h d2755 1 a2755 1 echo "configure:6709: checking for $ac_hdr" >&5 d2760 1 a2760 1 #line 6714 "configure" d2765 2 a2766 2 { (eval echo configure:6719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d2785 1 a2785 1 BUILD_RPMCONVERT=yes d2788 1 a2788 1 BUILD_RPMCONVERT=no a2791 10 echo $ac_n "checking if rpmconvert should be built""... $ac_c" 1>&6 echo "configure:6747: checking if rpmconvert should be built" >&5 if test X"$BUILD_RPMCONVERT" = X"yes"; then BUILD_RPMCONVERT=rpmconvert echo "$ac_t""yes" 1>&6 else BUILD_RPMCONVERT= echo "$ac_t""no" 1>&6 fi d2793 2 a2794 1 for ac_hdr in glob.h d2798 1 a2798 1 echo "configure:6761: checking for $ac_hdr" >&5 d2803 1 a2803 1 #line 6766 "configure" d2808 2 a2809 2 { (eval echo configure:6771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` d2834 1 d2836 7 a2842 5 echo $ac_n "checking for struct statfs""... $ac_c" 1>&6 echo "configure:6799: checking for struct statfs" >&5 found_struct_statfs=no if test X$found_struct_statfs = Xno ; then d2844 1 a2844 1 #line 6804 "configure" a2845 2 #ifdef HAVE_SYS_TYPES_H d2847 1 a2847 2 #endif #include a2848 17 struct statvfs sfs; ; return 0; } EOF if { (eval echo configure:6815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""in sys/statvfs.h" 1>&6 cat >> confdefs.h <<\EOF #define STATFS_IN_SYS_STATVFS 1 EOF found_struct_statfs=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* fi d2850 2 a2851 7 if test X$found_struct_statfs = Xno ; then cat > conftest.$ac_ext < a2852 3 #include int main() { struct statfs sfs; d2855 1 a2855 1 if { (eval echo configure:6843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2857 1 a2857 14 echo "$ac_t""in sys/vfs.h" 1>&6 cat >> confdefs.h <<\EOF #define STATFS_IN_SYS_VFS 1 EOF found_struct_statfs=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* fi if test X$found_struct_statfs = Xno ; then d2859 1 a2859 1 #line 6860 "configure" a2860 2 #ifdef HAVE_SYS_TYPES_H d2862 1 a2862 2 #endif #include a2863 22 struct statfs sfs; ; return 0; } EOF if { (eval echo configure:6871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""in sys/mount.h" 1>&6 cat >> confdefs.h <<\EOF #define STATFS_IN_SYS_MOUNT 1 EOF found_struct_statfs=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* fi if test X$found_struct_statfs = Xno ; then cat > conftest.$ac_ext < a2867 3 #include int main() { struct statfs sfs; d2870 1 a2870 1 if { (eval echo configure:6899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2872 1 a2872 6 echo "$ac_t""in sys/statfs.h" 1>&6 cat >> confdefs.h <<\EOF #define STATFS_IN_SYS_STATFS 1 EOF found_struct_statfs=yes d2876 2 a2879 41 fi if test X$found_struct_statfs = Xno ; then echo "configure: warning: not found" 1>&2 fi if test X$found_struct_statfs = Xyes ; then echo $ac_n "checking for f_bavail member in struct statfs""... $ac_c" 1>&6 echo "configure:6920: checking for f_bavail member in struct statfs" >&5 cat > conftest.$ac_ext < #endif #if STATFS_IN_SYS_STATVFS # include typedef struct statvfs STATFS_t; #else typedef struct statfs STATFS_t; # if STATFS_IN_SYS_VFS # include # elif STATFS_IN_SYS_MOUNT # include # elif STATFS_IN_SYS_STATFS # include # endif #endif int main() { STATFS_t sfs; sfs.f_bavail = 0; ; return 0; } EOF if { (eval echo configure:6946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define STATFS_HAS_F_BAVAIL 1 EOF a2882 3 rm -rf conftest* echo "$ac_t""no" 1>&6 d2885 1 a2885 5 fi if test X$found_struct_statfs = Xyes ; then echo $ac_n "checking if statfs() requires 4 arguments""... $ac_c" 1>&6 echo "configure:6965: checking if statfs() requires 4 arguments" >&5 d2887 1 a2887 2 echo "$ac_t""no" 1>&6 d2890 1 a2890 1 #line 6971 "configure" d2892 9 a2900 14 #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef STATFS_IN_SYS_VFS #include #elif STATFS_IN_SYS_MOUNT #include #elif STATFS_IN_SYS_STATFS #include #endif main() { struct statfs sfs; exit (statfs(".", &sfs, sizeof(sfs), 0)); a2901 1 d2903 1 a2903 1 if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d2905 1 a2905 5 echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define STAT_STATFS4 1 EOF d2910 1 a2910 1 echo "$ac_t""no" 1>&6 d2916 9 d2927 1 a2927 1 echo "configure:7009: checking for inline" >&5 d2934 1 a2934 1 #line 7016 "configure" d2941 1 a2941 1 if { (eval echo configure:7023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2968 2 a2969 2 echo $ac_n "checking if defines h_errno""... $ac_c" 1>&6 echo "configure:7051: checking if defines h_errno" >&5 d2971 1 a2971 1 #line 7053 "configure" d2978 1 a2978 1 if { (eval echo configure:7060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2994 2 a2995 2 echo $ac_n "checking if defines S_IFSOCK""... $ac_c" 1>&6 echo "configure:7077: checking if defines S_IFSOCK" >&5 d2997 1 a2997 1 #line 7079 "configure" d3004 1 a3004 1 if { (eval echo configure:7086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3022 2 a3023 2 echo $ac_n "checking if defines S_ISLNK""... $ac_c" 1>&6 echo "configure:7105: checking if defines S_ISLNK" >&5 d3025 1 a3025 1 #line 7107 "configure" d3032 1 a3032 1 if { (eval echo configure:7114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3050 2 a3051 2 echo $ac_n "checking if defines S_ISSOCK""... $ac_c" 1>&6 echo "configure:7133: checking if defines S_ISSOCK" >&5 d3053 1 a3053 1 #line 7135 "configure" d3060 1 a3060 1 if { (eval echo configure:7142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3078 2 a3079 2 echo $ac_n "checking if timezone is defined""... $ac_c" 1>&6 echo "configure:7161: checking if timezone is defined" >&5 d3081 1 a3081 1 #line 7163 "configure" d3088 1 a3088 1 if { (eval echo configure:7170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3100 3 a3102 356 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 echo "configure:7183: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_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])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_mode_t=yes else rm -rf conftest* ac_cv_type_mode_t=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_mode_t" 1>&6 if test $ac_cv_type_mode_t = no; then cat >> confdefs.h <<\EOF #define mode_t int EOF fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 echo "configure:7216: 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 fi rm -f conftest* fi echo "$ac_t""$ac_cv_type_pid_t" 1>&6 if test $ac_cv_type_pid_t = no; then cat >> confdefs.h <<\EOF #define pid_t int EOF fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 echo "configure:7252: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF if { (eval echo configure:7264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_header_alloca_h=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_header_alloca_h=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 if test $ac_cv_header_alloca_h = yes; then cat >> confdefs.h <<\EOF #define HAVE_ALLOCA_H 1 EOF fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 echo "configure:7285: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < # define alloca _alloca # else # if HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); # endif # endif # endif # endif #endif int main() { char *p = (char *) alloca(1); ; return 0; } EOF if { (eval echo configure:7318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_func_alloca_works=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 if test $ac_cv_func_alloca_works = yes; then cat >> confdefs.h <<\EOF #define HAVE_ALLOCA 1 EOF fi if test $ac_cv_func_alloca_works = no; then # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=alloca.${ac_objext} cat >> confdefs.h <<\EOF #define C_ALLOCA 1 EOF echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 echo "configure:7350: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5 | egrep "webecray" >/dev/null 2>&1; then rm -rf conftest* ac_cv_os_cray=yes else rm -rf conftest* ac_cv_os_cray=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_os_cray" 1>&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:7380: 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:7408: \"$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 cat >> confdefs.h <&6 fi done fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 echo "configure:7435: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext < addr) ? 1 : -1; } main () { exit (find_stack_direction() < 0); } EOF if { (eval echo configure:7462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_c_stack_direction=-1 fi rm -fr conftest* fi fi echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 cat >> confdefs.h <&6 echo "configure:7484: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+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 vprintf(); 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_vprintf) || defined (__stub___vprintf) choke me #else vprintf(); #endif ; return 0; } EOF if { (eval echo configure:7512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_vprintf=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_VPRINTF 1 EOF else echo "$ac_t""no" 1>&6 fi if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 echo "configure:7536: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then d3106 1 a3106 1 #line 7541 "configure" d3109 1 a3109 1 which can conflict with char _doprnt(); below. */ d3114 1 a3114 1 char _doprnt(); d3121 1 a3121 1 #if defined (__stub__doprnt) || defined (__stub____doprnt) d3124 1 a3124 1 _doprnt(); d3129 1 a3129 1 if { (eval echo configure:7564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3131 1 a3131 1 eval "ac_cv_func__doprnt=yes" d3136 1 a3136 1 eval "ac_cv_func__doprnt=no" d3141 1 a3141 1 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then d3144 1 a3144 1 #define HAVE_DOPRNT 1 d3149 1 d3152 3 a3154 55 fi echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 echo "configure:7590: checking for working fnmatch" >&5 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else # Some versions of Solaris or SCO have a broken fnmatch function. # So we run a test program. If we are cross-compiling, take no chance. # Thanks to John Oleynick and Franc,ois Pinard for this test. if test "$cross_compiling" = yes; then ac_cv_func_fnmatch_works=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_fnmatch_works=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_func_fnmatch_works=no fi rm -fr conftest* fi fi echo "$ac_t""$ac_cv_func_fnmatch_works" 1>&6 if test $ac_cv_func_fnmatch_works = yes; then cat >> confdefs.h <<\EOF #define HAVE_FNMATCH 1 EOF fi if test $ac_cv_func_fnmatch_works = no; then LIBOBJS="$LIBOBJS fnmatch.o" cat >> confdefs.h <&6 echo "configure:7639: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then d3158 1 a3158 1 #line 7644 "configure" d3161 1 a3161 1 which can conflict with char $ac_func(); below. */ d3166 1 a3166 1 char $ac_func(); d3173 1 a3173 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d3176 1 a3176 1 $ac_func(); d3181 1 a3181 1 if { (eval echo configure:7667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3183 1 a3183 1 eval "ac_cv_func_$ac_func=yes" d3188 1 a3188 1 eval "ac_cv_func_$ac_func=no" d3193 1 a3193 1 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then d3195 2 a3196 3 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <&6 echo "configure:7696: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then d3210 1 a3210 1 #line 7701 "configure" d3213 1 a3213 1 which can conflict with char $ac_func(); below. */ d3218 1 a3218 1 char $ac_func(); d3225 1 a3225 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d3228 1 a3228 1 $ac_func(); d3233 1 a3233 1 if { (eval echo configure:7724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3235 1 a3235 1 eval "ac_cv_func_$ac_func=yes" d3240 1 a3240 1 eval "ac_cv_func_$ac_func=no" d3245 1 a3245 1 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then d3247 2 a3248 3 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <&6 echo "configure:7754: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then d3260 1 a3260 1 #line 7759 "configure" d3263 1 a3263 1 which can conflict with char $ac_func(); below. */ d3268 1 a3268 1 char $ac_func(); d3275 1 a3275 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d3278 1 a3278 1 $ac_func(); d3283 1 a3283 1 if { (eval echo configure:7782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3285 1 a3285 1 eval "ac_cv_func_$ac_func=yes" d3290 1 a3290 1 eval "ac_cv_func_$ac_func=no" d3295 1 a3295 1 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then d3297 2 a3298 3 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <&6 echo "configure:7811: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then d3310 1 a3310 1 #line 7816 "configure" d3313 1 a3313 1 which can conflict with char $ac_func(); below. */ d3318 1 a3318 1 char $ac_func(); d3325 1 a3325 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d3328 1 a3328 1 $ac_func(); d3333 1 a3333 1 if { (eval echo configure:7839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3335 1 a3335 1 eval "ac_cv_func_$ac_func=yes" d3340 1 a3340 1 eval "ac_cv_func_$ac_func=no" d3345 1 a3345 1 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then d3347 2 a3348 3 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <&6 echo "configure:7869: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then d3360 4 a3363 2 cat > conftest.$ac_ext < d3368 1 a3368 1 char $ac_func(); d3371 1 a3371 10 /* 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 d3374 1 a3374 1 if { (eval echo configure:7897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3376 1 a3376 1 eval "ac_cv_func_$ac_func=yes" d3381 1 a3381 1 eval "ac_cv_func_$ac_func=no" d3384 2 d3387 1 a3387 2 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then d3389 3 a3391 3 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cat >> confdefs.h <&6 echo "configure:7923: checking for getmntent" >&5 if eval "test \"`echo '$''{'ac_cv_func_getmntent'+set}'`\" = set"; then d3411 1 a3411 1 #line 7928 "configure" d3414 1 a3414 1 which can conflict with char getmntent(); below. */ d3419 1 a3419 1 char getmntent(); d3426 1 a3426 1 #if defined (__stub_getmntent) || defined (__stub___getmntent) d3429 1 a3429 1 getmntent(); d3434 1 a3434 1 if { (eval echo configure:7951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3436 1 a3436 1 eval "ac_cv_func_getmntent=yes" d3441 1 a3441 1 eval "ac_cv_func_getmntent=no" d3446 1 a3446 1 if eval "test \"`echo '$ac_cv_func_'getmntent`\" = yes"; then d3448 1 a3448 4 cat >> confdefs.h <<\EOF #define HAVE_GETMNTENT 1 EOF d3451 2 d3454 3 a3456 3 echo $ac_n "checking for mntctl""... $ac_c" 1>&6 echo "configure:7973: checking for mntctl" >&5 if eval "test \"`echo '$''{'ac_cv_func_mntctl'+set}'`\" = set"; then d3460 1 a3460 1 #line 7978 "configure" d3463 1 a3463 1 which can conflict with char mntctl(); below. */ d3468 1 a3468 1 char mntctl(); d3475 1 a3475 1 #if defined (__stub_mntctl) || defined (__stub___mntctl) d3478 1 a3478 1 mntctl(); d3483 1 a3483 1 if { (eval echo configure:8001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3485 1 a3485 1 eval "ac_cv_func_mntctl=yes" d3490 1 a3490 1 eval "ac_cv_func_mntctl=no" d3495 1 a3495 1 if eval "test \"`echo '$ac_cv_func_'mntctl`\" = yes"; then d3497 1 a3497 4 cat >> confdefs.h <<\EOF #define HAVE_MNTCTL 1 EOF d3500 2 d3503 3 a3505 3 echo $ac_n "checking for getmntinfo_r""... $ac_c" 1>&6 echo "configure:8023: checking for getmntinfo_r" >&5 if eval "test \"`echo '$''{'ac_cv_func_getmntinfo_r'+set}'`\" = set"; then d3509 1 a3509 1 #line 8028 "configure" d3512 1 a3512 1 which can conflict with char getmntinfo_r(); below. */ d3517 1 a3517 1 char getmntinfo_r(); d3524 1 a3524 1 #if defined (__stub_getmntinfo_r) || defined (__stub___getmntinfo_r) d3527 1 a3527 1 getmntinfo_r(); d3532 1 a3532 1 if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3534 1 a3534 1 eval "ac_cv_func_getmntinfo_r=yes" d3539 1 a3539 1 eval "ac_cv_func_getmntinfo_r=no" d3544 1 a3544 1 if eval "test \"`echo '$ac_cv_func_'getmntinfo_r`\" = yes"; then d3546 1 a3546 4 cat >> confdefs.h <<\EOF #define HAVE_GETMNTINFO_R 1 EOF d3549 2 d3552 3 a3554 4 echo $ac_n "checking for getmntinfo_r in -lc_r""... $ac_c" 1>&6 echo "configure:8073: checking for getmntinfo_r in -lc_r" >&5 ac_lib_var=`echo c_r'_'getmntinfo_r | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then d3557 2 a3558 4 ac_save_LIBS="$LIBS" LIBS="-lc_r $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3583 1 a3583 1 eval "ac_cv_lib_$ac_lib_var=yes" d3588 1 a3588 1 eval "ac_cv_lib_$ac_lib_var=no" d3591 1 a3591 1 LIBS="$ac_save_LIBS" d3593 1 a3593 2 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then d3595 1 a3595 5 LIBS="$LIBS -lc_r"; cat >> confdefs.h <<\EOF #define HAVE_GETMNTINFO_R 1 EOF d3598 1 a3598 7 LIBOBJS="$LIBOBJS getmntent.o" fi fi fi d3603 1 a3603 1 echo "configure:8125: checking for lchown" >&5 d3608 1 a3608 1 #line 8130 "configure" d3631 1 a3631 1 if { (eval echo configure:8153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3655 2 a3656 2 echo $ac_n "checking whether chown() follows symlinks""... $ac_c" 1>&6 echo "configure:8178: checking whether chown() follows symlinks" >&5 d3684 1 a3684 1 echo "configure:8206: checking (cannot check by non-root user)" >&5 d3700 1 a3700 1 echo "configure:8222: checking root's primary group" >&5 d3706 1 a3706 1 #line 8228 "configure" d3735 1 a3735 1 if { (eval echo configure:8257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d3747 4 d3754 1 a3759 1 a3771 1 d3774 1 d3794 12 a3805 1 LIBOBJS="$LIBOBJS myrealloc.o" d3821 2 a3822 5 rm -f ./find-provides if test -f ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.prov ; then echo "using ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.prov for automatic provides generation" ln -s ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.prov ./find-provides elif test -f ${srcdir}/autodeps/${build_os_exact}.prov ; then d3824 1 a3824 1 ln -s ${srcdir}/autodeps/${build_os_exact}.prov ./find-provides d3827 1 a3827 1 ln -s ${srcdir}/autodeps/${build_os_major}.prov ./find-provides d3830 1 a3830 1 ln -s ${srcdir}/autodeps/${build_os_noversion}.prov ./find-provides d3833 1 a3833 1 ln -s ${srcdir}/autodeps/none ./find-provides d3836 2 a3837 5 rm -f ./find-requires if test -f ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.req ; then echo "using ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.req for automatic requires generation" ln -s ${srcdir}/autodeps/${build_cpu}-${build_os_exact}.req ./find-requires elif test -f ${srcdir}/autodeps/${build_os_exact}.req ; then d3839 1 a3839 1 ln -s ${srcdir}/autodeps/${build_os_exact}.req ./find-requires d3842 1 a3842 1 ln -s ${srcdir}/autodeps/${build_os_major}.req ./find-requires d3845 1 a3845 1 ln -s ${srcdir}/autodeps/${build_os_noversion}.req ./find-requires d3848 1 a3848 1 ln -s ${srcdir}/autodeps/none ./find-requires a3850 17 case "${build_cpu}" in i386|i486|i586|i686|ix86) RPMCANONARCH=i386 ;; alpha*) RPMCANONARCH=alpha ;; sparc*) RPMCANONARCH=sparc ;; powerpc*) RPMCANONARCH=ppc ;; armv4l*) RPMCANONARCH=armv4l ;; armv4b*) RPMCANONARCH=armv4b ;; arm*) RPMCANONARCH=arm ;; *) RPMCANONARCH=unknown ;; esac RPMCANONVENDOR="$build_vendor" case "${build_vendor}" in unknown|pc) test -f /etc/redhat-release && RPMCANONVENDOR=redhat ;; esac RPMCANONOS="$build_os_noversion" d3852 4 a3855 3 if test -n "$LIBOBJS" ; then LIBMISC='$(top_builddir)/misc/libmisc.a' a3859 11 LOCALEDIR="`echo ${prefix}/share/locale`" cat >> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <&1` in d3980 1 a3980 1 echo "$CONFIG_STATUS generated by autoconf version 2.13" d3991 1 a3991 4 trap 'rm -fr `echo "Makefile rpmrc macros lib/Makefile build/Makefile tools/Makefile scripts/Makefile tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile misc/Makefile po/Makefile.in intl/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 a3999 1 s%@@SHELL@@%$SHELL%g a4002 1 s%@@FFLAGS@@%$FFLAGS%g d4036 2 a4038 1 s%@@INSTALL_SCRIPT@@%$INSTALL_SCRIPT%g d4040 1 a4040 12 s%@@PACKAGE@@%$PACKAGE%g s%@@VERSION@@%$VERSION%g s%@@ACLOCAL@@%$ACLOCAL%g s%@@AUTOCONF@@%$AUTOCONF%g s%@@AUTOMAKE@@%$AUTOMAKE%g s%@@AUTOHEADER@@%$AUTOHEADER%g s%@@MAKEINFO@@%$MAKEINFO%g s%@@SET_MAKE@@%$SET_MAKE%g s%@@CC@@%$CC%g s%@@CPP@@%$CPP%g s%@@LDFLAGS_STATIC@@%$LDFLAGS_STATIC%g s%@@FIXPERMS@@%$FIXPERMS%g d4042 1 a4042 3 s%@@MKDIR_P@@%$MKDIR_P%g s%@@U@@%$U%g s%@@ANSI2KNR@@%$ANSI2KNR%g d4045 1 a4046 6 s%@@LD@@%$LD%g s%@@NM@@%$NM%g s%@@USE_SYMBOL_UNDERSCORE@@%$USE_SYMBOL_UNDERSCORE%g s%@@DLLTOOL@@%$DLLTOOL%g s%@@AS@@%$AS%g s%@@LIBTOOL@@%$LIBTOOL%g a4047 21 s%@@BZIP2BIN@@%$BZIP2BIN%g s%@@__CAT@@%$__CAT%g s%@@__CHGRP@@%$__CHGRP%g s%@@__CHMOD@@%$__CHMOD%g s%@@__CHOWN@@%$__CHOWN%g s%@@__CP@@%$__CP%g s%@@__CPIO@@%$__CPIO%g s%@@GZIPBIN@@%$GZIPBIN%g s%@@__ID@@%$__ID%g s%@@__MAKE@@%$__MAKE%g s%@@__MKDIR@@%$__MKDIR%g s%@@__MV@@%$__MV%g s%@@__PATCH@@%$__PATCH%g s%@@PGPBIN@@%$PGPBIN%g s%@@__RM@@%$__RM%g s%@@__TAR@@%$__TAR%g s%@@LIBOBJS@@%$LIBOBJS%g s%@@ALLOCA@@%$ALLOCA%g s%@@USE_NLS@@%$USE_NLS%g s%@@MSGFMT@@%$MSGFMT%g s%@@GMSGFMT@@%$GMSGFMT%g a4048 18 s%@@GENCAT@@%$GENCAT%g s%@@USE_INCLUDED_LIBINTL@@%$USE_INCLUDED_LIBINTL%g s%@@CATALOGS@@%$CATALOGS%g s%@@CATOBJEXT@@%$CATOBJEXT%g s%@@DATADIRNAME@@%$DATADIRNAME%g s%@@GMOFILES@@%$GMOFILES%g s%@@INSTOBJEXT@@%$INSTOBJEXT%g s%@@INTLDEPS@@%$INTLDEPS%g s%@@INTLLIBS@@%$INTLLIBS%g s%@@INTLOBJS@@%$INTLOBJS%g s%@@POFILES@@%$POFILES%g s%@@POSUB@@%$POSUB%g s%@@INCLUDE_LOCALE_H@@%$INCLUDE_LOCALE_H%g s%@@GT_NO@@%$GT_NO%g s%@@GT_YES@@%$GT_YES%g s%@@MKINSTALLDIRS@@%$MKINSTALLDIRS%g s%@@l@@%$l%g s%@@BUILD_RPMCONVERT@@%$BUILD_RPMCONVERT%g d4050 3 d4055 10 a4064 3 s%@@RPMCANONARCH@@%$RPMCANONARCH%g s%@@RPMCANONVENDOR@@%$RPMCANONVENDOR%g s%@@RPMCANONOS@@%$RPMCANONOS%g d4066 1 a4066 1 s%@@LOCALEDIR@@%$LOCALEDIR%g d4068 2 a4069 9 s%@@SYSCONFIGDIR@@%$SYSCONFIGDIR%g s%@@LIBRPMRC_FILENAME@@%$LIBRPMRC_FILENAME%g s%@@LIBRPMALIAS_FILENAME@@%$LIBRPMALIAS_FILENAME%g s%@@FINDREQUIRES@@%$FINDREQUIRES%g s%@@FINDPROVIDES@@%$FINDPROVIDES%g s%@@MACROFILES@@%$MACROFILES%g s%@@testdir@@%$testdir%g s%@@INCPATH@@%$INCPATH%g s%@@RPM@@%$RPM%g d4112 1 a4112 4 CONFIG_FILES=\${CONFIG_FILES-"Makefile rpmrc macros lib/Makefile build/Makefile tools/Makefile scripts/Makefile tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile misc/Makefile po/Makefile.in intl/Makefile"} d4279 1 a4280 3 cat >> $CONFIG_STATUS <&2; exit 1; } fi rm -f $ac_dest # Make relative symlinks. # Remove last slash and all that follows it. Not all systems have dirname. ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'` if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then # The dest file is in a subdirectory. test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir" ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dest_dir_suffix. ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dest_dir_suffix= ac_dots= fi case "$srcdir" in [/$]*) ac_rel_source="$srcdir/$ac_source" ;; *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;; esac # Make a symlink if possible; otherwise try a hard link. if ln -s $ac_rel_source $ac_dest 2>/dev/null || ln $srcdir/$ac_source $ac_dest; then : else { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; } fi done EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac touch Makefile.in sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile a4385 1 @ 1.1.1.8 log @Import: RPM 3.0.1 @ text @d803 1 a803 1 VERSION=3.0.1 a8316 3 if echo "$build_os" | grep '.*-gnulibc1' > /dev/null ; then build_os=`echo "${build_os}" | sed 's/-gnulibc1$//'` fi @ 1.1.1.9 log @Import: RPM 3.0.2 @ text @d23 1 a23 1 --disable-libtool-lock avoid locking (might break parallel builds)" d803 1 a803 1 VERSION=3.0.2 d1365 1 a1365 1 LDFLAGS_STATIC="${LDFLAGS} ${LDFLAGS_STATIC}-static" # libtool format d1995 1 a1995 1 [\\/]* | [A-Za-z]:[\\/]*) d2024 1 a2024 1 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" d2027 1 a2027 1 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then d2078 1 a2078 1 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" d2081 1 a2081 1 if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then d2106 210 d2327 2 a2331 10 # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" : fi test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" d2337 2 a2338 2 echo '#line 2136 "configure"' > conftest.$ac_ext if { (eval echo configure:2137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2359 1 a2359 1 echo "configure:2158: checking whether the C compiler needs -belf" >&5 d2364 1 a2364 1 #line 2163 "configure" d2371 1 a2371 1 if { (eval echo configure:2170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2390 137 d2530 15 d2597 2 a2598 3 LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ a2623 6 if test $host != $build; then ac_tool_prefix=${host_alias}- else ac_tool_prefix= fi d2627 1 a2627 1 echo "configure:2281: checking for $ac_word" >&5 d2659 1 a2659 1 echo "configure:2313: checking for $ac_word" >&5 d2698 1 a2698 1 echo "configure:2352: checking for $ac_word" >&5 d2735 1 a2735 1 echo "configure:2389: checking for $ac_word" >&5 d2771 1 a2771 1 echo "configure:2425: checking for $ac_word" >&5 d2807 1 a2807 1 echo "configure:2461: checking for $ac_word" >&5 d2843 1 a2843 1 echo "configure:2497: checking for $ac_word" >&5 d2879 1 a2879 1 echo "configure:2533: checking for $ac_word" >&5 d2915 1 a2915 1 echo "configure:2569: checking for $ac_word" >&5 d2952 1 a2952 1 echo "configure:2606: checking for $ac_word" >&5 d2988 1 a2988 1 echo "configure:2642: checking for $ac_word" >&5 d3024 1 a3024 1 echo "configure:2678: checking for $ac_word" >&5 d3060 1 a3060 1 echo "configure:2714: checking for $ac_word" >&5 d3096 1 a3096 1 echo "configure:2750: checking for $ac_word" >&5 d3133 1 a3133 1 echo "configure:2787: checking for $ac_word" >&5 d3167 1 a3167 1 echo "configure:2821: checking old version of patch" >&5 d3183 1 a3183 1 echo "configure:2837: checking for $ac_word" >&5 d3219 1 a3219 1 echo "configure:2873: checking for $ac_word" >&5 d3255 1 a3255 1 echo "configure:2909: checking for $ac_word" >&5 d3311 1 a3311 1 echo "configure:2965: checking for $dir/lib in LIBS" >&5 d3320 1 a3320 1 echo "configure:2974: checking for $dir/include in INCPATH" >&5 d3330 1 a3330 1 echo "configure:2984: checking for /usr/ucblib in LIBS" >&5 d3345 1 a3345 1 echo "configure:2999: checking for strcasecmp" >&5 d3350 1 a3350 1 #line 3004 "configure" d3373 1 a3373 1 if { (eval echo configure:3027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3392 1 a3392 1 echo "configure:3046: checking for strcasecmp in -lucb" >&5 d3400 1 a3400 1 #line 3054 "configure" d3411 1 a3411 1 if { (eval echo configure:3065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3435 1 a3435 1 echo "configure:3089: checking for setreuid" >&5 d3440 1 a3440 1 #line 3094 "configure" d3463 1 a3463 1 if { (eval echo configure:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3482 1 a3482 1 echo "configure:3136: checking for setreuid in -lucb" >&5 d3490 1 a3490 1 #line 3144 "configure" d3501 1 a3501 1 if { (eval echo configure:3155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3526 1 a3526 1 echo "configure:3180: checking for rand" >&5 d3531 1 a3531 1 #line 3185 "configure" d3554 1 a3554 1 if { (eval echo configure:3208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3573 1 a3573 1 echo "configure:3227: checking for rand in -lrand" >&5 d3581 1 a3581 1 #line 3235 "configure" d3592 1 a3592 1 if { (eval echo configure:3246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3617 1 a3617 1 echo "configure:3271: checking for getdomainname" >&5 d3622 1 a3622 1 #line 3276 "configure" d3645 1 a3645 1 if { (eval echo configure:3299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3664 1 a3664 1 echo "configure:3318: checking for getdomainname in -lnsl" >&5 d3672 1 a3672 1 #line 3326 "configure" d3683 1 a3683 1 if { (eval echo configure:3337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3707 1 a3707 1 echo "configure:3361: checking for socket" >&5 d3712 1 a3712 1 #line 3366 "configure" d3735 1 a3735 1 if { (eval echo configure:3389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3754 1 a3754 1 echo "configure:3408: checking for socket in -lsocket" >&5 d3762 1 a3762 1 #line 3416 "configure" d3773 1 a3773 1 if { (eval echo configure:3427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a3796 97 echo $ac_n "checking for fchmod""... $ac_c" 1>&6 echo "configure:3452: checking for fchmod" >&5 if eval "test \"`echo '$''{'ac_cv_func_fchmod'+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 fchmod(); 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_fchmod) || defined (__stub___fchmod) choke me #else fchmod(); #endif ; return 0; } EOF if { (eval echo configure:3480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_fchmod=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_fchmod=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'fchmod`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for writev in -lport""... $ac_c" 1>&6 echo "configure:3501: checking for writev in -lport" >&5 ac_lib_var=`echo port'_'writev | 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="-lport $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 ac_tr_lib=HAVE_LIB`echo port | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6 fi d3798 1 a3798 1 echo "configure:3549: checking for dbopen" >&5 d3803 1 a3803 1 #line 3554 "configure" d3826 1 a3826 1 if { (eval echo configure:3577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3844 1 a3844 1 echo "configure:3595: checking for dbopen in -ldb1" >&5 d3852 1 a3852 1 #line 3603 "configure" d3863 1 a3863 1 if { (eval echo configure:3614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3889 1 a3889 1 echo "configure:3640: checking for dbopen in -ldb" >&5 d3897 1 a3897 1 #line 3648 "configure" d3908 1 a3908 1 if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3943 1 a3943 1 echo "configure:3694: checking for fork" >&5 d3948 1 a3948 1 #line 3699 "configure" d3971 1 a3971 1 if { (eval echo configure:3722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4004 1 a4004 1 echo "configure:3755: checking for gzread in -l${zlib}" >&5 d4012 1 a4012 1 #line 3763 "configure" d4023 1 a4023 1 if { (eval echo configure:3774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4052 1 a4052 1 echo "configure:3803: checking for bzread in -l${bz2lib}" >&5 d4060 1 a4060 1 #line 3811 "configure" d4071 1 a4071 1 if { (eval echo configure:3822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4098 1 a4098 1 echo "configure:3849: checking for error_at_line" >&5 d4103 1 a4103 1 #line 3854 "configure" d4110 1 a4110 1 if { (eval echo configure:3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4130 1 a4130 1 echo "configure:3881: checking for working const" >&5 d4135 1 a4135 1 #line 3886 "configure" d4184 1 a4184 1 if { (eval echo configure:3935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4205 1 a4205 1 echo "configure:3956: checking for inline" >&5 d4212 1 a4212 1 #line 3963 "configure" d4219 1 a4219 1 if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4245 1 a4245 1 echo "configure:3996: checking for off_t" >&5 d4250 1 a4250 1 #line 4001 "configure" d4278 1 a4278 1 echo "configure:4029: checking for size_t" >&5 d4283 1 a4283 1 #line 4034 "configure" d4313 1 a4313 1 echo "configure:4064: checking for working alloca.h" >&5 d4318 1 a4318 1 #line 4069 "configure" d4325 1 a4325 1 if { (eval echo configure:4076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4346 1 a4346 1 echo "configure:4097: checking for alloca" >&5 d4351 1 a4351 1 #line 4102 "configure" d4379 1 a4379 1 if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4411 1 a4411 1 echo "configure:4162: checking whether alloca needs Cray hooks" >&5 d4416 1 a4416 1 #line 4167 "configure" d4441 1 a4441 1 echo "configure:4192: checking for $ac_func" >&5 d4446 1 a4446 1 #line 4197 "configure" d4469 1 a4469 1 if { (eval echo configure:4220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4496 1 a4496 1 echo "configure:4247: checking stack direction for C alloca" >&5 d4504 1 a4504 1 #line 4255 "configure" d4523 1 a4523 1 if { (eval echo configure:4274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4548 1 a4548 1 echo "configure:4299: checking for $ac_hdr" >&5 d4553 1 a4553 1 #line 4304 "configure" d4558 1 a4558 1 { (eval echo configure:4309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4587 1 a4587 1 echo "configure:4338: checking for $ac_func" >&5 d4592 1 a4592 1 #line 4343 "configure" d4615 1 a4615 1 if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4640 1 a4640 1 echo "configure:4391: checking for working mmap" >&5 d4648 1 a4648 1 #line 4399 "configure" d4788 1 a4788 1 if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4816 1 a4816 1 echo "configure:4567: checking for $ac_hdr" >&5 d4821 1 a4821 1 #line 4572 "configure" d4826 1 a4826 1 { (eval echo configure:4577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4856 1 a4856 1 echo "configure:4607: checking for $ac_func" >&5 d4861 1 a4861 1 #line 4612 "configure" d4884 1 a4884 1 if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4913 1 a4913 1 echo "configure:4664: checking for $ac_func" >&5 d4918 1 a4918 1 #line 4669 "configure" d4941 1 a4941 1 if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4975 1 a4975 1 echo "configure:4726: checking for LC_MESSAGES" >&5 d4980 1 a4980 1 #line 4731 "configure" d4987 1 a4987 1 if { (eval echo configure:4738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5008 1 a5008 1 echo "configure:4759: checking whether NLS is requested" >&5 d5028 1 a5028 1 echo "configure:4779: checking whether included gettext is requested" >&5 d5047 1 a5047 1 echo "configure:4798: checking for libintl.h" >&5 d5052 1 a5052 1 #line 4803 "configure" d5057 1 a5057 1 { (eval echo configure:4808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5074 1 a5074 1 echo "configure:4825: checking for gettext in libc" >&5 d5079 1 a5079 1 #line 4830 "configure" d5086 1 a5086 1 if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5102 1 a5102 1 echo "configure:4853: checking for bindtextdomain in -lintl" >&5 d5110 1 a5110 1 #line 4861 "configure" d5121 1 a5121 1 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5137 1 a5137 1 echo "configure:4888: checking for gettext in libintl" >&5 d5142 1 a5142 1 echo "configure:4893: checking for gettext in -lintl" >&5 d5150 1 a5150 1 #line 4901 "configure" d5161 1 a5161 1 if { (eval echo configure:4912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5200 1 a5200 1 echo "configure:4951: checking for $ac_word" >&5 d5234 1 a5234 1 echo "configure:4985: checking for $ac_func" >&5 d5239 1 a5239 1 #line 4990 "configure" d5262 1 a5262 1 if { (eval echo configure:5013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5289 1 a5289 1 echo "configure:5040: checking for $ac_word" >&5 d5325 1 a5325 1 echo "configure:5076: checking for $ac_word" >&5 d5357 1 a5357 1 #line 5108 "configure" d5365 1 a5365 1 if { (eval echo configure:5116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5388 1 a5388 1 echo "configure:5139: checking whether catgets can be used" >&5 d5401 1 a5401 1 echo "configure:5152: checking for main in -li" >&5 d5409 1 a5409 1 #line 5160 "configure" d5416 1 a5416 1 if { (eval echo configure:5167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5444 1 a5444 1 echo "configure:5195: checking for catgets" >&5 d5449 1 a5449 1 #line 5200 "configure" d5472 1 a5472 1 if { (eval echo configure:5223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5494 1 a5494 1 echo "configure:5245: checking for $ac_word" >&5 d5530 1 a5530 1 echo "configure:5281: checking for $ac_word" >&5 d5567 1 a5567 1 echo "configure:5318: checking for $ac_word" >&5 d5602 1 a5602 1 echo "configure:5353: checking for $ac_word" >&5 d5660 1 a5660 1 echo "configure:5411: checking for $ac_word" >&5 d5694 1 a5694 1 echo "configure:5445: checking for $ac_word" >&5 d5730 1 a5730 1 echo "configure:5481: checking for $ac_word" >&5 d5823 1 a5823 1 echo "configure:5574: checking for catalogs to be installed" >&5 d5851 1 a5851 1 echo "configure:5602: checking for linux/version.h" >&5 d5856 1 a5856 1 #line 5607 "configure" d5861 1 a5861 1 { (eval echo configure:5612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5930 1 a5930 1 echo "configure:5681: checking for ANSI C header files" >&5 d5935 1 a5935 1 #line 5686 "configure" d5943 1 a5943 1 { (eval echo configure:5694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5960 1 a5960 1 #line 5711 "configure" d5978 1 a5978 1 #line 5729 "configure" d5999 1 a5999 1 #line 5750 "configure" d6010 1 a6010 1 if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6034 1 a6034 1 echo "configure:5785: checking whether sys/types.h defines makedev" >&5 d6039 1 a6039 1 #line 5790 "configure" d6046 1 a6046 1 if { (eval echo configure:5797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6064 1 a6064 1 echo "configure:5815: checking for sys/mkdev.h" >&5 d6069 1 a6069 1 #line 5820 "configure" d6074 1 a6074 1 { (eval echo configure:5825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6102 1 a6102 1 echo "configure:5853: checking for sys/sysmacros.h" >&5 d6107 1 a6107 1 #line 5858 "configure" d6112 1 a6112 1 { (eval echo configure:5863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6144 1 a6144 1 echo "configure:5895: checking for $ac_hdr that defines DIR" >&5 d6149 1 a6149 1 #line 5900 "configure" d6157 1 a6157 1 if { (eval echo configure:5908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6182 1 a6182 1 echo "configure:5933: checking for opendir in -ldir" >&5 d6190 1 a6190 1 #line 5941 "configure" d6201 1 a6201 1 if { (eval echo configure:5952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6223 1 a6223 1 echo "configure:5974: checking for opendir in -lx" >&5 d6231 1 a6231 1 #line 5982 "configure" d6242 1 a6242 1 if { (eval echo configure:5993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6265 1 a6265 1 echo "configure:6016: checking whether time.h and sys/time.h may both be included" >&5 d6270 1 a6270 1 #line 6021 "configure" d6279 1 a6279 1 if { (eval echo configure:6030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6304 1 a6304 1 echo "configure:6055: checking for $ac_hdr" >&5 d6309 1 a6309 1 #line 6060 "configure" d6314 1 a6314 1 { (eval echo configure:6065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6344 1 a6344 1 echo "configure:6095: checking for $ac_hdr" >&5 d6349 1 a6349 1 #line 6100 "configure" d6354 1 a6354 1 { (eval echo configure:6105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6385 1 a6385 1 echo "configure:6136: checking for $ac_hdr" >&5 d6390 1 a6390 1 #line 6141 "configure" d6395 1 a6395 1 { (eval echo configure:6146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6425 1 a6425 1 echo "configure:6176: checking for $ac_hdr" >&5 d6430 1 a6430 1 #line 6181 "configure" d6435 1 a6435 1 { (eval echo configure:6186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6465 1 a6465 1 echo "configure:6216: checking for $ac_hdr" >&5 d6470 1 a6470 1 #line 6221 "configure" d6475 1 a6475 1 { (eval echo configure:6226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6506 1 a6506 1 echo "configure:6257: checking for $ac_hdr" >&5 d6511 1 a6511 1 #line 6262 "configure" d6516 1 a6516 1 { (eval echo configure:6267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6546 1 a6546 1 echo "configure:6297: checking for $ac_hdr" >&5 d6551 1 a6551 1 #line 6302 "configure" d6556 1 a6556 1 { (eval echo configure:6307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6586 1 a6586 1 echo "configure:6337: checking for $ac_hdr" >&5 d6591 1 a6591 1 #line 6342 "configure" d6596 1 a6596 1 { (eval echo configure:6347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6626 1 a6626 1 echo "configure:6377: checking for $ac_hdr" >&5 d6631 1 a6631 1 #line 6382 "configure" d6636 1 a6636 1 { (eval echo configure:6387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6666 1 a6666 1 echo "configure:6417: checking for $ac_hdr" >&5 d6671 1 a6671 1 #line 6422 "configure" d6676 1 a6676 1 { (eval echo configure:6427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6708 1 a6708 1 echo "configure:6459: checking for $ac_hdr" >&5 d6713 1 a6713 1 #line 6464 "configure" d6718 1 a6718 1 { (eval echo configure:6469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6746 1 a6746 1 echo "configure:6497: checking if rpmconvert should be built" >&5 d6760 1 a6760 1 echo "configure:6511: checking for $ac_hdr" >&5 d6765 1 a6765 1 #line 6516 "configure" d6770 1 a6770 1 { (eval echo configure:6521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6798 1 a6798 1 echo "configure:6549: checking for struct statfs" >&5 d6803 1 a6803 1 #line 6554 "configure" d6814 1 a6814 1 if { (eval echo configure:6565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6831 1 a6831 1 #line 6582 "configure" d6842 1 a6842 1 if { (eval echo configure:6593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6859 1 a6859 1 #line 6610 "configure" d6870 1 a6870 1 if { (eval echo configure:6621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6887 1 a6887 1 #line 6638 "configure" d6898 1 a6898 1 if { (eval echo configure:6649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6919 1 a6919 1 echo "configure:6670: checking for f_bavail member in struct statfs" >&5 d6921 1 a6921 1 #line 6672 "configure" d6945 1 a6945 1 if { (eval echo configure:6696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6964 1 a6964 1 echo "configure:6715: checking if statfs() requires 4 arguments" >&5 d6970 1 a6970 1 #line 6721 "configure" d6989 1 a6989 1 if { (eval echo configure:6740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7008 1 a7008 1 echo "configure:6759: checking for inline" >&5 d7015 1 a7015 1 #line 6766 "configure" d7022 1 a7022 1 if { (eval echo configure:6773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7050 1 a7050 1 echo "configure:6801: checking if defines h_errno" >&5 d7052 1 a7052 1 #line 6803 "configure" d7059 1 a7059 1 if { (eval echo configure:6810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7076 1 a7076 1 echo "configure:6827: checking if defines S_IFSOCK" >&5 d7078 1 a7078 1 #line 6829 "configure" d7085 1 a7085 1 if { (eval echo configure:6836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7104 1 a7104 1 echo "configure:6855: checking if defines S_ISLNK" >&5 d7106 1 a7106 1 #line 6857 "configure" d7113 1 a7113 1 if { (eval echo configure:6864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7132 1 a7132 1 echo "configure:6883: checking if defines S_ISSOCK" >&5 d7134 1 a7134 1 #line 6885 "configure" d7141 1 a7141 1 if { (eval echo configure:6892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7160 1 a7160 1 echo "configure:6911: checking if timezone is defined" >&5 d7162 1 a7162 1 #line 6913 "configure" d7169 1 a7169 1 if { (eval echo configure:6920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7182 1 a7182 1 echo "configure:6933: checking for mode_t" >&5 d7187 1 a7187 1 #line 6938 "configure" d7215 1 a7215 1 echo "configure:6966: checking for pid_t" >&5 d7220 1 a7220 1 #line 6971 "configure" d7251 1 a7251 1 echo "configure:7002: checking for working alloca.h" >&5 d7256 1 a7256 1 #line 7007 "configure" d7263 1 a7263 1 if { (eval echo configure:7014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7284 1 a7284 1 echo "configure:7035: checking for alloca" >&5 d7289 1 a7289 1 #line 7040 "configure" d7317 1 a7317 1 if { (eval echo configure:7068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7349 1 a7349 1 echo "configure:7100: checking whether alloca needs Cray hooks" >&5 d7354 1 a7354 1 #line 7105 "configure" d7379 1 a7379 1 echo "configure:7130: checking for $ac_func" >&5 d7384 1 a7384 1 #line 7135 "configure" d7407 1 a7407 1 if { (eval echo configure:7158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7434 1 a7434 1 echo "configure:7185: checking stack direction for C alloca" >&5 d7442 1 a7442 1 #line 7193 "configure" d7461 1 a7461 1 if { (eval echo configure:7212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7483 1 a7483 1 echo "configure:7234: checking for vprintf" >&5 d7488 1 a7488 1 #line 7239 "configure" d7511 1 a7511 1 if { (eval echo configure:7262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7535 1 a7535 1 echo "configure:7286: checking for _doprnt" >&5 d7540 1 a7540 1 #line 7291 "configure" d7563 1 a7563 1 if { (eval echo configure:7314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7589 1 a7589 1 echo "configure:7340: checking for working fnmatch" >&5 d7600 1 a7600 1 #line 7351 "configure" d7604 1 a7604 1 if { (eval echo configure:7355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7638 1 a7638 1 echo "configure:7389: checking for $ac_func" >&5 d7643 1 a7643 1 #line 7394 "configure" d7666 1 a7666 1 if { (eval echo configure:7417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7695 1 a7695 1 echo "configure:7446: checking for $ac_func" >&5 d7700 1 a7700 1 #line 7451 "configure" d7723 1 a7723 1 if { (eval echo configure:7474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7753 1 a7753 1 echo "configure:7504: checking for $ac_func" >&5 d7758 1 a7758 1 #line 7509 "configure" d7781 1 a7781 1 if { (eval echo configure:7532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7810 1 a7810 1 echo "configure:7561: checking for $ac_func" >&5 d7815 1 a7815 1 #line 7566 "configure" d7838 1 a7838 1 if { (eval echo configure:7589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7868 1 a7868 1 echo "configure:7619: checking for $ac_func" >&5 d7873 1 a7873 1 #line 7624 "configure" d7896 1 a7896 1 if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7922 1 a7922 1 echo "configure:7673: checking for getmntent" >&5 d7927 1 a7927 1 #line 7678 "configure" d7950 1 a7950 1 if { (eval echo configure:7701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7972 1 a7972 1 echo "configure:7723: checking for mntctl" >&5 d7977 1 a7977 1 #line 7728 "configure" d8000 1 a8000 1 if { (eval echo configure:7751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8022 1 a8022 1 echo "configure:7773: checking for getmntinfo_r" >&5 d8027 1 a8027 1 #line 7778 "configure" d8050 1 a8050 1 if { (eval echo configure:7801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8072 1 a8072 1 echo "configure:7823: checking for getmntinfo_r in -lc_r" >&5 d8080 1 a8080 1 #line 7831 "configure" d8091 1 a8091 1 if { (eval echo configure:7842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8124 1 a8124 1 echo "configure:7875: checking for lchown" >&5 d8129 1 a8129 1 #line 7880 "configure" d8152 1 a8152 1 if { (eval echo configure:7903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8177 1 a8177 1 echo "configure:7928: checking whether chown() follows symlinks" >&5 d8205 1 a8205 1 echo "configure:7956: checking (cannot check by non-root user)" >&5 d8221 1 a8221 1 echo "configure:7972: checking root's primary group" >&5 d8227 1 a8227 1 #line 7978 "configure" d8256 1 a8256 1 if { (eval echo configure:8007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null a8375 3 case "${build_os_noversion}" in mint) RPMCANONARCH=m68kmint ;; esac d8450 1 a8450 1 export LIBS INCPATH CONFIG_SITE d8629 3 @ 1.1.1.10 log @Import: RPM 3.0.3 @ text @d15 1 a15 1 --enable-shared[=PKGS] build shared libraries [default=yes]" a24 6 --disable-v1-packages[=no] disable support for rpm-1.x packages" ac_help="$ac_help --enable-v4-packages[=no] [experimental] support for rpm-4.x packages" ac_help="$ac_help --enable-bzip2-payload[=no] [experimental] support for packages with bzip2 paylaods" ac_help="$ac_help a30 4 --with-regex use the GNU regex library " ac_help="$ac_help --with-glob use the internal GNU glob " ac_help="$ac_help d589 1 a589 1 echo "configure:600: checking host system type" >&5 d610 1 a610 1 echo "configure:621: checking target system type" >&5 d628 1 a628 1 echo "configure:639: checking build system type" >&5 d663 1 a663 1 echo "configure:674: checking for a BSD compatible install" >&5 d716 1 a716 1 echo "configure:727: checking whether build environment is sane" >&5 d773 1 a773 1 echo "configure:784: checking whether ${MAKE-make} sets \${MAKE}" >&5 d803 1 a803 1 VERSION=3.0.3 d820 1 a820 1 echo "configure:831: checking for working aclocal" >&5 d833 1 a833 1 echo "configure:844: checking for working autoconf" >&5 d846 1 a846 1 echo "configure:857: checking for working automake" >&5 d859 1 a859 1 echo "configure:870: checking for working autoheader" >&5 d872 1 a872 1 echo "configure:883: checking for working makeinfo" >&5 d891 1 a891 1 ALL_LINGUAS="cs de fi fr pl pt_BR ru sk sr sv tr" d917 1 a917 1 echo "configure:928: checking for $ac_word" >&5 d947 1 a947 1 echo "configure:958: checking for $ac_word" >&5 d998 1 a998 1 echo "configure:1009: checking for $ac_word" >&5 d1030 1 a1030 1 echo "configure:1041: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1041 1 a1041 1 #line 1052 "configure" d1046 1 a1046 1 if { (eval echo configure:1057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1072 1 a1072 1 echo "configure:1083: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1077 1 a1077 1 echo "configure:1088: checking whether we are using GNU C" >&5 d1086 1 a1086 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1105 1 a1105 1 echo "configure:1116: checking whether ${CC-cc} accepts -g" >&5 d1141 1 a1141 1 echo "configure:1152: checking how to run the C preprocessor" >&5 d1156 1 a1156 1 #line 1167 "configure" d1162 1 a1162 1 { (eval echo configure:1173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1173 1 a1173 1 #line 1184 "configure" d1179 1 a1179 1 { (eval echo configure:1190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1190 1 a1190 1 #line 1201 "configure" d1196 1 a1196 1 { (eval echo configure:1207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1222 1 a1222 1 echo "configure:1233: checking whether ${CC-cc} needs -traditional" >&5 d1228 1 a1228 1 #line 1239 "configure" d1246 1 a1246 1 #line 1257 "configure" d1279 1 a1279 1 echo "configure:1290: checking for a BSD compatible install" >&5 d1333 1 a1333 1 echo "configure:1344: checking flag used by libtool to link rpm" >&5 d1370 1 a1370 1 echo "configure:1381: checking POSIX chmod" >&5 d1390 1 a1390 1 echo "configure:1401: checking for $ac_word" >&5 d1427 1 a1427 1 echo "configure:1438: checking if $MKDIR supports -p" >&5 d1461 1 a1461 1 echo "configure:1472: checking for AIX" >&5 d1463 1 a1463 1 #line 1474 "configure" d1486 1 a1486 1 echo "configure:1497: checking for minix/config.h" >&5 d1491 1 a1491 1 #line 1502 "configure" d1496 1 a1496 1 { (eval echo configure:1507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1534 1 a1534 1 echo "configure:1545: checking for POSIXized ISC" >&5 d1559 1 a1559 1 echo "configure:1570: checking for ${CC-cc} option to accept ANSI C" >&5 d1575 1 a1575 1 #line 1586 "configure" d1612 1 a1612 1 if { (eval echo configure:1623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1638 1 a1638 1 echo "configure:1649: checking for function prototypes" >&5 d1651 1 a1651 1 echo "configure:1662: checking for ANSI C header files" >&5 d1656 1 a1656 1 #line 1667 "configure" d1664 1 a1664 1 { (eval echo configure:1675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1681 1 a1681 1 #line 1692 "configure" d1699 1 a1699 1 #line 1710 "configure" d1720 1 a1720 1 #line 1731 "configure" d1731 1 a1731 1 if { (eval echo configure:1742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1758 1 a1758 1 echo "configure:1769: checking for $ac_hdr" >&5 d1763 1 a1763 1 #line 1774 "configure" d1768 1 a1768 1 { (eval echo configure:1779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1802 1 a1802 1 echo "configure:1813: checking for $ac_word" >&5 d1832 1 a1832 1 echo "configure:1843: checking whether ln -s works" >&5 d1853 1 a1853 1 echo "configure:1864: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1900 1 a1900 1 enable_shared=yes d1952 1 a1952 1 echo "configure:1963: checking for $ac_word" >&5 d1991 1 a1991 1 echo "configure:2002: checking for ld used by GCC" >&5 d2015 1 a2015 1 echo "configure:2026: checking for GNU ld" >&5 d2018 1 a2018 1 echo "configure:2029: checking for non-GNU ld" >&5 d2054 1 a2054 1 echo "configure:2065: checking if the linker ($LD) is GNU ld" >&5 d2070 1 a2070 1 echo "configure:2081: checking for BSD-compatible nm" >&5 d2135 2 a2136 2 echo '#line 2146 "configure"' > conftest.$ac_ext if { (eval echo configure:2147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2157 1 a2157 1 echo "configure:2168: checking whether the C compiler needs -belf" >&5 d2162 1 a2162 1 #line 2173 "configure" d2169 1 a2169 1 if { (eval echo configure:2180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2280 1 a2280 1 echo "configure:2291: checking for $ac_word" >&5 d2312 1 a2312 1 echo "configure:2323: checking for $ac_word" >&5 d2351 1 a2351 1 echo "configure:2362: checking for $ac_word" >&5 d2388 1 a2388 1 echo "configure:2399: checking for $ac_word" >&5 d2424 1 a2424 1 echo "configure:2435: checking for $ac_word" >&5 d2460 1 a2460 1 echo "configure:2471: checking for $ac_word" >&5 d2496 1 a2496 1 echo "configure:2507: checking for $ac_word" >&5 d2532 1 a2532 1 echo "configure:2543: checking for $ac_word" >&5 d2568 1 a2568 1 echo "configure:2579: checking for $ac_word" >&5 d2605 1 a2605 1 echo "configure:2616: checking for $ac_word" >&5 d2641 1 a2641 1 echo "configure:2652: checking for $ac_word" >&5 d2677 1 a2677 1 echo "configure:2688: checking for $ac_word" >&5 d2713 1 a2713 1 echo "configure:2724: checking for $ac_word" >&5 d2749 1 a2749 1 echo "configure:2760: checking for $ac_word" >&5 d2786 1 a2786 1 echo "configure:2797: checking for $ac_word" >&5 d2820 1 a2820 1 echo "configure:2831: checking old version of patch" >&5 d2836 1 a2836 1 echo "configure:2847: checking for $ac_word" >&5 d2872 1 a2872 1 echo "configure:2883: checking for $ac_word" >&5 d2908 1 a2908 1 echo "configure:2919: checking for $ac_word" >&5 d2964 1 a2964 1 echo "configure:2975: checking for $dir/lib in LIBS" >&5 d2973 1 a2973 1 echo "configure:2984: checking for $dir/include in INCPATH" >&5 d2983 1 a2983 1 echo "configure:2994: checking for /usr/ucblib in LIBS" >&5 a2996 52 ### use option --disable-v1-packages to turn off support for rpm-1.x packages echo $ac_n "checking if you want support for rpm-1.0 packages""... $ac_c" 1>&6 echo "configure:3010: checking if you want support for rpm-1.0 packages" >&5 # Check whether --enable-v1-packages or --disable-v1-packages was given. if test "${enable_v1_packages+set}" = set; then enableval="$enable_v1_packages" with_v1_packages=$enableval else with_v1_packages=yes fi echo "$ac_t""$with_v1_packages" 1>&6 test "$with_v1_packages" = yes && cat >> confdefs.h <<\EOF #define ENABLE_V1_PACKAGES 1 EOF ### use option --enable-v4-packages to turn on support for rpm-4.x packages echo $ac_n "checking if you want experimental rpm-4.0 packages""... $ac_c" 1>&6 echo "configure:3027: checking if you want experimental rpm-4.0 packages" >&5 # Check whether --enable-v4-packages or --disable-v4-packages was given. if test "${enable_v4_packages+set}" = set; then enableval="$enable_v4_packages" with_v4_packages=$enableval else with_v4_packages=no fi echo "$ac_t""$with_v4_packages" 1>&6 test "$with_v4_packages" = yes && cat >> confdefs.h <<\EOF #define ENABLE_V4_PACKAGES 1 EOF ### use option --enable-bzip2-payload to turn on support for packages with bzip2 payloads echo $ac_n "checking if you want support for packages with bzip2 payloads""... $ac_c" 1>&6 echo "configure:3044: checking if you want support for packages with bzip2 payloads" >&5 # Check whether --enable-bzip2-payload or --disable-bzip2-payload was given. if test "${enable_bzip2_payload+set}" = set; then enableval="$enable_bzip2_payload" with_bzip2_payload=$enableval else with_bzip2_payload=no fi echo "$ac_t""$with_bzip2_payload" 1>&6 test "$with_bzip2_payload" = yes && cat >> confdefs.h <<\EOF #define ENABLE_BZIP2_PAYLOAD 1 EOF d2998 1 a2998 1 echo "configure:3061: checking for strcasecmp" >&5 d3003 1 a3003 1 #line 3066 "configure" d3026 1 a3026 1 if { (eval echo configure:3089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3045 1 a3045 1 echo "configure:3108: checking for strcasecmp in -lucb" >&5 d3053 1 a3053 1 #line 3116 "configure" d3064 1 a3064 1 if { (eval echo configure:3127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3088 1 a3088 1 echo "configure:3151: checking for setreuid" >&5 d3093 1 a3093 1 #line 3156 "configure" d3116 1 a3116 1 if { (eval echo configure:3179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3135 1 a3135 1 echo "configure:3198: checking for setreuid in -lucb" >&5 d3143 1 a3143 1 #line 3206 "configure" d3154 1 a3154 1 if { (eval echo configure:3217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3179 1 a3179 1 echo "configure:3242: checking for rand" >&5 d3184 1 a3184 1 #line 3247 "configure" d3207 1 a3207 1 if { (eval echo configure:3270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3226 1 a3226 1 echo "configure:3289: checking for rand in -lrand" >&5 d3234 1 a3234 1 #line 3297 "configure" d3245 1 a3245 1 if { (eval echo configure:3308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3270 1 a3270 1 echo "configure:3333: checking for getdomainname" >&5 d3275 1 a3275 1 #line 3338 "configure" d3298 1 a3298 1 if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3317 1 a3317 1 echo "configure:3380: checking for getdomainname in -lnsl" >&5 d3325 1 a3325 1 #line 3388 "configure" d3336 1 a3336 1 if { (eval echo configure:3399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3360 1 a3360 1 echo "configure:3423: checking for socket" >&5 d3365 1 a3365 1 #line 3428 "configure" d3388 1 a3388 1 if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3407 1 a3407 1 echo "configure:3470: checking for socket in -lsocket" >&5 d3415 1 a3415 1 #line 3478 "configure" d3426 1 a3426 1 if { (eval echo configure:3489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3451 1 a3451 1 echo "configure:3514: checking for fchmod" >&5 d3456 1 a3456 1 #line 3519 "configure" d3479 1 a3479 1 if { (eval echo configure:3542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a3498 1 d3500 1 a3500 1 echo "configure:3564: checking for writev in -lport" >&5 d3508 1 a3508 1 #line 3572 "configure" d3519 1 a3519 1 if { (eval echo configure:3583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3548 1 a3548 1 echo "configure:3612: checking for dbopen" >&5 d3553 1 a3553 1 #line 3617 "configure" d3576 1 a3576 1 if { (eval echo configure:3640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3594 1 a3594 1 echo "configure:3658: checking for dbopen in -ldb1" >&5 d3602 1 a3602 1 #line 3666 "configure" d3613 1 a3613 1 if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3628 8 a3635 1 LIBS="$LIBS -ldb1" d3639 1 a3639 1 echo "configure:3696: checking for dbopen in -ldb" >&5 d3647 1 a3647 1 #line 3704 "configure" d3658 1 a3658 1 if { (eval echo configure:3715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3673 8 a3680 1 LIBS="$LIBS -ldb" d3693 1 a3693 1 echo "configure:3743: checking for fork" >&5 d3698 1 a3698 1 #line 3748 "configure" d3721 1 a3721 1 if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3754 1 a3754 1 echo "configure:3804: checking for gzread in -l${zlib}" >&5 d3762 1 a3762 1 #line 3812 "configure" d3773 1 a3773 1 if { (eval echo configure:3823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3799 1 d3802 1 a3802 1 echo "configure:3851: checking for bzread in -l${bz2lib}" >&5 d3810 1 a3810 1 #line 3859 "configure" d3821 1 a3821 1 if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3848 1 a3848 1 echo "configure:3897: checking for error_at_line" >&5 d3853 1 a3853 1 #line 3902 "configure" d3860 1 a3860 1 if { (eval echo configure:3909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3880 1 a3880 1 echo "configure:3929: checking for working const" >&5 d3885 1 a3885 1 #line 3934 "configure" d3934 1 a3934 1 if { (eval echo configure:3983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d3955 1 a3955 1 echo "configure:4004: checking for inline" >&5 d3962 1 a3962 1 #line 4011 "configure" d3969 1 a3969 1 if { (eval echo configure:4018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d3995 1 a3995 1 echo "configure:4044: checking for off_t" >&5 d4000 1 a4000 1 #line 4049 "configure" d4028 1 a4028 1 echo "configure:4077: checking for size_t" >&5 d4033 1 a4033 1 #line 4082 "configure" d4063 1 a4063 1 echo "configure:4112: checking for working alloca.h" >&5 d4068 1 a4068 1 #line 4117 "configure" d4075 1 a4075 1 if { (eval echo configure:4124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4096 1 a4096 1 echo "configure:4145: checking for alloca" >&5 d4101 1 a4101 1 #line 4150 "configure" d4129 1 a4129 1 if { (eval echo configure:4178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4161 1 a4161 1 echo "configure:4210: checking whether alloca needs Cray hooks" >&5 d4166 1 a4166 1 #line 4215 "configure" d4191 1 a4191 1 echo "configure:4240: checking for $ac_func" >&5 d4196 1 a4196 1 #line 4245 "configure" d4219 1 a4219 1 if { (eval echo configure:4268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4246 1 a4246 1 echo "configure:4295: checking stack direction for C alloca" >&5 d4254 1 a4254 1 #line 4303 "configure" d4273 1 a4273 1 if { (eval echo configure:4322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4298 1 a4298 1 echo "configure:4347: checking for $ac_hdr" >&5 d4303 1 a4303 1 #line 4352 "configure" d4308 1 a4308 1 { (eval echo configure:4357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4337 1 a4337 1 echo "configure:4386: checking for $ac_func" >&5 d4342 1 a4342 1 #line 4391 "configure" d4365 1 a4365 1 if { (eval echo configure:4414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4390 1 a4390 1 echo "configure:4439: checking for working mmap" >&5 d4398 1 a4398 1 #line 4447 "configure" d4538 1 a4538 1 if { (eval echo configure:4587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4566 1 a4566 1 echo "configure:4615: checking for $ac_hdr" >&5 d4571 1 a4571 1 #line 4620 "configure" d4576 1 a4576 1 { (eval echo configure:4625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4606 1 a4606 1 echo "configure:4655: checking for $ac_func" >&5 d4611 1 a4611 1 #line 4660 "configure" d4634 1 a4634 1 if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4663 1 a4663 1 echo "configure:4712: checking for $ac_func" >&5 d4668 1 a4668 1 #line 4717 "configure" d4691 1 a4691 1 if { (eval echo configure:4740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4725 1 a4725 1 echo "configure:4774: checking for LC_MESSAGES" >&5 d4730 1 a4730 1 #line 4779 "configure" d4737 1 a4737 1 if { (eval echo configure:4786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4758 1 a4758 1 echo "configure:4807: checking whether NLS is requested" >&5 d4778 1 a4778 1 echo "configure:4827: checking whether included gettext is requested" >&5 d4797 1 a4797 1 echo "configure:4846: checking for libintl.h" >&5 d4802 1 a4802 1 #line 4851 "configure" d4807 1 a4807 1 { (eval echo configure:4856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4824 1 a4824 1 echo "configure:4873: checking for gettext in libc" >&5 d4829 1 a4829 1 #line 4878 "configure" d4836 1 a4836 1 if { (eval echo configure:4885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4852 1 a4852 1 echo "configure:4901: checking for bindtextdomain in -lintl" >&5 d4860 1 a4860 1 #line 4909 "configure" d4871 1 a4871 1 if { (eval echo configure:4920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4887 1 a4887 1 echo "configure:4936: checking for gettext in libintl" >&5 d4892 1 a4892 1 echo "configure:4941: checking for gettext in -lintl" >&5 d4900 1 a4900 1 #line 4949 "configure" d4911 1 a4911 1 if { (eval echo configure:4960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4950 1 a4950 1 echo "configure:4999: checking for $ac_word" >&5 d4984 1 a4984 1 echo "configure:5033: checking for $ac_func" >&5 d4989 1 a4989 1 #line 5038 "configure" d5012 1 a5012 1 if { (eval echo configure:5061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5039 1 a5039 1 echo "configure:5088: checking for $ac_word" >&5 d5075 1 a5075 1 echo "configure:5124: checking for $ac_word" >&5 d5107 1 a5107 1 #line 5156 "configure" d5115 1 a5115 1 if { (eval echo configure:5164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5138 1 a5138 1 echo "configure:5187: checking whether catgets can be used" >&5 d5151 1 a5151 1 echo "configure:5200: checking for main in -li" >&5 d5159 1 a5159 1 #line 5208 "configure" d5166 1 a5166 1 if { (eval echo configure:5215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5194 1 a5194 1 echo "configure:5243: checking for catgets" >&5 d5199 1 a5199 1 #line 5248 "configure" d5222 1 a5222 1 if { (eval echo configure:5271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5244 1 a5244 1 echo "configure:5293: checking for $ac_word" >&5 d5280 1 a5280 1 echo "configure:5329: checking for $ac_word" >&5 d5317 1 a5317 1 echo "configure:5366: checking for $ac_word" >&5 d5352 1 a5352 1 echo "configure:5401: checking for $ac_word" >&5 d5410 1 a5410 1 echo "configure:5459: checking for $ac_word" >&5 d5444 1 a5444 1 echo "configure:5493: checking for $ac_word" >&5 d5480 1 a5480 1 echo "configure:5529: checking for $ac_word" >&5 d5573 1 a5573 1 echo "configure:5622: checking for catalogs to be installed" >&5 d5601 1 a5601 1 echo "configure:5650: checking for linux/version.h" >&5 d5606 1 a5606 1 #line 5655 "configure" d5611 1 a5611 1 { (eval echo configure:5660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5680 1 a5680 1 echo "configure:5729: checking for ANSI C header files" >&5 d5685 1 a5685 1 #line 5734 "configure" d5693 1 a5693 1 { (eval echo configure:5742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5710 1 a5710 1 #line 5759 "configure" d5728 1 a5728 1 #line 5777 "configure" d5749 1 a5749 1 #line 5798 "configure" d5760 1 a5760 1 if { (eval echo configure:5809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5784 1 a5784 1 echo "configure:5833: checking whether sys/types.h defines makedev" >&5 d5789 1 a5789 1 #line 5838 "configure" d5796 1 a5796 1 if { (eval echo configure:5845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5814 1 a5814 1 echo "configure:5863: checking for sys/mkdev.h" >&5 d5819 1 a5819 1 #line 5868 "configure" d5824 1 a5824 1 { (eval echo configure:5873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5852 1 a5852 1 echo "configure:5901: checking for sys/sysmacros.h" >&5 d5857 1 a5857 1 #line 5906 "configure" d5862 1 a5862 1 { (eval echo configure:5911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5894 1 a5894 1 echo "configure:5943: checking for $ac_hdr that defines DIR" >&5 d5899 1 a5899 1 #line 5948 "configure" d5907 1 a5907 1 if { (eval echo configure:5956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d5932 1 a5932 1 echo "configure:5981: checking for opendir in -ldir" >&5 d5940 1 a5940 1 #line 5989 "configure" d5951 1 a5951 1 if { (eval echo configure:6000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5973 1 a5973 1 echo "configure:6022: checking for opendir in -lx" >&5 d5981 1 a5981 1 #line 6030 "configure" d5992 1 a5992 1 if { (eval echo configure:6041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6015 1 a6015 1 echo "configure:6064: checking whether time.h and sys/time.h may both be included" >&5 d6020 1 a6020 1 #line 6069 "configure" d6029 1 a6029 1 if { (eval echo configure:6078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6054 1 a6054 1 echo "configure:6103: checking for $ac_hdr" >&5 d6059 1 a6059 1 #line 6108 "configure" d6064 1 a6064 1 { (eval echo configure:6113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6094 1 a6094 1 echo "configure:6143: checking for $ac_hdr" >&5 d6099 1 a6099 1 #line 6148 "configure" d6104 1 a6104 1 { (eval echo configure:6153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6135 1 a6135 1 echo "configure:6184: checking for $ac_hdr" >&5 d6140 1 a6140 1 #line 6189 "configure" d6145 1 a6145 1 { (eval echo configure:6194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6175 1 a6175 1 echo "configure:6224: checking for $ac_hdr" >&5 d6180 1 a6180 1 #line 6229 "configure" d6185 1 a6185 1 { (eval echo configure:6234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6215 1 a6215 1 echo "configure:6264: checking for $ac_hdr" >&5 d6220 1 a6220 1 #line 6269 "configure" d6225 1 a6225 1 { (eval echo configure:6274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6256 1 a6256 1 echo "configure:6305: checking for $ac_hdr" >&5 d6261 1 a6261 1 #line 6310 "configure" d6266 1 a6266 1 { (eval echo configure:6315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6296 1 a6296 1 echo "configure:6345: checking for $ac_hdr" >&5 d6301 1 a6301 1 #line 6350 "configure" d6306 1 a6306 1 { (eval echo configure:6355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6336 1 a6336 1 echo "configure:6385: checking for $ac_hdr" >&5 d6341 1 a6341 1 #line 6390 "configure" d6346 1 a6346 1 { (eval echo configure:6395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6376 1 a6376 1 echo "configure:6425: checking for $ac_hdr" >&5 d6381 1 a6381 1 #line 6430 "configure" d6386 1 a6386 1 { (eval echo configure:6435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6416 1 a6416 41 echo "configure:6465: 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:6475: \"$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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_hdr in err.h mcheck.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:6505: checking for $ac_hdr" >&5 d6421 1 a6421 1 #line 6510 "configure" d6426 1 a6426 1 { (eval echo configure:6515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6458 1 a6458 1 echo "configure:6547: checking for $ac_hdr" >&5 d6463 1 a6463 1 #line 6552 "configure" d6468 1 a6468 1 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6496 1 a6496 1 echo "configure:6585: checking if rpmconvert should be built" >&5 a6505 10 if test X"$USE_NLS" = Xyes; then BUILD_RPMNLSTOOLS="rpmgettext rpmputtext" if test X"$USE_INCLUDED_LIBINTL" = Xyes; then INCPATH="$INCPATH -I\$(top_builddir)/intl" fi else BUILD_RPMNLSTOOLS= fi d6510 1 a6510 1 echo "configure:6609: checking for $ac_hdr" >&5 d6515 1 a6515 1 #line 6614 "configure" d6520 1 a6520 1 { (eval echo configure:6619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6548 1 a6548 1 echo "configure:6647: checking for struct statfs" >&5 d6553 1 a6553 1 #line 6652 "configure" d6564 1 a6564 1 if { (eval echo configure:6663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6581 1 a6581 1 #line 6680 "configure" d6592 1 a6592 1 if { (eval echo configure:6691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6609 1 a6609 1 #line 6708 "configure" d6620 1 a6620 1 if { (eval echo configure:6719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6637 1 a6637 1 #line 6736 "configure" d6648 1 a6648 1 if { (eval echo configure:6747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6669 1 a6669 1 echo "configure:6768: checking for f_bavail member in struct statfs" >&5 d6671 1 a6671 1 #line 6770 "configure" d6695 1 a6695 1 if { (eval echo configure:6794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6714 1 a6714 1 echo "configure:6813: checking if statfs() requires 4 arguments" >&5 d6720 1 a6720 1 #line 6819 "configure" d6739 1 a6739 1 if { (eval echo configure:6838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6758 1 a6758 1 echo "configure:6857: checking for inline" >&5 d6765 1 a6765 1 #line 6864 "configure" d6772 1 a6772 1 if { (eval echo configure:6871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6800 1 a6800 1 echo "configure:6899: checking if defines h_errno" >&5 d6802 1 a6802 1 #line 6901 "configure" d6809 1 a6809 1 if { (eval echo configure:6908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6826 1 a6826 1 echo "configure:6925: checking if defines S_IFSOCK" >&5 d6828 1 a6828 1 #line 6927 "configure" d6835 1 a6835 1 if { (eval echo configure:6934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6854 1 a6854 1 echo "configure:6953: checking if defines S_ISLNK" >&5 d6856 1 a6856 1 #line 6955 "configure" d6863 1 a6863 1 if { (eval echo configure:6962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6882 1 a6882 1 echo "configure:6981: checking if defines S_ISSOCK" >&5 d6884 1 a6884 1 #line 6983 "configure" d6891 1 a6891 1 if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6910 1 a6910 1 echo "configure:7009: checking if timezone is defined" >&5 d6912 1 a6912 1 #line 7011 "configure" d6919 1 a6919 1 if { (eval echo configure:7018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6932 1 a6932 1 echo "configure:7031: checking for mode_t" >&5 d6937 1 a6937 1 #line 7036 "configure" d6965 1 a6965 1 echo "configure:7064: checking for pid_t" >&5 d6970 1 a6970 1 #line 7069 "configure" d7001 1 a7001 1 echo "configure:7100: checking for working alloca.h" >&5 d7006 1 a7006 1 #line 7105 "configure" d7013 1 a7013 1 if { (eval echo configure:7112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7034 1 a7034 1 echo "configure:7133: checking for alloca" >&5 d7039 1 a7039 1 #line 7138 "configure" d7067 1 a7067 1 if { (eval echo configure:7166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7099 1 a7099 1 echo "configure:7198: checking whether alloca needs Cray hooks" >&5 d7104 1 a7104 1 #line 7203 "configure" d7129 1 a7129 1 echo "configure:7228: checking for $ac_func" >&5 d7134 1 a7134 1 #line 7233 "configure" d7157 1 a7157 1 if { (eval echo configure:7256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7184 1 a7184 1 echo "configure:7283: checking stack direction for C alloca" >&5 d7192 1 a7192 1 #line 7291 "configure" d7211 1 a7211 1 if { (eval echo configure:7310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7233 1 a7233 1 echo "configure:7332: checking for vprintf" >&5 d7238 1 a7238 1 #line 7337 "configure" d7261 1 a7261 1 if { (eval echo configure:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7285 1 a7285 1 echo "configure:7384: checking for _doprnt" >&5 d7290 1 a7290 1 #line 7389 "configure" d7313 1 a7313 1 if { (eval echo configure:7412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7339 1 a7339 1 echo "configure:7438: checking for working fnmatch" >&5 d7350 1 a7350 1 #line 7449 "configure" d7354 1 a7354 1 if { (eval echo configure:7453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7385 1 a7385 1 for ac_func in mtrace d7388 1 a7388 1 echo "configure:7487: checking for $ac_func" >&5 d7393 1 a7393 1 #line 7492 "configure" d7416 1 a7416 57 if { (eval echo configure:7515: \"$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 getcwd getwd inet_aton putenv realpath do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:7543: 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:7571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7445 1 a7445 1 echo "configure:7600: checking for $ac_func" >&5 d7450 1 a7450 1 #line 7605 "configure" d7473 1 a7473 1 if { (eval echo configure:7628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7503 1 a7503 1 echo "configure:7658: checking for $ac_func" >&5 d7508 1 a7508 1 #line 7663 "configure" d7531 1 a7531 1 if { (eval echo configure:7686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7560 1 a7560 1 echo "configure:7715: checking for $ac_func" >&5 d7565 1 a7565 1 #line 7720 "configure" d7588 1 a7588 1 if { (eval echo configure:7743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a7614 210 # Check whether --with-regex or --without-regex was given. if test "${with_regex+set}" = set; then withval="$with_regex" rpm_cv_regex=yes else for ac_func in regcomp do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:7778: 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:7806: \"$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 rpm_cv_regex=yes fi done fi if test $rpm_cv_regex = no ; then echo $ac_n "checking whether the regexp library is broken""... $ac_c" 1>&6 echo "configure:7836: checking whether the regexp library is broken" >&5 if test "$cross_compiling" = yes; then rpm_cv_regex_broken=yes else cat > conftest.$ac_ext < #include main() { regex_t blah ; exit(regcomp(&blah, "foo.*bar", REG_NOSUB) || regexec (&blah, "foobar", 0, NULL, 0)); } EOF if { (eval echo configure:7848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then rpm_cv_regex_broken=no else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* rpm_cv_regex_broken=yes fi rm -fr conftest* fi echo "$ac_t""$rpm_cv_regex_broken" 1>&6 if test $rpm_cv_regex_broken = yes ; then echo " --> using the included GNU regex instead." >&6 rpm_cv_regex=yes fi fi if test $rpm_cv_regex = yes; then cat >> confdefs.h <<\EOF #define USE_GNU_REGEX 1 EOF LIBOBJS="$LIBOBJS regex.o" fi # Check whether --with-glob or --without-glob was given. if test "${with_glob+set}" = set; then withval="$with_glob" rpm_cv_glob=yes else for ac_func in glob do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:7883: 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:7911: \"$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 rpm_cv_glob=yes fi done fi if test $rpm_cv_glob = no ; then echo $ac_n "checking whether the glob library is broken""... $ac_c" 1>&6 echo "configure:7941: checking whether the glob library is broken" >&5 if test "$cross_compiling" = yes; then rpm_cv_glob_broken=yes else cat > conftest.$ac_ext < #include main() { glob_t blah ; exit(glob("doc/*/*.8", 0, NULL, &blah) || blah.gl_pathc < 1); } EOF if { (eval echo configure:7953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then rpm_cv_glob_broken=no else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* rpm_cv_glob_broken=yes fi rm -fr conftest* fi echo "$ac_t""$rpm_cv_glob_broken" 1>&6 if test $rpm_cv_glob_broken = yes ; then echo " --> using the included GNU glob instead." >&6 rpm_cv_glob=yes fi fi if test $rpm_cv_glob = yes; then cat >> confdefs.h <<\EOF #define USE_GNU_GLOB 1 EOF LIBOBJS="$LIBOBJS glob.o" fi d7618 1 a7618 1 echo "configure:7983: checking for $ac_func" >&5 d7623 1 a7623 1 #line 7988 "configure" d7646 1 a7646 57 if { (eval echo configure:8011: \"$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 getpassphrase do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:8039: 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:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7672 1 a7672 1 echo "configure:8093: checking for getmntent" >&5 d7677 1 a7677 1 #line 8098 "configure" d7700 1 a7700 1 if { (eval echo configure:8121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7722 1 a7722 1 echo "configure:8143: checking for mntctl" >&5 d7727 1 a7727 1 #line 8148 "configure" d7750 1 a7750 1 if { (eval echo configure:8171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7772 1 a7772 1 echo "configure:8193: checking for getmntinfo_r" >&5 d7777 1 a7777 1 #line 8198 "configure" d7800 1 a7800 1 if { (eval echo configure:8221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7822 1 a7822 1 echo "configure:8243: checking for getmntinfo_r in -lc_r" >&5 d7830 1 a7830 1 #line 8251 "configure" d7841 1 a7841 1 if { (eval echo configure:8262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a7871 1 d7874 1 a7874 1 echo "configure:8296: checking for lchown" >&5 d7879 1 a7879 1 #line 8301 "configure" d7902 1 a7902 1 if { (eval echo configure:8324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7924 1 d7927 1 a7927 1 echo "configure:8348: checking whether chown() follows symlinks" >&5 d7955 1 a7955 1 echo "configure:8376: checking (cannot check by non-root user)" >&5 d7971 1 a7971 1 echo "configure:8392: checking root's primary group" >&5 d7977 1 a7977 1 #line 8398 "configure" d8006 1 a8006 1 if { (eval echo configure:8427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8144 1 a8144 6 if test X"$prefix" = XNONE ; then usrprefix="$ac_default_prefix" else usrprefix=$prefix fi LOCALEDIR="`echo ${usrprefix}/share/locale`" d8150 1 a8150 1 RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`" a8195 3 if test -n "$LIBOBJS"; then INCPATH="$INCPATH -I\$(top_builddir)/misc" fi d8311 1 a8311 3 misc/Makefile po/Makefile.in intl/Makefile doc/Makefile doc/manual/Makefile doc/pl/Makefile doc/ru/Makefile python/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 a8423 1 s%@@BUILD_RPMNLSTOOLS@@%$BUILD_RPMNLSTOOLS%g d8487 1 a8487 3 misc/Makefile po/Makefile.in intl/Makefile doc/Makefile doc/manual/Makefile doc/pl/Makefile doc/ru/Makefile python/Makefile"} d8709 2 a8710 2 echo timestamp > popt/stamp-h.in echo timestamp > stamp-h.in @ 1.1.1.11 log @Import: RPM 3.0.4 @ text @d29 2 d37 2 d599 1 a599 1 echo "configure:596: checking host system type" >&5 d620 1 a620 1 echo "configure:617: checking target system type" >&5 d638 1 a638 1 echo "configure:635: checking build system type" >&5 d673 1 a673 1 echo "configure:670: checking for a BSD compatible install" >&5 d726 1 a726 1 echo "configure:723: checking whether build environment is sane" >&5 d783 1 a783 1 echo "configure:780: checking whether ${MAKE-make} sets \${MAKE}" >&5 d810 1 d813 1 a813 1 VERSION=3.0.4 d830 1 a830 1 echo "configure:826: checking for working aclocal" >&5 d843 1 a843 1 echo "configure:839: checking for working autoconf" >&5 d856 1 a856 1 echo "configure:852: checking for working automake" >&5 d869 1 a869 1 echo "configure:865: checking for working autoheader" >&5 d882 1 a882 1 echo "configure:878: checking for working makeinfo" >&5 d901 1 a901 1 ALL_LINGUAS="cs de fi fr ja pl pt_BR ru sk sl sr sv tr" d927 1 a927 1 echo "configure:923: checking for $ac_word" >&5 d957 1 a957 1 echo "configure:953: checking for $ac_word" >&5 d1008 1 a1008 1 echo "configure:1004: checking for $ac_word" >&5 d1040 1 a1040 1 echo "configure:1036: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1051 1 a1051 1 #line 1047 "configure" d1056 1 a1056 1 if { (eval echo configure:1052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1082 1 a1082 1 echo "configure:1078: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1087 1 a1087 1 echo "configure:1083: checking whether we are using GNU C" >&5 d1096 1 a1096 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1115 1 a1115 1 echo "configure:1111: checking whether ${CC-cc} accepts -g" >&5 d1147 1 a1147 1 CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" d1151 1 a1151 1 echo "configure:1147: checking how to run the C preprocessor" >&5 d1166 1 a1166 1 #line 1162 "configure" d1172 1 a1172 1 { (eval echo configure:1168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1183 1 a1183 1 #line 1179 "configure" d1189 1 a1189 1 { (eval echo configure:1185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1200 1 a1200 1 #line 1196 "configure" d1206 1 a1206 1 { (eval echo configure:1202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1232 1 a1232 1 echo "configure:1228: checking whether ${CC-cc} needs -traditional" >&5 d1238 1 a1238 1 #line 1234 "configure" d1256 1 a1256 1 #line 1252 "configure" d1289 1 a1289 1 echo "configure:1285: checking for a BSD compatible install" >&5 d1343 1 a1343 1 echo "configure:1339: checking flag used by libtool to link rpm" >&5 d1380 1 a1380 1 echo "configure:1376: checking POSIX chmod" >&5 d1400 1 a1400 1 echo "configure:1396: checking for $ac_word" >&5 d1437 1 a1437 1 echo "configure:1433: checking if $MKDIR supports -p" >&5 d1471 1 a1471 1 echo "configure:1467: checking for AIX" >&5 d1473 1 a1473 1 #line 1469 "configure" d1496 1 a1496 1 echo "configure:1492: checking for minix/config.h" >&5 d1501 1 a1501 1 #line 1497 "configure" d1506 1 a1506 1 { (eval echo configure:1502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1544 1 a1544 1 echo "configure:1540: checking for POSIXized ISC" >&5 d1569 1 a1569 1 echo "configure:1565: checking for ${CC-cc} option to accept ANSI C" >&5 d1585 1 a1585 1 #line 1581 "configure" d1622 1 a1622 1 if { (eval echo configure:1618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1648 1 a1648 1 echo "configure:1644: checking for function prototypes" >&5 d1661 1 a1661 1 echo "configure:1657: checking for ANSI C header files" >&5 d1666 1 a1666 1 #line 1662 "configure" d1674 1 a1674 1 { (eval echo configure:1670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1691 1 a1691 1 #line 1687 "configure" d1709 1 a1709 1 #line 1705 "configure" d1730 1 a1730 1 #line 1726 "configure" d1741 1 a1741 1 if { (eval echo configure:1737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1768 1 a1768 1 echo "configure:1764: checking for $ac_hdr" >&5 d1773 1 a1773 1 #line 1769 "configure" d1778 1 a1778 1 { (eval echo configure:1774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1812 1 a1812 1 echo "configure:1808: checking for $ac_word" >&5 d1842 1 a1842 1 echo "configure:1838: checking whether ln -s works" >&5 d1863 1 a1863 1 echo "configure:1859: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1962 1 a1962 1 echo "configure:1958: checking for $ac_word" >&5 d2001 1 a2001 1 echo "configure:1997: checking for ld used by GCC" >&5 d2025 1 a2025 1 echo "configure:2021: checking for GNU ld" >&5 d2028 1 a2028 1 echo "configure:2024: checking for non-GNU ld" >&5 d2062 1 d2064 1 a2064 1 echo "configure:2059: checking if the linker ($LD) is GNU ld" >&5 d2080 1 a2080 1 echo "configure:2075: checking for BSD-compatible nm" >&5 a2115 4 case "$target" in NONE) lt_target="$host" ;; *) lt_target="$target" ;; esac d2142 1 a2142 1 case "$lt_target" in d2145 2 a2146 2 echo '#line 2144 "configure"' > conftest.$ac_ext if { (eval echo configure:2145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2167 1 a2167 1 echo "configure:2166: checking whether the C compiler needs -belf" >&5 d2172 1 a2172 1 #line 2171 "configure" d2179 1 a2179 1 if { (eval echo configure:2178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2257 1 a2257 1 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \ d2290 1 a2290 1 echo "configure:2289: checking for $ac_word" >&5 d2322 1 a2322 1 echo "configure:2321: checking for $ac_word" >&5 d2361 1 a2361 1 echo "configure:2360: checking for $ac_word" >&5 d2394 1 d2398 1 a2398 1 echo "configure:2396: checking for $ac_word" >&5 d2434 1 a2434 1 echo "configure:2432: checking for $ac_word" >&5 d2470 1 a2470 1 echo "configure:2468: checking for $ac_word" >&5 d2506 1 a2506 1 echo "configure:2504: checking for $ac_word" >&5 d2542 1 a2542 1 echo "configure:2540: checking for $ac_word" >&5 d2578 1 a2578 1 echo "configure:2576: checking for $ac_word" >&5 d2611 1 d2615 1 a2615 1 echo "configure:2612: checking for $ac_word" >&5 a2647 37 # Extract the first word of "grep", so it can be a program name with args. set dummy grep; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2648: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___GREP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__GREP" in /*) ac_cv_path___GREP="$__GREP" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___GREP="$__GREP" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___GREP="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___GREP" && ac_cv_path___GREP="/bin/grep" ;; esac fi __GREP="$ac_cv_path___GREP" if test -n "$__GREP"; then echo "$ac_t""$__GREP" 1>&6 else echo "$ac_t""no" 1>&6 fi d2651 1 a2651 1 echo "configure:2685: checking for $ac_word" >&5 a2683 47 echo $ac_n "checking checking whether id supports -u""... $ac_c" 1>&6 echo "configure:2719: checking checking whether id supports -u" >&5 if `${__ID} -u 2>&1 > /dev/null` ; then __ID_U="%{__id} -u" echo "$ac_t""yes" 1>&6 else __ID_U="%{__id} | %{__sed} 's/[^=]*=\\\\([0-9][0-9]*\\\\).*$/\\\\1/'" echo "$ac_t""no" 1>&6 fi # Extract the first word of "install", so it can be a program name with args. set dummy install; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2732: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___INSTALL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__INSTALL" in /*) ac_cv_path___INSTALL="$__INSTALL" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___INSTALL="$__INSTALL" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___INSTALL="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___INSTALL" && ac_cv_path___INSTALL="/usr/bin/install" ;; esac fi __INSTALL="$ac_cv_path___INSTALL" if test -n "$__INSTALL"; then echo "$ac_t""$__INSTALL" 1>&6 else echo "$ac_t""no" 1>&6 fi d2687 1 a2687 1 echo "configure:2768: checking for $ac_word" >&5 d2723 1 a2723 1 echo "configure:2804: checking for $ac_word" >&5 d2759 1 a2759 1 echo "configure:2840: checking for $ac_word" >&5 d2792 1 d2796 1 a2796 1 echo "configure:2876: checking for $ac_word" >&5 d2830 1 a2830 1 echo "configure:2910: checking old version of patch" >&5 a2842 36 # 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:2926: 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="$MYPATH" 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="/usr/bin/perl" ;; 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 d2846 1 a2846 1 echo "configure:2962: checking for $ac_word" >&5 d2882 1 a2882 1 echo "configure:2998: checking for $ac_word" >&5 d2915 2 a2916 291 # Extract the first word of "rsh", so it can be a program name with args. set dummy rsh; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3034: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___RSH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__RSH" in /*) ac_cv_path___RSH="$__RSH" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___RSH="$__RSH" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___RSH="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___RSH" && ac_cv_path___RSH="/usr/bin/rsh" ;; esac fi __RSH="$ac_cv_path___RSH" if test -n "$__RSH"; then echo "$ac_t""$__RSH" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "sed", so it can be a program name with args. set dummy sed; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3070: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___SED'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__SED" in /*) ac_cv_path___SED="$__SED" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___SED="$__SED" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___SED="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___SED" && ac_cv_path___SED="/bin/sed" ;; esac fi __SED="$ac_cv_path___SED" if test -n "$__SED"; then echo "$ac_t""$__SED" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "ssh", so it can be a program name with args. set dummy ssh; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3106: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___SSH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__SSH" in /*) ac_cv_path___SSH="$__SSH" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___SSH="$__SSH" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___SSH="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___SSH" && ac_cv_path___SSH="/usr/bin/ssh" ;; esac fi __SSH="$ac_cv_path___SSH" if test -n "$__SSH"; then echo "$ac_t""$__SSH" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "tar", so it can be a program name with args. set dummy tar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3142: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___TAR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__TAR" in /*) ac_cv_path___TAR="$__TAR" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___TAR="$__TAR" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___TAR="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___TAR" && ac_cv_path___TAR="/bin/tar" ;; esac fi __TAR="$ac_cv_path___TAR" if test -n "$__TAR"; then echo "$ac_t""$__TAR" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "ld", so it can be a program name with args. set dummy ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3179: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__LD" in /*) ac_cv_path___LD="$__LD" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___LD="$__LD" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___LD="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___LD" && ac_cv_path___LD="/usr/bin/ld" ;; esac fi __LD="$ac_cv_path___LD" if test -n "$__LD"; then echo "$ac_t""$__LD" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "nm", so it can be a program name with args. set dummy nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3215: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__NM" in /*) ac_cv_path___NM="$__NM" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___NM="$__NM" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___NM="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___NM" && ac_cv_path___NM="/usr/bin/nm" ;; esac fi __NM="$ac_cv_path___NM" if test -n "$__NM"; then echo "$ac_t""$__NM" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "objcopy", so it can be a program name with args. set dummy objcopy; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3251: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___OBJCOPY'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__OBJCOPY" in /*) ac_cv_path___OBJCOPY="$__OBJCOPY" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___OBJCOPY="$__OBJCOPY" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___OBJCOPY="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___OBJCOPY" && ac_cv_path___OBJCOPY="/usr/bin/objcopy" ;; esac fi __OBJCOPY="$ac_cv_path___OBJCOPY" if test -n "$__OBJCOPY"; then echo "$ac_t""$__OBJCOPY" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3287: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___OBJDUMP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__OBJDUMP" in /*) ac_cv_path___OBJDUMP="$__OBJDUMP" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___OBJDUMP="$__OBJDUMP" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___OBJDUMP="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___OBJDUMP" && ac_cv_path___OBJDUMP="/usr/bin/objdump" ;; esac fi __OBJDUMP="$ac_cv_path___OBJDUMP" if test -n "$__OBJDUMP"; then echo "$ac_t""$__OBJDUMP" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 d2918 2 a2919 2 echo "configure:3323: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___STRIP'+set}'`\" = set"; then d2922 1 a2922 1 case "$__STRIP" in d2924 1 a2924 1 ac_cv_path___STRIP="$__STRIP" # Let the user override the test with a path. d2927 1 a2927 1 ac_cv_path___STRIP="$__STRIP" # Let the user override the test with a dos path. d2935 1 a2935 1 ac_cv_path___STRIP="$ac_dir/$ac_word" d2940 1 a2940 1 test -z "$ac_cv_path___STRIP" && ac_cv_path___STRIP="/usr/bin/strip" d2944 3 a2946 3 __STRIP="$ac_cv_path___STRIP" if test -n "$__STRIP"; then echo "$ac_t""$__STRIP" 1>&6 d2974 1 a2974 1 echo "configure:3379: checking for $dir/lib in LIBS" >&5 d2983 1 a2983 1 echo "configure:3388: checking for $dir/include in INCPATH" >&5 d2993 1 a2993 1 echo "configure:3398: checking for /usr/ucblib in LIBS" >&5 d3009 1 a3009 1 echo "configure:3414: checking if you want support for rpm-1.0 packages" >&5 d3026 1 a3026 1 echo "configure:3431: checking if you want experimental rpm-4.0 packages" >&5 d3041 17 d3060 1 a3060 1 echo "configure:3448: checking for strcasecmp" >&5 d3065 1 a3065 1 #line 3453 "configure" d3088 1 a3088 1 if { (eval echo configure:3476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3107 1 a3107 1 echo "configure:3495: checking for strcasecmp in -lucb" >&5 d3115 1 a3115 1 #line 3503 "configure" d3126 1 a3126 1 if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3150 1 a3150 1 echo "configure:3538: checking for setreuid" >&5 d3155 1 a3155 1 #line 3543 "configure" d3178 1 a3178 1 if { (eval echo configure:3566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3197 1 a3197 1 echo "configure:3585: checking for setreuid in -lucb" >&5 d3205 1 a3205 1 #line 3593 "configure" d3216 1 a3216 1 if { (eval echo configure:3604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3241 1 a3241 1 echo "configure:3629: checking for rand" >&5 d3246 1 a3246 1 #line 3634 "configure" d3269 1 a3269 1 if { (eval echo configure:3657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3288 1 a3288 1 echo "configure:3676: checking for rand in -lrand" >&5 d3296 1 a3296 1 #line 3684 "configure" d3307 1 a3307 1 if { (eval echo configure:3695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3332 1 a3332 1 echo "configure:3720: checking for getdomainname" >&5 d3337 1 a3337 1 #line 3725 "configure" d3360 1 a3360 1 if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3379 1 a3379 1 echo "configure:3767: checking for getdomainname in -lnsl" >&5 d3387 1 a3387 1 #line 3775 "configure" d3398 1 a3398 1 if { (eval echo configure:3786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3422 1 a3422 1 echo "configure:3810: checking for socket" >&5 d3427 1 a3427 1 #line 3815 "configure" d3450 1 a3450 1 if { (eval echo configure:3838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3469 1 a3469 1 echo "configure:3857: checking for socket in -lsocket" >&5 d3477 1 a3477 1 #line 3865 "configure" d3488 1 a3488 1 if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3513 1 a3513 1 echo "configure:3901: checking for fchmod" >&5 d3518 1 a3518 1 #line 3906 "configure" d3541 1 a3541 1 if { (eval echo configure:3929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3561 1 d3563 1 a3563 1 echo "configure:3950: checking for writev in -lport" >&5 d3571 1 a3571 1 #line 3958 "configure" d3582 1 a3582 1 if { (eval echo configure:3969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3611 1 a3611 1 echo "configure:3998: checking for dbopen" >&5 d3616 1 a3616 1 #line 4003 "configure" d3639 1 a3639 1 if { (eval echo configure:4026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3657 1 a3657 1 echo "configure:4044: checking for dbopen in -ldb1" >&5 d3665 1 a3665 1 #line 4052 "configure" d3676 1 a3676 1 if { (eval echo configure:4063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3695 1 a3695 1 echo "configure:4082: checking for dbopen in -ldb" >&5 d3703 1 a3703 1 #line 4090 "configure" d3714 1 a3714 1 if { (eval echo configure:4101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3732 1 a3732 1 { echo "configure: error: sorry rpm requires a db-1.85 API" 1>&2; exit 1; } d3742 1 a3742 1 echo "configure:4129: checking for fork" >&5 d3747 1 a3747 1 #line 4134 "configure" d3770 1 a3770 1 if { (eval echo configure:4157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3800 1 d3803 1 a3803 1 echo "configure:4189: checking for gzread in -l${zlib}" >&5 d3811 1 a3811 1 #line 4197 "configure" d3822 1 a3822 1 if { (eval echo configure:4208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3841 1 a3841 1 { echo "configure: error: sorry rpm requires libz.a or libgz.a (from the zlib package)" 1>&2; exit 1; } a3847 44 echo $ac_n "checking for gzseek in -l${zlib}""... $ac_c" 1>&6 echo "configure:4235: checking for gzseek in -l${zlib}" >&5 ac_lib_var=`echo ${zlib}'_'gzseek | 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${zlib} $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 cat >> confdefs.h <<\EOF #define HAVE_GZSEEK 1 EOF else echo "$ac_t""no" 1>&6 fi d3850 1 a3850 1 echo "configure:4280: checking for bzread in -l${bz2lib}" >&5 d3858 1 a3858 1 #line 4288 "configure" d3869 1 a3869 1 if { (eval echo configure:4299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3888 1 a3888 1 echo "configure: warning: rpm needs libbz2.a (from the bzip2 package)" 1>&2 a3894 56 for ac_func in personality do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:4328: 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:4356: \"$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 d3896 1 a3896 1 echo "configure:4382: checking for error_at_line" >&5 d3901 1 a3901 1 #line 4387 "configure" d3908 1 a3908 1 if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3928 1 a3928 1 echo "configure:4414: checking for working const" >&5 d3933 1 a3933 1 #line 4419 "configure" d3982 1 a3982 1 if { (eval echo configure:4468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4003 1 a4003 1 echo "configure:4489: checking for inline" >&5 d4010 1 a4010 1 #line 4496 "configure" d4017 1 a4017 1 if { (eval echo configure:4503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4043 1 a4043 1 echo "configure:4529: checking for off_t" >&5 d4048 1 a4048 1 #line 4534 "configure" d4076 1 a4076 1 echo "configure:4562: checking for size_t" >&5 d4081 1 a4081 1 #line 4567 "configure" d4111 1 a4111 1 echo "configure:4597: checking for working alloca.h" >&5 d4116 1 a4116 1 #line 4602 "configure" d4123 1 a4123 1 if { (eval echo configure:4609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4144 1 a4144 1 echo "configure:4630: checking for alloca" >&5 d4149 1 a4149 1 #line 4635 "configure" d4177 1 a4177 1 if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4209 1 a4209 1 echo "configure:4695: checking whether alloca needs Cray hooks" >&5 d4214 1 a4214 1 #line 4700 "configure" d4239 1 a4239 1 echo "configure:4725: checking for $ac_func" >&5 d4244 1 a4244 1 #line 4730 "configure" d4267 1 a4267 1 if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4294 1 a4294 1 echo "configure:4780: checking stack direction for C alloca" >&5 d4302 1 a4302 1 #line 4788 "configure" d4321 1 a4321 1 if { (eval echo configure:4807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4346 1 a4346 1 echo "configure:4832: checking for $ac_hdr" >&5 d4351 1 a4351 1 #line 4837 "configure" d4356 1 a4356 1 { (eval echo configure:4842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4385 1 a4385 1 echo "configure:4871: checking for $ac_func" >&5 d4390 1 a4390 1 #line 4876 "configure" d4413 1 a4413 1 if { (eval echo configure:4899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4438 1 a4438 1 echo "configure:4924: checking for working mmap" >&5 d4446 1 a4446 1 #line 4932 "configure" d4586 1 a4586 1 if { (eval echo configure:5072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4614 1 a4614 1 echo "configure:5100: checking for $ac_hdr" >&5 d4619 1 a4619 1 #line 5105 "configure" d4624 1 a4624 1 { (eval echo configure:5110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4654 1 a4654 1 echo "configure:5140: checking for $ac_func" >&5 d4659 1 a4659 1 #line 5145 "configure" d4682 1 a4682 1 if { (eval echo configure:5168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4711 1 a4711 1 echo "configure:5197: checking for $ac_func" >&5 d4716 1 a4716 1 #line 5202 "configure" d4739 1 a4739 1 if { (eval echo configure:5225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4773 1 a4773 1 echo "configure:5259: checking for LC_MESSAGES" >&5 d4778 1 a4778 1 #line 5264 "configure" d4785 1 a4785 1 if { (eval echo configure:5271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4806 1 a4806 1 echo "configure:5292: checking whether NLS is requested" >&5 d4826 1 a4826 1 echo "configure:5312: checking whether included gettext is requested" >&5 d4845 1 a4845 1 echo "configure:5331: checking for libintl.h" >&5 d4850 1 a4850 1 #line 5336 "configure" d4855 1 a4855 1 { (eval echo configure:5341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4872 1 a4872 1 echo "configure:5358: checking for gettext in libc" >&5 d4877 1 a4877 1 #line 5363 "configure" d4884 1 a4884 1 if { (eval echo configure:5370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4900 1 a4900 1 echo "configure:5386: checking for bindtextdomain in -lintl" >&5 d4908 1 a4908 1 #line 5394 "configure" d4919 1 a4919 1 if { (eval echo configure:5405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4935 1 a4935 1 echo "configure:5421: checking for gettext in libintl" >&5 d4940 1 a4940 1 echo "configure:5426: checking for gettext in -lintl" >&5 d4948 1 a4948 1 #line 5434 "configure" d4959 1 a4959 1 if { (eval echo configure:5445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4998 1 a4998 1 echo "configure:5484: checking for $ac_word" >&5 d5032 1 a5032 1 echo "configure:5518: checking for $ac_func" >&5 d5037 1 a5037 1 #line 5523 "configure" d5060 1 a5060 1 if { (eval echo configure:5546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5087 1 a5087 1 echo "configure:5573: checking for $ac_word" >&5 d5123 1 a5123 1 echo "configure:5609: checking for $ac_word" >&5 d5155 1 a5155 1 #line 5641 "configure" d5163 1 a5163 1 if { (eval echo configure:5649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5186 1 a5186 1 echo "configure:5672: checking whether catgets can be used" >&5 d5199 1 a5199 1 echo "configure:5685: checking for main in -li" >&5 d5207 1 a5207 1 #line 5693 "configure" d5214 1 a5214 1 if { (eval echo configure:5700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5242 1 a5242 1 echo "configure:5728: checking for catgets" >&5 d5247 1 a5247 1 #line 5733 "configure" d5270 1 a5270 1 if { (eval echo configure:5756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5292 1 a5292 1 echo "configure:5778: checking for $ac_word" >&5 d5328 1 a5328 1 echo "configure:5814: checking for $ac_word" >&5 d5365 1 a5365 1 echo "configure:5851: checking for $ac_word" >&5 d5400 1 a5400 1 echo "configure:5886: checking for $ac_word" >&5 d5458 1 a5458 1 echo "configure:5944: checking for $ac_word" >&5 d5492 1 a5492 1 echo "configure:5978: checking for $ac_word" >&5 d5528 1 a5528 1 echo "configure:6014: checking for $ac_word" >&5 d5621 1 a5621 1 echo "configure:6107: checking for catalogs to be installed" >&5 d5649 1 a5649 1 echo "configure:6135: checking for linux/version.h" >&5 d5654 1 a5654 1 #line 6140 "configure" d5659 1 a5659 1 { (eval echo configure:6145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5728 1 a5728 1 echo "configure:6214: checking for ANSI C header files" >&5 d5733 1 a5733 1 #line 6219 "configure" d5741 1 a5741 1 { (eval echo configure:6227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5758 1 a5758 1 #line 6244 "configure" d5776 1 a5776 1 #line 6262 "configure" d5797 1 a5797 1 #line 6283 "configure" d5808 1 a5808 1 if { (eval echo configure:6294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5832 1 a5832 1 echo "configure:6318: checking whether sys/types.h defines makedev" >&5 d5837 1 a5837 1 #line 6323 "configure" d5844 1 a5844 1 if { (eval echo configure:6330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5862 1 a5862 1 echo "configure:6348: checking for sys/mkdev.h" >&5 d5867 1 a5867 1 #line 6353 "configure" d5872 1 a5872 1 { (eval echo configure:6358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5900 1 a5900 1 echo "configure:6386: checking for sys/sysmacros.h" >&5 d5905 1 a5905 1 #line 6391 "configure" d5910 1 a5910 1 { (eval echo configure:6396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5942 1 a5942 1 echo "configure:6428: checking for $ac_hdr that defines DIR" >&5 d5947 1 a5947 1 #line 6433 "configure" d5955 1 a5955 1 if { (eval echo configure:6441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d5980 1 a5980 1 echo "configure:6466: checking for opendir in -ldir" >&5 d5988 1 a5988 1 #line 6474 "configure" d5999 1 a5999 1 if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6021 1 a6021 1 echo "configure:6507: checking for opendir in -lx" >&5 d6029 1 a6029 1 #line 6515 "configure" d6040 1 a6040 1 if { (eval echo configure:6526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6063 1 a6063 1 echo "configure:6549: checking whether time.h and sys/time.h may both be included" >&5 d6068 1 a6068 1 #line 6554 "configure" d6077 1 a6077 1 if { (eval echo configure:6563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6102 1 a6102 1 echo "configure:6588: checking for $ac_hdr" >&5 d6107 1 a6107 1 #line 6593 "configure" d6112 1 a6112 1 { (eval echo configure:6598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6142 1 a6142 1 echo "configure:6628: checking for $ac_hdr" >&5 d6147 1 a6147 1 #line 6633 "configure" d6152 1 a6152 1 { (eval echo configure:6638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6183 1 a6183 1 echo "configure:6669: checking for $ac_hdr" >&5 d6188 1 a6188 1 #line 6674 "configure" d6193 1 a6193 1 { (eval echo configure:6679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6223 1 a6223 1 echo "configure:6709: checking for $ac_hdr" >&5 d6228 1 a6228 1 #line 6714 "configure" d6233 1 a6233 1 { (eval echo configure:6719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6263 1 a6263 1 echo "configure:6749: checking for $ac_hdr" >&5 d6268 1 a6268 1 #line 6754 "configure" d6273 1 a6273 1 { (eval echo configure:6759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6304 1 a6304 1 echo "configure:6790: checking for $ac_hdr" >&5 d6309 1 a6309 1 #line 6795 "configure" d6314 1 a6314 1 { (eval echo configure:6800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6344 1 a6344 1 echo "configure:6830: checking for $ac_hdr" >&5 d6349 1 a6349 1 #line 6835 "configure" d6354 1 a6354 1 { (eval echo configure:6840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6384 1 a6384 1 echo "configure:6870: checking for $ac_hdr" >&5 d6389 1 a6389 1 #line 6875 "configure" d6394 1 a6394 1 { (eval echo configure:6880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6424 1 a6424 1 echo "configure:6910: checking for $ac_hdr" >&5 d6429 1 a6429 1 #line 6915 "configure" d6434 1 a6434 1 { (eval echo configure:6920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6464 1 a6464 1 echo "configure:6950: checking for $ac_hdr" >&5 d6469 1 a6469 1 #line 6955 "configure" d6474 1 a6474 1 { (eval echo configure:6960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6504 1 a6504 1 echo "configure:6990: checking for $ac_hdr" >&5 d6509 1 a6509 1 #line 6995 "configure" d6514 1 a6514 1 { (eval echo configure:7000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6546 1 a6546 1 echo "configure:7032: checking for $ac_hdr" >&5 d6551 1 a6551 1 #line 7037 "configure" d6556 1 a6556 1 { (eval echo configure:7042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6584 1 a6584 1 echo "configure:7070: checking if rpmconvert should be built" >&5 d6597 1 a6597 1 INCPATH="-I\$(top_builddir)/intl $INCPATH" d6608 1 a6608 1 echo "configure:7094: checking for $ac_hdr" >&5 d6613 1 a6613 1 #line 7099 "configure" d6618 1 a6618 1 { (eval echo configure:7104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6646 1 a6646 1 echo "configure:7132: checking for struct statfs" >&5 d6651 1 a6651 1 #line 7137 "configure" d6662 1 a6662 1 if { (eval echo configure:7148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6679 1 a6679 1 #line 7165 "configure" d6690 1 a6690 1 if { (eval echo configure:7176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6707 1 a6707 1 #line 7193 "configure" d6718 1 a6718 1 if { (eval echo configure:7204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6735 1 a6735 1 #line 7221 "configure" d6746 1 a6746 1 if { (eval echo configure:7232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6767 1 a6767 1 echo "configure:7253: checking for f_bavail member in struct statfs" >&5 d6769 1 a6769 1 #line 7255 "configure" d6793 1 a6793 1 if { (eval echo configure:7279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6812 1 a6812 1 echo "configure:7298: checking if statfs() requires 4 arguments" >&5 d6818 1 a6818 1 #line 7304 "configure" d6837 1 a6837 1 if { (eval echo configure:7323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6856 1 a6856 1 echo "configure:7342: checking for inline" >&5 d6863 1 a6863 1 #line 7349 "configure" d6870 1 a6870 1 if { (eval echo configure:7356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6898 1 a6898 1 echo "configure:7384: checking if defines h_errno" >&5 d6900 1 a6900 1 #line 7386 "configure" d6907 1 a6907 1 if { (eval echo configure:7393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6924 1 a6924 1 echo "configure:7410: checking if defines S_IFSOCK" >&5 d6926 1 a6926 1 #line 7412 "configure" d6933 1 a6933 1 if { (eval echo configure:7419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6952 1 a6952 1 echo "configure:7438: checking if defines S_ISLNK" >&5 d6954 1 a6954 1 #line 7440 "configure" d6961 1 a6961 1 if { (eval echo configure:7447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6980 1 a6980 1 echo "configure:7466: checking if defines S_ISSOCK" >&5 d6982 1 a6982 1 #line 7468 "configure" d6989 1 a6989 1 if { (eval echo configure:7475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7008 1 a7008 1 echo "configure:7494: checking if timezone is defined" >&5 d7010 1 a7010 1 #line 7496 "configure" d7017 1 a7017 1 if { (eval echo configure:7503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7030 1 a7030 1 echo "configure:7516: checking for mode_t" >&5 d7035 1 a7035 1 #line 7521 "configure" d7063 1 a7063 1 echo "configure:7549: checking for pid_t" >&5 d7068 1 a7068 1 #line 7554 "configure" d7099 1 a7099 1 echo "configure:7585: checking for working alloca.h" >&5 d7104 1 a7104 1 #line 7590 "configure" d7111 1 a7111 1 if { (eval echo configure:7597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7132 1 a7132 1 echo "configure:7618: checking for alloca" >&5 d7137 1 a7137 1 #line 7623 "configure" d7165 1 a7165 1 if { (eval echo configure:7651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7197 1 a7197 1 echo "configure:7683: checking whether alloca needs Cray hooks" >&5 d7202 1 a7202 1 #line 7688 "configure" d7227 1 a7227 1 echo "configure:7713: checking for $ac_func" >&5 d7232 1 a7232 1 #line 7718 "configure" d7255 1 a7255 1 if { (eval echo configure:7741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7282 1 a7282 1 echo "configure:7768: checking stack direction for C alloca" >&5 d7290 1 a7290 1 #line 7776 "configure" d7309 1 a7309 1 if { (eval echo configure:7795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7331 1 a7331 1 echo "configure:7817: checking for vprintf" >&5 d7336 1 a7336 1 #line 7822 "configure" d7359 1 a7359 1 if { (eval echo configure:7845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7383 1 a7383 1 echo "configure:7869: checking for _doprnt" >&5 d7388 1 a7388 1 #line 7874 "configure" d7411 1 a7411 1 if { (eval echo configure:7897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7437 1 a7437 1 echo "configure:7923: checking for working fnmatch" >&5 d7448 1 a7448 1 #line 7934 "configure" d7452 1 a7452 1 if { (eval echo configure:7938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7483 1 a7483 1 for ac_func in basename getcwd getwd inet_aton mtrace putenv realpath setenv d7486 1 a7486 1 echo "configure:7972: checking for $ac_func" >&5 d7491 1 a7491 1 #line 7977 "configure" d7514 1 a7514 1 if { (eval echo configure:8000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7538 2 a7539 1 for ac_func in stpcpy stpncpy strcasecmp strncasecmp strcspn d7542 1 a7542 1 echo "configure:8027: checking for $ac_func" >&5 d7547 1 a7547 1 #line 8032 "configure" d7570 1 a7570 1 if { (eval echo configure:8055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7591 1 d7595 1 d7599 59 a7657 1 echo "configure:8082: checking for $ac_func" >&5 d7662 1 a7662 1 #line 8087 "configure" d7685 1 a7685 1 if { (eval echo configure:8110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7706 1 d7711 1 a7711 1 for ac_func in regcomp d7714 1 a7714 1 echo "configure:8138: checking for $ac_func" >&5 d7719 1 a7719 1 #line 8143 "configure" d7742 1 a7742 1 if { (eval echo configure:8166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7763 64 d7830 40 d7871 2 d7882 1 a7882 1 echo "configure:8200: checking for $ac_func" >&5 d7887 1 a7887 1 #line 8205 "configure" d7910 1 a7910 1 if { (eval echo configure:8228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7939 2 a7940 2 echo $ac_n "checking for GNU extensions to glob""... $ac_c" 1>&6 echo "configure:8258: checking for GNU extensions to glob" >&5 d7942 1 a7942 1 rpm_cv_glob_ext=no d7945 1 a7945 1 #line 8263 "configure" a7948 1 #include d7950 1 a7950 5 main() { glob_t gl ; gl.gl_stat = stat; exit(glob("doc/*/*.8", 0, NULL, &gl) || gl.gl_pathc < 1); } d7952 1 a7952 1 if { (eval echo configure:8275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7954 1 a7954 1 rpm_cv_glob_ext=yes d7959 1 a7959 1 rpm_cv_glob_ext=no d7964 4 a7967 4 echo "$ac_t""$rpm_cv_glob_ext" 1>&6 if test $rpm_cv_glob_ext = no ; then echo " --> using the included GNU glob instead." >&6 rpm_cv_glob=yes d7976 1 a7976 1 LIBOBJS="$LIBOBJS glob.o fnmatch.o" d7982 1 a7982 1 echo "configure:8305: checking for $ac_func" >&5 d7987 1 a7987 1 #line 8310 "configure" d8010 1 a8010 1 if { (eval echo configure:8333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8038 1 a8038 1 echo "configure:8361: checking for $ac_func" >&5 d8043 1 a8043 1 #line 8366 "configure" d8066 1 a8066 1 if { (eval echo configure:8389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8092 1 a8092 1 echo "configure:8415: checking for getmntent" >&5 d8097 1 a8097 1 #line 8420 "configure" d8120 1 a8120 1 if { (eval echo configure:8443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8142 1 a8142 1 echo "configure:8465: checking for mntctl" >&5 d8147 1 a8147 1 #line 8470 "configure" d8170 1 a8170 1 if { (eval echo configure:8493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8192 1 a8192 1 echo "configure:8515: checking for getmntinfo_r" >&5 d8197 1 a8197 1 #line 8520 "configure" d8220 1 a8220 1 if { (eval echo configure:8543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8242 1 a8242 1 echo "configure:8565: checking for getmntinfo_r in -lc_r" >&5 d8250 1 a8250 1 #line 8573 "configure" d8261 1 a8261 1 if { (eval echo configure:8584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8293 1 d8295 1 a8295 1 echo "configure:8617: checking for lchown" >&5 d8300 1 a8300 1 #line 8622 "configure" d8323 1 a8323 1 if { (eval echo configure:8645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8337 1 a8337 3 __CHOWN_RHF="%{__chown} -Rhf" __CHGRP_RHF="%{__chgrp} -Rhf" cat >> confdefs.h <<\EOF d8343 3 a8345 2 __CHOWN_RHF="%{__chown} -Rf" __CHGRP_RHF="%{__chgrp} -Rf" d8347 1 a8347 1 echo "configure:8670: checking whether chown() follows symlinks" >&5 d8362 1 a8362 1 if test `${__ID} | cut -f2 -d\= | cut -f1 -d\(` = 0; then d8366 1 a8366 1 ${__CHOWN} 10 bar d8372 1 a8372 1 ${__RM} -f foo bar d8375 1 a8375 1 echo "configure:8698: checking (cannot check by non-root user)" >&5 a8389 2 d8391 1 a8391 1 echo "configure:8716: checking root's primary group" >&5 d8397 1 a8397 1 #line 8722 "configure" d8426 1 a8426 1 if { (eval echo configure:8751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8551 1 a8551 4 unknown|pc|redhat|pld) test -f /etc/redhat-release && RPMCANONVENDOR=redhat test -f /etc/pld-release && RPMCANONVENDOR=pld ;; a8616 6 TOP_SOURCEDIR="`pwd`" cat >> confdefs.h <&5 d616 1 a616 1 echo "configure:615: checking target system type" >&5 d634 1 a634 1 echo "configure:633: checking build system type" >&5 d669 1 a669 1 echo "configure:668: checking for a BSD compatible install" >&5 d722 1 a722 1 echo "configure:721: checking whether build environment is sane" >&5 d779 1 a779 1 echo "configure:778: checking whether ${MAKE-make} sets \${MAKE}" >&5 d808 1 a808 1 VERSION=3.0.5 d825 1 a825 1 echo "configure:824: checking for working aclocal" >&5 d838 1 a838 1 echo "configure:837: checking for working autoconf" >&5 d851 1 a851 1 echo "configure:850: checking for working automake" >&5 d864 1 a864 1 echo "configure:863: checking for working autoheader" >&5 d877 1 a877 1 echo "configure:876: checking for working makeinfo" >&5 d922 1 a922 1 echo "configure:921: checking for $ac_word" >&5 d952 1 a952 1 echo "configure:951: checking for $ac_word" >&5 d1003 1 a1003 1 echo "configure:1002: checking for $ac_word" >&5 d1035 1 a1035 1 echo "configure:1034: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1046 1 a1046 1 #line 1045 "configure" d1051 1 a1051 1 if { (eval echo configure:1050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1077 1 a1077 1 echo "configure:1076: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1082 1 a1082 1 echo "configure:1081: checking whether we are using GNU C" >&5 d1091 1 a1091 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1110 1 a1110 1 echo "configure:1109: checking whether ${CC-cc} accepts -g" >&5 d1146 1 a1146 1 echo "configure:1145: checking how to run the C preprocessor" >&5 d1161 1 a1161 1 #line 1160 "configure" d1167 1 a1167 1 { (eval echo configure:1166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1178 1 a1178 1 #line 1177 "configure" d1184 1 a1184 1 { (eval echo configure:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1195 1 a1195 1 #line 1194 "configure" d1201 1 a1201 1 { (eval echo configure:1200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1227 1 a1227 1 echo "configure:1226: checking whether ${CC-cc} needs -traditional" >&5 d1233 1 a1233 1 #line 1232 "configure" d1251 1 a1251 1 #line 1250 "configure" d1284 1 a1284 1 echo "configure:1283: checking for a BSD compatible install" >&5 d1338 1 a1338 1 echo "configure:1337: checking flag used by libtool to link rpm" >&5 d1375 1 a1375 1 echo "configure:1374: checking POSIX chmod" >&5 d1395 1 a1395 1 echo "configure:1394: checking for $ac_word" >&5 d1432 1 a1432 1 echo "configure:1431: checking if $MKDIR supports -p" >&5 d1466 1 a1466 1 echo "configure:1465: checking for AIX" >&5 d1468 1 a1468 1 #line 1467 "configure" d1491 1 a1491 1 echo "configure:1490: checking for minix/config.h" >&5 d1496 1 a1496 1 #line 1495 "configure" d1501 1 a1501 1 { (eval echo configure:1500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1539 1 a1539 1 echo "configure:1538: checking for POSIXized ISC" >&5 d1564 1 a1564 1 echo "configure:1563: checking for ${CC-cc} option to accept ANSI C" >&5 d1580 1 a1580 1 #line 1579 "configure" d1617 1 a1617 1 if { (eval echo configure:1616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1643 1 a1643 1 echo "configure:1642: checking for function prototypes" >&5 d1656 1 a1656 1 echo "configure:1655: checking for ANSI C header files" >&5 d1661 1 a1661 1 #line 1660 "configure" d1669 1 a1669 1 { (eval echo configure:1668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1686 1 a1686 1 #line 1685 "configure" d1704 1 a1704 1 #line 1703 "configure" d1725 1 a1725 1 #line 1724 "configure" d1736 1 a1736 1 if { (eval echo configure:1735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1763 1 a1763 1 echo "configure:1762: checking for $ac_hdr" >&5 d1768 1 a1768 1 #line 1767 "configure" d1773 1 a1773 1 { (eval echo configure:1772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1807 1 a1807 1 echo "configure:1806: checking for $ac_word" >&5 d1837 1 a1837 1 echo "configure:1836: checking whether ln -s works" >&5 d1858 1 a1858 1 echo "configure:1857: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1957 1 a1957 1 echo "configure:1956: checking for $ac_word" >&5 d1996 1 a1996 1 echo "configure:1995: checking for ld used by GCC" >&5 d2020 1 a2020 1 echo "configure:2019: checking for GNU ld" >&5 d2023 1 a2023 1 echo "configure:2022: checking for non-GNU ld" >&5 d2058 1 a2058 1 echo "configure:2057: checking if the linker ($LD) is GNU ld" >&5 d2074 1 a2074 1 echo "configure:2073: checking for BSD-compatible nm" >&5 d2143 2 a2144 2 echo '#line 2142 "configure"' > conftest.$ac_ext if { (eval echo configure:2143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2165 1 a2165 1 echo "configure:2164: checking whether the C compiler needs -belf" >&5 d2170 1 a2170 1 #line 2169 "configure" d2177 1 a2177 1 if { (eval echo configure:2176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2288 1 a2288 1 echo "configure:2287: checking for $ac_word" >&5 d2320 1 a2320 1 echo "configure:2319: checking for $ac_word" >&5 d2359 1 a2359 1 echo "configure:2358: checking for $ac_word" >&5 d2395 1 a2395 1 echo "configure:2394: checking for $ac_word" >&5 d2431 1 a2431 1 echo "configure:2430: checking for $ac_word" >&5 d2467 1 a2467 1 echo "configure:2466: checking for $ac_word" >&5 d2503 1 a2503 1 echo "configure:2502: checking for $ac_word" >&5 d2539 1 a2539 1 echo "configure:2538: checking for $ac_word" >&5 d2575 1 a2575 1 echo "configure:2574: checking for $ac_word" >&5 d2611 1 a2611 1 echo "configure:2610: checking for $ac_word" >&5 d2647 1 a2647 1 echo "configure:2646: checking for $ac_word" >&5 d2684 1 a2684 1 echo "configure:2683: checking for $ac_word" >&5 d2718 1 a2718 1 echo "configure:2717: checking checking whether id supports -u" >&5 d2731 1 a2731 1 echo "configure:2730: checking for $ac_word" >&5 d2767 1 a2767 1 echo "configure:2766: checking for $ac_word" >&5 d2803 1 a2803 1 echo "configure:2802: checking for $ac_word" >&5 d2839 1 a2839 1 echo "configure:2838: checking for $ac_word" >&5 d2875 1 a2875 1 echo "configure:2874: checking for $ac_word" >&5 d2909 1 a2909 1 echo "configure:2908: checking old version of patch" >&5 d2925 1 a2925 1 echo "configure:2924: checking for $ac_word" >&5 d2961 1 a2961 1 echo "configure:2960: checking for $ac_word" >&5 d2997 1 a2997 1 echo "configure:2996: checking for $ac_word" >&5 d3033 1 a3033 1 echo "configure:3032: checking for $ac_word" >&5 d3069 1 a3069 1 echo "configure:3068: checking for $ac_word" >&5 d3105 1 a3105 1 echo "configure:3104: checking for $ac_word" >&5 d3141 1 a3141 1 echo "configure:3140: checking for $ac_word" >&5 d3178 1 a3178 1 echo "configure:3177: checking for $ac_word" >&5 d3214 1 a3214 1 echo "configure:3213: checking for $ac_word" >&5 d3250 1 a3250 1 echo "configure:3249: checking for $ac_word" >&5 d3286 1 a3286 1 echo "configure:3285: checking for $ac_word" >&5 d3322 1 a3322 1 echo "configure:3321: checking for $ac_word" >&5 d3378 1 a3378 1 echo "configure:3377: checking for $dir/lib in LIBS" >&5 d3387 1 a3387 1 echo "configure:3386: checking for $dir/include in INCPATH" >&5 d3397 1 a3397 1 echo "configure:3396: checking for /usr/ucblib in LIBS" >&5 d3411 20 a3430 3 ### use option --enable-v5-packages to turn on support for rpm-4.x packages echo $ac_n "checking if you want experimental rpm-5.0 packages""... $ac_c" 1>&6 echo "configure:3412: checking if you want experimental rpm-5.0 packages" >&5 d3434 1 a3434 1 with_v5_packages=$enableval d3436 1 a3436 1 with_v5_packages=no d3439 3 a3441 3 echo "$ac_t""$with_v5_packages" 1>&6 test "$with_v5_packages" = yes && cat >> confdefs.h <<\EOF #define ENABLE_V5_PACKAGES 1 d3447 1 a3447 1 echo "configure:3429: checking for strcasecmp" >&5 d3452 1 a3452 1 #line 3434 "configure" d3475 1 a3475 1 if { (eval echo configure:3457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3494 1 a3494 1 echo "configure:3476: checking for strcasecmp in -lucb" >&5 d3502 1 a3502 1 #line 3484 "configure" d3513 1 a3513 1 if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3537 1 a3537 1 echo "configure:3519: checking for setreuid" >&5 d3542 1 a3542 1 #line 3524 "configure" d3565 1 a3565 1 if { (eval echo configure:3547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3584 1 a3584 1 echo "configure:3566: checking for setreuid in -lucb" >&5 d3592 1 a3592 1 #line 3574 "configure" d3603 1 a3603 1 if { (eval echo configure:3585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3628 1 a3628 1 echo "configure:3610: checking for rand" >&5 d3633 1 a3633 1 #line 3615 "configure" d3656 1 a3656 1 if { (eval echo configure:3638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3675 1 a3675 1 echo "configure:3657: checking for rand in -lrand" >&5 d3683 1 a3683 1 #line 3665 "configure" d3694 1 a3694 1 if { (eval echo configure:3676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3719 1 a3719 1 echo "configure:3701: checking for getdomainname" >&5 d3724 1 a3724 1 #line 3706 "configure" d3747 1 a3747 1 if { (eval echo configure:3729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3766 1 a3766 1 echo "configure:3748: checking for getdomainname in -lnsl" >&5 d3774 1 a3774 1 #line 3756 "configure" d3785 1 a3785 1 if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3809 1 a3809 1 echo "configure:3791: checking for socket" >&5 d3814 1 a3814 1 #line 3796 "configure" d3837 1 a3837 1 if { (eval echo configure:3819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3856 1 a3856 1 echo "configure:3838: checking for socket in -lsocket" >&5 d3864 1 a3864 1 #line 3846 "configure" d3875 1 a3875 1 if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3900 1 a3900 1 echo "configure:3882: checking for fchmod" >&5 d3905 1 a3905 1 #line 3887 "configure" d3928 1 a3928 1 if { (eval echo configure:3910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3949 1 a3949 1 echo "configure:3931: checking for writev in -lport" >&5 d3957 1 a3957 1 #line 3939 "configure" d3968 1 a3968 1 if { (eval echo configure:3950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3997 1 a3997 1 echo "configure:3979: checking for dbopen" >&5 d4002 1 a4002 1 #line 3984 "configure" d4025 1 a4025 1 if { (eval echo configure:4007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4043 1 a4043 1 echo "configure:4025: checking for dbopen in -ldb1" >&5 d4051 1 a4051 1 #line 4033 "configure" d4062 1 a4062 1 if { (eval echo configure:4044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4081 1 a4081 1 echo "configure:4063: checking for dbopen in -ldb" >&5 d4089 1 a4089 1 #line 4071 "configure" d4100 1 a4100 1 if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4128 1 a4128 1 echo "configure:4110: checking for fork" >&5 d4133 1 a4133 1 #line 4115 "configure" d4156 1 a4156 1 if { (eval echo configure:4138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4188 1 a4188 1 echo "configure:4170: checking for gzread in -l${zlib}" >&5 d4196 1 a4196 1 #line 4178 "configure" d4207 1 a4207 1 if { (eval echo configure:4189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4234 1 a4234 1 echo "configure:4216: checking for gzseek in -l${zlib}" >&5 d4242 1 a4242 1 #line 4224 "configure" d4253 1 a4253 1 if { (eval echo configure:4235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4277 4 a4280 3 echo $ac_n "checking for bzread in -lbz2""... $ac_c" 1>&6 echo "configure:4260: checking for bzread in -lbz2" >&5 ac_lib_var=`echo bz2'_'bzread | sed 'y%./+-%__p_%'` d4285 1 a4285 1 LIBS="-lbz2 $LIBS" d4287 1 a4287 1 #line 4268 "configure" d4298 1 a4298 1 if { (eval echo configure:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4313 1 a4313 1 LIBS="$LIBS -lbz2"; break d4316 4 a4319 46 echo $ac_n "checking for BZ2_bzread in -lbz2""... $ac_c" 1>&6 echo "configure:4298: checking for BZ2_bzread in -lbz2" >&5 ac_lib_var=`echo bz2'_'BZ2_bzread | 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="-lbz2 $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 -lbz2" cat >> confdefs.h <<\EOF #define HAVE_BZ2_1_0 1 EOF else echo "$ac_t""no" 1>&6 echo "configure: warning: rpm needs libbz2.a (from the bzip2 package)" 1>&2 fi d4322 1 d4327 1 a4327 1 echo "configure:4349: checking for $ac_func" >&5 d4332 1 a4332 1 #line 4354 "configure" d4355 1 a4355 1 if { (eval echo configure:4377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4381 1 a4381 1 echo "configure:4403: checking for error_at_line" >&5 d4386 1 a4386 1 #line 4408 "configure" d4393 1 a4393 1 if { (eval echo configure:4415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4413 1 a4413 1 echo "configure:4435: checking for working const" >&5 d4418 1 a4418 1 #line 4440 "configure" d4467 1 a4467 1 if { (eval echo configure:4489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4488 1 a4488 1 echo "configure:4510: checking for inline" >&5 d4495 1 a4495 1 #line 4517 "configure" d4502 1 a4502 1 if { (eval echo configure:4524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4528 1 a4528 1 echo "configure:4550: checking for off_t" >&5 d4533 1 a4533 1 #line 4555 "configure" d4561 1 a4561 1 echo "configure:4583: checking for size_t" >&5 d4566 1 a4566 1 #line 4588 "configure" d4596 1 a4596 1 echo "configure:4618: checking for working alloca.h" >&5 d4601 1 a4601 1 #line 4623 "configure" d4608 1 a4608 1 if { (eval echo configure:4630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4629 1 a4629 1 echo "configure:4651: checking for alloca" >&5 d4634 1 a4634 1 #line 4656 "configure" d4662 1 a4662 1 if { (eval echo configure:4684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4694 1 a4694 1 echo "configure:4716: checking whether alloca needs Cray hooks" >&5 d4699 1 a4699 1 #line 4721 "configure" d4724 1 a4724 1 echo "configure:4746: checking for $ac_func" >&5 d4729 1 a4729 1 #line 4751 "configure" d4752 1 a4752 1 if { (eval echo configure:4774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4779 1 a4779 1 echo "configure:4801: checking stack direction for C alloca" >&5 d4787 1 a4787 1 #line 4809 "configure" d4806 1 a4806 1 if { (eval echo configure:4828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4831 1 a4831 1 echo "configure:4853: checking for $ac_hdr" >&5 d4836 1 a4836 1 #line 4858 "configure" d4841 1 a4841 1 { (eval echo configure:4863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4870 1 a4870 1 echo "configure:4892: checking for $ac_func" >&5 d4875 1 a4875 1 #line 4897 "configure" d4898 1 a4898 1 if { (eval echo configure:4920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4923 1 a4923 1 echo "configure:4945: checking for working mmap" >&5 d4931 1 a4931 1 #line 4953 "configure" d5071 1 a5071 1 if { (eval echo configure:5093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5099 1 a5099 1 echo "configure:5121: checking for $ac_hdr" >&5 d5104 1 a5104 1 #line 5126 "configure" d5109 1 a5109 1 { (eval echo configure:5131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5139 1 a5139 1 echo "configure:5161: checking for $ac_func" >&5 d5144 1 a5144 1 #line 5166 "configure" d5167 1 a5167 1 if { (eval echo configure:5189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5196 1 a5196 1 echo "configure:5218: checking for $ac_func" >&5 d5201 1 a5201 1 #line 5223 "configure" d5224 1 a5224 1 if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5258 1 a5258 1 echo "configure:5280: checking for LC_MESSAGES" >&5 d5263 1 a5263 1 #line 5285 "configure" d5270 1 a5270 1 if { (eval echo configure:5292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5291 1 a5291 1 echo "configure:5313: checking whether NLS is requested" >&5 d5311 1 a5311 1 echo "configure:5333: checking whether included gettext is requested" >&5 d5330 1 a5330 1 echo "configure:5352: checking for libintl.h" >&5 d5335 1 a5335 1 #line 5357 "configure" d5340 1 a5340 1 { (eval echo configure:5362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5357 1 a5357 1 echo "configure:5379: checking for gettext in libc" >&5 d5362 1 a5362 1 #line 5384 "configure" d5369 1 a5369 1 if { (eval echo configure:5391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5385 1 a5385 1 echo "configure:5407: checking for bindtextdomain in -lintl" >&5 d5393 1 a5393 1 #line 5415 "configure" d5404 1 a5404 1 if { (eval echo configure:5426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5420 1 a5420 1 echo "configure:5442: checking for gettext in libintl" >&5 d5425 1 a5425 1 echo "configure:5447: checking for gettext in -lintl" >&5 d5433 1 a5433 1 #line 5455 "configure" d5444 1 a5444 1 if { (eval echo configure:5466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5483 1 a5483 1 echo "configure:5505: checking for $ac_word" >&5 d5517 1 a5517 1 echo "configure:5539: checking for $ac_func" >&5 d5522 1 a5522 1 #line 5544 "configure" d5545 1 a5545 1 if { (eval echo configure:5567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5572 1 a5572 1 echo "configure:5594: checking for $ac_word" >&5 d5608 1 a5608 1 echo "configure:5630: checking for $ac_word" >&5 d5640 1 a5640 1 #line 5662 "configure" d5648 1 a5648 1 if { (eval echo configure:5670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5671 1 a5671 1 echo "configure:5693: checking whether catgets can be used" >&5 d5684 1 a5684 1 echo "configure:5706: checking for main in -li" >&5 d5692 1 a5692 1 #line 5714 "configure" d5699 1 a5699 1 if { (eval echo configure:5721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5727 1 a5727 1 echo "configure:5749: checking for catgets" >&5 d5732 1 a5732 1 #line 5754 "configure" d5755 1 a5755 1 if { (eval echo configure:5777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5777 1 a5777 1 echo "configure:5799: checking for $ac_word" >&5 d5813 1 a5813 1 echo "configure:5835: checking for $ac_word" >&5 d5850 1 a5850 1 echo "configure:5872: checking for $ac_word" >&5 d5885 1 a5885 1 echo "configure:5907: checking for $ac_word" >&5 d5943 1 a5943 1 echo "configure:5965: checking for $ac_word" >&5 d5977 1 a5977 1 echo "configure:5999: checking for $ac_word" >&5 d6013 1 a6013 1 echo "configure:6035: checking for $ac_word" >&5 d6106 1 a6106 1 echo "configure:6128: checking for catalogs to be installed" >&5 d6134 1 a6134 1 echo "configure:6156: checking for linux/version.h" >&5 d6139 1 a6139 1 #line 6161 "configure" d6144 1 a6144 1 { (eval echo configure:6166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6213 1 a6213 1 echo "configure:6235: checking for ANSI C header files" >&5 d6218 1 a6218 1 #line 6240 "configure" d6226 1 a6226 1 { (eval echo configure:6248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6243 1 a6243 1 #line 6265 "configure" d6261 1 a6261 1 #line 6283 "configure" d6282 1 a6282 1 #line 6304 "configure" d6293 1 a6293 1 if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6317 1 a6317 1 echo "configure:6339: checking whether sys/types.h defines makedev" >&5 d6322 1 a6322 1 #line 6344 "configure" d6329 1 a6329 1 if { (eval echo configure:6351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6347 1 a6347 1 echo "configure:6369: checking for sys/mkdev.h" >&5 d6352 1 a6352 1 #line 6374 "configure" d6357 1 a6357 1 { (eval echo configure:6379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6385 1 a6385 1 echo "configure:6407: checking for sys/sysmacros.h" >&5 d6390 1 a6390 1 #line 6412 "configure" d6395 1 a6395 1 { (eval echo configure:6417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6427 1 a6427 1 echo "configure:6449: checking for $ac_hdr that defines DIR" >&5 d6432 1 a6432 1 #line 6454 "configure" d6440 1 a6440 1 if { (eval echo configure:6462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6465 1 a6465 1 echo "configure:6487: checking for opendir in -ldir" >&5 d6473 1 a6473 1 #line 6495 "configure" d6484 1 a6484 1 if { (eval echo configure:6506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6506 1 a6506 1 echo "configure:6528: checking for opendir in -lx" >&5 d6514 1 a6514 1 #line 6536 "configure" d6525 1 a6525 1 if { (eval echo configure:6547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6548 1 a6548 1 echo "configure:6570: checking whether time.h and sys/time.h may both be included" >&5 d6553 1 a6553 1 #line 6575 "configure" d6562 1 a6562 1 if { (eval echo configure:6584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6587 1 a6587 1 echo "configure:6609: checking for $ac_hdr" >&5 d6592 1 a6592 1 #line 6614 "configure" d6597 1 a6597 1 { (eval echo configure:6619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6627 1 a6627 1 echo "configure:6649: checking for $ac_hdr" >&5 d6632 1 a6632 1 #line 6654 "configure" d6637 1 a6637 1 { (eval echo configure:6659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6668 1 a6668 1 echo "configure:6690: checking for $ac_hdr" >&5 d6673 1 a6673 1 #line 6695 "configure" d6678 1 a6678 1 { (eval echo configure:6700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6708 1 a6708 1 echo "configure:6730: checking for $ac_hdr" >&5 d6713 1 a6713 1 #line 6735 "configure" d6718 1 a6718 1 { (eval echo configure:6740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6748 1 a6748 1 echo "configure:6770: checking for $ac_hdr" >&5 d6753 1 a6753 1 #line 6775 "configure" d6758 1 a6758 1 { (eval echo configure:6780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6789 1 a6789 1 echo "configure:6811: checking for $ac_hdr" >&5 d6794 1 a6794 1 #line 6816 "configure" d6799 1 a6799 1 { (eval echo configure:6821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6829 1 a6829 1 echo "configure:6851: checking for $ac_hdr" >&5 d6834 1 a6834 1 #line 6856 "configure" d6839 1 a6839 1 { (eval echo configure:6861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6869 1 a6869 1 echo "configure:6891: checking for $ac_hdr" >&5 d6874 1 a6874 1 #line 6896 "configure" d6879 1 a6879 1 { (eval echo configure:6901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6909 1 a6909 1 echo "configure:6931: checking for $ac_hdr" >&5 d6914 1 a6914 1 #line 6936 "configure" d6919 1 a6919 1 { (eval echo configure:6941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6949 1 a6949 1 echo "configure:6971: checking for $ac_hdr" >&5 d6954 1 a6954 1 #line 6976 "configure" d6959 1 a6959 1 { (eval echo configure:6981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6989 1 a6989 1 echo "configure:7011: checking for $ac_hdr" >&5 d6994 1 a6994 1 #line 7016 "configure" d6999 1 a6999 1 { (eval echo configure:7021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7026 53 d7093 1 a7093 1 echo "configure:7062: checking for $ac_hdr" >&5 d7098 1 a7098 1 #line 7067 "configure" d7103 1 a7103 1 { (eval echo configure:7072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7131 1 a7131 1 echo "configure:7100: checking for struct statfs" >&5 d7136 1 a7136 1 #line 7105 "configure" d7147 1 a7147 1 if { (eval echo configure:7116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7164 1 a7164 1 #line 7133 "configure" d7175 1 a7175 1 if { (eval echo configure:7144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7192 1 a7192 1 #line 7161 "configure" d7203 1 a7203 1 if { (eval echo configure:7172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7220 1 a7220 1 #line 7189 "configure" d7231 1 a7231 1 if { (eval echo configure:7200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7252 1 a7252 1 echo "configure:7221: checking for f_bavail member in struct statfs" >&5 d7254 1 a7254 1 #line 7223 "configure" d7278 1 a7278 1 if { (eval echo configure:7247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7297 1 a7297 1 echo "configure:7266: checking if statfs() requires 4 arguments" >&5 d7303 1 a7303 1 #line 7272 "configure" d7322 1 a7322 1 if { (eval echo configure:7291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7341 1 a7341 1 echo "configure:7310: checking for inline" >&5 d7348 1 a7348 1 #line 7317 "configure" d7355 1 a7355 1 if { (eval echo configure:7324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7383 1 a7383 1 echo "configure:7352: checking if defines h_errno" >&5 d7385 1 a7385 1 #line 7354 "configure" d7392 1 a7392 1 if { (eval echo configure:7361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7409 1 a7409 1 echo "configure:7378: checking if defines S_IFSOCK" >&5 d7411 1 a7411 1 #line 7380 "configure" d7418 1 a7418 1 if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7437 1 a7437 1 echo "configure:7406: checking if defines S_ISLNK" >&5 d7439 1 a7439 1 #line 7408 "configure" d7446 1 a7446 1 if { (eval echo configure:7415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7465 1 a7465 1 echo "configure:7434: checking if defines S_ISSOCK" >&5 d7467 1 a7467 1 #line 7436 "configure" d7474 1 a7474 1 if { (eval echo configure:7443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7493 1 a7493 1 echo "configure:7462: checking if timezone is defined" >&5 d7495 1 a7495 1 #line 7464 "configure" d7502 1 a7502 1 if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7515 1 a7515 1 echo "configure:7484: checking for mode_t" >&5 d7520 1 a7520 1 #line 7489 "configure" d7548 1 a7548 1 echo "configure:7517: checking for pid_t" >&5 d7553 1 a7553 1 #line 7522 "configure" d7584 1 a7584 1 echo "configure:7553: checking for working alloca.h" >&5 d7589 1 a7589 1 #line 7558 "configure" d7596 1 a7596 1 if { (eval echo configure:7565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7617 1 a7617 1 echo "configure:7586: checking for alloca" >&5 d7622 1 a7622 1 #line 7591 "configure" d7650 1 a7650 1 if { (eval echo configure:7619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7682 1 a7682 1 echo "configure:7651: checking whether alloca needs Cray hooks" >&5 d7687 1 a7687 1 #line 7656 "configure" d7712 1 a7712 1 echo "configure:7681: checking for $ac_func" >&5 d7717 1 a7717 1 #line 7686 "configure" d7740 1 a7740 1 if { (eval echo configure:7709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7767 1 a7767 1 echo "configure:7736: checking stack direction for C alloca" >&5 d7775 1 a7775 1 #line 7744 "configure" d7794 1 a7794 1 if { (eval echo configure:7763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7816 1 a7816 1 echo "configure:7785: checking for vprintf" >&5 d7821 1 a7821 1 #line 7790 "configure" d7844 1 a7844 1 if { (eval echo configure:7813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7868 1 a7868 1 echo "configure:7837: checking for _doprnt" >&5 d7873 1 a7873 1 #line 7842 "configure" d7896 1 a7896 1 if { (eval echo configure:7865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7922 1 a7922 1 echo "configure:7891: checking for working fnmatch" >&5 d7933 1 a7933 1 #line 7902 "configure" d7937 1 a7937 1 if { (eval echo configure:7906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7971 1 a7971 1 echo "configure:7940: checking for $ac_func" >&5 d7976 1 a7976 1 #line 7945 "configure" d7999 1 a7999 1 if { (eval echo configure:7968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8026 1 a8026 1 echo "configure:7995: checking for $ac_func" >&5 d8031 1 a8031 1 #line 8000 "configure" d8054 1 a8054 1 if { (eval echo configure:8023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8081 1 a8081 1 echo "configure:8050: checking for $ac_func" >&5 d8086 1 a8086 1 #line 8055 "configure" d8109 1 a8109 1 if { (eval echo configure:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8137 1 a8137 1 echo "configure:8106: checking for $ac_func" >&5 d8142 1 a8142 1 #line 8111 "configure" d8165 1 a8165 1 if { (eval echo configure:8134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8199 1 a8199 1 echo "configure:8168: checking for $ac_func" >&5 d8204 1 a8204 1 #line 8173 "configure" d8227 1 a8227 1 if { (eval echo configure:8196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8257 1 a8257 4 echo "configure:8226: checking for GNU extensions to glob" >&5 mkdir t mkdir t/p touch t/p/foo.8 d8262 1 a8262 1 #line 8234 "configure" d8271 1 a8271 1 exit(glob("t/*/*.8", GLOB_PERIOD, NULL, &gl) || gl.gl_pathc < 1); d8274 1 a8274 1 if { (eval echo configure:8246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null a8285 1 rm -r t d8304 1 a8304 1 echo "configure:8277: checking for $ac_func" >&5 d8309 1 a8309 1 #line 8282 "configure" d8332 1 a8332 1 if { (eval echo configure:8305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8360 1 a8360 1 echo "configure:8333: checking for $ac_func" >&5 d8365 1 a8365 1 #line 8338 "configure" d8388 1 a8388 1 if { (eval echo configure:8361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8414 1 a8414 1 echo "configure:8387: checking for getmntent" >&5 d8419 1 a8419 1 #line 8392 "configure" d8442 1 a8442 1 if { (eval echo configure:8415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8464 1 a8464 1 echo "configure:8437: checking for mntctl" >&5 d8469 1 a8469 1 #line 8442 "configure" d8492 1 a8492 1 if { (eval echo configure:8465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8514 1 a8514 1 echo "configure:8487: checking for getmntinfo_r" >&5 d8519 1 a8519 1 #line 8492 "configure" d8542 1 a8542 1 if { (eval echo configure:8515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8564 1 a8564 1 echo "configure:8537: checking for getmntinfo_r in -lc_r" >&5 d8572 1 a8572 1 #line 8545 "configure" d8583 1 a8583 1 if { (eval echo configure:8556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8616 1 a8616 1 echo "configure:8589: checking for lchown" >&5 d8621 1 a8621 1 #line 8594 "configure" d8644 1 a8644 1 if { (eval echo configure:8617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8669 1 a8669 1 echo "configure:8642: checking whether chown() follows symlinks" >&5 d8697 1 a8697 1 echo "configure:8670: checking (cannot check by non-root user)" >&5 d8715 1 a8715 1 echo "configure:8688: checking root's primary group" >&5 d8721 1 a8721 1 #line 8694 "configure" d8750 1 a8750 1 if { (eval echo configure:8723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null a8861 1 ia64*) RPMCANONARCH=ia64 ;; a8901 2 LIBDIR="`echo $libdir | sed 's-/lib$-/%{_lib}-'`" d9195 1 a9206 1 s%@@LIBDIR@@%$LIBDIR%g @ 1.1.1.13 log @Import: RPM 3.0.6 @ text @d806 1 a806 1 VERSION=3.0.6 d2352 1 a2352 1 MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/sbin:/usr/sbin:/usr/local/sbin:/opt/gnu/bin" d3409 1 a3409 1 ### use option --enable-v5-packages to turn on support for rpm-5.x packages d3412 3 a3414 3 # Check whether --enable-v5-packages or --disable-v5-packages was given. if test "${enable_v5_packages+set}" = set; then enableval="$enable_v5_packages" d4293 1 a4293 1 LIBS="$LIBS -lbz2" d9047 1 a9047 1 doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile d9240 1 a9240 1 doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile @ 1.1.1.14 log @Import: RPM 4.0 @ text @d806 1 a806 1 VERSION=4.0 d894 1 a894 1 ALL_LINGUAS="cs da de es fi fr gl hu id is it ja ko no pl pt pt_BR ro ru sk sl sr sv tr uk wa zh zh_CN.GB2312" a3976 175 DBLIBOBJS="" libdb3="" libdb2="" libdb1="" PTHREAD="" echo $ac_n "checking for db_create""... $ac_c" 1>&6 echo "configure:3984: checking for db_create" >&5 if eval "test \"`echo '$''{'ac_cv_func_db_create'+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 db_create(); 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_db_create) || defined (__stub___db_create) choke me #else db_create(); #endif ; return 0; } EOF if { (eval echo configure:4012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_db_create=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_db_create=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'db_create`\" = yes"; then echo "$ac_t""yes" 1>&6 DBLIBOBJS="$DBLIBOBJS db3.c" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for db_create in -ldb-3.1""... $ac_c" 1>&6 echo "configure:4030: checking for db_create in -ldb-3.1" >&5 ac_lib_var=`echo db-3.1'_'db_create | 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="-ldb-3.1 $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 $PTHREAD"; DBLIBOBJS="$DBLIBOBJS db3.c" ; libdb3="-ldb-3.1" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for db_create in -ldb-3.0""... $ac_c" 1>&6 echo "configure:4068: checking for db_create in -ldb-3.0" >&5 ac_lib_var=`echo db-3.0'_'db_create | 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="-ldb-3.0 $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 $PTHREAD"; DBLIBOBJS="$DBLIBOBJS db3.c"; libdb3="-ldb-3.0" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for db_create in -ldb""... $ac_c" 1>&6 echo "configure:4106: checking for db_create in -ldb" >&5 ac_lib_var=`echo db'_'db_create | 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="-ldb $PTHREAD $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 $PTHREAD"; DBLIBOBJS="$DBLIBOBJS db3.c"; libdb3="-ldb" else echo "$ac_t""no" 1>&6 fi fi fi fi d3978 1 a3978 1 echo "configure:4154: checking for dbopen" >&5 d3983 1 a3983 1 #line 4159 "configure" d4006 1 a4006 1 if { (eval echo configure:4182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4020 1 a4020 1 DBLIBOBJS="$DBLIBOBJS db3.c" d4024 1 a4024 1 echo "configure:4200: checking for dbopen in -ldb1" >&5 d4032 1 a4032 1 #line 4208 "configure" d4043 1 a4043 1 if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4058 1 a4058 1 DBLIBOBJS="$DBLIBOBJS db1.c falloc.c" ; libdb1="-ldb1" d4062 1 a4062 1 echo "configure:4238: checking for dbopen in -ldb" >&5 d4070 1 a4070 1 #line 4246 "configure" d4081 1 a4081 1 if { (eval echo configure:4257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4096 1 a4096 1 LIBS="$LIBS $PTHREAD"; DBLIBOBJS="$DBLIBOBJS db1.c falloc.c" ; libdb1="-ldb" d4099 1 d4104 1 a4107 26 if test X"$DBLIBOBJS" = X; then { echo "configure: error: sorry rpm requires libdb-3.x.a or libdb1.a (from the Berkeley db package)" 1>&2; exit 1; } fi for dbi in $DBLIBOBJS; do case $dbi in db3.c) cat >> confdefs.h <<\EOF #define USE_DB3 1 EOF ;; db2.c) cat >> confdefs.h <<\EOF #define USE_DB2 1 EOF ;; db1.c) cat >> confdefs.h <<\EOF #define USE_DB1 1 EOF ;; esac done d4109 1 a4109 1 echo "configure:4309: checking for fork" >&5 d4114 1 a4114 1 #line 4314 "configure" d4137 1 a4137 1 if { (eval echo configure:4337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4169 1 a4169 1 echo "configure:4369: checking for gzread in -l${zlib}" >&5 d4177 1 a4177 1 #line 4377 "configure" d4188 1 a4188 1 if { (eval echo configure:4388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4215 1 a4215 1 echo "configure:4415: checking for gzseek in -l${zlib}" >&5 d4223 1 a4223 1 #line 4423 "configure" d4234 1 a4234 1 if { (eval echo configure:4434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4259 1 a4259 1 echo "configure:4459: checking for bzread in -lbz2" >&5 d4267 1 a4267 1 #line 4467 "configure" d4278 1 a4278 1 if { (eval echo configure:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4297 1 a4297 1 echo "configure:4497: checking for BZ2_bzread in -lbz2" >&5 d4305 1 a4305 1 #line 4505 "configure" d4316 1 a4316 1 if { (eval echo configure:4516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4348 1 a4348 1 echo "configure:4548: checking for $ac_func" >&5 d4353 1 a4353 1 #line 4553 "configure" d4376 1 a4376 1 if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4402 1 a4402 1 echo "configure:4602: checking for error_at_line" >&5 d4407 1 a4407 1 #line 4607 "configure" d4414 1 a4414 1 if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4434 1 a4434 1 echo "configure:4634: checking for working const" >&5 d4439 1 a4439 1 #line 4639 "configure" d4488 1 a4488 1 if { (eval echo configure:4688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4509 1 a4509 1 echo "configure:4709: checking for inline" >&5 d4516 1 a4516 1 #line 4716 "configure" d4523 1 a4523 1 if { (eval echo configure:4723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4549 1 a4549 1 echo "configure:4749: checking for off_t" >&5 d4554 1 a4554 1 #line 4754 "configure" d4582 1 a4582 1 echo "configure:4782: checking for size_t" >&5 d4587 1 a4587 1 #line 4787 "configure" d4617 1 a4617 1 echo "configure:4817: checking for working alloca.h" >&5 d4622 1 a4622 1 #line 4822 "configure" d4629 1 a4629 1 if { (eval echo configure:4829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4650 1 a4650 1 echo "configure:4850: checking for alloca" >&5 d4655 1 a4655 1 #line 4855 "configure" d4683 1 a4683 1 if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4715 1 a4715 1 echo "configure:4915: checking whether alloca needs Cray hooks" >&5 d4720 1 a4720 1 #line 4920 "configure" d4745 1 a4745 1 echo "configure:4945: checking for $ac_func" >&5 d4750 1 a4750 1 #line 4950 "configure" d4773 1 a4773 1 if { (eval echo configure:4973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4800 1 a4800 1 echo "configure:5000: checking stack direction for C alloca" >&5 d4808 1 a4808 1 #line 5008 "configure" d4827 1 a4827 1 if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d4852 1 a4852 1 echo "configure:5052: checking for $ac_hdr" >&5 d4857 1 a4857 1 #line 5057 "configure" d4862 1 a4862 1 { (eval echo configure:5062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d4891 1 a4891 1 echo "configure:5091: checking for $ac_func" >&5 d4896 1 a4896 1 #line 5096 "configure" d4919 1 a4919 1 if { (eval echo configure:5119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4944 1 a4944 1 echo "configure:5144: checking for working mmap" >&5 d4952 1 a4952 1 #line 5152 "configure" d5092 1 a5092 1 if { (eval echo configure:5292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5120 1 a5120 1 echo "configure:5320: checking for $ac_hdr" >&5 d5125 1 a5125 1 #line 5325 "configure" d5130 1 a5130 1 { (eval echo configure:5330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5160 1 a5160 1 echo "configure:5360: checking for $ac_func" >&5 d5165 1 a5165 1 #line 5365 "configure" d5188 1 a5188 1 if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5217 1 a5217 1 echo "configure:5417: checking for $ac_func" >&5 d5222 1 a5222 1 #line 5422 "configure" d5245 1 a5245 1 if { (eval echo configure:5445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5279 1 a5279 1 echo "configure:5479: checking for LC_MESSAGES" >&5 d5284 1 a5284 1 #line 5484 "configure" d5291 1 a5291 1 if { (eval echo configure:5491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5312 1 a5312 1 echo "configure:5512: checking whether NLS is requested" >&5 d5332 1 a5332 1 echo "configure:5532: checking whether included gettext is requested" >&5 d5351 1 a5351 1 echo "configure:5551: checking for libintl.h" >&5 d5356 1 a5356 1 #line 5556 "configure" d5361 1 a5361 1 { (eval echo configure:5561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5378 1 a5378 1 echo "configure:5578: checking for gettext in libc" >&5 d5383 1 a5383 1 #line 5583 "configure" d5390 1 a5390 1 if { (eval echo configure:5590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5406 1 a5406 1 echo "configure:5606: checking for bindtextdomain in -lintl" >&5 d5414 1 a5414 1 #line 5614 "configure" d5425 1 a5425 1 if { (eval echo configure:5625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5441 1 a5441 1 echo "configure:5641: checking for gettext in libintl" >&5 d5446 1 a5446 1 echo "configure:5646: checking for gettext in -lintl" >&5 d5454 1 a5454 1 #line 5654 "configure" d5465 1 a5465 1 if { (eval echo configure:5665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5504 1 a5504 1 echo "configure:5704: checking for $ac_word" >&5 d5538 1 a5538 1 echo "configure:5738: checking for $ac_func" >&5 d5543 1 a5543 1 #line 5743 "configure" d5566 1 a5566 1 if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5593 1 a5593 1 echo "configure:5793: checking for $ac_word" >&5 d5629 1 a5629 1 echo "configure:5829: checking for $ac_word" >&5 d5661 1 a5661 1 #line 5861 "configure" d5669 1 a5669 1 if { (eval echo configure:5869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5692 1 a5692 1 echo "configure:5892: checking whether catgets can be used" >&5 d5705 1 a5705 1 echo "configure:5905: checking for main in -li" >&5 d5713 1 a5713 1 #line 5913 "configure" d5720 1 a5720 1 if { (eval echo configure:5920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5748 1 a5748 1 echo "configure:5948: checking for catgets" >&5 d5753 1 a5753 1 #line 5953 "configure" d5776 1 a5776 1 if { (eval echo configure:5976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5798 1 a5798 1 echo "configure:5998: checking for $ac_word" >&5 d5834 1 a5834 1 echo "configure:6034: checking for $ac_word" >&5 d5871 1 a5871 1 echo "configure:6071: checking for $ac_word" >&5 d5906 1 a5906 1 echo "configure:6106: checking for $ac_word" >&5 d5964 1 a5964 1 echo "configure:6164: checking for $ac_word" >&5 d5998 1 a5998 1 echo "configure:6198: checking for $ac_word" >&5 d6034 1 a6034 1 echo "configure:6234: checking for $ac_word" >&5 d6127 1 a6127 1 echo "configure:6327: checking for catalogs to be installed" >&5 d6155 1 a6155 1 echo "configure:6355: checking for linux/version.h" >&5 d6160 1 a6160 1 #line 6360 "configure" d6165 1 a6165 1 { (eval echo configure:6365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6234 1 a6234 1 echo "configure:6434: checking for ANSI C header files" >&5 d6239 1 a6239 1 #line 6439 "configure" d6247 1 a6247 1 { (eval echo configure:6447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6264 1 a6264 1 #line 6464 "configure" d6282 1 a6282 1 #line 6482 "configure" d6303 1 a6303 1 #line 6503 "configure" d6314 1 a6314 1 if { (eval echo configure:6514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6338 1 a6338 1 echo "configure:6538: checking whether sys/types.h defines makedev" >&5 d6343 1 a6343 1 #line 6543 "configure" d6350 1 a6350 1 if { (eval echo configure:6550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6368 1 a6368 1 echo "configure:6568: checking for sys/mkdev.h" >&5 d6373 1 a6373 1 #line 6573 "configure" d6378 1 a6378 1 { (eval echo configure:6578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6406 1 a6406 1 echo "configure:6606: checking for sys/sysmacros.h" >&5 d6411 1 a6411 1 #line 6611 "configure" d6416 1 a6416 1 { (eval echo configure:6616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6448 1 a6448 1 echo "configure:6648: checking for $ac_hdr that defines DIR" >&5 d6453 1 a6453 1 #line 6653 "configure" d6461 1 a6461 1 if { (eval echo configure:6661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6486 1 a6486 1 echo "configure:6686: checking for opendir in -ldir" >&5 d6494 1 a6494 1 #line 6694 "configure" d6505 1 a6505 1 if { (eval echo configure:6705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6527 1 a6527 1 echo "configure:6727: checking for opendir in -lx" >&5 d6535 1 a6535 1 #line 6735 "configure" d6546 1 a6546 1 if { (eval echo configure:6746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6569 1 a6569 1 echo "configure:6769: checking whether time.h and sys/time.h may both be included" >&5 d6574 1 a6574 1 #line 6774 "configure" d6583 1 a6583 1 if { (eval echo configure:6783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6604 1 a6604 1 for ac_hdr in db_185.h db1/db.h db3/db.h d6608 1 a6608 1 echo "configure:6808: checking for $ac_hdr" >&5 d6613 1 a6613 1 #line 6813 "configure" d6618 1 a6618 1 { (eval echo configure:6818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6648 1 a6648 1 echo "configure:6848: checking for $ac_hdr" >&5 d6653 1 a6653 1 #line 6853 "configure" d6658 1 a6658 1 { (eval echo configure:6858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6689 1 a6689 1 echo "configure:6889: checking for $ac_hdr" >&5 d6694 1 a6694 1 #line 6894 "configure" d6699 1 a6699 1 { (eval echo configure:6899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6729 1 a6729 1 echo "configure:6929: checking for $ac_hdr" >&5 d6734 1 a6734 1 #line 6934 "configure" d6739 1 a6739 1 { (eval echo configure:6939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6769 1 a6769 1 echo "configure:6969: checking for $ac_hdr" >&5 d6774 1 a6774 1 #line 6974 "configure" d6779 1 a6779 1 { (eval echo configure:6979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6810 1 a6810 1 echo "configure:7010: checking for $ac_hdr" >&5 d6815 1 a6815 1 #line 7015 "configure" d6820 1 a6820 1 { (eval echo configure:7020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6850 1 a6850 1 echo "configure:7050: checking for $ac_hdr" >&5 d6855 1 a6855 1 #line 7055 "configure" d6860 1 a6860 1 { (eval echo configure:7060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6890 1 a6890 1 echo "configure:7090: checking for $ac_hdr" >&5 d6895 1 a6895 1 #line 7095 "configure" d6900 1 a6900 1 { (eval echo configure:7100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6926 1 a6926 1 for ac_hdr in sys/mount.h sys/mntctl.h sys/param.h sys/vmount.h d6930 1 a6930 1 echo "configure:7130: checking for $ac_hdr" >&5 d6935 1 a6935 1 #line 7135 "configure" d6940 1 a6940 1 { (eval echo configure:7140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6970 1 a6970 1 echo "configure:7170: checking for $ac_hdr" >&5 d6975 1 a6975 1 #line 7175 "configure" d6980 1 a6980 1 { (eval echo configure:7180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7010 1 a7010 1 echo "configure:7210: checking for $ac_hdr" >&5 d7015 1 a7015 1 #line 7215 "configure" d7020 1 a7020 1 { (eval echo configure:7220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7061 1 a7061 1 echo "configure:7261: checking for $ac_hdr" >&5 d7066 1 a7066 1 #line 7266 "configure" d7071 1 a7071 1 { (eval echo configure:7271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7099 1 a7099 1 echo "configure:7299: checking for struct statfs" >&5 d7104 1 a7104 1 #line 7304 "configure" d7115 1 a7115 1 if { (eval echo configure:7315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7132 1 a7132 1 #line 7332 "configure" d7143 1 a7143 1 if { (eval echo configure:7343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7160 1 a7160 1 #line 7360 "configure" a7165 3 #ifdef HAVE_SYS_PARAM_H #include #endif d7171 1 a7171 1 if { (eval echo configure:7374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7188 1 a7188 1 #line 7391 "configure" d7199 1 a7199 1 if { (eval echo configure:7402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7220 1 a7220 1 echo "configure:7423: checking for f_bavail member in struct statfs" >&5 d7222 1 a7222 1 #line 7425 "configure" d7246 1 a7246 1 if { (eval echo configure:7449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7265 1 a7265 1 echo "configure:7468: checking if statfs() requires 4 arguments" >&5 d7271 1 a7271 1 #line 7474 "configure" d7290 1 a7290 1 if { (eval echo configure:7493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7309 1 a7309 1 echo "configure:7512: checking for inline" >&5 d7316 1 a7316 1 #line 7519 "configure" d7323 1 a7323 1 if { (eval echo configure:7526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7351 1 a7351 1 echo "configure:7554: checking if defines h_errno" >&5 d7353 1 a7353 1 #line 7556 "configure" d7360 1 a7360 1 if { (eval echo configure:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7377 1 a7377 1 echo "configure:7580: checking if defines S_IFSOCK" >&5 d7379 1 a7379 1 #line 7582 "configure" d7386 1 a7386 1 if { (eval echo configure:7589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7405 1 a7405 1 echo "configure:7608: checking if defines S_ISLNK" >&5 d7407 1 a7407 1 #line 7610 "configure" d7414 1 a7414 1 if { (eval echo configure:7617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7433 1 a7433 1 echo "configure:7636: checking if defines S_ISSOCK" >&5 d7435 1 a7435 1 #line 7638 "configure" d7442 1 a7442 1 if { (eval echo configure:7645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7461 1 a7461 1 echo "configure:7664: checking if timezone is defined" >&5 d7463 1 a7463 1 #line 7666 "configure" d7470 1 a7470 1 if { (eval echo configure:7673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7483 1 a7483 1 echo "configure:7686: checking for mode_t" >&5 d7488 1 a7488 1 #line 7691 "configure" d7516 1 a7516 1 echo "configure:7719: checking for pid_t" >&5 d7521 1 a7521 1 #line 7724 "configure" d7552 1 a7552 1 echo "configure:7755: checking for working alloca.h" >&5 d7557 1 a7557 1 #line 7760 "configure" d7564 1 a7564 1 if { (eval echo configure:7767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7585 1 a7585 1 echo "configure:7788: checking for alloca" >&5 d7590 1 a7590 1 #line 7793 "configure" d7618 1 a7618 1 if { (eval echo configure:7821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7650 1 a7650 1 echo "configure:7853: checking whether alloca needs Cray hooks" >&5 d7655 1 a7655 1 #line 7858 "configure" d7680 1 a7680 1 echo "configure:7883: checking for $ac_func" >&5 d7685 1 a7685 1 #line 7888 "configure" d7708 1 a7708 1 if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7735 1 a7735 1 echo "configure:7938: checking stack direction for C alloca" >&5 d7743 1 a7743 1 #line 7946 "configure" d7762 1 a7762 1 if { (eval echo configure:7965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7784 1 a7784 1 echo "configure:7987: checking for vprintf" >&5 d7789 1 a7789 1 #line 7992 "configure" d7812 1 a7812 1 if { (eval echo configure:8015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7836 1 a7836 1 echo "configure:8039: checking for _doprnt" >&5 d7841 1 a7841 1 #line 8044 "configure" d7864 1 a7864 1 if { (eval echo configure:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7890 1 a7890 1 echo "configure:8093: checking for working fnmatch" >&5 d7901 1 a7901 1 #line 8104 "configure" d7905 1 a7905 1 if { (eval echo configure:8108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7939 1 a7939 1 echo "configure:8142: checking for $ac_func" >&5 d7944 1 a7944 1 #line 8147 "configure" d7967 1 a7967 1 if { (eval echo configure:8170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7994 1 a7994 1 echo "configure:8197: checking for $ac_func" >&5 d7999 1 a7999 1 #line 8202 "configure" d8022 1 a8022 1 if { (eval echo configure:8225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8049 1 a8049 1 echo "configure:8252: checking for $ac_func" >&5 d8054 1 a8054 1 #line 8257 "configure" d8077 1 a8077 1 if { (eval echo configure:8280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8105 1 a8105 1 echo "configure:8308: checking for $ac_func" >&5 d8110 1 a8110 1 #line 8313 "configure" d8133 1 a8133 1 if { (eval echo configure:8336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8167 1 a8167 1 echo "configure:8370: checking for $ac_func" >&5 d8172 1 a8172 1 #line 8375 "configure" d8195 1 a8195 1 if { (eval echo configure:8398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8225 1 a8225 1 echo "configure:8428: checking for GNU extensions to glob" >&5 d8233 1 a8233 1 #line 8436 "configure" d8245 1 a8245 1 if { (eval echo configure:8448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8276 1 a8276 1 echo "configure:8479: checking for $ac_func" >&5 d8281 1 a8281 1 #line 8484 "configure" d8304 1 a8304 1 if { (eval echo configure:8507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8332 1 a8332 1 echo "configure:8535: checking for $ac_func" >&5 d8337 1 a8337 1 #line 8540 "configure" d8360 1 a8360 1 if { (eval echo configure:8563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8386 1 a8386 1 echo "configure:8589: checking for getmntent" >&5 d8391 1 a8391 1 #line 8594 "configure" d8414 1 a8414 1 if { (eval echo configure:8617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8436 1 a8436 1 echo "configure:8639: checking for mntctl" >&5 d8441 1 a8441 1 #line 8644 "configure" d8464 1 a8464 1 if { (eval echo configure:8667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8486 1 a8486 1 echo "configure:8689: checking for getmntinfo_r" >&5 d8491 1 a8491 1 #line 8694 "configure" d8514 1 a8514 1 if { (eval echo configure:8717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8536 1 a8536 1 echo "configure:8739: checking for getmntinfo_r in -lc_r" >&5 d8544 1 a8544 1 #line 8747 "configure" d8555 1 a8555 1 if { (eval echo configure:8758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8588 1 a8588 1 echo "configure:8791: checking for lchown" >&5 d8593 1 a8593 1 #line 8796 "configure" d8616 1 a8616 1 if { (eval echo configure:8819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8641 1 a8641 1 echo "configure:8844: checking whether chown() follows symlinks" >&5 d8669 1 a8669 1 echo "configure:8872: checking (cannot check by non-root user)" >&5 d8687 1 a8687 1 echo "configure:8890: checking root's primary group" >&5 d8693 1 a8693 1 #line 8896 "configure" d8722 1 a8722 1 if { (eval echo configure:8925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8895 1 a8895 1 LIBRPMALIAS_FILENAME="${RPMCONFIGDIR}/rpmpopt-${VERSION}" d9043 1 a9043 2 rpmio/Makefile lib/Makefile build/Makefile tools/Makefile scripts/Makefile a9146 4 s%@@DBLIBOBJS@@%$DBLIBOBJS%g s%@@libdb3@@%$libdb3%g s%@@libdb2@@%$libdb2%g s%@@libdb1@@%$libdb1%g d9236 1 a9236 2 rpmio/Makefile lib/Makefile build/Makefile tools/Makefile scripts/Makefile @ 1.1.1.15 log @Import: RPM 4.0.1 @ text @a34 6 --with-python build rpm python bindings " ac_help="$ac_help --with-apidocs build rpm API docs " ac_help="$ac_help --with-dmalloc build with dmalloc debugging support " ac_help="$ac_help d593 1 a593 1 echo "configure:600: checking host system type" >&5 d614 1 a614 1 echo "configure:621: checking target system type" >&5 d632 1 a632 1 echo "configure:639: checking build system type" >&5 d667 1 a667 1 echo "configure:674: checking for a BSD compatible install" >&5 d720 1 a720 1 echo "configure:727: checking whether build environment is sane" >&5 d777 1 a777 1 echo "configure:784: checking whether ${MAKE-make} sets \${MAKE}" >&5 d806 1 a806 1 VERSION=4.0.1 d823 1 a823 1 echo "configure:830: checking for working aclocal" >&5 d836 1 a836 1 echo "configure:843: checking for working autoconf" >&5 d849 1 a849 1 echo "configure:856: checking for working automake" >&5 d862 1 a862 1 echo "configure:869: checking for working autoheader" >&5 d875 1 a875 1 echo "configure:882: checking for working makeinfo" >&5 d894 1 a894 1 ALL_LINGUAS="cs da de es eu_ES fi fr gl hu id is it ja ko no pl pt pt_BR ro ru sk sl sr sv tr uk wa zh zh_CN.GB2312" d920 1 a920 1 echo "configure:927: checking for $ac_word" >&5 d950 1 a950 1 echo "configure:957: checking for $ac_word" >&5 d1001 1 a1001 1 echo "configure:1008: checking for $ac_word" >&5 d1033 1 a1033 1 echo "configure:1040: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1044 1 a1044 1 #line 1051 "configure" d1049 1 a1049 1 if { (eval echo configure:1056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1075 1 a1075 1 echo "configure:1082: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1080 1 a1080 1 echo "configure:1087: checking whether we are using GNU C" >&5 d1089 1 a1089 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1108 1 a1108 1 echo "configure:1115: checking whether ${CC-cc} accepts -g" >&5 d1144 1 a1144 1 echo "configure:1151: checking how to run the C preprocessor" >&5 d1159 1 a1159 1 #line 1166 "configure" d1165 1 a1165 1 { (eval echo configure:1172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1176 1 a1176 1 #line 1183 "configure" d1182 1 a1182 1 { (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1193 1 a1193 1 #line 1200 "configure" d1199 1 a1199 1 { (eval echo configure:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1225 1 a1225 1 echo "configure:1232: checking whether ${CC-cc} needs -traditional" >&5 d1231 1 a1231 1 #line 1238 "configure" d1249 1 a1249 1 #line 1256 "configure" d1282 1 a1282 1 echo "configure:1289: checking for a BSD compatible install" >&5 a1334 73 # Extract the first word of "ctags", so it can be a program name with args. set dummy ctags; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1345: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CTAGS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$CTAGS" in /*) ac_cv_path_CTAGS="$CTAGS" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_CTAGS="$CTAGS" # 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_CTAGS="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_CTAGS" && ac_cv_path_CTAGS="/bin/true" ;; esac fi CTAGS="$ac_cv_path_CTAGS" if test -n "$CTAGS"; then echo "$ac_t""$CTAGS" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "cscope", so it can be a program name with args. set dummy cscope; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1381: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CSCOPE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$CSCOPE" in /*) ac_cv_path_CSCOPE="$CSCOPE" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_CSCOPE="$CSCOPE" # 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_CSCOPE="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_CSCOPE" && ac_cv_path_CSCOPE="/bin/true" ;; esac fi CSCOPE="$ac_cv_path_CSCOPE" if test -n "$CSCOPE"; then echo "$ac_t""$CSCOPE" 1>&6 else echo "$ac_t""no" 1>&6 fi d1336 1 a1336 1 echo "configure:1416: checking flag used by libtool to link rpm" >&5 d1373 1 a1373 1 echo "configure:1453: checking POSIX chmod" >&5 d1393 1 a1393 1 echo "configure:1473: checking for $ac_word" >&5 d1430 1 a1430 1 echo "configure:1510: checking if $MKDIR supports -p" >&5 d1464 1 a1464 1 echo "configure:1544: checking for AIX" >&5 d1466 1 a1466 1 #line 1546 "configure" d1489 1 a1489 1 echo "configure:1569: checking for minix/config.h" >&5 d1494 1 a1494 1 #line 1574 "configure" d1499 1 a1499 1 { (eval echo configure:1579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1537 1 a1537 1 echo "configure:1617: checking for POSIXized ISC" >&5 d1562 1 a1562 1 echo "configure:1642: checking for ${CC-cc} option to accept ANSI C" >&5 d1578 1 a1578 1 #line 1658 "configure" d1615 1 a1615 1 if { (eval echo configure:1695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1641 1 a1641 1 echo "configure:1721: checking for function prototypes" >&5 d1654 1 a1654 1 echo "configure:1734: checking for ANSI C header files" >&5 d1659 1 a1659 1 #line 1739 "configure" d1667 1 a1667 1 { (eval echo configure:1747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1684 1 a1684 1 #line 1764 "configure" d1702 1 a1702 1 #line 1782 "configure" d1723 1 a1723 1 #line 1803 "configure" d1734 1 a1734 1 if { (eval echo configure:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1761 1 a1761 1 echo "configure:1841: checking for $ac_hdr" >&5 d1766 1 a1766 1 #line 1846 "configure" d1771 1 a1771 1 { (eval echo configure:1851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1805 1 a1805 1 echo "configure:1885: checking for $ac_word" >&5 d1835 1 a1835 1 echo "configure:1915: checking whether ln -s works" >&5 d1856 1 a1856 1 echo "configure:1936: checking whether ${MAKE-make} sets \${MAKE}" >&5 d1955 1 a1955 1 echo "configure:2035: checking for $ac_word" >&5 d1994 1 a1994 1 echo "configure:2074: checking for ld used by GCC" >&5 d2018 1 a2018 1 echo "configure:2098: checking for GNU ld" >&5 d2021 1 a2021 1 echo "configure:2101: checking for non-GNU ld" >&5 d2056 1 a2056 1 echo "configure:2136: checking if the linker ($LD) is GNU ld" >&5 d2072 1 a2072 1 echo "configure:2152: checking for BSD-compatible nm" >&5 d2141 2 a2142 2 echo '#line 2221 "configure"' > conftest.$ac_ext if { (eval echo configure:2222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2163 1 a2163 1 echo "configure:2243: checking whether the C compiler needs -belf" >&5 d2168 1 a2168 1 #line 2248 "configure" d2175 1 a2175 1 if { (eval echo configure:2255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2286 1 a2286 1 echo "configure:2366: checking for $ac_word" >&5 d2318 1 a2318 1 echo "configure:2398: checking for $ac_word" >&5 d2357 1 a2357 1 echo "configure:2437: checking for $ac_word" >&5 d2393 1 a2393 1 echo "configure:2473: checking for $ac_word" >&5 d2429 1 a2429 1 echo "configure:2509: checking for $ac_word" >&5 d2465 1 a2465 1 echo "configure:2545: checking for $ac_word" >&5 d2501 1 a2501 1 echo "configure:2581: checking for $ac_word" >&5 d2537 1 a2537 1 echo "configure:2617: checking for $ac_word" >&5 d2573 1 a2573 1 echo "configure:2653: checking for $ac_word" >&5 d2609 1 a2609 1 echo "configure:2689: checking for $ac_word" >&5 d2645 1 a2645 1 echo "configure:2725: checking for $ac_word" >&5 a2677 36 # Extract the first word of "unzip", so it can be a program name with args. set dummy unzip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:2761: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_UNZIPBIN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$UNZIPBIN" in /*) ac_cv_path_UNZIPBIN="$UNZIPBIN" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_UNZIPBIN="$UNZIPBIN" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_UNZIPBIN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_UNZIPBIN" && ac_cv_path_UNZIPBIN="/usr/bin/unzip" ;; esac fi UNZIPBIN="$ac_cv_path_UNZIPBIN" if test -n "$UNZIPBIN"; then echo "$ac_t""$UNZIPBIN" 1>&6 else echo "$ac_t""no" 1>&6 fi d2682 1 a2682 1 echo "configure:2798: checking for $ac_word" >&5 d2716 1 a2716 1 echo "configure:2832: checking checking whether id supports -u" >&5 d2729 1 a2729 1 echo "configure:2845: checking for $ac_word" >&5 d2765 1 a2765 1 echo "configure:2881: checking for $ac_word" >&5 d2801 1 a2801 1 echo "configure:2917: checking for $ac_word" >&5 d2837 1 a2837 1 echo "configure:2953: checking for $ac_word" >&5 d2873 1 a2873 1 echo "configure:2989: checking for $ac_word" >&5 d2907 1 a2907 1 echo "configure:3023: checking old version of patch" >&5 d2923 1 a2923 1 echo "configure:3039: checking for $ac_word" >&5 d2959 1 a2959 1 echo "configure:3075: checking for $ac_word" >&5 a2991 36 # Extract the first word of "python", so it can be a program name with args. set dummy python; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3111: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___PYTHON'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__PYTHON" in /*) ac_cv_path___PYTHON="$__PYTHON" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___PYTHON="$__PYTHON" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___PYTHON="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___PYTHON" && ac_cv_path___PYTHON="/usr/bin/python" ;; esac fi __PYTHON="$ac_cv_path___PYTHON" if test -n "$__PYTHON"; then echo "$ac_t""$__PYTHON" 1>&6 else echo "$ac_t""no" 1>&6 fi d2995 1 a2995 1 echo "configure:3147: checking for $ac_word" >&5 d3031 1 a3031 1 echo "configure:3183: checking for $ac_word" >&5 d3067 1 a3067 1 echo "configure:3219: checking for $ac_word" >&5 d3103 1 a3103 1 echo "configure:3255: checking for $ac_word" >&5 d3139 1 a3139 1 echo "configure:3291: checking for $ac_word" >&5 d3176 1 a3176 1 echo "configure:3328: checking for $ac_word" >&5 d3212 1 a3212 1 echo "configure:3364: checking for $ac_word" >&5 d3248 1 a3248 1 echo "configure:3400: checking for $ac_word" >&5 d3284 1 a3284 1 echo "configure:3436: checking for $ac_word" >&5 d3320 1 a3320 1 echo "configure:3472: checking for $ac_word" >&5 d3376 1 a3376 1 echo "configure:3528: checking for $dir/lib in LIBS" >&5 d3385 1 a3385 1 echo "configure:3537: checking for $dir/include in INCPATH" >&5 d3395 1 a3395 1 echo "configure:3547: checking for /usr/ucblib in LIBS" >&5 d3411 1 a3411 1 echo "configure:3563: checking if you want experimental rpm-5.0 packages" >&5 d3427 90 d3518 1 a3518 1 echo "configure:3580: checking for setreuid" >&5 d3523 1 a3523 1 #line 3585 "configure" d3546 1 a3546 1 if { (eval echo configure:3608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3565 1 a3565 1 echo "configure:3627: checking for setreuid in -lucb" >&5 d3573 1 a3573 1 #line 3635 "configure" d3584 1 a3584 1 if { (eval echo configure:3646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3609 1 a3609 1 echo "configure:3671: checking for rand" >&5 d3614 1 a3614 1 #line 3676 "configure" d3637 1 a3637 1 if { (eval echo configure:3699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3656 1 a3656 1 echo "configure:3718: checking for rand in -lrand" >&5 d3664 1 a3664 1 #line 3726 "configure" d3675 1 a3675 1 if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3700 1 a3700 1 echo "configure:3762: checking for getdomainname" >&5 d3705 1 a3705 1 #line 3767 "configure" d3728 1 a3728 1 if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3747 1 a3747 1 echo "configure:3809: checking for getdomainname in -lnsl" >&5 d3755 1 a3755 1 #line 3817 "configure" d3766 1 a3766 1 if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3790 1 a3790 1 echo "configure:3852: checking for socket" >&5 d3795 1 a3795 1 #line 3857 "configure" d3818 1 a3818 1 if { (eval echo configure:3880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3837 1 a3837 1 echo "configure:3899: checking for socket in -lsocket" >&5 d3845 1 a3845 1 #line 3907 "configure" d3856 1 a3856 1 if { (eval echo configure:3918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3881 1 a3881 1 echo "configure:3943: checking for fchmod" >&5 d3886 1 a3886 1 #line 3948 "configure" d3909 1 a3909 1 if { (eval echo configure:3971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3930 1 a3930 1 echo "configure:3992: checking for writev in -lport" >&5 d3938 1 a3938 1 #line 4000 "configure" d3949 1 a3949 1 if { (eval echo configure:4011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3977 1 a3977 43 libpthread="" echo $ac_n "checking for pthread_mutex_trylock in -lpthread""... $ac_c" 1>&6 echo "configure:4041: checking for pthread_mutex_trylock in -lpthread" >&5 ac_lib_var=`echo pthread'_'pthread_mutex_trylock | 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="-lpthread $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 libpthread="-lpthread" else echo "$ac_t""no" 1>&6 fi DBLIBSRCS="" d3981 1 d3983 1 a3983 1 echo "configure:4086: checking for db_create" >&5 d3988 1 a3988 1 #line 4091 "configure" d4011 1 a4011 1 if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4025 1 a4025 1 DBLIBSRCS="$DBLIBSRCS db3.c" d4029 1 a4029 1 echo "configure:4132: checking for db_create in -ldb-3.1" >&5 d4035 1 a4035 1 LIBS="-ldb-3.1 $libpthread $LIBS" d4037 1 a4037 1 #line 4140 "configure" d4048 1 a4048 1 if { (eval echo configure:4151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4063 1 a4063 1 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.1" d4067 1 a4067 1 echo "configure:4170: checking for db_create in -ldb-3.0" >&5 d4073 1 a4073 1 LIBS="-ldb-3.0 $libpthread $LIBS" d4075 1 a4075 1 #line 4178 "configure" d4086 1 a4086 1 if { (eval echo configure:4189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4101 1 a4101 1 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.0" d4105 1 a4105 1 echo "configure:4208: checking for db_create in -ldb" >&5 d4111 1 a4111 1 LIBS="-ldb $libpthread $LIBS" d4113 1 a4113 1 #line 4216 "configure" d4124 1 a4124 1 if { (eval echo configure:4227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4139 1 a4139 1 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb" a4143 1 a4145 1 a4151 1 d4153 1 a4153 1 echo "configure:4259: checking for dbopen" >&5 d4158 1 a4158 1 #line 4264 "configure" d4181 1 a4181 1 if { (eval echo configure:4287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4195 1 a4195 1 DBLIBSRCS="$DBLIBSRCS db3.c" d4199 1 a4199 1 echo "configure:4305: checking for dbopen in -ldb1" >&5 d4207 1 a4207 1 #line 4313 "configure" d4218 1 a4218 1 if { (eval echo configure:4324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4233 1 a4233 1 DBLIBSRCS="$DBLIBSRCS db1.c falloc.c" ; libdb1="-ldb1" d4237 1 a4237 1 echo "configure:4343: checking for dbopen in -ldb" >&5 d4245 1 a4245 1 #line 4351 "configure" d4256 1 a4256 1 if { (eval echo configure:4362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4271 1 a4271 1 DBLIBSRCS="$DBLIBSRCS db1.c falloc.c" ; libdb1="-ldb" a4275 1 a4277 1 d4281 1 a4281 1 if test X"$DBLIBSRCS" = X; then a4284 33 if test -n "$libdb3" -a -n "$libpthread" ; then echo $ac_n "checking whether $libdb3 needs $libpthread""... $ac_c" 1>&6 echo "configure:4395: checking whether $libdb3 needs $libpthread" >&5 saveLIBS="$LIBS" LIBS="$LIBS $libdb3" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* echo "$ac_t""no" 1>&6 else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* libdb3="$libdb3 $libpthread"; echo "$ac_t""yes" 1>&6 fi rm -f conftest* LIBS="$saveLIBS" fi DBLIBOBJS=`echo $DBLIBSRCS | sed -e "s/\.c/\.lo/g"` d4290 1 a4290 1 for dbi in $DBLIBSRCS; do d4308 1 a4308 1 echo "configure:4449: checking for fork" >&5 d4313 1 a4313 1 #line 4454 "configure" d4336 1 a4336 1 if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4368 1 a4368 1 echo "configure:4509: checking for gzread in -l${zlib}" >&5 d4376 1 a4376 1 #line 4517 "configure" d4387 1 a4387 1 if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4414 1 a4414 1 echo "configure:4555: checking for gzseek in -l${zlib}" >&5 d4422 1 a4422 1 #line 4563 "configure" d4433 1 a4433 1 if { (eval echo configure:4574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4458 1 a4458 1 echo "configure:4599: checking for bzread in -lbz2" >&5 d4466 1 a4466 1 #line 4607 "configure" d4477 1 a4477 1 if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4496 1 a4496 1 echo "configure:4637: checking for BZ2_bzread in -lbz2" >&5 d4504 1 a4504 1 #line 4645 "configure" d4515 1 a4515 1 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a4530 1 WITH_BZIP2=1 d4538 1 a4538 1 WITH_BZIP2=0 a4543 1 d4547 1 a4547 1 echo "configure:4690: checking for $ac_func" >&5 d4552 1 a4552 1 #line 4695 "configure" d4575 1 a4575 1 if { (eval echo configure:4718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4601 1 a4601 1 echo "configure:4744: checking for error_at_line" >&5 d4606 1 a4606 1 #line 4749 "configure" d4613 1 a4613 1 if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4633 1 a4633 1 echo "configure:4776: checking for working const" >&5 d4638 1 a4638 1 #line 4781 "configure" d4687 1 a4687 1 if { (eval echo configure:4830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4708 1 a4708 1 echo "configure:4851: checking for inline" >&5 d4715 1 a4715 1 #line 4858 "configure" d4722 1 a4722 1 if { (eval echo configure:4865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4748 1 a4748 1 echo "configure:4891: checking for off_t" >&5 d4753 1 a4753 1 #line 4896 "configure" d4781 1 a4781 1 echo "configure:4924: checking for size_t" >&5 d4786 1 a4786 1 #line 4929 "configure" d4816 1 a4816 1 echo "configure:4959: checking for working alloca.h" >&5 d4821 1 a4821 1 #line 4964 "configure" d4828 1 a4828 1 if { (eval echo configure:4971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4849 1 a4849 1 echo "configure:4992: checking for alloca" >&5 d4854 1 a4854 1 #line 4997 "configure" d4882 1 a4882 1 if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4914 1 a4914 1 echo "configure:5057: checking whether alloca needs Cray hooks" >&5 d4919 1 a4919 1 #line 5062 "configure" d4944 1 a4944 1 echo "configure:5087: checking for $ac_func" >&5 d4949 1 a4949 1 #line 5092 "configure" d4972 1 a4972 1 if { (eval echo configure:5115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4999 1 a4999 1 echo "configure:5142: checking stack direction for C alloca" >&5 d5007 1 a5007 1 #line 5150 "configure" d5026 1 a5026 1 if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5051 1 a5051 1 echo "configure:5194: checking for $ac_hdr" >&5 d5056 1 a5056 1 #line 5199 "configure" d5061 1 a5061 1 { (eval echo configure:5204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5090 1 a5090 1 echo "configure:5233: checking for $ac_func" >&5 d5095 1 a5095 1 #line 5238 "configure" d5118 1 a5118 1 if { (eval echo configure:5261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5143 1 a5143 1 echo "configure:5286: checking for working mmap" >&5 d5151 1 a5151 1 #line 5294 "configure" d5291 1 a5291 1 if { (eval echo configure:5434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5319 1 a5319 1 echo "configure:5462: checking for $ac_hdr" >&5 d5324 1 a5324 1 #line 5467 "configure" d5329 1 a5329 1 { (eval echo configure:5472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5359 1 a5359 1 echo "configure:5502: checking for $ac_func" >&5 d5364 1 a5364 1 #line 5507 "configure" d5387 1 a5387 1 if { (eval echo configure:5530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5416 1 a5416 1 echo "configure:5559: checking for $ac_func" >&5 d5421 1 a5421 1 #line 5564 "configure" d5444 1 a5444 1 if { (eval echo configure:5587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5478 1 a5478 1 echo "configure:5621: checking for LC_MESSAGES" >&5 d5483 1 a5483 1 #line 5626 "configure" d5490 1 a5490 1 if { (eval echo configure:5633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5511 1 a5511 1 echo "configure:5654: checking whether NLS is requested" >&5 d5531 1 a5531 1 echo "configure:5674: checking whether included gettext is requested" >&5 d5550 1 a5550 1 echo "configure:5693: checking for libintl.h" >&5 d5555 1 a5555 1 #line 5698 "configure" d5560 1 a5560 1 { (eval echo configure:5703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5577 1 a5577 1 echo "configure:5720: checking for gettext in libc" >&5 d5582 1 a5582 1 #line 5725 "configure" d5589 1 a5589 1 if { (eval echo configure:5732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5605 1 a5605 1 echo "configure:5748: checking for bindtextdomain in -lintl" >&5 d5613 1 a5613 1 #line 5756 "configure" d5624 1 a5624 1 if { (eval echo configure:5767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5640 1 a5640 1 echo "configure:5783: checking for gettext in libintl" >&5 d5645 1 a5645 1 echo "configure:5788: checking for gettext in -lintl" >&5 d5653 1 a5653 1 #line 5796 "configure" d5664 1 a5664 1 if { (eval echo configure:5807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5703 1 a5703 1 echo "configure:5846: checking for $ac_word" >&5 d5737 1 a5737 1 echo "configure:5880: checking for $ac_func" >&5 d5742 1 a5742 1 #line 5885 "configure" d5765 1 a5765 1 if { (eval echo configure:5908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5792 1 a5792 1 echo "configure:5935: checking for $ac_word" >&5 d5828 1 a5828 1 echo "configure:5971: checking for $ac_word" >&5 d5860 1 a5860 1 #line 6003 "configure" d5868 1 a5868 1 if { (eval echo configure:6011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5891 1 a5891 1 echo "configure:6034: checking whether catgets can be used" >&5 d5904 1 a5904 1 echo "configure:6047: checking for main in -li" >&5 d5912 1 a5912 1 #line 6055 "configure" d5919 1 a5919 1 if { (eval echo configure:6062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5947 1 a5947 1 echo "configure:6090: checking for catgets" >&5 d5952 1 a5952 1 #line 6095 "configure" d5975 1 a5975 1 if { (eval echo configure:6118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5997 1 a5997 1 echo "configure:6140: checking for $ac_word" >&5 d6033 1 a6033 1 echo "configure:6176: checking for $ac_word" >&5 d6070 1 a6070 1 echo "configure:6213: checking for $ac_word" >&5 d6105 1 a6105 1 echo "configure:6248: checking for $ac_word" >&5 d6163 1 a6163 1 echo "configure:6306: checking for $ac_word" >&5 d6197 1 a6197 1 echo "configure:6340: checking for $ac_word" >&5 d6233 1 a6233 1 echo "configure:6376: checking for $ac_word" >&5 d6326 1 a6326 1 echo "configure:6469: checking for catalogs to be installed" >&5 d6354 1 a6354 1 echo "configure:6497: checking for linux/version.h" >&5 d6359 1 a6359 1 #line 6502 "configure" d6364 1 a6364 1 { (eval echo configure:6507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6433 1 a6433 1 echo "configure:6576: checking for ANSI C header files" >&5 d6438 1 a6438 1 #line 6581 "configure" d6446 1 a6446 1 { (eval echo configure:6589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6463 1 a6463 1 #line 6606 "configure" d6481 1 a6481 1 #line 6624 "configure" d6502 1 a6502 1 #line 6645 "configure" d6513 1 a6513 1 if { (eval echo configure:6656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6537 1 a6537 1 echo "configure:6680: checking whether sys/types.h defines makedev" >&5 d6542 1 a6542 1 #line 6685 "configure" d6549 1 a6549 1 if { (eval echo configure:6692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6567 1 a6567 1 echo "configure:6710: checking for sys/mkdev.h" >&5 d6572 1 a6572 1 #line 6715 "configure" d6577 1 a6577 1 { (eval echo configure:6720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6605 1 a6605 1 echo "configure:6748: checking for sys/sysmacros.h" >&5 d6610 1 a6610 1 #line 6753 "configure" d6615 1 a6615 1 { (eval echo configure:6758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6647 1 a6647 1 echo "configure:6790: checking for $ac_hdr that defines DIR" >&5 d6652 1 a6652 1 #line 6795 "configure" d6660 1 a6660 1 if { (eval echo configure:6803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6685 1 a6685 1 echo "configure:6828: checking for opendir in -ldir" >&5 d6693 1 a6693 1 #line 6836 "configure" d6704 1 a6704 1 if { (eval echo configure:6847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6726 1 a6726 1 echo "configure:6869: checking for opendir in -lx" >&5 d6734 1 a6734 1 #line 6877 "configure" d6745 1 a6745 1 if { (eval echo configure:6888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6768 1 a6768 1 echo "configure:6911: checking whether time.h and sys/time.h may both be included" >&5 d6773 1 a6773 1 #line 6916 "configure" d6782 1 a6782 1 if { (eval echo configure:6925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6807 1 a6807 1 echo "configure:6950: checking for $ac_hdr" >&5 d6812 1 a6812 1 #line 6955 "configure" d6817 1 a6817 1 { (eval echo configure:6960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6847 1 a6847 1 echo "configure:6990: checking for $ac_hdr" >&5 d6852 1 a6852 1 #line 6995 "configure" d6857 1 a6857 1 { (eval echo configure:7000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6888 1 a6888 1 echo "configure:7031: checking for $ac_hdr" >&5 d6893 1 a6893 1 #line 7036 "configure" d6898 1 a6898 1 { (eval echo configure:7041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6928 1 a6928 1 echo "configure:7071: checking for $ac_hdr" >&5 d6933 1 a6933 1 #line 7076 "configure" d6938 1 a6938 1 { (eval echo configure:7081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6968 1 a6968 1 echo "configure:7111: checking for $ac_hdr" >&5 d6973 1 a6973 1 #line 7116 "configure" d6978 1 a6978 1 { (eval echo configure:7121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7009 1 a7009 1 echo "configure:7152: checking for $ac_hdr" >&5 d7014 1 a7014 1 #line 7157 "configure" d7019 1 a7019 1 { (eval echo configure:7162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7049 1 a7049 1 echo "configure:7192: checking for $ac_hdr" >&5 d7054 1 a7054 1 #line 7197 "configure" d7059 1 a7059 1 { (eval echo configure:7202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7089 1 a7089 1 echo "configure:7232: checking for $ac_hdr" >&5 d7094 1 a7094 1 #line 7237 "configure" d7099 1 a7099 1 { (eval echo configure:7242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7129 1 a7129 1 echo "configure:7272: checking for $ac_hdr" >&5 d7134 1 a7134 1 #line 7277 "configure" d7139 1 a7139 1 { (eval echo configure:7282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7169 1 a7169 1 echo "configure:7312: checking for $ac_hdr" >&5 d7174 1 a7174 1 #line 7317 "configure" d7179 1 a7179 1 { (eval echo configure:7322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7209 1 a7209 1 echo "configure:7352: checking for $ac_hdr" >&5 d7214 1 a7214 1 #line 7357 "configure" d7219 1 a7219 42 { (eval echo configure:7362: \"$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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done for ac_hdr in float.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:7393: 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:7403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7260 1 a7260 1 echo "configure:7444: checking for $ac_hdr" >&5 d7265 1 a7265 1 #line 7449 "configure" d7270 1 a7270 1 { (eval echo configure:7454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7298 1 a7298 1 echo "configure:7482: checking for struct statfs" >&5 d7303 1 a7303 1 #line 7487 "configure" d7314 1 a7314 1 if { (eval echo configure:7498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7331 1 a7331 1 #line 7515 "configure" d7342 1 a7342 1 if { (eval echo configure:7526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7359 1 a7359 1 #line 7543 "configure" d7373 1 a7373 1 if { (eval echo configure:7557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7390 1 a7390 1 #line 7574 "configure" d7401 1 a7401 1 if { (eval echo configure:7585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7422 1 a7422 1 echo "configure:7606: checking for f_bavail member in struct statfs" >&5 d7424 1 a7424 1 #line 7608 "configure" d7448 1 a7448 1 if { (eval echo configure:7632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7467 1 a7467 1 echo "configure:7651: checking if statfs() requires 4 arguments" >&5 d7473 1 a7473 1 #line 7657 "configure" d7492 1 a7492 1 if { (eval echo configure:7676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7511 1 a7511 1 echo "configure:7695: checking for inline" >&5 d7518 1 a7518 1 #line 7702 "configure" d7525 1 a7525 1 if { (eval echo configure:7709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7553 1 a7553 1 echo "configure:7737: checking if defines h_errno" >&5 d7555 1 a7555 1 #line 7739 "configure" d7562 1 a7562 1 if { (eval echo configure:7746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7579 1 a7579 1 echo "configure:7763: checking if defines S_IFSOCK" >&5 d7581 1 a7581 1 #line 7765 "configure" d7588 1 a7588 1 if { (eval echo configure:7772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7607 1 a7607 1 echo "configure:7791: checking if defines S_ISLNK" >&5 d7609 1 a7609 1 #line 7793 "configure" d7616 1 a7616 1 if { (eval echo configure:7800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7635 1 a7635 1 echo "configure:7819: checking if defines S_ISSOCK" >&5 d7637 1 a7637 1 #line 7821 "configure" d7644 1 a7644 1 if { (eval echo configure:7828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7663 1 a7663 1 echo "configure:7847: checking if timezone is defined" >&5 d7665 1 a7665 1 #line 7849 "configure" d7672 1 a7672 1 if { (eval echo configure:7856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7685 1 a7685 1 echo "configure:7869: checking for mode_t" >&5 d7690 1 a7690 1 #line 7874 "configure" d7718 1 a7718 1 echo "configure:7902: checking for pid_t" >&5 d7723 1 a7723 1 #line 7907 "configure" d7754 1 a7754 1 echo "configure:7938: checking for working alloca.h" >&5 d7759 1 a7759 1 #line 7943 "configure" d7766 1 a7766 1 if { (eval echo configure:7950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7787 1 a7787 1 echo "configure:7971: checking for alloca" >&5 d7792 1 a7792 1 #line 7976 "configure" d7820 1 a7820 1 if { (eval echo configure:8004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7852 1 a7852 1 echo "configure:8036: checking whether alloca needs Cray hooks" >&5 d7857 1 a7857 1 #line 8041 "configure" d7882 1 a7882 1 echo "configure:8066: checking for $ac_func" >&5 d7887 1 a7887 1 #line 8071 "configure" d7910 1 a7910 1 if { (eval echo configure:8094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7937 1 a7937 1 echo "configure:8121: checking stack direction for C alloca" >&5 d7945 1 a7945 1 #line 8129 "configure" d7964 1 a7964 1 if { (eval echo configure:8148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7986 1 a7986 1 echo "configure:8170: checking for vprintf" >&5 d7991 1 a7991 1 #line 8175 "configure" d8014 1 a8014 1 if { (eval echo configure:8198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8038 1 a8038 1 echo "configure:8222: checking for _doprnt" >&5 d8043 1 a8043 1 #line 8227 "configure" d8066 1 a8066 1 if { (eval echo configure:8250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8092 1 a8092 1 echo "configure:8276: checking for working fnmatch" >&5 d8103 1 a8103 1 #line 8287 "configure" d8107 1 a8107 1 if { (eval echo configure:8291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8141 1 a8141 1 echo "configure:8325: checking for $ac_func" >&5 d8146 1 a8146 1 #line 8330 "configure" d8169 1 a8169 1 if { (eval echo configure:8353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8193 1 a8193 1 for ac_func in stpcpy stpncpy strcspn d8196 1 a8196 1 echo "configure:8380: checking for $ac_func" >&5 d8201 1 a8201 1 #line 8385 "configure" d8224 1 a8224 1 if { (eval echo configure:8408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8251 1 a8251 1 echo "configure:8435: checking for $ac_func" >&5 d8256 1 a8256 1 #line 8440 "configure" d8279 1 a8279 1 if { (eval echo configure:8463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8307 1 a8307 1 echo "configure:8491: checking for $ac_func" >&5 d8312 1 a8312 1 #line 8496 "configure" d8335 1 a8335 1 if { (eval echo configure:8519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8369 1 a8369 1 echo "configure:8553: checking for $ac_func" >&5 d8374 1 a8374 1 #line 8558 "configure" d8397 1 a8397 1 if { (eval echo configure:8581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8427 1 a8427 1 echo "configure:8611: checking for GNU extensions to glob" >&5 d8435 1 a8435 1 #line 8619 "configure" d8447 1 a8447 1 if { (eval echo configure:8631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null a8474 122 withval=auto # Check whether --with-python or --without-python was given. if test "${with_python+set}" = set; then withval="$with_python" : fi if test $withval = auto ; then echo $ac_n "checking for python 1.5.2""... $ac_c" 1>&6 echo "configure:8669: checking for python 1.5.2" >&5 if test "$cross_compiling" = yes; then withval=no else cat > conftest.$ac_ext < main() { exit(strcmp("1.5.2", PY_VERSION)); } EOF if { (eval echo configure:8682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then withval=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* withval=no fi rm -fr conftest* fi echo "$ac_t""$withval" 1>&6 fi if test $withval = yes ; then WITH_PYTHON_SUBDIR=python WITH_PYTHON_SUBPACKAGE=1 else WITH_PYTHON_SUBDIR= WITH_PYTHON_SUBPACKAGE=0 fi # Extract the first word of "doxygen", so it can be a program name with args. set dummy doxygen; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:8710: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___DOXYGEN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__DOXYGEN" in /*) ac_cv_path___DOXYGEN="$__DOXYGEN" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___DOXYGEN="$__DOXYGEN" # 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___DOXYGEN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___DOXYGEN" && ac_cv_path___DOXYGEN="no" ;; esac fi __DOXYGEN="$ac_cv_path___DOXYGEN" if test -n "$__DOXYGEN"; then echo "$ac_t""$__DOXYGEN" 1>&6 else echo "$ac_t""no" 1>&6 fi withval=auto # Check whether --with-apidocs or --without-apidocs was given. if test "${with_apidocs+set}" = set; then withval="$with_apidocs" : fi if test $withval = auto -a $__DOXYGEN != no ; then withval=yes elif test $withval = yes -a $__DOXYGEN = no ; then { echo "configure: error: --> rpm API docs needs doxygen in PATH" 1>&2; exit 1; } fi if test $withval = yes; then WITH_APIDOCS_TARGET=apidocs WITH_APIDOCS=1 else WITH_APIDOCS=0 fi withval=no # Check whether --with-dmalloc or --without-dmalloc was given. if test "${with_dmalloc+set}" = set; then withval="$with_dmalloc" : fi if test $withval = yes ; then cat >> confdefs.h <<\EOF #define DMALLOC 1 EOF LIBS="$LIBS -ldmalloc" fi d8478 1 a8478 1 echo "configure:8784: checking for $ac_func" >&5 d8483 1 a8483 1 #line 8789 "configure" d8506 1 a8506 1 if { (eval echo configure:8812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8534 1 a8534 1 echo "configure:8840: checking for $ac_func" >&5 d8539 1 a8539 1 #line 8845 "configure" d8562 1 a8562 1 if { (eval echo configure:8868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8588 1 a8588 1 echo "configure:8894: checking for getmntent" >&5 d8593 1 a8593 1 #line 8899 "configure" d8616 1 a8616 1 if { (eval echo configure:8922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8638 1 a8638 1 echo "configure:8944: checking for mntctl" >&5 d8643 1 a8643 1 #line 8949 "configure" d8666 1 a8666 1 if { (eval echo configure:8972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8688 1 a8688 1 echo "configure:8994: checking for getmntinfo_r" >&5 d8693 1 a8693 1 #line 8999 "configure" d8716 1 a8716 1 if { (eval echo configure:9022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8738 1 a8738 1 echo "configure:9044: checking for getmntinfo_r in -lc_r" >&5 d8746 1 a8746 1 #line 9052 "configure" d8757 1 a8757 1 if { (eval echo configure:9063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8790 1 a8790 1 echo "configure:9096: checking for lchown" >&5 d8795 1 a8795 1 #line 9101 "configure" d8818 1 a8818 1 if { (eval echo configure:9124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8843 1 a8843 1 echo "configure:9149: checking whether chown() follows symlinks" >&5 d8871 1 a8871 1 echo "configure:9177: checking (cannot check by non-root user)" >&5 d8889 1 a8889 1 echo "configure:9195: checking root's primary group" >&5 d8895 1 a8895 1 #line 9201 "configure" d8924 1 a8924 1 if { (eval echo configure:9230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d9035 2 a9036 1 *86) RPMCANONARCH=i386 ;; a9038 2 ia64*) RPMCANONARCH=ia64 ;; s390*) RPMCANONARCH=s390 ;; d9050 3 a9052 5 unknown|pc|redhat|pld|mandrake|conectiva) test -f /etc/redhat-release && RPMCANONVENDOR=redhat test -f /etc/pld-release && RPMCANONVENDOR=pld test -f /etc/mandrake-release && RPMCANONVENDOR=mandrake test -f /etc/conectiva-release && RPMCANONVENDOR=conectiva a9084 1 a9090 8 MACROFILES="${RPMCONFIGDIR}/macros:${RPMCONFIGDIR}/%{_target_platform}/macros:${SYSCONFIGDIR}/macros:${SYSCONFIGDIR}/macros.specspo:${SYSCONFIGDIR}/macros.db1:${SYSCONFIGDIR}/%{_target_platform}/macros:~/.rpmmacros" cat >> confdefs.h <&5 d620 1 a620 1 echo "configure:623: checking target system type" >&5 d638 1 a638 1 echo "configure:641: checking build system type" >&5 d673 1 a673 1 echo "configure:676: checking for a BSD compatible install" >&5 d726 1 a726 1 echo "configure:729: checking whether build environment is sane" >&5 d783 1 a783 1 echo "configure:786: checking whether ${MAKE-make} sets \${MAKE}" >&5 d812 1 a812 1 VERSION=4.0.2 d829 1 a829 1 echo "configure:832: checking for working aclocal" >&5 d842 1 a842 1 echo "configure:845: checking for working autoconf" >&5 d855 1 a855 1 echo "configure:858: checking for working automake" >&5 d868 1 a868 1 echo "configure:871: checking for working autoheader" >&5 d881 1 a881 1 echo "configure:884: checking for working makeinfo" >&5 d926 1 a926 1 echo "configure:929: checking for $ac_word" >&5 d956 1 a956 1 echo "configure:959: checking for $ac_word" >&5 d1007 1 a1007 1 echo "configure:1010: checking for $ac_word" >&5 d1039 1 a1039 1 echo "configure:1042: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1050 1 a1050 1 #line 1053 "configure" d1055 1 a1055 1 if { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1081 1 a1081 1 echo "configure:1084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1086 1 a1086 1 echo "configure:1089: checking whether we are using GNU C" >&5 d1095 1 a1095 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1114 1 a1114 1 echo "configure:1117: checking whether ${CC-cc} accepts -g" >&5 d1150 1 a1150 1 echo "configure:1153: checking how to run the C preprocessor" >&5 d1165 1 a1165 1 #line 1168 "configure" d1171 1 a1171 1 { (eval echo configure:1174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1182 1 a1182 1 #line 1185 "configure" d1188 1 a1188 1 { (eval echo configure:1191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1199 1 a1199 1 #line 1202 "configure" d1205 1 a1205 1 { (eval echo configure:1208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1231 1 a1231 1 echo "configure:1234: checking whether ${CC-cc} needs -traditional" >&5 d1237 1 a1237 1 #line 1240 "configure" d1255 1 a1255 1 #line 1258 "configure" d1288 1 a1288 1 echo "configure:1291: checking for a BSD compatible install" >&5 d1344 1 a1344 1 echo "configure:1347: checking for $ac_word" >&5 d1380 1 a1380 1 echo "configure:1383: checking for $ac_word" >&5 d1415 1 a1415 1 echo "configure:1418: checking flag used by libtool to link rpm" >&5 d1418 3 a1420 4 *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-sysv5uw*) LDFLAGS_STATUS="-static";; # Unixware has no shared libthread. *-*-*) LDFLAGS_STATIC="-all-static";; d1424 7 a1430 7 *-*-linux*) LDFLAGS_STATIC="-all-static";; *-*-freebsd*) LDFLAGS_STATIC="-all-static";; *-*-osf*) LDFLAGS_STATIC="";; # OSF5 has no shared pthreads libs *-*-aix*) LDFLAGS_STATIC="-static";; # -Wl,-bnso doesn't seem to work... *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-irix*) LDFLAGS_STATIC="-static";; #should be -non_shared, but can't d1432 2 a1433 2 *-*-ultrix*) LDFLAGS_STATIC="-all-static";; #ultrix doesn't have shared libs. *-*-*) LDFLAGS_STATIC="-static" d1447 1 a1447 1 LDFLAGS_STATIC="${LDFLAGS} ${LDFLAGS_STATIC}" # libtool format d1452 1 a1452 1 echo "configure:1456: checking POSIX chmod" >&5 d1472 1 a1472 1 echo "configure:1476: checking for $ac_word" >&5 d1509 1 a1509 1 echo "configure:1513: checking if $MKDIR supports -p" >&5 d1543 1 a1543 1 echo "configure:1547: checking for AIX" >&5 d1545 1 a1545 1 #line 1549 "configure" d1568 1 a1568 1 echo "configure:1572: checking for minix/config.h" >&5 d1573 1 a1573 1 #line 1577 "configure" d1578 1 a1578 1 { (eval echo configure:1582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1616 1 a1616 1 echo "configure:1620: checking for POSIXized ISC" >&5 d1641 1 a1641 1 echo "configure:1645: checking for ${CC-cc} option to accept ANSI C" >&5 d1657 1 a1657 1 #line 1661 "configure" d1694 1 a1694 1 if { (eval echo configure:1698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1720 1 a1720 1 echo "configure:1724: checking for function prototypes" >&5 d1733 1 a1733 1 echo "configure:1737: checking for ANSI C header files" >&5 d1738 1 a1738 1 #line 1742 "configure" d1746 1 a1746 1 { (eval echo configure:1750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1763 1 a1763 1 #line 1767 "configure" d1781 1 a1781 1 #line 1785 "configure" d1802 1 a1802 1 #line 1806 "configure" d1813 1 a1813 1 if { (eval echo configure:1817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1840 1 a1840 1 echo "configure:1844: checking for $ac_hdr" >&5 d1845 1 a1845 1 #line 1849 "configure" d1850 1 a1850 1 { (eval echo configure:1854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1884 1 a1884 1 echo "configure:1888: checking for $ac_word" >&5 d1914 1 a1914 1 echo "configure:1918: checking whether ln -s works" >&5 d1935 1 a1935 1 echo "configure:1939: checking whether ${MAKE-make} sets \${MAKE}" >&5 d2034 1 a2034 1 echo "configure:2038: checking for $ac_word" >&5 d2073 1 a2073 1 echo "configure:2077: checking for ld used by GCC" >&5 d2097 1 a2097 1 echo "configure:2101: checking for GNU ld" >&5 d2100 1 a2100 1 echo "configure:2104: checking for non-GNU ld" >&5 d2135 1 a2135 1 echo "configure:2139: checking if the linker ($LD) is GNU ld" >&5 d2151 1 a2151 1 echo "configure:2155: checking for BSD-compatible nm" >&5 d2220 2 a2221 2 echo '#line 2224 "configure"' > conftest.$ac_ext if { (eval echo configure:2225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2242 1 a2242 1 echo "configure:2246: checking whether the C compiler needs -belf" >&5 d2247 1 a2247 1 #line 2251 "configure" d2254 1 a2254 1 if { (eval echo configure:2258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d2365 1 a2365 1 echo "configure:2369: checking for $ac_word" >&5 d2397 1 a2397 1 echo "configure:2401: checking for $ac_word" >&5 d2436 1 a2436 1 echo "configure:2440: checking for $ac_word" >&5 d2472 1 a2472 1 echo "configure:2476: checking for $ac_word" >&5 d2508 1 a2508 1 echo "configure:2512: checking for $ac_word" >&5 d2544 1 a2544 1 echo "configure:2548: checking for $ac_word" >&5 d2580 1 a2580 1 echo "configure:2584: checking for $ac_word" >&5 d2616 1 a2616 1 echo "configure:2620: checking for $ac_word" >&5 d2652 1 a2652 1 echo "configure:2656: checking for $ac_word" >&5 d2688 1 a2688 1 echo "configure:2692: checking for $ac_word" >&5 d2724 1 a2724 1 echo "configure:2728: checking for $ac_word" >&5 d2760 1 a2760 1 echo "configure:2764: checking for $ac_word" >&5 d2797 1 a2797 1 echo "configure:2801: checking for $ac_word" >&5 d2831 1 a2831 1 echo "configure:2835: checking checking whether id supports -u" >&5 d2844 1 a2844 1 echo "configure:2848: checking for $ac_word" >&5 d2880 1 a2880 1 echo "configure:2884: checking for $ac_word" >&5 d2916 1 a2916 1 echo "configure:2920: checking for $ac_word" >&5 d2952 1 a2952 1 echo "configure:2956: checking for $ac_word" >&5 d2988 1 a2988 1 echo "configure:2992: checking for $ac_word" >&5 d3022 1 a3022 1 echo "configure:3026: checking old version of patch" >&5 d3038 1 a3038 1 echo "configure:3042: checking for $ac_word" >&5 d3074 1 a3074 1 echo "configure:3078: checking for $ac_word" >&5 d3110 1 a3110 1 echo "configure:3114: checking for $ac_word" >&5 d3146 1 a3146 1 echo "configure:3150: checking for $ac_word" >&5 d3182 1 a3182 1 echo "configure:3186: checking for $ac_word" >&5 d3218 1 a3218 1 echo "configure:3222: checking for $ac_word" >&5 d3254 1 a3254 1 echo "configure:3258: checking for $ac_word" >&5 d3290 1 a3290 1 echo "configure:3294: checking for $ac_word" >&5 d3327 1 a3327 1 echo "configure:3331: checking for $ac_word" >&5 d3363 1 a3363 1 echo "configure:3367: checking for $ac_word" >&5 d3399 1 a3399 1 echo "configure:3403: checking for $ac_word" >&5 d3435 1 a3435 1 echo "configure:3439: checking for $ac_word" >&5 d3471 1 a3471 1 echo "configure:3475: checking for $ac_word" >&5 d3527 1 a3527 1 echo "configure:3531: checking for $dir/lib in LIBS" >&5 d3536 1 a3536 1 echo "configure:3540: checking for $dir/include in INCPATH" >&5 d3546 1 a3546 1 echo "configure:3550: checking for /usr/ucblib in LIBS" >&5 d3562 1 a3562 1 echo "configure:3566: checking if you want experimental rpm-5.0 packages" >&5 d3579 1 a3579 1 echo "configure:3583: checking for setreuid" >&5 d3584 1 a3584 1 #line 3588 "configure" d3607 1 a3607 1 if { (eval echo configure:3611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3626 1 a3626 1 echo "configure:3630: checking for setreuid in -lucb" >&5 d3634 1 a3634 1 #line 3638 "configure" d3645 1 a3645 1 if { (eval echo configure:3649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3670 1 a3670 1 echo "configure:3674: checking for rand" >&5 d3675 1 a3675 1 #line 3679 "configure" d3698 1 a3698 1 if { (eval echo configure:3702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3717 1 a3717 1 echo "configure:3721: checking for rand in -lrand" >&5 d3725 1 a3725 1 #line 3729 "configure" d3736 1 a3736 1 if { (eval echo configure:3740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3761 1 a3761 1 echo "configure:3765: checking for getdomainname" >&5 d3766 1 a3766 1 #line 3770 "configure" d3789 1 a3789 1 if { (eval echo configure:3793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3808 1 a3808 1 echo "configure:3812: checking for getdomainname in -lnsl" >&5 d3816 1 a3816 1 #line 3820 "configure" d3827 1 a3827 1 if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3851 1 a3851 1 echo "configure:3855: checking for socket" >&5 d3856 1 a3856 1 #line 3860 "configure" d3879 1 a3879 1 if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3898 1 a3898 1 echo "configure:3902: checking for socket in -lsocket" >&5 d3906 1 a3906 1 #line 3910 "configure" d3917 1 a3917 1 if { (eval echo configure:3921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3942 1 a3942 1 echo "configure:3946: checking for fchmod" >&5 d3947 1 a3947 1 #line 3951 "configure" d3970 1 a3970 1 if { (eval echo configure:3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3991 1 a3991 1 echo "configure:3995: checking for writev in -lport" >&5 d3999 1 a3999 1 #line 4003 "configure" d4010 1 a4010 1 if { (eval echo configure:4014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4038 1 a4038 1 libthread="" d4040 1 a4040 1 echo "configure:4044: checking for pthread_mutex_trylock in -lpthread" >&5 d4048 1 a4048 1 #line 4052 "configure" d4059 1 a4059 86 if { (eval echo configure:4063: \"$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* 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 libthread="-lpthread" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for __pthread_mutex_trylock in -lpthread""... $ac_c" 1>&6 echo "configure:4083: checking for __pthread_mutex_trylock in -lpthread" >&5 ac_lib_var=`echo pthread'_'__pthread_mutex_trylock | 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="-lpthread $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 libthread="-lpthread" else echo "$ac_t""no" 1>&6 fi fi if test "x$libthread" = "x"; then # Try in libthread too. echo $ac_n "checking for mutex_lock in -lthread""... $ac_c" 1>&6 echo "configure:4129: checking for mutex_lock in -lthread" >&5 ac_lib_var=`echo thread'_'mutex_lock | 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="-lthread $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4074 1 a4074 1 libthread="-lthread" a4078 1 fi a4083 1 d4085 1 a4085 1 echo "configure:4176: checking for db_create" >&5 d4090 1 a4090 1 #line 4181 "configure" d4113 1 a4113 1 if { (eval echo configure:4204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4131 1 a4131 1 echo "configure:4222: checking for db_create in -ldb-3.1" >&5 d4137 1 a4137 1 LIBS="-ldb-3.1 $libthread $LIBS" d4139 1 a4139 1 #line 4230 "configure" d4150 1 a4150 1 if { (eval echo configure:4241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4169 1 a4169 1 echo "configure:4260: checking for db_create in -ldb-3.0" >&5 d4175 1 a4175 1 LIBS="-ldb-3.0 $libthread $LIBS" d4177 1 a4177 1 #line 4268 "configure" d4188 1 a4188 1 if { (eval echo configure:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4207 1 a4207 1 echo "configure:4298: checking for db_create in -ldb" >&5 d4213 1 a4213 1 LIBS="-ldb $libthread $LIBS" d4215 1 a4215 1 #line 4306 "configure" d4226 1 a4226 1 if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4257 2 a4258 27 echo $ac_n "checking whether to enable DB1 support""... $ac_c" 1>&6 echo "configure:4350: checking whether to enable DB1 support" >&5 # Check whether --enable-db1 or --disable-db1 was given. if test "${enable_db1+set}" = set; then enableval="$enable_db1" if test "$enableval" = "yes"; then echo "$ac_t""yes" 1>&6 usedb1=yes else echo "$ac_t""no" 1>&6 usedb1=no fi else echo "$ac_t""yes" 1>&6 usedb1=yes fi if test "$usedb1" = "yes"; then echo $ac_n "checking for dbopen""... $ac_c" 1>&6 echo "configure:4374: checking for dbopen" >&5 d4263 1 a4263 1 #line 4379 "configure" d4286 1 a4286 1 if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4304 1 a4304 1 echo "configure:4420: checking for dbopen in -ldb1" >&5 d4312 1 a4312 1 #line 4428 "configure" d4323 1 a4323 1 if { (eval echo configure:4439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4342 1 a4342 1 echo "configure:4458: checking for dbopen in -ldb" >&5 d4350 1 a4350 1 #line 4466 "configure" d4361 1 a4361 1 if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4381 1 a4381 1 d4384 1 a4384 1 a4386 1 fi d4392 3 a4394 3 if test -n "$libdb3" -a -n "$libthread" ; then echo $ac_n "checking whether $libdb3 needs $libthread""... $ac_c" 1>&6 echo "configure:4511: checking whether $libdb3 needs $libthread" >&5 d4398 1 a4398 1 #line 4515 "configure" d4409 1 a4409 1 if { (eval echo configure:4526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4416 1 a4416 1 libdb3="$libdb3 $libthread"; echo "$ac_t""yes" 1>&6 d4448 1 a4448 1 echo "configure:4565: checking for fork" >&5 d4453 1 a4453 1 #line 4570 "configure" d4476 1 a4476 1 if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4508 1 a4508 1 echo "configure:4625: checking for gzread in -l${zlib}" >&5 d4516 1 a4516 1 #line 4633 "configure" d4527 1 a4527 1 if { (eval echo configure:4644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4554 1 a4554 1 echo "configure:4671: checking for gzseek in -l${zlib}" >&5 d4562 1 a4562 1 #line 4679 "configure" d4573 1 a4573 1 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4598 1 a4598 1 echo "configure:4715: checking for bzread in -lbz2" >&5 d4606 1 a4606 1 #line 4723 "configure" d4617 1 a4617 1 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4636 1 a4636 1 echo "configure:4753: checking for BZ2_bzread in -lbz2" >&5 d4644 1 a4644 1 #line 4761 "configure" d4655 1 a4655 1 if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4689 1 a4689 1 echo "configure:4806: checking for $ac_func" >&5 d4694 1 a4694 1 #line 4811 "configure" d4717 1 a4717 1 if { (eval echo configure:4834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4743 1 a4743 1 echo "configure:4860: checking for error_at_line" >&5 d4748 1 a4748 1 #line 4865 "configure" d4755 1 a4755 1 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4775 1 a4775 1 echo "configure:4892: checking for working const" >&5 d4780 1 a4780 1 #line 4897 "configure" d4829 1 a4829 1 if { (eval echo configure:4946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4850 1 a4850 1 echo "configure:4967: checking for inline" >&5 d4857 1 a4857 1 #line 4974 "configure" d4864 1 a4864 1 if { (eval echo configure:4981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4890 1 a4890 1 echo "configure:5007: checking for off_t" >&5 d4895 1 a4895 1 #line 5012 "configure" d4923 1 a4923 1 echo "configure:5040: checking for size_t" >&5 d4928 1 a4928 1 #line 5045 "configure" d4958 1 a4958 1 echo "configure:5075: checking for working alloca.h" >&5 d4963 1 a4963 1 #line 5080 "configure" d4970 1 a4970 1 if { (eval echo configure:5087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4991 1 a4991 1 echo "configure:5108: checking for alloca" >&5 d4996 1 a4996 1 #line 5113 "configure" d5024 1 a5024 1 if { (eval echo configure:5141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5056 1 a5056 1 echo "configure:5173: checking whether alloca needs Cray hooks" >&5 d5061 1 a5061 1 #line 5178 "configure" d5086 1 a5086 1 echo "configure:5203: checking for $ac_func" >&5 d5091 1 a5091 1 #line 5208 "configure" d5114 1 a5114 1 if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5141 1 a5141 1 echo "configure:5258: checking stack direction for C alloca" >&5 d5149 1 a5149 1 #line 5266 "configure" d5168 1 a5168 1 if { (eval echo configure:5285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5193 1 a5193 1 echo "configure:5310: checking for $ac_hdr" >&5 d5198 1 a5198 1 #line 5315 "configure" d5203 1 a5203 1 { (eval echo configure:5320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5232 1 a5232 1 echo "configure:5349: checking for $ac_func" >&5 d5237 1 a5237 1 #line 5354 "configure" d5260 1 a5260 1 if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5285 1 a5285 1 echo "configure:5402: checking for working mmap" >&5 d5293 1 a5293 1 #line 5410 "configure" d5433 1 a5433 1 if { (eval echo configure:5550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5461 1 a5461 1 echo "configure:5578: checking for $ac_hdr" >&5 d5466 1 a5466 1 #line 5583 "configure" d5471 1 a5471 1 { (eval echo configure:5588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5501 1 a5501 1 echo "configure:5618: checking for $ac_func" >&5 d5506 1 a5506 1 #line 5623 "configure" d5529 1 a5529 1 if { (eval echo configure:5646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5558 1 a5558 1 echo "configure:5675: checking for $ac_func" >&5 d5563 1 a5563 1 #line 5680 "configure" d5586 1 a5586 1 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5620 1 a5620 1 echo "configure:5737: checking for LC_MESSAGES" >&5 d5625 1 a5625 1 #line 5742 "configure" d5632 1 a5632 1 if { (eval echo configure:5749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5653 1 a5653 1 echo "configure:5770: checking whether NLS is requested" >&5 d5673 1 a5673 1 echo "configure:5790: checking whether included gettext is requested" >&5 d5692 1 a5692 1 echo "configure:5809: checking for libintl.h" >&5 d5697 1 a5697 1 #line 5814 "configure" d5702 1 a5702 1 { (eval echo configure:5819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5719 1 a5719 1 echo "configure:5836: checking for gettext in libc" >&5 d5724 1 a5724 1 #line 5841 "configure" d5731 1 a5731 1 if { (eval echo configure:5848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5747 1 a5747 1 echo "configure:5864: checking for bindtextdomain in -lintl" >&5 d5755 1 a5755 1 #line 5872 "configure" d5766 1 a5766 1 if { (eval echo configure:5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5782 1 a5782 1 echo "configure:5899: checking for gettext in libintl" >&5 d5787 1 a5787 1 echo "configure:5904: checking for gettext in -lintl" >&5 d5795 1 a5795 1 #line 5912 "configure" d5806 1 a5806 1 if { (eval echo configure:5923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5845 1 a5845 1 echo "configure:5962: checking for $ac_word" >&5 d5879 1 a5879 1 echo "configure:5996: checking for $ac_func" >&5 d5884 1 a5884 1 #line 6001 "configure" d5907 1 a5907 1 if { (eval echo configure:6024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5934 1 a5934 1 echo "configure:6051: checking for $ac_word" >&5 d5970 1 a5970 1 echo "configure:6087: checking for $ac_word" >&5 d6002 1 a6002 1 #line 6119 "configure" d6010 1 a6010 1 if { (eval echo configure:6127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6033 1 a6033 1 echo "configure:6150: checking whether catgets can be used" >&5 d6046 1 a6046 1 echo "configure:6163: checking for main in -li" >&5 d6054 1 a6054 1 #line 6171 "configure" d6061 1 a6061 1 if { (eval echo configure:6178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6089 1 a6089 1 echo "configure:6206: checking for catgets" >&5 d6094 1 a6094 1 #line 6211 "configure" d6117 1 a6117 1 if { (eval echo configure:6234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6139 1 a6139 1 echo "configure:6256: checking for $ac_word" >&5 d6175 1 a6175 1 echo "configure:6292: checking for $ac_word" >&5 d6212 1 a6212 1 echo "configure:6329: checking for $ac_word" >&5 d6247 1 a6247 1 echo "configure:6364: checking for $ac_word" >&5 d6305 1 a6305 1 echo "configure:6422: checking for $ac_word" >&5 d6339 1 a6339 1 echo "configure:6456: checking for $ac_word" >&5 d6375 1 a6375 1 echo "configure:6492: checking for $ac_word" >&5 d6468 1 a6468 1 echo "configure:6585: checking for catalogs to be installed" >&5 d6496 1 a6496 1 echo "configure:6613: checking for linux/version.h" >&5 d6501 1 a6501 1 #line 6618 "configure" d6506 1 a6506 1 { (eval echo configure:6623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6575 1 a6575 1 echo "configure:6692: checking for ANSI C header files" >&5 d6580 1 a6580 1 #line 6697 "configure" d6588 1 a6588 1 { (eval echo configure:6705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6605 1 a6605 1 #line 6722 "configure" d6623 1 a6623 1 #line 6740 "configure" d6644 1 a6644 1 #line 6761 "configure" d6655 1 a6655 1 if { (eval echo configure:6772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6679 1 a6679 1 echo "configure:6796: checking whether sys/types.h defines makedev" >&5 d6684 1 a6684 1 #line 6801 "configure" d6691 1 a6691 1 if { (eval echo configure:6808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6709 1 a6709 1 echo "configure:6826: checking for sys/mkdev.h" >&5 d6714 1 a6714 1 #line 6831 "configure" d6719 1 a6719 1 { (eval echo configure:6836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6747 1 a6747 1 echo "configure:6864: checking for sys/sysmacros.h" >&5 d6752 1 a6752 1 #line 6869 "configure" d6757 1 a6757 1 { (eval echo configure:6874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6789 1 a6789 1 echo "configure:6906: checking for $ac_hdr that defines DIR" >&5 d6794 1 a6794 1 #line 6911 "configure" d6802 1 a6802 1 if { (eval echo configure:6919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6827 1 a6827 1 echo "configure:6944: checking for opendir in -ldir" >&5 d6835 1 a6835 1 #line 6952 "configure" d6846 1 a6846 1 if { (eval echo configure:6963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6868 1 a6868 1 echo "configure:6985: checking for opendir in -lx" >&5 d6876 1 a6876 1 #line 6993 "configure" d6887 1 a6887 1 if { (eval echo configure:7004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6910 1 a6910 1 echo "configure:7027: checking whether time.h and sys/time.h may both be included" >&5 d6915 1 a6915 1 #line 7032 "configure" d6924 1 a6924 1 if { (eval echo configure:7041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6949 1 a6949 1 echo "configure:7066: checking for $ac_hdr" >&5 d6954 1 a6954 1 #line 7071 "configure" d6959 1 a6959 1 { (eval echo configure:7076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6989 1 a6989 1 echo "configure:7106: checking for $ac_hdr" >&5 d6994 1 a6994 1 #line 7111 "configure" d6999 1 a6999 1 { (eval echo configure:7116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7030 1 a7030 1 echo "configure:7147: checking for $ac_hdr" >&5 d7035 1 a7035 1 #line 7152 "configure" d7040 1 a7040 1 { (eval echo configure:7157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7070 1 a7070 1 echo "configure:7187: checking for $ac_hdr" >&5 d7075 1 a7075 1 #line 7192 "configure" d7080 1 a7080 1 { (eval echo configure:7197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7110 1 a7110 1 echo "configure:7227: checking for $ac_hdr" >&5 d7115 1 a7115 1 #line 7232 "configure" d7120 1 a7120 1 { (eval echo configure:7237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7151 1 a7151 1 echo "configure:7268: checking for $ac_hdr" >&5 d7156 1 a7156 1 #line 7273 "configure" d7161 1 a7161 1 { (eval echo configure:7278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7191 1 a7191 1 echo "configure:7308: checking for $ac_hdr" >&5 d7196 1 a7196 1 #line 7313 "configure" d7201 1 a7201 1 { (eval echo configure:7318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7231 1 a7231 1 echo "configure:7348: checking for $ac_hdr" >&5 d7236 1 a7236 1 #line 7353 "configure" d7241 1 a7241 1 { (eval echo configure:7358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7271 1 a7271 1 echo "configure:7388: checking for $ac_hdr" >&5 d7276 1 a7276 1 #line 7393 "configure" d7281 1 a7281 1 { (eval echo configure:7398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7311 1 a7311 1 echo "configure:7428: checking for $ac_hdr" >&5 d7316 1 a7316 1 #line 7433 "configure" d7321 1 a7321 1 { (eval echo configure:7438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7351 1 a7351 1 echo "configure:7468: checking for $ac_hdr" >&5 d7356 1 a7356 1 #line 7473 "configure" d7361 1 a7361 1 { (eval echo configure:7478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7392 1 a7392 1 echo "configure:7509: checking for $ac_hdr" >&5 d7397 1 a7397 1 #line 7514 "configure" d7402 1 a7402 1 { (eval echo configure:7519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7443 1 a7443 1 echo "configure:7560: checking for $ac_hdr" >&5 d7448 1 a7448 1 #line 7565 "configure" d7453 1 a7453 1 { (eval echo configure:7570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7481 1 a7481 1 echo "configure:7598: checking for struct statfs" >&5 d7486 1 a7486 1 #line 7603 "configure" d7497 1 a7497 1 if { (eval echo configure:7614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7514 1 a7514 1 #line 7631 "configure" d7525 1 a7525 1 if { (eval echo configure:7642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7542 1 a7542 1 #line 7659 "configure" d7556 1 a7556 1 if { (eval echo configure:7673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7573 1 a7573 1 #line 7690 "configure" d7584 1 a7584 1 if { (eval echo configure:7701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7605 1 a7605 1 echo "configure:7722: checking for f_bavail member in struct statfs" >&5 d7607 1 a7607 1 #line 7724 "configure" d7631 1 a7631 1 if { (eval echo configure:7748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7650 1 a7650 1 echo "configure:7767: checking if statfs() requires 4 arguments" >&5 d7656 1 a7656 1 #line 7773 "configure" d7675 1 a7675 1 if { (eval echo configure:7792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7694 1 a7694 1 echo "configure:7811: checking for inline" >&5 d7701 1 a7701 1 #line 7818 "configure" d7708 1 a7708 1 if { (eval echo configure:7825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7736 1 a7736 1 echo "configure:7853: checking if defines h_errno" >&5 d7738 1 a7738 1 #line 7855 "configure" d7745 1 a7745 1 if { (eval echo configure:7862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7762 1 a7762 1 echo "configure:7879: checking if defines S_IFSOCK" >&5 d7764 1 a7764 1 #line 7881 "configure" d7771 1 a7771 1 if { (eval echo configure:7888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7790 1 a7790 1 echo "configure:7907: checking if defines S_ISLNK" >&5 d7792 1 a7792 1 #line 7909 "configure" d7799 1 a7799 1 if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7818 1 a7818 1 echo "configure:7935: checking if defines S_ISSOCK" >&5 d7820 1 a7820 1 #line 7937 "configure" d7827 1 a7827 1 if { (eval echo configure:7944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7846 1 a7846 1 echo "configure:7963: checking if timezone is defined" >&5 d7848 1 a7848 1 #line 7965 "configure" d7855 1 a7855 1 if { (eval echo configure:7972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7868 1 a7868 1 echo "configure:7985: checking for mode_t" >&5 d7873 1 a7873 1 #line 7990 "configure" d7901 1 a7901 1 echo "configure:8018: checking for pid_t" >&5 d7906 1 a7906 1 #line 8023 "configure" d7937 1 a7937 1 echo "configure:8054: checking for working alloca.h" >&5 d7942 1 a7942 1 #line 8059 "configure" d7949 1 a7949 1 if { (eval echo configure:8066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7970 1 a7970 1 echo "configure:8087: checking for alloca" >&5 d7975 1 a7975 1 #line 8092 "configure" d8003 1 a8003 1 if { (eval echo configure:8120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8035 1 a8035 1 echo "configure:8152: checking whether alloca needs Cray hooks" >&5 d8040 1 a8040 1 #line 8157 "configure" d8065 1 a8065 1 echo "configure:8182: checking for $ac_func" >&5 d8070 1 a8070 1 #line 8187 "configure" d8093 1 a8093 1 if { (eval echo configure:8210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8120 1 a8120 1 echo "configure:8237: checking stack direction for C alloca" >&5 d8128 1 a8128 1 #line 8245 "configure" d8147 1 a8147 1 if { (eval echo configure:8264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8169 1 a8169 1 echo "configure:8286: checking for vprintf" >&5 d8174 1 a8174 1 #line 8291 "configure" d8197 1 a8197 1 if { (eval echo configure:8314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8221 1 a8221 1 echo "configure:8338: checking for _doprnt" >&5 d8226 1 a8226 1 #line 8343 "configure" d8249 1 a8249 1 if { (eval echo configure:8366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8275 1 a8275 1 echo "configure:8392: checking for working fnmatch" >&5 d8286 1 a8286 1 #line 8403 "configure" d8290 1 a8290 1 if { (eval echo configure:8407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8324 1 a8324 1 echo "configure:8441: checking for $ac_func" >&5 d8329 1 a8329 1 #line 8446 "configure" d8352 1 a8352 1 if { (eval echo configure:8469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8379 1 a8379 1 echo "configure:8496: checking for $ac_func" >&5 d8384 1 a8384 1 #line 8501 "configure" d8407 1 a8407 1 if { (eval echo configure:8524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8434 1 a8434 1 echo "configure:8551: checking for $ac_func" >&5 d8439 1 a8439 1 #line 8556 "configure" d8462 1 a8462 1 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8490 1 a8490 1 echo "configure:8607: checking for $ac_func" >&5 d8495 1 a8495 1 #line 8612 "configure" d8518 1 a8518 1 if { (eval echo configure:8635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8552 1 a8552 1 echo "configure:8669: checking for $ac_func" >&5 d8557 1 a8557 1 #line 8674 "configure" d8580 1 a8580 1 if { (eval echo configure:8697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8610 1 a8610 1 echo "configure:8727: checking for GNU extensions to glob" >&5 d8618 1 a8618 1 #line 8735 "configure" d8630 1 a8630 1 if { (eval echo configure:8747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8668 1 a8668 1 echo "configure:8785: checking for python 1.5.2" >&5 d8673 1 a8673 1 #line 8790 "configure" d8681 1 a8681 1 if { (eval echo configure:8798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8709 1 a8709 1 echo "configure:8826: checking for $ac_word" >&5 d8783 1 a8783 1 echo "configure:8900: checking for $ac_func" >&5 d8788 1 a8788 1 #line 8905 "configure" d8811 1 a8811 1 if { (eval echo configure:8928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8839 1 a8839 1 echo "configure:8956: checking for $ac_func" >&5 d8844 1 a8844 1 #line 8961 "configure" d8867 1 a8867 1 if { (eval echo configure:8984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8893 1 a8893 1 echo "configure:9010: checking for getmntent" >&5 d8898 1 a8898 1 #line 9015 "configure" d8921 1 a8921 1 if { (eval echo configure:9038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8943 1 a8943 1 echo "configure:9060: checking for mntctl" >&5 d8948 1 a8948 1 #line 9065 "configure" d8971 1 a8971 1 if { (eval echo configure:9088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8993 1 a8993 1 echo "configure:9110: checking for getmntinfo_r" >&5 d8998 1 a8998 1 #line 9115 "configure" d9021 1 a9021 1 if { (eval echo configure:9138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9043 1 a9043 1 echo "configure:9160: checking for getmntinfo_r in -lc_r" >&5 d9051 1 a9051 1 #line 9168 "configure" d9062 1 a9062 1 if { (eval echo configure:9179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9084 1 a9084 6 cat >> confdefs.h <<\EOF #define USE_GETMNTENT 1 EOF LIBOBJS="$LIBOBJS getmntent.o" d9095 1 a9095 1 echo "configure:9217: checking for lchown" >&5 d9100 1 a9100 1 #line 9222 "configure" d9123 1 a9123 1 if { (eval echo configure:9245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9148 1 a9148 1 echo "configure:9270: checking whether chown() follows symlinks" >&5 d9176 1 a9176 1 echo "configure:9298: checking (cannot check by non-root user)" >&5 d9194 1 a9194 1 echo "configure:9316: checking root's primary group" >&5 d9200 1 a9200 1 #line 9322 "configure" d9229 1 a9229 1 if { (eval echo configure:9351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d9245 2 a9246 11 # For /usr and /usr/local, we want the 'var' directory to go # in /var and /var/local respectively. For everything else, # just put the 'var' directory in prefix/var. case $prefix in /usr | /usr/local ) varprefix=`echo $prefix | sed 's/usr/var/'` ;; NONE) varprefix=`echo $ac_default_prefix | sed 's/usr/var/'` ;; *) varprefix=$prefix/var ;; esac @ 1.1.1.17 log @Import: RPM 4.0.3 @ text @a21 158 # Find the correct PATH separator. Usually this is `:', but # DJGPP uses `;' like DOS. if test "X${PATH_SEPARATOR+set}" != Xset; then UNAME=${UNAME-`uname 2>/dev/null`} case X$UNAME in *-DOS) lt_cv_sys_path_separator=';' ;; *) lt_cv_sys_path_separator=':' ;; esac fi # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null && echo_test_string="`eval $cmd`" && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}" for dir in $PATH /usr/ucb; do if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi d25 1 a25 1 --with-pic try to use only PIC/non-PIC objects [default=use both]" d27 1 a27 3 --without-db do not use internal Berkeley db" ac_help="$ac_help --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib" d33 2 d484 1 a484 1 ac_unique_file=rpmqv.c d601 1 a601 1 echo "configure:760: checking host system type" >&5 d622 1 a622 1 echo "configure:781: checking target system type" >&5 d640 1 a640 1 echo "configure:799: checking build system type" >&5 d675 1 a675 1 echo "configure:834: checking for a BSD compatible install" >&5 d728 1 a728 1 echo "configure:887: checking whether build environment is sane" >&5 d785 1 a785 1 echo "configure:944: checking whether ${MAKE-make} sets \${MAKE}" >&5 d814 1 a814 1 VERSION=4.0.3 d831 1 a831 1 echo "configure:990: checking for working aclocal" >&5 d844 1 a844 1 echo "configure:1003: checking for working autoconf" >&5 d857 1 a857 1 echo "configure:1016: checking for working automake" >&5 d870 1 a870 1 echo "configure:1029: checking for working autoheader" >&5 d883 1 a883 1 echo "configure:1042: checking for working makeinfo" >&5 d902 1 a902 1 ALL_LINGUAS="cs da de en_RN es eu_ES fi fr gl hu id is it ja ko no pl pt pt_BR ro ru sk sl sr sv tr uk wa zh zh_CN.GB2312" d906 19 d928 1 a928 1 echo "configure:1068: checking for $ac_word" >&5 d958 1 a958 1 echo "configure:1098: checking for $ac_word" >&5 d1009 1 a1009 1 echo "configure:1149: checking for $ac_word" >&5 d1041 1 a1041 1 echo "configure:1181: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d1052 1 a1052 1 #line 1192 "configure" d1057 1 a1057 1 if { (eval echo configure:1197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1083 1 a1083 1 echo "configure:1223: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d1088 1 a1088 1 echo "configure:1228: checking whether we are using GNU C" >&5 d1097 1 a1097 1 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d1116 1 a1116 1 echo "configure:1256: checking whether ${CC-cc} accepts -g" >&5 d1147 4 d1152 1 a1152 1 echo "configure:1288: checking how to run the C preprocessor" >&5 d1167 1 a1167 1 #line 1303 "configure" d1173 1 a1173 1 { (eval echo configure:1309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1184 1 a1184 1 #line 1320 "configure" d1190 1 a1190 1 { (eval echo configure:1326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1201 1 a1201 1 #line 1337 "configure" d1207 1 a1207 1 { (eval echo configure:1343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d1231 9 a1239 4 echo $ac_n "checking for AIX""... $ac_c" 1>&6 echo "configure:1368: checking for AIX" >&5 cat > conftest.$ac_ext </dev/null 2>&1; then d1247 1 a1247 4 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF #define _ALL_SOURCE 1 EOF d1250 1 a1250 1 echo "$ac_t""no" 1>&6 d1255 3 a1257 8 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 echo "configure:1393: 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 < d1262 2 a1263 4 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:1403: \"$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 d1265 1 a1265 7 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" d1268 8 d1277 17 a1293 3 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 MINIX=yes d1295 36 a1330 2 echo "$ac_t""no" 1>&6 MINIX= d1332 1 d1334 3 a1336 4 if test "$MINIX" = yes; then cat >> confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF d1338 1 a1338 3 cat >> confdefs.h <<\EOF #define _POSIX_1_SOURCE 2 EOF d1340 1 a1340 3 cat >> confdefs.h <<\EOF #define _MINIX 1 EOF a1341 1 fi d1343 2 a1344 4 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 d1346 2 a1347 2 echo "configure:1445: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then d1350 8 a1357 3 if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else d1360 1 a1360 1 for ac_dir in $ac_dummy; do d1363 1 a1363 1 ac_cv_prog_CXX="$ac_prog" d1368 3 d1372 3 a1374 4 fi CXX="$ac_cv_prog_CXX" if test -n "$CXX"; then echo "$ac_t""$CXX" 1>&6 d1379 6 a1384 30 test -n "$CXX" && break done test -n "$CXX" || CXX="gcc" echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 echo "configure:1477: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext << EOF #line 1488 "configure" #include "confdefs.h" int main(){return(0);} EOF if { (eval echo configure:1493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cxx_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then ac_cv_prog_cxx_cross=no else ac_cv_prog_cxx_cross=yes fi d1386 27 a1412 3 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_prog_cxx_works=no a1413 7 rm -fr conftest* ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross a1414 8 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 if test $ac_cv_prog_cxx_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 ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 echo "configure:1519: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 cross_compiling=$ac_cv_prog_cxx_cross d1416 30 a1445 4 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 echo "configure:1524: checking whether we are using GNU C++" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d1447 2 a1448 10 cat > conftest.C <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gxx=yes else ac_cv_prog_gxx=no fi d1450 2 a1452 1 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 d1454 10 a1463 2 if test $ac_cv_prog_gxx = yes; then GXX=yes d1465 2 a1466 1 GXX= d1469 8 a1476 6 ac_test_CXXFLAGS="${CXXFLAGS+set}" ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS= echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 echo "configure:1552: checking whether ${CXX-g++} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then d1479 24 a1502 3 echo 'void f(){}' > conftest.cc if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then ac_cv_prog_cxx_g=yes d1504 1 a1504 1 ac_cv_prog_cxx_g=no a1505 1 rm -f conftest* d1507 24 d1533 3 a1535 9 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS="$ac_save_CXXFLAGS" elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi d1537 1 a1537 5 if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi d1539 4 d1544 5 a1548 11 for ac_declaration in \ ''\ '#include ' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat > conftest.$ac_ext < $ac_declaration int main() { exit (42); ; return 0; } d1555 2 a1556 5 if { (eval echo configure:1601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d1558 2 a1559 10 continue fi rm -f conftest* cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then d1564 1 a1564 4 break else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 a1566 6 done if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi d1569 4 a1572 15 AS=${AS-as} if test "$ac_cv_prog_gcc" = yes; then CFLAGS="$CFLAGS -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" fi export CFLAGS echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 echo "configure:1642: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then a1574 5 # This must be in double quotes, not single quotes, because CPP may get # substituted into the Makefile and "${CC-cc}" will confuse make. CPP="${CC-cc} -E" # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. d1576 1 a1576 1 #line 1657 "configure" d1578 1 a1578 2 #include Syntax Error d1581 1 a1581 1 { (eval echo configure:1663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } a1583 5 : else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 d1585 1 a1585 12 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:1680: \"$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 : d1591 1 a1591 18 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:1697: \"$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 : else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* CPP=/lib/cpp d1595 3 a1597 6 rm -f conftest* fi rm -f conftest* ac_cv_prog_CPP="$CPP" fi CPP="$ac_cv_prog_CPP" d1599 2 a1600 1 ac_cv_prog_CPP="$CPP" a1601 1 echo "$ac_t""$CPP" 1>&6 d1603 135 a1737 4 if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 echo "configure:1723: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then a1739 1 ac_pattern="Autoconf.*'x'" d1741 1 a1741 1 #line 1729 "configure" d1743 4 a1746 2 #include Autoconf TIOCGETP d1748 4 a1751 2 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "$ac_pattern" >/dev/null 2>&1; then d1753 1 a1753 1 ac_cv_prog_gcc_traditional=yes d1755 3 d1759 1 a1759 1 ac_cv_prog_gcc_traditional=no d1763 4 a1766 4 if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA d1771 3 a1773 1 egrep "$ac_pattern" >/dev/null 2>&1; then d1775 1 a1775 1 ac_cv_prog_gcc_traditional=yes a1778 1 fi d1781 13 a1793 4 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi d1795 1 d1797 1 d1799 4 a1802 7 echo $ac_n "checking whether va_list assignments need array notation""... $ac_c" 1>&6 echo "configure:1770: checking whether va_list assignments need array notation" >&5 if eval "test \"`echo '$''{'ac_cv_valistisarray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_valistisarray=false d1805 1 a1805 1 #line 1778 "configure" d1807 8 a1814 11 #include #include void foo(int i, ...) { va_list ap1, ap2; va_start(ap1, i); ap2 = ap1; if (va_arg(ap2, int) != 123 || va_arg(ap1, int) != 123) { exit(1); } va_end(ap1); va_end(ap2); } int main() { foo(0, 123); return(0); } d1816 1 a1816 1 if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d1818 1 a1818 1 ac_cv_valistisarray=false d1823 1 a1823 1 ac_cv_valistisarray=true d1829 7 d1837 1 d1839 33 a1871 3 if test "$ac_cv_valistisarray" = true ; then cat >> confdefs.h <<\EOF #define HAVE_VA_LIST_AS_ARRAY 1 d1873 1 a1873 2 echo "$ac_t""yes" 1>&6 d1875 1 a1875 1 echo "$ac_t""no" 1>&6 d1877 1 d1879 1 a1879 5 RPMUSER=rpm RPMUID=37 RPMGROUP=rpm RPMGID=37 export RPMUSER RPMUID RPMGROUP RPMGID d1882 4 a1885 5 # Extract the first word of "ctags", so it can be a program name with args. set dummy ctags; ac_word=$2 d1887 2 a1888 2 echo "configure:1830: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CTAGS'+set}'`\" = set"; then d1891 3 a1893 8 case "$CTAGS" in /*) ac_cv_path_CTAGS="$CTAGS" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_CTAGS="$CTAGS" # Let the user override the test with a dos path. ;; *) d1896 1 a1896 1 for ac_dir in $ac_dummy; do d1899 1 a1899 1 ac_cv_path_CTAGS="$ac_dir/$ac_word" a1903 3 test -z "$ac_cv_path_CTAGS" && ac_cv_path_CTAGS="/bin/true" ;; esac d1905 28 a1932 3 CTAGS="$ac_cv_path_CTAGS" if test -n "$CTAGS"; then echo "$ac_t""$CTAGS" 1>&6 d1937 4 a1940 5 # Extract the first word of "cscope", so it can be a program name with args. set dummy cscope; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:1866: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CSCOPE'+set}'`\" = set"; then d1943 36 a1978 15 case "$CSCOPE" in /*) ac_cv_path_CSCOPE="$CSCOPE" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_CSCOPE="$CSCOPE" # 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_CSCOPE="$ac_dir/$ac_word" break a1981 1 test -z "$ac_cv_path_CSCOPE" && ac_cv_path_CSCOPE="/bin/true" a1983 4 fi CSCOPE="$ac_cv_path_CSCOPE" if test -n "$CSCOPE"; then echo "$ac_t""$CSCOPE" 1>&6 d1985 1 a1985 1 echo "$ac_t""no" 1>&6 d1988 19 a2006 31 echo $ac_n "checking flag used by libtool to link rpm""... $ac_c" 1>&6 echo "configure:1901: checking flag used by libtool to link rpm" >&5 if test X"$GCC" = Xyes ; then case "$target" in *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-sysv5uw*) LDFLAGS_STATUS="-static";; # Unixware has no shared libthread. *-*-*) LDFLAGS_STATIC="-all-static";; esac elif test X"$CC" = Xcc ; then case "$target" in *-*-linux*) LDFLAGS_STATIC="-all-static";; *-*-freebsd*) LDFLAGS_STATIC="-all-static";; *-*-osf*) LDFLAGS_STATIC="";; # OSF5 has no shared pthreads libs *-*-aix*) LDFLAGS_STATIC="-static";; # -Wl,-bnso doesn't seem to work... *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-irix*) LDFLAGS_STATIC="-static";; #should be -non_shared, but can't # link because of crt1.o then. *-*-ultrix*) LDFLAGS_STATIC="-all-static";; #ultrix doesn't have shared libs. *-*-*) LDFLAGS_STATIC="-static" echo "configure: warning: Unable to guess what option to pass to $CC to generate a static executable. You will need to set the LDFLAGS_STATIC macro in Makefile.inc to the appropriate argument(s) if you want to build a static rpm executable. " 1>&2 ;; esac d2008 1 a2008 2 # just link it dynamically LDFLAGS_STATIC="" a2009 2 LDFLAGS_STATIC="${LDFLAGS} ${LDFLAGS_STATIC}" # libtool format echo "$ac_t""$LDFLAGS_STATIC" 1>&6 d2011 19 a2029 11 echo $ac_n "checking POSIX chmod""... $ac_c" 1>&6 echo "configure:1939: checking POSIX chmod" >&5 touch foo.chmodtest chmod 744 foo.chmodtest chmod +X foo.chmodtest 2>/dev/null a=`ls -l foo.chmodtest | awk '{print $1}'` rm -f foo.chmodtest if test "$a" = "-rwxr-xr-x"; then echo "$ac_t""yes" 1>&6 FIXPERMS=a+rX,g-w,o-w d2031 1 a2031 2 echo "$ac_t""no (tell your OS vendor about GNU fileutils)" 1>&6 FIXPERMS=a+r,g-w,o-w d2034 2 a2035 5 for ac_prog in mkdir do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 d2037 2 a2038 2 echo "configure:1959: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then d2041 3 a2043 8 case "$MKDIR" in /*) ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a dos path. ;; *) d2046 1 a2046 1 for ac_dir in $ac_dummy; do d2049 1 a2049 1 ac_cv_path_MKDIR="$ac_dir/$ac_word" d2054 2 a2055 2 ;; esac d2057 3 a2059 3 MKDIR="$ac_cv_path_MKDIR" if test -n "$MKDIR"; then echo "$ac_t""$MKDIR" 1>&6 d2064 4 a2067 22 test -n "$MKDIR" && break done test -n "$MKDIR" || MKDIR="mkdir" echo $ac_n "checking if $MKDIR supports -p""... $ac_c" 1>&6 echo "configure:1996: checking if $MKDIR supports -p" >&5 rm -rf conftest $MKDIR -p conftest/a 2>/dev/null if test $? = 0 ; then rmdir conftest/a 2>/dev/null if test $? = 0 ; then : else MKDIR_P=0 fi rmdir conftest 2>/dev/null if test $? = 0 ; then MKDIR_P="$MKDIR -p" else MKDIR_P=0 fi d2069 1 a2069 1 MKDIR_P=0 d2072 53 a2124 3 if test X"$MKDIR_P" = X0 ; then echo "$ac_t""no" 1>&6 MKDIR_P="`echo ${prefix}/lib/rpm/mkinstalldirs`" d2126 2 a2127 1 echo "$ac_t""yes" 1>&6 a2128 3 cat >> confdefs.h <&6 echo "configure:2031: 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 d2158 3 a2160 17 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" d2162 22 a2183 4 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" a2184 2 rm -f conftest* LIBS="$ac_save_LIBS" d2186 8 a2193 7 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 d2195 12 a2206 1 d2209 5 d2215 2 d2218 21 d2240 7 a2246 3 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 echo "configure:2077: checking for ${CC-cc} option to accept ANSI C" >&5 if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then a2248 11 am_cv_prog_cc_stdc=no ac_save_CC="$CC" # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" d2250 1 a2250 1 #line 2093 "configure" a2251 28 #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; a2254 2 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; d2257 1 a2257 1 if { (eval echo configure:2130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d2259 1 a2259 1 am_cv_prog_cc_stdc="$ac_arg"; break d2263 2 d2267 8 a2274 2 done CC="$ac_save_CC" a2275 1 fi a2276 8 if test -z "$am_cv_prog_cc_stdc"; then echo "$ac_t""none needed" 1>&6 else echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6 fi case "x$am_cv_prog_cc_stdc" in x|xno) ;; *) CC="$CC $am_cv_prog_cc_stdc" ;; d2280 16 a2295 7 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 echo "configure:2156: checking for function prototypes" >&5 if test "$am_cv_prog_cc_stdc" != no; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define PROTOTYPES 1 d2297 21 a2317 2 U= ANSI2KNR= d2319 6 a2324 3967 echo "$ac_t""no" 1>&6 U=_ ANSI2KNR=./ansi2knr # Ensure some checks needed by ansi2knr itself. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo "configure:2169: 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 #include #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:2182: \"$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 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* 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 rm -rf conftest* ac_cv_header_stdc=no fi rm -f conftest* 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 : else rm -rf conftest* ac_cv_header_stdc=no 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 : 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); } EOF if { (eval echo configure:2249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_header_stdc=no fi rm -fr conftest* fi fi fi 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 for ac_hdr in string.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:2276: 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:2286: \"$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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done fi for ac_prog in gawk mawk nawk awk 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:2320: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else 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_prog_AWK="$ac_prog" break fi done IFS="$ac_save_ifs" fi fi AWK="$ac_cv_prog_AWK" if test -n "$AWK"; then echo "$ac_t""$AWK" 1>&6 else echo "$ac_t""no" 1>&6 fi test -n "$AWK" && break done echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 echo "configure:2350: 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 rm -f conftestdata if ln -s X conftestdata 2>/dev/null then rm -f conftestdata ac_cv_prog_LN_S="ln -s" else ac_cv_prog_LN_S=ln fi fi LN_S="$ac_cv_prog_LN_S" if test "$ac_cv_prog_LN_S" = "ln -s"; then echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo "configure:2371: 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 else cat > conftestmake <<\EOF all: @@echo 'ac_maketemp="${MAKE}"' EOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftestmake fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$ac_t""yes" 1>&6 SET_MAKE= else echo "$ac_t""no" 1>&6 SET_MAKE="MAKE=${MAKE-make}" fi echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 echo "configure:2399: checking for Cygwin environment" >&5 if eval "test \"`echo '$''{'ac_cv_cygwin'+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* ac_cv_cygwin=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_cygwin=no fi rm -f conftest* rm -f conftest* fi echo "$ac_t""$ac_cv_cygwin" 1>&6 CYGWIN= test "$ac_cv_cygwin" = yes && CYGWIN=yes echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 echo "configure:2432: checking for mingw32 environment" >&5 if eval "test \"`echo '$''{'ac_cv_mingw32'+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* ac_cv_mingw32=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_mingw32=no fi rm -f conftest* rm -f conftest* fi echo "$ac_t""$ac_cv_mingw32" 1>&6 MINGW32= test "$ac_cv_mingw32" = yes && MINGW32=yes # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$ac_save_ifs" ;; esac else enable_shared=yes fi # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$ac_save_ifs" ;; esac else enable_static=yes fi # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$ac_save_ifs" ;; esac else enable_fast_install=yes fi # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 echo "configure:2541: checking for ld used by GCC" >&5 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 echo "configure:2571: checking for GNU ld" >&5 else echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 echo "configure:2574: checking for non-GNU ld" >&5 fi if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then test "$with_gnu_ld" != no && break else test "$with_gnu_ld" != yes && break fi fi done IFS="$ac_save_ifs" else lt_cv_path_LD="$LD" # Let the user override the test with a path. fi fi LD="$lt_cv_path_LD" if test -n "$LD"; then echo "$ac_t""$LD" 1>&6 else echo "$ac_t""no" 1>&6 fi test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 echo "configure:2609: checking if the linker ($LD) is GNU ld" >&5 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. if $LD -v 2>&1 &5; then lt_cv_prog_gnu_ld=yes else lt_cv_prog_gnu_ld=no fi fi echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 with_gnu_ld=$lt_cv_prog_gnu_ld echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 echo "configure:2626: checking for $LD option to reload object files" >&5 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else lt_cv_ld_reload_flag='-r' fi echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6 reload_flag=$lt_cv_ld_reload_flag test -n "$reload_flag" && reload_flag=" $reload_flag" echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 echo "configure:2638: checking for BSD-compatible nm" >&5 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/${ac_tool_prefix}nm if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then lt_cv_path_NM="$tmp_nm -B" break elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then lt_cv_path_NM="$tmp_nm -p" break else lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags fi fi done IFS="$ac_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi NM="$lt_cv_path_NM" echo "$ac_t""$NM" 1>&6 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 echo "configure:2676: checking how to recognise dependant libraries" >&5 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # ['file_magic [regex]'] -- check by looking for files in library path # which responds to the $file_magic_cmd with a given egrep regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix4* | aix5*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi4*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin* | mingw* | pw32*) lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.012) lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' ;; esac ;; freebsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20*|hpux11*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; irix5* | irix6*) case $host_os in irix5*) # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ;; *) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" ;; esac lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux-gnu*) case $host_cpu in alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* ) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; esac lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' else lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; osf3* | osf4* | osf5*) # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' lt_cv_file_magic_test_file=/shlib/libc.so lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_test_file=/lib/libc.so ;; sysv5uw[78]* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; esac ;; esac fi echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method echo $ac_n "checking for object suffix""... $ac_c" 1>&6 echo "configure:2849: checking for object suffix" >&5 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else rm -f conftest* echo 'int i = 1;' > conftest.$ac_ext if { (eval echo configure:2855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then for ac_file in conftest.*; do case $ac_file in *.c) ;; *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; esac done else { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } fi rm -f conftest* fi echo "$ac_t""$ac_cv_objext" 1>&6 OBJEXT=$ac_cv_objext ac_objext=$ac_cv_objext echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 echo "configure:2875: checking for executable suffix" >&5 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$CYGWIN" = yes || test "$MINGW32" = yes; then ac_cv_exeext=.exe else rm -f conftest* echo 'int main () { return 0; }' > conftest.$ac_ext ac_cv_exeext= if { (eval echo configure:2885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for file in conftest.*; do case $file in *.c | *.o | *.obj) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done else { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } fi rm -f conftest* test x"${ac_cv_exeext}" = x && ac_cv_exeext=no fi fi EXEEXT="" test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} echo "$ac_t""${ac_cv_exeext}" 1>&6 ac_exeext=$EXEEXT if test $host != $build; then ac_tool_prefix=${host_alias}- else ac_tool_prefix= fi # Check for command to grab the raw symbol name followed by C symbol from nm. echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6 echo "configure:2916: checking command to parse $NM output" >&5 if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform the above into a raw symbol and a C symbol. symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32*) symcode='[ABCDGISTW]' ;; hpux*) # Its linker distinguishes data from code symbols lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" ;; irix*) symcode='[BCDEGRST]' ;; solaris* | sysv5*) symcode='[BDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $host_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then symcode='[ABCDGISTW]' fi # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo configure:2995: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if egrep ' nm_test_var$' "$nlist" >/dev/null; then if egrep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[] = { EOF sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext save_LIBS="$LIBS" save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$no_builtin_flag" if { (eval echo configure:3046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then pipe_works=yes fi LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" if test -z "$lt_cv_sys_global_symbol_pipe"; then global_symbol_to_cdecl= else global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" fi if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then echo "$ac_t""failed" 1>&6 else echo "$ac_t""ok" 1>&6 fi for ac_hdr in dlfcn.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:3092: 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:3102: \"$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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 fi done # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 echo "configure:3137: checking for ${ac_tool_prefix}file" >&5 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case $MAGIC_CMD in /*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; ?:/*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. ;; *) ac_save_MAGIC_CMD="$MAGIC_CMD" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="/usr/bin:$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | egrep "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@@gnu.org EOF fi ;; esac fi break fi done IFS="$ac_save_ifs" MAGIC_CMD="$ac_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$ac_t""$MAGIC_CMD" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then echo $ac_n "checking for file""... $ac_c" 1>&6 echo "configure:3199: checking for file" >&5 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case $MAGIC_CMD in /*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; ?:/*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. ;; *) ac_save_MAGIC_CMD="$MAGIC_CMD" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="/usr/bin:$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | egrep "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@@gnu.org EOF fi ;; esac fi break fi done IFS="$ac_save_ifs" MAGIC_CMD="$ac_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$ac_t""$MAGIC_CMD" 1>&6 else echo "$ac_t""no" 1>&6 fi else MAGIC_CMD=: fi fi fi ;; esac # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3270: 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 if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else 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_prog_RANLIB="${ac_tool_prefix}ranlib" break fi done IFS="$ac_save_ifs" fi fi RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then echo "$ac_t""$RANLIB" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$ac_cv_prog_RANLIB"; then if test -n "$ac_tool_prefix"; then # 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:3302: 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 if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else 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_prog_RANLIB="ranlib" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" fi fi RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then echo "$ac_t""$RANLIB" 1>&6 else echo "$ac_t""no" 1>&6 fi else RANLIB=":" fi fi # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3337: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else 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_prog_STRIP="${ac_tool_prefix}strip" break fi done IFS="$ac_save_ifs" fi fi STRIP="$ac_cv_prog_STRIP" if test -n "$STRIP"; then echo "$ac_t""$STRIP" 1>&6 else echo "$ac_t""no" 1>&6 fi if test -z "$ac_cv_prog_STRIP"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:3369: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else 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_prog_STRIP="strip" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" fi fi STRIP="$ac_cv_prog_STRIP" if test -n "$STRIP"; then echo "$ac_t""$STRIP" 1>&6 else echo "$ac_t""no" 1>&6 fi else STRIP=":" fi fi enable_dlopen=no enable_win32_dll=no # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" : fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in *-*-irix6*) # Find out which ABI we are using. echo '#line 3418 "configure"' > conftest.$ac_ext if { (eval echo configure:3419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 echo "configure:3440: checking whether the C compiler needs -belf" >&5 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* lt_cv_cc_needs_belf=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* lt_cv_cc_needs_belf=no fi rm -f conftest* ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross fi echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e s/^X//' sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except M$VC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" need_locks="$enable_libtool_lock" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o if test x"$host" != x"$build"; then ac_tool_prefix=${host_alias}- else ac_tool_prefix= fi # Transform linux* to *-*-linux-gnu*, to support old configure scripts. case $host_os in linux-gnu*) ;; linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` esac case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" fi # Allow CC to be a program name with arguments. set dummy $CC compiler="$2" echo $ac_n "checking for objdir""... $ac_c" 1>&6 echo "configure:3573: checking for objdir" >&5 rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. objdir=_libs fi rmdir .libs 2>/dev/null echo "$ac_t""$objdir" 1>&6 # Check whether --with-pic or --without-pic was given. if test "${with_pic+set}" = set; then withval="$with_pic" pic_mode="$withval" else pic_mode=default fi test -z "$pic_mode" && pic_mode=default # We assume here that the value for lt_cv_prog_cc_pic will not be cached # in isolation, and that seeing it set (from the cache) indicates that # the associated values are set (in the cache) correctly too. echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6 echo "configure:3600: checking for $compiler option to produce PIC" >&5 if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else lt_cv_prog_cc_pic= lt_cv_prog_cc_shlib= lt_cv_prog_cc_wl= lt_cv_prog_cc_static= lt_cv_prog_cc_no_builtin= lt_cv_prog_cc_can_build_shared=$can_build_shared if test "$GCC" = yes; then lt_cv_prog_cc_wl='-Wl,' lt_cv_prog_cc_static='-static' case $host_os in aix*) # Below there is a dirty hack to force normal static linking with -ldl # The problem is because libdl dynamically linked with both libc and # libC (AIX C++ library), which obviously doesn't included in libraries # list by gcc. This cause undefined symbols with -static flags. # This hack allows C programs to be linked with "-static -ldl", but # we not sure about C++ programs. lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' ;; beos* | irix5* | irix6* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_cv_prog_cc_pic='-fno-common' ;; cygwin* | mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_cv_prog_cc_pic='-DDLL_EXPORT' ;; sysv4*MP*) if test -d /usr/nec; then lt_cv_prog_cc_pic=-Kconform_pic fi ;; *) lt_cv_prog_cc_pic='-fPIC' ;; esac else # PORTME Check for PIC flags for the system compiler. case $host_os in aix3* | aix4* | aix5*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_cv_prog_cc_static='-Bstatic' lt_cv_prog_cc_wl='-Wl,' else lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' fi ;; hpux9* | hpux10* | hpux11*) # Is there a better lt_cv_prog_cc_static that works with the bundled CC? lt_cv_prog_cc_wl='-Wl,' lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" lt_cv_prog_cc_pic='+Z' ;; irix5* | irix6*) lt_cv_prog_cc_wl='-Wl,' lt_cv_prog_cc_static='-non_shared' # PIC (with -KPIC) is the default. ;; cygwin* | mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_cv_prog_cc_pic='-DDLL_EXPORT' ;; newsos6) lt_cv_prog_cc_pic='-KPIC' lt_cv_prog_cc_static='-Bstatic' ;; osf3* | osf4* | osf5*) # All OSF/1 code is PIC. lt_cv_prog_cc_wl='-Wl,' lt_cv_prog_cc_static='-non_shared' ;; sco3.2v5*) lt_cv_prog_cc_pic='-Kpic' lt_cv_prog_cc_static='-dn' lt_cv_prog_cc_shlib='-belf' ;; solaris*) lt_cv_prog_cc_pic='-KPIC' lt_cv_prog_cc_static='-Bstatic' lt_cv_prog_cc_wl='-Wl,' ;; sunos4*) lt_cv_prog_cc_pic='-PIC' lt_cv_prog_cc_static='-Bstatic' lt_cv_prog_cc_wl='-Qoption ld ' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) lt_cv_prog_cc_pic='-KPIC' lt_cv_prog_cc_static='-Bstatic' if test "x$host_vendor" = xsni; then lt_cv_prog_cc_wl='-LD' else lt_cv_prog_cc_wl='-Wl,' fi ;; uts4*) lt_cv_prog_cc_pic='-pic' lt_cv_prog_cc_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_cv_prog_cc_pic='-Kconform_pic' lt_cv_prog_cc_static='-Bstatic' fi ;; *) lt_cv_prog_cc_can_build_shared=no ;; esac fi fi if test -z "$lt_cv_prog_cc_pic"; then echo "$ac_t""none" 1>&6 else echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6 # Check to make sure the pic_flag actually works. echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6 echo "configure:3752: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* case $host_os in hpux9* | hpux10* | hpux11*) # On HP-UX, both CC and GCC only warn that PIC is supported... then # they create non-PIC objects. So, if there were any warnings, we # assume that PIC is not supported. if test -s conftest.err; then lt_cv_prog_cc_pic_works=no else lt_cv_prog_cc_pic_works=yes fi ;; *) lt_cv_prog_cc_pic_works=yes ;; esac else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* lt_cv_prog_cc_pic_works=no fi rm -f conftest* CFLAGS="$save_CFLAGS" fi if test "X$lt_cv_prog_cc_pic_works" = Xno; then lt_cv_prog_cc_pic= lt_cv_prog_cc_can_build_shared=no else lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" fi echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6 fi # Check for any special shared library compilation flags. if test -n "$lt_cv_prog_cc_shlib"; then echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : else echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2 lt_cv_prog_cc_can_build_shared=no fi fi echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6 echo "configure:3818: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else lt_cv_prog_cc_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* lt_cv_prog_cc_static_works=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* LDFLAGS="$save_LDFLAGS" fi # Belt *and* braces to stop my trousers falling down: test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6 pic_flag="$lt_cv_prog_cc_pic" special_shlib_compile_flags="$lt_cv_prog_cc_shlib" wl="$lt_cv_prog_cc_wl" link_static_flag="$lt_cv_prog_cc_static" no_builtin_flag="$lt_cv_prog_cc_no_builtin" can_build_shared="$lt_cv_prog_cc_can_build_shared" # Check to see if options -o and -c are simultaneously supported by compiler echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6 echo "configure:3860: checking if $compiler supports -c -o file.$ac_objext" >&5 if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else $rm -r conftest 2>/dev/null mkdir conftest cd conftest echo "int some_variable = 0;" > conftest.$ac_ext mkdir out # According to Tom Tromey, Ian Lance Taylor reported there are C compilers # that will create temporary files in the current directory regardless of # the output directory. Thus, making CWD read-only will cause this test # to fail, enabling locking or at least warning the user not to do parallel # builds. chmod -w . save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" compiler_c_o=no if { (eval echo configure:3879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s out/conftest.err; then lt_cv_compiler_c_o=no else lt_cv_compiler_c_o=yes fi else # Append any errors to the config.log. cat out/conftest.err 1>&5 lt_cv_compiler_c_o=no fi CFLAGS="$save_CFLAGS" chmod u+w . $rm conftest* out/* rmdir out cd .. rmdir conftest $rm -r conftest 2>/dev/null fi compiler_c_o=$lt_cv_compiler_c_o echo "$ac_t""$compiler_c_o" 1>&6 if test x"$compiler_c_o" = x"yes"; then # Check to see if we can write to a .lo echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6 echo "configure:3908: checking if $compiler supports -c -o file.lo" >&5 if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else lt_cv_compiler_o_lo=no save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -c -o conftest.lo" cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then lt_cv_compiler_o_lo=no else lt_cv_compiler_o_lo=yes fi else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* CFLAGS="$save_CFLAGS" fi compiler_o_lo=$lt_cv_compiler_o_lo echo "$ac_t""$compiler_o_lo" 1>&6 else compiler_o_lo=no fi # Check to see if we can do hard links to lock some files if needed hard_links="nottested" if test "$compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6 echo "configure:3954: checking if we can lock with hard links" >&5 hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no echo "$ac_t""$hard_links" 1>&6 if test "$hard_links" = no; then echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2 need_locks=warn fi else need_locks=no fi if test "$GCC" = yes; then # Check to see if options -fno-rtti -fno-exceptions are supported by compiler echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6 echo "configure:3973: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo "int some_variable = 0;" > conftest.$ac_ext save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" compiler_rtti_exceptions=no cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then compiler_rtti_exceptions=no else compiler_rtti_exceptions=yes fi else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* CFLAGS="$save_CFLAGS" echo "$ac_t""$compiler_rtti_exceptions" 1>&6 if test "$compiler_rtti_exceptions" = "yes"; then no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' else no_builtin_flag=' -fno-builtin' fi fi # See if the linker supports building shared libraries. echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6 echo "configure:4013: checking whether the linker ($LD) supports shared libraries" >&5 allow_undefined_flag= no_undefined_flag= need_lib_prefix=unknown need_version=unknown # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments archive_cmds= archive_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= export_dynamic_flag_spec= whole_archive_flag_spec= thread_safe_flag_spec= hardcode_into_libs=no hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no hardcode_shlibpath_var=unsupported runpath_var= link_all_deplibs=unknown always_export_symbols=no export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an egrep regular expression of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* ) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX, the GNU linker is very broken # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. ld_shlibs=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' allow_undefined_flag=unsupported always_export_symbols=yes extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ test -f $output_objdir/impgen.exe || (cd $output_objdir && \ if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ else $CC -o impgen impgen.c ; fi)~ $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' # cygwin and mingw dlls have different entry points and sets of symbols # to exclude. # FIXME: what about values for MSVC? dll_entry=__cygwin_dll_entry@@12 dll_exclude_symbols=DllMain@@12,_cygwin_dll_entry@@12,_cygwin_noncygwin_dll_entry@@12~ case $host_os in mingw*) # mingw values dll_entry=_DllMainCRTStartup@@12 dll_exclude_symbols=DllMain@@12,DllMainCRTStartup@@12,DllEntryPoint@@12~ ;; esac # mingw and cygwin differ, and it's simplest to just exclude the union # of the two symbol sets. dll_exclude_symbols=DllMain@@12,_cygwin_dll_entry@@12,_cygwin_noncygwin_dll_entry@@12,DllMainCRTStartup@@12,DllEntryPoint@@12 # recent cygwin and mingw systems supply a stub DllMain which the user # can override, but on older systems we have to supply one (in ltdll.c) if test "x$lt_cv_need_dllmain" = "xyes"; then ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~ test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' else ltdll_obj= ltdll_cmds= fi # Extract the symbol export list from an `--export-all' def file, # then regenerate the def file from the symbol export list, so that # the compiled dll only exports the symbol export list. # Be careful not to strip the DATA tag left be newer dlltools. export_symbols_cmds="$ltdll_cmds"' $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ sed -e "1,/EXPORTS/d" -e "s/ @@ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is. # If DATA tags from a recent dlltool are present, honour them! archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; else echo EXPORTS > $output_objdir/$soname-def; _lt_hint=1; cat $export_symbols | while read symbol; do set dummy \$symbol; case \$# in 2) echo " \$2 @@ \$_lt_hint ; " >> $output_objdir/$soname-def;; *) echo " \$2 @@ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; esac; _lt_hint=`expr 1 + \$_lt_hint`; done; fi~ '"$ltdll_cmds"' $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris* | sysv5*) if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = yes; then runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' case $host_os in cygwin* | mingw* | pw32*) # dlltool doesn't understand --whole-archive et. al. whole_archive_flag_spec= ;; *) # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi ;; esac fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$link_static_flag"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix4* | aix5*) # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_libdir_separator=':' if test "$GCC" = yes; then collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct=yes else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi shared_flag='-shared' else if test "$host_cpu" = ia64; then shared_flag='-G' else shared_flag='${wl}-bM:SRE' fi hardcode_direct=yes fi if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # Test if we are trying to use run time linking, or normal AIX style linking. # If -brtl is somewhere in LDFLAGS, we need to do run time linking. aix_use_runtimelinking=no for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then aix_use_runtimelinking=yes break fi done exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # It seems that -bexpall can do strange things, so it is better to # generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' allow_undefined_flag=' -Wl,-G' archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-znodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" else hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' # Warning - without using the other run time loading flags, -berok will # link without error, but may produce a broken library. allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' fi fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' ;; darwin* | rhapsody*) allow_undefined_flag='-undefined suppress' # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes hardcode_shlibpath_var=no whole_archive_flag_spec='-all_load $convenience' ;; freebsd1*) ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd*) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9* | hpux10* | hpux11*) case $host_os in hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; esac hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_minus_L=yes # Not in the search PATH, but as the default # location of the library. export_dynamic_flag_spec='${wl}-E' ;; irix5* | irix6*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: link_all_deplibs=yes ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; openbsd*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' #Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; sco3.2v5*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ;; solaris*) no_undefined_flag=' -z defs' # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) if test "x$host_vendor" = xsno; then archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts' hardcode_direct=yes # is this really true??? else archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie fi runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv5*) no_undefined_flag=' -z text' # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' hardcode_libdir_flag_spec= hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4.2uw2*) archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=no hardcode_shlibpath_var=no hardcode_runpath_var=yes runpath_var=LD_RUN_PATH ;; sysv5uw7* | unixware7*) no_undefined_flag='${wl}-z ${wl}text' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' fi runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac fi echo "$ac_t""$ld_shlibs" 1>&6 test "$ld_shlibs" = no && can_build_shared=no # Check hardcoding attributes. echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6 echo "configure:4629: checking how to hardcode library paths into programs" >&5 hardcode_action= if test -n "$hardcode_libdir_flag_spec" || \ test -n "$runpath_var"; then # We can hardcode non-existant directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$hardcode_shlibpath_var" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi echo "$ac_t""$hardcode_action" 1>&6 striplib= old_striplib= echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6 echo "configure:4657: checking whether stripping libraries is possible" >&5 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" echo "$ac_t""yes" 1>&6 else echo "$ac_t""no" 1>&6 fi reload_cmds='$LD$reload_flag -o $output$reload_objs' test -z "$deplibs_check_method" && deplibs_check_method=unknown # PORTME Fill in your ld.so characteristics echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6 echo "configure:4671: checking dynamic linker characteristics" >&5 library_names_spec= libname_spec='lib$name' soname_spec= postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}.so$versuffix $libname.a' shlibpath_var=LIBPATH # AIX has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}.so$major' ;; aix4* | aix5*) version_type=linux if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so instead of # lib.a to let people know that these are not typical AIX shared libraries. library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}.so$major' fi shlibpath_var=LIBPATH deplibs_check_method=pass_all fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' ;; beos*) library_names_spec='${libname}.so' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi4*) version_type=linux need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" export_dynamic_flag_spec=-rdynamic # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin*) library_names_spec='$libname.dll.a' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog .libs/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' ;; yes,mingw*) library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` ;; yes,pw32*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' ;; *) library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd*) objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; *) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. dynamic_linker="$host_os dld.sl" version_type=sunos need_lib_prefix=no need_version=no shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' soname_spec='${libname}${release}.sl$major' # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; irix5* | irix6*) version_type=irix need_lib_prefix=no need_version=no soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' case $host_os in irix5*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" ;; # No shared lib support for Linux oldld, aout, or coff. linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) dynamic_linker=no ;; # This must be Linux ELF. linux-gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' soname_spec='${libname}${release}.so$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos if test "$with_gnu_ld" = yes; then need_lib_prefix=no need_version=no fi library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH ;; os2*) libname_spec='$name' need_lib_prefix=no library_names_spec='$libname.dll $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_version=no soname_spec='${libname}${release}.so' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) version_type=osf soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) version_type=linux library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; uts4*) version_type=linux library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' soname_spec='$libname.so.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; *) dynamic_linker=no ;; esac echo "$ac_t""$dynamic_linker" 1>&6 test "$dynamic_linker" = no && can_build_shared=no # Report the final consequences. echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6 echo "configure:5057: checking if libtool supports shared libraries" >&5 echo "$ac_t""$can_build_shared" 1>&6 if test "$hardcode_action" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; cygwin* | mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; *) echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 echo "configure:5096: checking for dlopen in -ldl" >&5 ac_lib_var=`echo dl'_'dlopen | 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="-ldl $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 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for dlopen""... $ac_c" 1>&6 echo "configure:5134: checking for dlopen" >&5 if eval "test \"`echo '$''{'ac_cv_func_dlopen'+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 dlopen(); 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_dlopen) || defined (__stub___dlopen) choke me #else dlopen(); #endif ; return 0; } EOF if { (eval echo configure:5162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_dlopen=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_dlopen=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then echo "$ac_t""yes" 1>&6 lt_cv_dlopen="dlopen" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for shl_load""... $ac_c" 1>&6 echo "configure:5180: checking for shl_load" >&5 if eval "test \"`echo '$''{'ac_cv_func_shl_load'+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 shl_load(); 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_shl_load) || defined (__stub___shl_load) choke me #else shl_load(); #endif ; return 0; } EOF if { (eval echo configure:5208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_shl_load=yes" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_shl_load=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then echo "$ac_t""yes" 1>&6 lt_cv_dlopen="shl_load" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 echo "configure:5226: checking for dlopen in -lsvld" >&5 ac_lib_var=`echo svld'_'dlopen | 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="-lsvld $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 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else echo "$ac_t""no" 1>&6 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 echo "configure:5264: checking for shl_load in -ldld" >&5 ac_lib_var=`echo dld'_'shl_load | 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="-ldld $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 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" else echo "$ac_t""no" 1>&6 fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6 echo "configure:5336: checking whether a program can dlopen itself" >&5 if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo configure:5407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi echo "$ac_t""$lt_cv_dlopen_self" 1>&6 if test "x$lt_cv_dlopen_self" = xyes; then LDFLAGS="$LDFLAGS $link_static_flag" echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6 echo "configure:5430: checking whether a statically linked program can dlopen itself" >&5 if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } exit (status); } EOF if { (eval echo configure:5501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6 fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6 echo "configure:5550: checking whether -lc should be explicitly linked in" >&5 if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else $rm conftest* echo 'static int dummy;' > conftest.$ac_ext if { (eval echo configure:5557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_cv_prog_cc_wl compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { (eval echo configure:5570: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$save_allow_undefined_flag else cat conftest.err 1>&5 fi fi echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6 ;; esac fi need_lc=${lt_cv_archive_cmds_need_lc-yes} # The second clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then : else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. test -f Makefile && make "$ltmain" fi if test -f "$ltmain"; then trap "$rm \"${ofile}T\"; exit 1" 1 2 15 $rm -f "${ofile}T" echo creating $ofile # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS \ AR AR_FLAGS CC LD LN_S NM SHELL \ reload_flag reload_cmds wl \ pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ thread_safe_flag_spec whole_archive_flag_spec libname_spec \ library_names_spec soname_spec \ RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ old_striplib striplib file_magic_cmd export_symbols_cmds \ deplibs_check_method allow_undefined_flag no_undefined_flag \ finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ hardcode_libdir_flag_spec hardcode_libdir_separator \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do case $var in reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ postinstall_cmds | postuninstall_cmds | \ finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done cat <<__EOF__ > "${ofile}T" #! $SHELL # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996-2000 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 1996 # # 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 of the License, 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 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="sed -e s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi # ### BEGIN LIBTOOL CONFIG # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$need_lc # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # The default C compiler. CC=$lt_CC # Is the compiler the GNU C compiler? with_gcc=$GCC # The linker used to build libraries. LD=$lt_LD # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_wl # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_pic_flag pic_mode=$pic_mode # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_compiler_c_o # Can we write directly to a .lo ? compiler_o_lo=$lt_compiler_o_lo # Must we lock files when doing compilation ? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_link_static_flag # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_no_builtin_flag # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_global_symbol_to_cdecl # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # ### END LIBTOOL CONFIG __EOF__ case $host_os in aix3*) cat <<\EOF >> "${ofile}T" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac case $host_os in cygwin* | mingw* | pw32* | os2*) cat <<'EOF' >> "${ofile}T" # This is a source program that is used to create dlls on Windows # Don't remove nor modify the starting and closing comments # /* ltdll.c starts here */ # #define WIN32_LEAN_AND_MEAN # #include # #undef WIN32_LEAN_AND_MEAN # #include # # #ifndef __CYGWIN__ # # ifdef __CYGWIN32__ # # define __CYGWIN__ __CYGWIN32__ # # endif # #endif # # #ifdef __cplusplus # extern "C" { # #endif # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); # #ifdef __cplusplus # } # #endif # # #ifdef __CYGWIN__ # #include # DECLARE_CYGWIN_DLL( DllMain ); # #endif # HINSTANCE __hDllInstance_base; # # BOOL APIENTRY # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) # { # __hDllInstance_base = hInst; # return TRUE; # } # /* ltdll.c ends here */ # This is a source program that is used to create import libraries # on Windows for dlls which lack them. Don't remove nor modify the # starting and closing comments # /* impgen.c starts here */ # /* Copyright (C) 1999-2000 Free Software Foundation, Inc. # # This file is part of GNU libtool. # # 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 of the License, 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 02111-1307, USA. # */ # # #include /* for printf() */ # #include /* for open(), lseek(), read() */ # #include /* for O_RDONLY, O_BINARY */ # #include /* for strdup() */ # # /* O_BINARY isn't required (or even defined sometimes) under Unix */ # #ifndef O_BINARY # #define O_BINARY 0 # #endif # # static unsigned int # pe_get16 (fd, offset) # int fd; # int offset; # { # unsigned char b[2]; # lseek (fd, offset, SEEK_SET); # read (fd, b, 2); # return b[0] + (b[1]<<8); # } # # static unsigned int # pe_get32 (fd, offset) # int fd; # int offset; # { # unsigned char b[4]; # lseek (fd, offset, SEEK_SET); # read (fd, b, 4); # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); # } # # static unsigned int # pe_as32 (ptr) # void *ptr; # { # unsigned char *b = ptr; # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); # } # # int # main (argc, argv) # int argc; # char *argv[]; # { # int dll; # unsigned long pe_header_offset, opthdr_ofs, num_entries, i; # unsigned long export_rva, export_size, nsections, secptr, expptr; # unsigned long name_rvas, nexp; # unsigned char *expdata, *erva; # char *filename, *dll_name; # # filename = argv[1]; # # dll = open(filename, O_RDONLY|O_BINARY); # if (dll < 1) # return 1; # # dll_name = filename; # # for (i=0; filename[i]; i++) # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') # dll_name = filename + i +1; # # pe_header_offset = pe_get32 (dll, 0x3c); # opthdr_ofs = pe_header_offset + 4 + 20; # num_entries = pe_get32 (dll, opthdr_ofs + 92); # # if (num_entries < 1) /* no exports */ # return 1; # # export_rva = pe_get32 (dll, opthdr_ofs + 96); # export_size = pe_get32 (dll, opthdr_ofs + 100); # nsections = pe_get16 (dll, pe_header_offset + 4 +2); # secptr = (pe_header_offset + 4 + 20 + # pe_get16 (dll, pe_header_offset + 4 + 16)); # # expptr = 0; # for (i = 0; i < nsections; i++) # { # char sname[8]; # unsigned long secptr1 = secptr + 40 * i; # unsigned long vaddr = pe_get32 (dll, secptr1 + 12); # unsigned long vsize = pe_get32 (dll, secptr1 + 16); # unsigned long fptr = pe_get32 (dll, secptr1 + 20); # lseek(dll, secptr1, SEEK_SET); # read(dll, sname, 8); # if (vaddr <= export_rva && vaddr+vsize > export_rva) # { # expptr = fptr + (export_rva - vaddr); # if (export_rva + export_size > vaddr + vsize) # export_size = vsize - (export_rva - vaddr); # break; # } # } # # expdata = (unsigned char*)malloc(export_size); # lseek (dll, expptr, SEEK_SET); # read (dll, expdata, export_size); # erva = expdata - export_rva; # # nexp = pe_as32 (expdata+24); # name_rvas = pe_as32 (expdata+32); # # printf ("EXPORTS\n"); # for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) mv -f "${ofile}T" "$ofile" || \ (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") chmod +x "$ofile" d2326 1 d2329 8 d2338 8 d2349 1 a2349 1 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" d2354 3 a2356 1 # Prevent multiple expansion d2359 5 d2368 1 a2368 1 echo "configure:6151: checking for $ac_word" >&5 d2400 1 a2400 1 echo "configure:6183: checking for $ac_word" >&5 d2439 1 a2439 1 echo "configure:6222: checking for $ac_word" >&5 d2475 1 a2475 1 echo "configure:6258: checking for $ac_word" >&5 d2511 1 a2511 1 echo "configure:6294: checking for $ac_word" >&5 d2547 1 a2547 1 echo "configure:6330: checking for $ac_word" >&5 d2583 1 a2583 1 echo "configure:6366: checking for $ac_word" >&5 d2619 1 a2619 1 echo "configure:6402: checking for $ac_word" >&5 d2655 1 a2655 1 echo "configure:6438: checking for $ac_word" >&5 d2688 2 a2689 2 # Extract the first word of "file", so it can be a program name with args. set dummy file; ac_word=$2 d2691 2 a2692 2 echo "configure:6474: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___FILE'+set}'`\" = set"; then d2695 1 a2695 1 case "$__FILE" in d2697 1 a2697 1 ac_cv_path___FILE="$__FILE" # Let the user override the test with a path. d2700 1 a2700 1 ac_cv_path___FILE="$__FILE" # Let the user override the test with a dos path. d2708 1 a2708 1 ac_cv_path___FILE="$ac_dir/$ac_word" d2713 1 a2713 1 test -z "$ac_cv_path___FILE" && ac_cv_path___FILE="/usr/bin/file" d2717 3 a2719 39 __FILE="$ac_cv_path___FILE" if test -n "$__FILE"; then echo "$ac_t""$__FILE" 1>&6 else echo "$ac_t""no" 1>&6 fi # Extract the first word of "gpg", so it can be a program name with args. set dummy gpg; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6510: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path___GPG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$__GPG" in /*) ac_cv_path___GPG="$__GPG" # Let the user override the test with a path. ;; ?:/*) ac_cv_path___GPG="$__GPG" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path___GPG="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path___GPG" && ac_cv_path___GPG="/usr/bin/gpg" ;; esac fi __GPG="$ac_cv_path___GPG" if test -n "$__GPG"; then echo "$ac_t""$__GPG" 1>&6 d2727 1 a2727 1 echo "configure:6546: checking for $ac_word" >&5 a2759 36 # Extract the first word of "gzip", so it can be a program name with args. set dummy gzip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo "configure:6582: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GZIPBIN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else case "$GZIPBIN" in /*) ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$MYPATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_GZIPBIN="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GZIPBIN" && ac_cv_path_GZIPBIN="/bin/gzip" ;; esac fi GZIPBIN="$ac_cv_path_GZIPBIN" if test -n "$GZIPBIN"; then echo "$ac_t""$GZIPBIN" 1>&6 else echo "$ac_t""no" 1>&6 fi d2763 1 a2763 1 echo "configure:6618: checking for $ac_word" >&5 d2800 1 a2800 1 echo "configure:6655: checking for $ac_word" >&5 d2834 1 a2834 1 echo "configure:6689: checking checking whether id supports -u" >&5 d2847 1 a2847 1 echo "configure:6702: checking for $ac_word" >&5 d2883 1 a2883 1 echo "configure:6738: checking for $ac_word" >&5 d2919 1 a2919 1 echo "configure:6774: checking for $ac_word" >&5 d2955 1 a2955 1 echo "configure:6810: checking for $ac_word" >&5 d2991 1 a2991 1 echo "configure:6846: checking for $ac_word" >&5 d3025 1 a3025 1 echo "configure:6880: checking old version of patch" >&5 d3041 1 a3041 1 echo "configure:6896: checking for $ac_word" >&5 d3077 1 a3077 1 echo "configure:6932: checking for $ac_word" >&5 d3113 1 a3113 1 echo "configure:6968: checking for $ac_word" >&5 d3149 1 a3149 1 echo "configure:7004: checking for $ac_word" >&5 d3185 1 a3185 1 echo "configure:7040: checking for $ac_word" >&5 d3221 1 a3221 1 echo "configure:7076: checking for $ac_word" >&5 d3257 1 a3257 1 echo "configure:7112: checking for $ac_word" >&5 d3293 1 a3293 1 echo "configure:7148: checking for $ac_word" >&5 d3330 1 a3330 1 echo "configure:7185: checking for $ac_word" >&5 d3366 1 a3366 1 echo "configure:7221: checking for $ac_word" >&5 d3402 1 a3402 1 echo "configure:7257: checking for $ac_word" >&5 d3438 1 a3438 1 echo "configure:7293: checking for $ac_word" >&5 d3474 1 a3474 1 echo "configure:7329: checking for $ac_word" >&5 d3519 1 a3519 6 dirs=$prefix if test "$cross_compiling" != "yes"; then dirs="$dirs /usr/local" fi for dir in $dirs d3530 1 a3530 1 echo "configure:7390: checking for $dir/lib in LIBS" >&5 d3539 1 a3539 1 echo "configure:7399: checking for $dir/include in INCPATH" >&5 d3549 1 a3549 1 echo "configure:7409: checking for /usr/ucblib in LIBS" >&5 d3563 16 d3582 1 a3582 1 echo "configure:7426: checking for setreuid" >&5 d3587 1 a3587 1 #line 7431 "configure" d3610 1 a3610 1 if { (eval echo configure:7454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3629 1 a3629 1 echo "configure:7473: checking for setreuid in -lucb" >&5 d3637 1 a3637 1 #line 7481 "configure" d3648 1 a3648 1 if { (eval echo configure:7492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3673 1 a3673 1 echo "configure:7517: checking for rand" >&5 d3678 1 a3678 1 #line 7522 "configure" d3701 1 a3701 1 if { (eval echo configure:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3720 1 a3720 1 echo "configure:7564: checking for rand in -lrand" >&5 d3728 1 a3728 1 #line 7572 "configure" d3739 1 a3739 1 if { (eval echo configure:7583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3764 1 a3764 1 echo "configure:7608: checking for getdomainname" >&5 d3769 1 a3769 1 #line 7613 "configure" d3792 1 a3792 1 if { (eval echo configure:7636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3811 1 a3811 1 echo "configure:7655: checking for getdomainname in -lnsl" >&5 d3819 1 a3819 1 #line 7663 "configure" d3830 1 a3830 1 if { (eval echo configure:7674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3854 1 a3854 1 echo "configure:7698: checking for socket" >&5 d3859 1 a3859 1 #line 7703 "configure" d3882 1 a3882 1 if { (eval echo configure:7726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3901 1 a3901 1 echo "configure:7745: checking for socket in -lsocket" >&5 d3909 1 a3909 1 #line 7753 "configure" d3920 1 a3920 1 if { (eval echo configure:7764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d3945 1 a3945 1 echo "configure:7789: checking for fchmod" >&5 d3950 1 a3950 1 #line 7794 "configure" d3973 1 a3973 1 if { (eval echo configure:7817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a3992 56 for ac_func in vsnprintf snprintf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:7840: 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:7868: \"$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 d3994 1 a3994 1 echo "configure:7894: checking for writev in -lport" >&5 d4002 1 a4002 1 #line 7902 "configure" d4013 1 a4013 1 if { (eval echo configure:7913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4043 1 a4043 1 echo "configure:7943: checking for pthread_mutex_trylock in -lpthread" >&5 d4051 1 a4051 1 #line 7951 "configure" d4062 1 a4062 1 if { (eval echo configure:7962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4082 1 a4082 1 echo "configure:7982: checking for __pthread_mutex_trylock in -lpthread" >&5 d4090 1 a4090 1 #line 7990 "configure" d4101 1 a4101 1 if { (eval echo configure:8001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4128 1 a4128 1 echo "configure:8028: checking for mutex_lock in -lthread" >&5 d4136 1 a4136 1 #line 8036 "configure" d4147 1 a4147 1 if { (eval echo configure:8047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a4168 2 WITH_DB_SUBDIR= WITH_INTERNAL_DB=0 d4171 18 a4188 1 libdb3a="" d4190 1 a4190 6 withval=yes # Check whether --with-db or --without-db was given. if test "${with_db+set}" = set; then withval="$with_db" : fi d4192 8 d4201 13 a4213 1 if test $withval = no ; then d4215 9 a4223 6 for ac_hdr in db3/db.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo "configure:8089: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then d4226 4 a4229 2 cat > conftest.$ac_ext < d4240 1 a4240 4 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:8099: \"$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 d4242 1 a4242 1 eval "ac_cv_header_$ac_safe=yes" a4243 1 echo "$ac_err" >&5 d4247 1 a4247 1 eval "ac_cv_header_$ac_safe=no" d4250 2 d4253 1 a4253 1 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then d4255 1 a4255 5 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <&6 echo "configure:8127: checking for db_create" >&5 if eval "test \"`echo '$''{'ac_cv_func_db_create'+set}'`\" = set"; then d4264 4 a4267 2 cat > conftest.$ac_ext < d4275 1 a4275 10 /* 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_db_create) || defined (__stub___db_create) choke me #else db_create(); #endif d4278 1 a4278 1 if { (eval echo configure:8155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4280 1 a4280 1 eval "ac_cv_func_db_create=yes" d4285 1 a4285 1 eval "ac_cv_func_db_create=no" d4288 2 d4291 1 a4291 2 if eval "test \"`echo '$ac_cv_func_'db_create`\" = yes"; then d4293 1 a4293 1 DBLIBSRCS="$DBLIBSRCS db3.c" d4296 3 a4298 3 echo $ac_n "checking for db_create in -ldb-3.2""... $ac_c" 1>&6 echo "configure:8173: checking for db_create in -ldb-3.2" >&5 ac_lib_var=`echo db-3.2'_'db_create | sed 'y%./+-%__p_%'` d4303 1 a4303 1 LIBS="-ldb-3.2 $libthread $LIBS" d4305 1 a4305 1 #line 8181 "configure" d4316 1 a4316 1 if { (eval echo configure:8192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4331 1 a4331 1 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.2" d4334 41 a4374 4 echo $ac_n "checking for db_create in -ldb-3.1""... $ac_c" 1>&6 echo "configure:8211: checking for db_create in -ldb-3.1" >&5 ac_lib_var=`echo db-3.1'_'db_create | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then d4377 2 a4378 4 ac_save_LIBS="$LIBS" LIBS="-ldb-3.1 $libthread $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4403 1 a4403 1 eval "ac_cv_lib_$ac_lib_var=yes" d4408 1 a4408 1 eval "ac_cv_lib_$ac_lib_var=no" d4411 1 a4411 1 LIBS="$ac_save_LIBS" d4413 1 a4413 2 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then d4415 1 a4415 1 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.1" d4418 3 a4420 3 echo $ac_n "checking for db_create in -ldb-3.0""... $ac_c" 1>&6 echo "configure:8249: checking for db_create in -ldb-3.0" >&5 ac_lib_var=`echo db-3.0'_'db_create | sed 'y%./+-%__p_%'` d4425 1 a4425 1 LIBS="-ldb-3.0 $libthread $LIBS" d4427 1 a4427 1 #line 8257 "configure" d4432 1 a4432 1 char db_create(); d4435 1 a4435 1 db_create() d4438 1 a4438 1 if { (eval echo configure:8268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4453 1 a4453 1 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.0" d4456 3 a4458 3 echo $ac_n "checking for db_create in -ldb""... $ac_c" 1>&6 echo "configure:8287: checking for db_create in -ldb" >&5 ac_lib_var=`echo db'_'db_create | sed 'y%./+-%__p_%'` d4463 1 a4463 1 LIBS="-ldb $libthread $LIBS" d4465 1 a4465 1 #line 8295 "configure" d4470 1 a4470 1 char db_create(); d4473 1 a4473 1 db_create() d4476 1 a4476 1 if { (eval echo configure:8306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4491 1 a4491 1 DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb" d4496 1 a4496 1 d4499 1 a4499 4 fi a4501 1 a4503 1 d4505 1 a4505 1 { echo "configure: error: sorry rpm requires libdb-3.x.a (from the Berkeley db package)" 1>&2; exit 1; } d4510 1 a4510 1 echo "configure:8345: checking whether $libdb3 needs $libthread" >&5 d4514 1 a4514 1 #line 8349 "configure" d4525 1 a4525 1 if { (eval echo configure:8360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4538 1 a4538 11 else cat >> confdefs.h <<\EOF #define HAVE_DB3_DB_H 1 EOF WITH_DB_SUBDIR=db3 WITH_INTERNAL_DB=1 DBLIBSRCS="db3.c" libdb3="# \$(top_builddir)/db3/libdb.la" libdb3a="\$(top_builddir)/db3/libdb.a" fi a4542 5 DBLIBSRCS="$DBLIBSRCS db1.c falloc.c" DBLIBOBJS=`echo $DBLIBSRCS | sed -e "s/\.c/\.lo/g"` d4552 4 d4564 1 a4564 1 echo "configure:8410: checking for fork" >&5 d4569 1 a4569 1 #line 8415 "configure" d4592 1 a4592 1 if { (eval echo configure:8438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4624 1 a4624 1 echo "configure:8470: checking for gzread in -l${zlib}" >&5 d4632 1 a4632 1 #line 8478 "configure" d4643 1 a4643 1 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4670 1 a4670 1 echo "configure:8516: checking for gzseek in -l${zlib}" >&5 d4678 1 a4678 1 #line 8524 "configure" d4689 1 a4689 1 if { (eval echo configure:8535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4714 1 a4714 1 echo "configure:8560: checking for bzread in -lbz2" >&5 d4722 1 a4722 1 #line 8568 "configure" d4733 1 a4733 1 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4752 1 a4752 1 echo "configure:8598: checking for BZ2_bzread in -lbz2" >&5 d4760 1 a4760 1 #line 8606 "configure" d4771 1 a4771 1 if { (eval echo configure:8617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4805 1 a4805 1 echo "configure:8651: checking for $ac_func" >&5 d4810 1 a4810 1 #line 8656 "configure" d4833 1 a4833 1 if { (eval echo configure:8679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d4859 1 a4859 1 echo "configure:8705: checking for error_at_line" >&5 d4864 1 a4864 1 #line 8710 "configure" d4871 1 a4871 1 if { (eval echo configure:8717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a4889 30 # 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:8739: 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 if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else 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_prog_RANLIB="ranlib" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" fi fi RANLIB="$ac_cv_prog_RANLIB" if test -n "$RANLIB"; then echo "$ac_t""$RANLIB" 1>&6 else echo "$ac_t""no" 1>&6 fi d4891 1 a4891 1 echo "configure:8767: checking for working const" >&5 d4896 1 a4896 1 #line 8772 "configure" d4945 1 a4945 1 if { (eval echo configure:8821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d4966 1 a4966 1 echo "configure:8842: checking for inline" >&5 d4973 1 a4973 1 #line 8849 "configure" d4980 1 a4980 1 if { (eval echo configure:8856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d5006 1 a5006 1 echo "configure:8882: checking for off_t" >&5 d5011 1 a5011 1 #line 8887 "configure" d5039 1 a5039 1 echo "configure:8915: checking for size_t" >&5 d5044 1 a5044 1 #line 8920 "configure" d5074 1 a5074 1 echo "configure:8950: checking for working alloca.h" >&5 d5079 1 a5079 1 #line 8955 "configure" d5086 1 a5086 1 if { (eval echo configure:8962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5107 1 a5107 1 echo "configure:8983: checking for alloca" >&5 d5112 1 a5112 1 #line 8988 "configure" d5140 1 a5140 1 if { (eval echo configure:9016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5172 1 a5172 1 echo "configure:9048: checking whether alloca needs Cray hooks" >&5 d5177 1 a5177 1 #line 9053 "configure" d5202 1 a5202 1 echo "configure:9078: checking for $ac_func" >&5 d5207 1 a5207 1 #line 9083 "configure" d5230 1 a5230 1 if { (eval echo configure:9106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5257 1 a5257 1 echo "configure:9133: checking stack direction for C alloca" >&5 d5265 1 a5265 1 #line 9141 "configure" d5284 1 a5284 1 if { (eval echo configure:9160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5305 1 a5305 1 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h d5309 1 a5309 1 echo "configure:9185: checking for $ac_hdr" >&5 d5314 1 a5314 1 #line 9190 "configure" d5319 1 a5319 1 { (eval echo configure:9195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5348 1 a5348 1 echo "configure:9224: checking for $ac_func" >&5 d5353 1 a5353 1 #line 9229 "configure" d5376 1 a5376 1 if { (eval echo configure:9252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5401 1 a5401 1 echo "configure:9277: checking for working mmap" >&5 d5409 1 a5409 1 #line 9285 "configure" a5436 16 #if HAVE_SYS_TYPES_H # include #endif #if HAVE_STDLIB_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if HAVE_UNISTD_H # include #endif d5439 3 d5549 1 a5549 1 if { (eval echo configure:9438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d5571 3 a5573 40 echo $ac_n "checking whether we are using the GNU C Library 2.1 or newer""... $ac_c" 1>&6 echo "configure:9462: checking whether we are using the GNU C Library 2.1 or newer" >&5 if eval "test \"`echo '$''{'ac_cv_gnu_library_2_1'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) Lucky GNU user #endif #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "Lucky GNU user" >/dev/null 2>&1; then rm -rf conftest* ac_cv_gnu_library_2_1=yes else rm -rf conftest* ac_cv_gnu_library_2_1=no fi rm -f conftest* fi echo "$ac_t""$ac_cv_gnu_library_2_1" 1>&6 GLIBC21="$ac_cv_gnu_library_2_1" for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ stdlib.h string.h unistd.h sys/param.h d5577 1 a5577 1 echo "configure:9503: checking for $ac_hdr" >&5 d5582 1 a5582 1 #line 9508 "configure" d5587 1 a5587 1 { (eval echo configure:9513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5613 2 a5614 3 for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \ getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \ strdup strtoul tsearch __argz_count __argz_stringify __argz_next d5617 1 a5617 1 echo "configure:9544: checking for $ac_func" >&5 d5622 1 a5622 1 #line 9549 "configure" d5645 1 a5645 1 if { (eval echo configure:9572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5670 6 a5675 17 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then withval="$with_libiconv_prefix" for dir in `echo "$withval" | tr : ' '`; do if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi done fi echo $ac_n "checking for iconv""... $ac_c" 1>&6 echo "configure:9612: checking for iconv" >&5 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then d5678 2 a5679 5 am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat > conftest.$ac_ext < #include int main() { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } EOF if { (eval echo configure:9630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_func_iconv=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS -liconv" cat > conftest.$ac_ext < #include a5689 18 iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } EOF if { (eval echo configure:9652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_lib_iconv=yes am_cv_func_iconv=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* LIBS="$am_save_LIBS" fi fi d5691 5 a5695 24 echo "$ac_t""$am_cv_func_iconv" 1>&6 if test "$am_cv_func_iconv" = yes; then cat >> confdefs.h <<\EOF #define HAVE_ICONV 1 EOF echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6 echo "configure:9673: checking for iconv declaration" >&5 if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); d5697 1 a5697 1 size_t iconv(); a5699 2 int main() { d5702 1 a5702 1 if { (eval echo configure:9698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d5704 1 a5704 1 am_cv_proto_iconv_arg1="" d5709 1 a5709 1 am_cv_proto_iconv_arg1="const" a5711 1 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" d5714 5 a5718 5 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` echo "$ac_t""${ac_t:- }$am_cv_proto_iconv" 1>&6 cat >> confdefs.h <&6 echo "configure:9727: checking for nl_langinfo and CODESET" >&5 if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 d5722 1 a5722 19 cat > conftest.$ac_ext < int main() { char* cs = nl_langinfo(CODESET); ; return 0; } EOF if { (eval echo configure:9739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_langinfo_codeset=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* am_cv_langinfo_codeset=no fi rm -f conftest* d5724 1 d5726 4 a5729 4 echo "$ac_t""$am_cv_langinfo_codeset" 1>&6 if test $am_cv_langinfo_codeset = yes; then cat >> confdefs.h <<\EOF #define HAVE_LANGINFO_CODESET 1 d5732 1 a5732 1 fi d5736 1 a5736 1 echo "configure:9762: checking for LC_MESSAGES" >&5 d5741 1 a5741 1 #line 9767 "configure" d5748 1 a5748 1 if { (eval echo configure:9774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5769 1 a5769 1 echo "configure:9795: checking whether NLS is requested" >&5 a5780 1 BUILD_INCLUDED_LIBINTL=no a5781 1 INTLLIBS= d5789 1 a5789 1 echo "configure:9817: checking whether included gettext is requested" >&5 d5802 3 a5804 4 CATOBJEXT=NONE d5808 1 a5808 1 echo "configure:9837: checking for libintl.h" >&5 d5813 1 a5813 1 #line 9842 "configure" d5818 1 a5818 1 { (eval echo configure:9847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d5834 3 a5836 3 echo $ac_n "checking for GNU gettext in libc""... $ac_c" 1>&6 echo "configure:9864: checking for GNU gettext in libc" >&5 if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libc'+set}'`\" = set"; then d5840 1 a5840 1 #line 9869 "configure" a5842 1 extern int _nl_msg_cat_cntr; d5844 1 a5844 2 bindtextdomain ("", ""); return (int) gettext ("") + _nl_msg_cat_cntr d5847 1 a5847 1 if { (eval echo configure:9878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5849 1 a5849 1 gt_cv_func_gnugettext1_libc=yes d5854 1 a5854 1 gt_cv_func_gnugettext1_libc=no d5859 34 a5892 1 echo "$ac_t""$gt_cv_func_gnugettext1_libc" 1>&6 d5894 6 a5899 4 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then echo $ac_n "checking for GNU gettext in libintl""... $ac_c" 1>&6 echo "configure:9894: checking for GNU gettext in libintl" >&5 if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libintl'+set}'`\" = set"; then d5902 10 a5911 4 gt_save_LIBS="$LIBS" LIBS="$LIBS -lintl $LIBICONV" cat > conftest.$ac_ext < extern int _nl_msg_cat_cntr; d5919 1 a5919 2 bindtextdomain ("", ""); return (int) gettext ("") + _nl_msg_cat_cntr d5922 1 a5922 1 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d5924 1 a5924 1 gt_cv_func_gnugettext1_libintl=yes d5929 1 a5929 1 gt_cv_func_gnugettext1_libintl=no d5932 16 a5947 1 LIBS="$gt_save_LIBS" a5949 1 echo "$ac_t""$gt_cv_func_gnugettext1_libintl" 1>&6 d5952 3 a5954 4 if test "$gt_cv_func_gnugettext1_libc" = "yes" \ || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ && test "$PACKAGE" != gettext; }; then cat >> confdefs.h <<\EOF d5958 35 a5992 8 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then INTLLIBS="-lintl $LIBICONV" fi gt_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext d5995 1 a5995 1 echo "configure:9943: checking for $ac_func" >&5 d6000 1 a6000 1 #line 9948 "configure" d6023 1 a6023 1 if { (eval echo configure:9971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6047 35 a6081 1 LIBS="$gt_save_LIBS" d6083 2 a6084 2 # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 d6086 2 a6087 2 echo "configure:10000: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then d6090 1 a6090 1 case "$MSGFMT" in d6092 1 a6092 1 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. d6099 2 a6100 2 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" d6106 172 a6277 1 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" d6281 3 a6283 3 MSGFMT="$ac_cv_path_MSGFMT" if test -n "$MSGFMT"; then echo "$ac_t""$MSGFMT" 1>&6 d6287 2 a6288 2 if test "$MSGFMT" != "no"; then # Extract the first word of "gmsgfmt", so it can be a program name with args. d6291 1 a6291 1 echo "configure:10034: checking for $ac_word" >&5 d6313 1 a6313 1 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" d6324 34 a6357 1 fi d6359 2 a6360 1 # Extract the first word of "xgettext", so it can be a program name with args. d6363 1 a6363 1 echo "configure:10072: checking for $ac_word" >&5 d6394 10 a6403 4 CATOBJEXT=.gmo fi d6408 2 d6421 1 a6421 1 echo "configure:10122: checking for $ac_word" >&5 d6455 1 a6455 1 echo "configure:10156: checking for $ac_word" >&5 d6491 1 a6491 1 echo "configure:10192: checking for $ac_word" >&5 a6522 1 BUILD_INCLUDED_LIBINTL=yes d6525 7 a6531 2 INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` d6543 6 a6548 1 POSUB=po d6551 1 d6554 5 a6558 54 if test "$PACKAGE" = gettext; then BUILD_INCLUDED_LIBINTL=yes fi for ac_prog in bison 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:10254: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_INTLBISON'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test -n "$INTLBISON"; then ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test. else 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_prog_INTLBISON="$ac_prog" break fi done IFS="$ac_save_ifs" fi fi INTLBISON="$ac_cv_prog_INTLBISON" if test -n "$INTLBISON"; then echo "$ac_t""$INTLBISON" 1>&6 else echo "$ac_t""no" 1>&6 fi test -n "$INTLBISON" && break done if test -z "$INTLBISON"; then ac_verc_fail=yes else echo $ac_n "checking version of bison""... $ac_c" 1>&6 echo "configure:10287: checking version of bison" >&5 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; esac echo "$ac_t""$ac_prog_version" 1>&6 fi if test $ac_verc_fail = yes; then INTLBISON=: a6574 8 nls_cv_header_intl= nls_cv_header_libgt= DATADIRNAME=share INSTOBJEXT=.mo a6575 2 GENCAT=gencat d6584 1 a6584 1 echo "configure:10334: checking for catalogs to be installed" >&5 d6586 4 a6589 15 for presentlang in $ALL_LINGUAS; do useit=no for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi d6600 60 d6669 1 a6669 1 INTL_LIBTOOL_SUFFIX_PREFIX= d6671 14 d6691 1 a6691 1 echo "configure:10378: checking for ANSI C header files" >&5 d6696 1 a6696 1 #line 10383 "configure" d6704 1 a6704 1 { (eval echo configure:10391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6721 1 a6721 1 #line 10408 "configure" d6739 1 a6739 1 #line 10426 "configure" d6760 1 a6760 1 #line 10447 "configure" d6771 1 a6771 1 if { (eval echo configure:10458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d6795 1 a6795 1 echo "configure:10482: checking whether sys/types.h defines makedev" >&5 d6800 1 a6800 1 #line 10487 "configure" d6807 1 a6807 1 if { (eval echo configure:10494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6825 1 a6825 1 echo "configure:10512: checking for sys/mkdev.h" >&5 d6830 1 a6830 1 #line 10517 "configure" d6835 1 a6835 1 { (eval echo configure:10522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6863 1 a6863 1 echo "configure:10550: checking for sys/sysmacros.h" >&5 d6868 1 a6868 1 #line 10555 "configure" d6873 1 a6873 1 { (eval echo configure:10560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d6905 1 a6905 1 echo "configure:10592: checking for $ac_hdr that defines DIR" >&5 d6910 1 a6910 1 #line 10597 "configure" d6918 1 a6918 1 if { (eval echo configure:10605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d6943 1 a6943 1 echo "configure:10630: checking for opendir in -ldir" >&5 d6951 1 a6951 1 #line 10638 "configure" d6962 1 a6962 1 if { (eval echo configure:10649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d6984 1 a6984 1 echo "configure:10671: checking for opendir in -lx" >&5 d6992 1 a6992 1 #line 10679 "configure" d7003 1 a7003 1 if { (eval echo configure:10690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7026 1 a7026 1 echo "configure:10713: checking whether time.h and sys/time.h may both be included" >&5 d7031 1 a7031 1 #line 10718 "configure" d7040 1 a7040 1 if { (eval echo configure:10727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7061 40 d7105 1 a7105 1 echo "configure:10752: checking for $ac_hdr" >&5 d7110 1 a7110 1 #line 10757 "configure" d7115 1 a7115 1 { (eval echo configure:10762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7142 1 a7142 1 for ac_hdr in sys/ipc.h sys/socket.h sys/select.h d7146 1 a7146 1 echo "configure:10793: checking for $ac_hdr" >&5 d7151 1 a7151 1 #line 10798 "configure" d7156 1 a7156 1 { (eval echo configure:10803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7186 1 a7186 1 echo "configure:10833: checking for $ac_hdr" >&5 d7191 1 a7191 1 #line 10838 "configure" d7196 1 a7196 1 { (eval echo configure:10843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7226 1 a7226 1 echo "configure:10873: checking for $ac_hdr" >&5 d7231 1 a7231 1 #line 10878 "configure" d7236 1 a7236 1 { (eval echo configure:10883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7267 1 a7267 1 echo "configure:10914: checking for $ac_hdr" >&5 d7272 1 a7272 1 #line 10919 "configure" d7277 1 a7277 1 { (eval echo configure:10924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7307 1 a7307 1 echo "configure:10954: checking for $ac_hdr" >&5 d7312 1 a7312 1 #line 10959 "configure" d7317 1 a7317 1 { (eval echo configure:10964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7347 1 a7347 1 echo "configure:10994: checking for $ac_hdr" >&5 d7352 1 a7352 1 #line 10999 "configure" d7357 1 a7357 1 { (eval echo configure:11004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7387 1 a7387 1 echo "configure:11034: checking for $ac_hdr" >&5 d7392 1 a7392 1 #line 11039 "configure" d7397 1 a7397 1 { (eval echo configure:11044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7427 1 a7427 1 echo "configure:11074: checking for $ac_hdr" >&5 d7432 1 a7432 1 #line 11079 "configure" d7437 1 a7437 1 { (eval echo configure:11084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7467 1 a7467 1 echo "configure:11114: checking for $ac_hdr" >&5 d7472 1 a7472 1 #line 11119 "configure" d7477 1 a7477 1 { (eval echo configure:11124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7508 1 a7508 1 echo "configure:11155: checking for $ac_hdr" >&5 d7513 1 a7513 1 #line 11160 "configure" d7518 1 a7518 1 { (eval echo configure:11165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7559 1 a7559 1 echo "configure:11206: checking for $ac_hdr" >&5 d7564 1 a7564 1 #line 11211 "configure" d7569 1 a7569 1 { (eval echo configure:11216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d7597 1 a7597 1 echo "configure:11244: checking for struct statfs" >&5 d7602 1 a7602 1 #line 11249 "configure" d7613 1 a7613 1 if { (eval echo configure:11260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7630 1 a7630 1 #line 11277 "configure" d7641 1 a7641 1 if { (eval echo configure:11288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7658 1 a7658 1 #line 11305 "configure" d7672 1 a7672 1 if { (eval echo configure:11319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7689 1 a7689 1 #line 11336 "configure" d7700 1 a7700 1 if { (eval echo configure:11347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7721 1 a7721 1 echo "configure:11368: checking for f_bavail member in struct statfs" >&5 d7723 1 a7723 1 #line 11370 "configure" d7747 1 a7747 1 if { (eval echo configure:11394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7766 1 a7766 1 echo "configure:11413: checking if statfs() requires 4 arguments" >&5 d7772 1 a7772 1 #line 11419 "configure" d7791 1 a7791 1 if { (eval echo configure:11438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d7810 1 a7810 1 echo "configure:11457: checking for inline" >&5 d7817 1 a7817 1 #line 11464 "configure" d7824 1 a7824 1 if { (eval echo configure:11471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d7852 1 a7852 1 echo "configure:11499: checking if defines h_errno" >&5 d7854 1 a7854 1 #line 11501 "configure" d7861 1 a7861 1 if { (eval echo configure:11508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7878 1 a7878 1 echo "configure:11525: checking if defines S_IFSOCK" >&5 d7880 1 a7880 1 #line 11527 "configure" d7887 1 a7887 1 if { (eval echo configure:11534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7906 1 a7906 1 echo "configure:11553: checking if defines S_ISLNK" >&5 d7908 1 a7908 1 #line 11555 "configure" d7915 1 a7915 1 if { (eval echo configure:11562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7934 1 a7934 1 echo "configure:11581: checking if defines S_ISSOCK" >&5 d7936 1 a7936 1 #line 11583 "configure" d7943 1 a7943 1 if { (eval echo configure:11590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7962 1 a7962 1 echo "configure:11609: checking if timezone is defined" >&5 d7964 1 a7964 1 #line 11611 "configure" d7971 1 a7971 1 if { (eval echo configure:11618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7984 1 a7984 1 echo "configure:11631: checking for mode_t" >&5 d7989 1 a7989 1 #line 11636 "configure" d8017 1 a8017 1 echo "configure:11664: checking for pid_t" >&5 d8022 1 a8022 1 #line 11669 "configure" d8053 1 a8053 1 echo "configure:11700: checking for working alloca.h" >&5 d8058 1 a8058 1 #line 11705 "configure" d8065 1 a8065 1 if { (eval echo configure:11712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8086 1 a8086 1 echo "configure:11733: checking for alloca" >&5 d8091 1 a8091 1 #line 11738 "configure" d8119 1 a8119 1 if { (eval echo configure:11766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8151 1 a8151 1 echo "configure:11798: checking whether alloca needs Cray hooks" >&5 d8156 1 a8156 1 #line 11803 "configure" d8181 1 a8181 1 echo "configure:11828: checking for $ac_func" >&5 d8186 1 a8186 1 #line 11833 "configure" d8209 1 a8209 1 if { (eval echo configure:11856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8236 1 a8236 1 echo "configure:11883: checking stack direction for C alloca" >&5 d8244 1 a8244 1 #line 11891 "configure" d8263 1 a8263 1 if { (eval echo configure:11910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8285 1 a8285 1 echo "configure:11932: checking for vprintf" >&5 d8290 1 a8290 1 #line 11937 "configure" d8313 1 a8313 1 if { (eval echo configure:11960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8337 1 a8337 1 echo "configure:11984: checking for _doprnt" >&5 d8342 1 a8342 1 #line 11989 "configure" d8365 1 a8365 1 if { (eval echo configure:12012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8391 1 a8391 1 echo "configure:12038: checking for working fnmatch" >&5 d8402 1 a8402 1 #line 12049 "configure" d8406 1 a8406 1 if { (eval echo configure:12053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8440 1 a8440 1 echo "configure:12087: checking for $ac_func" >&5 d8445 1 a8445 1 #line 12092 "configure" d8468 1 a8468 1 if { (eval echo configure:12115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8495 1 a8495 1 echo "configure:12142: checking for $ac_func" >&5 d8500 1 a8500 1 #line 12147 "configure" d8523 1 a8523 1 if { (eval echo configure:12170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8550 1 a8550 1 echo "configure:12197: checking for $ac_func" >&5 d8555 1 a8555 1 #line 12202 "configure" d8578 1 a8578 1 if { (eval echo configure:12225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8606 1 a8606 57 echo "configure:12253: 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:12281: \"$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 ftok do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:12309: checking for $ac_func" >&5 d8611 1 a8611 1 #line 12314 "configure" d8634 1 a8634 1 if { (eval echo configure:12337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8668 1 a8668 1 echo "configure:12371: checking for $ac_func" >&5 d8673 1 a8673 1 #line 12376 "configure" d8696 1 a8696 1 if { (eval echo configure:12399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8726 1 a8726 6 echo "configure:12429: checking for GNU extensions to glob" >&5 if eval "test \"`echo '$''{'rpm_cv_glob_ext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else rm -f t d8734 1 a8734 1 #line 12442 "configure" d8746 1 a8746 1 if { (eval echo configure:12454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8759 4 a8762 7 fi echo "$ac_t""$rpm_cv_glob_ext" 1>&6 if test "$rpm_cv_glob_ext" = no ; then echo " --> using the included GNU glob instead." >&6 rpm_cv_glob=yes d8766 1 a8766 1 if test "$rpm_cv_glob" = yes; then d8773 1 d8784 1 a8784 1 echo "configure:12494: checking for python 1.5.2" >&5 d8786 1 a8786 1 withval=yes d8789 1 a8789 1 #line 12499 "configure" d8797 1 a8797 1 if { (eval echo configure:12507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d8825 1 a8825 1 echo "configure:12535: checking for $ac_word" >&5 d8899 1 a8899 1 echo "configure:12609: checking for $ac_func" >&5 d8904 1 a8904 1 #line 12614 "configure" d8927 1 a8927 1 if { (eval echo configure:12637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8955 1 a8955 1 echo "configure:12665: checking for $ac_func" >&5 d8960 1 a8960 1 #line 12670 "configure" d8983 1 a8983 1 if { (eval echo configure:12693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9009 1 a9009 1 echo "configure:12719: checking for getmntent" >&5 d9014 1 a9014 1 #line 12724 "configure" d9037 1 a9037 1 if { (eval echo configure:12747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9059 1 a9059 1 echo "configure:12769: checking for mntctl" >&5 d9064 1 a9064 1 #line 12774 "configure" d9087 1 a9087 1 if { (eval echo configure:12797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9109 1 a9109 1 echo "configure:12819: checking for getmntinfo_r" >&5 d9114 1 a9114 1 #line 12824 "configure" d9137 1 a9137 1 if { (eval echo configure:12847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9159 1 a9159 1 echo "configure:12869: checking for getmntinfo_r in -lc_r" >&5 d9167 1 a9167 1 #line 12877 "configure" d9178 1 a9178 1 if { (eval echo configure:12888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9216 1 a9216 1 echo "configure:12926: checking for lchown" >&5 d9221 1 a9221 1 #line 12931 "configure" d9244 1 a9244 1 if { (eval echo configure:12954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9269 1 a9269 1 echo "configure:12979: checking whether chown() follows symlinks" >&5 d9297 1 a9297 1 echo "configure:13007: checking (cannot check by non-root user)" >&5 d9315 1 a9315 1 echo "configure:13025: checking root's primary group" >&5 d9321 1 a9321 1 #line 13031 "configure" d9350 1 a9350 1 if { (eval echo configure:13060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null a9475 1 armv3l*) RPMCANONARCH=armv3l ;; d9478 1 a9478 4 arm*) RPMCANONARCH="${build_cpu}" ;; mipsel*) RPMCANONARCH=mipsel ;; mips*) RPMCANONARCH=mips ;; m68k*) RPMCANONARCH=m68k ;; d9486 1 a9486 1 unknown|pc|ibm|redhat|pld|mandrake|conectiva) d9563 6 d9585 1 a9585 2 subdirs="popt $WITH_DB_SUBDIR" d9688 3 a9690 3 trap 'rm -fr `echo " Doxyfile Makefile rpmrc macros platform rpmpopt rpm.spec rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile scripts/Makefile scripts/brp-redhat tools/Makefile d9695 1 a9695 1 python/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 a9754 6 s%@@CXX@@%$CXX%g s%@@AS@@%$AS%g s%@@RPMUSER@@%$RPMUSER%g s%@@RPMUID@@%$RPMUID%g s%@@RPMGROUP@@%$RPMGROUP%g s%@@RPMGID@@%$RPMGID%g a9764 3 s%@@OBJEXT@@%$OBJEXT%g s%@@EXEEXT@@%$EXEEXT%g s%@@ECHO@@%$ECHO%g a9765 1 s%@@STRIP@@%$STRIP%g d9775 1 a9775 2 s%@@__FILE@@%$__FILE%g s%@@__GPG@@%$__GPG%g a9776 1 s%@@GZIPBIN@@%$GZIPBIN%g a9797 2 s%@@WITH_DB_SUBDIR@@%$WITH_DB_SUBDIR%g s%@@WITH_INTERNAL_DB@@%$WITH_INTERNAL_DB%g d9801 2 a9802 1 s%@@libdb3a@@%$libdb3a%g a9805 2 s%@@GLIBC21@@%$GLIBC21%g s%@@LIBICONV@@%$LIBICONV%g d9810 1 a9810 2 s%@@INTLBISON@@%$INTLBISON%g s%@@BUILD_INCLUDED_LIBINTL@@%$BUILD_INCLUDED_LIBINTL%g d9814 1 d9816 2 d9822 3 a9824 3 s%@@DATADIRNAME@@%$DATADIRNAME%g s%@@INSTOBJEXT@@%$INSTOBJEXT%g s%@@GENCAT@@%$GENCAT%g d9826 1 a9826 1 s%@@INTL_LIBTOOL_SUFFIX_PREFIX@@%$INTL_LIBTOOL_SUFFIX_PREFIX%g d9851 1 d9898 3 a9900 3 CONFIG_FILES=\${CONFIG_FILES-"Doxyfile Makefile rpmrc macros platform rpmpopt rpm.spec rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile scripts/Makefile scripts/brp-redhat tools/Makefile d9905 1 a9905 1 python/Makefile "} d10072 45 d10124 4 a10127 27 for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" echo creating "$ac_dir/POTFILES" sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES" echo creating "$ac_dir/Makefile" sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" fi ;; esac done echo timestamp > popt/stamp-h.in a10128 2 d10160 1 a10160 1 for ac_config_dir in popt $WITH_DB_SUBDIR; do d10231 1 @ 1.1.1.18 log @Import: RPM 4.0.4 @ text @d972 1 a972 1 VERSION=4.0.4 a7371 15 WITH_ZLIB_SUBDIR= WITH_ZLIB_INCLUDE= WITH_ZLIB_LIB= #if test -d zlib ; then # WITH_ZLIB_SUBDIR=zlib # addlib \${top_builddir}/zlib # WITH_ZLIB_INCLUDE="-I\${top_srcdir}/${WITH_ZLIB_SUBDIR}" # INCPATH="$INCPATH -I\${top_srcdir}/${WITH_ZLIB_SUBDIR}" # WITH_ZLIB_LIB="\${top_builddir}/${WITH_ZLIB_SUBDIR}/libz.la" # AC_DEFINE(HAVE_GZSEEK) #fi d7389 1 a7389 1 echo "configure:7405: checking for $dir/lib in LIBS" >&5 d7398 1 a7398 1 echo "configure:7414: checking for $dir/include in INCPATH" >&5 d7408 1 a7408 1 echo "configure:7424: checking for /usr/ucblib in LIBS" >&5 d7425 1 a7425 1 echo "configure:7441: checking for setreuid" >&5 d7430 1 a7430 1 #line 7446 "configure" d7453 1 a7453 1 if { (eval echo configure:7469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7472 1 a7472 1 echo "configure:7488: checking for setreuid in -lucb" >&5 d7480 1 a7480 1 #line 7496 "configure" d7491 1 a7491 1 if { (eval echo configure:7507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7516 1 a7516 1 echo "configure:7532: checking for rand" >&5 d7521 1 a7521 1 #line 7537 "configure" d7544 1 a7544 1 if { (eval echo configure:7560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7563 1 a7563 1 echo "configure:7579: checking for rand in -lrand" >&5 d7571 1 a7571 1 #line 7587 "configure" d7582 1 a7582 1 if { (eval echo configure:7598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7607 1 a7607 1 echo "configure:7623: checking for getdomainname" >&5 d7612 1 a7612 1 #line 7628 "configure" d7635 1 a7635 1 if { (eval echo configure:7651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7654 1 a7654 1 echo "configure:7670: checking for getdomainname in -lnsl" >&5 d7662 1 a7662 1 #line 7678 "configure" d7673 1 a7673 1 if { (eval echo configure:7689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7697 1 a7697 1 echo "configure:7713: checking for socket" >&5 d7702 1 a7702 1 #line 7718 "configure" d7725 1 a7725 1 if { (eval echo configure:7741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7744 1 a7744 1 echo "configure:7760: checking for socket in -lsocket" >&5 d7752 1 a7752 1 #line 7768 "configure" d7763 1 a7763 1 if { (eval echo configure:7779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7788 1 a7788 1 echo "configure:7804: checking for fchmod" >&5 d7793 1 a7793 1 #line 7809 "configure" d7816 1 a7816 1 if { (eval echo configure:7832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7839 1 a7839 1 echo "configure:7855: checking for $ac_func" >&5 d7844 1 a7844 1 #line 7860 "configure" d7867 1 a7867 1 if { (eval echo configure:7883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7893 1 a7893 1 echo "configure:7909: checking for writev in -lport" >&5 d7901 1 a7901 1 #line 7917 "configure" d7912 1 a7912 1 if { (eval echo configure:7928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7942 1 a7942 1 echo "configure:7958: checking for pthread_mutex_trylock in -lpthread" >&5 d7950 1 a7950 1 #line 7966 "configure" d7961 1 a7961 1 if { (eval echo configure:7977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d7981 1 a7981 1 echo "configure:7997: checking for __pthread_mutex_trylock in -lpthread" >&5 d7989 1 a7989 1 #line 8005 "configure" d8000 1 a8000 1 if { (eval echo configure:8016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8027 1 a8027 1 echo "configure:8043: checking for mutex_lock in -lthread" >&5 d8035 1 a8035 1 #line 8051 "configure" d8046 1 a8046 1 if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8088 1 a8088 1 echo "configure:8104: checking for $ac_hdr" >&5 d8093 1 a8093 1 #line 8109 "configure" d8098 1 a8098 1 { (eval echo configure:8114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d8126 1 a8126 1 echo "configure:8142: checking for db_create" >&5 d8131 1 a8131 1 #line 8147 "configure" d8154 1 a8154 1 if { (eval echo configure:8170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8172 1 a8172 1 echo "configure:8188: checking for db_create in -ldb-3.2" >&5 d8180 1 a8180 1 #line 8196 "configure" d8191 1 a8191 1 if { (eval echo configure:8207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8210 1 a8210 1 echo "configure:8226: checking for db_create in -ldb-3.1" >&5 d8218 1 a8218 1 #line 8234 "configure" d8229 1 a8229 1 if { (eval echo configure:8245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8248 1 a8248 1 echo "configure:8264: checking for db_create in -ldb-3.0" >&5 d8256 1 a8256 1 #line 8272 "configure" d8267 1 a8267 1 if { (eval echo configure:8283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8286 1 a8286 1 echo "configure:8302: checking for db_create in -ldb" >&5 d8294 1 a8294 1 #line 8310 "configure" d8305 1 a8305 1 if { (eval echo configure:8321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8344 1 a8344 1 echo "configure:8360: checking whether $libdb3 needs $libthread" >&5 d8348 1 a8348 1 #line 8364 "configure" d8359 1 a8359 1 if { (eval echo configure:8375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8409 1 a8409 1 echo "configure:8425: checking for fork" >&5 d8414 1 a8414 1 #line 8430 "configure" d8437 1 a8437 1 if { (eval echo configure:8453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a8466 1 if test -z "${WITH_ZLIB_LIB}" ; then d8469 1 a8469 1 echo "configure:8486: checking for gzread in -l${zlib}" >&5 d8477 1 a8477 1 #line 8494 "configure" d8488 1 a8488 1 if { (eval echo configure:8505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8515 1 a8515 1 echo "configure:8532: checking for gzseek in -l${zlib}" >&5 d8523 1 a8523 1 #line 8540 "configure" d8534 1 a8534 1 if { (eval echo configure:8551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then a8556 1 fi d8559 1 a8559 1 echo "configure:8577: checking for bzread in -lbz2" >&5 d8567 1 a8567 1 #line 8585 "configure" d8578 1 a8578 1 if { (eval echo configure:8596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8597 1 a8597 1 echo "configure:8615: checking for BZ2_bzread in -lbz2" >&5 d8605 1 a8605 1 #line 8623 "configure" d8616 1 a8616 1 if { (eval echo configure:8634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8650 1 a8650 1 echo "configure:8668: checking for $ac_func" >&5 d8655 1 a8655 1 #line 8673 "configure" d8678 1 a8678 1 if { (eval echo configure:8696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8704 1 a8704 1 echo "configure:8722: checking for error_at_line" >&5 d8709 1 a8709 1 #line 8727 "configure" d8716 1 a8716 1 if { (eval echo configure:8734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8738 1 a8738 1 echo "configure:8756: checking for $ac_word" >&5 d8766 1 a8766 1 echo "configure:8784: checking for working const" >&5 d8771 1 a8771 1 #line 8789 "configure" d8820 1 a8820 1 if { (eval echo configure:8838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d8841 1 a8841 1 echo "configure:8859: checking for inline" >&5 d8848 1 a8848 1 #line 8866 "configure" d8855 1 a8855 1 if { (eval echo configure:8873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d8881 1 a8881 1 echo "configure:8899: checking for off_t" >&5 d8886 1 a8886 1 #line 8904 "configure" d8914 1 a8914 1 echo "configure:8932: checking for size_t" >&5 d8919 1 a8919 1 #line 8937 "configure" d8949 1 a8949 1 echo "configure:8967: checking for working alloca.h" >&5 d8954 1 a8954 1 #line 8972 "configure" d8961 1 a8961 1 if { (eval echo configure:8979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d8982 1 a8982 1 echo "configure:9000: checking for alloca" >&5 d8987 1 a8987 1 #line 9005 "configure" d9015 1 a9015 1 if { (eval echo configure:9033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9047 1 a9047 1 echo "configure:9065: checking whether alloca needs Cray hooks" >&5 d9052 1 a9052 1 #line 9070 "configure" d9077 1 a9077 1 echo "configure:9095: checking for $ac_func" >&5 d9082 1 a9082 1 #line 9100 "configure" d9105 1 a9105 1 if { (eval echo configure:9123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9132 1 a9132 1 echo "configure:9150: checking stack direction for C alloca" >&5 d9140 1 a9140 1 #line 9158 "configure" d9159 1 a9159 1 if { (eval echo configure:9177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d9184 1 a9184 1 echo "configure:9202: checking for $ac_hdr" >&5 d9189 1 a9189 1 #line 9207 "configure" d9194 1 a9194 1 { (eval echo configure:9212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d9223 1 a9223 1 echo "configure:9241: checking for $ac_func" >&5 d9228 1 a9228 1 #line 9246 "configure" d9251 1 a9251 1 if { (eval echo configure:9269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9276 1 a9276 1 echo "configure:9294: checking for working mmap" >&5 d9284 1 a9284 1 #line 9302 "configure" d9437 1 a9437 1 if { (eval echo configure:9455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d9461 1 a9461 1 echo "configure:9479: checking whether we are using the GNU C Library 2.1 or newer" >&5 d9466 1 a9466 1 #line 9484 "configure" d9502 1 a9502 1 echo "configure:9520: checking for $ac_hdr" >&5 d9507 1 a9507 1 #line 9525 "configure" d9512 1 a9512 1 { (eval echo configure:9530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d9543 1 a9543 1 echo "configure:9561: checking for $ac_func" >&5 d9548 1 a9548 1 #line 9566 "configure" d9571 1 a9571 1 if { (eval echo configure:9589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9611 1 a9611 1 echo "configure:9629: checking for iconv" >&5 d9619 1 a9619 1 #line 9637 "configure" d9629 1 a9629 1 if { (eval echo configure:9647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9641 1 a9641 1 #line 9659 "configure" d9651 1 a9651 1 if { (eval echo configure:9669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9672 1 a9672 1 echo "configure:9690: checking for iconv declaration" >&5 d9678 1 a9678 1 #line 9696 "configure" d9697 1 a9697 1 if { (eval echo configure:9715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d9726 1 a9726 1 echo "configure:9744: checking for nl_langinfo and CODESET" >&5 d9731 1 a9731 1 #line 9749 "configure" d9738 1 a9738 1 if { (eval echo configure:9756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9761 1 a9761 1 echo "configure:9779: checking for LC_MESSAGES" >&5 d9766 1 a9766 1 #line 9784 "configure" d9773 1 a9773 1 if { (eval echo configure:9791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9794 1 a9794 1 echo "configure:9812: checking whether NLS is requested" >&5 d9816 1 a9816 1 echo "configure:9834: checking whether included gettext is requested" >&5 d9836 1 a9836 1 echo "configure:9854: checking for libintl.h" >&5 d9841 1 a9841 1 #line 9859 "configure" d9846 1 a9846 1 { (eval echo configure:9864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d9863 1 a9863 1 echo "configure:9881: checking for GNU gettext in libc" >&5 d9868 1 a9868 1 #line 9886 "configure" d9877 1 a9877 1 if { (eval echo configure:9895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9893 1 a9893 1 echo "configure:9911: checking for GNU gettext in libintl" >&5 d9900 1 a9900 1 #line 9918 "configure" d9909 1 a9909 1 if { (eval echo configure:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9942 1 a9942 1 echo "configure:9960: checking for $ac_func" >&5 d9947 1 a9947 1 #line 9965 "configure" d9970 1 a9970 1 if { (eval echo configure:9988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d9996 1 a9996 1 # Extract the first word of "msgfmt", so it can be a program name with args. d9999 1 a9999 1 echo "configure:10017: checking for $ac_word" >&5 d10012 1 a10012 1 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then d10019 1 a10019 1 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" d10024 1 a10024 1 if test "$MSGFMT" != ":"; then d10029 2 a10030 2 # Extract the first word of "gmsgfmt", so it can be a program name with args. d10033 1 a10033 1 echo "configure:10051: checking for $ac_word" >&5 d10066 1 d10068 1 a10068 1 # Extract the first word of "xgettext", so it can be a program name with args. d10071 1 a10071 1 echo "configure:10088: checking for $ac_word" >&5 d10084 1 a10084 1 if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then d10096 1 a10096 1 if test "$XGETTEXT" != ":"; then d10121 1 a10121 1 echo "configure:10138: checking for $ac_word" >&5 d10134 1 a10134 1 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then d10141 1 a10141 1 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" d10146 1 a10146 1 if test "$MSGFMT" != ":"; then d10155 1 a10155 1 echo "configure:10172: checking for $ac_word" >&5 d10191 1 a10191 1 echo "configure:10208: checking for $ac_word" >&5 d10204 1 a10204 1 if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then d10216 1 a10216 1 if test "$XGETTEXT" != ":"; then d10230 2 a10231 11 if test "$GMSGFMT" != ":"; then if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then : ; else echo "$ac_t""found msgfmt program is not GNU msgfmt; ignore it" 1>&6 GMSGFMT=":" fi fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then d10253 1 a10253 1 echo "configure:10279: checking for $ac_word" >&5 d10286 2 a10287 2 echo "configure:10312: checking version of bison" >&5 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` d10333 1 a10333 1 echo "configure:10359: checking for catalogs to be installed" >&5 d10377 1 a10377 1 echo "configure:10403: checking for ANSI C header files" >&5 d10382 1 a10382 1 #line 10408 "configure" d10390 1 a10390 1 { (eval echo configure:10416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10407 1 a10407 1 #line 10433 "configure" d10425 1 a10425 1 #line 10451 "configure" d10446 1 a10446 1 #line 10472 "configure" d10457 1 a10457 1 if { (eval echo configure:10483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d10481 1 a10481 1 echo "configure:10507: checking whether sys/types.h defines makedev" >&5 d10486 1 a10486 1 #line 10512 "configure" d10493 1 a10493 1 if { (eval echo configure:10519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d10511 1 a10511 1 echo "configure:10537: checking for sys/mkdev.h" >&5 d10516 1 a10516 1 #line 10542 "configure" d10521 1 a10521 1 { (eval echo configure:10547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10549 1 a10549 1 echo "configure:10575: checking for sys/sysmacros.h" >&5 d10554 1 a10554 1 #line 10580 "configure" d10559 1 a10559 1 { (eval echo configure:10585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10591 1 a10591 1 echo "configure:10617: checking for $ac_hdr that defines DIR" >&5 d10596 1 a10596 1 #line 10622 "configure" d10604 1 a10604 1 if { (eval echo configure:10630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d10629 1 a10629 1 echo "configure:10655: checking for opendir in -ldir" >&5 d10637 1 a10637 1 #line 10663 "configure" d10648 1 a10648 1 if { (eval echo configure:10674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d10670 1 a10670 1 echo "configure:10696: checking for opendir in -lx" >&5 d10678 1 a10678 1 #line 10704 "configure" d10689 1 a10689 1 if { (eval echo configure:10715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d10712 1 a10712 1 echo "configure:10738: checking whether time.h and sys/time.h may both be included" >&5 d10717 1 a10717 1 #line 10743 "configure" d10726 1 a10726 1 if { (eval echo configure:10752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d10751 1 a10751 1 echo "configure:10777: checking for $ac_hdr" >&5 d10756 1 a10756 1 #line 10782 "configure" d10761 1 a10761 1 { (eval echo configure:10787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10792 1 a10792 1 echo "configure:10818: checking for $ac_hdr" >&5 d10797 1 a10797 1 #line 10823 "configure" d10802 1 a10802 1 { (eval echo configure:10828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10832 1 a10832 1 echo "configure:10858: checking for $ac_hdr" >&5 d10837 1 a10837 1 #line 10863 "configure" d10842 1 a10842 1 { (eval echo configure:10868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10872 1 a10872 1 echo "configure:10898: checking for $ac_hdr" >&5 d10877 1 a10877 1 #line 10903 "configure" d10882 1 a10882 1 { (eval echo configure:10908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10913 1 a10913 1 echo "configure:10939: checking for $ac_hdr" >&5 d10918 1 a10918 1 #line 10944 "configure" d10923 1 a10923 1 { (eval echo configure:10949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10953 1 a10953 1 echo "configure:10979: checking for $ac_hdr" >&5 d10958 1 a10958 1 #line 10984 "configure" d10963 1 a10963 1 { (eval echo configure:10989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d10993 1 a10993 1 echo "configure:11019: checking for $ac_hdr" >&5 d10998 1 a10998 1 #line 11024 "configure" d11003 1 a11003 1 { (eval echo configure:11029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11033 1 a11033 1 echo "configure:11059: checking for $ac_hdr" >&5 d11038 1 a11038 1 #line 11064 "configure" d11043 1 a11043 1 { (eval echo configure:11069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11073 1 a11073 1 echo "configure:11099: checking for $ac_hdr" >&5 d11078 1 a11078 1 #line 11104 "configure" d11083 1 a11083 1 { (eval echo configure:11109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11113 1 a11113 1 echo "configure:11139: checking for $ac_hdr" >&5 d11118 1 a11118 1 #line 11144 "configure" d11123 1 a11123 1 { (eval echo configure:11149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11154 1 a11154 1 echo "configure:11180: checking for $ac_hdr" >&5 d11159 1 a11159 1 #line 11185 "configure" d11164 1 a11164 1 { (eval echo configure:11190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11205 1 a11205 1 echo "configure:11231: checking for $ac_hdr" >&5 d11210 1 a11210 1 #line 11236 "configure" d11215 1 a11215 1 { (eval echo configure:11241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d11243 1 a11243 1 echo "configure:11269: checking for struct statfs" >&5 d11248 1 a11248 1 #line 11274 "configure" d11259 1 a11259 1 if { (eval echo configure:11285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11276 1 a11276 1 #line 11302 "configure" d11287 1 a11287 1 if { (eval echo configure:11313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11304 1 a11304 1 #line 11330 "configure" d11318 1 a11318 1 if { (eval echo configure:11344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11335 1 a11335 1 #line 11361 "configure" d11346 1 a11346 1 if { (eval echo configure:11372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11367 1 a11367 1 echo "configure:11393: checking for f_bavail member in struct statfs" >&5 d11369 1 a11369 1 #line 11395 "configure" d11393 1 a11393 1 if { (eval echo configure:11419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11412 1 a11412 1 echo "configure:11438: checking if statfs() requires 4 arguments" >&5 d11418 1 a11418 1 #line 11444 "configure" d11437 1 a11437 1 if { (eval echo configure:11463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d11456 1 a11456 1 echo "configure:11482: checking for inline" >&5 d11463 1 a11463 1 #line 11489 "configure" d11470 1 a11470 1 if { (eval echo configure:11496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d11498 1 a11498 1 echo "configure:11524: checking if defines h_errno" >&5 d11500 1 a11500 1 #line 11526 "configure" d11507 1 a11507 1 if { (eval echo configure:11533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11524 1 a11524 1 echo "configure:11550: checking if defines S_IFSOCK" >&5 d11526 1 a11526 1 #line 11552 "configure" d11533 1 a11533 1 if { (eval echo configure:11559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11552 1 a11552 1 echo "configure:11578: checking if defines S_ISLNK" >&5 d11554 1 a11554 1 #line 11580 "configure" d11561 1 a11561 1 if { (eval echo configure:11587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11580 1 a11580 1 echo "configure:11606: checking if defines S_ISSOCK" >&5 d11582 1 a11582 1 #line 11608 "configure" d11589 1 a11589 1 if { (eval echo configure:11615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11608 1 a11608 1 echo "configure:11634: checking if timezone is defined" >&5 d11610 1 a11610 1 #line 11636 "configure" d11617 1 a11617 1 if { (eval echo configure:11643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11630 1 a11630 1 echo "configure:11656: checking for mode_t" >&5 d11635 1 a11635 1 #line 11661 "configure" d11663 1 a11663 1 echo "configure:11689: checking for pid_t" >&5 d11668 1 a11668 1 #line 11694 "configure" d11699 1 a11699 1 echo "configure:11725: checking for working alloca.h" >&5 d11704 1 a11704 1 #line 11730 "configure" d11711 1 a11711 1 if { (eval echo configure:11737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11732 1 a11732 1 echo "configure:11758: checking for alloca" >&5 d11737 1 a11737 1 #line 11763 "configure" d11765 1 a11765 1 if { (eval echo configure:11791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11797 1 a11797 1 echo "configure:11823: checking whether alloca needs Cray hooks" >&5 d11802 1 a11802 1 #line 11828 "configure" d11827 1 a11827 1 echo "configure:11853: checking for $ac_func" >&5 d11832 1 a11832 1 #line 11858 "configure" d11855 1 a11855 1 if { (eval echo configure:11881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11882 1 a11882 1 echo "configure:11908: checking stack direction for C alloca" >&5 d11890 1 a11890 1 #line 11916 "configure" d11909 1 a11909 1 if { (eval echo configure:11935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d11931 1 a11931 1 echo "configure:11957: checking for vprintf" >&5 d11936 1 a11936 1 #line 11962 "configure" d11959 1 a11959 1 if { (eval echo configure:11985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d11983 1 a11983 1 echo "configure:12009: checking for _doprnt" >&5 d11988 1 a11988 1 #line 12014 "configure" d12011 1 a12011 1 if { (eval echo configure:12037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12037 1 a12037 1 echo "configure:12063: checking for working fnmatch" >&5 d12048 1 a12048 1 #line 12074 "configure" d12052 1 a12052 1 if { (eval echo configure:12078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d12076 4 d12086 1 a12086 1 echo "configure:12108: checking for $ac_func" >&5 d12091 1 a12091 1 #line 12113 "configure" d12114 1 a12114 1 if { (eval echo configure:12136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12141 1 a12141 1 echo "configure:12163: checking for $ac_func" >&5 d12146 1 a12146 1 #line 12168 "configure" d12169 1 a12169 1 if { (eval echo configure:12191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12196 1 a12196 1 echo "configure:12218: checking for $ac_func" >&5 d12201 1 a12201 1 #line 12223 "configure" d12224 1 a12224 1 if { (eval echo configure:12246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12252 1 a12252 1 echo "configure:12274: checking for $ac_func" >&5 d12257 1 a12257 1 #line 12279 "configure" d12280 1 a12280 1 if { (eval echo configure:12302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12308 1 a12308 1 echo "configure:12330: checking for $ac_func" >&5 d12313 1 a12313 1 #line 12335 "configure" d12336 1 a12336 1 if { (eval echo configure:12358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12370 1 a12370 1 echo "configure:12392: checking for $ac_func" >&5 d12375 1 a12375 1 #line 12397 "configure" d12398 1 a12398 1 if { (eval echo configure:12420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12428 1 a12428 1 echo "configure:12450: checking for GNU extensions to glob" >&5 d12441 1 a12441 1 #line 12463 "configure" d12453 1 a12453 1 if { (eval echo configure:12475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null a12490 1 WITH_PYTHON_VERSION= d12492 2 a12493 3 echo $ac_n "checking for python 2.2""... $ac_c" 1>&6 echo "configure:12517: checking for python 2.2" >&5 d12498 1 a12498 32 #line 12522 "configure" #include "confdefs.h" #include main() { exit(strncmp("2.2", PY_VERSION, 3)); } EOF if { (eval echo configure:12530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then withval=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* withval=no fi rm -fr conftest* fi echo "$ac_t""$withval" 1>&6 if test $withval = yes ; then WITH_PYTHON_VERSION="2.2" else echo $ac_n "checking for python 1.5.2""... $ac_c" 1>&6 echo "configure:12548: checking for python 1.5.2" >&5 if test "$cross_compiling" = yes; then withval=yes else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d12518 1 a12518 6 echo "$ac_t""$withval" 1>&6 if test $withval = yes ; then WITH_PYTHON_VERSION="1.5" fi fi d12521 1 a12521 1 if test -n "$WITH_PYTHON_VERSION" ; then a12530 1 d12534 1 a12534 1 echo "configure:12595: checking for $ac_word" >&5 d12608 1 a12608 1 echo "configure:12669: checking for $ac_func" >&5 d12613 1 a12613 1 #line 12674 "configure" d12636 1 a12636 1 if { (eval echo configure:12697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12664 1 a12664 1 echo "configure:12725: checking for $ac_func" >&5 d12669 1 a12669 1 #line 12730 "configure" d12692 1 a12692 1 if { (eval echo configure:12753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12718 1 a12718 1 echo "configure:12779: checking for getmntent" >&5 d12723 1 a12723 1 #line 12784 "configure" d12746 1 a12746 1 if { (eval echo configure:12807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12768 1 a12768 1 echo "configure:12829: checking for mntctl" >&5 d12773 1 a12773 1 #line 12834 "configure" d12796 1 a12796 1 if { (eval echo configure:12857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12818 1 a12818 1 echo "configure:12879: checking for getmntinfo_r" >&5 d12823 1 a12823 1 #line 12884 "configure" d12846 1 a12846 1 if { (eval echo configure:12907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12868 1 a12868 1 echo "configure:12929: checking for getmntinfo_r in -lc_r" >&5 d12876 1 a12876 1 #line 12937 "configure" d12887 1 a12887 1 if { (eval echo configure:12948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12925 1 a12925 1 echo "configure:12986: checking for lchown" >&5 d12930 1 a12930 1 #line 12991 "configure" d12953 1 a12953 1 if { (eval echo configure:13014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d12978 1 a12978 1 echo "configure:13039: checking whether chown() follows symlinks" >&5 d13006 1 a13006 1 echo "configure:13067: checking (cannot check by non-root user)" >&5 d13024 1 a13024 1 echo "configure:13085: checking root's primary group" >&5 d13030 1 a13030 1 #line 13091 "configure" d13059 1 a13059 1 if { (eval echo configure:13120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d13292 1 a13292 1 subdirs="popt beecrypt zlib $WITH_DB_SUBDIR" a13517 3 s%@@WITH_ZLIB_SUBDIR@@%$WITH_ZLIB_SUBDIR%g s%@@WITH_ZLIB_INCLUDE@@%$WITH_ZLIB_INCLUDE%g s%@@WITH_ZLIB_LIB@@%$WITH_ZLIB_LIB%g a13550 1 s%@@WITH_PYTHON_VERSION@@%$WITH_PYTHON_VERSION%g a13809 3 # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" d13817 1 a13817 1 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" d13819 1 a13819 1 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" a13825 1 echo timestamp > beecrypt/stamp-h.in d13860 1 a13860 1 for ac_config_dir in popt beecrypt zlib $WITH_DB_SUBDIR; do @ 1.1.1.19 log @Import: RPM 4.0.5 @ text @d2 1 d4 2 a5 1 # Generated by GNU Autoconf 2.57. a6 2 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. a8 232 ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi # Support unset when possible. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@@"} fi;; esac done done ;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" # Sed expression to map a string onto a valid variable name. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH d10 12 a30 1 PATH_SEPARATOR=$lt_cv_sys_path_separator d97 1 a97 1 IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR d180 22 a201 72 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="rpmqv.c" # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif" ac_subdirs_all="$ac_subdirs_all popt beecrypt db3" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE AS RPMUSER RPMUID RPMGROUP RPMGID CTAGS CSCOPE LDFLAGS_STATIC FIXPERMS MKDIR MKDIR_P U ANSI2KNR LN_S ECHO RANLIB ac_ct_RANLIB LIBTOOL AR ac_ct_AR BZIP2BIN __CAT __CHGRP __CHMOD __CHOWN __CP __CPIO __FILE __GPG __GREP GZIPBIN UNZIPBIN __ID __ID_U __INSTALL __MAKE __MKDIR __MV __PATCH __PERL PGPBIN __PYTHON __RM __RSH __SED __SSH __TAR __LD __NM __OBJCOPY __OBJDUMP __STRIP WITH_ZLIB_SUBDIR WITH_ZLIB_INCLUDE WITH_ZLIB_LIB WITH_DB_SUBDIR WITH_INTERNAL_DB DBLIBSRCS DBLIBOBJS libdb3 libdb3a WITH_BZIP2 MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBOBJS WITH_PYTHON_SUBDIR WITH_PYTHON_SUBPACKAGE WITH_PYTHON_VERSION __DOXYGEN WITH_APIDOCS_TARGET WITH_APIDOCS __CHOWN_RHF __CHGRP_RHF ROOT_GROUP varprefix tmpdir MARK64 RPMCANONARCH RPMCANONVENDOR RPMCANONOS LOCALEDIR LIBDIR RPMCONFIGDIR SYSCONFIGDIR MACROFILES LIBRPMRC_FILENAME VENDORRPMRC_FILENAME LIBRPMALIAS_FILENAME FINDREQUIRES FINDPROVIDES testdir INCPATH LIBMISC RPM OBJDUMP subdirs LTLIBOBJS' ac_subst_files='' a203 2 ac_init_help= ac_init_version=false d206 2 a207 1 cache_file=/dev/null d209 1 d211 1 d220 1 a223 6 # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. d237 7 d247 1 d255 4 a258 1 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` d262 1 a262 1 case $ac_option in d267 1 a267 1 bindir=$ac_optarg ;; d270 1 a270 1 ac_prev=build_alias ;; d272 1 a272 1 build_alias=$ac_optarg ;; d279 1 a279 4 cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; d285 1 a285 1 datadir=$ac_optarg ;; d288 1 a288 1 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` d290 5 a294 5 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; d297 1 a297 1 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` d299 6 a304 6 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; d307 1 a307 1 eval "enable_$ac_feature='$ac_optarg'" ;; d316 1 a316 1 exec_prefix=$ac_optarg ;; d322 54 a375 6 -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; d378 1 a378 1 ac_prev=host_alias ;; d380 1 a380 1 host_alias=$ac_optarg ;; d387 1 a387 1 includedir=$ac_optarg ;; d392 1 a392 1 infodir=$ac_optarg ;; d397 1 a397 1 libdir=$ac_optarg ;; d404 1 a404 1 libexecdir=$ac_optarg ;; d413 1 a413 1 localstatedir=$ac_optarg ;; d418 1 a418 1 mandir=$ac_optarg ;; d425 1 a425 1 | --no-cr | --no-c | -n) d439 1 a439 1 oldincludedir=$ac_optarg ;; d444 1 a444 1 prefix=$ac_optarg ;; d451 1 a451 1 program_prefix=$ac_optarg ;; d458 1 a458 1 program_suffix=$ac_optarg ;; d475 1 a475 1 program_transform_name=$ac_optarg ;; d485 1 a485 1 sbindir=$ac_optarg ;; d496 1 a496 1 sharedstatedir=$ac_optarg ;; d501 1 a501 1 site=$ac_optarg ;; d506 1 a506 1 srcdir=$ac_optarg ;; d513 1 a513 1 sysconfdir=$ac_optarg ;; d516 1 a516 1 ac_prev=target_alias ;; d518 1 a518 1 target_alias=$ac_optarg ;; d523 3 a525 2 -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; d528 1 a528 1 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` d530 3 a532 3 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } d534 2 a535 2 case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; d538 1 a538 1 eval "with_$ac_package='$ac_optarg'" ;; d541 1 a541 1 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` d543 5 a547 5 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; d558 1 a558 1 x_includes=$ac_optarg ;; d565 1 a565 1 x_libraries=$ac_optarg ;; d567 1 a567 3 -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } a569 10 *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; d571 7 a577 5 # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} d584 17 a600 3 ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } d602 1 d604 4 a607 10 # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done d609 4 a612 3 # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir d614 8 a621 5 eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; d625 9 a633 17 # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi d635 4 a638 4 ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null d640 3 d648 3 a650 12 ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` d660 1 a660 2 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } d662 1 a662 2 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } d665 1 a665 429 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP ac_env_CXX_set=${CXX+set} ac_env_CXX_value=$CXX ac_cv_env_CXX_set=${CXX+set} ac_cv_env_CXX_value=$CXX ac_env_CXXFLAGS_set=${CXXFLAGS+set} ac_env_CXXFLAGS_value=$CXXFLAGS ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} ac_cv_env_CXXFLAGS_value=$CXXFLAGS # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures this package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] _ACEOF cat <<_ACEOF Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors --enable-shared=PKGS build shared libraries default=yes --enable-static=PKGS build static libraries default=yes --enable-fast-install=PKGS optimize for fast installation default=yes --disable-libtool-lock avoid locking (might break parallel builds) --disable-rpath do not hardcode runtime library paths --disable-nls do not use Native Language Support --enable-broken-chown this system's chown follows symbolic links Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld default=no --with-pic try to use only PIC/non-PIC objects default=use both --without-db do not use internal Berkeley db --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-included-gettext use the GNU gettext library included here --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir --with-glob use the internal GNU glob --with-python build rpm python bindings --with-apidocs build rpm API docs --with-dmalloc build with dmalloc debugging support Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_srcdir/configure.gnu; then echo $SHELL $ac_srcdir/configure.gnu --help=recursive elif test -f $ac_srcdir/configure; then echo $SHELL $ac_srcdir/configure --help=recursive elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd $ac_popdir done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.57. Invocation command line was $ $0 $@@ _ACEOF { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` hostinfo = `(hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_sep= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core core.* *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >confdefs.h a666 28 # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. d677 1 a677 3 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 d683 2 a684 10 # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi d686 2 a687 54 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } d691 1 d693 17 a709 20 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu a721 4 elif test -f $ac_dir/shtool; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break d725 19 a743 7 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. d745 6 a750 74 # Make sure we can run config.sub. $ac_config_sub sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 echo "$as_me: error: cannot run $ac_config_sub" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6 if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_build_alias=$build_alias test -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess` test -z "$ac_cv_build_alias" && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6 build=$ac_cv_build build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6 if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_host_alias=$host_alias test -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_alias ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6 host=$ac_cv_host host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$as_me:$LINENO: checking target system type" >&5 echo $ECHO_N "checking target system type... $ECHO_C" >&6 if test "${ac_cv_target+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_target_alias=$target_alias test "x$ac_cv_target_alias" = "x" && ac_cv_target_alias=$ac_cv_host_alias ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: $ac_cv_target" >&5 echo "${ECHO_T}$ac_cv_target" >&6 target=$ac_cv_target target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` d753 63 a815 3 # The aliases save the names the user supplied, while $host etc. # will get canonicalized. test -n "$target_alias" && a818 1 ac_config_headers="$ac_config_headers " d820 1 a820 1 am__api_version="1.6" a827 1 # AmigaOS /C/install, which installs bootblocks on floppy discs d832 2 a833 2 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 d835 2 a836 2 if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d838 20 a857 30 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi d859 4 a862 5 done ;; esac done d866 1 a866 1 INSTALL=$ac_cv_path_install d872 1 a872 1 INSTALL=$ac_install_sh d875 1 a875 2 echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 d881 1 a881 1 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' d885 2 a886 2 echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 d889 1 a889 1 echo timestamp > conftest.file d896 1 a896 1 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` d899 1 a899 1 set X `ls -t $srcdir/configure conftest.file` d901 2 a902 3 rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then d908 2 a909 5 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } d912 1 a912 1 test "$2" = conftest.file d918 14 a931 5 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } a932 2 echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 d934 1 a934 1 program_transform_name="s,^,$program_prefix,;$program_transform_name" d937 1 a937 59 program_transform_name="s,\$,$program_suffix,;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi for ac_prog in gawk mawk nawk awk 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi d939 2 a940 2 test -n "$AWK" && break done d942 5 a946 5 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 d948 1 a948 1 cat >conftest.make <<\_ACEOF d950 2 a951 2 @@echo 'ac_maketemp="$(MAKE)"' _ACEOF d953 1 a953 1 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` d959 1 a959 1 rm -f conftest.make d962 1 a962 2 echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 d965 1 a965 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 a968 7 # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi d970 1 a970 3 # Define the identity of the package. PACKAGE=rpm VERSION=4.0.5 d972 1 d974 4 a977 1 cat >>confdefs.h <<_ACEOF d979 1 a979 1 _ACEOF d981 1 a981 2 cat >>confdefs.h <<_ACEOF d983 1 a983 14 _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} a985 1 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} d987 9 a995 17 AMTAR=${AMTAR-"${am_missing_run}tar"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d997 3 a999 16 if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d1001 8 a1008 6 fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 d1010 2 a1011 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d1014 11 a1025 25 if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d1027 8 a1034 7 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 d1036 2 a1037 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d1040 8 a1047 1 STRIP=$ac_ct_STRIP d1049 2 a1050 1 STRIP="$ac_cv_prog_STRIP" a1052 7 fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. a1053 3 # Add the stamp file to the list of files AC keeps track of, # along with our hook. ac_config_headers="$ac_config_headers config.h" d1058 1 d1062 1 a1062 40 ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi d1064 1 a1064 4 fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. d1066 4 a1069 46 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d1074 10 a1083 14 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d1086 1 a1086 1 CC=$ac_cv_prog_CC d1088 1 a1088 46 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC d1090 1 a1090 1 CC="$ac_cv_prog_CC" a1092 1 fi d1096 4 a1099 4 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d1104 1 d1106 13 a1118 18 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d1123 1 a1123 1 if test $# != 0; then d1128 3 a1130 1 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@@" d1135 1 a1135 1 CC=$ac_cv_prog_CC d1137 1 a1137 2 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 d1139 1 a1139 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d1142 9 a1150 11 fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d1155 10 a1164 14 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d1167 1 a1167 1 CC=$ac_cv_prog_CC d1169 1 a1169 2 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 d1171 6 a1176 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d1179 29 a1207 2 test -n "$CC" && break done d1209 21 a1229 10 if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d1231 7 a1237 2 if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. d1239 1 a1239 14 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d1242 5 a1246 4 ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 d1248 1 a1248 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d1251 13 a1263 4 test -n "$ac_ct_CC" && break done CC=$ac_ct_CC d1265 1 d1269 9 a1277 88 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. echo "$as_me:$LINENO: checking for C compiler default output" >&5 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; esac done d1279 2 a1280 28 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no d1282 1 a1282 11 if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi a1284 2 echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 d1286 75 a1360 30 rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esac done d1362 1 a1362 5 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } d1364 10 d1375 7 a1381 3 rm -f conftest$ac_cv_exeext echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 d1383 5 a1387 15 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a1388 3 int main () { d1390 29 a1418 17 ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done d1420 16 a1435 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a1436 5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } d1439 22 a1460 1 rm -f conftest.$ac_cv_objext conftest.$ac_ext d1462 27 a1488 16 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d1490 40 a1529 5 int main () { #ifndef __GNUC__ choke me d1531 7 d1539 1 a1539 45 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d1541 5 a1545 3 int main () { d1547 11 a1557 17 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes d1559 3 a1561 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a1562 1 ac_cv_prog_cc_g=no d1564 7 a1570 9 rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" d1572 1 a1572 1 CFLAGS="-g" d1575 2 a1576 2 if test "$GCC" = yes; then CFLAGS="-O2" d1578 1 a1578 1 CFLAGS= a1580 77 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d1582 1 a1582 40 fi rm -f conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ d1591 3 a1593 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d1596 1 a1596 3 int main () { d1598 3 a1600 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d1603 4 a1606 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue d1608 4 a1611 8 rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d1613 1 a1613 3 int main () { d1615 4 a1618 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d1621 2 a1622 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d1624 1 a1624 1 rm -f conftest.$ac_objext conftest.$ac_ext a1625 1 rm -f conftest* a1631 3 else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d1633 1 a1633 16 fi rm -f conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu rm -f .deps 2>/dev/null mkdir .deps 2>/dev/null if test -d .deps; then DEPDIR=.deps else # MS-DOS does not allow filenames that begin with a dot. DEPDIR=_deps fi rmdir .deps 2>/dev/null d1635 2 a1636 35 ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' doit: @@echo done END # If we don't find an include directive, just comment out the code. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi d1638 1 d1640 5 a1644 13 echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6 rm -f confinc confmf # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval="$enable_dependency_tracking" fi; if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' d1646 3 a1648 5 if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' d1650 16 a1665 13 AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d1667 33 a1699 52 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. echo '#include "conftest.h"' > conftest.c echo 'int i;' > conftest.h echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then am_cv_CC_dependencies_compiler_type=$depmode break fi done cd .. rm -rf conftest.dir d1701 5 a1705 1 am_cv_CC_dependencies_compiler_type=none d1707 1 a1707 1 d1709 1 a1709 16 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= d1711 2 a1712 45 if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes d1714 1 a1714 2 if test -z "$ac_cpp_err"; then : d1716 1 a1716 5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue d1718 1 a1718 1 rm -f conftest.err conftest.$ac_ext d1720 17 a1736 24 # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d1738 2 a1739 1 ac_cpp_err=yes d1741 2 a1742 6 if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d1744 11 a1754 3 # Passes both tests. ac_preproc_ok=: break d1756 1 a1756 1 rm -f conftest.err conftest.$ac_ext d1758 1 a1758 5 done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break d1761 3 a1763 45 done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= a1764 2 else ac_cpp_err=yes a1765 5 if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a1766 4 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext d1768 26 a1793 24 # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d1795 4 a1798 1 ac_cpp_err=yes d1800 1 a1800 10 if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break a1801 1 rm -f conftest.err conftest.$ac_ext a1802 11 done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } a1804 5 ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu d1806 4 d1811 1 a1811 4 echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d1813 1 a1813 4 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi d1815 7 a1821 3 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep a1824 12 echo "$as_me:$LINENO: checking for AIX" >&5 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef _AIX yes #endif d1826 35 a1860 8 _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "yes" >/dev/null 2>&1; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\_ACEOF #define _ALL_SOURCE 1 _ACEOF d1862 32 d1895 1 a1895 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 a1896 1 rm -f conftest* d1899 22 a1920 16 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include d1922 3 a1924 3 int main () { d1926 3 a1928 17 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes d1930 2 a1931 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no d1933 2 a1934 1 rm -f conftest.$ac_objext conftest.$ac_ext a1935 10 if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include d1937 10 a1946 4 _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : d1948 2 a1949 1 ac_cv_header_stdc=no a1950 1 rm -f conftest* a1951 1 fi d1953 8 a1960 15 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 <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : d1962 20 a1981 1 ac_cv_header_stdc=no d1983 5 a1987 2 rm -f conftest* d1990 22 a2011 4 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 : d2013 2 a2014 18 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif d2016 3 a2018 24 #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); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : d2020 1 a2020 6 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no d2022 3 a2024 7 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then a2025 3 cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF a2026 1 fi a2027 1 # On IRIX 5.3, sys/types and inttypes.h are conflicting. d2029 15 d2045 15 d2061 7 d2069 1 d2075 14 a2088 2 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h d2090 34 a2123 44 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF d2125 10 d2136 1 a2136 1 d2138 1 d2140 1 d2142 2 a2143 70 if test "${ac_cv_header_minix_config_h+set}" = set; then echo "$as_me:$LINENO: checking for minix/config.h" >&5 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 if test "${ac_cv_header_minix_config_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking minix/config.h usability" >&5 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking minix/config.h presence" >&5 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d2145 1 a2145 1 ac_cpp_err=yes d2147 39 a2185 2 if test -z "$ac_cpp_err"; then ac_header_preproc=yes d2187 7 a2193 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2195 10 a2204 43 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for minix/config.h" >&5 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 if test "${ac_cv_header_minix_config_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d2206 2 a2207 1 ac_cv_header_minix_config_h=$ac_header_preproc d2209 1 a2209 2 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 d2212 11 a2222 2 if test $ac_cv_header_minix_config_h = yes; then MINIX=yes d2224 2 a2225 1 MINIX= d2227 1 d2229 1 d2231 15 a2245 1 if test "$MINIX" = yes; then d2247 12 a2258 3 cat >>confdefs.h <<\_ACEOF #define _POSIX_SOURCE 1 _ACEOF d2260 2 d2263 5 a2267 8 cat >>confdefs.h <<\_ACEOF #define _POSIX_1_SOURCE 2 _ACEOF cat >>confdefs.h <<\_ACEOF #define _MINIX 1 _ACEOF d2271 7 a2277 14 ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d2279 11 a2289 2 if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. d2291 5 a2295 14 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d2297 1 d2299 7 a2305 4 CXX=$ac_cv_prog_CXX if test -n "$CXX"; then echo "$as_me:$LINENO: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6 d2307 1 a2307 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d2309 1 a2310 2 test -n "$CXX" && break done d2312 3 a2314 3 if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC d2316 1 a2316 1 # Extract the first word of "$ac_prog", so it can be a program name with args. d2318 4 a2321 4 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d2323 2 a2324 2 if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. d2326 10 a2335 14 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d2338 3 a2340 4 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6 d2342 1 a2342 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d2345 1 a2345 1 test -n "$ac_ct_CXX" && break a2346 1 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" d2348 10 a2357 111 CXX=$ac_ct_CXX fi # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C++ compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS CXXFLAGS="-g" echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cxx_g=yes d2359 1 a2359 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cxx_g=no a2360 1 rm -f conftest.$ac_objext conftest.$ac_ext d2362 29 a2390 10 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi d2392 2 a2393 5 if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi d2395 6 a2400 39 for ac_declaration in \ ''\ '#include ' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : d2402 5 a2406 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2408 17 a2424 1 continue d2426 8 a2433 30 rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break d2435 3 a2437 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2439 12 a2451 2 rm -f conftest.$ac_objext conftest.$ac_ext done d2453 1 a2453 4 if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h d2456 17 a2472 60 ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CXX" am_compiler_list= echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir am_cv_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. echo '#include "conftest.h"' > conftest.c echo 'int i;' > conftest.h echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then am_cv_CXX_dependencies_compiler_type=$depmode break d2475 6 d2482 19 a2500 2 cd .. rm -rf conftest.dir d2502 1 a2502 1 am_cv_CXX_dependencies_compiler_type=none d2505 21 a2526 3 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type d2528 6 a2533 5 AS=${AS-as} if test "$ac_cv_c_compiler_gnu" = yes; then CFLAGS="$CFLAGS -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" a2534 1 export CFLAGS d2536 38 a2573 10 ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= d2575 2 a2576 3 if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d2578 17 a2594 39 # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d2596 1 a2596 1 ac_cpp_err=yes a2597 8 if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue a2598 1 rm -f conftest.err conftest.$ac_ext d2600 3 a2602 24 # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d2604 1 a2604 1 ac_cpp_err=yes d2606 9 a2614 3 if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue d2616 2 a2617 6 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break a2618 1 rm -f conftest.err conftest.$ac_ext d2620 2 a2621 6 done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi a2622 2 done ac_cv_prog_CPP=$CPP d2624 4 a2627 2 fi CPP=$ac_cv_prog_CPP d2629 1 a2629 42 ac_cv_prog_CPP=$CPP fi echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes a2630 5 if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2632 3 a2634 4 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext d2636 8 a2643 24 # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d2645 23 a2667 1 ac_cpp_err=yes a2668 10 if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break a2669 1 rm -f conftest.err conftest.$ac_ext d2671 2 a2672 12 done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi d2674 4 a2677 11 ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test $ac_cv_c_compiler_gnu = yes; then echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 if test "${ac_cv_prog_gcc_traditional+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d2679 13 a2691 18 ac_pattern="Autoconf.*'x'" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include Autoconf TIOCGETP _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "$ac_pattern" >/dev/null 2>&1; then ac_cv_prog_gcc_traditional=yes else ac_cv_prog_gcc_traditional=no fi rm -f conftest* d2693 4 d2698 3 a2700 16 if test $ac_cv_prog_gcc_traditional = no; then cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include Autoconf TCGETA _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "$ac_pattern" >/dev/null 2>&1; then ac_cv_prog_gcc_traditional=yes fi rm -f conftest* d2702 5 a2706 8 fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi fi d2708 4 d2713 12 a2724 43 echo "$as_me:$LINENO: checking whether va_list assignments need array notation" >&5 echo $ECHO_N "checking whether va_list assignments need array notation... $ECHO_C" >&6 if test "${ac_cv_valistisarray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then ac_cv_valistisarray=false else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include void foo(int i, ...) { va_list ap1, ap2; va_start(ap1, i); ap2 = ap1; if (va_arg(ap2, int) != 123 || va_arg(ap1, int) != 123) { exit(1); } va_end(ap1); va_end(ap2); } int main() { foo(0, 123); return(0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_valistisarray=false else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2726 15 a2740 6 ( exit $ac_status ) ac_cv_valistisarray=true fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi d2742 3 d2746 5 a2750 1 if test "$ac_cv_valistisarray" = true ; then d2752 20 a2771 3 cat >>confdefs.h <<\_ACEOF #define HAVE_VA_LIST_AS_ARRAY 1 _ACEOF d2773 11 a2783 6 echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi d2785 7 a2791 5 RPMUSER=rpm RPMUID=37 RPMGROUP=rpm RPMGID=37 export RPMUSER RPMUID RPMGROUP RPMGID d2793 5 d2799 6 d2806 3 d2810 4 d2815 2 a2816 10 # Extract the first word of "ctags", so it can be a program name with args. set dummy ctags; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_CTAGS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $CTAGS in [\\/]* | ?:[\\/]*) ac_cv_path_CTAGS="$CTAGS" # Let the user override the test with a path. a2817 14 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_CTAGS="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d2819 19 a2837 1 test -z "$ac_cv_path_CTAGS" && ac_cv_path_CTAGS="/bin/true" d2840 1 a2841 1 CTAGS=$ac_cv_path_CTAGS d2843 18 a2860 3 if test -n "$CTAGS"; then echo "$as_me:$LINENO: result: $CTAGS" >&5 echo "${ECHO_T}$CTAGS" >&6 d2862 1 a2862 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d2864 6 d2871 9 a2879 6 # Extract the first word of "cscope", so it can be a program name with args. set dummy cscope; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_CSCOPE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d2881 12 a2892 15 case $CSCOPE in [\\/]* | ?:[\\/]*) ac_cv_path_CSCOPE="$CSCOPE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_CSCOPE="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 d2894 4 a2897 2 done done d2899 4 a2902 5 test -z "$ac_cv_path_CSCOPE" && ac_cv_path_CSCOPE="/bin/true" ;; esac fi CSCOPE=$ac_cv_path_CSCOPE d2904 2 a2905 3 if test -n "$CSCOPE"; then echo "$as_me:$LINENO: result: $CSCOPE" >&5 echo "${ECHO_T}$CSCOPE" >&6 d2907 1 a2907 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 a2910 22 echo "$as_me:$LINENO: checking flag used by libtool to link rpm" >&5 echo $ECHO_N "checking flag used by libtool to link rpm... $ECHO_C" >&6 if test X"$GCC" = Xyes ; then case "$target" in *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-sysv5uw*) LDFLAGS_STATUS="-static";; # Unixware has no shared libthread. *-*-*) LDFLAGS_STATIC="-all-static";; esac elif test X"$CC" = Xcc ; then case "$target" in *-*-linux*) LDFLAGS_STATIC="-all-static";; *-*-freebsd*) LDFLAGS_STATIC="-all-static";; *-*-osf*) LDFLAGS_STATIC="";; # OSF5 has no shared pthreads libs *-*-aix*) LDFLAGS_STATIC="-static";; # -Wl,-bnso doesn't seem to work... *-*-hpux*) LDFLAGS_STATIC="-static";; *-*-solaris*) LDFLAGS_STATIC="-static";; *-*-irix*) LDFLAGS_STATIC="-static";; #should be -non_shared, but can't # link because of crt1.o then. *-*-ultrix*) LDFLAGS_STATIC="-all-static";; #ultrix doesn't have shared libs. *-*-*) LDFLAGS_STATIC="-static" { echo "$as_me:$LINENO: WARNING: a2911 3 Unable to guess what option to pass to $CC to generate a static executable. You will need to set the LDFLAGS_STATIC macro in Makefile.inc to the appropriate argument(s) if you want to build a static rpm executable. d2913 9 a2921 2 " >&5 echo "$as_me: WARNING: d2923 2 a2924 3 Unable to guess what option to pass to $CC to generate a static executable. You will need to set the LDFLAGS_STATIC macro in Makefile.inc to the appropriate argument(s) if you want to build a static rpm executable. d2926 2 a2927 10 " >&2;} ;; esac else # just link it dynamically LDFLAGS_STATIC="" fi LDFLAGS_STATIC="${LDFLAGS} ${LDFLAGS_STATIC}" # libtool format echo "$as_me:$LINENO: result: $LDFLAGS_STATIC" >&5 echo "${ECHO_T}$LDFLAGS_STATIC" >&6 d2929 2 d2932 2 a2933 16 echo "$as_me:$LINENO: checking POSIX chmod" >&5 echo $ECHO_N "checking POSIX chmod... $ECHO_C" >&6 touch foo.chmodtest chmod 744 foo.chmodtest chmod +X foo.chmodtest 2>/dev/null a=`ls -l foo.chmodtest | awk '{print $1}'` rm -f foo.chmodtest if test "$a" = "-rwxr-xr-x"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 FIXPERMS=a+rX,g-w,o-w else echo "$as_me:$LINENO: result: no (tell your OS vendor about GNU fileutils)" >&5 echo "${ECHO_T}no (tell your OS vendor about GNU fileutils)" >&6 FIXPERMS=a+r,g-w,o-w fi d2935 19 a2953 13 for ac_prog in mkdir 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MKDIR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MKDIR in [\\/]* | ?:[\\/]*) ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. d2955 1 a2955 14 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d2957 5 a2963 2 fi MKDIR=$ac_cv_path_MKDIR d2965 3 a2967 6 if test -n "$MKDIR"; then echo "$as_me:$LINENO: result: $MKDIR" >&5 echo "${ECHO_T}$MKDIR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d2970 2 a2971 3 test -n "$MKDIR" && break done test -n "$MKDIR" || MKDIR="mkdir" d2973 2 a2974 11 echo "$as_me:$LINENO: checking if $MKDIR supports -p" >&5 echo $ECHO_N "checking if $MKDIR supports -p... $ECHO_C" >&6 rm -rf conftest $MKDIR -p conftest/a 2>/dev/null if test $? = 0 ; then rmdir conftest/a 2>/dev/null if test $? = 0 ; then : else MKDIR_P=0 fi d2976 14 a2989 9 rmdir conftest 2>/dev/null if test $? = 0 ; then MKDIR_P="$MKDIR -p" else MKDIR_P=0 fi else MKDIR_P=0 fi d2991 10 a3000 8 if test X"$MKDIR_P" = X0 ; then echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 MKDIR_P="`echo ${prefix}/lib/rpm/mkinstalldirs`" else echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 fi d3002 7 a3008 3 cat >>confdefs.h <<_ACEOF #define MKDIR_P "${MKDIR_P}" _ACEOF d3010 3 d3014 7 d3022 12 a3034 16 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 if test "${ac_cv_lib_cposix_strerror+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcposix $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ d3036 1 a3036 1 extern "C" d3038 35 a3072 37 /* 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; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_cposix_strerror=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_cposix_strerror=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 if test $ac_cv_lib_cposix_strerror = yes; then LIBS="$LIBS -lcposix" d3075 11 d3087 39 d3131 8 a3138 4 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 if test "${am_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d3140 34 a3173 47 am_cv_prog_cc_stdc=no ac_save_CC="$CC" # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; d3175 12 a3186 3 int main () { d3188 6 a3193 1 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; d3195 6 a3200 17 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then am_cv_prog_cc_stdc="$ac_arg"; break d3202 25 a3226 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d3228 8 a3235 4 fi rm -f conftest.$ac_objext conftest.$ac_ext done CC="$ac_save_CC" d3237 11 d3250 3 a3252 3 if test -z "$am_cv_prog_cc_stdc"; then echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 d3254 1 a3254 2 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6 a3255 4 case "x$am_cv_prog_cc_stdc" in x|xno) ;; *) CC="$CC $am_cv_prog_cc_stdc" ;; esac d3257 4 d3262 3 d3266 9 a3274 11 echo "$as_me:$LINENO: checking for function prototypes" >&5 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 if test "$am_cv_prog_cc_stdc" != no; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\_ACEOF #define PROTOTYPES 1 _ACEOF U= ANSI2KNR= d3276 11 a3286 3 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 U=_ ANSI2KNR=./ansi2knr d3288 3 a3290 39 # Ensure some checks needed by ansi2knr itself. echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes d3292 1 a3292 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no a3293 1 rm -f conftest.$ac_objext conftest.$ac_ext a3294 10 if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include d3296 11 a3306 4 _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : d3308 12 a3319 1 ac_cv_header_stdc=no d3321 5 a3325 2 rm -f conftest* a3327 15 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 <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : d3329 1 a3329 1 ac_cv_header_stdc=no a3330 2 rm -f conftest* d3333 6 a3338 4 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 : d3340 2 a3341 43 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #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); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : d3343 10 a3352 6 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no a3353 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d3355 5 a3360 4 fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then a3361 3 cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF d3363 23 d3387 4 a3390 75 for ac_header in string.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d3392 1 a3392 1 ac_cpp_err=yes a3393 5 if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a3394 43 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 d3396 1 a3396 1 eval "$as_ac_Header=$ac_header_preproc" a3397 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 a3398 4 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a3399 1 fi d3401 2 a3402 1 done d3404 5 d3410 1 d3412 18 a3429 22 for ac_prog in gawk mawk nawk awk 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 d3431 2 a3432 2 done done d3434 8 a3441 6 fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 d3443 11 a3453 3 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi d3455 1 a3455 2 test -n "$AWK" && break done d3457 5 a3461 16 echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6 fi echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 d3463 4 a3466 10 cat >conftest.make <<\_ACEOF all: @@echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no d3468 8 a3475 10 rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" d3477 7 a3485 18 # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$ac_save_ifs" ;; d3487 48 d3536 7 a3542 20 enable_shared=yes fi; # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$ac_save_ifs" ;; d3544 10 a3553 20 else enable_static=yes fi; # Check whether --enable-fast-install or --disable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval="$enable_fast_install" p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," for pkg in $enableval; do if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$ac_save_ifs" d3556 21 d3578 2 a3579 11 enable_fast_install=yes fi; # Find the correct PATH separator. Usually this is `:', but # DJGPP uses `;' like DOS. if test "X${PATH_SEPARATOR+set}" != Xset; then UNAME=${UNAME-`uname 2>/dev/null`} case X$UNAME in *-DOS) lt_cv_sys_path_separator=';' ;; *) lt_cv_sys_path_separator=':' ;; esac PATH_SEPARATOR=$lt_cv_sys_path_separator d3581 2 d3585 6 a3590 1278 # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi; ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo "$as_me:$LINENO: checking for ld used by GCC" >&5 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 else echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then test "$with_gnu_ld" != no && break else test "$with_gnu_ld" != yes && break fi fi done IFS="$ac_save_ifs" else lt_cv_path_LD="$LD" # Let the user override the test with a path. fi fi LD="$lt_cv_path_LD" if test -n "$LD"; then echo "$as_me:$LINENO: result: $LD" >&5 echo "${ECHO_T}$LD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. if $LD -v 2>&1 &5; then lt_cv_prog_gnu_ld=yes else lt_cv_prog_gnu_ld=no fi fi echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 with_gnu_ld=$lt_cv_prog_gnu_ld echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 if test "${lt_cv_ld_reload_flag+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_ld_reload_flag='-r' fi echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 reload_flag=$lt_cv_ld_reload_flag test -n "$reload_flag" && reload_flag=" $reload_flag" echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 if test "${lt_cv_path_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/${ac_tool_prefix}nm if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then lt_cv_path_NM="$tmp_nm -B" break elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then lt_cv_path_NM="$tmp_nm -p" break else lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags fi fi done IFS="$ac_save_ifs" test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi NM="$lt_cv_path_NM" echo "$as_me:$LINENO: result: $NM" >&5 echo "${ECHO_T}$NM" >&6 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 if test "${lt_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_executable_p="test -f" as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" fi done done done # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. : ${TMPDIR=/tmp} { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=$TMPDIR/sed$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 { (exit 1); exit 1; } } _max=0 _count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for _sed in $_sed_list /usr/xpg4/bin/sed; do test ! -f ${_sed} && break cat /dev/null > "$tmp/sed.in" _count=0 echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" # Check for GNU sed and select it if it is found. if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then lt_cv_path_SED=${_sed} break fi while true; do cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" mv "$tmp/sed.tmp" "$tmp/sed.in" cp "$tmp/sed.in" "$tmp/sed.nl" echo >>"$tmp/sed.nl" ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break # 40000 chars as input seems more than enough test $_count -gt 10 && break _count=`expr $_count + 1` if test $_count -gt $_max; then _max=$_count lt_cv_path_SED=$_sed fi done done rm -rf "$tmp" fi if test "X$SED" != "X"; then lt_cv_path_SED=$SED else SED=$lt_cv_path_SED fi echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 if test "${lt_cv_deplibs_check_method+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given egrep regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix4* | aix5*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi4*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin* | mingw* | pw32*) lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' lt_cv_file_magic_cmd='/usr/bin/file -L' case "$host_os" in rhapsody* | darwin1.[012]) lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` ;; *) # Darwin 1.3 on lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' ;; esac ;; freebsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20*|hpux11*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; irix5* | irix6* | nonstopux*) case $host_os in irix5* | nonstopux*) # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ;; *) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" ;; esac lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux-gnu*) case $host_cpu in alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; esac lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' else lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; openbsd*) lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' else lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' fi ;; osf3* | osf4* | osf5*) # this will be overridden with pass_all, but let us keep it just in case lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' lt_cv_file_magic_test_file=/shlib/libc.so lt_cv_deplibs_check_method=pass_all ;; sco3.2v5*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_test_file=/lib/libc.so ;; sysv5uw[78]* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; esac ;; esac fi echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method # Check for command to grab the raw symbol name followed by C symbol from nm. echo "$as_me:$LINENO: checking command to parse $NM output" >&5 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform the above into a raw symbol and a C symbol. symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32*) symcode='[ABCDGISTW]' ;; hpux*) # Its linker distinguishes data from code symbols lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris* | sysv5*) symcode='[BDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $host_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then symcode='[ABCDGISTW]' fi # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if egrep ' nm_test_var$' "$nlist" >/dev/null; then if egrep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr void * #else # define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr address; } lt_preloaded_symbols[] = { EOF sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext save_LIBS="$LIBS" save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$no_builtin_flag" if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" if test -z "$lt_cv_sys_global_symbol_pipe"; then global_symbol_to_cdecl= global_symbol_to_c_name_address= else global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" fi if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; then echo "$as_me:$LINENO: result: failed" >&5 echo "${ECHO_T}failed" >&6 else echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6 fi for ac_header in dlfcn.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in /*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; ?:/*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. ;; *) ac_save_MAGIC_CMD="$MAGIC_CMD" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="/usr/bin:$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | egrep "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@@gnu.org EOF fi ;; esac fi break fi done IFS="$ac_save_ifs" MAGIC_CMD="$ac_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then echo "$as_me:$LINENO: checking for file" >&5 echo $ECHO_N "checking for file... $ECHO_C" >&6 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in /*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; ?:/*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. ;; *) ac_save_MAGIC_CMD="$MAGIC_CMD" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="/usr/bin:$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | egrep "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@@gnu.org EOF fi ;; esac fi break fi done IFS="$ac_save_ifs" MAGIC_CMD="$ac_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi else MAGIC_CMD=: fi fi fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi RANLIB=$ac_ct_RANLIB else RANLIB="$ac_cv_prog_RANLIB" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi STRIP=$ac_ct_STRIP else STRIP="$ac_cv_prog_STRIP" fi enable_dlopen=no enable_win32_dll=no # Check whether --enable-libtool-lock or --disable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval="$enable_libtool_lock" fi; test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in *-*-irix6*) # Find out which ABI we are using. echo '#line 6323 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_cc_needs_belf=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e s/^X//' sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except M$VC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" need_locks="$enable_libtool_lock" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o if test x"$host" != x"$build"; then ac_tool_prefix=${host_alias}- else ac_tool_prefix= fi # Transform linux* to *-*-linux-gnu*, to support old configure scripts. case $host_os in linux-gnu*) ;; linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` esac case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" ;; *) old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi # Allow CC to be a program name with arguments. set dummy $CC compiler="$2" echo "$as_me:$LINENO: checking for objdir" >&5 echo $ECHO_N "checking for objdir... $ECHO_C" >&6 rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. objdir=_libs a3591 4 rmdir .libs 2>/dev/null echo "$as_me:$LINENO: result: $objdir" >&5 echo "${ECHO_T}$objdir" >&6 a3592 8 # Check whether --with-pic or --without-pic was given. if test "${with_pic+set}" = set; then withval="$with_pic" pic_mode="$withval" else pic_mode=default fi; d3598 4 a3601 4 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 if test "${lt_cv_prog_cc_pic+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d3621 1 a3621 1 # not sure about C++ programs. d3630 1 a3630 1 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) a3655 1 lt_cv_prog_cc_wl='-Wl,' d3658 3 a3660 2 # AIX 5 now supports IA64 processor lt_cv_prog_cc_static='-Bstatic' d3662 1 a3662 1 lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' d3673 1 a3673 1 irix5* | irix6* | nonstopux*) d3717 5 a3721 1 lt_cv_prog_cc_wl='-Wl,' d3745 1 a3745 2 echo "$as_me:$LINENO: result: none" >&5 echo "${ECHO_T}none" >&6 d3747 1 a3747 2 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 d3750 4 a3753 4 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 if test "${lt_cv_prog_cc_pic_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d3757 3 a3759 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3761 1 a3761 3 int main () { d3763 4 a3766 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d3782 1 a3782 1 d3784 5 a3788 5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_prog_cc_pic_works=no d3790 1 a3790 1 rm -f conftest.$ac_objext conftest.$ac_ext d3792 1 a3792 1 d3803 1 a3803 2 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 d3808 1 a3808 2 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} d3811 1 a3811 2 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} d3816 4 a3819 4 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 if test "${lt_cv_prog_cc_static_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d3824 3 a3826 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3828 1 a3828 3 int main () { d3830 4 a3833 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d3836 2 a3837 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d3839 1 a3839 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d3847 1 a3847 2 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 d3858 4 a3861 4 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 if test "${lt_cv_compiler_c_o+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d3863 1 a3863 1 d3878 1 a3878 1 if { (eval echo configure:6852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then d3902 1 a3902 2 echo "$as_me:$LINENO: result: $compiler_c_o" >&5 echo "${ECHO_T}$compiler_c_o" >&6 d3906 4 a3909 4 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 if test "${lt_cv_compiler_o_lo+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d3911 1 a3911 1 d3915 3 a3917 9 save_objext="$ac_objext" ac_objext=lo cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3919 1 a3919 3 int main () { d3921 4 a3924 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d3932 1 a3932 1 d3934 2 a3935 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d3937 1 a3937 2 rm -f conftest.$ac_objext conftest.$ac_ext ac_objext="$save_objext" d3939 1 a3939 1 d3943 1 a3943 2 echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 echo "${ECHO_T}$compiler_o_lo" >&6 d3952 2 a3953 2 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 d3960 1 a3960 2 echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6 d3962 1 a3962 2 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} d3971 2 a3972 2 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 d3977 3 a3979 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3981 1 a3981 3 int main () { d3983 4 a3986 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d3994 1 a3994 1 d3996 2 a3997 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d3999 1 a3999 1 rm -f conftest.$ac_objext conftest.$ac_ext d4001 1 a4001 2 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 echo "${ECHO_T}$compiler_rtti_exceptions" >&6 d4011 2 a4012 2 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 d4053 1 a4053 1 cygwin* | mingw* | pw32*) d4061 1 a4061 3 openbsd*) with_gnu_ld=no ;; d4148 1 a4148 1 ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ d4166 2 a4167 2 archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname-def; d4169 10 a4178 11 echo EXPORTS > $output_objdir/$soname-def; _lt_hint=1; cat $export_symbols | while read symbol; do set dummy \$symbol; case \$# in 2) echo " \$2 @@ \$_lt_hint ; " >> $output_objdir/$soname-def;; 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; *) echo " \$2 @@ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; esac; _lt_hint=`expr 1 + \$_lt_hint`; done; a4272 27 if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi a4278 1 hardcode_direct=yes d4282 16 a4297 19 case $host_os in aix4.[012]|aix4.[012].*) collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct=yes else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi esac a4299 1 # not using gcc d4301 1 a4301 1 shared_flag='${wl}-G' d4303 1 a4303 5 if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi d4305 1 d4308 19 a4330 3 # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' d4332 2 a4333 1 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" d4336 3 a4338 3 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" d4340 7 a4346 7 hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' d4378 1 a4378 8 case "$host_os" in rhapsody* | darwin1.[012]) allow_undefined_flag='-undefined suppress' ;; *) # Darwin 1.3 on allow_undefined_flag='-flat_namespace -undefined suppress' ;; esac d4381 2 a4382 3 # yet detect zsh echo's removal of \ escapes. Also zsh mangles # `"' quotes if we put them in here... so don't! archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' d4434 1 a4434 1 irix5* | irix6* | nonstopux*) a4436 1 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' a4438 1 hardcode_libdir_flag_spec='-rpath $libdir' d4440 1 d4457 1 a4457 1 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' d4465 2 a4468 16 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case "$host_os" in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi a4512 1 export_dynamic_flag_spec='${wl}-Bexport' a4515 8 # gcc --version < 3.0 without binutils cannot create self contained # shared libraries reliably, requiring libgcc.a to resolve some of # the object symbols generated in some cases. Libraries that use # assert need libgcc.a to resolve __eprintf, for example. Linking # a copy of libgcc.a into every shared library to guarantee resolving # such symbols causes other problems: According to Tim Van Holder # , C++ libraries end up with a separate # (to the application) exception stack for one thing. a4516 20 if test "$GCC" = yes; then case `$CC --version 2>/dev/null` in [12].*) cat <&2 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably *** create self contained shared libraries on Solaris systems, without *** introducing a dependency on libgcc.a. Therefore, libtool is disabling *** -no-undefined support, which will at least allow you to build shared *** libraries. However, you may find that when you link such libraries *** into an application without using GCC, you have to manually add *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to *** upgrade to a newer version of GCC. Another option is to rebuild your *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. EOF no_undefined_flag= ;; esac fi d4547 7 a4553 17 case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac d4623 1 a4623 2 echo "$as_me:$LINENO: result: $ld_shlibs" >&5 echo "${ECHO_T}$ld_shlibs" >&6 d4627 2 a4628 2 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 d4651 1 a4651 2 echo "$as_me:$LINENO: result: $hardcode_action" >&5 echo "${ECHO_T}$hardcode_action" >&6 d4655 2 a4656 2 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 d4660 1 a4660 2 echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 d4662 1 a4662 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d4669 2 a4670 2 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 a4696 3 need_lib_prefix=no need_version=no hardcode_into_libs=yes d4708 9 a4716 9 aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; d4718 3 a4720 4 # AIX (on Power*) has no versioning support, so currently we can # not hardcode correct soname into executable. Probably we can # add versioning support to collect2, so additional links can # be useful in future. d4722 2 a4723 3 # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. d4732 1 a4733 1 hardcode_into_libs=yes d4781 1 a4781 1 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` d4864 2 a4865 5 irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) version_type=irix ;; esac d4871 1 a4871 1 irix5* | nonstopux*) a4915 24 # Find out which ABI we are using (multilib Linux x86_64 hack). libsuff= case "$host_cpu" in x86_64*|s390x*) echo '#line 8036 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *64-bit*) libsuff=64 ;; esac fi rm -rf conftest* ;; *) ;; esac sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" d4945 3 a4947 13 need_lib_prefix=no need_version=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case "$host_os" in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes d4965 2 a4966 2 soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' a4969 1 hardcode_into_libs=yes a5011 6 need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no d5051 1 a5051 2 echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6 d5055 3 a5057 35 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case "$host_os" in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6 echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6 d5094 11 a5104 21 echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 if test "${ac_cv_func_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a5105 4 #ifdef __cplusplus extern "C" { #endif d5107 18 a5124 13 builtin and then its argument prototype would still apply. */ char shl_load (); /* 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_shl_load) || defined (__stub___shl_load) choke me #else char (*f) () = shl_load; #endif #ifdef __cplusplus } #endif d5126 4 a5129 33 int main () { return f != shl_load; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6 if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" d5131 5 a5135 4 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d5137 3 a5139 64 ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_load (); int main () { shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" else echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 if test "${ac_cv_func_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d5141 2 a5142 8 which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a5143 4 #ifdef __cplusplus extern "C" { #endif d5145 5 a5149 2 builtin and then its argument prototype would still apply. */ char dlopen (); d5156 1 a5156 4 char (*f) () = dlopen; #endif #ifdef __cplusplus } d5159 16 a5174 32 int main () { return f != dlopen; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6 if test $ac_cv_func_dlopen = yes; then d5177 5 a5181 4 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d5183 12 a5194 9 ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d5196 7 a5202 3 /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" d5204 18 a5221 37 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" d5223 6 a5228 4 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d5230 1 a5230 1 ac_check_lib_save_LIBS=$LIBS d5232 3 a5234 8 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a5235 3 #ifdef __cplusplus extern "C" #endif d5237 22 a5258 35 builtin and then its argument prototype would still apply. */ char dlopen (); int main () { dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 if test $ac_cv_lib_svld_dlopen = yes; then d5261 6 a5266 4 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d5268 1 a5268 1 ac_check_lib_save_LIBS=$LIBS d5270 3 a5272 8 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a5273 3 #ifdef __cplusplus extern "C" #endif d5275 15 a5289 36 builtin and then its argument prototype would still apply. */ char dld_link (); int main () { dld_link (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" d5291 2 a5292 1 d5295 6 d5302 1 a5302 1 d5305 1 a5305 1 d5308 1 a5308 1 d5311 1 a5311 1 d5334 4 a5337 4 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d5345 1 a5345 1 #line 8708 "configure" d5406 1 a5406 5 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then d5421 2 d5424 1 a5424 3 fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6 d5428 4 a5431 4 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d5439 1 a5439 1 #line 8806 "configure" d5500 1 a5500 5 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then d5515 2 d5518 1 a5518 3 fi echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 d5548 4 a5551 4 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d5556 1 a5556 5 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then d5569 1 a5569 5 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } d5581 1 a5581 2 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 d5609 1 a5609 1 for var in echo old_CC old_CFLAGS SED \ a5620 1 global_symbol_to_c_name_address \ a5669 3 # A sed that does not truncate output. SED=$lt_SED d5671 1 a5671 1 Xsed="${SED} -e s/^X//" d5687 3 a5692 3 # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$need_lc a5857 3 # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address d5980 3 a5982 3 # This is a source program that is used to create import libraries # on Windows for dlls which lack them. Don't remove nor modify the # starting and closing comments d6137 5 a6141 369 # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR=":" fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 echo "${ECHO_T}$ac_ct_AR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi AR=$ac_ct_AR else AR="$ac_cv_prog_AR" fi if test "$cross_compiling" = "yes"; then MYPATH="" else # MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/sbin:/usr/sbin:/usr/local/sbin:/opt/gnu/bin" MYPATH=$PATH fi # Extract the first word of "bzip2", so it can be a program name with args. set dummy bzip2; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_BZIP2BIN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $BZIP2BIN in [\\/]* | ?:[\\/]*) ac_cv_path_BZIP2BIN="$BZIP2BIN" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_BZIP2BIN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_BZIP2BIN" && ac_cv_path_BZIP2BIN="/usr/bin/bzip2" ;; esac fi BZIP2BIN=$ac_cv_path_BZIP2BIN if test -n "$BZIP2BIN"; then echo "$as_me:$LINENO: result: $BZIP2BIN" >&5 echo "${ECHO_T}$BZIP2BIN" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "cat", so it can be a program name with args. set dummy cat; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CAT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CAT in [\\/]* | ?:[\\/]*) ac_cv_path___CAT="$__CAT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CAT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CAT" && ac_cv_path___CAT="/bin/cat" ;; esac fi __CAT=$ac_cv_path___CAT if test -n "$__CAT"; then echo "$as_me:$LINENO: result: $__CAT" >&5 echo "${ECHO_T}$__CAT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "chgrp", so it can be a program name with args. set dummy chgrp; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CHGRP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CHGRP in [\\/]* | ?:[\\/]*) ac_cv_path___CHGRP="$__CHGRP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CHGRP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CHGRP" && ac_cv_path___CHGRP="/bin/chgrp" ;; esac fi __CHGRP=$ac_cv_path___CHGRP if test -n "$__CHGRP"; then echo "$as_me:$LINENO: result: $__CHGRP" >&5 echo "${ECHO_T}$__CHGRP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "chmod", so it can be a program name with args. set dummy chmod; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CHMOD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CHMOD in [\\/]* | ?:[\\/]*) ac_cv_path___CHMOD="$__CHMOD" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CHMOD="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CHMOD" && ac_cv_path___CHMOD="/bin/chmod" ;; esac fi __CHMOD=$ac_cv_path___CHMOD if test -n "$__CHMOD"; then echo "$as_me:$LINENO: result: $__CHMOD" >&5 echo "${ECHO_T}$__CHMOD" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "chown", so it can be a program name with args. set dummy chown; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CHOWN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CHOWN in [\\/]* | ?:[\\/]*) ac_cv_path___CHOWN="$__CHOWN" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CHOWN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CHOWN" && ac_cv_path___CHOWN="/bin/chown" ;; esac fi __CHOWN=$ac_cv_path___CHOWN if test -n "$__CHOWN"; then echo "$as_me:$LINENO: result: $__CHOWN" >&5 echo "${ECHO_T}$__CHOWN" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "cp", so it can be a program name with args. set dummy cp; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CP in [\\/]* | ?:[\\/]*) ac_cv_path___CP="$__CP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CP" && ac_cv_path___CP="/bin/cp" ;; esac fi __CP=$ac_cv_path___CP if test -n "$__CP"; then echo "$as_me:$LINENO: result: $__CP" >&5 echo "${ECHO_T}$__CP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "cpio", so it can be a program name with args. set dummy cpio; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___CPIO+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__CPIO in [\\/]* | ?:[\\/]*) ac_cv_path___CPIO="$__CPIO" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___CPIO="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___CPIO" && ac_cv_path___CPIO="/bin/cpio" ;; esac fi __CPIO=$ac_cv_path___CPIO d6143 1 a6143 7 if test -n "$__CPIO"; then echo "$as_me:$LINENO: result: $__CPIO" >&5 echo "${ECHO_T}$__CPIO" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi a6144 25 # Extract the first word of "file", so it can be a program name with args. set dummy file; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___FILE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__FILE in [\\/]* | ?:[\\/]*) ac_cv_path___FILE="$__FILE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___FILE="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done a6145 5 test -z "$ac_cv_path___FILE" && ac_cv_path___FILE="/usr/bin/file" ;; esac fi __FILE=$ac_cv_path___FILE d6147 6 a6152 3 if test -n "$__FILE"; then echo "$as_me:$LINENO: result: $__FILE" >&5 echo "${ECHO_T}$__FILE" >&6 d6154 2 a6155 10 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "gpg", so it can be a program name with args. set dummy gpg; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___GPG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6157 10 a6166 22 case $__GPG in [\\/]* | ?:[\\/]*) ac_cv_path___GPG="$__GPG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___GPG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___GPG" && ac_cv_path___GPG="/usr/bin/gpg" ;; esac a6167 8 __GPG=$ac_cv_path___GPG if test -n "$__GPG"; then echo "$as_me:$LINENO: result: $__GPG" >&5 echo "${ECHO_T}$__GPG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6169 3 a6171 7 # Extract the first word of "grep", so it can be a program name with args. set dummy grep; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6173 1 a6173 22 case $__GREP in [\\/]* | ?:[\\/]*) ac_cv_path___GREP="$__GREP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___GREP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___GREP" && ac_cv_path___GREP="/bin/grep" ;; esac a6174 1 __GREP=$ac_cv_path___GREP a6175 7 if test -n "$__GREP"; then echo "$as_me:$LINENO: result: $__GREP" >&5 echo "${ECHO_T}$__GREP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi d6177 8 a6184 6 # Extract the first word of "gzip", so it can be a program name with args. set dummy gzip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GZIPBIN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6186 2 a6187 28 case $GZIPBIN in [\\/]* | ?:[\\/]*) ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GZIPBIN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_GZIPBIN" && ac_cv_path_GZIPBIN="/bin/gzip" ;; esac fi GZIPBIN=$ac_cv_path_GZIPBIN if test -n "$GZIPBIN"; then echo "$as_me:$LINENO: result: $GZIPBIN" >&5 echo "${ECHO_T}$GZIPBIN" >&6 d6189 11 a6199 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 a6200 30 # Extract the first word of "unzip", so it can be a program name with args. set dummy unzip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_UNZIPBIN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $UNZIPBIN in [\\/]* | ?:[\\/]*) ac_cv_path_UNZIPBIN="$UNZIPBIN" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_UNZIPBIN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_UNZIPBIN" && ac_cv_path_UNZIPBIN="/usr/bin/unzip" ;; esac d6202 3 a6204 5 UNZIPBIN=$ac_cv_path_UNZIPBIN if test -n "$UNZIPBIN"; then echo "$as_me:$LINENO: result: $UNZIPBIN" >&5 echo "${ECHO_T}$UNZIPBIN" >&6 d6206 1 a6206 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 a6208 7 # Extract the first word of "id", so it can be a program name with args. set dummy id; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___ID+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6210 1 a6210 22 case $__ID in [\\/]* | ?:[\\/]*) ac_cv_path___ID="$__ID" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___ID="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___ID" && ac_cv_path___ID="/usr/bin/id" ;; esac a6211 8 __ID=$ac_cv_path___ID if test -n "$__ID"; then echo "$as_me:$LINENO: result: $__ID" >&5 echo "${ECHO_T}$__ID" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 a6213 11 echo "$as_me:$LINENO: checking checking whether id supports -u" >&5 echo $ECHO_N "checking checking whether id supports -u... $ECHO_C" >&6 if ${__ID} -u 2>&1 > /dev/null ; then __ID_U="%{__id} -u" echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else __ID_U="%{__id} | %{__sed} 's/[^=]*=\\\\([0-9][0-9]*\\\\).*$/\\\\1/'" echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi d6215 2 d6218 6 a6223 6 # Extract the first word of "install", so it can be a program name with args. set dummy install; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___INSTALL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6225 6 a6230 3 case $__INSTALL in [\\/]* | ?:[\\/]*) ac_cv_path___INSTALL="$__INSTALL" # Let the user override the test with a path. d6233 11 a6243 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___INSTALL="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___INSTALL" && ac_cv_path___INSTALL="/usr/bin/install" d6247 3 a6249 5 __INSTALL=$ac_cv_path___INSTALL if test -n "$__INSTALL"; then echo "$as_me:$LINENO: result: $__INSTALL" >&5 echo "${ECHO_T}$__INSTALL" >&6 d6251 1 a6251 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6254 6 a6259 6 # Extract the first word of "make", so it can be a program name with args. set dummy make; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___MAKE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6261 3 a6263 20 case $__MAKE in [\\/]* | ?:[\\/]*) ac_cv_path___MAKE="$__MAKE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___MAKE="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___MAKE" && ac_cv_path___MAKE="/usr/bin/make" d6265 2 a6266 22 esac fi __MAKE=$ac_cv_path___MAKE if test -n "$__MAKE"; then echo "$as_me:$LINENO: result: $__MAKE" >&5 echo "${ECHO_T}$__MAKE" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "mkdir", so it can be a program name with args. set dummy mkdir; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___MKDIR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__MKDIR in [\\/]* | ?:[\\/]*) ac_cv_path___MKDIR="$__MKDIR" # Let the user override the test with a path. d6269 11 a6279 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___MKDIR="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___MKDIR" && ac_cv_path___MKDIR="/bin/mkdir" d6283 3 a6285 5 __MKDIR=$ac_cv_path___MKDIR if test -n "$__MKDIR"; then echo "$as_me:$LINENO: result: $__MKDIR" >&5 echo "${ECHO_T}$__MKDIR" >&6 d6287 1 a6287 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6290 6 a6295 6 # Extract the first word of "mv", so it can be a program name with args. set dummy mv; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___MV+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6297 3 a6299 20 case $__MV in [\\/]* | ?:[\\/]*) ac_cv_path___MV="$__MV" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___MV="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___MV" && ac_cv_path___MV="/bin/mv" d6301 2 a6302 22 esac fi __MV=$ac_cv_path___MV if test -n "$__MV"; then echo "$as_me:$LINENO: result: $__MV" >&5 echo "${ECHO_T}$__MV" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "patch", so it can be a program name with args. set dummy patch; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___PATCH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__PATCH in [\\/]* | ?:[\\/]*) ac_cv_path___PATCH="$__PATCH" # Let the user override the test with a path. d6305 11 a6315 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___PATCH="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___PATCH" && ac_cv_path___PATCH="/usr/bin/patch" d6319 3 a6321 5 __PATCH=$ac_cv_path___PATCH if test -n "$__PATCH"; then echo "$as_me:$LINENO: result: $__PATCH" >&5 echo "${ECHO_T}$__PATCH" >&6 d6323 1 a6323 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6326 6 a6331 23 echo "$as_me:$LINENO: checking old version of patch" >&5 echo $ECHO_N "checking old version of patch... $ECHO_C" >&6 PATCHVERSION=`patch --version 2>&1` if test "$PATCHVERSION" = "Patch version 2.1"; then cat >>confdefs.h <<\_ACEOF #define HAVE_OLDPATCH_21 1 _ACEOF echo "$as_me:$LINENO: result: patch older then 2.2 found" >&5 echo "${ECHO_T}patch older then 2.2 found" >&6 else echo "$as_me:$LINENO: result: patch later then 2.2 found" >&5 echo "${ECHO_T}patch later then 2.2 found" >&6 fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___PERL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6333 6 a6338 3 case $__PERL in [\\/]* | ?:[\\/]*) ac_cv_path___PERL="$__PERL" # Let the user override the test with a path. d6341 11 a6351 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___PERL="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___PERL" && ac_cv_path___PERL="/usr/bin/perl" d6355 3 a6357 5 __PERL=$ac_cv_path___PERL if test -n "$__PERL"; then echo "$as_me:$LINENO: result: $__PERL" >&5 echo "${ECHO_T}$__PERL" >&6 d6359 1 a6359 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6362 6 a6367 6 # Extract the first word of "pgp", so it can be a program name with args. set dummy pgp; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PGPBIN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6369 6 a6374 3 case $PGPBIN in [\\/]* | ?:[\\/]*) ac_cv_path_PGPBIN="$PGPBIN" # Let the user override the test with a path. d6377 11 a6387 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PGPBIN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_PGPBIN" && ac_cv_path_PGPBIN="/usr/bin/pgp" d6391 3 a6393 5 PGPBIN=$ac_cv_path_PGPBIN if test -n "$PGPBIN"; then echo "$as_me:$LINENO: result: $PGPBIN" >&5 echo "${ECHO_T}$PGPBIN" >&6 d6395 1 a6395 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6398 6 a6403 6 # Extract the first word of "python", so it can be a program name with args. set dummy python; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___PYTHON+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6405 6 a6410 3 case $__PYTHON in [\\/]* | ?:[\\/]*) ac_cv_path___PYTHON="$__PYTHON" # Let the user override the test with a path. d6413 11 a6423 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___PYTHON="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___PYTHON" && ac_cv_path___PYTHON="/usr/bin/python" d6427 3 a6429 5 __PYTHON=$ac_cv_path___PYTHON if test -n "$__PYTHON"; then echo "$as_me:$LINENO: result: $__PYTHON" >&5 echo "${ECHO_T}$__PYTHON" >&6 d6431 1 a6431 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6434 6 a6439 6 # Extract the first word of "rm", so it can be a program name with args. set dummy rm; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___RM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6441 6 a6446 3 case $__RM in [\\/]* | ?:[\\/]*) ac_cv_path___RM="$__RM" # Let the user override the test with a path. d6449 11 a6459 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___RM="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___RM" && ac_cv_path___RM="/bin/rm" d6463 3 a6465 5 __RM=$ac_cv_path___RM if test -n "$__RM"; then echo "$as_me:$LINENO: result: $__RM" >&5 echo "${ECHO_T}$__RM" >&6 d6467 1 a6467 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6470 6 a6475 6 # Extract the first word of "rsh", so it can be a program name with args. set dummy rsh; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___RSH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6477 6 a6482 3 case $__RSH in [\\/]* | ?:[\\/]*) ac_cv_path___RSH="$__RSH" # Let the user override the test with a path. d6485 11 a6495 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___RSH="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___RSH" && ac_cv_path___RSH="/usr/bin/rsh" d6499 3 a6501 5 __RSH=$ac_cv_path___RSH if test -n "$__RSH"; then echo "$as_me:$LINENO: result: $__RSH" >&5 echo "${ECHO_T}$__RSH" >&6 d6503 1 a6503 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6506 6 a6511 6 # Extract the first word of "sed", so it can be a program name with args. set dummy sed; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6513 6 a6518 3 case $__SED in [\\/]* | ?:[\\/]*) ac_cv_path___SED="$__SED" # Let the user override the test with a path. d6521 11 a6531 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___SED="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___SED" && ac_cv_path___SED="/bin/sed" d6535 3 a6537 5 __SED=$ac_cv_path___SED if test -n "$__SED"; then echo "$as_me:$LINENO: result: $__SED" >&5 echo "${ECHO_T}$__SED" >&6 d6539 1 a6539 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6542 6 a6547 6 # Extract the first word of "ssh", so it can be a program name with args. set dummy ssh; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___SSH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6549 6 a6554 3 case $__SSH in [\\/]* | ?:[\\/]*) ac_cv_path___SSH="$__SSH" # Let the user override the test with a path. d6557 11 a6567 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___SSH="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___SSH" && ac_cv_path___SSH="/usr/bin/ssh" d6571 3 a6573 5 __SSH=$ac_cv_path___SSH if test -n "$__SSH"; then echo "$as_me:$LINENO: result: $__SSH" >&5 echo "${ECHO_T}$__SSH" >&6 d6575 1 a6575 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6578 6 a6583 6 # Extract the first word of "tar", so it can be a program name with args. set dummy tar; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___TAR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6585 6 a6590 3 case $__TAR in [\\/]* | ?:[\\/]*) ac_cv_path___TAR="$__TAR" # Let the user override the test with a path. d6593 11 a6603 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___TAR="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___TAR" && ac_cv_path___TAR="/bin/tar" d6607 3 a6609 5 __TAR=$ac_cv_path___TAR if test -n "$__TAR"; then echo "$as_me:$LINENO: result: $__TAR" >&5 echo "${ECHO_T}$__TAR" >&6 d6611 1 a6611 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6614 6 a6619 7 # Extract the first word of "ld", so it can be a program name with args. set dummy ld; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6621 6 a6626 3 case $__LD in [\\/]* | ?:[\\/]*) ac_cv_path___LD="$__LD" # Let the user override the test with a path. d6629 11 a6639 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___LD="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___LD" && ac_cv_path___LD="/usr/bin/ld" d6643 3 a6645 5 __LD=$ac_cv_path___LD if test -n "$__LD"; then echo "$as_me:$LINENO: result: $__LD" >&5 echo "${ECHO_T}$__LD" >&6 d6647 1 a6647 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6650 7 a6656 6 # Extract the first word of "nm", so it can be a program name with args. set dummy nm; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6658 6 a6663 3 case $__NM in [\\/]* | ?:[\\/]*) ac_cv_path___NM="$__NM" # Let the user override the test with a path. d6666 11 a6676 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___NM="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___NM" && ac_cv_path___NM="/usr/bin/nm" d6680 3 a6682 5 __NM=$ac_cv_path___NM if test -n "$__NM"; then echo "$as_me:$LINENO: result: $__NM" >&5 echo "${ECHO_T}$__NM" >&6 d6684 1 a6684 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6687 17 a6703 6 # Extract the first word of "objcopy", so it can be a program name with args. set dummy objcopy; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___OBJCOPY+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6705 6 a6710 3 case $__OBJCOPY in [\\/]* | ?:[\\/]*) ac_cv_path___OBJCOPY="$__OBJCOPY" # Let the user override the test with a path. d6712 12 a6723 16 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___OBJCOPY="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___OBJCOPY" && ac_cv_path___OBJCOPY="/usr/bin/objcopy" d6727 3 a6729 5 __OBJCOPY=$ac_cv_path___OBJCOPY if test -n "$__OBJCOPY"; then echo "$as_me:$LINENO: result: $__OBJCOPY" >&5 echo "${ECHO_T}$__OBJCOPY" >&6 d6731 1 a6731 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6734 6 a6739 6 # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___OBJDUMP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6741 6 a6746 3 case $__OBJDUMP in [\\/]* | ?:[\\/]*) ac_cv_path___OBJDUMP="$__OBJDUMP" # Let the user override the test with a path. d6749 11 a6759 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___OBJDUMP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___OBJDUMP" && ac_cv_path___OBJDUMP="/usr/bin/objdump" d6763 3 a6765 5 __OBJDUMP=$ac_cv_path___OBJDUMP if test -n "$__OBJDUMP"; then echo "$as_me:$LINENO: result: $__OBJDUMP" >&5 echo "${ECHO_T}$__OBJDUMP" >&6 d6767 1 a6767 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6770 6 a6775 6 # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6777 6 a6782 3 case $__STRIP in [\\/]* | ?:[\\/]*) ac_cv_path___STRIP="$__STRIP" # Let the user override the test with a path. d6785 11 a6795 15 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___STRIP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___STRIP" && ac_cv_path___STRIP="/usr/bin/strip" d6799 3 a6801 5 __STRIP=$ac_cv_path___STRIP if test -n "$__STRIP"; then echo "$as_me:$LINENO: result: $__STRIP" >&5 echo "${ECHO_T}$__STRIP" >&6 d6803 1 a6803 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6806 6 a6811 77 addlib() { l=$1 shift case "$target" in *-*-solaris*) LIBS="$LIBS -L$l -R$l $*";; *) LIBS="$LIBS -L$l $*";; esac } WITH_ZLIB_SUBDIR= WITH_ZLIB_INCLUDE= WITH_ZLIB_LIB= #if test -d zlib ; then # WITH_ZLIB_SUBDIR=zlib # addlib \${top_builddir}/zlib # WITH_ZLIB_INCLUDE="-I\${top_srcdir}/${WITH_ZLIB_SUBDIR}" # INCPATH="$INCPATH -I\${top_srcdir}/${WITH_ZLIB_SUBDIR}" # WITH_ZLIB_LIB="\${top_builddir}/${WITH_ZLIB_SUBDIR}/libz.la" # AC_DEFINE(HAVE_GZSEEK) #fi localdone= dirs=$prefix if test "$cross_compiling" != "yes"; then dirs="$dirs /usr/local" fi for dir in $dirs do case $dir in NONE|/usr) continue;; /usr/local) if test X$localdone != X ; then continue; fi localdone="$dir" ;; esac echo "$as_me:$LINENO: checking for $dir/lib in LIBS" >&5 echo $ECHO_N "checking for $dir/lib in LIBS... $ECHO_C" >&6 if test -d $dir/lib 2> /dev/null ; then addlib $dir/lib echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi echo "$as_me:$LINENO: checking for $dir/include in INCPATH" >&5 echo $ECHO_N "checking for $dir/include in INCPATH... $ECHO_C" >&6 if test -d $dir/include 2>/dev/null ; then if "$dir" != "/usr/local" ; then INCPATH="$INCPATH -I$dir/include" fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi done echo "$as_me:$LINENO: checking for /usr/ucblib in LIBS" >&5 echo $ECHO_N "checking for /usr/ucblib in LIBS... $ECHO_C" >&6 if test -d /usr/ucblib ; then if test "$build" = "mips-sni-sysv4" ; then addlib /usr/ccs/lib -lc fi addlib /usr/ucblib echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 d6813 21 a6833 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d6835 3 a6837 7 echo "$as_me:$LINENO: checking for setreuid" >&5 echo $ECHO_N "checking for setreuid... $ECHO_C" >&6 if test "${ac_cv_func_setreuid+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6839 1 a6839 271 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char setreuid (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char setreuid (); /* 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_setreuid) || defined (__stub___setreuid) choke me #else char (*f) () = setreuid; #endif #ifdef __cplusplus } #endif int main () { return f != setreuid; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_setreuid=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_setreuid=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_setreuid" >&5 echo "${ECHO_T}$ac_cv_func_setreuid" >&6 if test $ac_cv_func_setreuid = yes; then : else echo "$as_me:$LINENO: checking for setreuid in -lucb" >&5 echo $ECHO_N "checking for setreuid in -lucb... $ECHO_C" >&6 if test "${ac_cv_lib_ucb_setreuid+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lucb $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char setreuid (); int main () { setreuid (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_ucb_setreuid=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_ucb_setreuid=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_setreuid" >&5 echo "${ECHO_T}$ac_cv_lib_ucb_setreuid" >&6 if test $ac_cv_lib_ucb_setreuid = yes; then if echo $LIBS | grep -- -lucb >/dev/null ;then :; else LIBS="$LIBS -lc -lucb" USEUCB=y;fi fi fi echo "$as_me:$LINENO: checking for rand" >&5 echo $ECHO_N "checking for rand... $ECHO_C" >&6 if test "${ac_cv_func_rand+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char rand (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand (); /* 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_rand) || defined (__stub___rand) choke me #else char (*f) () = rand; #endif #ifdef __cplusplus } #endif int main () { return f != rand; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_rand=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_rand=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_rand" >&5 echo "${ECHO_T}$ac_cv_func_rand" >&6 if test $ac_cv_func_rand = yes; then : else echo "$as_me:$LINENO: checking for rand in -lrand" >&5 echo $ECHO_N "checking for rand in -lrand... $ECHO_C" >&6 if test "${ac_cv_lib_rand_rand+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lrand $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand (); int main () { rand (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_rand_rand=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_rand_rand=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_rand_rand" >&5 echo "${ECHO_T}$ac_cv_lib_rand_rand" >&6 if test $ac_cv_lib_rand_rand = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBRAND 1 _ACEOF LIBS="-lrand $LIBS" d6842 28 a6869 142 fi echo "$as_me:$LINENO: checking for getdomainname" >&5 echo $ECHO_N "checking for getdomainname... $ECHO_C" >&6 if test "${ac_cv_func_getdomainname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getdomainname (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getdomainname (); /* 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_getdomainname) || defined (__stub___getdomainname) choke me #else char (*f) () = getdomainname; #endif #ifdef __cplusplus } #endif int main () { return f != getdomainname; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_getdomainname=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_getdomainname=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_getdomainname" >&5 echo "${ECHO_T}$ac_cv_func_getdomainname" >&6 if test $ac_cv_func_getdomainname = yes; then : else echo "$as_me:$LINENO: checking for getdomainname in -lnsl" >&5 echo $ECHO_N "checking for getdomainname in -lnsl... $ECHO_C" >&6 if test "${ac_cv_lib_nsl_getdomainname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getdomainname (); int main () { getdomainname (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_nsl_getdomainname=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_nsl_getdomainname=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_getdomainname" >&5 echo "${ECHO_T}$ac_cv_lib_nsl_getdomainname" >&6 if test $ac_cv_lib_nsl_getdomainname = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBNSL 1 _ACEOF LIBS="-lnsl $LIBS" d6871 5 a6875 2 d6878 3 a6880 40 echo "$as_me:$LINENO: checking for socket" >&5 echo $ECHO_N "checking for socket... $ECHO_C" >&6 if test "${ac_cv_func_socket+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char socket (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket (); /* 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_socket) || defined (__stub___socket) choke me #else char (*f) () = socket; #endif #ifdef __cplusplus } #endif d6882 4 a6885 34 int main () { return f != socket; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_socket=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_socket=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 echo "${ECHO_T}$ac_cv_func_socket" >&6 if test $ac_cv_func_socket = yes; then : else d6887 4 d6892 6 a6897 4 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 if test "${ac_cv_lib_socket_socket+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d6899 25 a6923 38 ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket (); int main () { socket (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_socket_socket=yes d6925 1 a6925 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_socket_socket=no a6926 11 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 if test $ac_cv_lib_socket_socket = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBSOCKET 1 _ACEOF LIBS="-lsocket $LIBS" d6928 28 d6957 5 a6961 2 d6964 6 a6969 78 for ac_header in thread.h pthread.h synch.h semaphore.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d6971 21 a6991 1 ac_cpp_err=yes d6993 3 a6995 2 if test -z "$ac_cpp_err"; then ac_header_preproc=yes d6997 2 a6998 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d7000 27 a7026 38 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d7028 4 a7031 4 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7033 1 a7033 1 eval "$as_ac_Header=$ac_header_preproc" a7034 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d7036 28 d7065 5 a7069 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF d7072 6 a7077 8 done echo "$as_me:$LINENO: checking for pthread_mutex_trylock in -lpthread" >&5 echo $ECHO_N "checking for pthread_mutex_trylock in -lpthread... $ECHO_C" >&6 if test "${ac_cv_lib_pthread_pthread_mutex_trylock+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7079 25 a7103 56 ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pthread_mutex_trylock (); int main () { pthread_mutex_trylock (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_pthread_pthread_mutex_trylock=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_pthread_pthread_mutex_trylock=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_trylock" >&6 if test $ac_cv_lib_pthread_pthread_mutex_trylock = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBPTHREAD 1 _ACEOF LIBS="-lpthread $LIBS" d7105 2 d7108 6 a7113 5 echo "$as_me:$LINENO: checking for __pthread_mutex_trylock in -lpthread" >&5 echo $ECHO_N "checking for __pthread_mutex_trylock in -lpthread... $ECHO_C" >&6 if test "${ac_cv_lib_pthread___pthread_mutex_trylock+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7115 25 a7139 56 ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __pthread_mutex_trylock (); int main () { __pthread_mutex_trylock (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_pthread___pthread_mutex_trylock=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_pthread___pthread_mutex_trylock=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_trylock" >&5 echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_trylock" >&6 if test $ac_cv_lib_pthread___pthread_mutex_trylock = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBPTHREAD 1 _ACEOF LIBS="-lpthread $LIBS" d7141 2 d7144 6 a7149 5 echo "$as_me:$LINENO: checking for mutex_lock in -lthread" >&5 echo $ECHO_N "checking for mutex_lock in -lthread... $ECHO_C" >&6 if test "${ac_cv_lib_thread_mutex_lock+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7151 25 a7175 38 ac_check_lib_save_LIBS=$LIBS LIBS="-lthread $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mutex_lock (); int main () { mutex_lock (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_thread_mutex_lock=yes d7177 1 a7177 7 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_thread_mutex_lock=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS a7178 6 echo "$as_me:$LINENO: result: $ac_cv_lib_thread_mutex_lock" >&5 echo "${ECHO_T}$ac_cv_lib_thread_mutex_lock" >&6 if test $ac_cv_lib_thread_mutex_lock = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBTHREAD 1 _ACEOF a7179 1 LIBS="-lthread $LIBS" d7181 28 d7210 5 a7214 2 d7217 28 a7244 1 d7246 3 a7248 76 for ac_header in aio.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d7250 1 a7250 1 ac_cpp_err=yes d7252 7 a7258 2 if test -z "$ac_cpp_err"; then ac_header_preproc=yes d7260 20 a7279 41 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d7281 4 a7284 4 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7286 1 a7286 1 eval "$as_ac_Header=$ac_header_preproc" a7287 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d7289 28 d7318 5 a7322 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF d7325 6 a7330 91 done echo "$as_me:$LINENO: checking for library containing aio_read" >&5 echo $ECHO_N "checking for library containing aio_read... $ECHO_C" >&6 if test "${ac_cv_search_aio_read+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS ac_cv_search_aio_read=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char aio_read (); int main () { aio_read (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_aio_read="none required" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$ac_cv_search_aio_read" = no; then for ac_lib in c rt aio posix4; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char aio_read (); int main () { aio_read (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_aio_read="-l$ac_lib" break d7332 16 a7347 5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d7349 4 d7354 5 a7358 1 LIBS=$ac_func_search_save_LIBS a7359 4 echo "$as_me:$LINENO: result: $ac_cv_search_aio_read" >&5 echo "${ECHO_T}$ac_cv_search_aio_read" >&6 if test "$ac_cv_search_aio_read" != no; then test "$ac_cv_search_aio_read" = "none required" || LIBS="$ac_cv_search_aio_read $LIBS" d7363 7 a7369 39 echo "$as_me:$LINENO: checking for fchmod" >&5 echo $ECHO_N "checking for fchmod... $ECHO_C" >&6 if test "${ac_cv_func_fchmod+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char fchmod (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fchmod (); /* 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_fchmod) || defined (__stub___fchmod) choke me #else char (*f) () = fchmod; #endif #ifdef __cplusplus a7370 1 #endif d7372 11 a7382 24 int main () { return f != fchmod; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fchmod=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a7383 6 ac_cv_func_fchmod=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_fchmod" >&5 echo "${ECHO_T}$ac_cv_func_fchmod" >&6 d7387 1 d7389 5 a7393 1 for ac_func in vsnprintf snprintf d7395 7 a7401 41 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* 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 (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif d7403 8 a7410 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d7412 8 a7419 1 fi d7422 6 d7429 3 a7431 207 echo "$as_me:$LINENO: checking for writev in -lport" >&5 echo $ECHO_N "checking for writev in -lport... $ECHO_C" >&6 if test "${ac_cv_lib_port_writev+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lport $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char writev (); int main () { writev (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_port_writev=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_port_writev=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_port_writev" >&5 echo "${ECHO_T}$ac_cv_lib_port_writev" >&6 if test $ac_cv_lib_port_writev = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBPORT 1 _ACEOF LIBS="-lport $LIBS" fi WITH_DB_SUBDIR= WITH_INTERNAL_DB=0 DBLIBSRCS="" libdb3="" libdb3a="" withval=yes # Check whether --with-db or --without-db was given. if test "${with_db+set}" = set; then withval="$with_db" fi; if test $withval = no ; then for ac_header in db3/db.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7433 1 a7433 1 eval "$as_ac_Header=$ac_header_preproc" a7434 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 a7435 5 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a7436 1 fi a7437 1 done d7439 8 a7446 13 echo "$as_me:$LINENO: checking for db_create" >&5 echo $ECHO_N "checking for db_create... $ECHO_C" >&6 if test "${ac_cv_func_db_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7448 2 a7449 8 which can conflict with char db_create (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a7450 4 #ifdef __cplusplus extern "C" { #endif d7452 5 a7456 2 builtin and then its argument prototype would still apply. */ char db_create (); d7460 1 a7460 1 #if defined (__stub_db_create) || defined (__stub___db_create) d7463 1 a7463 4 char (*f) () = db_create; #endif #ifdef __cplusplus } d7466 5 a7470 33 int main () { return f != db_create; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_db_create=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_db_create=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_db_create" >&5 echo "${ECHO_T}$ac_cv_func_db_create" >&6 if test $ac_cv_func_db_create = yes; then DBLIBSRCS="$DBLIBSRCS db3.c" d7472 7 a7478 14 echo "$as_me:$LINENO: checking for db_create in -ldb-3.2" >&5 echo $ECHO_N "checking for db_create in -ldb-3.2... $ECHO_C" >&6 if test "${ac_cv_lib_db_3_2_db_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldb-3.2 $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7480 3 a7482 41 /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char db_create (); int main () { db_create (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_db_3_2_db_create=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_db_3_2_db_create=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_db_3_2_db_create" >&5 echo "${ECHO_T}$ac_cv_lib_db_3_2_db_create" >&6 if test $ac_cv_lib_db_3_2_db_create = yes; then DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.2" d7484 1 a7484 14 echo "$as_me:$LINENO: checking for db_create in -ldb-3.1" >&5 echo $ECHO_N "checking for db_create in -ldb-3.1... $ECHO_C" >&6 if test "${ac_cv_lib_db_3_1_db_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldb-3.1 $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7486 11 a7497 3 #ifdef __cplusplus extern "C" #endif d7499 10 a7508 36 builtin and then its argument prototype would still apply. */ char db_create (); int main () { db_create (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_db_3_1_db_create=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_db_3_1_db_create=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_db_3_1_db_create" >&5 echo "${ECHO_T}$ac_cv_lib_db_3_1_db_create" >&6 if test $ac_cv_lib_db_3_1_db_create = yes; then DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.1" d7510 7 a7516 14 echo "$as_me:$LINENO: checking for db_create in -ldb-3.0" >&5 echo $ECHO_N "checking for db_create in -ldb-3.0... $ECHO_C" >&6 if test "${ac_cv_lib_db_3_0_db_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldb-3.0 $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7518 4 a7521 41 /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char db_create (); int main () { db_create (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_db_3_0_db_create=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_db_3_0_db_create=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_db_3_0_db_create" >&5 echo "${ECHO_T}$ac_cv_lib_db_3_0_db_create" >&6 if test $ac_cv_lib_db_3_0_db_create = yes; then DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb-3.0" d7523 1 a7523 56 echo "$as_me:$LINENO: checking for db_create in -ldb" >&5 echo $ECHO_N "checking for db_create in -ldb... $ECHO_C" >&6 if test "${ac_cv_lib_db_db_create+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldb $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char db_create (); int main () { db_create (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_db_db_create=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_db_db_create=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_create" >&5 echo "${ECHO_T}$ac_cv_lib_db_db_create" >&6 if test $ac_cv_lib_db_db_create = yes; then DBLIBSRCS="$DBLIBSRCS db3.c"; libdb3="-ldb" d7530 15 a7544 1 fi d7546 1 d7548 8 a7555 2 fi d7557 10 d7568 1 a7568 6 if test X"$DBLIBSRCS" = X; then { { echo "$as_me:$LINENO: error: sorry rpm requires libdb-3.x.a (from the Berkeley db package)" >&5 echo "$as_me: error: sorry rpm requires libdb-3.x.a (from the Berkeley db package)" >&2;} { (exit 1); exit 1; }; } d7571 5 a7575 12 if test -n "$libdb3" -a -n "$libthread" ; then echo "$as_me:$LINENO: checking whether $libdb3 needs $libthread" >&5 echo $ECHO_N "checking whether $libdb3 needs $libthread... $ECHO_C" >&6 saveLIBS="$LIBS" LIBS="$LIBS $libdb3" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7577 11 a7588 3 #ifdef __cplusplus extern "C" #endif d7590 10 a7599 24 builtin and then its argument prototype would still apply. */ char db_create (); int main () { db_create (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d7601 7 a7607 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a7608 2 libdb3="$libdb3 $libthread"; echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 d7610 5 a7614 2 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS="$saveLIBS" a7616 5 else cat >>confdefs.h <<\_ACEOF #define HAVE_DB3_DB_H 1 _ACEOF a7617 5 WITH_DB_SUBDIR=db3 WITH_INTERNAL_DB=1 DBLIBSRCS="db3.c" libdb3="# \$(top_builddir)/db3/libdb.la" libdb3a="\$(top_builddir)/db3/libdb.a" d7621 15 d7637 1 d7639 8 a7646 2 DBLIBSRCS="$DBLIBSRCS db1.c falloc.c" DBLIBOBJS=`echo $DBLIBSRCS | sed -e "s/\.c/\.lo/g"` d7648 13 d7662 5 d7668 15 d7684 15 d7700 7 a7707 14 for dbi in $DBLIBSRCS; do case $dbi in db3.c) cat >>confdefs.h <<\_ACEOF #define USE_DB3 1 _ACEOF ;; db1.c) cat >>confdefs.h <<\_ACEOF #define USE_DB1 1 _ACEOF ;; esac done d7709 1 a7709 6 case "$target" in m68k-*-amigaos ) echo "Building for AmigaOS: using vfork() instead of fork()"; CFLAGS="$CFLAGS -Dfork=vfork" ;; esac d7711 4 a7714 7 if test -z "${WITH_ZLIB_LIB}" ; then for zlib in z gz ; do as_ac_Lib=`echo "ac_cv_lib_${zlib}''_gzread" | $as_tr_sh` echo "$as_me:$LINENO: checking for gzread in -l${zlib}" >&5 echo $ECHO_N "checking for gzread in -l${zlib}... $ECHO_C" >&6 if eval "test \"\${$as_ac_Lib+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7716 12 a7727 9 ac_check_lib_save_LIBS=$LIBS LIBS="-l${zlib} $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7729 7 a7735 3 /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" d7737 6 a7742 37 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gzread (); int main () { gzread (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Lib=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Lib=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 if test `eval echo '${'$as_ac_Lib'}'` = yes; then LIBS="$LIBS -l${zlib}"; break d7744 6 a7749 6 if test ${zlib} = gz; then { { echo "$as_me:$LINENO: error: sorry rpm requires libz.a or libgz.a (from the zlib package)" >&5 echo "$as_me: error: sorry rpm requires libz.a or libgz.a (from the zlib package)" >&2;} { (exit 1); exit 1; }; } fi d7752 5 a7756 1 done d7758 5 a7762 5 as_ac_Lib=`echo "ac_cv_lib_${zlib}''_gzseek" | $as_tr_sh` echo "$as_me:$LINENO: checking for gzseek in -l${zlib}" >&5 echo $ECHO_N "checking for gzseek in -l${zlib}... $ECHO_C" >&6 if eval "test \"\${$as_ac_Lib+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7764 5 a7768 10 ac_check_lib_save_LIBS=$LIBS LIBS="-l${zlib} $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a7769 3 #ifdef __cplusplus extern "C" #endif d7771 2 a7772 35 builtin and then its argument prototype would still apply. */ char gzseek (); int main () { gzseek (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Lib=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Lib=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 if test `eval echo '${'$as_ac_Lib'}'` = yes; then d7774 15 a7788 3 cat >>confdefs.h <<\_ACEOF #define HAVE_GZSEEK 1 _ACEOF d7791 7 a7800 14 echo "$as_me:$LINENO: checking for bzread in -lbz2" >&5 echo $ECHO_N "checking for bzread in -lbz2... $ECHO_C" >&6 if test "${ac_cv_lib_bz2_bzread+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lbz2 $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7802 4 a7805 41 /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bzread (); int main () { bzread (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_bz2_bzread=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_bz2_bzread=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_bzread" >&5 echo "${ECHO_T}$ac_cv_lib_bz2_bzread" >&6 if test $ac_cv_lib_bz2_bzread = yes; then LIBS="$LIBS -lbz2" d7807 6 a7812 15 echo "$as_me:$LINENO: checking for BZ2_bzread in -lbz2" >&5 echo $ECHO_N "checking for BZ2_bzread in -lbz2... $ECHO_C" >&6 if test "${ac_cv_lib_bz2_BZ2_bzread+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lbz2 $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a7813 3 #ifdef __cplusplus extern "C" #endif d7815 2 a7816 35 builtin and then its argument prototype would still apply. */ char BZ2_bzread (); int main () { BZ2_bzread (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_bz2_BZ2_bzread=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_bz2_BZ2_bzread=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzread" >&5 echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzread" >&6 if test $ac_cv_lib_bz2_BZ2_bzread = yes; then d7818 1 a7818 2 WITH_BZIP2=1 LIBS="$LIBS -lbz2" d7820 8 a7827 3 cat >>confdefs.h <<\_ACEOF #define HAVE_BZ2_1_0 1 _ACEOF d7829 5 d7835 6 a7840 1 WITH_BZIP2=0 d7843 5 d7851 1 a7851 3 for ac_func in personality d7853 8 a7860 13 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7862 2 a7863 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a7864 4 #ifdef __cplusplus extern "C" { #endif d7866 5 a7870 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d7877 1 a7877 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d7880 13 a7892 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d7894 9 d7907 31 d7939 8 a7946 7 MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi d7948 1 d7950 3 d7955 16 d7972 7 a7978 6 # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7980 8 a7987 20 case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac d7989 3 a7991 4 MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then echo "$as_me:$LINENO: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6 d7993 1 a7993 3 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi d7995 5 a7999 6 # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GMSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d8001 9 a8009 18 case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d8011 12 a8022 3 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac d8024 2 a8025 1 GMSGFMT=$ac_cv_path_GMSGFMT d8027 4 a8030 3 if test -n "$GMSGFMT"; then echo "$as_me:$LINENO: result: $GMSGFMT" >&5 echo "${ECHO_T}$GMSGFMT" >&6 d8032 4 a8035 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d8039 25 a8063 6 # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d8065 8 a8072 20 case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac d8074 3 a8076 4 XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then echo "$as_me:$LINENO: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6 d8078 16 a8093 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 a8095 1 rm -f messages.po d8097 21 a8117 6 # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MSGMERGE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d8119 7 a8125 19 case "$MSGMERGE" in /*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then ac_cv_path_MSGMERGE="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; esac d8127 7 a8133 4 MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then echo "$as_me:$LINENO: result: $MSGMERGE" >&5 echo "${ECHO_T}$MSGMERGE" >&6 d8135 1 a8135 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d8137 2 d8140 15 d8156 1 a8156 11 if test "$GMSGFMT" != ":"; then if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then : ; else GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6 GMSGFMT=":" fi fi d8158 8 a8165 11 if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then : ; else echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6 XGETTEXT=":" fi rm -f messages.po fi d8167 13 a8179 1 ac_config_commands="$ac_config_commands default-1" d8181 20 d8202 7 a8208 7 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d8210 12 a8221 2 if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. d8223 16 a8238 13 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d8240 7 a8246 6 fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 d8248 4 a8251 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d8253 2 d8257 3 a8259 8 if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d8261 16 a8276 16 if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d8278 7 a8284 7 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 d8286 4 a8289 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d8291 2 a8293 3 RANLIB=$ac_ct_RANLIB else RANLIB="$ac_cv_prog_RANLIB" d8295 3 a8297 5 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d8299 16 a8314 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d8316 7 a8322 67 int main () { /* FIXME: Include the comments suggested by Paul. */ #ifndef __cplusplus /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes d8324 7 a8330 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a8331 1 ac_cv_c_const=no d8333 5 a8337 1 rm -f conftest.$ac_objext conftest.$ac_ext a8338 7 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then cat >>confdefs.h <<\_ACEOF #define const _ACEOF d8340 1 d8343 1 a8343 38 echo "$as_me:$LINENO: checking for inline" >&5 echo $ECHO_N "checking for inline... $ECHO_C" >&6 if test "${ac_cv_c_inline+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_inline=$ac_kw; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a8344 2 rm -f conftest.$ac_objext conftest.$ac_ext done d8346 1 a8347 14 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 echo "${ECHO_T}$ac_cv_c_inline" >&6 case $ac_cv_c_inline in inline | yes) ;; no) cat >>confdefs.h <<\_ACEOF #define inline _ACEOF ;; *) cat >>confdefs.h <<_ACEOF #define inline $ac_cv_c_inline _ACEOF ;; esac a8348 40 echo "$as_me:$LINENO: checking for off_t" >&5 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 if test "${ac_cv_type_off_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((off_t *) 0) return 0; if (sizeof (off_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_off_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a8349 3 ac_cv_type_off_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext a8350 5 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 echo "${ECHO_T}$ac_cv_type_off_t" >&6 if test $ac_cv_type_off_t = yes; then : else a8351 3 cat >>confdefs.h <<_ACEOF #define off_t long _ACEOF d8353 2 d8357 20 a8376 37 echo "$as_me:$LINENO: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((size_t *) 0) return 0; if (sizeof (size_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_size_t=yes d8378 4 a8381 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_size_t=no d8383 2 a8384 1 rm -f conftest.$ac_objext conftest.$ac_ext d8386 1 a8386 4 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6 if test $ac_cv_type_size_t = yes; then : d8388 3 d8392 5 a8396 4 cat >>confdefs.h <<_ACEOF #define size_t unsigned _ACEOF a8398 47 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo "$as_me:$LINENO: checking for working alloca.h" >&5 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 if test "${ac_cv_working_alloca_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { char *p = (char *) alloca (2 * sizeof (int)); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_working_alloca_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_working_alloca_h=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 if test $ac_cv_working_alloca_h = yes; then a8399 3 cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA_H 1 _ACEOF a8400 1 fi d8402 2 a8403 32 echo "$as_me:$LINENO: checking for alloca" >&5 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 if test "${ac_cv_func_alloca_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __GNUC__ # define alloca __builtin_alloca #else # ifdef _MSC_VER # include # define alloca _alloca # else # if HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); # endif # endif # endif # endif #endif a8404 24 int main () { char *p = (char *) alloca (1); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_alloca_works=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a8405 6 ac_cv_func_alloca_works=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 a8406 1 if test $ac_cv_func_alloca_works = yes; then a8407 3 cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA 1 _ACEOF a8408 5 else # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. d8410 12 a8421 1 ALLOCA=alloca.$ac_objext d8423 15 a8437 3 cat >>confdefs.h <<\_ACEOF #define C_ALLOCA 1 _ACEOF d8439 1 d8441 5 a8445 14 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 if test "${ac_cv_os_cray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if defined(CRAY) && ! defined(CRAY2) webecray d8447 1 a8447 1 wenotbecray d8450 5 a8454 4 _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "webecray" >/dev/null 2>&1; then ac_cv_os_cray=yes d8456 4 a8459 1 ac_cv_os_cray=no d8462 1 d8464 7 d8472 23 a8494 26 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 echo "${ECHO_T}$ac_cv_os_cray" >&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a8495 4 #ifdef __cplusplus extern "C" { #endif d8497 2 a8498 13 builtin and then its argument prototype would still apply. */ char $ac_func (); /* 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 char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif d8500 15 a8514 32 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then d8516 10 a8525 5 cat >>confdefs.h <<_ACEOF #define CRAY_STACKSEG_END $ac_func _ACEOF break d8528 1 a8528 2 done fi d8530 5 a8534 4 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 if test "${ac_cv_c_stack_direction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d8536 17 a8552 2 if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 d8554 7 a8560 43 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int find_stack_direction () { static char *addr = 0; auto char dummy; if (addr == 0) { addr = &dummy; return find_stack_direction (); } else return (&dummy > addr) ? 1 : -1; } int main () { exit (find_stack_direction () < 0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_stack_direction=1 else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a8561 2 ( exit $ac_status ) ac_cv_c_stack_direction=-1 d8563 8 a8570 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d8572 1 a8573 2 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 d8575 15 a8589 3 cat >>confdefs.h <<_ACEOF #define STACK_DIRECTION $ac_cv_c_stack_direction _ACEOF d8591 15 d8608 3 a8610 76 for ac_header in stdlib.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d8612 6 a8617 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d8619 9 a8627 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d8629 7 a8635 43 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 d8637 4 a8640 1 eval "$as_ac_Header=$ac_header_preproc" d8642 2 a8643 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d8646 13 a8658 4 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a8661 1 done d8664 1 a8664 1 for ac_func in getpagesize d8666 8 a8673 13 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d8675 2 a8676 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a8677 4 #ifdef __cplusplus extern "C" { #endif d8679 5 a8683 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d8690 1 a8690 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d8693 13 a8705 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d8707 9 d8719 121 a8839 4 echo "$as_me:$LINENO: checking for working mmap" >&5 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d8841 20 a8860 2 if test "$cross_compiling" = yes; then ac_cv_func_mmap_fixed_mapped=no d8862 5 a8866 10 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default /* malloc might have been renamed as rpl_malloc. */ #undef malloc d8868 13 a8880 16 /* Thanks to Mike Haertel and Jim Avera for this test. Here is a matrix of mmap possibilities: mmap private not fixed mmap private fixed at somewhere currently unmapped mmap private fixed at somewhere already mapped mmap shared not fixed mmap shared fixed at somewhere currently unmapped mmap shared fixed at somewhere already mapped For private mappings, we should verify that changes cannot be read() back from the file, nor mmap's back from the file at a different address. (There have been systems where private was not correctly implemented like the infamous i386 svr4.0, and systems where the VM page cache was not coherent with the file system buffer cache like early versions of FreeBSD and possibly contemporary NetBSD.) For shared mappings, we should conversely verify that changes get propagated back to all the places they're supposed to be. d8882 1 a8882 4 Grep wants private fixed already mapped. The main things grep needs to know about mmap are: * does it exist and is it safe to write into the mmap'd area * how to use it (BSD variants) */ d8884 12 a8895 2 #include #include d8897 12 a8908 2 #if !STDC_HEADERS && !HAVE_STDLIB_H char *malloc (); d8910 10 d8921 6 a8926 6 /* This mess was copied from the GNU getpagesize.h. */ #if !HAVE_GETPAGESIZE /* Assume that all systems that can run configure have sys/param.h. */ # if !HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif d8928 1 a8928 27 # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ # if HAVE_SYS_PARAM_H # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else /* no EXEC_PAGESIZE */ # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif /* no CLSIZE */ # else /* no NBPG */ # ifdef NBPC # define getpagesize() NBPC # else /* no NBPC */ # ifdef PAGESIZE # define getpagesize() PAGESIZE # endif /* PAGESIZE */ # endif /* no NBPC */ # endif /* no NBPG */ # endif /* no EXEC_PAGESIZE */ # else /* no HAVE_SYS_PARAM_H */ # define getpagesize() 8192 /* punt totally */ # endif /* no HAVE_SYS_PARAM_H */ # endif /* no _SC_PAGESIZE */ d8930 23 a8952 1 #endif /* no HAVE_GETPAGESIZE */ d8954 6 a8959 73 int main () { char *data, *data2, *data3; int i, pagesize; int fd; pagesize = getpagesize (); /* First, make a file with some known garbage in it. */ data = (char *) malloc (pagesize); if (!data) exit (1); for (i = 0; i < pagesize; ++i) *(data + i) = rand (); umask (0); fd = creat ("conftest.mmap", 0600); if (fd < 0) exit (1); if (write (fd, data, pagesize) != pagesize) exit (1); close (fd); /* Next, try to mmap the file at a fixed address which already has something else allocated at it. If we can, also make sure that we see the same garbage. */ fd = open ("conftest.mmap", O_RDWR); if (fd < 0) exit (1); data2 = (char *) malloc (2 * pagesize); if (!data2) exit (1); data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) exit (1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) exit (1); /* Finally, make sure that changes to the mapped area do not percolate back to the file as seen by read(). (This is a bug on some variants of i386 svr4.0.) */ for (i = 0; i < pagesize; ++i) *(data2 + i) = *(data2 + i) + 1; data3 = (char *) malloc (pagesize); if (!data3) exit (1); if (read (fd, data3, pagesize) != pagesize) exit (1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) exit (1); close (fd); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_mmap_fixed_mapped=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a8960 2 ( exit $ac_status ) ac_cv_func_mmap_fixed_mapped=no d8962 24 a8985 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d8987 1 a8988 7 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 if test $ac_cv_func_mmap_fixed_mapped = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_MMAP 1 _ACEOF d8990 6 a8996 1 rm -f conftest.mmap d8998 4 a9001 5 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6 if test "${ac_cv_gnu_library_2_1+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d9003 3 a9005 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d9007 19 a9025 5 #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) Lucky GNU user #endif d9028 7 a9034 4 _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky GNU user" >/dev/null 2>&1; then ac_cv_gnu_library_2_1=yes d9036 4 a9039 1 ac_cv_gnu_library_2_1=no d9042 1 d9044 5 a9048 1 a9050 2 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6 d9052 9 a9060 1 GLIBC21="$ac_cv_gnu_library_2_1" d9063 13 d9077 5 a9081 5 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d9083 4 d9088 1 a9088 9 if test "$cross_compiling" = yes; then # Guess based on the CPU. case "$host_cpu" in alpha* | i3456786 | m68k | s390*) gt_cv_int_divbyzero_sigfpe="guessing yes";; *) gt_cv_int_divbyzero_sigfpe="guessing no";; esac d9090 7 d9098 10 a9107 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d9109 1 a9109 2 #include #include d9111 5 a9115 3 static void #ifdef __cplusplus sigfpe_handler (int sig) d9117 1 a9117 1 sigfpe_handler (sig) int sig; a9118 4 { /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ exit (sig != SIGFPE); } d9120 13 a9132 4 int x = 1; int y = 0; int z; int nan; d9134 5 a9138 11 int main () { signal (SIGFPE, sigfpe_handler); /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) signal (SIGTRAP, sigfpe_handler); #endif /* Linux/SPARC yields signal SIGILL. */ #if defined (__sparc__) && defined (__linux__) signal (SIGILL, sigfpe_handler); #endif d9140 3 a9142 27 z = x / y; nan = y / y; exit (1); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_int_divbyzero_sigfpe=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) gt_cv_int_divbyzero_sigfpe=no fi rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d9145 1 a9146 6 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6 case "$gt_cv_int_divbyzero_sigfpe" in *yes) value=1;; *) value=0;; esac d9148 12 a9159 22 cat >>confdefs.h <<_ACEOF #define INTDIV0_RAISES_SIGFPE $value _ACEOF echo "$as_me:$LINENO: checking for inttypes.h" >&5 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () d9161 9 a9169 3 uintmax_t i = (uintmax_t) -1; ; return 0; a9170 48 _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then jm_ac_cv_header_inttypes_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 jm_ac_cv_header_inttypes_h=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6 if test $jm_ac_cv_header_inttypes_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_INTTYPES_H_WITH_UINTMAX 1 _ACEOF fi echo "$as_me:$LINENO: checking for stdint.h" >&5 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 if test "${jm_ac_cv_header_stdint_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int d9173 1 a9173 3 uintmax_t i = (uintmax_t) -1; ; return 0; d9175 12 a9186 29 _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then jm_ac_cv_header_stdint_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 jm_ac_cv_header_stdint_h=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6 if test $jm_ac_cv_header_stdint_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_STDINT_H_WITH_UINTMAX 1 _ACEOF d9188 1 a9188 1 fi d9190 4 d9195 1 a9195 50 echo "$as_me:$LINENO: checking for unsigned long long" >&5 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 if test "${ac_cv_type_unsigned_long_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ unsigned long long ull = 1; int i = 63; int main () { unsigned long long ullmax = (unsigned long long) -1; return ull << i | ull >> i | ullmax / ull | ullmax % ull; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_unsigned_long_long=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_unsigned_long_long=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 if test $ac_cv_type_unsigned_long_long = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_UNSIGNED_LONG_LONG 1 _ACEOF d9197 19 a9215 22 fi if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then test $ac_cv_type_unsigned_long_long = yes \ && ac_type='unsigned long long' \ || ac_type='unsigned long' cat >>confdefs.h <<_ACEOF #define uintmax_t $ac_type _ACEOF fi echo "$as_me:$LINENO: checking for inttypes.h" >&5 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 if test "${gt_cv_header_inttypes_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d9217 7 a9223 97 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_header_inttypes_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_header_inttypes_h=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6 if test $gt_cv_header_inttypes_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_INTTYPES_H 1 _ACEOF fi if test $gt_cv_header_inttypes_h = yes; then echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6 if test "${gt_cv_inttypes_pri_broken+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #ifdef PRId32 char *p = PRId32; #endif int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_inttypes_pri_broken=no else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_inttypes_pri_broken=yes d9225 9 a9233 2 rm -f conftest.$ac_objext conftest.$ac_ext d9235 1 a9235 4 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6 fi if test "$gt_cv_inttypes_pri_broken" = yes; then d9237 17 a9253 3 cat >>confdefs.h <<_ACEOF #define PRI_MACROS_BROKEN 1 _ACEOF d9255 1 a9255 1 fi d9257 8 d9266 5 a9270 82 if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" # Check whether --with-gnu-ld or --without-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval="$with_gnu_ld" test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi; ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo "$as_me:$LINENO: checking for ld used by GCC" >&5 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 else echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 fi if test "${acl_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then test "$with_gnu_ld" != no && break else test "$with_gnu_ld" != yes && break fi fi done IFS="$ac_save_ifs" d9272 4 a9275 1 acl_cv_path_LD="$LD" # Let the user override the test with a path. d9277 1 d9280 7 a9286 4 LD="$acl_cv_path_LD" if test -n "$LD"; then echo "$as_me:$LINENO: result: $LD" >&5 echo "${ECHO_T}$LD" >&6 d9288 1 a9288 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d9290 1 a9290 19 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 if test "${acl_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # 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 fi echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 with_gnu_ld=$acl_cv_prog_gnu_ld d9292 4 a9295 5 echo "$as_me:$LINENO: checking for shared library run path origin" >&5 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 if test "${acl_cv_rpath+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d9297 2 a9298 23 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done fi echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 echo "${ECHO_T}$acl_cv_rpath" >&6 wl="$acl_cv_wl" libext="$acl_cv_libext" shlibext="$acl_cv_shlibext" hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" # Check whether --enable-rpath or --disable-rpath was given. if test "${enable_rpath+set}" = set; then enableval="$enable_rpath" : d9300 3 a9302 2 enable_rpath=yes fi; d9304 16 d9321 7 d9329 3 d9333 3 d9337 3 d9341 3 d9345 2 a9346 1 use_additional=yes d9348 4 a9351 4 acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" d9353 27 a9379 2 eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" d9381 1 a9381 2 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" d9383 5 d9389 63 a9451 3 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then withval="$with_libiconv_prefix" d9453 12 a9464 4 if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then d9466 1 a9466 4 acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" d9468 5 a9472 2 eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" d9474 1 a9474 344 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/lib" fi fi fi; LIBICONV= LTLIBICONV= INCICONV= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='iconv ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" else : fi else found_dir= found_la= found_so= found_a= if test $use_additional = yes; then if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then found_dir="$additional_libdir" found_so="$additional_libdir/lib$name.$shlibext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi else if test -f "$additional_libdir/lib$name.$libext"; then found_dir="$additional_libdir" found_a="$additional_libdir/lib$name.$libext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then found_dir="$dir" found_so="$dir/lib$name.$shlibext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi else if test -f "$dir/lib$name.$libext"; then found_dir="$dir" found_a="$dir/lib$name.$libext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$hardcode_direct" = yes; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" fi if test "$hardcode_minus_L" != no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" else LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */lib | */lib/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/lib"; then haveit= if test "X$additional_libdir" = "X/usr/local/lib"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ;; esac done fi else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" done fi d9477 8 d9486 17 d9504 3 d9508 4 d9513 2 a9514 9 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ d9517 5 a9521 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d9523 11 a9533 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d9535 5 a9539 48 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" d9541 1 a9541 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d9543 9 a9551 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a9552 1 d9555 3 a9557 24 for ac_func in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next d9559 8 a9566 13 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d9568 2 a9569 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a9570 4 #ifdef __cplusplus extern "C" { #endif d9572 5 a9576 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d9583 1 a9583 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d9586 13 a9598 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d9600 9 d9613 9 a9621 23 am_save_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi d9623 2 a9624 4 if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done d9627 4 a9630 4 echo "$as_me:$LINENO: checking for iconv" >&5 echo $ECHO_N "checking for iconv... $ECHO_C" >&6 if test "${am_cv_func_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d9632 1 a9632 1 d9635 3 a9637 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d9640 1 a9640 3 int main () { d9644 4 a9647 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9650 2 a9651 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d9653 1 a9653 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d9656 4 a9659 8 LIBS="$LIBS $LIBICONV" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d9662 1 a9662 3 int main () { d9666 4 a9669 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9673 2 a9674 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d9676 1 a9676 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d9679 2 d9682 1 a9682 3 fi echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 echo "${ECHO_T}$am_cv_func_iconv" >&6 d9684 1 a9684 2 cat >>confdefs.h <<\_ACEOF d9686 1 a9686 1 _ACEOF d9688 9 a9696 28 fi if test "$am_cv_lib_iconv" = yes; then echo "$as_me:$LINENO: checking how to link with libiconv" >&5 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $LIBICONV" >&5 echo "${ECHO_T}$LIBICONV" >&6 else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi if test "$am_cv_func_iconv" = yes; then echo "$as_me:$LINENO: checking for iconv declaration" >&5 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6 if test "${am_cv_proto_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d9710 1 a9710 3 int main () { d9712 4 a9715 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9718 4 a9721 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_proto_iconv_arg1="const" d9723 1 a9723 1 rm -f conftest.$ac_objext conftest.$ac_ext d9728 3 a9730 6 echo "$as_me:$LINENO: result: ${ac_t:- }$am_cv_proto_iconv" >&5 echo "${ECHO_T}${ac_t:- }$am_cv_proto_iconv" >&6 cat >>confdefs.h <<_ACEOF d9732 1 a9732 1 _ACEOF d9735 5 d9741 9 a9749 13 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 if test "${am_cv_langinfo_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d9751 1 a9751 3 int main () { d9753 4 a9756 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9759 7 a9765 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_langinfo_codeset=no a9766 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d9768 1 a9768 3 fi echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6 d9770 1 a9770 2 cat >>confdefs.h <<\_ACEOF d9772 1 a9772 1 _ACEOF d9776 9 a9784 14 if test $ac_cv_header_locale_h = yes; then echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 if test "${am_cv_val_LC_MESSAGES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d9786 1 a9786 3 int main () { d9788 4 a9791 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9794 4 a9797 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_val_LC_MESSAGES=no d9799 1 a9799 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a9800 3 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 if test $am_cv_val_LC_MESSAGES = yes; then d9802 3 a9804 1 cat >>confdefs.h <<\_ACEOF d9806 1 a9806 1 _ACEOF d9808 1 d9810 3 a9812 79 fi for ac_prog in bison 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 "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_INTLBISON+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$INTLBISON"; then ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_INTLBISON="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi INTLBISON=$ac_cv_prog_INTLBISON if test -n "$INTLBISON"; then echo "$as_me:$LINENO: result: $INTLBISON" >&5 echo "${ECHO_T}$INTLBISON" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$INTLBISON" && break done if test -z "$INTLBISON"; then ac_verc_fail=yes else echo "$as_me:$LINENO: checking version of bison" >&5 echo $ECHO_N "checking version of bison... $ECHO_C" >&6 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; esac echo "$as_me:$LINENO: result: $ac_prog_version" >&5 echo "${ECHO_T}$ac_prog_version" >&6 fi if test $ac_verc_fail = yes; then INTLBISON=: fi echo "$as_me:$LINENO: checking whether NLS is requested" >&5 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 # Check whether --enable-nls or --disable-nls was given. d9818 1 a9818 4 fi; echo "$as_me:$LINENO: result: $USE_NLS" >&5 echo "${ECHO_T}$USE_NLS" >&6 d9820 2 d9825 1 d9827 4 a9830 6 LIBINTL= LTLIBINTL= POSUB= if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no d9832 3 a9834 4 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6 # Check whether --with-included-gettext or --without-included-gettext was given. d9840 3 a9842 3 fi; echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6 d9846 1 d9848 2 d9851 36 a9886 16 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d9889 1 a9889 4 extern int *_nl_domain_bindings; int main () { d9891 5 a9895 17 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9898 4 a9901 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_gnugettext1_libc=no d9903 1 a9903 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a9904 2 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 d9906 1 a9906 1 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then d9908 30 d9939 2 d9942 6 a9947 1 use_additional=yes a9948 4 acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" d9950 23 a9972 2 eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" d9974 1 a9974 2 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" d9976 8 d9985 13 a9997 3 # Check whether --with-libintl-prefix or --without-libintl-prefix was given. if test "${with_libintl_prefix+set}" = set; then withval="$with_libintl_prefix" d9999 11 a10009 4 if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then d10011 1 a10011 4 acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" d10013 19 a10031 9 eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/lib" d10034 12 d10047 23 a10069 308 fi; LIBINTL= LTLIBINTL= INCINTL= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='intl ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" else : fi else found_dir= found_la= found_so= found_a= if test $use_additional = yes; then if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then found_dir="$additional_libdir" found_so="$additional_libdir/lib$name.$shlibext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi else if test -f "$additional_libdir/lib$name.$libext"; then found_dir="$additional_libdir" found_a="$additional_libdir/lib$name.$libext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then found_dir="$dir" found_so="$dir/lib$name.$shlibext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi else if test -f "$dir/lib$name.$libext"; then found_dir="$dir" found_a="$dir/lib$name.$libext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$hardcode_direct" = yes; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" fi if test "$hardcode_minus_L" != no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" else LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */lib | */lib/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/lib"; then haveit= if test "X$additional_libdir" = "X/usr/local/lib"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" ;; esac done fi else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" fi fi fi done d10071 8 a10078 72 if test "X$rpathdirs" != "X"; then if test -n "$hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" done fi echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (); int main () { bindtextdomain ("", ""); return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_func_gnugettext1_libintl=yes d10080 2 a10081 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d10083 27 a10109 1 gt_cv_func_gnugettext1_libintl=no d10111 5 a10115 51 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (); int main () { bindtextdomain ("", ""); return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" gt_cv_func_gnugettext1_libintl=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" a10116 3 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6 fi d10118 7 a10124 9 if test "$gt_cv_func_gnugettext1_libc" = "yes" \ || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ && test "$PACKAGE" != gettext; }; then gt_use_preinstalled_gnugettext=yes else LIBINTL= LTLIBINTL= INCINTL= fi d10127 2 a10128 2 if test "$gt_use_preinstalled_gnugettext" != "yes"; then nls_cv_use_gnu_gettext=yes d10134 19 a10152 5 BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV" LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` d10154 13 d10168 22 a10189 15 if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then CATOBJEXT=.gmo fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then cat >>confdefs.h <<\_ACEOF #define ENABLE_NLS 1 _ACEOF else USE_NLS=no d10191 12 a10202 1 fi d10204 19 a10222 24 if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then echo "$as_me:$LINENO: checking how to link with libintl" >&5 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $LIBINTL" >&5 echo "${ECHO_T}$LIBINTL" >&6 for element in $INCINTL; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break a10223 3 done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" d10226 11 d10238 6 d10246 8 d10255 8 a10262 8 cat >>confdefs.h <<\_ACEOF #define HAVE_GETTEXT 1 _ACEOF cat >>confdefs.h <<\_ACEOF #define HAVE_DCGETTEXT 1 _ACEOF d10264 1 d10266 1 a10266 3 POSUB=po fi d10273 30 d10304 2 d10307 17 d10325 4 d10330 9 d10344 1 a10344 1 d10347 1 a10347 1 d10350 2 d10353 26 d10380 4 a10383 9 INTL_LIBTOOL_SUFFIX_PREFIX= INTLLIBS="$LIBINTL" d10385 8 d10394 3 d10401 8 a10408 12 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10413 6 a10418 21 int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10421 5 a10425 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no d10427 1 a10427 1 rm -f conftest.$ac_objext conftest.$ac_ext d10431 3 a10433 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10435 1 a10435 2 _ACEOF d10437 1 a10437 1 $EGREP "memchr" >/dev/null 2>&1; then d10440 1 d10449 3 a10451 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10453 1 a10453 2 _ACEOF d10455 1 a10455 1 $EGREP "free" >/dev/null 2>&1; then d10458 1 d10467 1 a10467 1 if test "$cross_compiling" = yes; then d10470 3 a10472 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10474 6 a10479 10 #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif d10481 3 a10483 23 #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); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10486 4 a10489 6 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no d10491 1 a10491 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d10493 1 d10496 2 a10497 2 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 d10499 1 a10499 2 cat >>confdefs.h <<\_ACEOF d10501 1 a10501 1 _ACEOF d10505 8 a10512 12 echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10514 1 a10514 3 int main () { d10516 4 a10519 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10522 6 a10527 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a10528 1 ac_cv_header_sys_types_h_makedev=no a10529 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d10531 1 a10531 3 fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6 d10534 9 a10542 20 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5 echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default d10544 7 a10550 49 _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5 echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d10552 5 a10556 1 ac_cpp_err=yes d10558 1 a10558 51 if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_sys_mkdev_h=$ac_header_preproc d10560 3 a10562 7 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6 fi if test $ac_cv_header_sys_mkdev_h = yes; then cat >>confdefs.h <<\_ACEOF d10564 1 a10564 1 _ACEOF d10566 2 a10570 1 d10572 5 a10576 75 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5 echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5 echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d10578 11 a10588 46 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d10590 5 a10594 1 ac_cv_header_sys_sysmacros_h=$ac_header_preproc d10596 1 a10596 3 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6 d10598 3 a10600 3 if test $ac_cv_header_sys_sysmacros_h = yes; then cat >>confdefs.h <<\_ACEOF d10602 1 a10602 1 _ACEOF d10604 2 a10607 1 a10610 5 d10612 11 a10622 14 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10625 24 a10648 39 int main () { if ((DIR *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 _ACEOF ac_header_dirent=$ac_hdr; break a10649 1 d10653 11 a10663 15 echo "$as_me:$LINENO: checking for library containing opendir" >&5 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 if test "${ac_cv_search_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS ac_cv_search_opendir=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a10664 3 #ifdef __cplusplus extern "C" #endif d10666 2 a10667 39 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="none required" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$ac_cv_search_opendir" = no; then for ac_lib in dir; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10669 7 a10675 29 /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="-l$ac_lib" break d10677 7 a10683 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d10686 5 a10690 10 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 echo "${ECHO_T}$ac_cv_search_opendir" >&6 if test "$ac_cv_search_opendir" != no; then test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" d10694 11 a10704 15 echo "$as_me:$LINENO: checking for library containing opendir" >&5 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 if test "${ac_cv_search_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$LIBS ac_cv_search_opendir=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a10705 3 #ifdef __cplusplus extern "C" #endif d10707 2 a10708 39 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="none required" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$ac_cv_search_opendir" = no; then for ac_lib in x; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10710 7 a10716 29 /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir (); int main () { opendir (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_opendir="-l$ac_lib" break d10718 7 a10724 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d10727 5 a10731 4 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext done fi LIBS=$ac_func_search_save_LIBS a10732 4 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 echo "${ECHO_T}$ac_cv_search_opendir" >&6 if test "$ac_cv_search_opendir" != no; then test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" d10736 4 a10739 6 fi echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d10741 3 a10743 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10747 6 a10752 22 int main () { if ((struct tm *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10755 4 a10758 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_time=no d10760 1 a10760 1 rm -f conftest.$ac_objext conftest.$ac_ext d10762 2 a10763 2 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 d10765 1 a10765 2 cat >>confdefs.h <<\_ACEOF d10767 1 a10767 1 _ACEOF d10772 1 a10772 8 for ac_header in fcntl.h getopt.h grp.h memory.h netdb.h pwd.h utime.h d10774 5 a10778 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d10780 11 a10790 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d10792 5 a10796 48 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" d10798 1 a10798 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d10800 9 a10808 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a10809 1 d10813 1 a10813 4 for ac_header in sys/ipc.h sys/socket.h sys/select.h d10815 5 a10819 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d10821 11 a10831 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d10833 5 a10837 48 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" d10839 1 a10839 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d10841 9 a10849 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a10850 1 d10853 1 a10853 3 for ac_header in sys/types.h sys/stdtypes.h d10855 5 a10859 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d10861 11 a10871 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d10873 5 a10877 48 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" d10879 1 a10879 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d10881 9 a10889 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a10890 1 d10893 1 a10893 5 for ac_header in sys/mman.h sys/resource.h sys/utsname.h sys/wait.h d10895 5 a10899 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d10901 11 a10911 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d10913 5 a10917 48 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" d10919 1 a10919 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d10921 9 a10929 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a10930 1 d10934 1 a10934 2 for ac_header in netinet/in_systm.h d10936 5 a10940 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d10942 11 a10952 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d10954 5 a10958 48 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" d10960 1 a10960 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d10962 7 a10968 83 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in machine/types.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d10970 1 a10970 63 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a10971 1 d10974 1 a10974 4 for ac_header in mntent.h sys/mnttab.h sys/systemcfg.h d10976 5 a10980 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d10982 11 a10992 51 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 d10994 5 a10998 1 eval "$as_ac_Header=$ac_header_preproc" d11000 1 a11000 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d11002 9 a11010 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a11011 1 d11014 1 a11014 5 for ac_header in sys/mount.h sys/mntctl.h sys/param.h sys/vmount.h d11016 5 a11020 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d11022 11 a11032 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d11034 5 a11038 48 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" d11040 1 a11040 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d11042 9 a11050 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a11051 1 d11054 1 a11054 4 for ac_header in bzlib.h libio.h zlib.h d11056 5 a11060 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d11062 11 a11072 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d11074 5 a11078 48 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" d11080 1 a11080 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d11082 9 a11090 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a11091 1 d11094 1 a11094 3 for ac_header in err.h mcheck.h d11096 5 a11100 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d11102 11 a11112 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d11114 5 a11118 48 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" d11120 1 a11120 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d11122 9 a11130 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a11131 1 d11134 1 a11134 2 for ac_header in pthread.h d11136 5 a11140 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d11142 11 a11152 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d11154 5 a11158 48 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" d11160 1 a11160 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d11162 9 a11170 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a11171 1 d11175 1 a11175 2 for ac_header in float.h d11177 17 a11193 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d11195 7 a11201 1 ac_cpp_err=yes d11203 7 a11209 49 if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 d11211 1 a11211 1 eval "$as_ac_Header=$ac_header_preproc" d11213 1 a11213 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 a11214 5 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF d11216 7 a11224 3 done d11226 1 a11226 1 for ac_header in glob.h d11228 5 a11232 71 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi d11234 11 a11244 4 ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes d11246 5 a11250 48 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" d11252 1 a11252 3 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d11254 9 a11262 5 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a11263 1 d11267 2 a11268 2 echo "$as_me:$LINENO: checking for struct statfs" >&5 echo $ECHO_N "checking for struct statfs... $ECHO_C" >&6 d11272 3 a11274 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11279 2 a11280 4 #include int main () { d11282 6 a11287 20 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: in sys/statvfs.h" >&5 echo "${ECHO_T}in sys/statvfs.h" >&6 cat >>confdefs.h <<\_ACEOF d11289 1 a11289 1 _ACEOF d11293 2 a11294 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d11296 1 a11296 1 rm -f conftest.$ac_objext conftest.$ac_ext d11300 3 a11302 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11307 2 a11308 4 #include int main () { d11310 6 a11315 20 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: in sys/vfs.h" >&5 echo "${ECHO_T}in sys/vfs.h" >&6 cat >>confdefs.h <<\_ACEOF d11317 1 a11317 1 _ACEOF d11321 2 a11322 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d11324 1 a11324 1 rm -f conftest.$ac_objext conftest.$ac_ext d11328 3 a11330 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11338 2 a11339 4 #include int main () { d11341 6 a11346 20 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: in sys/mount.h" >&5 echo "${ECHO_T}in sys/mount.h" >&6 cat >>confdefs.h <<\_ACEOF d11348 1 a11348 1 _ACEOF d11352 2 a11353 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d11355 1 a11355 1 rm -f conftest.$ac_objext conftest.$ac_ext d11359 3 a11361 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11366 2 a11367 4 #include int main () { d11369 6 a11374 20 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: in sys/statfs.h" >&5 echo "${ECHO_T}in sys/statfs.h" >&6 cat >>confdefs.h <<\_ACEOF d11376 1 a11376 1 _ACEOF d11380 2 a11381 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d11383 1 a11383 1 rm -f conftest.$ac_objext conftest.$ac_ext d11387 1 a11387 2 { echo "$as_me:$LINENO: WARNING: not found" >&5 echo "$as_me: WARNING: not found" >&2;} d11391 5 a11395 9 echo "$as_me:$LINENO: checking for f_bavail member in struct statfs" >&5 echo $ECHO_N "checking for f_bavail member in struct statfs... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11412 2 a11413 4 #endif int main () { d11416 6 a11421 20 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\_ACEOF d11423 1 a11423 1 _ACEOF d11426 4 a11429 5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d11432 1 a11432 1 rm -f conftest.$ac_objext conftest.$ac_ext d11436 2 a11437 2 echo "$as_me:$LINENO: checking if statfs() requires 4 arguments" >&5 echo $ECHO_N "checking if statfs() requires 4 arguments... $ECHO_C" >&6 d11439 1 a11439 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d11442 3 a11444 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11461 5 a11465 16 _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\_ACEOF d11467 1 a11467 1 _ACEOF d11470 4 a11473 7 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d11475 1 a11475 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d11477 1 d11480 4 a11483 4 echo "$as_me:$LINENO: checking for inline" >&5 echo $ECHO_N "checking for inline... $ECHO_C" >&6 if test "${ac_cv_c_inline+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d11487 3 a11489 12 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif d11491 6 a11496 13 _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11499 2 a11500 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d11502 1 a11502 1 rm -f conftest.$ac_objext conftest.$ac_ext d11506 3 a11508 3 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 echo "${ECHO_T}$ac_cv_c_inline" >&6 case $ac_cv_c_inline in d11510 3 a11512 4 no) cat >>confdefs.h <<\_ACEOF #define inline _ACEOF d11514 1 a11514 1 *) cat >>confdefs.h <<_ACEOF d11516 1 a11516 1 _ACEOF d11522 5 a11526 9 echo "$as_me:$LINENO: checking if defines h_errno" >&5 echo $ECHO_N "checking if defines h_errno... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11528 1 a11528 3 int main () { d11530 4 a11533 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11536 2 a11537 3 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d11539 2 a11540 3 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext echo "$as_me:$LINENO: result: $PROVIDES_ERRNO" >&5 echo "${ECHO_T}$PROVIDES_ERRNO" >&6 d11542 1 a11542 2 cat >>confdefs.h <<\_ACEOF d11544 1 a11544 1 _ACEOF d11548 5 a11552 9 echo "$as_me:$LINENO: checking if defines S_IFSOCK" >&5 echo $ECHO_N "checking if defines S_IFSOCK... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11554 1 a11554 3 int main () { d11556 4 a11559 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11562 4 a11565 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 HAS_S_IFSOCK=no d11567 2 a11568 3 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext echo "$as_me:$LINENO: result: $HAS_S_IFSOCK" >&5 echo "${ECHO_T}$HAS_S_IFSOCK" >&6 d11570 1 a11570 2 cat >>confdefs.h <<\_ACEOF d11572 1 a11572 1 _ACEOF d11576 5 a11580 9 echo "$as_me:$LINENO: checking if defines S_ISLNK" >&5 echo $ECHO_N "checking if defines S_ISLNK... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11582 1 a11582 3 int main () { d11584 4 a11587 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11590 4 a11593 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 HAS_S_ISLNK=no d11595 2 a11596 3 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext echo "$as_me:$LINENO: result: $HAS_S_ISLNK" >&5 echo "${ECHO_T}$HAS_S_ISLNK" >&6 d11598 1 a11598 2 cat >>confdefs.h <<\_ACEOF d11600 1 a11600 1 _ACEOF d11604 5 a11608 9 echo "$as_me:$LINENO: checking if defines S_ISSOCK" >&5 echo $ECHO_N "checking if defines S_ISSOCK... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11610 1 a11610 3 int main () { d11612 4 a11615 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11618 4 a11621 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 HAS_S_ISSOCK=no d11623 2 a11624 3 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext echo "$as_me:$LINENO: result: $HAS_S_ISSOCK" >&5 echo "${ECHO_T}$HAS_S_ISSOCK" >&6 d11626 1 a11626 2 cat >>confdefs.h <<\_ACEOF d11628 1 a11628 1 _ACEOF d11632 5 a11636 9 echo "$as_me:$LINENO: checking if timezone is defined" >&5 echo $ECHO_N "checking if timezone is defined... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11638 1 a11638 3 int main () { d11640 4 a11643 16 ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11646 7 a11652 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d11654 17 a11670 42 HAS_TIMEZONE=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext echo "$as_me:$LINENO: result: $HAS_TIMEZONE" >&5 echo "${ECHO_T}$HAS_TIMEZONE" >&6 echo "$as_me:$LINENO: checking for mode_t" >&5 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 if test "${ac_cv_type_mode_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((mode_t *) 0) return 0; if (sizeof (mode_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11673 4 a11676 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a11677 3 ac_cv_type_mode_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext d11679 3 a11681 7 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 echo "${ECHO_T}$ac_cv_type_mode_t" >&6 if test $ac_cv_type_mode_t = yes; then : else cat >>confdefs.h <<_ACEOF d11683 1 a11683 1 _ACEOF d11687 17 a11703 36 echo "$as_me:$LINENO: checking for pid_t" >&5 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 if test "${ac_cv_type_pid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((pid_t *) 0) return 0; if (sizeof (pid_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11706 4 a11709 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a11710 3 ac_cv_type_pid_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext d11712 3 a11714 7 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 if test $ac_cv_type_pid_t = yes; then : else cat >>confdefs.h <<_ACEOF d11716 1 a11716 1 _ACEOF d11723 8 a11730 12 echo "$as_me:$LINENO: checking for working alloca.h" >&5 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 if test "${ac_cv_working_alloca_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11732 15 a11746 32 int main () { char *p = (char *) alloca (2 * sizeof (int)); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_working_alloca_h=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_working_alloca_h=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 if test $ac_cv_working_alloca_h = yes; then d11748 3 a11750 1 cat >>confdefs.h <<\_ACEOF d11752 1 a11752 1 _ACEOF d11756 9 a11764 12 echo "$as_me:$LINENO: checking for alloca" >&5 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 if test "${ac_cv_func_alloca_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11786 6 a11791 20 int main () { char *p = (char *) alloca (1); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11794 4 a11797 4 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_alloca_works=no d11799 1 a11799 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a11800 2 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 d11802 1 d11804 3 d11808 1 a11808 3 cat >>confdefs.h <<\_ACEOF #define HAVE_ALLOCA 1 _ACEOF d11810 1 a11810 1 else d11812 5 a11816 7 # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=alloca.$ac_objext cat >>confdefs.h <<\_ACEOF d11818 1 a11818 1 _ACEOF d11821 8 a11828 12 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 if test "${ac_cv_os_cray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11835 1 a11835 1 _ACEOF d11837 2 a11838 1 $EGREP "webecray" >/dev/null 2>&1; then d11841 1 d11847 2 a11848 2 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 echo "${ECHO_T}$ac_cv_os_cray" >&6 d11850 9 a11858 14 for ac_func in _getb67 GETB67 getb67; do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11860 2 a11861 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a11862 4 #ifdef __cplusplus extern "C" { #endif d11864 5 a11868 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d11875 1 a11875 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d11878 13 a11890 32 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then d11892 3 a11894 1 cat >>confdefs.h <<_ACEOF d11896 1 a11896 1 _ACEOF d11898 3 a11900 1 break d11903 1 a11903 1 done d11906 4 a11909 4 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 if test "${ac_cv_c_stack_direction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d11914 3 a11916 8 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int a11928 2 int d11931 1 a11931 1 exit (find_stack_direction () < 0); d11933 3 a11935 12 _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11938 4 a11941 6 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_c_stack_direction=-1 d11943 1 a11943 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d11945 1 a11946 2 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 d11948 2 a11949 1 cat >>confdefs.h <<_ACEOF d11951 1 a11951 2 _ACEOF d11955 8 a11962 16 for ac_func in vprintf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11964 2 a11965 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a11966 4 #ifdef __cplusplus extern "C" { #endif d11968 5 a11972 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d11976 1 a11976 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d11979 1 a11979 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d11982 33 a12014 48 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF echo "$as_me:$LINENO: checking for _doprnt" >&5 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 if test "${ac_cv_func__doprnt+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12016 2 a12017 8 which can conflict with char _doprnt (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12018 4 #ifdef __cplusplus extern "C" { #endif d12020 5 a12024 2 builtin and then its argument prototype would still apply. */ char _doprnt (); d12031 1 a12031 4 char (*f) () = _doprnt; #endif #ifdef __cplusplus } d12034 13 a12046 32 int main () { return f != _doprnt; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func__doprnt=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func__doprnt=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 if test $ac_cv_func__doprnt = yes; then d12048 3 a12050 1 cat >>confdefs.h <<\_ACEOF d12052 1 a12052 1 _ACEOF d12054 2 a12058 5 done d12061 27 d12089 1 d12091 5 d12097 1 d12099 3 d12106 8 a12113 13 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12115 2 a12116 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12117 4 #ifdef __cplusplus extern "C" { #endif d12119 5 a12123 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d12130 1 a12130 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d12133 13 a12145 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d12147 9 a12158 3 d12161 8 a12168 13 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12170 2 a12171 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12172 4 #ifdef __cplusplus extern "C" { #endif d12174 5 a12178 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d12185 1 a12185 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d12188 13 a12200 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d12202 9 a12213 6 d12216 8 a12223 13 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12225 2 a12226 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12227 4 #ifdef __cplusplus extern "C" { #endif d12229 5 a12233 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d12240 1 a12240 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d12243 13 a12255 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d12257 9 a12269 1 d12272 8 a12279 13 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12281 2 a12282 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12283 4 #ifdef __cplusplus extern "C" { #endif d12285 5 a12289 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d12296 1 a12296 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d12299 13 a12311 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d12313 9 a12325 1 d12328 8 a12335 13 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12337 2 a12338 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12339 4 #ifdef __cplusplus extern "C" { #endif d12341 5 a12345 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d12352 1 a12352 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d12355 13 a12367 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d12369 9 a12382 1 d12388 1 a12388 2 for ac_func in glob d12390 8 a12397 13 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12399 2 a12400 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12401 4 #ifdef __cplusplus extern "C" { #endif d12403 5 a12407 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d12414 1 a12414 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d12417 20 a12436 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d12439 2 a12440 1 rpm_cv_glob=yes d12444 2 a12445 1 fi; d12448 4 a12451 4 echo "$as_me:$LINENO: checking for GNU extensions to glob" >&5 echo $ECHO_N "checking for GNU extensions to glob... $ECHO_C" >&6 if test "${rpm_cv_glob_ext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d12453 1 a12453 1 d12461 3 a12463 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12472 4 a12475 13 } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d12478 4 a12481 6 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) rpm_cv_glob_ext=no d12483 1 a12483 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d12485 1 d12487 2 d12490 1 a12490 3 fi echo "$as_me:$LINENO: result: $rpm_cv_glob_ext" >&5 echo "${ECHO_T}$rpm_cv_glob_ext" >&6 d12498 1 a12498 2 cat >>confdefs.h <<\_ACEOF d12500 1 a12500 1 _ACEOF d12502 1 a12502 2 LIBOBJS="$LIBOBJS glob.$ac_objext" LIBOBJS="$LIBOBJS fnmatch.$ac_objext" a12504 1 d12508 2 a12510 1 fi; d12512 1 a12512 1 WITH_PYTHON_VERSION=$withval d12515 2 a12516 2 echo "$as_me:$LINENO: checking for python 2.2" >&5 echo $ECHO_N "checking for python 2.2... $ECHO_C" >&6 d12520 3 a12522 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12527 4 a12530 13 } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d12533 4 a12536 6 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) withval=no d12538 1 a12538 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d12540 2 a12541 2 echo "$as_me:$LINENO: result: $withval" >&5 echo "${ECHO_T}$withval" >&6 d12546 2 a12547 2 echo "$as_me:$LINENO: checking for python 1.5.2" >&5 echo $ECHO_N "checking for python 1.5.2... $ECHO_C" >&6 d12551 3 a12553 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12558 4 a12561 13 } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d12564 4 a12567 6 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) withval=no d12569 1 a12569 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d12571 2 a12572 2 echo "$as_me:$LINENO: result: $withval" >&5 echo "${ECHO_T}$withval" >&6 d12580 1 a12580 1 if test "$WITH_PYTHON_VERSION" != no ; then d12593 4 a12596 4 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___DOXYGEN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d12598 2 a12599 2 case $__DOXYGEN in [\\/]* | ?:[\\/]*) d12602 3 d12606 10 a12615 14 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___DOXYGEN="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done d12620 1 a12620 2 __DOXYGEN=$ac_cv_path___DOXYGEN d12622 1 a12622 2 echo "$as_me:$LINENO: result: $__DOXYGEN" >&5 echo "${ECHO_T}$__DOXYGEN" >&6 d12624 1 a12624 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 a12627 1 d12631 2 a12633 1 fi; d12638 1 a12638 3 { { echo "$as_me:$LINENO: error: --> rpm API docs needs doxygen in PATH" >&5 echo "$as_me: error: --> rpm API docs needs doxygen in PATH" >&2;} { (exit 1); exit 1; }; } a12650 1 d12654 2 a12656 1 fi; d12658 1 a12658 2 cat >>confdefs.h <<\_ACEOF d12660 1 a12660 1 _ACEOF a12664 1 d12667 8 a12674 13 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12676 2 a12677 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12678 4 #ifdef __cplusplus extern "C" { #endif d12680 5 a12684 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d12691 1 a12691 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d12694 13 a12706 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d12708 9 a12720 1 d12723 8 a12730 13 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12732 2 a12733 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12734 4 #ifdef __cplusplus extern "C" { #endif d12736 5 a12740 2 builtin and then its argument prototype would still apply. */ char $ac_func (); d12747 1 a12747 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } d12750 13 a12762 35 int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d12764 9 d12777 8 a12784 12 echo "$as_me:$LINENO: checking for getmntent" >&5 echo $ECHO_N "checking for getmntent... $ECHO_C" >&6 if test "${ac_cv_func_getmntent+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12786 2 a12787 8 which can conflict with char getmntent (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12788 4 #ifdef __cplusplus extern "C" { #endif d12790 5 a12794 2 builtin and then its argument prototype would still apply. */ char getmntent (); d12801 1 a12801 4 char (*f) () = getmntent; #endif #ifdef __cplusplus } d12804 13 a12816 32 int main () { return f != getmntent; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_getmntent=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_getmntent=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_getmntent" >&5 echo "${ECHO_T}$ac_cv_func_getmntent" >&6 if test $ac_cv_func_getmntent = yes; then d12818 3 a12820 1 cat >>confdefs.h <<\_ACEOF d12822 1 a12822 1 _ACEOF d12825 1 d12827 8 a12834 12 echo "$as_me:$LINENO: checking for mntctl" >&5 echo $ECHO_N "checking for mntctl... $ECHO_C" >&6 if test "${ac_cv_func_mntctl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12836 2 a12837 8 which can conflict with char mntctl (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12838 4 #ifdef __cplusplus extern "C" { #endif d12840 5 a12844 2 builtin and then its argument prototype would still apply. */ char mntctl (); d12851 1 a12851 4 char (*f) () = mntctl; #endif #ifdef __cplusplus } d12854 13 a12866 32 int main () { return f != mntctl; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_mntctl=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_mntctl=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_mntctl" >&5 echo "${ECHO_T}$ac_cv_func_mntctl" >&6 if test $ac_cv_func_mntctl = yes; then d12868 3 a12870 1 cat >>confdefs.h <<\_ACEOF d12872 1 a12872 1 _ACEOF d12875 1 d12877 8 a12884 12 echo "$as_me:$LINENO: checking for getmntinfo_r" >&5 echo $ECHO_N "checking for getmntinfo_r... $ECHO_C" >&6 if test "${ac_cv_func_getmntinfo_r+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12886 2 a12887 8 which can conflict with char getmntinfo_r (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12888 4 #ifdef __cplusplus extern "C" { #endif d12890 5 a12894 2 builtin and then its argument prototype would still apply. */ char getmntinfo_r (); d12901 1 a12901 4 char (*f) () = getmntinfo_r; #endif #ifdef __cplusplus } d12904 13 a12916 32 int main () { return f != getmntinfo_r; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_getmntinfo_r=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_getmntinfo_r=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_getmntinfo_r" >&5 echo "${ECHO_T}$ac_cv_func_getmntinfo_r" >&6 if test $ac_cv_func_getmntinfo_r = yes; then d12918 3 a12920 1 cat >>confdefs.h <<\_ACEOF d12922 1 a12922 1 _ACEOF d12925 1 d12927 5 a12931 4 echo "$as_me:$LINENO: checking for getmntinfo_r in -lc_r" >&5 echo $ECHO_N "checking for getmntinfo_r in -lc_r... $ECHO_C" >&6 if test "${ac_cv_lib_c_r_getmntinfo_r+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d12933 1 a12933 1 ac_check_lib_save_LIBS=$LIBS d12935 3 a12937 8 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a12938 3 #ifdef __cplusplus extern "C" #endif d12940 18 a12957 36 builtin and then its argument prototype would still apply. */ char getmntinfo_r (); int main () { getmntinfo_r (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_c_r_getmntinfo_r=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_c_r_getmntinfo_r=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_getmntinfo_r" >&5 echo "${ECHO_T}$ac_cv_lib_c_r_getmntinfo_r" >&6 if test $ac_cv_lib_c_r_getmntinfo_r = yes; then LIBS="$LIBS -lc_r"; d12959 5 a12963 1 cat >>confdefs.h <<\_ACEOF d12965 1 a12965 1 _ACEOF d12968 1 d12970 1 a12970 2 cat >>confdefs.h <<\_ACEOF d12972 1 a12972 1 _ACEOF d12974 1 a12974 1 LIBOBJS="$LIBOBJS getmntent.$ac_objext" d12984 4 a12987 4 echo "$as_me:$LINENO: checking for lchown" >&5 echo $ECHO_N "checking for lchown... $ECHO_C" >&6 if test "${ac_cv_func_lchown+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d12989 3 a12991 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12993 2 a12994 8 which can conflict with char lchown (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12995 4 #ifdef __cplusplus extern "C" { #endif d12997 5 a13001 2 builtin and then its argument prototype would still apply. */ char lchown (); d13008 1 a13008 4 char (*f) () = lchown; #endif #ifdef __cplusplus } d13011 16 a13026 32 int main () { return f != lchown; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_lchown=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_lchown=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_lchown" >&5 echo "${ECHO_T}$ac_cv_func_lchown" >&6 if test $ac_cv_func_lchown = yes; then d13029 1 a13029 2 cat >>confdefs.h <<\_ACEOF d13031 1 a13031 1 _ACEOF d13034 2 a13035 1 __CHOWN_RHF="%{__chown} -Rf" d13037 2 a13038 2 echo "$as_me:$LINENO: checking whether chown() follows symlinks" >&5 echo $ECHO_N "checking whether chown() follows symlinks... $ECHO_C" >&6 d13045 2 a13046 1 fi; d13065 2 a13066 2 echo "$as_me:$LINENO: checking (cannot check by non-root user)" >&5 echo $ECHO_N "checking (cannot check by non-root user)... $ECHO_C" >&6 d13071 1 a13071 2 echo "$as_me:$LINENO: result: $result" >&5 echo "${ECHO_T}$result" >&6 d13073 1 a13073 2 cat >>confdefs.h <<\_ACEOF d13075 1 a13075 1 _ACEOF d13083 2 a13084 2 echo "$as_me:$LINENO: checking root's primary group" >&5 echo $ECHO_N "checking root's primary group... $ECHO_C" >&6 d13089 3 a13091 7 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13118 3 a13120 12 _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d13123 4 a13126 6 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ROOT_GROUP="root" d13128 1 a13128 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d13130 2 a13131 2 echo "$as_me:$LINENO: result: $ROOT_GROUP" >&5 echo "${ECHO_T}$ROOT_GROUP" >&6 d13136 1 a13136 1 # in /var and /var/local respectively. For everything else, d13143 1 a13143 1 *) d13145 1 a13145 1 esac d13164 1 a13164 2 cat >>confdefs.h <<\_ACEOF d13166 1 a13166 1 _ACEOF d13168 1 a13168 2 cat >>confdefs.h <<\_ACEOF d13170 1 a13170 1 _ACEOF d13175 1 a13175 2 cat >>confdefs.h <<\_ACEOF d13177 1 a13177 1 _ACEOF d13179 1 a13179 2 cat >>confdefs.h <<\_ACEOF d13181 1 a13181 1 _ACEOF d13183 1 a13183 1 LIBOBJS="$LIBOBJS myrealloc.$ac_objext" a13237 6 MARK64= case "${target_cpu}" in x86_64*|ppc64*|powerpc64*|sparc64*|s390x*) MARK64=64 ;; esac d13259 1 a13259 1 unknown|pc|ibm|redhat|pld|mandrake|conectiva|lvr) a13263 1 test -f /etc/lvr-release && RPMCANONVENDOR=lvr d13271 2 a13272 232 if test X"$prefix" = XNONE ; then usrprefix="$ac_default_prefix" else usrprefix=$prefix fi LOCALEDIR="`echo ${usrprefix}/share/locale`" cat >>confdefs.h <<_ACEOF #define LOCALEDIR "$LOCALEDIR" _ACEOF LIBDIR="`echo $libdir | sed 's-/lib$-/%{_lib}-'`" RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`" cat >>confdefs.h <<_ACEOF #define RPMCONFIGDIR "$RPMCONFIGDIR" _ACEOF SYSCONFIGDIR="`echo /etc/rpm`" cat >>confdefs.h <<_ACEOF #define SYSCONFIGDIR "$SYSCONFIGDIR" _ACEOF MACROFILES="${RPMCONFIGDIR}/macros:${RPMCONFIGDIR}/%{_target_platform}/macros:${SYSCONFIGDIR}/macros:${SYSCONFIGDIR}/macros.specspo:${SYSCONFIGDIR}/macros.db1:${SYSCONFIGDIR}/%{_target_platform}/macros:~/.rpmmacros" cat >>confdefs.h <<_ACEOF #define MACROFILES "$MACROFILES" _ACEOF LIBRPMRC_FILENAME="${RPMCONFIGDIR}/rpmrc" cat >>confdefs.h <<_ACEOF #define LIBRPMRC_FILENAME "$LIBRPMRC_FILENAME" _ACEOF VENDORRPMRC_FILENAME="${RPMCONFIGDIR}/${RPMCANONVENDOR}/rpmrc" cat >>confdefs.h <<_ACEOF #define VENDORRPMRC_FILENAME "$VENDORRPMRC_FILENAME" _ACEOF LIBRPMALIAS_FILENAME="${RPMCONFIGDIR}/rpmpopt-${VERSION}" cat >>confdefs.h <<_ACEOF #define LIBRPMALIAS_FILENAME "$LIBRPMALIAS_FILENAME" _ACEOF FINDREQUIRES="${RPMCONFIGDIR}/find-requires" cat >>confdefs.h <<_ACEOF #define FINDREQUIRES "$FINDREQUIRES" _ACEOF FINDPROVIDES="${RPMCONFIGDIR}/find-provides" cat >>confdefs.h <<_ACEOF #define FINDPROVIDES "$FINDPROVIDES" _ACEOF testdir="`pwd`/tests" subdirs="$subdirs popt beecrypt db3" ac_config_files="$ac_config_files Doxyfile Makefile rpmrc macros platform rpmpopt rpm.spec rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile scripts/Makefile scripts/brp-redhat tools/Makefile tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile misc/Makefile po/Makefile.in intl/Makefile doc/Makefile doc/manual/Makefile doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile python/Makefile" ac_config_commands="$ac_config_commands default" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@@srcdir@@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi # Support unset when possible. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then as_unset=unset else as_unset=false a13275 5 # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' d13277 4 a13280 24 # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false d13282 4 d13288 1 a13288 33 # Name of the executable. as_me=`$as_basename "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi d13290 4 a13294 16 as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done a13295 39 ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@@"} fi;; esac done done ;; esac d13297 4 a13300 30 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } a13302 6 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac d13304 4 a13307 5 if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi a13308 17 rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file a13309 5 if mkdir -p . 2>/dev/null; then as_mkdir_p=: else as_mkdir_p=false fi d13311 4 a13314 1 as_executable_p="test -f" a13315 2 # Sed expression to map a string onto a valid CPP name. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" a13316 2 # Sed expression to map a string onto a valid variable name. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" d13318 4 a13322 5 # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" d13324 4 a13327 2 # CDPATH. $as_unset CDPATH a13328 1 exec 6>&1 d13330 4 a13333 11 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF a13334 2 This file was extended by $as_me, which was generated by GNU Autoconf 2.57. Invocation command line was a13335 5 CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@@ d13337 1 a13337 4 _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF a13338 4 # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi d13340 2 a13341 2 if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS a13343 3 if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi a13344 3 if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi a13345 1 cat >>$CONFIG_STATUS <<\_ACEOF a13346 3 ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. a13347 1 Usage: $0 [OPTIONS] [FILE]... a13348 9 -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE a13349 2 Configuration files: $config_files a13350 2 Configuration headers: $config_headers d13352 1 a13352 2 Configuration commands: $config_commands a13353 2 Report bugs to ." _ACEOF d13355 30 a13384 25 cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.57, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ac_shift=: d13386 3 a13388 4 -*) ac_option=$1 ac_optarg=$2 ac_shift=shift d13390 12 a13401 5 *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac d13403 1 a13403 30 case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; d13405 3 a13407 6 # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; d13409 6 a13414 1 *) ac_config_targets="$ac_config_targets $1" ;; d13416 1 a13416 3 esac shift done d13418 1 a13418 1 ac_configure_extra_args= d13420 2 a13421 4 if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi d13423 8 a13430 10 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF d13432 1 a13432 1 # INIT-COMMANDS section. d13434 2 d13437 2 a13438 15 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # Capture the value of obsolete $ALL_LINGUAS because we need it to compute # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it # from automake. eval 'ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets d13440 10 a13449 37 case "$ac_config_target" in # Handling of arguments. "Doxyfile" ) CONFIG_FILES="$CONFIG_FILES Doxyfile" ;; "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "rpmrc" ) CONFIG_FILES="$CONFIG_FILES rpmrc" ;; "macros" ) CONFIG_FILES="$CONFIG_FILES macros" ;; "platform" ) CONFIG_FILES="$CONFIG_FILES platform" ;; "rpmpopt" ) CONFIG_FILES="$CONFIG_FILES rpmpopt" ;; "rpm.spec" ) CONFIG_FILES="$CONFIG_FILES rpm.spec" ;; "rpmio/Makefile" ) CONFIG_FILES="$CONFIG_FILES rpmio/Makefile" ;; "rpmdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES rpmdb/Makefile" ;; "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; "build/Makefile" ) CONFIG_FILES="$CONFIG_FILES build/Makefile" ;; "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; "scripts/brp-redhat" ) CONFIG_FILES="$CONFIG_FILES scripts/brp-redhat" ;; "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; "tests/rpmrc" ) CONFIG_FILES="$CONFIG_FILES tests/rpmrc" ;; "tests/macros" ) CONFIG_FILES="$CONFIG_FILES tests/macros" ;; "tests/hello-test/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/hello-test/Makefile" ;; "misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;; "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;; "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "doc/manual/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/manual/Makefile" ;; "doc/ja/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/ja/Makefile" ;; "doc/pl/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/pl/Makefile" ;; "doc/ru/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/ru/Makefile" ;; "doc/sk/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/sk/Makefile" ;; "python/Makefile" ) CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; d13453 13 a13465 9 # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi d13467 174 a13640 24 # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } a13641 211 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@@/@@@@/; s/@@,/@@@@/; s/,;t t\$/@@;t t/; /@@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@@@/,@@/; s/@@@@/@@,/; s/@@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@@SHELL@@,$SHELL,;t t s,@@PATH_SEPARATOR@@,$PATH_SEPARATOR,;t t s,@@PACKAGE_NAME@@,$PACKAGE_NAME,;t t s,@@PACKAGE_TARNAME@@,$PACKAGE_TARNAME,;t t s,@@PACKAGE_VERSION@@,$PACKAGE_VERSION,;t t s,@@PACKAGE_STRING@@,$PACKAGE_STRING,;t t s,@@PACKAGE_BUGREPORT@@,$PACKAGE_BUGREPORT,;t t s,@@exec_prefix@@,$exec_prefix,;t t s,@@prefix@@,$prefix,;t t s,@@program_transform_name@@,$program_transform_name,;t t s,@@bindir@@,$bindir,;t t s,@@sbindir@@,$sbindir,;t t s,@@libexecdir@@,$libexecdir,;t t s,@@datadir@@,$datadir,;t t s,@@sysconfdir@@,$sysconfdir,;t t s,@@sharedstatedir@@,$sharedstatedir,;t t s,@@localstatedir@@,$localstatedir,;t t s,@@libdir@@,$libdir,;t t s,@@includedir@@,$includedir,;t t s,@@oldincludedir@@,$oldincludedir,;t t s,@@infodir@@,$infodir,;t t s,@@mandir@@,$mandir,;t t s,@@build_alias@@,$build_alias,;t t s,@@host_alias@@,$host_alias,;t t s,@@target_alias@@,$target_alias,;t t s,@@DEFS@@,$DEFS,;t t s,@@ECHO_C@@,$ECHO_C,;t t s,@@ECHO_N@@,$ECHO_N,;t t s,@@ECHO_T@@,$ECHO_T,;t t s,@@LIBS@@,$LIBS,;t t s,@@build@@,$build,;t t s,@@build_cpu@@,$build_cpu,;t t s,@@build_vendor@@,$build_vendor,;t t s,@@build_os@@,$build_os,;t t s,@@host@@,$host,;t t s,@@host_cpu@@,$host_cpu,;t t s,@@host_vendor@@,$host_vendor,;t t s,@@host_os@@,$host_os,;t t s,@@target@@,$target,;t t s,@@target_cpu@@,$target_cpu,;t t s,@@target_vendor@@,$target_vendor,;t t s,@@target_os@@,$target_os,;t t s,@@INSTALL_PROGRAM@@,$INSTALL_PROGRAM,;t t s,@@INSTALL_SCRIPT@@,$INSTALL_SCRIPT,;t t s,@@INSTALL_DATA@@,$INSTALL_DATA,;t t s,@@PACKAGE@@,$PACKAGE,;t t s,@@VERSION@@,$VERSION,;t t s,@@ACLOCAL@@,$ACLOCAL,;t t s,@@AUTOCONF@@,$AUTOCONF,;t t s,@@AUTOMAKE@@,$AUTOMAKE,;t t s,@@AUTOHEADER@@,$AUTOHEADER,;t t s,@@MAKEINFO@@,$MAKEINFO,;t t s,@@AMTAR@@,$AMTAR,;t t s,@@install_sh@@,$install_sh,;t t s,@@STRIP@@,$STRIP,;t t s,@@ac_ct_STRIP@@,$ac_ct_STRIP,;t t s,@@INSTALL_STRIP_PROGRAM@@,$INSTALL_STRIP_PROGRAM,;t t s,@@AWK@@,$AWK,;t t s,@@SET_MAKE@@,$SET_MAKE,;t t s,@@CC@@,$CC,;t t s,@@CFLAGS@@,$CFLAGS,;t t s,@@LDFLAGS@@,$LDFLAGS,;t t s,@@CPPFLAGS@@,$CPPFLAGS,;t t s,@@ac_ct_CC@@,$ac_ct_CC,;t t s,@@EXEEXT@@,$EXEEXT,;t t s,@@OBJEXT@@,$OBJEXT,;t t s,@@DEPDIR@@,$DEPDIR,;t t s,@@am__include@@,$am__include,;t t s,@@am__quote@@,$am__quote,;t t s,@@AMDEP_TRUE@@,$AMDEP_TRUE,;t t s,@@AMDEP_FALSE@@,$AMDEP_FALSE,;t t s,@@AMDEPBACKSLASH@@,$AMDEPBACKSLASH,;t t s,@@CCDEPMODE@@,$CCDEPMODE,;t t s,@@CPP@@,$CPP,;t t s,@@EGREP@@,$EGREP,;t t s,@@CXX@@,$CXX,;t t s,@@CXXFLAGS@@,$CXXFLAGS,;t t s,@@ac_ct_CXX@@,$ac_ct_CXX,;t t s,@@CXXDEPMODE@@,$CXXDEPMODE,;t t s,@@AS@@,$AS,;t t s,@@RPMUSER@@,$RPMUSER,;t t s,@@RPMUID@@,$RPMUID,;t t s,@@RPMGROUP@@,$RPMGROUP,;t t s,@@RPMGID@@,$RPMGID,;t t s,@@CTAGS@@,$CTAGS,;t t s,@@CSCOPE@@,$CSCOPE,;t t s,@@LDFLAGS_STATIC@@,$LDFLAGS_STATIC,;t t s,@@FIXPERMS@@,$FIXPERMS,;t t s,@@MKDIR@@,$MKDIR,;t t s,@@MKDIR_P@@,$MKDIR_P,;t t s,@@U@@,$U,;t t s,@@ANSI2KNR@@,$ANSI2KNR,;t t s,@@LN_S@@,$LN_S,;t t s,@@ECHO@@,$ECHO,;t t s,@@RANLIB@@,$RANLIB,;t t s,@@ac_ct_RANLIB@@,$ac_ct_RANLIB,;t t s,@@LIBTOOL@@,$LIBTOOL,;t t s,@@AR@@,$AR,;t t s,@@ac_ct_AR@@,$ac_ct_AR,;t t s,@@BZIP2BIN@@,$BZIP2BIN,;t t s,@@__CAT@@,$__CAT,;t t s,@@__CHGRP@@,$__CHGRP,;t t s,@@__CHMOD@@,$__CHMOD,;t t s,@@__CHOWN@@,$__CHOWN,;t t s,@@__CP@@,$__CP,;t t s,@@__CPIO@@,$__CPIO,;t t s,@@__FILE@@,$__FILE,;t t s,@@__GPG@@,$__GPG,;t t s,@@__GREP@@,$__GREP,;t t s,@@GZIPBIN@@,$GZIPBIN,;t t s,@@UNZIPBIN@@,$UNZIPBIN,;t t s,@@__ID@@,$__ID,;t t s,@@__ID_U@@,$__ID_U,;t t s,@@__INSTALL@@,$__INSTALL,;t t s,@@__MAKE@@,$__MAKE,;t t s,@@__MKDIR@@,$__MKDIR,;t t s,@@__MV@@,$__MV,;t t s,@@__PATCH@@,$__PATCH,;t t s,@@__PERL@@,$__PERL,;t t s,@@PGPBIN@@,$PGPBIN,;t t s,@@__PYTHON@@,$__PYTHON,;t t s,@@__RM@@,$__RM,;t t s,@@__RSH@@,$__RSH,;t t s,@@__SED@@,$__SED,;t t s,@@__SSH@@,$__SSH,;t t s,@@__TAR@@,$__TAR,;t t s,@@__LD@@,$__LD,;t t s,@@__NM@@,$__NM,;t t s,@@__OBJCOPY@@,$__OBJCOPY,;t t s,@@__OBJDUMP@@,$__OBJDUMP,;t t s,@@__STRIP@@,$__STRIP,;t t s,@@WITH_ZLIB_SUBDIR@@,$WITH_ZLIB_SUBDIR,;t t s,@@WITH_ZLIB_INCLUDE@@,$WITH_ZLIB_INCLUDE,;t t s,@@WITH_ZLIB_LIB@@,$WITH_ZLIB_LIB,;t t s,@@WITH_DB_SUBDIR@@,$WITH_DB_SUBDIR,;t t s,@@WITH_INTERNAL_DB@@,$WITH_INTERNAL_DB,;t t s,@@DBLIBSRCS@@,$DBLIBSRCS,;t t s,@@DBLIBOBJS@@,$DBLIBOBJS,;t t s,@@libdb3@@,$libdb3,;t t s,@@libdb3a@@,$libdb3a,;t t s,@@WITH_BZIP2@@,$WITH_BZIP2,;t t s,@@MKINSTALLDIRS@@,$MKINSTALLDIRS,;t t s,@@MSGFMT@@,$MSGFMT,;t t s,@@GMSGFMT@@,$GMSGFMT,;t t s,@@XGETTEXT@@,$XGETTEXT,;t t s,@@MSGMERGE@@,$MSGMERGE,;t t s,@@ALLOCA@@,$ALLOCA,;t t s,@@GLIBC21@@,$GLIBC21,;t t s,@@LIBICONV@@,$LIBICONV,;t t s,@@LTLIBICONV@@,$LTLIBICONV,;t t s,@@INTLBISON@@,$INTLBISON,;t t s,@@USE_NLS@@,$USE_NLS,;t t s,@@BUILD_INCLUDED_LIBINTL@@,$BUILD_INCLUDED_LIBINTL,;t t s,@@USE_INCLUDED_LIBINTL@@,$USE_INCLUDED_LIBINTL,;t t s,@@CATOBJEXT@@,$CATOBJEXT,;t t s,@@INTLOBJS@@,$INTLOBJS,;t t s,@@DATADIRNAME@@,$DATADIRNAME,;t t s,@@INSTOBJEXT@@,$INSTOBJEXT,;t t s,@@GENCAT@@,$GENCAT,;t t s,@@INTL_LIBTOOL_SUFFIX_PREFIX@@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t s,@@INTLLIBS@@,$INTLLIBS,;t t s,@@LIBINTL@@,$LIBINTL,;t t s,@@LTLIBINTL@@,$LTLIBINTL,;t t s,@@POSUB@@,$POSUB,;t t s,@@LIBOBJS@@,$LIBOBJS,;t t s,@@WITH_PYTHON_SUBDIR@@,$WITH_PYTHON_SUBDIR,;t t s,@@WITH_PYTHON_SUBPACKAGE@@,$WITH_PYTHON_SUBPACKAGE,;t t s,@@WITH_PYTHON_VERSION@@,$WITH_PYTHON_VERSION,;t t s,@@__DOXYGEN@@,$__DOXYGEN,;t t s,@@WITH_APIDOCS_TARGET@@,$WITH_APIDOCS_TARGET,;t t s,@@WITH_APIDOCS@@,$WITH_APIDOCS,;t t s,@@__CHOWN_RHF@@,$__CHOWN_RHF,;t t s,@@__CHGRP_RHF@@,$__CHGRP_RHF,;t t s,@@ROOT_GROUP@@,$ROOT_GROUP,;t t s,@@varprefix@@,$varprefix,;t t s,@@tmpdir@@,$tmpdir,;t t s,@@MARK64@@,$MARK64,;t t s,@@RPMCANONARCH@@,$RPMCANONARCH,;t t s,@@RPMCANONVENDOR@@,$RPMCANONVENDOR,;t t s,@@RPMCANONOS@@,$RPMCANONOS,;t t s,@@LOCALEDIR@@,$LOCALEDIR,;t t s,@@LIBDIR@@,$LIBDIR,;t t s,@@RPMCONFIGDIR@@,$RPMCONFIGDIR,;t t s,@@SYSCONFIGDIR@@,$SYSCONFIGDIR,;t t s,@@MACROFILES@@,$MACROFILES,;t t s,@@LIBRPMRC_FILENAME@@,$LIBRPMRC_FILENAME,;t t s,@@VENDORRPMRC_FILENAME@@,$VENDORRPMRC_FILENAME,;t t s,@@LIBRPMALIAS_FILENAME@@,$LIBRPMALIAS_FILENAME,;t t s,@@FINDREQUIRES@@,$FINDREQUIRES,;t t s,@@FINDPROVIDES@@,$FINDPROVIDES,;t t s,@@testdir@@,$testdir,;t t s,@@INCPATH@@,$INCPATH,;t t s,@@LIBMISC@@,$LIBMISC,;t t s,@@RPM@@,$RPM,;t t s,@@OBJDUMP@@,$OBJDUMP,;t t s,@@subdirs@@,$subdirs,;t t s,@@LTLIBOBJS@@,$LTLIBOBJS,;t t d13643 1 d13645 1 a13645 1 _ACEOF d13647 26 a13672 36 cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat d13674 5 a13678 1 fi # test -n "$CONFIG_FILES" d13680 13 a13692 3 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue d13694 25 a13718 69 case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @@srcdir@@, @@top_srcdir@@, and @@INSTALL@@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; d13720 2 a13721 14 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; d13724 23 a13746 77 if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; *) # Relative if test -f "$f"; then # Build tree echo $f elif test -f "$srcdir/$f"; then # Source tree echo $srcdir/$f else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b s,@@configure_input@@,$configure_input,;t t s,@@srcdir@@,$ac_srcdir,;t t s,@@abs_srcdir@@,$ac_abs_srcdir,;t t s,@@top_srcdir@@,$ac_top_srcdir,;t t s,@@abs_top_srcdir@@,$ac_abs_top_srcdir,;t t s,@@builddir@@,$ac_builddir,;t t s,@@abs_builddir@@,$ac_abs_builddir,;t t s,@@top_builddir@@,$ac_top_builddir,;t t s,@@abs_top_builddir@@,$ac_abs_top_builddir,;t t s,@@INSTALL@@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # d13752 7 a13758 7 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' d13760 6 a13765 1 ac_uD=',;t' d13767 8 a13774 1 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue d13776 4 a13779 8 case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; d13782 5 a13786 2 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} d13788 16 a13803 62 # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; *) # Relative if test -f "$f"; then # Build tree echo $f elif test -f "$srcdir/$f"; then # Source tree echo $srcdir/$f else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed d13808 7 a13814 10 cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, _ACEOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS d13816 1 a13816 1 while grep . conftest.defines >/dev/null d13818 6 a13823 8 # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS d13825 29 a13853 36 sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs d13855 2 a13856 52 cat >>$CONFIG_STATUS <<\_ACEOF # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } a13857 16 rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi # Run the commands associated with the file. case $ac_file in config.h ) # update the timestamp echo 'timestamp for config.h' >"./stamp-h1" ;; esac done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF a13858 139 # # CONFIG_COMMANDS section. # for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_dir=`(dirname "$ac_dest") 2>/dev/null || $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_dest" : 'X\(//\)[^/]' \| \ X"$ac_dest" : 'X\(//\)$' \| \ X"$ac_dest" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_dest" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`(dirname "$mf") 2>/dev/null || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` else continue fi grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue # Extract the definition of DEP_FILES from the Makefile without # running `make'. DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` test -z "$DEPDIR" && continue # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n -e '/^U = / s///p' < "$mf"` test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" # We invoke sed twice because it is the simplest approach to # changing $(DEPDIR) to its actual value in the expansion. for file in `sed -n -e ' /^DEP_FILES = .*\\\\$/ { s/^DEP_FILES = // :loop s/\\\\$// p n /\\\\$/ b loop p } /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`(dirname "$file") 2>/dev/null || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } d13860 7 a13866 24 # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; default-1 ) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; d13868 9 a13876 16 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' fi d13878 3 a13880 2 .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; d13882 6 a13887 35 POFILES= GMOFILES= UPDATEPOFILES= DUMMYPOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done d13889 4 a13892 21 CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@@POFILES@@|$POFILES|g" -e "s|@@GMOFILES@@|$GMOFILES|g" -e "s|@@UPDATEPOFILES@@|$UPDATEPOFILES|g" -e "s|@@DUMMYPOFILES@@|$DUMMYPOFILES|g" -e "s|@@CATALOGS@@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done ;; default ) echo timestamp > popt/stamp-h.in d13895 1 d13897 2 a13898 9 ;; esac done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF d13900 2 a13901 1 ac_clean_files=$ac_clean_files_save a13902 25 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi # # CONFIG_SUBDIRS section. # d13913 1 a13913 1 case $ac_arg in d13918 1 a13918 4 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ | --c=*) ;; --config-cache | -C) a13923 4 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ;; d13928 1 a13928 6 # Always prepend --prefix to ensure using the same prefix # in subdir configurations. ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" ac_popdir=`pwd` for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue d13932 15 a13946 1 test -d $srcdir/$ac_dir || continue d13948 2 a13949 58 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 echo "$as_me: configuring in $ac_dir" >&6;} { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` d13951 2 d13954 8 a13961 1 cd $ac_dir d13964 3 a13966 5 if test -f $ac_srcdir/configure.gnu; then ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" elif test -f $ac_srcdir/configure; then ac_sub_configure="$SHELL '$ac_srcdir/configure'" elif test -f $ac_srcdir/configure.in; then d13969 1 a13969 2 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} d13975 1 d13977 2 a13978 2 case $cache_file in [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; d13980 1 a13980 1 ac_sub_cache_file=$ac_top_builddir$cache_file ;; d13982 4 d13987 1 a13987 2 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} d13989 5 a13993 5 eval $ac_sub_configure $ac_sub_configure_args \ --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} { (exit 1); exit 1; }; } @ 1.1.1.20 log @Import: RPM 4.1 @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.53. a8 167 # Find the correct PATH separator. Usually this is `:', but # DJGPP uses `;' like DOS. if test "X${PATH_SEPARATOR+set}" != Xset; then UNAME=${UNAME-`uname 2>/dev/null`} case X$UNAME in *-DOS) lt_cv_sys_path_separator=';' ;; *) lt_cv_sys_path_separator=':' ;; esac PATH_SEPARATOR=$lt_cv_sys_path_separator fi # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null && echo_test_string="`eval $cmd`" && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi d17 3 a23 1 # NLS nuisances. d31 32 a62 24 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && { $as_unset LANG || test "${LANG+set}" != set; } || { LANG=C; export LANG; } (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || { LC_ALL=C; export LC_ALL; } (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || { LC_TIME=C; export LC_TIME; } (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || { LC_CTYPE=C; export LC_CTYPE; } (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || { LANGUAGE=C; export LANGUAGE; } (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || { LC_COLLATE=C; export LC_COLLATE; } (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || { LC_NUMERIC=C; export LC_NUMERIC; } (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || { LC_MESSAGES=C; export LC_MESSAGES; } d66 1 a66 1 as_me=`(basename "$0") 2>/dev/null || d77 1 d88 4 a91 4 echo "#! /bin/sh" >conftest.sh echo "exit 0" >>conftest.sh chmod +x conftest.sh if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then d96 1 a96 1 rm -f conftest.sh d144 2 d218 6 d240 1 a240 1 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } d243 10 a252 4 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` a253 1 exec 6>&1 d255 1 a255 8 # # Initializations. # ac_default_prefix=/usr/local cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= d258 30 a287 4 # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} d289 142 a430 6 # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= d470 3 a472 1 ac_subdirs_all="$ac_subdirs_all popt beecrypt zlib libelf db3" d896 3 a1044 1 --with-efence build with efence debugging support d1096 1 a1096 1 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` d1136 1 a1136 1 generated by GNU Autoconf 2.53. Invocation command line was d1188 1 d1190 1 d1192 2 d1195 2 a1196 1 for ac_arg d1198 35 a1232 15 case $ac_arg in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n ) continue ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" ac_sep=" " ;; esac # Get rid of the leading space. d1234 2 d1246 1 d1269 29 d1305 1 a1305 1 sed "/^$/d" confdefs.h d1462 1 d1762 2 a1763 2 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 d1770 1 a1770 1 @@echo 'ac_maketemp="${MAKE}"' d1801 1 a1801 1 VERSION=4.1 d1929 1 a1929 2 ac_config_headers="$ac_config_headers config.h" a1933 1 ALL_LINGUAS="cs da de fi fr gl is ja ko no pl pt pt_BR ro ru sk sl sr sv tr" d1935 1 a1935 20 # echo " # **************************************************************************** # * * # * *** WARNING WARNING WARNING *** * # * * # * This is source code from the development branch of rpm-4.1. * # * * # * If you want the "production" rpm-4.0.4 code, then you should either use * # * an rpm-4.0.4 src.rpm, or, if using a CVS checkout, do the following: * # * * # * cvs -d :pserver:anonymous@@cvs.rpm.org:/cvs/devel login * # * (no password, just carriage return) * # * cvs -d :pserver:anonymous@@cvs.rpm.org:/cvs/devel get rpm * # * cd rpm * # * cvs up -r rpm-4_0 * # * * # **************************************************************************** # # " # sleep 10 d2141 1 a2141 3 set dummy "$as_dir/$ac_word" ${1+"$@@"} shift ac_cv_prog_CC="$@@" d2246 4 a2249 2 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} d2274 5 a2278 1 #include "confdefs.h" a2279 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d2289 1 a2289 1 ac_clean_files="$ac_clean_files a.out a.exe" d2308 4 a2311 3 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; ls a.out conftest 2>/dev/null; ls a.* conftest.* 2>/dev/null`; do d2313 18 a2330 9 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; a.out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool --akim. export ac_cv_exeext break;; * ) break;; d2335 6 a2340 3 cat conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 echo "$as_me: error: C compiler cannot create executables" >&2;} d2367 2 a2368 1 If you meant to cross compile, use \`--host'." >&5 d2370 2 a2371 1 If you meant to cross compile, use \`--host'." >&2;} d2379 1 a2379 1 rm -f a.out a.exe conftest$ac_cv_exeext d2399 2 a2400 1 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do d2402 1 a2402 1 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; d2410 4 a2413 2 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} d2431 5 a2435 1 #include "confdefs.h" a2436 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d2453 1 a2453 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; d2460 6 a2465 3 cat conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} d2482 5 a2486 1 #include "confdefs.h" a2487 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d2514 2 a2515 1 cat conftest.$ac_ext >&5 d2535 5 a2539 1 #include "confdefs.h" a2540 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d2564 2 a2565 1 cat conftest.$ac_ext >&5 d2587 7 a2593 4 # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. d2595 2 a2596 3 #ifndef __cplusplus choke me #endif d2598 126 a2723 34 rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ ''\ '#include ' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" #include $ac_declaration #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () d2745 2 a2746 1 cat conftest.$ac_ext >&5 d2752 5 a2756 1 #include "confdefs.h" a2757 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d2781 2 a2782 1 cat conftest.$ac_ext >&5 d2795 2 a2796 1 cat conftest.$ac_ext >&5 d2815 1 a2815 1 ac_config_commands="$ac_config_commands depfiles" d2971 2 d2977 10 a2986 2 #include "confdefs.h" #include d2992 1 a2992 1 egrep -v '^ *\+' conftest.er1 >conftest.err d3009 2 a3010 1 cat conftest.$ac_ext >&5 d3020 5 a3024 1 #include "confdefs.h" d3030 1 a3030 1 egrep -v '^ *\+' conftest.er1 >conftest.err d3048 2 a3049 1 cat conftest.$ac_ext >&5 d3078 2 d3084 10 a3093 2 #include "confdefs.h" #include d3099 1 a3099 1 egrep -v '^ *\+' conftest.er1 >conftest.err d3116 2 a3117 1 cat conftest.$ac_ext >&5 d3127 5 a3131 1 #include "confdefs.h" d3137 1 a3137 1 egrep -v '^ *\+' conftest.er1 >conftest.err d3155 2 a3156 1 cat conftest.$ac_ext >&5 d3169 4 a3172 2 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} d3183 15 d3203 5 a3207 1 #include "confdefs.h" d3214 1 a3214 1 egrep "yes" >/dev/null 2>&1; then d3235 5 a3239 1 #include "confdefs.h" d3245 7 d3253 9 a3261 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 a3262 3 egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 d3264 1 a3264 10 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d3268 3 a3270 2 cat conftest.$ac_ext >&5 ac_cv_header_stdc=no d3272 1 a3272 1 rm -f conftest.err conftest.$ac_ext d3278 5 a3282 1 #include "confdefs.h" d3287 1 a3287 1 egrep "memchr" >/dev/null 2>&1; then d3300 5 a3304 1 #include "confdefs.h" d3309 1 a3309 1 egrep "free" >/dev/null 2>&1; then d3325 5 a3329 1 #include "confdefs.h" d3335 2 a3336 1 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ d3369 2 a3370 1 cat conftest.$ac_ext >&5 d3374 1 a3374 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d3409 5 a3413 1 #include "confdefs.h" d3433 2 a3434 1 cat conftest.$ac_ext >&5 d3465 5 a3469 1 #include "confdefs.h" d3488 2 a3489 1 cat conftest.$ac_ext >&5 d3501 5 a3505 1 #include "confdefs.h" d3511 1 a3511 1 egrep -v '^ *\+' conftest.er1 >conftest.err d3528 2 a3529 1 cat conftest.$ac_ext >&5 d3542 10 a3551 1 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};; d3558 10 a3567 1 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};; d3725 5 a3729 1 #include "confdefs.h" a3730 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d3757 2 a3758 1 cat conftest.$ac_ext >&5 d3778 5 a3782 1 #include "confdefs.h" a3783 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d3807 2 a3808 1 cat conftest.$ac_ext >&5 d3841 5 a3845 1 #include "confdefs.h" a3847 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d3871 2 a3872 1 cat conftest.$ac_ext >&5 d3878 5 a3882 1 #include "confdefs.h" a3883 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d3907 2 a3908 1 cat conftest.$ac_ext >&5 d4024 2 d4030 10 a4039 2 #include "confdefs.h" #include d4045 1 a4045 1 egrep -v '^ *\+' conftest.er1 >conftest.err d4062 2 a4063 1 cat conftest.$ac_ext >&5 d4073 5 a4077 1 #include "confdefs.h" d4083 1 a4083 1 egrep -v '^ *\+' conftest.er1 >conftest.err d4101 2 a4102 1 cat conftest.$ac_ext >&5 d4131 2 d4137 10 a4146 2 #include "confdefs.h" #include d4152 1 a4152 1 egrep -v '^ *\+' conftest.er1 >conftest.err d4169 2 a4170 1 cat conftest.$ac_ext >&5 d4180 5 a4184 1 #include "confdefs.h" d4190 1 a4190 1 egrep -v '^ *\+' conftest.er1 >conftest.err d4208 2 a4209 1 cat conftest.$ac_ext >&5 d4222 4 a4225 2 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} d4244 5 a4248 1 #include "confdefs.h" d4253 1 a4253 1 egrep "$ac_pattern" >/dev/null 2>&1; then d4264 5 a4268 1 #include "confdefs.h" d4273 1 a4273 1 egrep "$ac_pattern" >/dev/null 2>&1; then d4298 5 a4302 1 #include "confdefs.h" d4330 2 a4331 1 cat conftest.$ac_ext >&5 d4335 1 a4335 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d4600 5 a4604 1 #include "confdefs.h" a4612 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d4636 2 a4637 1 cat conftest.$ac_ext >&5 d4674 5 a4678 1 #include "confdefs.h" a4707 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d4733 2 a4734 1 cat conftest.$ac_ext >&5 d4780 5 a4784 1 #include "confdefs.h" d4790 7 d4798 9 a4806 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 a4807 3 egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 d4809 1 a4809 10 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d4813 3 a4815 2 cat conftest.$ac_ext >&5 ac_cv_header_stdc=no d4817 1 a4817 1 rm -f conftest.err conftest.$ac_ext d4823 5 a4827 1 #include "confdefs.h" d4832 1 a4832 1 egrep "memchr" >/dev/null 2>&1; then d4845 5 a4849 1 #include "confdefs.h" d4854 1 a4854 1 egrep "free" >/dev/null 2>&1; then d4870 5 a4874 1 #include "confdefs.h" d4880 2 a4881 1 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ d4914 2 a4915 1 cat conftest.$ac_ext >&5 d4919 1 a4919 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d4951 5 a4955 1 #include "confdefs.h" d4974 2 a4975 1 cat conftest.$ac_ext >&5 d4987 5 a4991 1 #include "confdefs.h" d4997 1 a4997 1 egrep -v '^ *\+' conftest.er1 >conftest.err d5014 2 a5015 1 cat conftest.$ac_ext >&5 d5028 10 a5037 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d5044 10 a5053 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d5128 2 a5129 2 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 d5136 1 a5136 1 @@echo 'ac_maketemp="${MAKE}"' d5386 87 a5472 2 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 d5549 1 a5549 1 irix5* | irix6*) d5551 1 a5551 1 irix5*) d5573 1 a5573 1 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* ) d5644 3 d5700 1 a5700 1 irix*) d5703 3 d5814 1 a5814 1 (exit $ac_status); } && test -s conftest; then d5879 5 a5883 1 #include "confdefs.h" d5902 2 a5903 1 cat conftest.$ac_ext >&5 d5915 5 a5919 1 #include "confdefs.h" d5925 1 a5925 1 egrep -v '^ *\+' conftest.er1 >conftest.err d5942 2 a5943 1 cat conftest.$ac_ext >&5 d5956 10 a5965 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d5972 10 a5981 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d6007 1 d6323 1 a6323 1 echo '#line 5843 "configure"' > conftest.$ac_ext d6363 5 a6367 1 #include "confdefs.h" a6368 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d6392 2 a6393 1 cat conftest.$ac_ext >&5 d6565 1 a6565 1 beos* | irix5* | irix6* | osf3* | osf4* | osf5*) d6608 1 a6608 1 irix5* | irix6*) d6652 1 a6652 5 if test "x$host_vendor" = xsni; then lt_cv_prog_cc_wl='-LD' else lt_cv_prog_cc_wl='-Wl,' fi d6692 5 a6696 1 #include "confdefs.h" a6697 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d6736 2 a6737 1 cat conftest.$ac_ext >&5 d6780 5 a6784 1 #include "confdefs.h" a6785 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d6809 2 a6810 1 cat conftest.$ac_ext >&5 d6852 1 a6852 1 if { (eval echo configure:6379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then d6894 5 a6898 1 #include "confdefs.h" a6899 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d6930 2 a6931 1 cat conftest.$ac_ext >&5 d6979 5 a6983 1 #include "confdefs.h" a6984 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d7015 2 a7016 1 cat conftest.$ac_ext >&5 d7188 1 a7188 1 archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then d7197 1 d7310 2 a7311 1 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then d7314 2 a7315 1 fi d7429 3 a7431 2 # yet detect zsh echo's removal of \ escapes. archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' d7483 1 a7483 1 irix5* | irix6*) d7486 1 d7489 1 a7490 1 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' d7518 1 a7518 1 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' d7528 1 a7528 1 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' d7640 17 a7656 7 if test "x$host_vendor" = xsno; then archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? else archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie fi d7804 3 d7845 1 d7893 1 a7893 1 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` d7976 5 a7980 2 irix5* | irix6*) version_type=irix d7986 1 a7986 1 irix5*) d8031 24 d8114 2 a8115 2 soname_spec='${libname}${release}.so' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' d8119 1 d8162 6 d8290 5 a8294 1 #include "confdefs.h" d8296 8 a8303 2 which can conflict with char shl_load (); below. */ #include d8307 1 a8311 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d8318 4 a8321 1 f = shl_load; d8324 4 d8347 2 a8348 1 cat conftest.$ac_ext >&5 d8367 5 a8371 1 #include "confdefs.h" a8379 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d8403 2 a8404 1 cat conftest.$ac_ext >&5 d8422 5 a8426 1 #include "confdefs.h" d8428 8 a8435 2 which can conflict with char dlopen (); below. */ #include d8439 1 a8443 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d8450 4 a8453 1 f = dlopen; d8456 4 d8479 2 a8480 1 cat conftest.$ac_ext >&5 d8499 5 a8503 1 #include "confdefs.h" a8511 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d8535 2 a8536 1 cat conftest.$ac_ext >&5 d8556 5 a8560 1 #include "confdefs.h" a8568 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d8592 2 a8593 1 cat conftest.$ac_ext >&5 d8613 5 a8617 1 #include "confdefs.h" a8625 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d8649 2 a8650 1 cat conftest.$ac_ext >&5 d8708 1 a8708 1 #line 8172 "configure" d8806 1 a8806 1 #line 8270 "configure" d8989 1 a8989 1 for var in echo old_CC old_CFLAGS \ d9051 3 d9055 1 a9055 1 Xsed="sed -e s/^X//" d10814 5 a10818 352 # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___OBJDUMP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__OBJDUMP in [\\/]* | ?:[\\/]*) ac_cv_path___OBJDUMP="$__OBJDUMP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___OBJDUMP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___OBJDUMP" && ac_cv_path___OBJDUMP="/usr/bin/objdump" ;; esac fi __OBJDUMP=$ac_cv_path___OBJDUMP if test -n "$__OBJDUMP"; then echo "$as_me:$LINENO: result: $__OBJDUMP" >&5 echo "${ECHO_T}$__OBJDUMP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path___STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $__STRIP in [\\/]* | ?:[\\/]*) ac_cv_path___STRIP="$__STRIP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $MYPATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path___STRIP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path___STRIP" && ac_cv_path___STRIP="/usr/bin/strip" ;; esac fi __STRIP=$ac_cv_path___STRIP if test -n "$__STRIP"; then echo "$as_me:$LINENO: result: $__STRIP" >&5 echo "${ECHO_T}$__STRIP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi addlib() { l=$1 shift case "$target" in *-*-solaris*) LIBS="$LIBS -L$l -R$l $*";; *) LIBS="$LIBS -L$l $*";; esac } WITH_ZLIB_SUBDIR= WITH_ZLIB_INCLUDE= WITH_ZLIB_LIB= if test -d zlib ; then WITH_ZLIB_SUBDIR=zlib addlib \${top_builddir}/zlib WITH_ZLIB_INCLUDE="-I\${top_srcdir}/${WITH_ZLIB_SUBDIR}" INCPATH="$INCPATH -I\${top_srcdir}/${WITH_ZLIB_SUBDIR}" WITH_ZLIB_LIB="\${top_builddir}/${WITH_ZLIB_SUBDIR}/libz.la" cat >>confdefs.h <<\_ACEOF #define HAVE_GZSEEK 1 _ACEOF fi localdone= dirs=$prefix if test "$cross_compiling" != "yes"; then dirs="$dirs /usr/local" fi for dir in $dirs do case $dir in NONE|/usr) continue;; /usr/local) if test X$localdone != X ; then continue; fi localdone="$dir" ;; esac echo "$as_me:$LINENO: checking for $dir/lib in LIBS" >&5 echo $ECHO_N "checking for $dir/lib in LIBS... $ECHO_C" >&6 if test -d $dir/lib 2> /dev/null ; then addlib $dir/lib echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi echo "$as_me:$LINENO: checking for $dir/include in INCPATH" >&5 echo $ECHO_N "checking for $dir/include in INCPATH... $ECHO_C" >&6 if test -d $dir/include 2>/dev/null ; then if "$dir" != "/usr/local" ; then INCPATH="$INCPATH -I$dir/include" fi echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi done echo "$as_me:$LINENO: checking for /usr/ucblib in LIBS" >&5 echo $ECHO_N "checking for /usr/ucblib in LIBS... $ECHO_C" >&6 if test -d /usr/ucblib ; then if test "$build" = "mips-sni-sysv4" ; then addlib /usr/ccs/lib -lc fi addlib /usr/ucblib echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi WITH_LIBELF_SUBDIR= WITH_LIBELF_INCLUDE= WITH_LIBELF_LIB= WITH_LIBELF_ARCHIVE= if test "${ac_cv_header_libelf_gelf_h+set}" = set; then echo "$as_me:$LINENO: checking for libelf/gelf.h" >&5 echo $ECHO_N "checking for libelf/gelf.h... $ECHO_C" >&6 if test "${ac_cv_header_libelf_gelf_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_libelf_gelf_h" >&5 echo "${ECHO_T}$ac_cv_header_libelf_gelf_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking libelf/gelf.h usability" >&5 echo $ECHO_N "checking libelf/gelf.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking libelf/gelf.h presence" >&5 echo $ECHO_N "checking libelf/gelf.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: libelf/gelf.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: libelf/gelf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: libelf/gelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libelf/gelf.h: proceeding with the preprocessor's result" >&2;};; no:yes ) { echo "$as_me:$LINENO: WARNING: libelf/gelf.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: libelf/gelf.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: libelf/gelf.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: libelf/gelf.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: libelf/gelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libelf/gelf.h: proceeding with the preprocessor's result" >&2;};; esac echo "$as_me:$LINENO: checking for libelf/gelf.h" >&5 echo $ECHO_N "checking for libelf/gelf.h... $ECHO_C" >&6 if test "${ac_cv_header_libelf_gelf_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_libelf_gelf_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_libelf_gelf_h" >&5 echo "${ECHO_T}$ac_cv_header_libelf_gelf_h" >&6 fi if test $ac_cv_header_libelf_gelf_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBELF_GELF_H 1 _ACEOF WITH_LIBELF_INCLUDE="-I/usr/include/libelf" echo "$as_me:$LINENO: checking for gelf_getdyn" >&5 echo $ECHO_N "checking for gelf_getdyn... $ECHO_C" >&6 if test "${ac_cv_func_gelf_getdyn+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gelf_getdyn (); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gelf_getdyn (); char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif 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_gelf_getdyn) || defined (__stub___gelf_getdyn) choke me #else f = gelf_getdyn; #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_gelf_getdyn=yes else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_func_gelf_getdyn=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_gelf_getdyn" >&5 echo "${ECHO_T}$ac_cv_func_gelf_getdyn" >&6 if test $ac_cv_func_gelf_getdyn = yes; then : else echo "$as_me:$LINENO: checking for gelf_getdyn in -lelf" >&5 echo $ECHO_N "checking for gelf_getdyn in -lelf... $ECHO_C" >&6 if test "${ac_cv_lib_elf_gelf_getdyn+set}" = set; then d10821 24 a10844 5 ac_check_lib_save_LIBS=$LIBS LIBS="-lelf $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" d10846 3 a10848 34 /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gelf_getdyn (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { gelf_getdyn (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_elf_gelf_getdyn=yes d10850 2 a10851 6 echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_lib_elf_gelf_getdyn=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS a10852 6 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_gelf_getdyn" >&5 echo "${ECHO_T}$ac_cv_lib_elf_gelf_getdyn" >&6 if test $ac_cv_lib_elf_gelf_getdyn = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBELF 1 _ACEOF d10854 25 a10878 1 LIBS="-lelf $LIBS" d10880 3 d10884 1 d10886 6 a10891 1 a10893 1 WITH_LIBELF_LIB="-lelf" d10895 8 a10902 1 else d10904 11 a10914 1 if test -d libelf ; then a10915 3 cat >>confdefs.h <<\_ACEOF #define HAVE_LIBELF_GELF_H 1 _ACEOF a10917 3 cat >>confdefs.h <<\_ACEOF #define HAVE_LIBELF 1 _ACEOF d10919 1 a10919 5 WITH_LIBELF_SUBDIR=libelf WITH_LIBELF_INCLUDE="-I\${top_srcdir}/${WITH_LIBELF_SUBDIR}/lib" WITH_LIBELF_LIB="\${top_builddir}/${WITH_LIBELF_SUBDIR}/lib/libelf.la" WITH_LIBELF_ARCHIVE="\${top_builddir}/${WITH_LIBELF_SUBDIR}/lib/.libs/libelf.a" fi d10921 3 d10925 20 d10946 13 d10960 6 d10967 1 d10969 6 d10985 5 a10989 1 #include "confdefs.h" d10991 8 a10998 2 which can conflict with char setreuid (); below. */ #include d11002 1 a11006 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d11013 4 a11016 1 f = setreuid; d11019 4 d11042 2 a11043 1 cat conftest.$ac_ext >&5 d11063 5 a11067 1 #include "confdefs.h" a11075 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d11099 2 a11100 1 cat conftest.$ac_ext >&5 d11123 5 a11127 1 #include "confdefs.h" d11129 8 a11136 2 which can conflict with char rand (); below. */ #include d11140 1 a11144 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d11151 4 a11154 1 f = rand; d11157 4 d11180 2 a11181 1 cat conftest.$ac_ext >&5 d11202 5 a11206 1 #include "confdefs.h" a11214 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d11238 2 a11239 1 cat conftest.$ac_ext >&5 d11267 5 a11271 1 #include "confdefs.h" d11273 8 a11280 2 which can conflict with char getdomainname (); below. */ #include d11284 1 a11288 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d11295 4 a11298 1 f = getdomainname; d11301 4 d11324 2 a11325 1 cat conftest.$ac_ext >&5 d11346 5 a11350 1 #include "confdefs.h" a11358 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d11382 2 a11383 1 cat conftest.$ac_ext >&5 d11410 5 a11414 1 #include "confdefs.h" d11416 8 a11423 2 which can conflict with char socket (); below. */ #include d11427 1 a11431 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d11438 4 a11441 1 f = socket; d11444 4 d11467 2 a11468 1 cat conftest.$ac_ext >&5 d11489 5 a11493 1 #include "confdefs.h" a11501 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d11525 2 a11526 1 cat conftest.$ac_ext >&5 d11568 5 a11572 1 #include "confdefs.h" d11591 2 a11592 1 cat conftest.$ac_ext >&5 d11604 5 a11608 1 #include "confdefs.h" d11614 1 a11614 1 egrep -v '^ *\+' conftest.er1 >conftest.err d11631 2 a11632 1 cat conftest.$ac_ext >&5 d11645 10 a11654 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d11661 10 a11670 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d11703 5 a11707 1 #include "confdefs.h" a11715 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d11739 2 a11740 1 cat conftest.$ac_ext >&5 d11767 5 a11771 1 #include "confdefs.h" a11779 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d11803 2 a11804 1 cat conftest.$ac_ext >&5 d11831 5 a11835 1 #include "confdefs.h" a11843 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d11867 2 a11868 1 cat conftest.$ac_ext >&5 d11910 5 a11914 1 #include "confdefs.h" d11933 2 a11934 1 cat conftest.$ac_ext >&5 d11946 5 a11950 1 #include "confdefs.h" d11956 1 a11956 1 egrep -v '^ *\+' conftest.er1 >conftest.err d11973 2 a11974 1 cat conftest.$ac_ext >&5 d11987 10 a11996 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d12003 10 a12012 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d12043 5 a12047 1 #include "confdefs.h" a12055 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12079 2 a12080 1 cat conftest.$ac_ext >&5 d12088 5 a12092 1 #include "confdefs.h" a12100 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12125 2 a12126 1 cat conftest.$ac_ext >&5 d12148 5 a12152 1 #include "confdefs.h" d12154 8 a12161 2 which can conflict with char fchmod (); below. */ #include d12165 1 a12169 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d12176 4 a12179 1 f = fchmod; d12182 4 d12205 2 a12206 1 cat conftest.$ac_ext >&5 d12227 5 a12231 1 #include "confdefs.h" d12233 8 a12240 2 which can conflict with char $ac_func (); below. */ #include d12244 1 a12248 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d12255 4 a12258 1 f = $ac_func; d12261 4 d12284 2 a12285 1 cat conftest.$ac_ext >&5 d12311 5 a12315 1 #include "confdefs.h" a12323 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12347 2 a12348 1 cat conftest.$ac_ext >&5 d12400 5 a12404 1 #include "confdefs.h" d12423 2 a12424 1 cat conftest.$ac_ext >&5 d12436 5 a12440 1 #include "confdefs.h" d12446 1 a12446 1 egrep -v '^ *\+' conftest.er1 >conftest.err d12463 2 a12464 1 cat conftest.$ac_ext >&5 d12477 10 a12486 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d12493 10 a12502 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d12532 5 a12536 1 #include "confdefs.h" d12538 8 a12545 2 which can conflict with char db_create (); below. */ #include d12549 1 a12553 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d12560 4 a12563 1 f = db_create; d12566 4 d12589 2 a12590 1 cat conftest.$ac_ext >&5 d12609 5 a12613 1 #include "confdefs.h" a12621 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12645 2 a12646 1 cat conftest.$ac_ext >&5 d12666 5 a12670 1 #include "confdefs.h" a12678 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12702 2 a12703 1 cat conftest.$ac_ext >&5 d12723 5 a12727 1 #include "confdefs.h" a12735 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12759 2 a12760 1 cat conftest.$ac_ext >&5 d12780 5 a12784 1 #include "confdefs.h" a12792 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12816 2 a12817 1 cat conftest.$ac_ext >&5 d12855 5 a12859 1 #include "confdefs.h" a12867 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12892 2 a12893 1 cat conftest.$ac_ext >&5 d12917 1 a12917 1 DBLIBSRCS="$DBLIBSRCS" d12959 5 a12963 1 #include "confdefs.h" a12971 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d12995 2 a12996 1 cat conftest.$ac_ext >&5 d13027 5 a13031 1 #include "confdefs.h" a13039 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13063 2 a13064 1 cat conftest.$ac_ext >&5 d13091 5 a13095 1 #include "confdefs.h" a13103 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13127 2 a13128 1 cat conftest.$ac_ext >&5 d13148 5 a13152 1 #include "confdefs.h" a13160 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13184 2 a13185 1 cat conftest.$ac_ext >&5 d13198 91 a13288 2 cat >>confdefs.h <<\_ACEOF #define HAVE_BZ2_1_0 1 a13290 4 else WITH_BZIP2=0 fi d13292 1 a13292 1 d13486 1 a13486 1 ac_config_commands="$ac_config_commands default-1" a13568 97 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac d13576 5 a13580 1 #include "confdefs.h" a13581 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13651 2 a13652 1 cat conftest.$ac_ext >&5 d13676 5 a13680 1 #include "confdefs.h" d13682 3 a13684 2 static $ac_kw int static_foo () {return 0; } $ac_kw int foo () {return 0; } d13703 2 a13704 1 cat conftest.$ac_ext >&5 d13732 5 a13736 1 #include "confdefs.h" a13737 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13764 2 a13765 1 cat conftest.$ac_ext >&5 d13789 5 a13793 1 #include "confdefs.h" a13794 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13821 2 a13822 1 cat conftest.$ac_ext >&5 d13848 5 a13852 1 #include "confdefs.h" a13853 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13877 2 a13878 1 cat conftest.$ac_ext >&5 d13900 5 a13904 1 #include "confdefs.h" a13925 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d13949 2 a13950 1 cat conftest.$ac_ext >&5 d13984 5 a13988 1 #include "confdefs.h" d13997 1 a13997 1 egrep "webecray" >/dev/null 2>&1; then d14017 5 a14021 1 #include "confdefs.h" d14023 8 a14030 2 which can conflict with char $ac_func (); below. */ #include d14034 1 a14038 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d14045 4 a14048 1 f = $ac_func; d14051 4 d14074 2 a14075 1 cat conftest.$ac_ext >&5 d14104 5 a14108 1 #include "confdefs.h" d14144 2 a14145 1 cat conftest.$ac_ext >&5 d14149 1 a14149 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d14181 5 a14185 1 #include "confdefs.h" d14204 2 a14205 1 cat conftest.$ac_ext >&5 d14217 5 a14221 1 #include "confdefs.h" d14227 1 a14227 1 egrep -v '^ *\+' conftest.er1 >conftest.err d14244 2 a14245 1 cat conftest.$ac_ext >&5 d14258 10 a14267 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d14274 10 a14283 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d14316 5 a14320 1 #include "confdefs.h" d14322 8 a14329 2 which can conflict with char $ac_func (); below. */ #include d14333 1 a14337 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d14344 4 a14347 1 f = $ac_func; d14350 4 d14373 2 a14374 1 cat conftest.$ac_ext >&5 d14399 5 a14403 1 #include "confdefs.h" d14546 2 a14547 1 cat conftest.$ac_ext >&5 d14551 1 a14551 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d14573 5 a14577 1 #include "confdefs.h" d14588 1 a14588 1 egrep "Lucky GNU user" >/dev/null 2>&1; then d14625 5 a14629 1 #include "confdefs.h" d14683 2 a14684 1 cat conftest.$ac_ext >&5 d14688 1 a14688 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d14712 5 a14716 1 #include "confdefs.h" a14718 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d14742 2 a14743 1 cat conftest.$ac_ext >&5 d14766 5 a14770 1 #include "confdefs.h" a14772 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d14796 2 a14797 1 cat conftest.$ac_ext >&5 d14820 5 a14824 1 #include "confdefs.h" a14825 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d14850 2 a14851 1 cat conftest.$ac_ext >&5 d14890 5 a14894 1 #include "confdefs.h" a14896 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d14920 2 a14921 1 cat conftest.$ac_ext >&5 d14948 5 a14952 1 #include "confdefs.h" a14957 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d14981 2 a14982 1 cat conftest.$ac_ext >&5 d15561 5 a15565 1 #include "confdefs.h" d15584 2 a15585 1 cat conftest.$ac_ext >&5 d15597 5 a15601 1 #include "confdefs.h" d15607 1 a15607 1 egrep -v '^ *\+' conftest.er1 >conftest.err d15624 2 a15625 1 cat conftest.$ac_ext >&5 d15638 10 a15647 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d15654 10 a15663 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d15718 5 a15722 1 #include "confdefs.h" d15724 8 a15731 2 which can conflict with char $ac_func (); below. */ #include d15735 1 a15739 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d15746 4 a15749 1 f = $ac_func; d15752 4 d15775 2 a15776 1 cat conftest.$ac_ext >&5 d15832 5 a15836 1 #include "confdefs.h" a15838 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d15864 2 a15865 1 cat conftest.$ac_ext >&5 d15873 5 a15877 1 #include "confdefs.h" a15879 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d15906 2 a15907 1 cat conftest.$ac_ext >&5 d15945 5 a15949 1 #include "confdefs.h" a15962 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d15986 2 a15987 1 cat conftest.$ac_ext >&5 d16014 5 a16018 1 #include "confdefs.h" a16019 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d16043 2 a16044 1 cat conftest.$ac_ext >&5 d16069 5 a16073 1 #include "confdefs.h" a16074 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d16098 2 a16099 1 cat conftest.$ac_ext >&5 d16241 5 a16245 1 #include "confdefs.h" a16248 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d16273 2 a16274 1 cat conftest.$ac_ext >&5 d16673 5 a16677 1 #include "confdefs.h" a16684 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d16709 2 a16710 1 cat conftest.$ac_ext >&5 d16718 5 a16722 1 #include "confdefs.h" a16729 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d16757 2 a16758 1 cat conftest.$ac_ext >&5 d16904 5 a16908 1 #include "confdefs.h" d16914 7 d16922 9 a16930 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 a16931 3 egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 d16933 1 a16933 10 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d16937 3 a16939 2 cat conftest.$ac_ext >&5 ac_cv_header_stdc=no d16941 1 a16941 1 rm -f conftest.err conftest.$ac_ext d16947 5 a16951 1 #include "confdefs.h" d16956 1 a16956 1 egrep "memchr" >/dev/null 2>&1; then d16969 5 a16973 1 #include "confdefs.h" d16978 1 a16978 1 egrep "free" >/dev/null 2>&1; then d16994 5 a16998 1 #include "confdefs.h" d17004 2 a17005 1 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ d17038 2 a17039 1 cat conftest.$ac_ext >&5 d17043 1 a17043 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d17064 5 a17068 1 #include "confdefs.h" a17069 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d17093 2 a17094 1 cat conftest.$ac_ext >&5 d17118 5 a17122 1 #include "confdefs.h" d17141 2 a17142 1 cat conftest.$ac_ext >&5 d17154 5 a17158 1 #include "confdefs.h" d17164 1 a17164 1 egrep -v '^ *\+' conftest.er1 >conftest.err d17181 2 a17182 1 cat conftest.$ac_ext >&5 d17195 10 a17204 1 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;};; d17211 10 a17220 1 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;};; d17258 5 a17262 1 #include "confdefs.h" d17281 2 a17282 1 cat conftest.$ac_ext >&5 d17294 5 a17298 1 #include "confdefs.h" d17304 1 a17304 1 egrep -v '^ *\+' conftest.er1 >conftest.err d17321 2 a17322 1 cat conftest.$ac_ext >&5 d17335 10 a17344 1 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;};; d17351 10 a17360 1 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;};; d17400 5 a17404 1 #include "confdefs.h" a17407 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d17432 2 a17433 1 cat conftest.$ac_ext >&5 d17460 5 a17464 1 #include "confdefs.h" a17472 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d17496 2 a17497 1 cat conftest.$ac_ext >&5 d17505 5 a17509 1 #include "confdefs.h" a17517 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d17542 2 a17543 1 cat conftest.$ac_ext >&5 d17567 5 a17571 1 #include "confdefs.h" a17579 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d17603 2 a17604 1 cat conftest.$ac_ext >&5 d17612 5 a17616 1 #include "confdefs.h" a17624 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d17649 2 a17650 1 cat conftest.$ac_ext >&5 d17673 5 a17677 1 #include "confdefs.h" a17681 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d17706 2 a17707 1 cat conftest.$ac_ext >&5 d17747 5 a17751 1 #include "confdefs.h" d17770 2 a17771 1 cat conftest.$ac_ext >&5 d17783 5 a17787 1 #include "confdefs.h" d17793 1 a17793 1 egrep -v '^ *\+' conftest.er1 >conftest.err d17810 2 a17811 1 cat conftest.$ac_ext >&5 d17824 10 a17833 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d17840 10 a17849 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d17892 5 a17896 1 #include "confdefs.h" d17915 2 a17916 1 cat conftest.$ac_ext >&5 d17928 5 a17932 1 #include "confdefs.h" d17938 1 a17938 1 egrep -v '^ *\+' conftest.er1 >conftest.err d17955 2 a17956 1 cat conftest.$ac_ext >&5 d17969 10 a17978 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d17985 10 a17994 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18035 5 a18039 1 #include "confdefs.h" d18058 2 a18059 1 cat conftest.$ac_ext >&5 d18071 5 a18075 1 #include "confdefs.h" d18081 1 a18081 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18098 2 a18099 1 cat conftest.$ac_ext >&5 d18112 10 a18121 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18128 10 a18137 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18180 5 a18184 1 #include "confdefs.h" d18203 2 a18204 1 cat conftest.$ac_ext >&5 d18216 5 a18220 1 #include "confdefs.h" d18226 1 a18226 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18243 2 a18244 1 cat conftest.$ac_ext >&5 d18257 10 a18266 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18273 10 a18282 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18323 5 a18327 1 #include "confdefs.h" d18346 2 a18347 1 cat conftest.$ac_ext >&5 d18359 5 a18363 1 #include "confdefs.h" d18369 1 a18369 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18386 2 a18387 1 cat conftest.$ac_ext >&5 d18400 10 a18409 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18416 10 a18425 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18465 5 a18469 1 #include "confdefs.h" d18488 2 a18489 1 cat conftest.$ac_ext >&5 d18501 5 a18505 1 #include "confdefs.h" d18511 1 a18511 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18528 2 a18529 1 cat conftest.$ac_ext >&5 d18542 10 a18551 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18558 10 a18567 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18609 5 a18613 1 #include "confdefs.h" d18632 2 a18633 1 cat conftest.$ac_ext >&5 d18645 5 a18649 1 #include "confdefs.h" d18655 1 a18655 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18672 2 a18673 1 cat conftest.$ac_ext >&5 d18686 10 a18695 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18702 10 a18711 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18754 5 a18758 1 #include "confdefs.h" d18777 2 a18778 1 cat conftest.$ac_ext >&5 d18790 5 a18794 1 #include "confdefs.h" d18800 1 a18800 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18817 2 a18818 1 cat conftest.$ac_ext >&5 d18831 10 a18840 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18847 10 a18856 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18898 5 a18902 1 #include "confdefs.h" d18921 2 a18922 1 cat conftest.$ac_ext >&5 d18934 5 a18938 1 #include "confdefs.h" d18944 1 a18944 1 egrep -v '^ *\+' conftest.er1 >conftest.err d18961 2 a18962 1 cat conftest.$ac_ext >&5 d18975 10 a18984 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d18991 10 a19000 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19041 5 a19045 1 #include "confdefs.h" d19064 2 a19065 1 cat conftest.$ac_ext >&5 d19077 5 a19081 1 #include "confdefs.h" d19087 1 a19087 1 egrep -v '^ *\+' conftest.er1 >conftest.err d19104 2 a19105 1 cat conftest.$ac_ext >&5 d19118 10 a19127 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19134 10 a19143 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19183 5 a19187 1 #include "confdefs.h" d19206 2 a19207 1 cat conftest.$ac_ext >&5 d19219 5 a19223 1 #include "confdefs.h" d19229 1 a19229 1 egrep -v '^ *\+' conftest.er1 >conftest.err d19246 2 a19247 1 cat conftest.$ac_ext >&5 d19260 10 a19269 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19276 10 a19285 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19326 5 a19330 1 #include "confdefs.h" d19349 2 a19350 1 cat conftest.$ac_ext >&5 d19362 5 a19366 1 #include "confdefs.h" d19372 1 a19372 1 egrep -v '^ *\+' conftest.er1 >conftest.err d19389 2 a19390 1 cat conftest.$ac_ext >&5 d19403 10 a19412 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19419 10 a19428 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19469 5 a19473 1 #include "confdefs.h" d19492 2 a19493 1 cat conftest.$ac_ext >&5 d19505 5 a19509 1 #include "confdefs.h" d19515 1 a19515 1 egrep -v '^ *\+' conftest.er1 >conftest.err d19532 2 a19533 1 cat conftest.$ac_ext >&5 d19546 10 a19555 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19562 10 a19571 1 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; d19601 5 a19605 1 #include "confdefs.h" a19610 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d19641 2 a19642 1 cat conftest.$ac_ext >&5 d19650 5 a19654 1 #include "confdefs.h" a19659 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d19690 2 a19691 1 cat conftest.$ac_ext >&5 d19699 5 a19703 1 #include "confdefs.h" a19711 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d19742 2 a19743 1 cat conftest.$ac_ext >&5 d19751 5 a19755 1 #include "confdefs.h" a19760 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d19791 2 a19792 1 cat conftest.$ac_ext >&5 d19807 5 a19811 1 #include "confdefs.h" a19828 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d19859 2 a19860 1 cat conftest.$ac_ext >&5 d19878 5 a19882 1 #include "confdefs.h" d19921 2 a19922 1 cat conftest.$ac_ext >&5 d19927 1 a19927 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d19940 5 a19944 1 #include "confdefs.h" d19946 3 a19948 2 static $ac_kw int static_foo () {return 0; } $ac_kw int foo () {return 0; } d19967 2 a19968 1 cat conftest.$ac_ext >&5 d19995 5 a19999 1 #include "confdefs.h" a20000 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20024 2 a20025 1 cat conftest.$ac_ext >&5 d20042 5 a20046 1 #include "confdefs.h" a20047 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20071 2 a20072 1 cat conftest.$ac_ext >&5 d20090 5 a20094 1 #include "confdefs.h" a20095 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20119 2 a20120 1 cat conftest.$ac_ext >&5 d20138 5 a20142 1 #include "confdefs.h" a20143 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20167 2 a20168 1 cat conftest.$ac_ext >&5 d20186 5 a20190 1 #include "confdefs.h" a20191 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20215 2 a20216 1 cat conftest.$ac_ext >&5 d20230 5 a20234 1 #include "confdefs.h" a20235 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20262 2 a20263 1 cat conftest.$ac_ext >&5 d20287 5 a20291 1 #include "confdefs.h" a20292 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20319 2 a20320 1 cat conftest.$ac_ext >&5 d20347 5 a20351 1 #include "confdefs.h" a20352 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20376 2 a20377 1 cat conftest.$ac_ext >&5 d20399 5 a20403 1 #include "confdefs.h" a20424 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d20448 2 a20449 1 cat conftest.$ac_ext >&5 d20483 5 a20487 1 #include "confdefs.h" d20496 1 a20496 1 egrep "webecray" >/dev/null 2>&1; then d20516 5 a20520 1 #include "confdefs.h" d20522 8 a20529 2 which can conflict with char $ac_func (); below. */ #include d20533 1 a20537 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d20544 4 a20547 1 f = $ac_func; d20550 4 d20573 2 a20574 1 cat conftest.$ac_ext >&5 d20603 5 a20607 1 #include "confdefs.h" d20643 2 a20644 1 cat conftest.$ac_ext >&5 d20648 1 a20648 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d20672 5 a20676 1 #include "confdefs.h" d20678 8 a20685 2 which can conflict with char $ac_func (); below. */ #include d20689 1 a20693 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d20700 4 a20703 1 f = $ac_func; d20706 4 d20729 2 a20730 1 cat conftest.$ac_ext >&5 d20749 5 a20753 1 #include "confdefs.h" d20755 8 a20762 2 which can conflict with char _doprnt (); below. */ #include d20766 1 a20770 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d20777 4 a20780 1 f = _doprnt; d20783 4 d20806 2 a20807 1 cat conftest.$ac_ext >&5 d20846 5 a20850 1 #include "confdefs.h" d20852 8 a20859 2 which can conflict with char $ac_func (); below. */ #include d20863 1 a20867 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d20874 4 a20877 1 f = $ac_func; d20880 4 d20903 2 a20904 1 cat conftest.$ac_ext >&5 d20932 5 a20936 1 #include "confdefs.h" d20938 8 a20945 2 which can conflict with char $ac_func (); below. */ #include d20949 1 a20953 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d20960 4 a20963 1 f = $ac_func; d20966 4 d20989 2 a20990 1 cat conftest.$ac_ext >&5 d21021 5 a21025 1 #include "confdefs.h" d21027 8 a21034 2 which can conflict with char $ac_func (); below. */ #include d21038 1 a21042 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21049 4 a21052 1 f = $ac_func; d21055 4 d21078 2 a21079 1 cat conftest.$ac_ext >&5 d21106 5 a21110 1 #include "confdefs.h" d21112 8 a21119 2 which can conflict with char $ac_func (); below. */ #include d21123 1 a21127 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21134 4 a21137 1 f = $ac_func; d21140 4 d21163 2 a21164 1 cat conftest.$ac_ext >&5 d21191 5 a21195 1 #include "confdefs.h" d21197 8 a21204 2 which can conflict with char $ac_func (); below. */ #include d21208 1 a21212 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21219 4 a21222 1 f = $ac_func; d21225 4 d21248 2 a21249 1 cat conftest.$ac_ext >&5 d21283 5 a21287 1 #include "confdefs.h" d21289 8 a21296 2 which can conflict with char $ac_func (); below. */ #include d21300 1 a21304 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21311 4 a21314 1 f = $ac_func; d21317 4 d21340 2 a21341 1 cat conftest.$ac_ext >&5 d21376 5 a21380 1 #include "confdefs.h" d21406 2 a21407 1 cat conftest.$ac_ext >&5 d21411 1 a21411 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d21451 5 a21455 1 #include "confdefs.h" d21477 2 a21478 1 cat conftest.$ac_ext >&5 d21482 1 a21482 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d21497 5 a21501 1 #include "confdefs.h" d21523 2 a21524 1 cat conftest.$ac_ext >&5 d21528 1 a21528 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a21630 16 withval=no # Check whether --with-efence or --without-efence was given. if test "${with_efence+set}" = set; then withval="$with_efence" fi; if test $withval = yes ; then cat >>confdefs.h <<\_ACEOF #define EFENCE 1 _ACEOF LIBS="$LIBS -lefence" fi d21642 5 a21646 1 #include "confdefs.h" d21648 8 a21655 2 which can conflict with char $ac_func (); below. */ #include d21659 1 a21663 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21670 4 a21673 1 f = $ac_func; d21676 4 d21699 2 a21700 1 cat conftest.$ac_ext >&5 d21727 5 a21731 1 #include "confdefs.h" d21733 8 a21740 2 which can conflict with char $ac_func (); below. */ #include d21744 1 a21748 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21755 4 a21758 1 f = $ac_func; d21761 4 d21784 2 a21785 1 cat conftest.$ac_ext >&5 d21808 5 a21812 1 #include "confdefs.h" d21814 8 a21821 2 which can conflict with char getmntent (); below. */ #include d21825 1 a21829 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21836 4 a21839 1 f = getmntent; d21842 4 d21865 2 a21866 1 cat conftest.$ac_ext >&5 d21888 5 a21892 1 #include "confdefs.h" d21894 8 a21901 2 which can conflict with char mntctl (); below. */ #include d21905 1 a21909 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21916 4 a21919 1 f = mntctl; d21922 4 d21945 2 a21946 1 cat conftest.$ac_ext >&5 d21968 5 a21972 1 #include "confdefs.h" d21974 8 a21981 2 which can conflict with char getmntinfo_r (); below. */ #include d21985 1 a21989 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d21996 4 a21999 1 f = getmntinfo_r; d22002 4 d22025 2 a22026 1 cat conftest.$ac_ext >&5 d22050 5 a22054 1 #include "confdefs.h" a22062 6 #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif d22086 2 a22087 1 cat conftest.$ac_ext >&5 d22126 5 a22130 1 #include "confdefs.h" d22132 8 a22139 2 which can conflict with char lchown (); below. */ #include d22143 1 a22147 11 char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { d22154 4 a22157 1 f = lchown; d22160 4 d22183 2 a22184 1 cat conftest.$ac_ext >&5 d22257 5 a22261 1 #include "confdefs.h" d22304 2 a22305 1 cat conftest.$ac_ext >&5 d22309 1 a22309 1 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d22423 6 d22450 1 a22450 1 unknown|pc|ibm|redhat|pld|mandrake|conectiva|lvr|yellowdog) a22455 1 test -f /etc/yellowdog-release && RPMCANONVENDOR=yellowdog d22552 1 a22552 1 subdirs="$subdirs popt beecrypt zlib libelf db3" d22555 2 a22556 2 ac_config_files="$ac_config_files Doxyfile Makefile rpmrc macros platform rpmpopt rpm.spec rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile scripts/Makefile scripts/brp-redhat scripts/macros.perl scripts/macros.php scripts/macros.python tools/Makefile tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile misc/Makefile intl/Makefile po/Makefile.in doc/Makefile doc/manual/Makefile doc/fr/Makefile doc/ja/Makefile doc/ko/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile python/Makefile python/rpmdb/Makefile python/test/Makefile" ac_config_commands="$ac_config_commands default" d22567 1 a22567 1 # `ac_cv_env_foo' variables (set or unset) will be overriden when d22602 1 a22602 1 if cmp -s $cache_file confcache; then :; else d22633 15 d22669 2 a22674 1 d22683 3 a22689 1 # NLS nuisances. d22697 32 a22728 24 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && { $as_unset LANG || test "${LANG+set}" != set; } || { LANG=C; export LANG; } (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || { LC_ALL=C; export LC_ALL; } (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || { LC_TIME=C; export LC_TIME; } (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || { LC_CTYPE=C; export LC_CTYPE; } (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || { LANGUAGE=C; export LANGUAGE; } (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || { LC_COLLATE=C; export LC_COLLATE; } (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || { LC_NUMERIC=C; export LC_NUMERIC; } (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || { LC_MESSAGES=C; export LC_MESSAGES; } d22732 1 a22732 1 as_me=`(basename "$0") 2>/dev/null || d22743 1 d22754 4 a22757 4 echo "#! /bin/sh" >conftest.sh echo "exit 0" >>conftest.sh chmod +x conftest.sh if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then d22762 1 a22762 1 rm -f conftest.sh d22811 2 d22886 6 d22908 1 a22908 1 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } d22925 1 a22925 1 generated by GNU Autoconf 2.53. Invocation command line was d22965 1 d22988 1 a22988 1 configured by $0, generated by GNU Autoconf 2.53, d23009 6 a23014 3 shift set dummy "$ac_option" "$ac_optarg" ${1+"$@@"} shift a23015 1 -*);; d23018 1 d23022 1 a23022 1 case $1 in d23025 1 a23025 1 cat >>$CONFIG_STATUS <<_ACEOF d23027 1 a23027 4 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF d23042 2 a23043 2 shift CONFIG_FILES="$CONFIG_FILES $1" d23046 2 a23047 2 shift CONFIG_HEADERS="$CONFIG_HEADERS $1" d23049 3 d23066 14 a23117 3 "scripts/macros.perl" ) CONFIG_FILES="$CONFIG_FILES scripts/macros.perl" ;; "scripts/macros.php" ) CONFIG_FILES="$CONFIG_FILES scripts/macros.php" ;; "scripts/macros.python" ) CONFIG_FILES="$CONFIG_FILES scripts/macros.python" ;; d23124 1 a23125 1 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; a23127 1 "doc/fr/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/fr/Makefile" ;; a23128 1 "doc/ko/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/ko/Makefile" ;; a23132 2 "python/rpmdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES python/rpmdb/Makefile" ;; "python/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES python/test/Makefile" ;; d23153 3 d23164 1 a23164 1 : ${TMPDIR=/tmp} d23166 1 a23166 1 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && d23170 1 a23170 1 tmp=$TMPDIR/cs$$-$RANDOM d23174 1 a23174 1 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 d23266 1 a23325 4 s,@@WITH_LIBELF_SUBDIR@@,$WITH_LIBELF_SUBDIR,;t t s,@@WITH_LIBELF_INCLUDE@@,$WITH_LIBELF_INCLUDE,;t t s,@@WITH_LIBELF_LIB@@,$WITH_LIBELF_LIB,;t t s,@@WITH_LIBELF_ARCHIVE@@,$WITH_LIBELF_ARCHIVE,;t t d23368 1 d23388 1 d23459 24 a23482 19 { case "$ac_dir" in [\\/]* | ?:[\\/]* ) as_incr_dir=;; *) as_incr_dir=.;; esac as_dummy="$ac_dir" for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do case $as_mkdir_dir in # Skip DOS drivespec ?:) as_incr_dir=$as_mkdir_dir ;; *) as_incr_dir=$as_incr_dir/$as_mkdir_dir test -d "$as_incr_dir" || mkdir "$as_incr_dir" || { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; } ;; esac done; } d23512 1 a23512 1 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` d23702 1 a23702 1 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS d23726 1 a23726 1 echo ' fi # egrep' >>$CONFIG_STATUS d23766 1 a23766 1 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then d23782 24 a23805 19 { case "$ac_dir" in [\\/]* | ?:[\\/]* ) as_incr_dir=;; *) as_incr_dir=.;; esac as_dummy="$ac_dir" for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do case $as_mkdir_dir in # Skip DOS drivespec ?:) as_incr_dir=$as_mkdir_dir ;; *) as_incr_dir=$as_incr_dir/$as_mkdir_dir test -d "$as_incr_dir" || mkdir "$as_incr_dir" || { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; } ;; esac done; } d23870 1 a23870 1 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` d23939 24 a23962 19 { case $dirpart/$fdir in [\\/]* | ?:[\\/]* ) as_incr_dir=;; *) as_incr_dir=.;; esac as_dummy=$dirpart/$fdir for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do case $as_mkdir_dir in # Skip DOS drivespec ?:) as_incr_dir=$as_mkdir_dir ;; *) as_incr_dir=$as_incr_dir/$as_mkdir_dir test -d "$as_incr_dir" || mkdir "$as_incr_dir" || { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5 echo "$as_me: error: cannot create $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; } ;; esac done; } d24092 3 d24096 1 a24096 1 $SHELL $CONFIG_STATUS || ac_cs_success=false d24151 24 a24174 19 { case "$ac_dir" in [\\/]* | ?:[\\/]* ) as_incr_dir=;; *) as_incr_dir=.;; esac as_dummy="$ac_dir" for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@@"`; do case $as_mkdir_dir in # Skip DOS drivespec ?:) as_incr_dir=$as_mkdir_dir ;; *) as_incr_dir=$as_incr_dir/$as_mkdir_dir test -d "$as_incr_dir" || mkdir "$as_incr_dir" || { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; } ;; esac done; } d24204 1 a24204 1 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` @ 1.1.1.21 log @Import: RPM 4.1.1 @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57. d9 167 a183 3 # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' d188 1 d196 24 a219 32 # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi d223 1 a223 1 as_me=`$as_basename "$0" || a233 1 d244 4 a247 4 echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then d252 1 a252 1 rm -f conf$$.sh a299 2 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } d365 4 a368 180 elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else as_mkdir_p=false fi as_executable_p="test -f" # Sed expression to map a string onto a valid CPP name. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" # Sed expression to map a string onto a valid variable name. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # Find the correct PATH separator. Usually this is `:', but # DJGPP uses `;' like DOS. if test "X${PATH_SEPARATOR+set}" != Xset; then UNAME=${UNAME-`uname 2>/dev/null`} case X$UNAME in *-DOS) lt_cv_sys_path_separator=';' ;; *) lt_cv_sys_path_separator=':' ;; esac PATH_SEPARATOR=$lt_cv_sys_path_separator fi # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null && echo_test_string="`eval $cmd`" && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi d370 10 d381 5 a385 6 # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi d387 2 a401 1 ac_config_libobj_dir=. d458 1 a458 3 ac_subdirs_all="$ac_subdirs_all popt beecrypt zlib elfutils file db3" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE AS RPMUSER RPMUID RPMGROUP RPMGID CTAGS CSCOPE LDFLAGS_STATIC LDFLAGS_NPTL FIXPERMS MKDIR MKDIR_P U ANSI2KNR LN_S ECHO RANLIB ac_ct_RANLIB LIBTOOL AR ac_ct_AR BZIP2BIN __CAT __CHGRP __CHMOD __CHOWN __CP __CPIO __FILE __GPG __GREP GZIPBIN UNZIPBIN __ID __ID_U __INSTALL __MAKE __MKDIR __MV __PATCH __PERL PGPBIN __PYTHON __RM __RSH __SED __SSH __TAR __LD __NM __OBJCOPY __OBJDUMP __STRIP WITH_ZLIB_SUBDIR WITH_ZLIB_INCLUDE WITH_ZLIB_LIB WITH_ELFUTILS_SUBDIR WITH_LIBELF_INCLUDE WITH_LIBELF_LIB WITH_LIBDWARF_INCLUDE WITH_DB_SUBDIR WITH_INTERNAL_DB DBLIBSRCS DBLIBOBJS libdb3 libdb3a WITH_BZIP2 MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBOBJS WITH_PYTHON_SUBDIR WITH_PYTHON_SUBPACKAGE WITH_PYTHON_VERSION __DOXYGEN WITH_APIDOCS_TARGET WITH_APIDOCS __CHOWN_RHF __CHGRP_RHF ROOT_GROUP varprefix tmpdir MARK64 RPMCANONCOLOR RPMCANONARCH RPMCANONVENDOR RPMCANONOS LOCALEDIR LIBDIR RPMCONFIGDIR SYSCONFIGDIR MACROFILES LIBRPMRC_FILENAME VENDORRPMRC_FILENAME LIBRPMALIAS_FILENAME FINDREQUIRES FINDPROVIDES testdir INCPATH LIBMISC RPM OBJDUMP subdirs LTLIBOBJS' ac_subst_files='' a881 3 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } a1004 1 --disable-largefile omit support for large files d1080 1 a1080 1 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` d1120 1 a1120 1 generated by GNU Autoconf 2.57. Invocation command line was a1171 1 # Strip out --silent because we don't want to record it for future runs. a1172 1 # Make two passes to allow for proper duplicate-argument suppression. a1173 2 ac_configure_args0= ac_configure_args1= d1175 1 a1175 2 ac_must_keep_next=false for ac_pass in 1 2 d1177 15 a1191 35 for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; esac done a1192 2 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } a1202 1 a1224 29 cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi d1232 1 a1232 1 sed "/^$/d" confdefs.h | sort a1388 1 d1688 2 a1689 2 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 d1696 1 a1696 1 @@echo 'ac_maketemp="$(MAKE)"' d1727 1 a1727 1 VERSION=4.1.1 d1855 1 a1855 1 ac_config_headers="$ac_config_headers config.h" d1863 20 d2088 3 a2090 1 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@@" d2195 2 a2196 4 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} d2221 1 a2221 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2223 6 d2238 1 a2238 1 ac_clean_files="$ac_clean_files a.out a.exe b.out" d2257 3 a2259 4 # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue d2261 9 a2269 18 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; d2274 3 a2276 6 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} d2303 1 a2303 2 If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 d2305 1 a2305 2 If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} d2313 1 a2313 1 rm -f a.out a.exe conftest$ac_cv_exeext b.out d2333 1 a2333 2 for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue d2335 1 a2335 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; d2343 2 a2344 4 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} d2362 1 a2362 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2364 6 d2386 1 a2386 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; d2393 3 a2395 6 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} d2412 1 a2412 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2414 6 d2446 1 a2446 2 sed 's/^/| /' conftest.$ac_ext >&5 d2466 1 a2466 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2468 6 d2497 1 a2497 2 sed 's/^/| /' conftest.$ac_ext >&5 a2518 96 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac d2551 1 a2551 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2554 6 d2583 1 a2583 2 sed 's/^/| /' conftest.$ac_ext >&5 d2589 1 a2589 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2591 6 d2620 1 a2620 2 sed 's/^/| /' conftest.$ac_ext >&5 d2633 1 a2633 2 sed 's/^/| /' conftest.$ac_ext >&5 d2652 1 a2652 1 ac_config_commands="$ac_config_commands depfiles" a2807 2 # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. d2812 2 a2813 10 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif d2819 1 a2819 1 grep -v '^ *+' conftest.er1 >conftest.err d2836 1 a2836 2 sed 's/^/| /' conftest.$ac_ext >&5 d2846 1 a2846 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2852 1 a2852 1 grep -v '^ *+' conftest.er1 >conftest.err d2870 1 a2870 2 sed 's/^/| /' conftest.$ac_ext >&5 a2898 2 # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. d2903 2 a2904 10 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif d2910 1 a2910 1 grep -v '^ *+' conftest.er1 >conftest.err d2927 1 a2927 2 sed 's/^/| /' conftest.$ac_ext >&5 d2937 1 a2937 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2943 1 a2943 1 grep -v '^ *+' conftest.er1 >conftest.err d2961 1 a2961 2 sed 's/^/| /' conftest.$ac_ext >&5 d2974 2 a2975 4 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} a2985 15 echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep d2991 1 a2991 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d2998 1 a2998 1 $EGREP "yes" >/dev/null 2>&1; then d3019 1 a3019 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a3024 7 int main () { ; return 0; } d3026 2 a3027 3 rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 d3029 3 d3033 10 a3042 7 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d3046 2 a3047 3 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no d3049 1 a3049 1 rm -f conftest.$ac_objext conftest.$ac_ext d3055 1 a3055 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3060 1 a3060 1 $EGREP "memchr" >/dev/null 2>&1; then d3073 1 a3073 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3078 1 a3078 1 $EGREP "free" >/dev/null 2>&1; then d3094 1 a3094 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3100 1 a3100 2 # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ d3133 1 a3133 2 sed 's/^/| /' conftest.$ac_ext >&5 d3137 1 a3137 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d3172 1 a3172 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3192 1 a3192 2 sed 's/^/| /' conftest.$ac_ext >&5 d3223 1 a3223 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3242 1 a3242 2 sed 's/^/| /' conftest.$ac_ext >&5 d3254 1 a3254 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3260 1 a3260 1 grep -v '^ *+' conftest.er1 >conftest.err d3277 1 a3277 2 sed 's/^/| /' conftest.$ac_ext >&5 d3290 1 a3290 10 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d3297 1 a3297 10 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d3455 1 a3455 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3457 6 d3489 1 a3489 2 sed 's/^/| /' conftest.$ac_ext >&5 d3509 1 a3509 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3511 6 d3540 1 a3540 2 sed 's/^/| /' conftest.$ac_ext >&5 d3573 1 a3573 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3576 6 d3605 1 a3605 2 sed 's/^/| /' conftest.$ac_ext >&5 d3611 1 a3611 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3613 6 d3642 1 a3642 2 sed 's/^/| /' conftest.$ac_ext >&5 a3757 2 # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. d3762 2 a3763 10 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif d3769 1 a3769 1 grep -v '^ *+' conftest.er1 >conftest.err d3786 1 a3786 2 sed 's/^/| /' conftest.$ac_ext >&5 d3796 1 a3796 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3802 1 a3802 1 grep -v '^ *+' conftest.er1 >conftest.err d3820 1 a3820 2 sed 's/^/| /' conftest.$ac_ext >&5 a3848 2 # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. d3853 2 a3854 10 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif d3860 1 a3860 1 grep -v '^ *+' conftest.er1 >conftest.err d3877 1 a3877 2 sed 's/^/| /' conftest.$ac_ext >&5 d3887 1 a3887 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3893 1 a3893 1 grep -v '^ *+' conftest.er1 >conftest.err d3911 1 a3911 2 sed 's/^/| /' conftest.$ac_ext >&5 d3924 2 a3925 4 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} d3944 1 a3944 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d3949 1 a3949 21 $EGREP "$ac_pattern" >/dev/null 2>&1; then ac_cv_prog_gcc_traditional=yes else ac_cv_prog_gcc_traditional=no fi rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include Autoconf TCGETA _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "$ac_pattern" >/dev/null 2>&1; then a3950 300 fi rm -f conftest* fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi fi # Check whether --enable-largefile or --disable-largefile was given. if test "${enable_largefile+set}" = set; then enableval="$enable_largefile" fi; if test "$enable_largefile" != no; then echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_largefile_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext CC="$CC -n32" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_largefile_CC=' -n32'; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext break done CC=$ac_save_CC rm -f conftest.$ac_ext fi fi echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_file_offset_bits+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else while :; do ac_cv_sys_file_offset_bits=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_file_offset_bits=64; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext break done fi echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 if test "$ac_cv_sys_file_offset_bits" != no; then cat >>confdefs.h <<_ACEOF #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits _ACEOF fi rm -f conftest* echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_large_files+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else while :; do ac_cv_sys_large_files=no cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #define _LARGE_FILES 1 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_large_files=1; break d3952 3 a3954 2 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a3955 8 fi rm -f conftest.$ac_objext conftest.$ac_ext break done fi echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 if test "$ac_cv_sys_large_files" != no; then d3957 6 a3962 2 cat >>confdefs.h <<_ACEOF #define _LARGE_FILES $ac_cv_sys_large_files d3964 5 d3970 1 d3972 5 a3976 1 rm -f conftest* d3990 1 a3990 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4018 1 a4018 2 sed 's/^/| /' conftest.$ac_ext >&5 d4022 1 a4022 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a4176 7 LDFLAGS_NPTL= if test -f /usr/lib/nptl/libpthread.a ; then LDFLAGS_NPTL="-L/usr/lib/nptl" # INCPATH="$INCPATH -I/usr/include/nptl" fi d4287 1 a4287 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4296 6 d4325 1 a4325 2 sed 's/^/| /' conftest.$ac_ext >&5 d4362 1 a4362 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4392 6 d4423 1 a4423 2 sed 's/^/| /' conftest.$ac_ext >&5 d4469 1 a4469 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a4474 7 int main () { ; return 0; } d4476 2 a4477 3 rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 d4479 3 d4483 10 a4492 7 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d4496 2 a4497 3 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no d4499 1 a4499 1 rm -f conftest.$ac_objext conftest.$ac_ext d4505 1 a4505 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4510 1 a4510 1 $EGREP "memchr" >/dev/null 2>&1; then d4523 1 a4523 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4528 1 a4528 1 $EGREP "free" >/dev/null 2>&1; then d4544 1 a4544 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4550 1 a4550 2 # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ d4583 1 a4583 2 sed 's/^/| /' conftest.$ac_ext >&5 d4587 1 a4587 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d4619 1 a4619 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4638 1 a4638 2 sed 's/^/| /' conftest.$ac_ext >&5 d4650 1 a4650 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4656 1 a4656 1 grep -v '^ *+' conftest.er1 >conftest.err d4673 1 a4673 2 sed 's/^/| /' conftest.$ac_ext >&5 d4686 1 a4686 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d4693 1 a4693 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d4768 2 a4769 2 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 d4776 1 a4776 1 @@echo 'ac_maketemp="$(MAKE)"' d5026 2 a5027 87 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 if test "${lt_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_executable_p="test -f" as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" fi done done done # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. : ${TMPDIR=/tmp} { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=$TMPDIR/sed$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 { (exit 1); exit 1; } } _max=0 _count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for _sed in $_sed_list /usr/xpg4/bin/sed; do test ! -f ${_sed} && break cat /dev/null > "$tmp/sed.in" _count=0 echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" # Check for GNU sed and select it if it is found. if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then lt_cv_path_SED=${_sed} break fi while true; do cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" mv "$tmp/sed.tmp" "$tmp/sed.in" cp "$tmp/sed.in" "$tmp/sed.nl" echo >>"$tmp/sed.nl" ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break # 40000 chars as input seems more than enough test $_count -gt 10 && break _count=`expr $_count + 1` if test $_count -gt $_max; then _max=$_count lt_cv_path_SED=$_sed fi done done rm -rf "$tmp" fi if test "X$SED" != "X"; then lt_cv_path_SED=$SED else SED=$lt_cv_path_SED fi echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 d5104 1 a5104 1 irix5* | irix6* | nonstopux*) d5106 1 a5106 1 irix5* | nonstopux*) d5128 1 a5128 1 alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*) a5198 3 siemens) lt_cv_deplibs_check_method=pass_all ;; d5252 1 a5252 1 irix* | nonstopux*) a5254 3 osf*) symcode='[BCDEGQRST]' ;; d5363 1 a5363 1 (exit $ac_status); } && test -s conftest$ac_exeext; then d5428 1 a5428 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d5447 1 a5447 2 sed 's/^/| /' conftest.$ac_ext >&5 d5459 1 a5459 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d5465 1 a5465 1 grep -v '^ *+' conftest.er1 >conftest.err d5482 1 a5482 2 sed 's/^/| /' conftest.$ac_ext >&5 d5495 1 a5495 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d5502 1 a5502 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; a5527 1 d5843 1 a5843 1 echo '#line 6642 "configure"' > conftest.$ac_ext d5883 1 a5883 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d5885 6 d5914 1 a5914 2 sed 's/^/| /' conftest.$ac_ext >&5 d6086 1 a6086 1 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) d6129 1 a6129 1 irix5* | irix6* | nonstopux*) d6173 5 a6177 1 lt_cv_prog_cc_wl='-Wl,' d6217 1 a6217 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d6219 6 d6263 1 a6263 2 sed 's/^/| /' conftest.$ac_ext >&5 d6306 1 a6306 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d6308 6 d6337 1 a6337 2 sed 's/^/| /' conftest.$ac_ext >&5 d6379 1 a6379 1 if { (eval echo configure:7171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then d6421 1 a6421 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d6423 6 d6459 1 a6459 2 sed 's/^/| /' conftest.$ac_ext >&5 d6507 1 a6507 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d6509 6 d6545 1 a6545 2 sed 's/^/| /' conftest.$ac_ext >&5 d6717 1 a6717 1 archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then a6725 1 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; d6838 1 a6838 2 case $ld_flag in *-brtl*) d6841 1 a6841 2 ;; esac d6955 2 a6956 3 # yet detect zsh echo's removal of \ escapes. Also zsh mangles # `"' quotes if we put them in here... so don't! archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' d7008 1 a7008 1 irix5* | irix6* | nonstopux*) a7010 1 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' a7012 1 hardcode_libdir_flag_spec='-rpath $libdir' d7014 1 d7042 1 a7042 1 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' d7052 1 a7052 1 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' d7164 7 a7170 17 case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac a7317 3 need_lib_prefix=no need_version=no hardcode_into_libs=yes a7355 1 hardcode_into_libs=yes d7403 1 a7403 1 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` d7486 2 a7487 5 irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) version_type=irix ;; esac d7493 1 a7493 1 irix5* | nonstopux*) a7537 24 # Find out which ABI we are using (multilib Linux x86_64 hack). libsuff= case "$host_cpu" in x86_64*|s390x*) echo '#line 8355 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *64-bit*) libsuff=64 ;; esac fi rm -rf conftest* ;; *) ;; esac sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" d7597 2 a7598 2 soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' a7601 1 hardcode_into_libs=yes a7643 6 need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no d7766 1 a7766 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7768 2 a7769 8 which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a7772 1 { d7777 11 d7794 1 a7794 4 char (*f) () = shl_load; #endif #ifdef __cplusplus } a7796 4 int main () { return f != shl_load; d7816 1 a7816 2 sed 's/^/| /' conftest.$ac_ext >&5 d7835 1 a7835 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7844 6 d7873 1 a7873 2 sed 's/^/| /' conftest.$ac_ext >&5 d7891 1 a7891 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7893 2 a7894 8 which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a7897 1 { d7902 11 d7919 1 a7919 4 char (*f) () = dlopen; #endif #ifdef __cplusplus } a7921 4 int main () { return f != dlopen; d7941 1 a7941 2 sed 's/^/| /' conftest.$ac_ext >&5 d7960 1 a7960 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d7969 6 d7998 1 a7998 2 sed 's/^/| /' conftest.$ac_ext >&5 d8018 1 a8018 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d8027 6 d8056 1 a8056 2 sed 's/^/| /' conftest.$ac_ext >&5 d8076 1 a8076 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d8085 6 d8114 1 a8114 2 sed 's/^/| /' conftest.$ac_ext >&5 d8172 1 a8172 1 #line 9027 "configure" d8270 1 a8270 1 #line 9125 "configure" d8453 1 a8453 1 for var in echo old_CC old_CFLAGS SED \ a8514 3 # A sed that does not truncate output. SED=$lt_SED d8516 1 a8516 1 Xsed="${SED} -e s/^X//" d10443 1 a10443 1 WITH_ELFUTILS_SUBDIR= d10446 5 a10450 4 if test "${ac_cv_header_libelf_h+set}" = set; then echo "$as_me:$LINENO: checking for libelf.h" >&5 echo $ECHO_N "checking for libelf.h... $ECHO_C" >&6 if test "${ac_cv_header_libelf_h+set}" = set; then d10453 2 a10454 2 echo "$as_me:$LINENO: result: $ac_cv_header_libelf_h" >&5 echo "${ECHO_T}$ac_cv_header_libelf_h" >&6 d10457 2 a10458 2 echo "$as_me:$LINENO: checking libelf.h usability" >&5 echo $ECHO_N "checking libelf.h usability... $ECHO_C" >&6 d10461 1 a10461 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10463 1 a10463 1 #include d10480 1 a10480 2 sed 's/^/| /' conftest.$ac_ext >&5 d10488 2 a10489 2 echo "$as_me:$LINENO: checking libelf.h presence" >&5 echo $ECHO_N "checking libelf.h presence... $ECHO_C" >&6 d10492 2 a10493 137 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: libelf.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: libelf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: libelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libelf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: libelf.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: libelf.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: libelf.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: libelf.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: libelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libelf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for libelf.h" >&5 echo $ECHO_N "checking for libelf.h... $ECHO_C" >&6 if test "${ac_cv_header_libelf_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_libelf_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_libelf_h" >&5 echo "${ECHO_T}$ac_cv_header_libelf_h" >&6 fi if test "${ac_cv_header_gelf_h+set}" = set; then echo "$as_me:$LINENO: checking for gelf.h" >&5 echo $ECHO_N "checking for gelf.h... $ECHO_C" >&6 if test "${ac_cv_header_gelf_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_gelf_h" >&5 echo "${ECHO_T}$ac_cv_header_gelf_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking gelf.h usability" >&5 echo $ECHO_N "checking gelf.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking gelf.h presence" >&5 echo $ECHO_N "checking gelf.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include d10498 1 a10498 1 grep -v '^ *+' conftest.er1 >conftest.err d10515 1 a10515 2 sed 's/^/| /' conftest.$ac_ext >&5 d10525 4 a10528 13 { echo "$as_me:$LINENO: WARNING: gelf.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: gelf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: gelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: gelf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d10530 6 a10535 15 { echo "$as_me:$LINENO: WARNING: gelf.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: gelf.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: gelf.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: gelf.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: gelf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: gelf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d10537 3 a10539 3 echo "$as_me:$LINENO: checking for gelf.h" >&5 echo $ECHO_N "checking for gelf.h... $ECHO_C" >&6 if test "${ac_cv_header_gelf_h+set}" = set; then d10542 1 a10542 1 ac_cv_header_gelf_h=$ac_header_preproc d10544 2 a10545 2 echo "$as_me:$LINENO: result: $ac_cv_header_gelf_h" >&5 echo "${ECHO_T}$ac_cv_header_gelf_h" >&6 d10548 1 a10548 1 if test $ac_cv_header_gelf_h = yes; then d10552 1 a10552 1 #define HAVE_GELF_H 1 d10555 4 a10558 3 echo "$as_me:$LINENO: checking for gelf_getvernaux in -lelf" >&5 echo $ECHO_N "checking for gelf_getvernaux in -lelf... $ECHO_C" >&6 if test "${ac_cv_lib_elf_gelf_getvernaux+set}" = set; then d10561 1 a10561 3 ac_check_lib_save_LIBS=$LIBS LIBS="-lelf $LIBS" cat >conftest.$ac_ext <<_ACEOF d10563 4 a10566 6 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10573 9 a10581 1 char gelf_getvernaux (); d10585 9 a10593 1 gelf_getvernaux (); d10610 1 a10610 1 ac_cv_lib_elf_gelf_getvernaux=yes d10613 2 a10614 3 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_elf_gelf_getvernaux=no a10616 1 LIBS=$ac_check_lib_save_LIBS d10618 4 a10621 14 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_gelf_getvernaux" >&5 echo "${ECHO_T}$ac_cv_lib_elf_gelf_getvernaux" >&6 if test $ac_cv_lib_elf_gelf_getvernaux = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBELF 1 _ACEOF WITH_LIBELF_LIB="-lelf" fi d10624 3 a10626 28 if test -d elfutils/libelf ; then cat >>confdefs.h <<\_ACEOF #define HAVE_GELF_H 1 _ACEOF cat >>confdefs.h <<\_ACEOF #define HAVE_LIBELF 1 _ACEOF WITH_ELFUTILS_SUBDIR=elfutils WITH_LIBELF_INCLUDE="-I\${top_srcdir}/${WITH_ELFUTILS_SUBDIR}/libelf" WITH_LIBELF_LIB="\${top_builddir}/${WITH_ELFUTILS_SUBDIR}/libelf/libelf.a" fi fi WITH_LIBDWARF_INCLUDE= if test "${ac_cv_header_dwarf_h+set}" = set; then echo "$as_me:$LINENO: checking for dwarf.h" >&5 echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6 if test "${ac_cv_header_dwarf_h+set}" = set; then a10627 3 fi echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5 echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6 d10629 2 a10630 3 # Is the header compilable? echo "$as_me:$LINENO: checking dwarf.h usability" >&5 echo $ECHO_N "checking dwarf.h usability... $ECHO_C" >&6 d10633 22 a10654 1 /* confdefs.h. */ d10656 3 a10658 9 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 d10662 1 a10662 1 { ac_try='test -s conftest.$ac_objext' d10668 1 a10668 88 ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking dwarf.h presence" >&5 echo $ECHO_N "checking dwarf.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: dwarf.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: dwarf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: dwarf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: dwarf.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: dwarf.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: dwarf.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: dwarf.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: dwarf.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for dwarf.h" >&5 echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6 if test "${ac_cv_header_dwarf_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d10670 6 a10675 1 ac_cv_header_dwarf_h=$ac_header_preproc d10677 8 a10684 2 echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5 echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6 a10686 1 if test $ac_cv_header_dwarf_h = yes; then d10689 1 a10689 3 cat >>confdefs.h <<\_ACEOF #define HAVE_DWARF_H 1 _ACEOF d10691 1 d10695 6 a10700 1 if test -d elfutils/libdwarf ; then d10703 1 a10703 1 #define HAVE_DWARF_H 1 d10706 4 a10709 1 WITH_LIBDWARF_INCLUDE="-I\${top_srcdir}/${WITH_ELFUTILS_SUBDIR}/libdwarf" d10717 3 d10727 1 a10727 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10729 2 a10730 8 which can conflict with char setreuid (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a10733 1 { d10738 11 d10755 1 a10755 4 char (*f) () = setreuid; #endif #ifdef __cplusplus } a10757 4 int main () { return f != setreuid; d10777 1 a10777 2 sed 's/^/| /' conftest.$ac_ext >&5 d10797 1 a10797 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10806 6 d10835 1 a10835 2 sed 's/^/| /' conftest.$ac_ext >&5 d10858 1 a10858 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10860 2 a10861 8 which can conflict with char rand (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a10864 1 { d10869 11 d10886 1 a10886 4 char (*f) () = rand; #endif #ifdef __cplusplus } a10888 4 int main () { return f != rand; d10908 1 a10908 2 sed 's/^/| /' conftest.$ac_ext >&5 d10929 1 a10929 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10938 6 d10967 1 a10967 2 sed 's/^/| /' conftest.$ac_ext >&5 d10995 1 a10995 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d10997 2 a10998 8 which can conflict with char getdomainname (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a11001 1 { d11006 11 d11023 1 a11023 4 char (*f) () = getdomainname; #endif #ifdef __cplusplus } a11025 4 int main () { return f != getdomainname; d11045 1 a11045 2 sed 's/^/| /' conftest.$ac_ext >&5 d11066 1 a11066 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11075 6 d11104 1 a11104 2 sed 's/^/| /' conftest.$ac_ext >&5 d11131 1 a11131 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11133 2 a11134 8 which can conflict with char socket (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a11137 1 { d11142 11 d11159 1 a11159 4 char (*f) () = socket; #endif #ifdef __cplusplus } a11161 4 int main () { return f != socket; d11181 1 a11181 2 sed 's/^/| /' conftest.$ac_ext >&5 d11202 1 a11202 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11211 6 d11240 1 a11240 2 sed 's/^/| /' conftest.$ac_ext >&5 d11282 1 a11282 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11301 1 a11301 2 sed 's/^/| /' conftest.$ac_ext >&5 d11313 1 a11313 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11319 1 a11319 1 grep -v '^ *+' conftest.er1 >conftest.err d11336 1 a11336 2 sed 's/^/| /' conftest.$ac_ext >&5 d11349 1 a11349 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d11356 1 a11356 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d11389 1 a11389 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11398 6 d11427 1 a11427 2 sed 's/^/| /' conftest.$ac_ext >&5 d11454 1 a11454 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11463 6 d11492 1 a11492 2 sed 's/^/| /' conftest.$ac_ext >&5 d11519 1 a11519 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11528 6 d11557 1 a11557 2 sed 's/^/| /' conftest.$ac_ext >&5 d11599 1 a11599 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11618 1 a11618 2 sed 's/^/| /' conftest.$ac_ext >&5 d11630 1 a11630 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11636 1 a11636 1 grep -v '^ *+' conftest.er1 >conftest.err d11653 1 a11653 2 sed 's/^/| /' conftest.$ac_ext >&5 d11666 1 a11666 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d11673 1 a11673 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d11704 1 a11704 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11713 6 d11742 1 a11742 2 sed 's/^/| /' conftest.$ac_ext >&5 d11750 1 a11750 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11759 6 d11789 1 a11789 2 sed 's/^/| /' conftest.$ac_ext >&5 d11811 1 a11811 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11813 2 a11814 8 which can conflict with char fchmod (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a11817 1 { d11822 11 d11839 1 a11839 4 char (*f) () = fchmod; #endif #ifdef __cplusplus } a11841 4 int main () { return f != fchmod; d11861 1 a11861 2 sed 's/^/| /' conftest.$ac_ext >&5 d11882 1 a11882 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11884 2 a11885 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a11888 1 { d11893 11 d11910 1 a11910 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a11912 4 int main () { return f != $ac_func; d11932 1 a11932 2 sed 's/^/| /' conftest.$ac_ext >&5 d11958 1 a11958 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d11967 6 d11996 1 a11996 2 sed 's/^/| /' conftest.$ac_ext >&5 d12048 1 a12048 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12067 1 a12067 2 sed 's/^/| /' conftest.$ac_ext >&5 d12079 1 a12079 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12085 1 a12085 1 grep -v '^ *+' conftest.er1 >conftest.err d12102 1 a12102 2 sed 's/^/| /' conftest.$ac_ext >&5 d12115 1 a12115 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d12122 1 a12122 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d12152 1 a12152 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12154 2 a12155 8 which can conflict with char db_create (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a12158 1 { d12163 11 d12180 1 a12180 4 char (*f) () = db_create; #endif #ifdef __cplusplus } a12182 4 int main () { return f != db_create; d12202 1 a12202 2 sed 's/^/| /' conftest.$ac_ext >&5 d12221 1 a12221 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12230 6 d12259 1 a12259 2 sed 's/^/| /' conftest.$ac_ext >&5 d12279 1 a12279 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12288 6 d12317 1 a12317 2 sed 's/^/| /' conftest.$ac_ext >&5 d12337 1 a12337 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12346 6 d12375 1 a12375 2 sed 's/^/| /' conftest.$ac_ext >&5 d12395 1 a12395 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12404 6 d12433 1 a12433 2 sed 's/^/| /' conftest.$ac_ext >&5 d12471 1 a12471 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12480 6 d12510 1 a12510 2 sed 's/^/| /' conftest.$ac_ext >&5 d12576 1 a12576 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12585 6 d12614 1 a12614 2 sed 's/^/| /' conftest.$ac_ext >&5 d12645 1 a12645 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12654 6 d12683 1 a12683 2 sed 's/^/| /' conftest.$ac_ext >&5 d12710 1 a12710 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12719 6 d12748 1 a12748 2 sed 's/^/| /' conftest.$ac_ext >&5 d12768 1 a12768 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d12777 6 d12806 1 a12806 2 sed 's/^/| /' conftest.$ac_ext >&5 d13022 1 a13022 1 ac_config_commands="$ac_config_commands default-1" d13105 97 d13209 1 a13209 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13211 6 d13286 1 a13286 2 sed 's/^/| /' conftest.$ac_ext >&5 d13310 1 a13310 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13312 2 a13313 3 typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } d13332 1 a13332 2 sed 's/^/| /' conftest.$ac_ext >&5 d13360 1 a13360 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13362 6 d13394 1 a13394 2 sed 's/^/| /' conftest.$ac_ext >&5 d13418 1 a13418 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13420 6 d13452 1 a13452 2 sed 's/^/| /' conftest.$ac_ext >&5 d13478 1 a13478 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13480 6 d13509 1 a13509 2 sed 's/^/| /' conftest.$ac_ext >&5 d13531 1 a13531 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13553 6 d13582 1 a13582 2 sed 's/^/| /' conftest.$ac_ext >&5 d13616 1 a13616 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13625 1 a13625 1 $EGREP "webecray" >/dev/null 2>&1; then d13645 1 a13645 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13647 2 a13648 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a13651 1 { d13656 11 d13673 1 a13673 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a13675 4 int main () { return f != $ac_func; d13695 1 a13695 2 sed 's/^/| /' conftest.$ac_ext >&5 d13724 1 a13724 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13760 1 a13760 2 sed 's/^/| /' conftest.$ac_ext >&5 d13764 1 a13764 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d13796 1 a13796 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13815 1 a13815 2 sed 's/^/| /' conftest.$ac_ext >&5 d13827 1 a13827 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13833 1 a13833 1 grep -v '^ *+' conftest.er1 >conftest.err d13850 1 a13850 2 sed 's/^/| /' conftest.$ac_ext >&5 d13863 1 a13863 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d13870 1 a13870 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d13903 1 a13903 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d13905 2 a13906 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a13909 1 { d13914 11 d13931 1 a13931 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a13933 4 int main () { return f != $ac_func; d13953 1 a13953 2 sed 's/^/| /' conftest.$ac_ext >&5 d13978 1 a13978 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14121 1 a14121 2 sed 's/^/| /' conftest.$ac_ext >&5 d14125 1 a14125 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d14147 1 a14147 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14158 1 a14158 1 $EGREP "Lucky GNU user" >/dev/null 2>&1; then d14195 1 a14195 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14249 1 a14249 2 sed 's/^/| /' conftest.$ac_ext >&5 d14253 1 a14253 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d14277 1 a14277 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14280 6 d14309 1 a14309 2 sed 's/^/| /' conftest.$ac_ext >&5 d14332 1 a14332 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14335 6 d14364 1 a14364 2 sed 's/^/| /' conftest.$ac_ext >&5 d14387 1 a14387 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14389 6 d14419 1 a14419 2 sed 's/^/| /' conftest.$ac_ext >&5 d14458 1 a14458 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14461 6 d14490 1 a14490 2 sed 's/^/| /' conftest.$ac_ext >&5 d14517 1 a14517 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d14523 6 d14552 1 a14552 2 sed 's/^/| /' conftest.$ac_ext >&5 d15131 1 a15131 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15150 1 a15150 2 sed 's/^/| /' conftest.$ac_ext >&5 d15162 1 a15162 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15168 1 a15168 1 grep -v '^ *+' conftest.er1 >conftest.err d15185 1 a15185 2 sed 's/^/| /' conftest.$ac_ext >&5 d15198 1 a15198 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d15205 1 a15205 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d15260 1 a15260 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15262 2 a15263 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a15266 1 { d15271 11 d15288 1 a15288 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a15290 4 int main () { return f != $ac_func; d15310 1 a15310 2 sed 's/^/| /' conftest.$ac_ext >&5 d15366 1 a15366 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15369 6 d15400 1 a15400 2 sed 's/^/| /' conftest.$ac_ext >&5 d15408 1 a15408 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15411 6 d15443 1 a15443 2 sed 's/^/| /' conftest.$ac_ext >&5 d15481 1 a15481 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15495 6 d15524 1 a15524 2 sed 's/^/| /' conftest.$ac_ext >&5 d15551 1 a15551 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15553 6 d15582 1 a15582 2 sed 's/^/| /' conftest.$ac_ext >&5 d15607 1 a15607 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15609 6 d15638 1 a15638 2 sed 's/^/| /' conftest.$ac_ext >&5 d15780 1 a15780 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d15784 6 d15814 1 a15814 2 sed 's/^/| /' conftest.$ac_ext >&5 d16213 1 a16213 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16221 6 d16251 1 a16251 2 sed 's/^/| /' conftest.$ac_ext >&5 d16259 1 a16259 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16267 6 d16300 1 a16300 2 sed 's/^/| /' conftest.$ac_ext >&5 d16446 1 a16446 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a16451 7 int main () { ; return 0; } d16453 2 a16454 3 rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 d16456 3 d16460 10 a16469 7 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d16473 2 a16474 3 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no d16476 1 a16476 1 rm -f conftest.$ac_objext conftest.$ac_ext d16482 1 a16482 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16487 1 a16487 1 $EGREP "memchr" >/dev/null 2>&1; then d16500 1 a16500 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16505 1 a16505 1 $EGREP "free" >/dev/null 2>&1; then d16521 1 a16521 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16527 1 a16527 2 # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ d16560 1 a16560 2 sed 's/^/| /' conftest.$ac_ext >&5 d16564 1 a16564 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d16585 1 a16585 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16587 6 d16616 1 a16616 2 sed 's/^/| /' conftest.$ac_ext >&5 d16640 1 a16640 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16659 1 a16659 2 sed 's/^/| /' conftest.$ac_ext >&5 d16671 1 a16671 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16677 1 a16677 1 grep -v '^ *+' conftest.er1 >conftest.err d16694 1 a16694 2 sed 's/^/| /' conftest.$ac_ext >&5 d16707 1 a16707 10 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d16714 1 a16714 10 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d16752 1 a16752 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16771 1 a16771 2 sed 's/^/| /' conftest.$ac_ext >&5 d16783 1 a16783 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16789 1 a16789 1 grep -v '^ *+' conftest.er1 >conftest.err d16806 1 a16806 2 sed 's/^/| /' conftest.$ac_ext >&5 d16819 1 a16819 10 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d16826 1 a16826 10 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d16866 1 a16866 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16870 6 d16900 1 a16900 2 sed 's/^/| /' conftest.$ac_ext >&5 d16927 1 a16927 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16936 6 d16965 1 a16965 2 sed 's/^/| /' conftest.$ac_ext >&5 d16973 1 a16973 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d16982 6 d17012 1 a17012 2 sed 's/^/| /' conftest.$ac_ext >&5 d17036 1 a17036 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17045 6 d17074 1 a17074 2 sed 's/^/| /' conftest.$ac_ext >&5 d17082 1 a17082 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17091 6 d17121 1 a17121 2 sed 's/^/| /' conftest.$ac_ext >&5 d17144 1 a17144 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17149 6 d17179 1 a17179 2 sed 's/^/| /' conftest.$ac_ext >&5 d17219 1 a17219 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17238 1 a17238 2 sed 's/^/| /' conftest.$ac_ext >&5 d17250 1 a17250 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17256 1 a17256 1 grep -v '^ *+' conftest.er1 >conftest.err d17273 1 a17273 2 sed 's/^/| /' conftest.$ac_ext >&5 d17286 1 a17286 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17293 1 a17293 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17336 1 a17336 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17355 1 a17355 2 sed 's/^/| /' conftest.$ac_ext >&5 d17367 1 a17367 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17373 1 a17373 1 grep -v '^ *+' conftest.er1 >conftest.err d17390 1 a17390 2 sed 's/^/| /' conftest.$ac_ext >&5 d17403 1 a17403 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17410 1 a17410 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17451 1 a17451 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17470 1 a17470 2 sed 's/^/| /' conftest.$ac_ext >&5 d17482 1 a17482 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17488 1 a17488 1 grep -v '^ *+' conftest.er1 >conftest.err d17505 1 a17505 2 sed 's/^/| /' conftest.$ac_ext >&5 d17518 1 a17518 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17525 1 a17525 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17568 1 a17568 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17587 1 a17587 2 sed 's/^/| /' conftest.$ac_ext >&5 d17599 1 a17599 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17605 1 a17605 1 grep -v '^ *+' conftest.er1 >conftest.err d17622 1 a17622 2 sed 's/^/| /' conftest.$ac_ext >&5 d17635 1 a17635 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17642 1 a17642 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17683 1 a17683 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17702 1 a17702 2 sed 's/^/| /' conftest.$ac_ext >&5 d17714 1 a17714 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17720 1 a17720 1 grep -v '^ *+' conftest.er1 >conftest.err d17737 1 a17737 2 sed 's/^/| /' conftest.$ac_ext >&5 d17750 1 a17750 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17757 1 a17757 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17797 1 a17797 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17816 1 a17816 2 sed 's/^/| /' conftest.$ac_ext >&5 d17828 1 a17828 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17834 1 a17834 1 grep -v '^ *+' conftest.er1 >conftest.err d17851 1 a17851 2 sed 's/^/| /' conftest.$ac_ext >&5 d17864 1 a17864 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17871 1 a17871 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17913 1 a17913 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17932 1 a17932 2 sed 's/^/| /' conftest.$ac_ext >&5 d17944 1 a17944 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d17950 1 a17950 1 grep -v '^ *+' conftest.er1 >conftest.err d17967 1 a17967 2 sed 's/^/| /' conftest.$ac_ext >&5 d17980 1 a17980 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d17987 1 a17987 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18030 1 a18030 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18049 1 a18049 2 sed 's/^/| /' conftest.$ac_ext >&5 d18061 1 a18061 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18067 1 a18067 1 grep -v '^ *+' conftest.er1 >conftest.err d18084 1 a18084 2 sed 's/^/| /' conftest.$ac_ext >&5 d18097 1 a18097 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18104 1 a18104 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18146 1 a18146 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18165 1 a18165 2 sed 's/^/| /' conftest.$ac_ext >&5 d18177 1 a18177 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18183 1 a18183 1 grep -v '^ *+' conftest.er1 >conftest.err d18200 1 a18200 2 sed 's/^/| /' conftest.$ac_ext >&5 d18213 1 a18213 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18220 1 a18220 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18261 1 a18261 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18280 1 a18280 2 sed 's/^/| /' conftest.$ac_ext >&5 d18292 1 a18292 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18298 1 a18298 1 grep -v '^ *+' conftest.er1 >conftest.err d18315 1 a18315 2 sed 's/^/| /' conftest.$ac_ext >&5 d18328 1 a18328 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18335 1 a18335 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18375 1 a18375 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18394 1 a18394 2 sed 's/^/| /' conftest.$ac_ext >&5 d18406 1 a18406 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18412 1 a18412 1 grep -v '^ *+' conftest.er1 >conftest.err d18429 1 a18429 2 sed 's/^/| /' conftest.$ac_ext >&5 d18442 1 a18442 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18449 1 a18449 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18490 1 a18490 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18509 1 a18509 2 sed 's/^/| /' conftest.$ac_ext >&5 d18521 1 a18521 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18527 1 a18527 1 grep -v '^ *+' conftest.er1 >conftest.err d18544 1 a18544 2 sed 's/^/| /' conftest.$ac_ext >&5 d18557 1 a18557 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18564 1 a18564 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18605 1 a18605 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18624 1 a18624 2 sed 's/^/| /' conftest.$ac_ext >&5 d18636 1 a18636 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18642 1 a18642 1 grep -v '^ *+' conftest.er1 >conftest.err d18659 1 a18659 2 sed 's/^/| /' conftest.$ac_ext >&5 d18672 1 a18672 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18679 1 a18679 10 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d18709 1 a18709 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18715 6 d18751 1 a18751 2 sed 's/^/| /' conftest.$ac_ext >&5 d18759 1 a18759 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18765 6 d18801 1 a18801 2 sed 's/^/| /' conftest.$ac_ext >&5 d18809 1 a18809 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18818 6 d18854 1 a18854 2 sed 's/^/| /' conftest.$ac_ext >&5 d18862 1 a18862 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18868 6 d18904 1 a18904 2 sed 's/^/| /' conftest.$ac_ext >&5 d18919 1 a18919 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d18937 6 d18973 1 a18973 2 sed 's/^/| /' conftest.$ac_ext >&5 d18991 1 a18991 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19030 1 a19030 2 sed 's/^/| /' conftest.$ac_ext >&5 d19035 1 a19035 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d19048 1 a19048 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19050 2 a19051 3 typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } d19070 1 a19070 2 sed 's/^/| /' conftest.$ac_ext >&5 d19097 1 a19097 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19099 6 d19128 1 a19128 2 sed 's/^/| /' conftest.$ac_ext >&5 d19145 1 a19145 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19147 6 d19176 1 a19176 2 sed 's/^/| /' conftest.$ac_ext >&5 d19194 1 a19194 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19196 6 d19225 1 a19225 2 sed 's/^/| /' conftest.$ac_ext >&5 d19243 1 a19243 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19245 6 d19274 1 a19274 2 sed 's/^/| /' conftest.$ac_ext >&5 d19292 1 a19292 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19294 6 d19323 1 a19323 2 sed 's/^/| /' conftest.$ac_ext >&5 d19337 1 a19337 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19339 6 d19371 1 a19371 2 sed 's/^/| /' conftest.$ac_ext >&5 d19395 1 a19395 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19397 6 d19429 1 a19429 2 sed 's/^/| /' conftest.$ac_ext >&5 d19456 1 a19456 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19458 6 d19487 1 a19487 2 sed 's/^/| /' conftest.$ac_ext >&5 d19509 1 a19509 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19531 6 d19560 1 a19560 2 sed 's/^/| /' conftest.$ac_ext >&5 d19594 1 a19594 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19603 1 a19603 1 $EGREP "webecray" >/dev/null 2>&1; then d19623 1 a19623 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19625 2 a19626 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a19629 1 { d19634 11 d19651 1 a19651 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a19653 4 int main () { return f != $ac_func; d19673 1 a19673 2 sed 's/^/| /' conftest.$ac_ext >&5 d19702 1 a19702 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19738 1 a19738 2 sed 's/^/| /' conftest.$ac_ext >&5 d19742 1 a19742 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d19766 1 a19766 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19768 2 a19769 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a19772 1 { d19777 11 d19794 1 a19794 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a19796 4 int main () { return f != $ac_func; d19816 1 a19816 2 sed 's/^/| /' conftest.$ac_ext >&5 d19835 1 a19835 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19837 2 a19838 8 which can conflict with char _doprnt (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a19841 1 { d19846 11 d19863 1 a19863 4 char (*f) () = _doprnt; #endif #ifdef __cplusplus } a19865 4 int main () { return f != _doprnt; d19885 1 a19885 2 sed 's/^/| /' conftest.$ac_ext >&5 d19924 1 a19924 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d19926 2 a19927 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a19930 1 { d19935 11 d19952 1 a19952 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a19954 4 int main () { return f != $ac_func; d19974 1 a19974 2 sed 's/^/| /' conftest.$ac_ext >&5 d20002 1 a20002 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20004 2 a20005 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20008 1 { d20013 11 d20030 1 a20030 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20032 4 int main () { return f != $ac_func; d20052 1 a20052 2 sed 's/^/| /' conftest.$ac_ext >&5 d20083 1 a20083 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20085 2 a20086 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20089 1 { d20094 11 d20111 1 a20111 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20113 4 int main () { return f != $ac_func; d20133 1 a20133 2 sed 's/^/| /' conftest.$ac_ext >&5 d20160 1 a20160 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20162 2 a20163 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20166 1 { d20171 11 d20188 1 a20188 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20190 4 int main () { return f != $ac_func; d20210 1 a20210 2 sed 's/^/| /' conftest.$ac_ext >&5 d20237 1 a20237 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20239 2 a20240 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20243 1 { d20248 11 d20265 1 a20265 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20267 4 int main () { return f != $ac_func; d20287 1 a20287 2 sed 's/^/| /' conftest.$ac_ext >&5 d20321 1 a20321 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20323 2 a20324 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20327 1 { d20332 11 d20349 1 a20349 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20351 4 int main () { return f != $ac_func; d20371 1 a20371 2 sed 's/^/| /' conftest.$ac_ext >&5 d20406 1 a20406 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20432 1 a20432 2 sed 's/^/| /' conftest.$ac_ext >&5 d20436 1 a20436 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d20476 1 a20476 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20498 1 a20498 2 sed 's/^/| /' conftest.$ac_ext >&5 d20502 1 a20502 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d20517 1 a20517 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20539 1 a20539 2 sed 's/^/| /' conftest.$ac_ext >&5 d20543 1 a20543 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d20673 1 a20673 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20675 2 a20676 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20679 1 { d20684 11 d20701 1 a20701 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20703 4 int main () { return f != $ac_func; d20723 1 a20723 2 sed 's/^/| /' conftest.$ac_ext >&5 d20750 1 a20750 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20752 2 a20753 8 which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20756 1 { d20761 11 d20778 1 a20778 4 char (*f) () = $ac_func; #endif #ifdef __cplusplus } a20780 4 int main () { return f != $ac_func; d20800 1 a20800 2 sed 's/^/| /' conftest.$ac_ext >&5 d20823 1 a20823 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20825 2 a20826 8 which can conflict with char getmntent (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20829 1 { d20834 11 d20851 1 a20851 4 char (*f) () = getmntent; #endif #ifdef __cplusplus } a20853 4 int main () { return f != getmntent; d20873 1 a20873 2 sed 's/^/| /' conftest.$ac_ext >&5 d20895 1 a20895 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20897 2 a20898 8 which can conflict with char mntctl (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20901 1 { d20906 11 d20923 1 a20923 4 char (*f) () = mntctl; #endif #ifdef __cplusplus } a20925 4 int main () { return f != mntctl; d20945 1 a20945 2 sed 's/^/| /' conftest.$ac_ext >&5 d20967 1 a20967 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d20969 2 a20970 8 which can conflict with char getmntinfo_r (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a20973 1 { d20978 11 d20995 1 a20995 4 char (*f) () = getmntinfo_r; #endif #ifdef __cplusplus } a20997 4 int main () { return f != getmntinfo_r; d21017 1 a21017 2 sed 's/^/| /' conftest.$ac_ext >&5 d21041 1 a21041 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d21050 6 d21079 1 a21079 2 sed 's/^/| /' conftest.$ac_ext >&5 d21118 1 a21118 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d21120 2 a21121 8 which can conflict with char lchown (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif a21124 1 { d21129 11 d21146 1 a21146 4 char (*f) () = lchown; #endif #ifdef __cplusplus } a21148 4 int main () { return f != lchown; d21168 1 a21168 2 sed 's/^/| /' conftest.$ac_ext >&5 d21241 1 a21241 5 /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d21284 1 a21284 2 sed 's/^/| /' conftest.$ac_ext >&5 d21288 1 a21288 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a21401 6 MARK64= case "${target_cpu}" in x86_64*|ppc64*|powerpc64*|sparc64*|s390x*) MARK64=64 ;; esac d21403 14 a21416 17 *86) RPMCANONCOLOR=0; RPMCANONARCH=i386 ;; x86_64*) RPMCANONCOLOR=0; RPMCANONARCH=x86_64 ;; alpha*) RPMCANONCOLOR=0; RPMCANONARCH=alpha ;; sparc*) RPMCANONCOLOR=0; RPMCANONARCH=sparc ;; ia64*) RPMCANONCOLOR=0; RPMCANONARCH=ia64 ;; s390x*) RPMCANONCOLOR=0; RPMCANONARCH=s390x ;; s390*) RPMCANONCOLOR=0; RPMCANONARCH=s390 ;; powerpc64*|ppc64*) RPMCANONCOLOR=0; RPMCANONARCH=ppc64 ;; powerpc*|ppc*) RPMCANONCOLOR=0; RPMCANONARCH=ppc ;; armv3l*) RPMCANONCOLOR=0; RPMCANONARCH=armv3l ;; armv4l*) RPMCANONCOLOR=0; RPMCANONARCH=armv4l ;; armv4b*) RPMCANONCOLOR=0; RPMCANONARCH=armv4b ;; arm*) RPMCANONCOLOR=0; RPMCANONARCH="${build_cpu}" ;; mipsel*) RPMCANONCOLOR=0; RPMCANONARCH=mipsel ;; mips*) RPMCANONCOLOR=0; RPMCANONARCH=mips ;; m68k*) RPMCANONCOLOR=0; RPMCANONARCH=m68k ;; *) RPMCANONCOLOR=0; RPMCANONARCH=unknown ;; a21436 1 d21491 1 a21491 1 LIBRPMALIAS_FILENAME="${RPMCONFIGDIR}/rpmpopt-4.1" d21526 1 a21526 1 subdirs="$subdirs popt beecrypt zlib elfutils file db3" d21529 2 a21530 2 ac_config_files="$ac_config_files Doxyfile Makefile rpmrc macros platform rpmpopt rpm.spec rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile scripts/Makefile scripts/brp-redhat scripts/macros.perl scripts/macros.php scripts/macros.python tools/Makefile tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile misc/Makefile intl/Makefile po/Makefile.in doc/Makefile doc/manual/Makefile doc/fr/Makefile doc/ja/Makefile doc/ko/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile python/Makefile python/rpmdb/Makefile python/test/Makefile" ac_config_commands="$ac_config_commands default" d21541 1 a21541 1 # `ac_cv_env_foo' variables (set or unset) will be overridden when d21576 1 a21576 1 if diff $cache_file confcache >/dev/null 2>&1; then :; else a21606 15 ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs a21627 2 ac_cs_recheck=false ac_cs_silent=false d21632 1 a21640 3 # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' d21645 1 d21653 24 a21676 32 # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi d21680 1 a21680 1 as_me=`$as_basename "$0" || a21690 1 d21701 4 a21704 4 echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then d21709 1 a21709 1 rm -f conf$$.sh a21757 2 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } a21830 6 if mkdir -p . 2>/dev/null; then as_mkdir_p=: else as_mkdir_p=false fi d21847 1 a21847 1 $as_unset CDPATH d21864 1 a21864 1 generated by GNU Autoconf 2.57. Invocation command line was a21903 1 -q, --quiet do not print progress messages d21926 1 a21926 1 configured by $0, generated by GNU Autoconf 2.57, d21947 3 a21949 6 ac_shift=: ;; -*) ac_option=$1 ac_optarg=$2 ac_shift=shift d21951 1 a21953 1 ac_option=$1 d21957 1 a21957 1 case $ac_option in d21960 5 a21965 2 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; d21980 2 a21981 2 $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" d21984 2 a21985 2 $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" a21986 3 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; a22000 14 ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi a22080 3 # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. d22089 1 a22089 1 d22091 1 a22091 1 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && d22095 1 a22095 1 tmp=./confstat$$-$RANDOM d22099 1 a22099 1 echo "$me: cannot create a temporary directory in ." >&2 a22190 1 s,@@EGREP@@,$EGREP,;t t a22202 1 s,@@LDFLAGS_NPTL@@,$LDFLAGS_NPTL,;t t d22250 1 a22250 1 s,@@WITH_ELFUTILS_SUBDIR@@,$WITH_ELFUTILS_SUBDIR,;t t d22253 1 a22253 1 s,@@WITH_LIBDWARF_INCLUDE@@,$WITH_LIBDWARF_INCLUDE,;t t a22295 2 s,@@MARK64@@,$MARK64,;t t s,@@RPMCANONCOLOR@@,$RPMCANONCOLOR,;t t a22314 1 s,@@LTLIBOBJS@@,$LTLIBOBJS,;t t d22385 19 a22403 24 { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } d22433 1 a22433 1 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` d22623 1 a22623 1 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS d22647 1 a22647 1 echo ' fi # grep' >>$CONFIG_STATUS d22687 1 a22687 1 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then d22703 19 a22721 24 { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } d22786 1 a22786 1 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` d22855 19 a22873 24 { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } a23002 3 ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" d23004 1 a23004 1 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false d23059 19 a23077 24 { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } d23107 1 a23107 1 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` @ 1.1.1.22 log @Import: RPM 4.2 @ text @d1803 1 a1803 1 VERSION=4.2 d23200 1 a23200 1 x86_64*) RPMCANONCOLOR=3; RPMCANONARCH=x86_64 ;; d23204 1 a23204 1 s390x*) RPMCANONCOLOR=3; RPMCANONARCH=s390x ;; d23206 1 a23206 1 powerpc64*|ppc64*) RPMCANONCOLOR=3; RPMCANONARCH=ppc64 ;; d23291 1 a23291 1 LIBRPMALIAS_FILENAME="${RPMCONFIGDIR}/rpmpopt-${VERSION}" @ 1.1.1.23 log @Import: RPM 4.2.1 @ text @d471 1 a471 1 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE AS RPMUSER RPMUID RPMGROUP RPMGID CTAGS CSCOPE LDFLAGS_STATIC LDFLAGS_NPTL FIXPERMS MKDIR MKDIR_P U ANSI2KNR LN_S ECHO RANLIB ac_ct_RANLIB LIBTOOL AR ac_ct_AR BZIP2BIN __CAT __CHGRP __CHMOD __CHOWN __CP __CPIO __FILE __GPG __GREP GZIPBIN UNZIPBIN __ID __ID_U __INSTALL __MAKE __MKDIR __MV __PATCH __PERL PGPBIN __PYTHON __RM __RSH __SED __SSH __TAR __LD __NM __OBJCOPY __OBJDUMP __STRIP WITH_ZLIB_SUBDIR WITH_ZLIB_INCLUDE WITH_ZLIB_LIB WITH_ELFUTILS_SUBDIR WITH_LIBELF_INCLUDE WITH_LIBELF_LIB WITH_LIBDWARF_INCLUDE WITH_BEECRYPT_SUBDIR WITH_BEECRYPT_INCLUDE WITH_BEECRYPT_LIB WITH_DB_SUBDIR WITH_INTERNAL_DB DBLIBSRCS DBLIBOBJS libdb3 libdb3a WITH_BZIP2 MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBOBJS WITH_PYTHON_SUBDIR WITH_PYTHON_SUBPACKAGE WITH_PYTHON_VERSION __DOXYGEN WITH_APIDOCS_TARGET WITH_APIDOCS __CHOWN_RHF __CHGRP_RHF ROOT_GROUP varprefix tmpdir MARK64 RPMCANONCOLOR autorelocate_path RPMCANONARCH RPMCANONVENDOR RPMCANONOS LOCALEDIR LIBDIR RPMCONFIGDIR SYSCONFIGDIR MACROFILES LIBRPMRC_FILENAME VENDORRPMRC_FILENAME LIBRPMALIAS_FILENAME FINDREQUIRES FINDPROVIDES testdir INCPATH LIBMISC RPM OBJDUMP subdirs LTLIBOBJS' d1574 1 a1574 1 am__api_version="1.7" a1792 9 rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null a1800 10 # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi d1803 1 a1803 1 VERSION=4.2.1 d1929 2 d1935 2 d2807 10 a2816 1 DEPDIR="${am__leading_dot}deps" d2823 1 a2823 1 am__doit: a2824 1 .PHONY: am__doit d2839 1 a2839 1 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then d2930 1 a2930 2 $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ >/dev/null 2>conftest.err && d2933 2 a2934 7 # icc doesn't choke on unknown options, it will just issue warnings # (even with -Werror). So we grep stderr for any message # that says an option was ignored. if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi a2950 12 if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi d3977 1 a3977 2 $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ >/dev/null 2>conftest.err && d3980 2 a3981 7 # icc doesn't choke on unknown options, it will just issue warnings # (even with -Werror). So we grep stderr for any message # that says an option was ignored. if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else am_cv_CXX_dependencies_compiler_type=$depmode break fi a3996 12 if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi d6642 1 a6642 1 echo '#line 6685 "configure"' > conftest.$ac_ext d7171 1 a7171 1 if { (eval echo configure:7214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then d8355 1 a8355 1 echo '#line 8398 "configure"' > conftest.$ac_ext d9027 1 a9027 1 #line 9070 "configure" d9125 1 a9125 1 #line 9168 "configure" a11815 221 WITH_BEECRYPT_SUBDIR= WITH_BEECRYPT_INCLUDE= WITH_BEECRYPT_LIB= if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5 echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5 echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5 echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6 if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5 echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6 fi if test $ac_cv_header_beecrypt_beecrypt_h = yes; then echo "$as_me:$LINENO: checking for mpfprintln in -lbeecrypt" >&5 echo $ECHO_N "checking for mpfprintln in -lbeecrypt... $ECHO_C" >&6 if test "${ac_cv_lib_beecrypt_mpfprintln+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lbeecrypt $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mpfprintln (); int main () { mpfprintln (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_beecrypt_mpfprintln=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_beecrypt_mpfprintln=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_mpfprintln" >&5 echo "${ECHO_T}$ac_cv_lib_beecrypt_mpfprintln" >&6 if test $ac_cv_lib_beecrypt_mpfprintln = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBBEECRYPT 1 _ACEOF WITH_BEECRYPT_INCLUDE="-I/usr/include/beecrypt" WITH_BEECRYPT_LIB="-lbeecrypt" fi else if test -d beecrypt ; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBBEECRYPT 1 _ACEOF WITH_BEECRYPT_SUBDIR=beecrypt WITH_BEECRYPT_INCLUDE="-I\${top_srcdir}/${WITH_BEECRYPT_SUBDIR}" WITH_BEECRYPT_LIB="\${top_builddir}/${WITH_BEECRYPT_SUBDIR}/libbeecrypt.la" fi fi a23197 1 autorelocate_path='%{nil}' d23203 1 a23203 2 ia64*) RPMCANONCOLOR=2; RPMCANONARCH=ia64; autorelocate_path='/emul/%%{ARCH}-%%{OS}' ;; a23236 1 a23428 14 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi a24017 1 s,@@CYGPATH_W@@,$CYGPATH_W,;t t a24031 1 s,@@am__leading_dot@@,$am__leading_dot,;t t a24045 2 s,@@am__fastdepCC_TRUE@@,$am__fastdepCC_TRUE,;t t s,@@am__fastdepCC_FALSE@@,$am__fastdepCC_FALSE,;t t a24051 2 s,@@am__fastdepCXX_TRUE@@,$am__fastdepCXX_TRUE,;t t s,@@am__fastdepCXX_FALSE@@,$am__fastdepCXX_FALSE,;t t a24111 3 s,@@WITH_BEECRYPT_SUBDIR@@,$WITH_BEECRYPT_SUBDIR,;t t s,@@WITH_BEECRYPT_INCLUDE@@,$WITH_BEECRYPT_INCLUDE,;t t s,@@WITH_BEECRYPT_LIB@@,$WITH_BEECRYPT_LIB,;t t a24155 1 s,@@autorelocate_path@@,$autorelocate_path,;t t d24601 5 a24605 8 # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; a24606 13 done echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`/stamp-h$_am_stamp_count @