From: Saverio Proto Date: Wed, 2 Apr 2014 16:22:36 +0000 (+0200) Subject: Fixing autotools X-Git-Url: http://git.meshlink.io/?p=meshlink;a=commitdiff_plain;h=cedcf6bb311509310f8af4c22c928c2d1610d796;hp=6c22423d3419b3c0d74228e42280f764da399b2f Fixing autotools --- diff --git a/configure.ac b/configure.ac index 4059f60d..32b618c5 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,7 @@ AC_PROG_CC_C99 AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S +AC_PROG_LIBTOOL AM_PROG_CC_C_O diff --git a/src/Makefile.am b/src/Makefile.am index ed0c27a5..6c2ab9a9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -70,7 +70,6 @@ tincd_SOURCES = \ xalloc.h tinc_SOURCES = \ - libmeshlink.c libmeshlink.h \ dropin.c dropin.h \ getopt.c getopt.h \ getopt1.c \ @@ -98,6 +97,10 @@ sptps_speed_SOURCES = \ sptps_speed.c \ utils.c utils.h +lib_LTLIBRARIES = libmeshlink.la + +libmeshlink_la_SOURCES = \ + libmeshlink.c libmeshlink.h ## Conditionally compile device drivers