Re-add --with-lockdir=DIR configure option
[mmh] / sbr / lock_file.c
index b62604a..7309c86 100644 (file)
 #include <lockfile.h>
 #endif
 
-#ifdef LOCKDIR
+#ifdef DOT_LOCKING
+# ifdef LOCKDIR
 char *lockdir = LOCKDIR;
+# endif
 #endif
 
 /* Are we using any kernel locking? */