From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: REPLACE_GMTIME Date: Fri, 20 Dec 2013 11:01:26 +0200 Message-ID: <83a9fvc2vt.fsf@gnu.org> References: <52B3FEAD.6020005@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1387530081 19153 80.91.229.3 (20 Dec 2013 09:01:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Dec 2013 09:01:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 20 10:01:27 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VtvxT-0008Lf-Ra for ged-emacs-devel@m.gmane.org; Fri, 20 Dec 2013 10:01:23 +0100 Original-Received: from localhost ([::1]:48370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtvxT-0006Ls-Hv for ged-emacs-devel@m.gmane.org; Fri, 20 Dec 2013 04:01:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtvxL-0006Lm-WF for emacs-devel@gnu.org; Fri, 20 Dec 2013 04:01:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtvxF-0003ON-Ph for emacs-devel@gnu.org; Fri, 20 Dec 2013 04:01:15 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:52564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtvxF-0003OA-Hc for emacs-devel@gnu.org; Fri, 20 Dec 2013 04:01:09 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MY300C00L1E2F00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 20 Dec 2013 11:01:05 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MY300451L1TZPQ3@a-mtaout22.012.net.il>; Fri, 20 Dec 2013 11:01:05 +0200 (IST) In-reply-to: <52B3FEAD.6020005@gmx.at> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:166652 Archived-At: > Date: Fri, 20 Dec 2013 09:24:13 +0100 > From: martin rudalics > > Building in a separate directory currently fails on Debian GNU/Linux > here as > > > In file included from ../../lib/timespec.h:22:0, > from ../../lib/dtotimespec.c:25: > ./time.h:506:7: error: token "@" is not valid in preprocessor expressions > ./time.h:521:7: error: token "@" is not valid in preprocessor expressions > make[2]: *** [dtotimespec.o] Fehler 1 > make[2]: Leaving directory `/home/martin/emacs/quickfixes/obj-gtk/lib' > make[1]: *** [all] Fehler 2 > make[1]: Leaving directory `/home/martin/emacs/quickfixes/obj-gtk/lib' > make: *** [lib] Fehler 2 > > > while building in the source directory for another branch works correct. > > > lib/Makefile in the failing build has > > ... > REPLACE_GMTIME = @REPLACE_GMTIME@ > REPLACE_ISATTY = 0 > REPLACE_LCHOWN = 0 > REPLACE_LINK = 0 > REPLACE_LINKAT = 0 > REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ > ... > > while in the succeeding build it has > > ... > REPLACE_GMTIME = 0 > REPLACE_ISATTY = 0 > REPLACE_LCHOWN = 0 > REPLACE_LINK = 0 > REPLACE_LINKAT = 0 > REPLACE_LOCALTIME = 0 > ... > > What am I doing wrong? Re-run autogen.sh and configure, then rebuild. For some reason, plain "make" doesn't do something it should have.