[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Config error for Darwin (Mac OS/X)
From: |
Pavel Roskin |
Subject: |
Re: Config error for Darwin (Mac OS/X) |
Date: |
Thu, 14 Dec 2000 11:27:35 -0500 (EST) |
Hello, Akim!
> The problem is a missing space before the ; IMHO. Could you try if it
> fixes the problem and adjust Autoconf?
It doesn't help. Both bash 1.14.7 and bash 2.03 don't like stray
semicolons, either preceded by spaces or not. Ash 0.2 and zsh 3.0.7 don't
notice them.
A colon would help, but it doesn't belong here.
The best solution would be not to add a newline at the end of
AC_MSG_ERROR. Autoconf-2.13 did not add it:
if true; then
{ echo "configure: error: LinuxThreads header/library mismatch" 1>&2; exit 1;
};
fi
so it should be reasonably safe.
In fact, the final "dnl" in AS_ERROR disappeared very recently (two days
ago!), in the revision 1.19 of m4sh.m4:
# AS_ERROR(ERROR, [EXIT-STATUS = 1])
# ----------------------------------
m4_define([AS_ERROR],
-[{m4_ifset([AC_LOG_FD],
- [_AS_ECHO([$as_me:__oline__: error: $1], [AS_MESSAGE_LOG_FD])
-])[]dnl
- _AS_ECHO([$as_me: error: $1], 2)
- AS_EXIT([$2]); }[]dnl
+[{ AS_MESSAGE([error: $1], [2])
+ AS_EXIT([$2]); }
])# AS_ERROR
with the log message:
revision 1.19
date: 2000/12/12 10:53:41; author: akim; state: Exp; lines: +8 -15
AS_ERROR was not properly saving data in the log file.
* sh.m4 (AS_WARN, AS_ERROR): Use AS_MESSAGE.
(_AS_ECHO): Fix quotation.
(AS_MESSAGE): Use `as_me'.
* acgeneral.m4: More banners in the log.
(_AC_INIT_DEFAULTS): Compute as_me before using it.
I assume that the removal of dnl was unintentional, so I'm reverting it.
The patch goes to address@hidden
Regards,
Pavel Roskin
- Config error for Darwin (Mac OS/X), Tim Power, 2000/12/12
- Re: Config error for Darwin (Mac OS/X), Akim Demaille, 2000/12/13
- Re: Config error for Darwin (Mac OS/X), Akim Demaille, 2000/12/13
- Re: Config error for Darwin (Mac OS/X), Tim Power, 2000/12/13
- Re: Config error for Darwin (Mac OS/X), Tim Power, 2000/12/13