summary refs log tree commit diff
path: root/sysdeps/mach/hurd/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/configure')
-rwxr-xr-xsysdeps/mach/hurd/configure4
1 files changed, 2 insertions, 2 deletions
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