|
From: Allin C. <cot...@wf...> - 2009-05-10 00:23:29
|
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] FWIW. Allin Cottrell |