git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCH 14] autoconf: Added --with/--without for openssl, curl, expat to ./configure

From
PRPavel Roskin <proski@gnu.org>
Date
Jul 8, 2006, 07:33 UTC
Message-ID
<1152343999.26627.6.camel@dv>
In-Reply-To
<200607011955.23908.jnareb@gmail.com>
Hello, Jakub!
On Sat, 2006-07-01 at 19:55 +0200, Jakub Narebski wrote: 
> >> I suspect that AS_HELP_WITH does some strange quoting, or stripping. Both
> >> [=PATH] and [[=PATH]] produces =PATH in ./configure --help output.
> >> When using @<:@=PATH@:>@ I get [=PATH], but the description of option begins
> >> line below.

Sorry, I misunderstood the problem. I think it's pure cosmetics. Please don't let it stop you.

> I guess I would just not use AS_HELP_STRING, and format help 
> message "by hand".

Please don't wast time on such minor things. It's more important to get the functionality implemented.

Show 5 quoted lines
> By the way, if you know autoconf well, perhaps you could tell me how to write
> tests for the following programs: ar, tar, rpmbuild, how to write test for
> Python version (or rather for WITH_OWN_SUBPROCESS_PY) and other test autoconf.ac
> lacks now (NEEDS_SSL_WITH_CRYPTO, NEEDS_LIBICONV, NEEDS_SOCKET, NO_MMAP,
> NO_IPV6, NO_ICONV, NO_ACCURATE_DIFF unless that was removed or changed name).

Generally, see the Autoconf manual for the specific test first, then for more common test.

For ar, use AC_CHECK_TOOL to allow cross-compilation. For tar and rpmbiuld, use AC_CHECK_PROG. Python will have to run to find the version, I'm afraid, which would complicate cross builds. Fortunately, it's on the way out.

Tests for sockets are described in the Autoconf documentation. Other tests should probably be implemented as test programs unless they can be reduced to checking for a specific symbol in a specific library.

-- 
Regards,
Pavel Roskin
Previous: Jakub NarebskiNext: Jakub Narebski
Message 29 of 30 in “autoconf: Use autoconf to write installation directories to config.mak”
  1. autoconf: Use autoconf to write installation directories to config.makJakub Narebski, Jun 29, 2006
  2. Uwe ZeisbergerJun 29, 2006
  3. autoconf: Use autoconf to check for libraries: openssl/crypto, curl, expatJakub Narebski, Jun 29, 2006
  4. autoconf: Use autoconf to check for some types and library functionsJakub Narebski, Jun 29, 2006
  5. autoconf: Cleanup generation of config.mak.append by ./configureJakub Narebski, Jun 29, 2006
  6. Allow INSTALL, bindir, mandir to be set in main MakefileJakub Narebski, Jun 29, 2006
  7. autoconf: Set mandir in config.mak.in and export variables not in MakefileJakub Narebski, Jun 29, 2006
  8. autoconf: configure.ac uses variables to set in, out and temp filesJakub Narebski, Jun 30, 2006
  9. autoconf: ./configure script outputs to config.mac.autoJakub Narebski, Jun 30, 2006
  10. autoconf: Cleanup generation of temporary "append" fileJakub Narebski, Jun 30, 2006
  11. autoconf: Write how to use ./configure generated file in git build processJakub Narebski, Jun 30, 2006
  12. autoconf: Rename ./configure output file to config.mak.autogenJakub Narebski, Jun 30, 2006
  13. Revert "autoconf: Write how to use ./configure generated file in git build process"Jakub Narebski, Jun 30, 2006
  14. autoconf: Append '-include config.mak.autogen' to config.mak if it is not presentJakub Narebski, Jun 30, 2006
  15. Jakub NarebskiJun 30, 2006
  16. autoconf: Added --with/--without for openssl, curl, expat to ./configureJakub Narebski, Jun 30, 2006
  17. Pavel RoskinJun 30, 2006
  18. Jakub NarebskiJun 30, 2006
  19. Jakub NarebskiJun 30, 2006
  20. Junio C HamanoJun 29, 2006
  21. Jakub NarebskiJun 29, 2006
  22. Matthias LederhoferJun 29, 2006
  23. Jakub NarebskiJun 29, 2006
  24. Andreas EricssonJun 30, 2006
  25. Jakub NarebskiJun 30, 2006
  26. Jakub NarebskiJul 1, 2006
  27. Junio C HamanoJun 29, 2006
  28. Jakub NarebskiJul 1, 2006
  29. Pavel RoskinJul 8, 2006
  30. Jakub NarebskiJul 1, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.