summaryrefslogtreecommitdiff
path: root/sysdeps/mach/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/configure')
-rw-r--r--sysdeps/mach/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/configure b/sysdeps/mach/configure
index fb1d8b0979..dafdac5abb 100644
--- a/sysdeps/mach/configure
+++ b/sysdeps/mach/configure
@@ -5,8 +5,8 @@
ac_help="$ac_help
--with-mach=DIRECTORY find Mach kernel source code in DIRECTORY [../mach]"
# Check whether --with-mach or --without-mach was given.
-withval="$with_mach"
-if test -n "$withval"; then
+if test "${with_mach+set}" = set; then
+ withval="$with_mach"
case z"$with_mach" in
z | zno | zyes) ;; # Not specified, or specified with no value.
z*) config_vars="$config_vars