diff options
author | Darik Horn <[email protected]> | 2011-04-14 14:01:22 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-04-21 09:41:09 -0700 |
commit | ad35b6a6e99a0e0962d6a33e181784cada44c3c0 (patch) | |
tree | d50e4fc460fc38cf2bdc163b864defbd1fb0d82a /config/spl-build.m4 | |
parent | fa6f7d8f9d4760975ea5fe116a7366604f286195 (diff) |
Remove the gawk dependency.
This reverts commit 1814251453c8140f50170ad29d9105c1273d7e08.
Demote the gawk call back to awk and ensure that stderr is attached. GNU gawk
tolerates a missing stderr handle, but many utilities do not, which could be
why a regular awk call was unexplainably failing on some systems.
Use argv[0] instead of sh_path for consistency internally and with other Linux
drivers.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'config/spl-build.m4')
-rw-r--r-- | config/spl-build.m4 | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4 index 97b38234b..b25db38f3 100644 --- a/config/spl-build.m4 +++ b/config/spl-build.m4 @@ -212,24 +212,9 @@ AC_DEFUN([SPL_AC_KERNEL_CONFIG], [ ]) dnl # -dnl # Explicitly check for gawk, we require it for the the usermode -dnl # helper. For some reason the standard awk command does not -dnl # behave correctly when invoked from the usermode helper. -dnl # -AC_DEFUN([SPL_AC_GAWK], [ - AS_IF([test "x$AWK" != xgawk], [ - AC_MSG_ERROR([ - *** Required util gawk missing. Please install the required - *** gawk package for your distribution and try again.]) - ]) -]) - -dnl # dnl # Default SPL user configuration dnl # -AC_DEFUN([SPL_AC_CONFIG_USER], [ - SPL_AC_GAWK -]) +AC_DEFUN([SPL_AC_CONFIG_USER], []) dnl # dnl # Check for rpm+rpmbuild to build RPM packages. If these tools |