1 diff -Naur orig.meterbridge-0.9.3/configure.in meterbridge-0.9.3/configure.in
2 --- orig.meterbridge-0.9.3/configure.in 2019-01-24 17:00:49.573488552 -0800
3 +++ meterbridge-0.9.3/configure.in 2019-01-24 17:01:49.105270619 -0800
5 # Checks for libraries.
6 AC_CHECK_LIB([pthread], [pthread_self], , [AC_MSG_ERROR(You need libpthread installed)])
7 AC_CHECK_LIB([m], [sqrt], , [AC_MSG_ERROR(Can't find libm)])
8 +AC_CHECK_LIB([X11], [XInitThreads], , [AC_MSG_ERROR(You need Xlib instaled)])
10 # Checks for packages.
11 AM_PATH_SDL(1.2.0, , AC_MSG_ERROR([Requires SDL 1.2 or later]))
12 diff -Naur orig.meterbridge-0.9.3/src/main.c meterbridge-0.9.3/src/main.c
13 --- orig.meterbridge-0.9.3/src/main.c 2019-01-24 17:00:49.573488552 -0800
14 +++ meterbridge-0.9.3/src/main.c 2019-01-24 17:02:23.251050690 -0800
17 #include <jack/jack.h>
19 +#include <X11/Xlib.h>
24 meter_t meter_type = MET_PPM;
25 char window_name[256];
26 char *us_client_name = NULL;
30 while ((opt = getopt(argc, argv, "t:r:c:n:g:h")) != -1) {