Преглед на файлове

fix build with no libX11 on the system

Samuel Thibault преди 14 години
родител
ревизия
393582ec25
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      examples/Makefile.am

+ 2 - 0
examples/Makefile.am

@@ -677,5 +677,7 @@ examplebin_PROGRAMS +=				\
 mandelbrot_mandelbrot_SOURCES =			\
 	mandelbrot/mandelbrot.c
 
+if HAVE_X11
 mandelbrot_mandelbrot_CPPFLAGS = $(X_CFLAGS)
 mandelbrot_mandelbrot_LDADD = $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS)
+endif