diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-30 18:35:02 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-30 18:35:02 +0000 |
commit | 93fba12ad8159dc6b683f9e7ce9f0528a11047f5 (patch) | |
tree | 73b1bd212c6c5a32adb924d208d8a315b606e854 /src/fs/gnunet-publish.c | |
parent | cfd880578bd21f9adedba557291c903d325e93cd (diff) | |
download | gnunet-93fba12ad8159dc6b683f9e7ce9f0528a11047f5.tar.gz gnunet-93fba12ad8159dc6b683f9e7ce9f0528a11047f5.zip |
make libextractor actually optional, both for GNUnet and GNUnet-taler builds
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r-- | src/fs/gnunet-publish.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, | |||
348 | return 0; | 348 | return 0; |
349 | if (EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME == type) | 349 | if (EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME == type) |
350 | return 0; | 350 | return 0; |
351 | #if HAVE_LIBEXTRACTOR | ||
351 | FPRINTF (stdout, "\t%s - %s\n", EXTRACTOR_metatype_to_string (type), data); | 352 | FPRINTF (stdout, "\t%s - %s\n", EXTRACTOR_metatype_to_string (type), data); |
353 | #else | ||
354 | FPRINTF (stdout, "\t%d - %s\n", type, data); | ||
355 | #endif | ||
352 | return 0; | 356 | return 0; |
353 | } | 357 | } |
354 | 358 | ||