diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2017-03-13 19:38:27 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2017-03-15 10:02:32 +0000 |
commit | 44e9aa27d5bce3a5cbd2eaf9b6d96b389786d022 (patch) | |
tree | 0de83d33a6fd570aec9c08f9105980bc08459fd2 | |
parent | 24830fe38257c6b0df8fa86acfa8cdb08eb41dcf (diff) |
configure.ac: remove unused AC_PROG_LIBTOOL
We're creating a single binary with no static/shared libraries.
We implicitly relied on the macro to pull AC_PROG_CC, so we should add
it now, otherwise configure will fail.
As a nice bonus, with the last three commits combined the execution time
of autogen.sh drops by more than half.
before after
real 0m7.965s 0m3.661s
user 0m4.530s 0m1.280s
sys 0m0.280s 0m0.070s
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index a6abf78..7caf0fe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,9 +25,6 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} bin_PROGRAMS = kmscube -kmscube_LDFLAGS = \ - -no-undefined - kmscube_LDADD = \ $(DRM_LIBS) \ $(GBM_LIBS) \ diff --git a/configure.ac b/configure.ac index 9b92d0e..2fe99d1 100644 --- a/configure.ac +++ b/configure.ac @@ -30,12 +30,11 @@ AC_CONFIG_MACRO_DIR([m4]) # Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) +AC_PROG_CC + # Enable quiet compiles on automake 1.11. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) -# Initialize libtool -AC_PROG_LIBTOOL - # Obtain compiler/linker options for depedencies PKG_CHECK_MODULES(DRM, libdrm) PKG_CHECK_MODULES(GBM, gbm) |