Check for presence of fseeko() regardless of utmp type.
This commit is contained in:
14
configure
vendored
14
configure
vendored
@@ -2910,6 +2910,7 @@ as_fn_append ac_func_list " pwrite"
|
|||||||
as_fn_append ac_func_list " faccessat"
|
as_fn_append ac_func_list " faccessat"
|
||||||
as_fn_append ac_func_list " wordexp"
|
as_fn_append ac_func_list " wordexp"
|
||||||
as_fn_append ac_func_list " getauxval"
|
as_fn_append ac_func_list " getauxval"
|
||||||
|
as_fn_append ac_func_list " fseeko"
|
||||||
as_fn_append ac_func_list " seteuid"
|
as_fn_append ac_func_list " seteuid"
|
||||||
# Check that the precious variables saved in the cache have kept the same
|
# Check that the precious variables saved in the cache have kept the same
|
||||||
# value.
|
# value.
|
||||||
@@ -19617,6 +19618,8 @@ done
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
hpux*)
|
hpux*)
|
||||||
if test X"$ac_cv_func_pread" = X"yes"; then
|
if test X"$ac_cv_func_pread" = X"yes"; then
|
||||||
@@ -20065,17 +20068,6 @@ if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
|||||||
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
||||||
_ACEOF
|
_ACEOF
|
||||||
break
|
break
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
for ac_func in fseeko
|
|
||||||
do :
|
|
||||||
ac_fn_c_check_func "$LINENO" "fseeko" "ac_cv_func_fseeko"
|
|
||||||
if test "x$ac_cv_func_fseeko" = xyes; then :
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
|
||||||
#define HAVE_FSEEKO 1
|
|
||||||
_ACEOF
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@@ -2564,7 +2564,7 @@ dnl
|
|||||||
dnl Function checks
|
dnl Function checks
|
||||||
dnl
|
dnl
|
||||||
AC_FUNC_GETGROUPS
|
AC_FUNC_GETGROUPS
|
||||||
AC_CHECK_FUNCS_ONCE([fexecve killpg nl_langinfo pread pwrite faccessat wordexp getauxval])
|
AC_CHECK_FUNCS_ONCE([fexecve killpg nl_langinfo pread pwrite faccessat wordexp getauxval fseeko])
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
hpux*)
|
hpux*)
|
||||||
if test X"$ac_cv_func_pread" = X"yes"; then
|
if test X"$ac_cv_func_pread" = X"yes"; then
|
||||||
@@ -2660,7 +2660,6 @@ utmp_style=LEGACY
|
|||||||
AC_CHECK_FUNCS([getutsid getutxid getutid], [utmp_style=POSIX; break])
|
AC_CHECK_FUNCS([getutsid getutxid getutid], [utmp_style=POSIX; break])
|
||||||
if test "$utmp_style" = "LEGACY"; then
|
if test "$utmp_style" = "LEGACY"; then
|
||||||
AC_CHECK_FUNCS([getttyent ttyslot], [break])
|
AC_CHECK_FUNCS([getttyent ttyslot], [break])
|
||||||
AC_CHECK_FUNCS([fseeko])
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_FUNCS([sysctl], [AC_CHECK_FUNCS([devname])
|
AC_CHECK_FUNCS([sysctl], [AC_CHECK_FUNCS([devname])
|
||||||
|
Reference in New Issue
Block a user