emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure problem


From: Andreas Schwab
Subject: Re: configure problem
Date: Tue, 15 Jul 2003 10:09:23 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)

Kenichi Handa <address@hidden> writes:

|> In article <address@hidden>, Katsumi Yamaoka <address@hidden> writes:
|> > configure.in:50: error: possibly undefined macro: AC_DEFINE
|> >       If this token and others are legitimate, please use m4_pattern_allow.
|> >       See the Autoconf documentation.
|> 
|> > Here is a patch which has been confirmed by the NetBSD user.
|> > I don't know why the AC_DEFINE macro is not expanded there,
|> > though. :{
|> 
|> The reason is described in the comment above this jambo
|> "case" statement as this:
|> 
|> dnl This used to use changequote, but, apart from `changequote is evil'
|> dnl per the autoconf manual, we can speed up autoconf somewhat by quoting
|> dnl the great gob of text.  Thus it's not processed for possible expansion.
|> dnl Just make sure the brackets remain balanced.

I have now checked in this change:

        * configure.in: Temporarily leave quoting for AC_DEFINE.

--- configure.in.~1.343.~       2003-07-14 13:49:29.000000000 +0200
+++ configure.in        2003-07-15 10:04:52.000000000 +0200
@@ -222,9 +222,9 @@ case "${canonical}" in
   ## NetBSD ports
   *-*-netbsd* )
     opsys=netbsd
-    if test -f /usr/lib/crti.o; then
+    if test -f /usr/lib/crti.o; then]
       AC_DEFINE(HAVE_CRTIN)
-    fi
+[   fi
 
     case "${canonical}" in
       alpha*-*-netbsd*)        machine=alpha ;;

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]