Lines Matching +full:debian +full:- +full:release

10 	DEBUG_CFLAGS="-Werror"
11 DEBUG_CPPFLAGS="-DDEBUG -UNDEBUG"
17 KERNEL_DEBUG_CFLAGS="-Werror"
18 KERNEL_DEBUG_CPPFLAGS="-DDEBUG -UNDEBUG"
23 DEBUG_CPPFLAGS="-UDEBUG -DNDEBUG"
29 KERNEL_DEBUG_CPPFLAGS="-UDEBUG -DNDEBUG"
34 dnl # - Enable all ASSERTs (-DDEBUG)
35 dnl # - Promote all compiler warnings to errors (-Werror)
43 [AS_HELP_STRING([--enable-debug],
82 DEBUG_CFLAGS="$DEBUG_CFLAGS -g -fno-inline $NO_IPA_SRA"
84 KERNEL_DEBUG_CFLAGS="$KERNEL_DEBUG_CFLAGS -fno-inline $KERNEL_NO_IPA_SRA"
97 [AS_HELP_STRING([--enable-debuginfo],
126 AC_ARG_ENABLE([debug-kmem],
127 [AS_HELP_STRING([--enable-debug-kmem],
133 KERNEL_DEBUG_CPPFLAGS="${KERNEL_DEBUG_CPPFLAGS} -DDEBUG_KMEM"
147 dnl # also requires --enable-debug-kmem to be set. When enabled not only will
156 AC_ARG_ENABLE([debug-kmem-tracking],
157 [AS_HELP_STRING([--enable-debug-kmem-tracking],
163 KERNEL_DEBUG_CPPFLAGS="${KERNEL_DEBUG_CPPFLAGS} -DDEBUG_KMEM_TRACKING"
176 AS_IF([sysctl -n kern.conftxt | grep -Fqx $'options\tINVARIANTS'],
196 [AS_HELP_STRING([--enable-invariants],
215 AC_ARG_ENABLE([objtool-werror],
216 [AS_HELP_STRING([--enable-objtool-werror],
224 AC_MSG_NOTICE([enable-objtool-werror defined, keeping -Werror ])
226 AC_MSG_NOTICE([enable-objtool-werror undefined, disabling -Werror ])
229 AS_IF([test -x $abs_objtool_binary],[],[
235 dnl # We can't enable --Werror if it's not there.
238 *** Cannot enable objtool-werror,
282 rm -Rf build
286 AS_HELP_STRING([--with-config=CONFIG],
289 AC_ARG_ENABLE([linux-builtin],
290 [AS_HELP_STRING([--enable-linux-builtin],
291 [Configure for builtin in-tree kernel modules @<:@default=no@:>@])],
322 AC_MSG_ERROR([Bad value "$ZFS_CONFIG" for --with-config,
331 [test "$ZFS_CONFIG" = user -o "$ZFS_CONFIG" = all])
333 [test "$ZFS_CONFIG" = kernel -o "$ZFS_CONFIG" = all] &&
336 [test "$ZFS_CONFIG" = kernel -o "$ZFS_CONFIG" = all] &&
345 dnl # are missing it is non-fatal but you will not be able to build
351 dnl # the --with-spec=<distribution> configure option.
358 AS_IF([tmp=$($RPM --version 2>/dev/null)], [
368 AS_IF([tmp=$($RPMBUILD --version 2>/dev/null)], [
377 RPM_DEFINE_COMMON='--define "$(DEBUG_ZFS) 1"'
378 RPM_DEFINE_COMMON=${RPM_DEFINE_COMMON}' --define "$(DEBUGINFO_ZFS) 1"'
379 RPM_DEFINE_COMMON=${RPM_DEFINE_COMMON}' --define "$(DEBUG_KMEM_ZFS) 1"'
380 RPM_DEFINE_COMMON=${RPM_DEFINE_COMMON}' --define "$(DEBUG_KMEM_TRACKING_ZFS) 1"'
381 RPM_DEFINE_COMMON=${RPM_DEFINE_COMMON}' --define "$(ASAN_ZFS) 1"'
382 RPM_DEFINE_COMMON=${RPM_DEFINE_COMMON}' --define "$(UBSAN_ZFS) 1"'
385 RPM_DEFINE_COMMON=${RPM_DEFINE_COMMON}' --define "__strip /bin/true"'
388 RPM_DEFINE_UTIL=' --define "_initconfdir $(initconfdir)"'
393 dnl # ./configure --with-config=srpm
395 AS_IF([test -n "$dracutdir" ], [
396 RPM_DEFINE_UTIL=${RPM_DEFINE_UTIL}' --define "_dracutdir $(dracutdir)"'
398 AS_IF([test -n "$udevdir" ], [
399 RPM_DEFINE_UTIL=${RPM_DEFINE_UTIL}' --define "_udevdir $(udevdir)"'
401 AS_IF([test -n "$udevruledir" ], [
402 RPM_DEFINE_UTIL=${RPM_DEFINE_UTIL}' --define "_udevruledir $(udevruledir)"'
404 AS_IF([test -n "$bashcompletiondir" ], [
405 RPM_DEFINE_UTIL=${RPM_DEFINE_UTIL}' --define "_bashcompletiondir $(bashcompletiondir)"'
413 dnl # Override default lib directory on Debian/Ubuntu systems. The
419 dnl # https://wiki.debian.org/Multiarch/Implementation
422 MULTIARCH_LIBDIR="lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)"
423 RPM_DEFINE_UTIL=${RPM_DEFINE_UTIL}' --define "_lib $(MULTIARCH_LIBDIR)"'
431 RPM_DEFINE_KMOD='--define "_wrong_version_format_terminate_build 0"'
433 RPM_DEFINE_KMOD=${RPM_DEFINE_KMOD}' --define "kernels $(LINUX_VERSION)"'
434 RPM_DEFINE_KMOD=${RPM_DEFINE_KMOD}' --define "ksrc $(LINUX)"'
435 RPM_DEFINE_KMOD=${RPM_DEFINE_KMOD}' --define "kobj $(LINUX_OBJ)"'
436 RPM_DEFINE_KMOD=${RPM_DEFINE_KMOD}' --define "kernel_cc KERNEL_CC=$(KERNEL_CC)"'
437 RPM_DEFINE_KMOD=${RPM_DEFINE_KMOD}' --define "kernel_ld KERNEL_LD=$(KERNEL_LD)"'
438 RPM_DEFINE_KMOD=${RPM_DEFINE_KMOD}' --define "kernel_llvm KERNEL_LLVM=$(KERNEL_LLVM)"'
439 …RPM_DEFINE_KMOD=${RPM_DEFINE_KMOD}' --define "kernel_cross_compile KERNEL_CROSS_COMPILE=$(KERNEL_C…
440 RPM_DEFINE_KMOD=${RPM_DEFINE_KMOD}' --define "kernel_arch KERNEL_ARCH=$(KERNEL_ARCH)"'
445 SRPM_DEFINE_COMMON='--define "build_src_rpm 1"'
452 AS_HELP_STRING([--with-spec=SPEC],
479 dnl # Check for dpkg+dpkg-buildpackage to build DEB packages. If these
480 dnl # tools are missing it is non-fatal but you will not be able to build
485 DPKGBUILD=dpkg-buildpackage
488 AS_IF([tmp=$($DPKG --version 2>/dev/null)], [
489 DPKG_VERSION=$(echo $tmp | $AWK '/Debian/ { print $[7] }')
498 AS_IF([tmp=$($DPKGBUILD --version 2>/dev/null)], [
500 $AWK '/Debian/ { print $[4] }' | cut -f-4 -d'.')
528 AS_IF([tmp=$($ALIEN --version 2>/dev/null)], [
530 ALIEN_MAJOR=$(echo ${ALIEN_VERSION} | $AWK -F'.' '{ print $[1] }')
531 ALIEN_MINOR=$(echo ${ALIEN_VERSION} | $AWK -F'.' '{ print $[2] }')
532 ALIEN_POINT=$(echo ${ALIEN_VERSION} | $AWK -F'.' '{ print $[3] }')
555 [AS_HELP_STRING([--with-vendor],
560 if test -f /etc/alpine-release ; then
562 elif test -f /etc/arch-release ; then
564 elif test -f /etc/artix-release ; then
566 elif test -f /etc/fedora-release ; then
568 elif test -f /bin/freebsd-version ; then
570 elif test -f /etc/gentoo-release ; then
572 elif test -f /etc/lunar.release ; then
574 elif test -f /etc/openEuler-release ; then
576 elif test -f /etc/SuSE-release ; then
578 elif test -f /etc/slackware-version ; then
580 elif test -f /etc/toss-release ; then
582 elif test -f /etc/lsb-release ; then
584 # put debian and redhat last as derivatives may have also their file
585 elif test -f /etc/debian_version ; then
586 VENDOR=debian ;
587 elif test -f /etc/redhat-release ; then
603 debian|ubuntu)
624 alpine|gentoo) DEFAULT_INIT_SHELL=/sbin/openrc-run
626 artix) DEFAULT_INIT_SHELL=/usr/bin/openrc-run
637 AS_IF([test "$VENDOR" = "debian"],
638 [DEFAULT_INIT_NFS_SERVER="nfs-kernel-server"],
656 # debian|ubuntu
663 AC_MSG_CHECKING([whether initramfs-tools is available])
664 if test -d /usr/share/initramfs-tools ; then
665 RPM_DEFINE_INITRAMFS='--define "_initramfs 1"'
675 alpine|arch|artix|debian|gentoo|ubuntu)
676 bashcompletiondir=/usr/share/bash-completion/completions