rmdir(2) should return ENOTEMPTY
[zfs.git] / configure
index 83fc2a8..714aaad 100755 (executable)
--- a/configure
+++ b/configure
 fi
 
 
+                                                               if test -z "$sourcelink" || test ! -e $sourcelink/spl_config.h; then
+
+                       sourcelink="$LINUX"
+
+fi
+
+
                if test -e $sourcelink/spl_config.h; then
 
                        splsrc=`readlink -f ${sourcelink}`
 fi
 
 
+                                                               if test -z "$sourcelink" || test ! -e $sourcelink/spl_config.h; then
+
+                       sourcelink="$LINUX"
+
+fi
+
+
                if test -e $sourcelink/spl_config.h; then
 
                        splsrc=`readlink -f ${sourcelink}`