Files
main/network/analyzer/rrdtool/files/0001_rrdtool-1.4.7-configure.ac.patch
T
2015-07-28 10:10:58 +03:00

23 lines
492 B
Diff

diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -148,7 +148,7 @@
AC_PROG_CPP
AC_PROG_CC
AM_PROG_CC_C_O
-AC_PROG_LIBTOOL
+LT_INIT
dnl Try to detect/use GNU features
CFLAGS="$CFLAGS -D_GNU_SOURCE"
@@ -204,9 +204,6 @@
AC_CHECK_FUNC(acos, , AC_CHECK_LIB(m, acos))
-dnl add pic flag in any case this makes sure all our code is relocatable
-eval `./libtool --config | grep pic_flag=`
-CFLAGS="$CFLAGS $pic_flag"
dnl Checks for library functions.