e2fsprogs/e2fsprogs-1.35-libdir.diff

20 lines
752 B
Diff

--- configure.in
+++ configure.in
@@ -553,6 +553,7 @@
else
AC_CHECK_PROGS(BUILD_CC, gcc cc)
fi
+AC_HEADER_TIME
AC_CHECK_HEADERS(stdlib.h unistd.h stdarg.h stdint.h errno.h malloc.h mntent.h paths.h dirent.h getopt.h setjmp.h signal.h termios.h linux/fd.h linux/major.h sys/disklabel.h sys/ioctl.h sys/mkdev.h sys/prctl.h sys/queue.h sys/sockio.h sys/socket.h sys/sysmacros.h sys/time.h sys/stat.h sys/types.h sys/wait.h sys/resource.h net/if_dl.h netinet/in.h)
AC_CHECK_HEADERS(sys/disk.h sys/mount.h,,,
[[
@@ -751,7 +752,7 @@
else
root_bindir='${root_prefix}/bin'
root_sbindir='${root_prefix}/sbin'
- root_libdir='${root_prefix}/lib'
+ root_libdir='${root_prefix}/$(lib)'
root_sysconfdir='${root_prefix}/etc'
fi
AC_SUBST(root_prefix)