Fix a typo.
diff --git a/Modules/makesetup b/Modules/makesetup
index dcb19b0..b22933d 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -65,7 +65,7 @@
 
 # Set default libdir and config if not set by command line
 # (Not all systems have dirname)
-case $srcdir in
+case $libdir in
 '')	case $0 in
 	*/*)	libdir=`echo $0 | sed 's,/[^/]*$,,'`;;
 	*)	libdir=.;;