aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-07-04 04:15:49 -0700
committerSylvain Munaut <tnt@246tNt.com>2013-02-10 19:49:29 +0100
commit206968b827f5197174afc4e8c7cb53551d97705f (patch)
tree7e159419643ee7bc111ffb4dd1305b5b3394984c
parentbddfec6997831d19d35321220587fb1de3fdf63f (diff)
build: remove redundant AC_PROG_LIBTOOL and use LT_INIT(pic-only).
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--configure.ac3
-rw-r--r--src/Makefile.am2
2 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index c380b21..41e6c5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,8 +11,7 @@ dnl checks for programs
AC_PROG_MAKE_SET
AC_PROG_CC
AC_PROG_INSTALL
-LT_INIT
-AC_PROG_LIBTOOL
+LT_INIT([pic-only])
AC_PATH_PROG(DOXYGEN,doxygen,false)
AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYGEN != false)
diff --git a/src/Makefile.am b/src/Makefile.am
index 39a7429..b647898 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,7 +3,7 @@
LIBVERSION=0:0:0
INCLUDES = $(all_includes) -I$(top_srcdir)/include
-AM_CFLAGS = -fPIC -Wall -ffast-math
+AM_CFLAGS = -Wall -ffast-math
lib_LTLIBRARIES = libosmodsp.la