From 93fba12ad8159dc6b683f9e7ce9f0528a11047f5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 30 May 2015 18:35:02 +0000 Subject: make libextractor actually optional, both for GNUnet and GNUnet-taler builds --- src/fs/gnunet-publish.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/fs/gnunet-publish.c') diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index b213218e4..7844acd96 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c @@ -348,7 +348,11 @@ meta_printer (void *cls, return 0; if (EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME == type) return 0; +#if HAVE_LIBEXTRACTOR FPRINTF (stdout, "\t%s - %s\n", EXTRACTOR_metatype_to_string (type), data); +#else + FPRINTF (stdout, "\t%d - %s\n", type, data); +#endif return 0; } -- cgit v1.2.3