mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
use --exec-prefix=/ otherwise automounting NTFS can fail during boot
This commit is contained in:
parent
a6663562b5
commit
5869f4b2cc
10
configure.ac
10
configure.ac
@ -42,6 +42,16 @@ if test "x$prefix" = "xNONE"; then
|
||||
ac_configure_args="$ac_configure_args --prefix $prefix"
|
||||
fi
|
||||
|
||||
# Executables should be installed to the root filesystem, otherwise
|
||||
# automounting NTFS volumes can fail during boot if the driver binaries
|
||||
# (ntfs-3g, fuse) are on an unmounted partition.
|
||||
if test "x$exec_prefix" = "xNONE"; then
|
||||
exec_prefix=/
|
||||
ac_configure_args="$ac_configure_args --exec-prefix $exec_prefix"
|
||||
fi
|
||||
|
||||
AC_MSG_NOTICE([Setting exec_prefix to $exec_prefix])
|
||||
|
||||
# Command-line options.
|
||||
AC_ARG_ENABLE(debug,
|
||||
AS_HELP_STRING(--enable-debug,enable additional debugging code and
|
||||
|
Loading…
Reference in New Issue
Block a user