Hi. Libtool-2 by default creates ./libtool executable during
config.status run and that means it's unavailable during ./configure.
This produces error during ./configure:

Test Library Functions
checking for acos... no
checking for acos in -lm... yes
./configure: line 12488: ./libtool: No such file or directory

Although program builds successfully this problem was reported by our
user[1] and I think it's worth to fix it. Patch in attachment.

Another problem we experience. If we call aclocal in rrdtool directory
it'll fail with the error:

aclocal-1.10: couldn't open directory `m4': No such file or directory

Please, revert m4 directory if possible or remove ACLOCAL_AMFLAGS from
Makefile.am.


[1] http://bugs.gentoo.org/272767


With best regards,
-- 
Peter.
=== modified file 'configure.ac'
--- configure.ac	2009-07-08 09:47:54 +0000
+++ configure.ac	2009-07-08 09:51:00 +0000
@@ -174,11 +174,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.
 AC_FUNC_STRFTIME
 AC_FUNC_VPRINTF

_______________________________________________
rrd-developers mailing list
rrd-developers@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

Reply via email to