|
From: Allin C. <cot...@wf...> - 2009-05-10 02:12:21
|
On Sat, 9 May 2009, Ethan Merritt (sfream) wrote: > On Saturday 09 May 2009, Allin Cottrell wrote: > > On Sat, 9 May 2009, Ethan Merritt (sfream) wrote: > > > > > On Friday 08 May 2009, Allin Cottrell wrote: > > > > I think one benefit of using AC_PROG_CC is simply that it displays > > > > help for such compiler-related options in response to configure > > > > --help. > > > > > > It turns out we already have AC_PROG_CC in the gnuplot > > > configure.in, yet it doesn't display any information about > > > cross-compiling in the help message. So scratch that theory. > > > > OK, it was a guess, and a wrong one. My second attempt is that > > the provision of the the "host and build" configuration info is a > > libtool thing. I tried the experiment of adding > > > > AC_PROG_LIBTOOL > > > > to gnuplot's configure.in and re-running ./prepare. This gave the > > error "required file `./ltmain.sh' not found". So I copied > > ltmain.sh into place and re-ran ./prepare. I then got a > > configure script that gave the help output, inter alia: > > > > System types: > > --build=BUILD configure for building on BUILD [guessed] > > --host=HOST cross-compile to build programs to run on HOST [BUILD] > > Huh. > But I don't think we really want to require libtool, do we? > We are not building any libraries. Agreed. It seems like overkill if no libraries are being built. But it would be nice if one could build a libgnuplot one day ;-) Allin Cottrell |