FYI: optional features and AC_ARG_WITH

2005-04-14 Thread Stepan Kasal
Hello, I've just commited the patch to AC_ARG_WITH documentation, in the exact form as submitted by Gregorio Guidi in http://lists.gnu.org/archive/html/autoconf/2005-03/msg00116.html The patch is also attached to this message. Stepan Kasal 2005-04-14 Gregorio Guidi [EMAIL PROTECTED

Re: FYI: optional features and AC_ARG_WITH

2005-04-19 Thread Stepan Kasal
to commit? Have a nice day, Stepan 2005-04-19 Stepan Kasal [EMAIL PROTECTED] * doc/autoconf.texi (External Software): Quadrigraphs are not processed correctly in AS_HELP_STRING; avoid this in the examples. * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME

Re: [PATCH] Support AC_CONFIG_LIBOBJ_DIR

2005-04-19 Thread Stepan Kasal
${ac_config_libobj_dir-.} != X. ac_libobj_dir=`expr X$ac_config_libobj_dir/ : 'X\(.*[^/]\)' '|' 'X/' : 'X\(/\)'` with one line: ac_libobj_dir=`expr X$ac_config_libobj_dir : 'X\(.*[^/]\)'` Have a nice day, Stepan Kasal

Re: [PATCH] Support AC_CONFIG_LIBOBJ_DIR

2005-04-20 Thread Stepan Kasal
to ., as it is the default set by Autoconf; it's good that this case is optimized and doesn't call expr. _If_ our checks fail, and ac_config_libobj_dir happens to be / (or more slashes), then expr returns empty string. I see no problem here. Have a nice day, Stepan 2005-04-20 Stepan Kasal [EMAIL PROTECTED

Re: Tiny optimization in config.status

2005-04-27 Thread Stepan Kasal
Hello, On Tue, Apr 26, 2005 at 12:28:57PM -0700, Paul Eggert wrote: 2005-04-25 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization. That looks good to me; please install. Done. Thank you for your review. Stepan

restrict AC_CONFIG_LIBOBJ_DIR

2005-05-01 Thread Stepan Kasal
like. One possible solutions is in the patch attached to this mail. (I made this patch last week, but I presented it in an unrelated thread. So I repost it here, with proper explanation.) Have a nice day, Stepan Kasal 2005-04-20 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf

Re: Simplify the def of ac_abs_top_buildir

2005-05-11 Thread Stepan Kasal
Hi again, I apologize that I reply to my own mail. I recognized that a bit bigger cleanup can be done. The attached patch makes the resulting configure smaller and makes the values of the variables shorter. It passed make check. OK to commit? Stepan 2005-05-11 Stepan Kasal [EMAIL

Improve handling of option abbreviations in config.status

2005-05-11 Thread Stepan Kasal
Hello, I noticed that --debug and --version were handled differently than other config.status options. Is there a reason for this? If not, can I commit the attached patch? (Passed make check.) Have a nice day, Stepan 2005-05-11 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf

Re: Improve handling of option abbreviations in config.status

2005-05-12 Thread Stepan Kasal
Hi, On Wed, May 11, 2005 at 12:24:35PM -0700, Paul Eggert wrote: Stepan Kasal [EMAIL PROTECTED] writes: I noticed that --debug and --version were handled differently than other config.status options. Is there a reason for this? ... please install your change. Done. Stepan

Re: A small simplification

2005-05-20 Thread Stepan Kasal
Hello, On Thu, May 19, 2005 at 09:42:44AM -0700, Paul Eggert wrote: Stepan Kasal [EMAIL PROTECTED] writes: +echo confdefs.h ... echo /* Configuration-time definitions. */ confdefs.h. good idea. Actually, none of us read the lines which follow this echo. ;-) This allows

Re: bin/Makefile.am: merge the rules

2005-05-23 Thread Stepan Kasal
Hello, On Fri, May 20, 2005 at 12:23:06PM -0700, Paul Eggert wrote: [mail archive] corrupted that patch. Can you please resend it? Thanks. sure, here it is. Stepan Kasal 2005-01-29 Stepan Kasal [EMAIL PROTECTED] * bin/Makefile.am: Merge the two rules for creating scripts. Index

Re: Make AC_MSG_RESULT_UNQUOTED obsolete

2005-05-24 Thread Stepan Kasal
Hi, 2005-05-23 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make obsolete; it was never documented. (AC_CACHE_CHECK): Use AC_MSG_RESULT instead. yes, that looks fine; thanks. commited. Thank you for review. Stepan

Re: Simplify sed processing of CONFIG_HEADERS

2005-05-24 Thread Stepan Kasal
. OK to commit now? Have a nice day, Stepan Kasal 2005-05-24 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines. * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed scripts created and the loop applying

Re: Replace AC_FOREACH by m4_foreach_w

2005-05-26 Thread Stepan Kasal
Hello, On Wed, May 25, 2005 at 01:40:22PM -0700, Paul Eggert wrote: True, but it still bothers me a bit. (I don't know whether the w stands for word or white space. :-) actually, I had both in mind and I liked the ambiguity. Perhaps you can find a better name for the macro? Also, will we

Re: FYI: loop in libtool m4 macros

2005-06-21 Thread Stepan Kasal
Kasal 2005-06-21 Stepan Kasal [EMAIL PROTECTED] * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty, expand to the empty list. Don't use two pairs of m4_changequote, it's not necessary. Index: lib/m4sugar/m4sugar.m4

Re: [PATCH] Use expr where possible

2005-06-22 Thread Stepan Kasal
Hello, I have committed fix from Ralf and the cosmetic change proposed by Akim. See the attached patch. Happy hacking, Stepan 2005-06-22 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2. 2005-06-22 Ralf Wildenhues [EMAIL

Re: FYI: loop in libtool m4 macros

2005-06-28 Thread Stepan Kasal
, but listed in m4.texi (renamed m4 builtins): m4_ifdef m4_pushdef These are documented implicitly, and in the latest CVS version they even go to the index, search for [EMAIL PROTECTED]''. So these are OK. Have a nice day, Stepan Kasal

Re: abs_top_builddir not working?

2005-06-29 Thread Stepan Kasal
Hello, On Wed, Jun 08, 2005 at 08:49:37PM +0200, Alexandre Duret-Lutz wrote: Stepan Do you think it should be reported by AC_SUBST_TRACE, too? Either way is fine with me. I committed the patch attached to this mail. Stepan 2005-06-29 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf

Rename the title of the SUBST_FILE dump (was: four patches)

2005-06-30 Thread Stepan Kasal
Hello, On Thu, Jun 30, 2005 at 03:31:46PM +0200, Stepan Kasal wrote: Only one isuue remains: the title Output files is unfortunate here. I'd say output files are those declared with AC_CONFIG_FILES. What about File substitutions? (Patch attached.) I forgot to attach the patch, sorry

Should #include config.h be forbidden?

2005-06-30 Thread Stepan Kasal
texinfo, but they are rare.) I suggest to change that paragraph; see the patch attached to this mail. OK to commit? Have a nice day, Stepan 2005-06-30 Stepan Kasal [EMAIL PROTECTED] * doc/autoconf.texi (Configuration Headers): Change the explanation about #include config.h

Re: should a space really be a special character ?

2005-07-04 Thread Stepan Kasal
Hello, On Fri, Jul 01, 2005 at 03:33:55PM -0700, Paul Eggert wrote: P.S. I've just noticed that autoconf/aclocal.m4 also holds AM_MISSING_HAS_RUN. Why? To avoid dependencies? Yes; someone who's installing Autoconf shouldn't need Automake, to avoid the usual bootstrapping problems. let

Re: Replace AC_FOREACH by m4_foreach_w

2005-07-05 Thread Stepan Kasal
-u -r1.2587 ChangeLog --- ChangeLog 5 Jul 2005 11:08:41 - 1.2587 +++ ChangeLog 5 Jul 2005 11:23:16 - @@ -1,5 +1,11 @@ 2005-07-05 Stepan Kasal [EMAIL PROTECTED] + * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the + description, the macro now accepts only

Re: at_top_builddir - at_top_build_prefix / Autotest Versioning

2005-07-05 Thread Stepan Kasal
Hello, On Sat, Jul 02, 2005 at 12:32:54PM -0700, Noah Misch wrote: On Mon, Jun 27, 2005 at 11:36:31AM +0200, Stepan Kasal wrote: I wrote a quick patch; please find it attached to this mail. Is it OK? This works for me in both version mismatch directions. OK, I committed. The patch

Re: reporting full subdir path for subconfigure

2005-07-07 Thread Stepan Kasal
Hello, there were no objections, so I committed the patch below. Stepan 2005-06-27 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full path, too. Index: lib/autoconf/status.m4

Re: four patches

2005-07-18 Thread Stepan Kasal
Hello, On Sun, Jul 17, 2005 at 08:40:18AM +0200, Ralf Corsepius wrote: And you are sure 'x= = x' evaluates correctly on these systems? I am having strong doubts. according to the Autoconf manual, it seems that there are systems which don't understand test -n = and/or test -z =

Re: Autoconf/automake support for preprocessable Fortran

2005-07-27 Thread Stepan Kasal
Hello, On Wed, Jul 27, 2005 at 09:11:16AM +0100, Norman Gray wrote: :ext:[EMAIL PROTECTED]:/cvsroot/autoconf :ext:[EMAIL PROTECTED]:/cvsroot/automake right. Stepan Kasal

FYI: a cosmetic change in _AT_CHECK

2005-07-27 Thread Stepan Kasal
Hi, FYI, I committed the following cosmetic change. Stepan 2005-07-27 Stepan Kasal [EMAIL PROTECTED] * lib/autotest/general.m4 (_AT_CHECK): Cosmetic changes to the case $at_status command. Index: lib/autotest/general.m4

FYI: spare pushdef in autotest removed

2005-07-27 Thread Stepan Kasal
Hello, I spotted a place where at_reason was pushed twice, while popped only once. I committed the fix, as attached to this mail. Stepan 2005-07-27 Stepan Kasal [EMAIL PROTECTED] * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason was pushdef'ed twice while

fix Autoheader for macros with parameters

2005-08-12 Thread Stepan Kasal
)], [Define S_ISREG if stat.h doesn't]) the generated template file contains #undef S_ISREG(m) which config status is not able to parse. Attached please find a proposed patch. OK to commit? Have a nice day, Stepan Kasal 2005-08-12 Stepan Kasal [EMAIL PROTECTED

problem in Makefile.maint

2005-08-12 Thread Stepan Kasal
commit it to bison. (Are there other places where the code was copied to?) Have a nice day, Stepan 2005-08-12 Stepan Kasal [EMAIL PROTECTED] * Makefile.maint (GZIP_ENV): When checking the help text of gzip, add 21; gzip 1.2.4 prints help on stderr. Index

Re: problem in Makefile.maint

2005-08-12 Thread Stepan Kasal
Hello, On Fri, Aug 12, 2005 at 02:26:02PM +0200, Ralf Wildenhues wrote: gzip should be fixed, too: info standards Command-Line\ Interfaces: gzip is fixed, version 1.3.3 from 2002 prints help on stdout. The problem is that there is no stable release since 1.2.4, which was released in 1993.

Re: autoscan failure: do not walk subpackages

2005-08-16 Thread Stepan Kasal
Hello, On Tue, Aug 16, 2005 at 07:41:38AM +0200, Ralf Wildenhues wrote: Oops, I must've overlooked that as well as the old FSF address done. I also fixed copyright years list in sute.at. (can you tell how long this patch has been sitting around here?). Since April 21? Stepan

Re: reorganized config.status

2005-08-16 Thread Stepan Kasal
. If there are no comments, I'll commit after a few days. Have a nice day, Stepan 2005-08-16 Ralf Wildenhues [EMAIL PROTECTED], Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the first header appears, define AH_HEADER. * doc

Re: AT_KEYWORDS failure: cmdline OR-combinations

2005-08-16 Thread Stepan Kasal
Hello Ralf, I noticed a problem with your patch: On Tue, Aug 16, 2005 at 01:19:05PM +0200, Ralf Wildenhues wrote: + # It is on purpose that we match the test group titles too. + at_groups_selected=`echo $at_groups_selected | + grep -i ^[[^;]]*;[[^;]]*.*[[;

A simplification of _AC_CANONICAL_SPLIT

2005-08-16 Thread Stepan Kasal
Hello, I proposed the following simplification. OK to commit? Stepan Kasal 2005-08-16 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify, relying on the fact that $* concatenates the parameters by the first character from IFS

Re: AT_KEYWORDS failure: cmdline OR-combinations

2005-08-16 Thread Stepan Kasal
Hello Ralf, On Tue, Aug 16, 2005 at 06:10:52PM +0200, Ralf Wildenhues wrote: I happen not to understand the exact nature of the bug report that led to the breakage of this code in the first place: http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html I don't understand it

Re: AT_KEYWORDS failure: cmdline OR-combinations

2005-08-16 Thread Stepan Kasal
Hello again, one minor nit: On Tue, Aug 16, 2005 at 07:36:07PM +0200, Ralf Wildenhues wrote: + at_groups=`echo $at_groups$as_nl$at_groups_all | +awk ['BEGIN { FS = ; } + !/ / { selected[$ 1] = 1 } since the field splitting is effectively switched off, $0 might be more readable

Re: A simplification of _AC_CANONICAL_SPLIT

2005-08-17 Thread Stepan Kasal
implements this. Moreover, it moves more common code to _AC_CANONICAL_SPLIT. OK to commit? Stepan 2005-08-17 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Factor out common code

Re: AT_KEYWORDS failure: cmdline OR-combinations

2005-08-17 Thread Stepan Kasal
Hello, On Wed, Aug 17, 2005 at 05:56:29PM +0200, Ralf Wildenhues wrote: Typo. OK, my version now reads: + # and add banners. (Passing at_groups_all is tricky--see the comment + # starting with Passing at_groups is tricky.) Stepan

Clean up AC_ARG_ENABLE and AC_ARG_WITH

2005-08-17 Thread Stepan Kasal
Hello, I have factored out common code from these two macros. OK to commit? Stepan Kasal 2005-08-17 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out common code to... (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION

Re: AT_KEYWORDS failure: cmdline OR-combinations

2005-08-17 Thread Stepan Kasal
Hello, On Wed, Aug 17, 2005 at 06:36:46PM +0200, Ralf Wildenhues wrote: [ solaris awk ] | 21: m4sh.at:252AS_VERSION_COMPARE loops endlessly (in awk). This is for calling AS_VERSION_COMPARE with empty first argument. Is that allowed? This would fix the test: your patch only

Re: Clean up AC_ARG_ENABLE and AC_ARG_WITH

2005-08-18 Thread Stepan Kasal
Hello, On Wed, Aug 17, 2005 at 02:29:05PM -0700, Noah Misch wrote: This can use AS_IF. Otherwise, looks great. thank for the suggestion. Updated version below. Stepan 2005-08-18 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out

Re: Clean up AC_ARG_ENABLE and AC_ARG_WITH

2005-08-18 Thread Stepan Kasal
Hello, On Thu, Aug 18, 2005 at 09:57:11AM +0200, Martin Waitz wrote: so why don't you merge $1-$2 to one argument to make it even more general? I don't see any reason for this generalization. _AC_ENABLE_IF([enable-$1], [$3], [$4]) ]) Moreover, you'd have to change this: +

Re: reorganized config.status

2005-08-18 Thread Stepan Kasal
commit the pending patch to Libtool and get this over with. Thanks. Will do. Stepan 2005-08-18 Ralf Wildenhues [EMAIL PROTECTED], Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the first header appears, define AH_HEADER

Re: A simplification of _AC_CANONICAL_SPLIT

2005-08-19 Thread Stepan Kasal
ac_good || AC_MSG_ERROR([non-canonical value of ac_cv_$1: $ac_cv_$1]) Have a nice day, Stepan Kasal

Re: problem in Makefile.maint

2005-08-22 Thread Stepan Kasal
Hello, On Mon, Aug 22, 2005 at 12:26:54AM -0700, Paul Eggert wrote: GZIP_ENV = \ --no-name --best$$( \ -case $$(gzip --help) in \ +case $$(gzip --help 21) in \ (*--rsyncable*) echo ' --rsyncable';; \ Do you know of any gzip version that has --rsyncable but where

prepend to LIBS, not append

2005-08-22 Thread Stepan Kasal
Hello, Noah has just committed the following patch, written by Ralf. Noah, the discussion was on the Autoconf list, so it should be forwarded to autoconf-patches. So I'm doing it. Thanks to both of you, Stepan 2005-08-21 Ralf Wildenhues [EMAIL PROTECTED] *

Re: A simplification of _AC_CANONICAL_SPLIT

2005-08-22 Thread Stepan Kasal
Hello, On Fri, Aug 19, 2005 at 02:01:05PM -0700, Paul Eggert wrote: Stepan Kasal [EMAIL PROTECTED] writes: The main goal is not to catch non-canonical values. The goal is to catch evil values which would break the code below. OK, but in that case let's use a different diagnostic, e.g

Re: Clean up AC_ARG_ENABLE and AC_ARG_WITH

2005-08-22 Thread Stepan Kasal
Hello, On Thu, Aug 18, 2005 at 01:18:42PM -0700, Paul Eggert wrote: Stepan Kasal [EMAIL PROTECTED] writes: 2005-08-18 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out common code to... (_AC_ENABLE_IF

Re: A simplification of _AC_CANONICAL_SPLIT

2005-08-23 Thread Stepan Kasal
Hello, On Mon, Aug 22, 2005 at 03:21:36PM -0700, Paul Eggert wrote: +case $ac_cv_$1 in + -*) false ;; + *-*-*) : ;; + *) false ;; +esac || AC_MSG_ERROR([invalid value of canonical $1]) Sorry, I still don't get it. Why is that first false needed? (I agree this thread is getting

Re: problem in Makefile.maint

2005-08-23 Thread Stepan Kasal
Hello, On Mon, Aug 22, 2005 at 03:02:15PM -0700, Paul Eggert wrote: But no maintainer should be using gzip 1.2.4 any more. maintainer -- if a user creates a patch and verifies it with make distcheck before submitting it, he is hit by this. IOW, not everyone who runs make distcheck must be a

Re: reorganized config.status

2005-08-23 Thread Stepan Kasal
Hello, I committed the AH_HEADER patch, and added an entry to NEWS: +** AH_HEADER + New macro which is defined to the name of the first declared config header + or undefined if no config headers have been declared yet. I'm not sure AH_HEADER is the right name, so it might change if someone

Re: problem in Makefile.maint

2005-08-23 Thread Stepan Kasal
Hello, On Mon, Aug 22, 2005 at 03:02:15PM -0700, Paul Eggert wrote: But no maintainer should be using gzip 1.2.4 any more. It has serious correctness and security bugs. Perhaps we can think of the current build-time warning as a reminder that maintainers should upgrade. I forgot to mention

Re: AT_KEYWORDS failure: cmdline OR-combinations

2005-08-23 Thread Stepan Kasal
Hello, + # and add banners. (Passing at_groups_all is tricky--see the comment + # starting with Passing at_groups is tricky.) I committed the keywords patch. Stepan

Re: config.status --version should not create config.log

2005-08-23 Thread Stepan Kasal
Hello, 2005-08-04 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status now opens log after option processing; in particular, --version and --help do not touch config.log. I committed this one, too. Stepan

Re: fix Autoheader for macros with parameters

2005-08-23 Thread Stepan Kasal
Hello, On Fri, Aug 12, 2005 at 01:12:34PM +0200, Stepan Kasal wrote: 2005-08-12 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list before passing the macro name to AH_TEMPLATE. no voices against it, so I committed. Stepan

Re: A simplification of _AC_CANONICAL_SPLIT

2005-08-24 Thread Stepan Kasal
patch? Stepan 2005-08-24 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting some evil values and relying on the fact that $* concatenates the parameters by the first character from IFS. Index: lib/autoconf/general.m4

Re: AS_SET_UNEXPANDED_ARGS proposal

2005-08-25 Thread Stepan Kasal
Hello, On Wed, Aug 24, 2005 at 12:26:54PM -0700, Paul Eggert wrote: 2005-08-24 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting some evil values and relying on the fact that $* concatenates the parameters by the first

Re: calling AC_CANONICAL_HOST twice?

2005-08-26 Thread Stepan Kasal
On Thu, Aug 25, 2005 at 07:00:16PM -0700, Noah Misch wrote: This looks highly appropriate. Please do. Hi, I committed the patch as attached here. Stepan * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use

Re: AT_KEYWORDS failure: cmdline OR-combinations

2005-08-28 Thread Stepan Kasal
decides to put /usr/xpg4/bin at the begining of his path, obey his orders. Perhaps he is using the CONVFMT feature. (It's a new POSIX feature; Arnold has told me that it can be used for tests to distinguish POSIX awk from Solaris' /bin/nawk.) Have a nice day, Stepan Kasal

_AC_COMPILER_EXEEXT cleanup

2005-08-31 Thread Stepan Kasal
ac_exeext). So I removed the export ac_cv_exeext commands. OK to commit? Stepan Kasal 2005-08-31 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set ac_file top

Add an index entry for AH_HEADER.

2005-09-01 Thread Stepan Kasal
Hello, I have just committed this patch. Stepan 2005-09-01 Stepan Kasal [EMAIL PROTECTED] * doc/autoconf.texi (Configuration Headers): Add an index entry for AH_HEADER. Index: doc/autoconf.texi === RCS file

Re: AC_SEARCH_LIBS optimization

2005-09-06 Thread Stepan Kasal
, that the arguments to AC_LINK_IFELSE shouldn't use `break'. I also added the check for that bug. Moreover, I converted the code to use AS_VAR_* macros, so that it allows more general application. The final patch, which I committed, is attached to this mail. Have a nice day, Stepan Kasal 2005-09-06

Re: AC_SEARCH_LIBS optimization

2005-09-07 Thread Stepan Kasal
Hello, On Tue, Sep 06, 2005 at 02:53:54PM -0700, Noah Misch wrote: + AC_LINK_IFELSE([], [AS_VAR_SET(ac_Search, [$ac_res])]) + AS_VAR_SET_IF(ac_Search, [break])dnl Here and throughout your patch, the first argument is constant, so these uses do not improve the code. I think that my

Enhancement to autoconf test suite

2005-09-07 Thread Stepan Kasal
Hello, attached please find a cosmetic change to the test definitions for AC_CHECK_{ALIGNOF,SIZEOF}. OK to commit? Stepan 2005-09-07 Stepan Kasal [EMAIL PROTECTED] * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests: the first one is usual AT_CHECK_MACRO

Re: [GNU Autoconf 2.59] testsuite: 90 failed

2005-09-27 Thread Stepan Kasal
-09-27 Stepan Kasal [EMAIL PROTECTED] * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader, in case the computer is too quick. Double quote the configure.ac snippets. * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent

Re: Autotest: make test dir writable before removing

2005-10-03 Thread Stepan Kasal
of AT_INIT, see below. (If there is something we (Ralf and I) have missed, we can revert the change later, of course.) Have a nice day, Stepan 2005-10-02 Ralf Wildenhues [EMAIL PROTECTED] Stepan Kasal [EMAIL PROTECTED] * lib/autotest/general.m4 (AT_INIT): Make test dir

Re: Autotest: make test dir writable before removing

2005-10-04 Thread Stepan Kasal
search the directory to remove its subfiles. But I understand this, so I implemented it. I committed another patch, as attached to this mail. Have a nice day, Stepan Kasal 2005-10-04 Stepan Kasal [EMAIL PROTECTED] * lib/autotest/general.m4 (AT_INIT): Really make the subtree

Re: Autotest: make test dir writable before removing

2005-10-05 Thread Stepan Kasal
, if $at_suite_dir is not a directory then you don't need to invoke rm at all; Yes. Can we use `-perm -700' to avoid most of the chmod's? That would be a bigger optimization. A proposed patch attached. Stepan 2005-10-05 Ralf Wildenhues [EMAIL PROTECTED] Stepan Kasal [EMAIL PROTECTED

Re: m4_map_sep bug (introduced by 2005-06-06 Autoconf patch) breaks Bison

2005-10-06 Thread Stepan Kasal
: # [DECL1, NAME1], ... Again, having an m4 list as one parameter is a good idea if all the macro does is that it passes the whole list to m4_map_sep. To sum up, it seems that I'll come back with quite a huge bison cleanup patch, when I find some time. Have a nice day, Stepan Kasal

FYI: comment change

2005-10-18 Thread Stepan Kasal
Hello, I noticed a comment which is no longer true. I removed it, since I thing there is no need to create an updated text. Stepan Kasal 2005-10-19 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment. Index: lib/autoconf/general.m4

Re: portability of positional parameters after $9?

2005-10-20 Thread Stepan Kasal
Hi. On Thu, Oct 20, 2005 at 12:47:51PM -0700, Paul Eggert wrote: * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is not portable; thanks to Paul Eggert and Alexandre. Please install that, and thanks for writing it up. Done. Stepan

FYI: a fix in status.m4 (ac_eof)

2005-10-21 Thread Stepan Kasal
in the common case, making the code quicker on plaforms with expensive forks (ie. Cygwin). Stepan 2005-10-21 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining, the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify

Re: AC_PROG_CC_C_O doesn't work with VC++

2005-10-25 Thread Stepan Kasal
to drop the 8.3 support from generated ./configure. Have a nice day, Stepan Kasal 2005-10-25 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only conftst2.$ac_objext. * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise

Mac OS X 10.2 uses bash as /bin/sh

2006-01-04 Thread Stepan Kasal
Hello. On Wed, Jan 04, 2006 at 08:01:30PM +0100, Andreas Schwab wrote: Stepan Kasal [EMAIL PROTECTED] writes: the Autoconf manual says: Zsh 3.0.8 is the native `sh' on Mac OS X 10.0.3. Note that this has been fixed in 10.2 (bash is now used). Is it worth it to commit

Re: _AS_PATH_WALK

2006-03-15 Thread Stepan Kasal
''. And I think the stack of depth 1 (as_save_IFS) has no practical value; using a global default value is IMHO more sincere. OK to commit? Have a nice day, Stepan 2006-03-15 Stepan Kasal [EMAIL PROTECTED] * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH

Re: Using AC_CACHE_CHECK with AC_ARG_ENABLE/AC_ARG_WITH?

2006-03-15 Thread Stepan Kasal
caching brings. ... I agree. I think the example is bogus. [...] the example was partialy fixed in the CVS version, but it still used the cached variables. I committed the patch attached below. Stepan 2006-03-15 Stepan Kasal [EMAIL PROTECTED] * doc/autoconf.texi (Pretty Help Strings

Re: Enhancement to autoconf test suite

2006-03-17 Thread Stepan Kasal
Hello, On Wed, Sep 07, 2005 at 02:03:17PM -0700, Paul Eggert wrote: 2005-09-07 Stepan Kasal [EMAIL PROTECTED] * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests: the first one is usual AT_CHECK_MACRO test, the second one checks that the same works

AC_PATH_PROG fix

2006-03-20 Thread Stepan Kasal
Hello, I wondered why AC_PATH_PROG was reporting no even though the program was found. The following patch fixes that; I checked it in. Stepan 2006-03-17 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of AC_SUBST

Re: Tru64/OSF: BIN_SH revisited

2006-03-20 Thread Stepan Kasal
Hello, On Fri, Mar 17, 2006 at 06:10:10PM +0100, Ralf Wildenhues wrote: * Stepan Kasal wrote on Fri, Mar 17, 2006 at 04:27:09PM CET: Second, if this change 0b) Additionally, prepend /usr/bin/posix/ to the path walk of _AS_DETECT_BETTER_SHELL, [...] make things work on OSF

Re: patches that have not been posted

2006-03-20 Thread Stepan Kasal
Hello, On Mon, Mar 20, 2006 at 09:57:33AM -0600, Karl Berry wrote: Those two message-id's do not appear in the mbox archives, ftp://lists.gnu.org/autoconf-patches. But there are messages from you with patches on March 17 in the html archives:

Factor out common warning in programs.m4

2006-03-20 Thread Stepan Kasal
the resulting patch, as attached to this mail. Have a nice day, Stepan 2006-03-17 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Factor out the warning to... (_AC_TOOL_WARN): ... this new macro; use

Re: status.m4: $INSTALL and quoting

2006-03-20 Thread Stepan Kasal
Hello, On Mon, Mar 20, 2006 at 01:32:36PM +0100, Ralf Wildenhues wrote: | INSTALL=''/usr/bin/install -c'' ... Not that I remember, no. But your reasoning does make me believe I may have reported a non-issue. [...] it may be a reall issue. But we are not able to understand it so we have

Re: patches that have not been posted

2006-03-20 Thread Stepan Kasal
Message-ID: [EMAIL PROTECTED] both: From: Stepan Kasal [EMAIL PROTECTED] To: autoconf-patches@gnu.org Bob, are you able to trace this? Have a nice day, Stepan Kasal

_AC_CACHE_DUMP simplified

2006-03-20 Thread Stepan Kasal
Hello, what would you say about this simplification of _AC_CACHE_DUMP? Stepan 2006-03-20 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Grep for `^ac_space' so that the test is not fooled by variables containing string `ac_space

Re: more M4sh documentation

2006-03-21 Thread Stepan Kasal
Hello, * Eric Blake wrote on Tue, Mar 21, 2006 at 12:43:56AM CET: Doesn't etc. need special texinfo handling, since it is an abbreviation I checked the texinfo manuals in the project `texinfo' itself. They use plain `etc.' as we do, so I think we shouldn't try to be more saint than the pope.

Re: _AC_CACHE_DUMP simplified

2006-03-21 Thread Stepan Kasal
Hello Ralf, On Tue, Mar 21, 2006 at 07:17:24AM +0100, Ralf Wildenhues wrote: * Stepan Kasal wrote on Mon, Mar 20, 2006 at 11:11:40PM CET: what would you say about this simplification of _AC_CACHE_DUMP? I'd reject it. [...] sure, that patch was full of silly mistakes. It was too late

Re: autoupdate fun

2006-03-21 Thread Stepan Kasal
the bugs below survive this patch. Good night for now, Stepan Kasal On Mon, Mar 20, 2006 at 09:33:50PM +0100, Ralf Wildenhues wrote: The first bug has been reported against Libtool several moons ago by Dalibor Topic. I've now stumbled over it again and nailed it down to AC_LANG_SAVE

Re: more M4sh documentation

2006-03-22 Thread Stepan Kasal
Hello, On Wed, Mar 22, 2006 at 01:30:45PM -0800, Paul Eggert wrote: Ralf Wildenhues [EMAIL PROTECTED] writes: [...] I've done a more careful review this time, and we need at least one more go-round. thank you Paul, for this. [EMAIL PROTECTED] AS_LITERAL_IF (@var{expression},

Re: more M4sh documentation

2006-03-27 Thread Stepan Kasal
Hello Ralf, thank you very much for writing this documentation. On Tue, Mar 21, 2006 at 07:44:37PM +0100, Ralf Wildenhues wrote: the real question is one of commitment to these interfaces. Exactly. First, the question of _AS_PREPARE. I agree this hack shall not be documented---the right

Re: document AS_BASENAME

2006-03-30 Thread Stepan Kasal
Hello, On Thu, Mar 30, 2006 at 10:01:39AM -0800, Noah Misch wrote: On Thu, Mar 30, 2006 at 06:18:43PM +0200, Stepan Kasal wrote: @example ... file=`AS_BASENAME([$file])` # This is more portable. @end example With you adding an example to the documentation of AS_BASENAME

Re: autoreconf and aclocal options (-I, --ac-dir)

2006-03-30 Thread Stepan Kasal
Hello, Chris proposed to document that autoreconf doesn't pass -I to aclocal. I remember that I was confused by this some time ago, too. I think his addition can help many users, and there were no objections, so I committed it, as attached. (I changed s/on to/to/ on the last line, it seems

Re: document AS_BASENAME

2006-03-31 Thread Stepan Kasal
Hello, On Thu, Mar 30, 2006 at 10:12:35PM -0800, Paul Eggert wrote: Thanks, I installed the following, which I hope addresses all the issues that you and others raised. actually there are two details: 1) I thought that file=/one/two/three file=`AS_BASENAME([$file])` # sets

Re: spaces in $0

2006-03-31 Thread Stepan Kasal
Hello, On Mon, Mar 27, 2006 at 07:42:35PM +0200, Ralf Wildenhues wrote: * Ralf Wildenhues wrote on Mon, Mar 20, 2006 at 08:29:48PM CET: $ foo='bar baz' $ touch $foo $ cat $foo bash: $foo: ambiguous redirect D'oh. Teaches me right to check the standard (which does explicitly

Re: document AS_BASENAME

2006-04-01 Thread Stepan Kasal
Hello Paul, * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions of AS_BASENAME and AS_DIRNAME. thank you very much, it looks even better than what I imagined! Stepan

Re: document AS_BASENAME

2006-04-01 Thread Stepan Kasal
expr||sed only for the non-trivial one. (And likewise for AS_DIRNAME.) Would you accept the attached patch? Have a nice day, Stepan 2006-04-01 Stepan Kasal [EMAIL PROTECTED] * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Reimplement using AS_CASE. (AS_BASENAME): Likewise

Re: autoupdate fun

2006-04-01 Thread Stepan Kasal
Hello, On Mon, Mar 27, 2006 at 08:06:57PM +0200, Ralf Wildenhues wrote: * bin/autoupdate.in: Redefine m4_location so that warnings print the correct lines of the input file by subtracting.. (_au__first_line): ..this new definition. I tested the combination of my patch and

Re: autotest fails when pwd is testgroup directory

2006-04-01 Thread Stepan Kasal
Hello, I committed Eric's patch, but I added a line of comment to the AT_INIT code, see below. Thank you, Eric. Have a nice day, Stepan --- lib/autotest/general.m4 27 Mar 2006 17:42:18 - 1.199 +++ lib/autotest/general.m4 1 Apr 2006 16:09:13 - 1.200 @@ -699,7

Re: Manual Spelling Fixes

2006-04-01 Thread Stepan Kasal
Hi, On Sat, Apr 01, 2006 at 09:11:38AM -0700, Eric Blake wrote: 2006-03-31 Noah Misch [EMAIL PROTECTED] * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently. Append LocalWords so ispell-buffer passes cleanly. Spelling fixes. Looks okay to me. To me

Re: document AS_BASENAME

2006-04-01 Thread Stepan Kasal
Hello Eric, On Sat, Apr 01, 2006 at 09:59:14AM -0700, Eric Blake wrote: Also, if we are handling the special cases up front, then we can guarantee that we are no longer calling 'basename /'. If we decide to take the approach of your patch, then _AS_BASENAME_PREPARE becomes extraneous, and

  1   2   3   >