* xtables-addons: build fix for --without-kbuild
@ 2009-11-03 13:54 Natanael Copa
2009-11-03 13:54 ` [PATCH] build: fix --without-kbuild Natanael Copa
2009-11-03 16:47 ` xtables-addons: build fix for --without-kbuild Jan Engelhardt
0 siblings, 2 replies; 3+ messages in thread
From: Natanael Copa @ 2009-11-03 13:54 UTC (permalink / raw)
To: netfilter-devel
Hi,
The --without-build is useful when your distro has multiple kernels
but you want a common package for userspace stuff. Patch fixes the
configure script.
Thanks!
-nc
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] build: fix --without-kbuild
2009-11-03 13:54 xtables-addons: build fix for --without-kbuild Natanael Copa
@ 2009-11-03 13:54 ` Natanael Copa
2009-11-03 16:47 ` xtables-addons: build fix for --without-kbuild Jan Engelhardt
1 sibling, 0 replies; 3+ messages in thread
From: Natanael Copa @ 2009-11-03 13:54 UTC (permalink / raw)
To: netfilter-devel; +Cc: Natanael Copa
Patch fixes ./configure --without-kbuild
---
configure.ac | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3475611..3b84fb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,11 +9,18 @@ AM_PROG_CC_C_O
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
-kbuilddir="/lib/modules/$(uname -r)/build";
AC_ARG_WITH([kbuild],
AS_HELP_STRING([--with-kbuild=PATH],
[Path to kernel build directory [[/lib/modules/CURRENT/build]]]),
- [kbuilddir="$withval"])
+ [kbuilddir="$withval"],
+ [kbuilddir="/lib/modules/$(uname -r)/build"])
+#
+# check for --without-kbuild
+#
+if [[ "$kbuilddir" = no ]]; then
+ kbuilddir=
+fi
+
AC_ARG_WITH([ksource],,[ksourcedir="$withval"])
AC_ARG_WITH([xtables],
AS_HELP_STRING([--with-xtables=PATH],
--
1.6.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: xtables-addons: build fix for --without-kbuild
2009-11-03 13:54 xtables-addons: build fix for --without-kbuild Natanael Copa
2009-11-03 13:54 ` [PATCH] build: fix --without-kbuild Natanael Copa
@ 2009-11-03 16:47 ` Jan Engelhardt
1 sibling, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2009-11-03 16:47 UTC (permalink / raw)
To: Natanael Copa; +Cc: netfilter-devel
On Tuesday 2009-11-03 14:54, Natanael Copa wrote:
>Hi,
>
>The --without-build is useful when your distro has multiple kernels
>but you want a common package for userspace stuff. Patch fixes the
>configure script.
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-03 16:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-03 13:54 xtables-addons: build fix for --without-kbuild Natanael Copa
2009-11-03 13:54 ` [PATCH] build: fix --without-kbuild Natanael Copa
2009-11-03 16:47 ` xtables-addons: build fix for --without-kbuild Jan Engelhardt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.