Mercurial > MadButterfly
diff src/Makefile.am @ 694:7e64e0f70cb6
Switch XSHM with autoconf
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 09 Aug 2010 12:03:46 +0800 |
parents | 8b7964869f7a |
children | 586e50f82c1f |
line wrap: on
line diff
--- a/src/Makefile.am Mon Aug 09 10:03:54 2010 +0800 +++ b/src/Makefile.am Mon Aug 09 12:03:46 2010 +0800 @@ -36,11 +36,17 @@ libmbfly_la_SOURCES += X_supp.c endif +libmbfly_la_LDFLAGS = + if CAIRO_GRAPH_ENGINE libmbfly_la_SOURCES += graph_engine_cairo.c libmbfly_la_CPPFLAGS = @cairo_CFLAGS@ @pangocairo_CFLAGS@ -libmbfly_la_LDFLAGS = @cairo_LIBS@ @pangocairo_LIBS@ -lXext +libmbfly_la_LDFLAGS += @cairo_LIBS@ @pangocairo_LIBS@ +endif + +if XSHM +libmbfly_la_LDFLAGS += -lXext endif if SKIA_GRAPH_ENGINE