Skip to content

Commit

Permalink
Check ac_cv_sys_file_offset_bits against empty string
Browse files Browse the repository at this point in the history
May fix issue jstedfast#158
  • Loading branch information
jstedfast committed May 11, 2024
1 parent 38b07b6 commit de4f1b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ AC_CHECK_HEADERS(inttypes.h)
AC_CHECK_HEADERS(langinfo.h)
AC_CHECK_HEADERS(string.h)
AC_CHECK_HEADERS(stdlib.h)
AC_CHECK_HEADERS(stdint.h)
AC_CHECK_HEADERS(fcntl.h)
AC_CHECK_HEADERS(netdb.h)
AC_CHECK_HEADERS(time.h)
Expand Down Expand Up @@ -460,7 +461,7 @@ if test "x$enable_largefile" != "xno"; then
enable_largefile="yes"
fi

if test "x$ac_cv_sys_file_offset_bits" != "xno"; then
if test "x$ac_cv_sys_file_offset_bits" != "x"; then
LFS_CFLAGS="$LFS_CFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
enable_largefile="yes"
fi
Expand Down

0 comments on commit de4f1b0

Please sign in to comment.