From: Rafael L. <lab...@ps...> - 2003-03-25 15:04:32
|
* Alan W. Irwin <ir...@be...> [2003-03-25 06:33]: > Following up on Maurice's later comment: Rafael, would it be straightforward > to supply a default for this -I option consisting of appending > '../share/libtool/libltdl/' to the results of `which libtool`? I believe > such a default would take care of most if not all of our needs so we would > could simply invoke ./bootstrap.sh without parameters most of the time. Please, tell me what this shell snippet gives for you: prefix=`which libtool | sed 's:/bin/libtool::'` if test -n "$prefix" ; then acdir=${prefix}/share/libtool/libltdl if test -d $acdir ; then if test -f ${acdir}/aclocal.m4 ; then aclocal_opts="-I $acdir" fi fi fi echo aclocal_opts: $aclocal_opts If this works, I will integrate it into bootstrap.sh. -- Rafael |