From f4f8d0c5dd56c27433fd99003f13bce8dc68bcc5 Mon Sep 17 00:00:00 2001
From: Jean-Yves Lamoureux <jylam@lnxscene.org>
Date: Tue, 6 Nov 2007 16:07:03 +0000
Subject: [PATCH]  * Added imlib2 note on builds without it

---
 src/img2txt.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/img2txt.c b/src/img2txt.c
index b584e07..cc2cf11 100644
--- a/src/img2txt.c
+++ b/src/img2txt.c
@@ -67,6 +67,10 @@ static void usage(int argc, char **argv)
     fprintf(stderr, "\t\t\tps   : Postscript\n");
     fprintf(stderr, "\t\t\tsvg  : Scalable Vector Graphics\n");
     fprintf(stderr, "\t\t\ttga  : Targa Image\n\n");
+
+#if !defined(USE_IMLIB2)
+    fprintf(stderr, "NOTE: This program has NOT been built with Imlib2 support. Only BMP loading is supported.\n");
+#endif
 }
 
 int main(int argc, char **argv)