Index: libfakekey-0.1/configure.ac
===================================================================
--- libfakekey-0.1.orig/configure.ac	2005-10-02 18:07:34.000000000 -0400
+++ libfakekey-0.1/configure.ac	2013-04-22 15:28:21.000000000 -0400
@@ -19,6 +19,7 @@
 AC_SUBST(LT_CURRENT)
 AC_SUBST(LT_REVISION)
 LT_AGE=0
+AC_SUBST(LT_AGE)
 
 LT_VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
 AC_SUBST(LT_VERSION_INFO)
Index: libfakekey-0.1/tests/Makefile.am
===================================================================
--- libfakekey-0.1.orig/tests/Makefile.am	2005-10-02 18:07:34.000000000 -0400
+++ libfakekey-0.1/tests/Makefile.am	2013-04-22 15:32:54.661512682 -0400
@@ -2,4 +2,4 @@
 
 noinst_PROGRAMS=fakekey-test
 
-fakekey_test_LDADD=../src/libfakekey.la
\ No newline at end of file
+fakekey_test_LDADD=../src/libfakekey.la -lX11
