-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Bruno,
Bruno Haible wrote: > >> How do I check for a package (ffcall) which consists of several >> libraries (avcall and callback)? >> I do not want to force the user to do pass the prefix twice: >> "--with-avcall-prefix=/usr/local --with-callback-prefix=/usr/local" >> I want "--with-ffcall-prefix=/usr/local" instead. > > I agree, what you need is a 'configure --help' that proposes > > --with-ffcall-prefix[=DIR] search for ffcall in DIR/include and DIR/lib > --without-ffcall-prefix don't search for ffcall in includedir and libdir > > I would use an AC_ARG_WITH that produces this help output and then assigns > the value of the with_ffcall_prefix variable to with_avcall_prefix and > with_callback_prefix. the problem is that AC_LIB_LINKFLAGS_BODY does all the checking work AND also calls AC_LIB_ARG_WITH. I suggest that AC_LIB_LINKFLAGS_BODY is split into the checking part and the arg-with part - then the checking part could be used with ffcall.m4 I also suggest that ffcall.m4 is added to gnulib (together with sigsegv.m4 from clisp), just like iconv.m4 is in gnulib. Sam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHTYQxPp1Qsf2qnMcRAk3qAJ9y1NaL4GTwtp4+L7UJa1mcB5oVBgCfbYDF /qIRbkeotLNUwYAyIkgc7nw= =QQW7 -----END PGP SIGNATURE-----