summaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/configure4
-rwxr-xr-xsysdeps/mach/hurd/configure4
2 files changed, 4 insertions, 4 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
diff --git a/sysdeps/mach/hurd/configure b/sysdeps/mach/hurd/configure
index a396cd0024..b756758f15 100755
--- a/sysdeps/mach/hurd/configure
+++ b/sysdeps/mach/hurd/configure
@@ -5,8 +5,8 @@
ac_help="$ac_help
--with-hurd=DIRECTORY find Hurd source code in DIRECTORY [../hurd]"
# Check whether --with-hurd or --without-hurd was given.
-withval="$with_hurd"
-if test -n "$withval"; then
+if test "${with_hurd+set}" = set; then
+ withval="$with_hurd"
case z"$with_hurd" in
z | zno | zyes) ;; # Not specified, or specified with no value.
z*) config_vars="$config_vars