aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-search.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-30 18:35:02 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-30 18:35:02 +0000
commit93fba12ad8159dc6b683f9e7ce9f0528a11047f5 (patch)
tree73b1bd212c6c5a32adb924d208d8a315b606e854 /src/fs/gnunet-search.c
parentcfd880578bd21f9adedba557291c903d325e93cd (diff)
downloadgnunet-93fba12ad8159dc6b683f9e7ce9f0528a11047f5.tar.gz
gnunet-93fba12ad8159dc6b683f9e7ce9f0528a11047f5.zip
make libextractor actually optional, both for GNUnet and GNUnet-taler builds
Diffstat (limited to 'src/fs/gnunet-search.c')
-rw-r--r--src/fs/gnunet-search.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/gnunet-search.c b/src/fs/gnunet-search.c
index 395fb9ffe..9065922e1 100644
--- a/src/fs/gnunet-search.c
+++ b/src/fs/gnunet-search.c
@@ -82,9 +82,15 @@ item_printer (void *cls, const char *plugin_name, enum EXTRACTOR_MetaType type,
82 return 0; 82 return 0;
83 if (type == EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME) 83 if (type == EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME)
84 return 0; 84 return 0;
85#if HAVE_LIBEXTRACTOR
85 printf ("\t%20s: %s\n", 86 printf ("\t%20s: %s\n",
86 dgettext (LIBEXTRACTOR_GETTEXT_DOMAIN, 87 dgettext (LIBEXTRACTOR_GETTEXT_DOMAIN,
87 EXTRACTOR_metatype_to_string (type)), data); 88 EXTRACTOR_metatype_to_string (type)), data);
89#else
90 printf ("\t%20d: %s\n",
91 type,
92 data);
93#endif
88 return 0; 94 return 0;
89} 95}
90 96