summaryrefslogtreecommitdiff
path: root/camlibs/ax203
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2010-12-29 21:48:45 +0000
committerMarcus Meissner <marcus@jet.franken.de>2010-12-29 21:48:45 +0000
commitb36a56cbb1f0de1a0b715f4c137b0cd1a6b2907a (patch)
treeeeed37256d10ce249ac7a3bca00a6508f88bf94a /camlibs/ax203
parent173a4c5860bd33e276c469bb6ea3311d3daf06fc (diff)
downloadlibgphoto2-b36a56cbb1f0de1a0b715f4c137b0cd1a6b2907a.tar.gz
report if no libGD is presebt
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13468 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/ax203')
-rw-r--r--camlibs/ax203/ax203.c2
-rw-r--r--camlibs/ax203/library.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/camlibs/ax203/ax203.c b/camlibs/ax203/ax203.c
index f5a67f78d..8ff4445fd 100644
--- a/camlibs/ax203/ax203.c
+++ b/camlibs/ax203/ax203.c
@@ -1140,6 +1140,7 @@ ax203_decode_image(Camera *camera, char *src, int src_size, int **dest)
break;
}
#endif
+ gp_log(GP_LOG_ERROR,"ax203", "GD decompression not supported - no libGD present during build");
/* Never reached */
return GP_ERROR_NOT_SUPPORTED;
}
@@ -1217,6 +1218,7 @@ ax203_encode_image(Camera *camera, int **src, char *dest, int dest_size)
}
/* Never reached */
#endif
+ gp_log(GP_LOG_ERROR,"ax203", "GD decompression not supported - no libGD present during build");
return GP_ERROR_NOT_SUPPORTED;
}
diff --git a/camlibs/ax203/library.c b/camlibs/ax203/library.c
index ae4846a29..ad07cd8a1 100644
--- a/camlibs/ax203/library.c
+++ b/camlibs/ax203/library.c
@@ -215,6 +215,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename,
gdFree (gdpng);
return ret;
#else
+ gp_log(GP_LOG_ERROR,"ax203", "GD decompression not supported - no libGD present during build");
return GP_ERROR_NOT_SUPPORTED;
#endif
}
@@ -299,6 +300,7 @@ put_file_func (CameraFilesystem *fs, const char *folder, const char *name,
gdImageDestroy (im_out);
return ret;
#else
+ gp_log(GP_LOG_ERROR,"ax203", "GD compression not supported - no libGD present during build");
return GP_ERROR_NOT_SUPPORTED;
#endif
}