lftp 3.1.1 fails to compile on 1.4.3 and older

Dag Wieers <[email protected]>
Newsgroups gmane.network.lftp.devel
Organization 3TI Web Hosting Services
Message-ID <[email protected]>
Hi,

I get this error on libtool 1.4.3 and older. (EL3, RH9, RH7, EL2)

	if /usr/bin/libtool --tag=CXX --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include     -O2 -march=i386 -mcpu=i686 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -MT PollVec.lo -MD -MP -MF ".deps/PollVec.Tpo" -c -o PollVec.lo PollVec.cc; \then mv -f ".deps/PollVec.Tpo" ".deps/PollVec.Plo"; else rm -f ".deps/PollVec.Tpo"; exit 1; fi
	libtool: unrecognized option `--tag=CXX'
	Try `libtool --help' for more information.
	make[1]: *** [PollVec.lo] Error 1
	make[1]: Leaving directory `/dar/build/lftp-3.1.1/src'
	make: *** [all-recursive] Error 1

It works for libtool 1.5 and newer (FC1, FC2, FC3, EL4).

Any help fixing compilation for older libtools appreciated :)

--   dag wieers,  [email protected],  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.