diff configure.ac @ 488:073733da4b6c

Link in -lX11 if found (for X error handling)
author Chris Cannam
date Thu, 19 Jan 2012 14:44:35 +0000
parents 6750452fcbe6
children 066274002a4c
line wrap: on
line diff
--- a/configure.ac	Fri Jan 13 17:43:19 2012 +0000
+++ b/configure.ac	Thu Jan 19 14:44:35 2012 +0000
@@ -95,6 +95,9 @@
 SV_MODULE_OPTIONAL([mad],[mad >= 0.15.0],[mad.h],[mad],[mad_decoder_init])
 SV_MODULE_OPTIONAL([id3tag],[id3tag >= 0.15.0],[id3tag.h],[id3tag],[id3_tag_new])
 
+# Link in -lX11 if it exists -- this is for the X error handler
+SV_MODULE_OPTIONAL([X11],[x11 >= 1.0.0],[X11/X.h],[x11],[XGetErrorText])
+
 AC_SUBST(PERL)
 AC_SUBST(XARGS)
 AC_SUBST(MAKEDEPEND)