Re: copyright problem with install-sh, request for clean-room rewrite

2018-09-03 Thread Thomas Dickey
- Original Message - | From: "Thomas Dickey" | To: "Paul Eggert" | Cc: "Mathieu Lirzin" , "Eric Blake" , "bug-autoconf" , "automake" | | Sent: Monday, September 3, 2018 5:11:43 PM | Subject: Re: copyright problem with install-

Re: copyright problem with install-sh, request for clean-room rewrite

2018-09-03 Thread Thomas Dickey
- Original Message - | From: "Paul Eggert" | To: "Mathieu Lirzin" , "Eric Blake" | Cc: bug-autoconf@gnu.org, "automake" | Sent: Monday, September 3, 2018 2:24:32 PM | Subject: Re: copyright problem with install-sh, request for clean-room rewrite | Mathieu Lirzin wrote: |> According to

Re: copyright problem with install-sh, request for clean-room rewrite

2018-09-03 Thread Thomas Dickey
On Mon, Sep 03, 2018 at 09:13:13AM -0500, Eric Blake wrote: ... > Note that the most recent version of 'install-sh' as installed by Automake > states: > # Copyright (C) 1994 X Consortium looking at my collection of untarred X sources, there's an issue with that: The comment just before reads

Re: Autoconf can't find X11 libraries

2016-01-24 Thread Thomas Dickey
On Thu, Jan 21, 2016 at 10:11:47AM +0300, anatoly techtonik wrote: > On Wed, Jan 13, 2016 at 1:19 PM, Thomas Dickey <dic...@his.com> wrote: > > On Mon, Jan 11, 2016 at 02:05:49PM +0300, anatoly techtonik wrote: > >> Hi, > >> > >> In this build on Ub

Re: Autoconf can't find X11 libraries

2016-01-13 Thread Thomas Dickey
On Mon, Jan 11, 2016 at 02:05:49PM +0300, anatoly techtonik wrote: > Hi, > > In this build on Ubuntu x86_64 autoconf is unable to find X11 > libraries: > https://travis-ci.org/techtonik/PDCurses/builds/101477536 > However, it works with explicit configure option >

Re: AC_CACHE_CHECK

2010-09-05 Thread Thomas Dickey
On Sun, 5 Sep 2010, Russell Shaw wrote: Hi, When should AC_CACHE_CHECK be used? Whenever the user uninstalls something, wouldn't the cache become invalid? ...only if the user happened to uninstall something during the configure process. After that, AC_CACHE_CHECK is irrelevant. -- Thomas E.

Re: AC_CACHE_CHECK

2010-09-05 Thread Thomas Dickey
On Sun, 5 Sep 2010, Russell Shaw wrote: Thomas Dickey wrote: On Sun, 5 Sep 2010, Russell Shaw wrote: Hi, When should AC_CACHE_CHECK be used? Whenever the user uninstalls something, wouldn't the cache become invalid? ...only if the user happened to uninstall something during the configure

Re: Infos for Unix/Windows portable library making?

2010-04-25 Thread Thomas Dickey
On Sun, 25 Apr 2010, Mike Frysinger wrote: On Saturday 24 April 2010 17:27:28 Thomas Dickey wrote: On Sat, 24 Apr 2010, Dr. David Kirkby wrote: K??rlis Repsons wrote: Hopefully this is sufficiently appropriate place to ask for some help with making a portable library, which should be usable

Re: Infos for Unix/Windows portable library making?

2010-04-24 Thread Thomas Dickey
On Sat, 24 Apr 2010, Dr. David Kirkby wrote: Kārlis Repsons wrote: Hello in here... Hopefully this is sufficiently appropriate place to ask for some help with making a portable library, which should be usable on both Unixes and Windows. To be short, I'm still quite confused and would

Re: portability of 'printf' command

2010-02-21 Thread Thomas Dickey
On Sun, 21 Feb 2010, Bob Friesenhahn wrote: On Sun, 21 Feb 2010, Bruno Haible wrote: Is someone aware of a platform that does not have a /usr/bin/printf or /bin/printf program? I am not able to find any. However, the behavior of printf surely changes over time as standards move forward.

Re: portability of 'printf' command

2010-02-21 Thread Thomas Dickey
On Sun, 21 Feb 2010, Bob Friesenhahn wrote: On Sun, 21 Feb 2010, Thomas Dickey wrote: I am not able to find any. However, the behavior of printf surely changes over time as standards move forward. SunOS didn't have one (I don't see it in the manpages, at any rate). I did check SunOS 5.6

RE: finding the value of a preprocessor symbol

2010-01-21 Thread Thomas Dickey
On Thu, 21 Jan 2010, David Byron wrote: On Thursday, January 21, 2010, John Calcote wrote: On 1/21/2010 4:38 PM, David Byron wrote: $ cpp -dM foo.h | grep FOO #define FOO an_interesting_value Good idea. Replace cpp -dM with $CPP $CPPFLAGS and I'm getting close. Also starting to convince

Re: Quick divert() 2.13/2.6x portability macro

2009-11-28 Thread Thomas Dickey
On Sat, 28 Nov 2009, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Rasmus Lerdorf on 11/28/2009 6:42 AM: Basically the diversions are there to organize the phases of the checks. From

Re: Quick divert() 2.13/2.6x portability macro

2009-11-28 Thread Thomas Dickey
On Sat, 28 Nov 2009, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Thomas Dickey on 11/28/2009 8:26 AM: For more recent changes, one would assume you knew offhand the history. autoconf, and I have no interest in trying to make it work

Re: Quick divert() 2.13/2.6x portability macro

2009-11-28 Thread Thomas Dickey
On Sat, 28 Nov 2009, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Thomas Dickey on 11/28/2009 8:40 AM: well, in my view, not bothering to research a detail to provide an accurate reply falls short of professional behavior. You get the level of support

Re: Getting a list of available C compilers

2009-11-03 Thread Thomas Dickey
On Tue, 3 Nov 2009, Ralf Wildenhues wrote: * Steffen Dettmer wrote on Tue, Nov 03, 2009 at 02:58:30PM CET: On Sun, Nov 1, 2009 at 1:49 AM, Ralf Wildenhues wrote: names='gcc gcc[0-9_-]* cc c89 c99 cgcc clang llvm-gcc sdcc tcc       xlc xlc_r bgxlc icc ecc pgcc pathcc ccc nvcc cl bcc bcc32' ...

Re: Why does 'AC_MSG_CHECKING' output extra junk.

2009-08-07 Thread Thomas Dickey
On Fri, 7 Aug 2009, Dr. David Kirkby wrote: If I have this in my configure.ac AC_MSG_CHECKING([if gcc uses the GNU or Sun linker]) then run the configure script, I see: checking if gcc uses the GNU or Sun linker... checking for a sed that does not truncate output... /opt/csw/bin/gsed

Re: flag issue in AC_PROG_CXX for Sun Studio

2009-07-30 Thread Thomas Dickey
On Thu, 30 Jul 2009, Bob Friesenhahn wrote: On Thu, 30 Jul 2009, Monty Taylor wrote: The ever helpful setting of -g into CXXFLAGS by AC_PROG_CXX is incorrect on Sun Studio (IMHO). Currently, the test checks for Sun Studio compiler and, if so, injects -g. The problem is, -g on Sun Studio means

Re: AC_INIT seems to be setting CXXFLAGS

2009-07-30 Thread Thomas Dickey
On Thu, 30 Jul 2009, Bob Friesenhahn wrote: On Thu, 30 Jul 2009, Paolo Bonzini wrote: The terrible part about how this mechanism works is that it injects into CXXFLAGS itself, which means that, without my configure script can't override that via the setting of AM_CXXFLAGS. I cannot parse

Re: What IDEs support autoconf-based projects ?

2009-07-18 Thread Thomas Dickey
On Fri, 17 Jul 2009, Ben Pfaff wrote: Thomas Dickey dic...@his.com writes: oh... does emacs show class diagrams reconstructed from source code? http://sourceforge.net/projects/oo-browser/ actually that one looks like just another of the multitude of dead programs on SourceForge

Re: What IDEs support autoconf-based projects ?

2009-07-18 Thread Thomas Dickey
On Sat, 18 Jul 2009, Thomas Dickey wrote: On Fri, 17 Jul 2009, Ben Pfaff wrote: Thomas Dickey dic...@his.com writes: oh... does emacs show class diagrams reconstructed from source code? http://sourceforge.net/projects/oo-browser/ actually that one looks like just another

Re: What IDEs support autoconf-based projects ?

2009-07-17 Thread Thomas Dickey
On Fri, 17 Jul 2009, Alberto Luaces wrote: El Viernes 17 Julio 2009ES 05:25:42 Peter Lee escribió: From the current thread, this list can be: [snip] microsoft visual studio, No, Peter: Microsoft visual studio won't maintain, import nor export an autoconf project unless you use it as a

Re: What IDEs support autoconf-based projects ?

2009-07-17 Thread Thomas Dickey
On Fri, 17 Jul 2009, Peter Lee wrote: Thank you Alberto Luaces ! To answer my own question: I would like to ask what IDEs on the web have the ability to maintain/import/export an antoconf-based project? I am expecting a list of them, if there are. From the current thread, this list can

Re: What IDEs support autoconf-based projects ?

2009-07-17 Thread Thomas Dickey
On Fri, 17 Jul 2009, Peter Lee wrote: Thank you Thomas Dickey for your contribution to this discussion. Does anyone know any not-so-pouplar IDEs that have support to autoconf ? beside the currently listed: kdevelop, eclipse, emacs, vim, more than one text-editor (you've listed two) does

Re: What IDEs support autoconf-based projects ?

2009-07-17 Thread Thomas Dickey
On Fri, 17 Jul 2009, Russ Allbery wrote: Thomas Dickey dic...@his.com writes: more than one text-editor (you've listed two) does syntax-highlighting for autoconf scripts, is scriptable, and can run subprocesses (emacs and vim aren't IDEs, however - though there are _probably_ scripts for each

Re: X11R7

2009-05-01 Thread Thomas Dickey
On Fri, 1 May 2009, Patrick Welche wrote: I haven't seen breakages without this patch, but it seems logical to me... supposedly X11R7 moved everything back into non-specific paths such as /usr/bin -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net

Re: Checking for scripting languages.

2009-04-28 Thread Thomas Dickey
On Tue, 28 Apr 2009, John Calcote wrote: AC_ARG_VAR([RUBY])# optional - adds RUBY to 'influential variables' in configure --help AC_CHECK_PROGS([RUBY], [ruby]) On the systems at hand, ruby is installed with a version number appended, e.g., ruby1.8 ymmv -- Thomas E. Dickey

Re: [Autotest] Prefixing commands launched by AT_CHECK

2009-04-13 Thread Thomas Dickey
On Mon, 13 Apr 2009, Thomas Moulard wrote: On Sat, Apr 11, 2009 at 1:21 PM, Eric Blake e...@byu.net wrote: This is very doable.  In fact, it is how the m4 testsuite allows the user to specify an alternate $SED program [1].  You can use atlocal.in to perform initialization of your

Re: AC_FUNC_FSEEKO and optional execution

2009-03-23 Thread Thomas Dickey
On Mon, 23 Mar 2009, Eric Blake wrote: AC_FUNC_FSEEKO was rewritten for 2.61, but a typo rendered it broken in that release, so it didn't work again until 2.62. This is exactly why I hate relying on cache variables. :) Relying on documented cache variables is fine. But you are correct

Re: library search test fails, please help

2009-02-22 Thread Thomas Dickey
On Sun, 22 Feb 2009, Allan Caffee wrote: AC_CHECK_LIB (AFAIK) is not intended to handle static libraries. The reason for this is that compilers handle static libraries quite differently than shared object libraries. Compilers treat static libraries as a single big object file to be included

Re: including autoconf paths in source

2008-12-12 Thread Thomas Dickey
On Fri, 12 Dec 2008, Ralf Corsepius wrote: compiler, or test-application). Putting them in the generated config.h doesn't run into that problem. Only if done properly. I agree (of course: putting them into the generated config.h is assumed to be done properly). For the rest - your example

Re: including autoconf paths in source

2008-12-12 Thread Thomas Dickey
On Fri, 12 Dec 2008, Ralf Corsepius wrote: automake's toplevel configury applies this trick - It's borrowed from there ;) as you see, this is the autoconf list (and I'm uninterested in reporting bugs in automake - I simply document them and move on). -- Thomas E. Dickey

Re: revisit: bare carriage return in status.m4 / configure

2008-10-27 Thread Thomas Dickey
On Mon, 27 Oct 2008, Steven R. Loomis wrote: Hello, autoconf 2.63 has worked well for our project (icu), except for an issue with a bare carriage return (hereafter '^M') in status.m4 which shows up in resulting configure scripts. The line in question is: ac_cr='^M' If I am not misreading

Re: revisit: bare carriage return in status.m4 / configure

2008-10-27 Thread Thomas Dickey
): ac_cr=`echo X |tr X '\015'` Thomas Dickey wrote: On Mon, 27 Oct 2008, Steven R. Loomis wrote: Hello, autoconf 2.63 has worked well for our project (icu), except for an issue with a bare carriage return (hereafter '^M') in status.m4 which shows up in resulting configure scripts. The line

Re: failed tests AC_CHECK_LIB

2008-09-21 Thread Thomas Dickey
On Sun, 21 Sep 2008, Keith Marshall wrote: This calling convention issue is specific to MS-Windows, which is a *very* minor target platform for autoconf; indeed native MS-Windows doesn't even provide a shell which is capable of running an autoconf configure script. not really (I've been bit

Re: configure.ac, Makefile.am question

2008-08-25 Thread Thomas Dickey
On Mon, 25 Aug 2008, Bob Friesenhahn wrote: GPL is often called copyleft. It is copyrighted code which depends on the real copyright holder to defend it, but assures the rights (to the source code) of anyone who receives a binary program based on the work. If the copyright holders for a

Re: configure.ac, Makefile.am question

2008-08-21 Thread Thomas Dickey
On Thu, 21 Aug 2008, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 8/21/2008 5:34 AM: Hello all, As I couldn't find anything on this specific issue, better ask... After being able to compile my code with help of autotools, now i want to

Re: changing the default compilers for autoconf

2007-09-17 Thread Thomas Dickey
On Mon, 17 Sep 2007, Eric Blake wrote: If autoconf detects that you are using gcc, but did not specify CFLAGS, then it defaults CFLAGS to '-g -O2'. But for other compilers, autoconf doesn't generally know enough about your compiler to assume any set of default flags. So I don't know what you

Re: changing the default compilers for autoconf

2007-09-17 Thread Thomas Dickey
On Mon, 17 Sep 2007, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Thomas Dickey on 9/17/2007 6:23 AM: It's more than that. Setting the flags to -g is a policy decision made in the mid-90's based on the claim that setting the optimization flag in any compiler

Re: configure is not checking everything

2007-09-07 Thread Thomas Dickey
On Thu, 6 Sep 2007, Eric Blake wrote: I'd also like to point out that: case $host in *-linux*) AC_DEFINE(PLATFORM_LINUX, 1, [Define if you are compiling for Linux]) ;; Many variants of these defines are already available in system headers or predefined by the compiler, so you

Re: documentation of autoconf macros

2007-08-25 Thread Thomas Dickey
On Sat, 25 Aug 2007, Brian Dessent wrote: And that aside, there is the NEWS file which pretty much tells you exactly which macros were added and obsoleted in each autoconf release. pretty much isn't good enough odds to cross the street against traffic. (fwiw, autoconf developers aren't

RE: newby question: to use or not to use ?

2007-07-09 Thread Thomas Dickey
On Mon, 9 Jul 2007, Duft Markus wrote: Benoit SIGOURE wrote: On Jul 9, 2007, at 12:21 PM, Joao Miguel Ferreira wrote: One more question: is there support for the VMS operating system ? I think so. (never used it though) someone gave a pointer to it a while back. It was based on pre-2.0

Re: newby question: to use or not to use ?

2007-07-09 Thread Thomas Dickey
On Mon, 9 Jul 2007, Benoit SIGOURE wrote: On Jul 9, 2007, at 12:10 PM, Keith MARSHALL wrote: Benoit SIGOURE wrote, quoting Joao Miguel Ferreira: One more question: is there support for the VMS operating system ? I think so. (never used it though) Interesting. How do you run Bourne shell

Re: Binary Version for Mac OS X?

2007-06-22 Thread Thomas Dickey
On Thu, 21 Jun 2007, John W. Eaton wrote: On 21-Jun-2007, Bob Friesenhahn wrote: | You are correct that a strict interpretation of GPL v2 does not allow | GPLed software to be installed using anything other than an an | open-sourced installation program which is itself licenced for |

Re: error when using autoconf 2.60 or 2.61 with MSYS/MinGW

2007-05-08 Thread Thomas Dickey
On Tue, 8 May 2007, Ralf Wildenhues wrote: Hello Vincent, * Vincent Torri wrote on Tue, May 08, 2007 at 09:12:45AM CEST: I have installed autoconf 2.60 on windows with MSYS/MinGW in /usr. The fact that you have installed software in MSYS /usr makes your question one that is appropriate on

Re: msgfmt found in path, but $MSGFMT empty

2007-04-30 Thread Thomas Dickey
On Mon, 30 Apr 2007, Benoit Sigoure wrote: Quoting Ralf Wildenhues [EMAIL PROTECTED]: Presumably, AC_PROG_INTLTOOL comes from GNOME's intltool package, and the MSGFMT setting from some gettext macros. *sighs* When will people understand the concept of pseudo-reserved-namespace? just for

Re: correctly including -lnsl and -lsocket on Solaris without impacting other OS's

2007-04-27 Thread Thomas Dickey
On Fri, 27 Apr 2007, Stephane Bortzmeyer wrote: On Fri, Apr 20, 2007 at 01:10:22PM +, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote a message of 93 lines which said: The three specific checks for Solaris find the libraries, but don't set the appropriate HAVE_function-name variables in

Re: new line added to a variable passed to a macro

2007-03-26 Thread Thomas Dickey
On Mon, 26 Mar 2007, Andreas Schwab wrote: Vincent Torri [EMAIL PROTECTED] writes: off topic : is it better to use ${have_ecore_con} or $have_ecore_con ? It does not really matter, but the former is more robust. That's contradictory (you should be able to explain it better). For

Re: OT: cross platform tests? SF compile farm is dead

2007-02-18 Thread Thomas Dickey
On Thu, 15 Feb 2007, Dalibor Topic wrote: HP's test drive covers a bunch of platforms. For the rest: qemu, vmware, aranym, hercules, gxemul, or (least desirable, imho) real hardware. It's less than it was (about half the platforms went away last fall). -- Thomas E. Dickey

Re: OT: cross platform tests? SF compile farm is dead

2007-02-18 Thread Thomas Dickey
On Sun, 18 Feb 2007, Guido Draheim wrote: Thomas Dickey schrieb: On Thu, 15 Feb 2007, Dalibor Topic wrote: HP's test drive covers a bunch of platforms. For the rest: qemu, vmware, aranym, hercules, gxemul, or (least desirable, imho) real hardware. It's less than it was (about half

Re: Problems upgrading

2007-01-29 Thread Thomas Dickey
On Mon, 29 Jan 2007, Eric Blake wrote: I encountered no problems installing autoconf 2.61 followed by automake 1.10 into the same --prefix, then using that new prefix for my programs. That's a lot of words which obscures the fact that you did not respond to my comment, but simply did a me to

Re: Problems upgrading

2007-01-28 Thread Thomas Dickey
On Sun, 28 Jan 2007, Ralf Wildenhues wrote: Hello Skip, * Skip Kimpel - Magicgate Software, Inc. wrote on Sat, Jan 27, 2007 at 08:30:53PM CET: I have version 2.57 installed on my system and I would like to upgrade to 2.61.. What do I need to do this? Hmm. You could download

Re: After upgrade autoconf from 1.13 to 2.57, I experienced some problems - HELP

2006-12-07 Thread Thomas Dickey
On Thu, 7 Dec 2006, Andreas Schwab wrote: Thomas Dickey [EMAIL PROTECTED] writes: On Thu, 7 Dec 2006, Andreas Schwab wrote: Thomas Dickey [EMAIL PROTECTED] writes: In contrast, I can plug current ncurses libraries into a system that's built with ncurses 5.0, and just assume it'll work

Re: After upgrade autoconf from 1.13 to 2.57, I experienced some problems - HELP

2006-12-06 Thread Thomas Dickey
On Wed, 6 Dec 2006, Ralf Wildenhues wrote: 2.57 was released six years ago. I don't think you can expect much help four years as of last week. even 2.50 is only a little over 5 years old. (however, it is not an unreasonable expectation from people that an application be evolved in a

Re: After upgrade autoconf from 1.13 to 2.57, I experienced some problems - HELP

2006-12-06 Thread Thomas Dickey
On Wed, 6 Dec 2006, Ralf Wildenhues wrote: * Thomas Dickey wrote on Wed, Dec 06, 2006 at 09:15:12PM CET: On Wed, 6 Dec 2006, Ralf Wildenhues wrote: 2.57 was released six years ago. I don't think you can expect much help four years as of last week. agreed that it's been a while

Re: After upgrade autoconf from 1.13 to 2.57, I experienced some problems - HELP

2006-12-06 Thread Thomas Dickey
On Thu, 7 Dec 2006, Andreas Schwab wrote: Thomas Dickey [EMAIL PROTECTED] writes: In contrast, I can plug current ncurses libraries into a system that's built with ncurses 5.0, and just assume it'll work. That's from 1999. That's not a useful comparison. How many new features have been

Re: systems requiring exit?

2006-11-14 Thread Thomas Dickey
On Tue, 14 Nov 2006, Matthew Woehlke wrote: Thomas Dickey wrote: On Mon, 13 Nov 2006, Paul Eggert wrote: If they conform to C89 there should be no problem. In C89, returning N from 'main' is like 'exit(N)'. This thread is about pre-C89 systems where the return value from 'main' is mangled

Re: systems requiring exit?

2006-11-13 Thread Thomas Dickey
On Mon, 13 Nov 2006, Paul Eggert wrote: Ilya N. Golubev [EMAIL PROTECTED] writes: OS/390 and z/OS conftests failed using return (SEGV) So the issue reappears even on some modern systems, Calling them modern is a bit of a stretch. As I understand it, these are pre-1989 systems (or is it

Re: systems requiring exit?

2006-11-13 Thread Thomas Dickey
On Mon, 13 Nov 2006, Paul Eggert wrote: Howard Chu [EMAIL PROTECTED] writes: As I recall, they implemented a fairly old draft of POSIX threads (and not the same draft version as DCE or AIX) and with a compiler named c89 it's a given that they're not up to C99 specs. But still reasonably

Re: stdint.h on IRIX 6.5

2006-10-26 Thread Thomas Dickey
On Thu, 26 Oct 2006, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Thomas Dickey on 10/26/2006 4:07 AM: I'd use the gnulib stdint module. certainly (since you're a contributor). It's booby-trapped regarding license, however. How so? It is provided LGPL

Re: Inconsistency w.r.t. defining the same symbol more than once

2006-10-09 Thread Thomas Dickey
On Mon, 9 Oct 2006, Stepan Kasal wrote: Hello, On Mon, Oct 09, 2006 at 07:24:47AM -0400, Thomas Dickey wrote: [...], why isn't it documented? this is the easier of your questions: The behaviour is not part of the documented interface, because we do not want to commit it. IOW, we do

Re: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror

2006-08-16 Thread Thomas Dickey
On Tue, 15 Aug 2006, Russ Allbery wrote: Ralf Wildenhues [EMAIL PROTECTED] writes: Except now, HAVE_MALLOC, HAVE_REALLOC, and the results of AC_CHECK_DECLS (HAVE_DECL_*) are special cases. They seem to be documented correctly as such in the manual, but I think a mention of these in the NEWS

Re: finding the location of header (.h) files

2006-08-01 Thread Thomas Dickey
On Tue, 1 Aug 2006, [EMAIL PROTECTED] wrote: So you would first check for the existence of pkg-config (and complain if not there) and then use it to get the info needed. and inevitably (since there's more than one version of pkg-config) start to accumulate autoconf macros to filter through

Re: AC_CHECK_FUNCS(sigsetjmp)

2006-07-28 Thread Thomas Dickey
On Fri, 28 Jul 2006, Eric Blake wrote: not required to be a normal function implies that it is common knowledge that everybody knows you have to roll your own AC macro? Have you tried AC_CHECK_DECLS instead? You really are checking whether sigsetjmp is declared and you can compile with it,

Re: AC_CHECK_FUNCS(sigsetjmp)

2006-07-28 Thread Thomas Dickey
On Fri, 28 Jul 2006, Keith MARSHALL wrote: Thomas Dickey wrote, quoting Eric Blake: Have you tried AC_CHECK_DECLS instead? You really are checking whether sigsetjmp is declared and you can compile with it, not whether it is a function and you can link with it. But supposing that I wanted

Re: AC_CHECK_FUNCS(sigsetjmp)

2006-07-27 Thread Thomas Dickey
On Fri, 28 Jul 2006, Andreas Schwab wrote: Bruce Korb [EMAIL PROTECTED] writes: This macro does not work when the headers #define sigsetjmp to something else. sigsetjmp is special since it's not required to be a normal function. You can't use AC_CHECK_FUNCS to check for it. That's what

Re: Noobie question about doing src dirs

2006-05-31 Thread Thomas Dickey
On Wed, 31 May 2006, Stepan Kasal wrote: Hello, On Wed, May 31, 2006 at 12:14:28PM -0700, Douglas Phillipson wrote: The autoconf tutorial states that either a configure.ac or a configure.in can be used initially. What is the difference and why would you use the configure.ac over the

Re: debug builds with NO optimizations

2006-02-14 Thread Thomas Dickey
On Tue, 14 Feb 2006, Andre Caldas wrote: * The user does not know the version he/she is using is old. Then the user should just upgrade anyway. ah. may as well be blunt here: you're stating that the user is ignorant. -- Thomas E. Dickey http://invisible-island.net

Re: ac macros and ac releases

2006-02-03 Thread Thomas Dickey
On Fri, 3 Feb 2006, Thomas Porschberg wrote: how can I find out when a certain autoconf macro was introduced by autoconf ? Since the autoconf maintainers choose not to provide any relevant information, your only recourse is to read the CVS for the corresponding files. E.g. when I run

Re: ac macros and ac releases

2006-02-03 Thread Thomas Dickey
On Fri, 3 Feb 2006, Thomas Porschberg wrote: Hi Ralf, thanks for your instructions. Just a thought: How about collect this information in a separate file and extend autoconf with an option --min-required-version which outputs the minimal required version for putting in AC_PREREQ ? That

Re: How can I get rid of dinkleberry autotools temp dirs?

2006-01-21 Thread Thomas Dickey
On Sat, 21 Jan 2006, Bruce Korb wrote: Now, I have a curiosity question. Why this (unchanged) construct: test -n $tmp test -d $tmp and not just: test -d $tmp It is sufficient for every shell I know about. Even some pretty old ones. :) Some old shells would match an empty $tmp

Re: am files in CVS and MAINTAINER_MODE

2006-01-17 Thread Thomas Dickey
On Tue, 17 Jan 2006, Bob Rossi wrote: On Tue, Jan 17, 2006 at 06:27:21AM -0500, Thomas Dickey wrote: On Tue, 17 Jan 2006, Ralf Wildenhues wrote: (c) Maybe there now also exists a version control system that allows to store relative time stamp ordering(?) requirements and reproduce them upon

Re: double underscores in autoconf-defined symbol names

2006-01-10 Thread Thomas Dickey
On Tue, 10 Jan 2006, Keith MARSHALL wrote: Vadim Zeitlin wrote: From your example, it appears that you are searching for functions using their uglified Microsoft names. That may be true, but other platforms (including Linux) deal in ugly header file internals. The reason for it with

Re: double underscores in autoconf-defined symbol names

2006-01-10 Thread Thomas Dickey
On Tue, 10 Jan 2006, Keith MARSHALL wrote: ...and unlike Microsoft's headers, MinGW's are not designed to be maintainable or readable - just random cut/paste excerpts from other headers. You are certainly entitled to this opinion, and I respect that, but I would also respectfully beg to

Re: No release for 2 years?

2005-12-28 Thread Thomas Dickey
On Tue, 27 Dec 2005, Gary Kumfert wrote: Am I correct that its been two years since the last autoconf release? two years, one month and 22 days (looking at file modification times). Is there going to be another release? Soon? a release implies that the maintainers will support it (the

Re: AW: prefix

2005-12-02 Thread Thomas Dickey
On Fri, 2 Dec 2005, Keith Marshall wrote: BTW, I don't think ac_default_prefix is officially documented -- its use can be discovered by inspecting any generated configure script. Do beware that, as an undocumented feature, it may not be supported by future autoconf versions. Furthermore,

Re: AC_FOREACH public?

2005-10-21 Thread Thomas Dickey
On Fri, 21 Oct 2005, Alexandre Duret-Lutz wrote: KM == Keith MARSHALL [EMAIL PROTECTED] writes: KM When I write my configure.ac, aclocal.m4, or acinclude.m4, *every* KM macro I use is, from my perspective, an *autoconf* macro. That some KM of these are called AC_*, AS_*, m4_*, or indeed

Re: AC_CHECK_LIB acts very strangely in Darwin

2005-08-31 Thread Thomas Dickey
On Wed, 31 Aug 2005, Ralf Wildenhues wrote: Short story: [ ] are quotation characters within configure.ac files. That's one reason why many m4 macros use test instead for readability. The main reason is that some older systems do not have [ as an alias for test. -- Thomas E. Dickey

Re: Need help with autoconf configure script

2005-07-14 Thread Thomas Dickey
On Thu, 14 Jul 2005, Stepan Kasal wrote: Hello, On Wed, Jul 13, 2005 at 07:38:25AM -0400, Bob Rossi wrote: Is this a bug in autoconf? yes, this is a bug in autoconf. It is well known, and it'll be fixed in Autoconf 3, in a distant future... ...perhaps in an alternate universe as well.

Re: Handling __STDC__ on Windows

2005-07-13 Thread Thomas Dickey
On Wed, 13 Jul 2005, Paul D. Smith wrote: I have a bunch of macros in GNU make that try to determine whether the compiler groks ANSI C, like this: #if defined (__cplusplus) || (defined (__STDC__) __STDC__) But, that doesn't work on Windows because the Windows compilers do this: #define

Re: configure --help output 'standard'

2005-06-22 Thread Thomas Dickey
On Wed, 22 Jun 2005, Stepan Kasal wrote: Hello Claudio. On Mon, Jun 13, 2005 at 11:13:24PM -0700, Claudio Fontana wrote: track it myself but got lost somewhere between 2.13 or so and 2.49 (are there in-between versions at all? the gnu ftp repository shown none). Actually, I'm surprised to

Re: less verbose outputs during make

2005-05-01 Thread Thomas Dickey
On Sun, 1 May 2005, Ilkka Urtamo wrote: Sorry if this is too simple, but I do this to only see warnings and errors: make /dev/null Works, but not exactly what I had in mind. Any other suggestions? what I do is (via an autoconf macro of course) substitute an echo statement and a @ at the

Re: RFE: configure - dependency list on exit.

2005-02-22 Thread Thomas Dickey
On Tue, 22 Feb 2005, Hugh Sasse Staff Elec Eng wrote: A few weeks ago I wrote to the Gnu coding standards people, with a suggestion that there should be a DEPENDENCIES file, so that It would be nice if autoconf did that for itself. I don't recall a recent release which satisfied that goal (and

Re: RFE: configure - dependency list on exit.

2005-02-22 Thread Thomas Dickey
On Tue, 22 Feb 2005, Bob Friesenhahn wrote: On Tue, 22 Feb 2005, Thomas Dickey wrote: On Tue, 22 Feb 2005, Hugh Sasse Staff Elec Eng wrote: A few weeks ago I wrote to the Gnu coding standards people, with a suggestion that there should be a DEPENDENCIES file, so that It would be nice if autoconf

Re: Bug#278283: insecure temporary file usage in gettextize and autopoint (fwd)

2004-10-26 Thread Thomas Dickey
On Tue, 26 Oct 2004, Bruno Haible wrote: is to make filename sit in a temporary directory under /tmp, not directly in /tmp ? For the truly paranoid, even that is not sufficient. Not bad, but still not perfect: mktemp is not a POSIX standardized utility, and $RANDOM is bash specific. So what

Re: Bug#278283: insecure temporary file usage in gettextize and autopoint (fwd)

2004-10-26 Thread Thomas Dickey
On Tue, 26 Oct 2004, Thomas Dickey wrote: (sorry about the previous - missed keystroke) Not bad, but still not perfect: mktemp is not a POSIX standardized utility, and $RANDOM is bash specific. So what do you propose on POSIX systems without mktemp and bash? Just fall back on the unsecure

Re: Use of config.h: summary of responses.

2004-09-13 Thread Thomas Dickey
On Mon, 13 Sep 2004, Ralf Corsepius wrote: On Mon, 2004-09-13 at 11:40, Dale Mellor wrote: For the record... I recieved about half a dozen responses to this and the overriding message is: config.h is worse than useless for packages which install libraries and public header files, so

Re: Use of config.h: summary of responses.

2004-09-13 Thread Thomas Dickey
On Mon, 13 Sep 2004, Ralf Corsepius wrote: On Mon, 2004-09-13 at 11:40, Dale Mellor wrote: For the record... I recieved about half a dozen responses to this and the overriding message is: config.h is worse than useless for packages which install libraries and public header files, so

Re: AC_LANG_BOOL_COMPILE_TRY(C) fails with OS vendor compilers

2004-07-05 Thread Thomas Dickey
On Mon, 5 Jul 2004, Noah Misch wrote: On Fri, Jul 02, 2004 at 07:37:25AM -0700, Paul Eggert wrote: On the compilers in question, what value does 1/0 return? Perhaps we can make use of that somehow. On the Compaq CC, the program ``int main() { int c = 1/0; printf(%d\n, c); }'' prints

Re: AC_LANG_BOOL_COMPILE_TRY(C) fails with OS vendor compilers

2004-07-05 Thread Thomas Dickey
On Mon, 5 Jul 2004, Noah Misch wrote: On Mon, Jul 05, 2004 at 06:00:07AM -0400, Thomas Dickey wrote: On Mon, 5 Jul 2004, Noah Misch wrote: On Fri, Jul 02, 2004 at 07:37:25AM -0700, Paul Eggert wrote: On the compilers in question, what value does 1/0 return? Perhaps we can make

Re: ac_arg_enable invalid option

2004-06-25 Thread Thomas Dickey
On Fri, 25 Jun 2004, Stephane Bortzmeyer wrote: On Thu, Jun 24, 2004 at 03:40:04PM -0700, John Ling [EMAIL PROTECTED] wrote a message of 21 lines which said: Hello, I am currently using ac_arg_enable to define several --enable-feature options. However, if a user were to specify an

Re: ac_arg_enable invalid option

2004-06-25 Thread Thomas Dickey
On Fri, 25 Jun 2004, John Ling wrote: As I do not use multiple packages, from my point of view this is a very bad behaviour. I agree that it would be nice to have the option to turn on strict checking of such of --enable-FEATURE. Guess I'll have to live with this. probably right (since

Re: modification of what is displayed during compilation

2004-04-09 Thread Thomas Dickey
On Fri, 9 Apr 2004, Bob Friesenhahn wrote: On Fri, 9 Apr 2004, Vincent Torri wrote: The best would be to add an argument to configure script, so that i can choose one of the two kinds of display. As long as abreviated display doesn't become the default, this seems ok to me. I absolutely

Re: how to disable caching of result

2004-04-05 Thread Thomas Dickey
On Mon, 5 Apr 2004, Bob Friesenhahn wrote: On Tue, 6 Apr 2004, Matthias Czapla wrote: because the result of the first test is cached. How can I tell autoconf to forget the result of the first test before doing it the second time? If you look in config.status you will see the form that

Re: how to disable caching of result

2004-04-05 Thread Thomas Dickey
On Mon, 5 Apr 2004, Bob Friesenhahn wrote: On Mon, 5 Apr 2004, Thomas Dickey wrote: values take. You can then unset the cache variable that autoconf uses before trying again. Here is some example code taken from one of my configure scripts: hmm - while I note that support

Re: sed 4.0e (built with autoconf 2.59a) works on 45 platforms

2004-03-12 Thread Thomas Dickey
On Thu, 11 Mar 2004, Paolo Bonzini wrote: A user was able to compile sed 4.0e on forty-odd platforms, including alphas forty-odd flavors of Linux? Of course not since I mentioned the Digital and Sun native compilers (and shells). Do you say this because you have negative reports

Re: problems compiling autoconf

2004-03-04 Thread Thomas Dickey
On Tue, 2 Mar 2004, Kevin P. Fleming wrote: Anthony N. Frasso wrote: base# make Making all in bin rm -f autom4te autom4te.tmp Using $ in a non-suffix rule context is a GNUmake idiom (line 484 of Makefile) *** Error code 1 GNU software usually requires GNU make. If you don't

Re: Problem with configure

2004-02-16 Thread Thomas Dickey
On Mon, 16 Feb 2004, Bob Proulx wrote: Priit Voolaid wrote: prefix= --prefix/opt The PREFIX is defined as --prefix/opt instead /opt. Why is that? Where can i search for source of this problem? I have tryed, many times, with diffrenet packages and always with same

Re: Variable substitiution in help strings

2004-01-24 Thread Thomas Dickey
On Sat, 24 Jan 2004, Rafael Laboissiere wrote: 2000-10-12 Akim Demaille [EMAIL PROTECTED] * tests/mktests.sh: Backslash the quote in the heredocs to help syntax highlighting tools. * tests/atspecific.m4 (AT_CHECK_UPDATE): Give a better AT_SETUP title.

Re: Variable substitution in help strings

2004-01-24 Thread Thomas Dickey
On Sat, 24 Jan 2004, Rafael Laboissiere wrote: * Thomas Dickey [EMAIL PROTECTED] [2004-01-24 07:44]: On Sat, 24 Jan 2004, Rafael Laboissiere wrote: if test -n $ac_init_help; then m4_ifset([AC_PACKAGE_STRING], [ case $ac_init_help in short | recursive ) echo Configuration

  1   2   >