(Fconcord_genre_ds): Add "#ifdef HAVE_LIBCHISE"..."#endif" for code to
authortomo <tomo>
Fri, 7 Jan 2011 05:45:29 +0000 (05:45 +0000)
committertomo <tomo>
Fri, 7 Jan 2011 05:45:29 +0000 (05:45 +0000)
refer Vchise_system_db_directory.

src/concord.c

index 7ecc153..7b1b9cc 100644 (file)
@@ -249,8 +249,10 @@ Return concord-ds of GENRE.
   CHECK_SYMBOL (genre);
 
   retval = Fgethash (genre, Vconcord_genre_hash_table, Qunbound);
+#ifdef HAVE_LIBCHISE
   if ( UNBOUNDP (retval) )
     retval = Vchise_system_db_directory;
+#endif
   if ( STRINGP (retval) )
     {
       retval = Fconcord_open_ds (retval, Qnil, Qnil, Qnil);