Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
This commit is contained in:
commit
9a73e95247
|
@ -20,15 +20,21 @@ AC_DEFUN([ZFS_AC_DEBUG], [
|
||||||
)
|
)
|
||||||
if test "$zfs_ac_debug" = yes; then
|
if test "$zfs_ac_debug" = yes; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
|
AC_DEFINE([DEBUG], [1],
|
||||||
|
[Define to 1 to enable debug tracing])
|
||||||
KERNELCPPFLAGS="${KERNELCPPFLAGS} -DDEBUG "
|
KERNELCPPFLAGS="${KERNELCPPFLAGS} -DDEBUG "
|
||||||
HOSTCFLAGS="${HOSTCFLAGS} -DDEBUG "
|
HOSTCFLAGS="${HOSTCFLAGS} -DDEBUG "
|
||||||
|
USERDEBUG="-DDEBUG"
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
AC_DEFINE([NDEBUG], [1],
|
AC_DEFINE([NDEBUG], [1],
|
||||||
[Define to 1 to disable debug tracing])
|
[Define to 1 to disable debug tracing])
|
||||||
KERNELCPPFLAGS="${KERNELCPPFLAGS} -DNDEBUG "
|
KERNELCPPFLAGS="${KERNELCPPFLAGS} -DNDEBUG "
|
||||||
HOSTCFLAGS="${HOSTCFLAGS} -DNDEBUG "
|
HOSTCFLAGS="${HOSTCFLAGS} -DNDEBUG "
|
||||||
|
USERDEBUG="-DNDEBUG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_SUBST(USERDEBUG)
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_DEFUN([ZFS_AC_CONFIG_SCRIPT], [
|
AC_DEFUN([ZFS_AC_CONFIG_SCRIPT], [
|
||||||
|
|
|
@ -24,10 +24,10 @@ DESCRIPTION:
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
-h Show this message
|
-h Show this message
|
||||||
-v Verbose
|
-v Verbose
|
||||||
|
-f Force everything
|
||||||
-c Configuration for zpool
|
-c Configuration for zpool
|
||||||
-p Name for zpool
|
-p Name for zpool
|
||||||
-d Destroy zpool (default create)
|
-d Destroy zpool (default create)
|
||||||
-f Force everything
|
|
||||||
-l Additional zpool options
|
-l Additional zpool options
|
||||||
-s Additional zfs options
|
-s Additional zfs options
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue