rmdir(2) should return ENOTEMPTY
[zfs.git] / configure
index 23c90c2..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}`
@@ -16750,15 +16757,15 @@ cat >>conftest.$ac_ext <<_ACEOF
 
 
                #include <linux/dcache.h>
+               struct vfsmount *d_automount(struct path *p) { return NULL; }
+               struct dentry_operations dops __attribute__ ((unused)) = {
+                       .d_automount = d_automount,
+               };
 
 int
 main (void)
 {
 
-               struct vfsmount *(*d_automount) (struct path *) = NULL;
-               struct dentry_operations dops __attribute__ ((unused)) = {
-                       .d_automount = d_automount,
-               };
 
   ;
   return 0;
 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}`
@@ -24359,15 +24373,15 @@ cat >>conftest.$ac_ext <<_ACEOF
 
 
                #include <linux/dcache.h>
+               struct vfsmount *d_automount(struct path *p) { return NULL; }
+               struct dentry_operations dops __attribute__ ((unused)) = {
+                       .d_automount = d_automount,
+               };
 
 int
 main (void)
 {
 
-               struct vfsmount *(*d_automount) (struct path *) = NULL;
-               struct dentry_operations dops __attribute__ ((unused)) = {
-                       .d_automount = d_automount,
-               };
 
   ;
   return 0;