There has been a crash of our mail system this week-end and the following message never arrived to the list -------- Message d'origine -------- Objet: 20020910 Date: Fri, 13 Sep 2002 19:31:16 +0200 De: Maurice Lombardi <Maurice.Lombardi@ujf-grenoble.fr> A: gpc <gpc@gnu.de> Hi all While trying to compile the 20020910 alpha snapshot for DJGPP I have obtained the following error message c:/djgpp/b/gnu/gcc-2.953/gcc/p/rts/configure: line 2651: syntax error near unexpected token `GPC_MSG_CHECKING(for' c:/djgpp/b/gnu/gcc-2.953/gcc/p/rts/configure: line 2651: `GPC_MSG_CHECKING(for pw_gecos in struct passwd,if struct passwd in <pwd.h> contains a pw_gecos field)' make.exe[1]: *** [p/rts/Makefile] Error 2 make.exe[1]: Leaving directory `c:/djgpp/b/gnu/gcc-2.953/build.djg/gcc' make.exe: *** [all-gcc] Error 2 GPC_MSG_CHECKING has been changed betwen 0905 and 0910 in p/rts/configure.in by the following -------------------------------------------------------------------------------------- # The second parameter is used by make-acconfig-h.m4 -AC_DEFUN(GPC_MSG_CHECKING,[AC_MSG_CHECKING([$1])]) +ifdef([GPC_MSG_CHECKING],,[AC_DEFUN([[GPC_MSG_CHECKING]],[AC_MSG_CHECKING([$1])])]) --------------------------------------------------------------------------------------- It seems that you want to define it only if it is not already defined. I am lost with all those [] quoting. I have tried to simple quote by applying the following diff on the 20020910 sources (where the previous one has already been applied): ----------------------------------------------------------------------------- --- configure.in.orig 2002-09-13 00:40:32.000000000 +0000 +++ configure.in 2002-09-13 00:42:16.000000000 +0000 @@ -52,7 +52,7 @@ AC_SUBST(with_shared) AC_DEFUN(GPC_DEFINE,[AC_DEFINE(translit($1, [abcdefghijklmnopqrstuvwxyz ], [ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) # The second parameter is used by make-acconfig-h.m4 -ifdef([GPC_MSG_CHECKING],,[AC_DEFUN([[GPC_MSG_CHECKING]],[AC_MSG_CHECKING([$1])])]) +ifdef([GPC_MSG_CHECKING],,[AC_DEFUN([GPC_MSG_CHECKING],[AC_MSG_CHECKING([$1])])]) # Checks for header files AC_HEADER_STDC ---------------------------------------------------------------------------- Then everything works OK. Is this just an error while uploading or some subtle difference between autoconf 2.13 you use and autoconf 2.50 I use ? I need to run DJGPP autoconf to regenerate the configure scripts to take into account some DJGPP peculiarities. Maurice -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 63 54 95 mailto:Maurice.Lombardi@ujf-grenoble.fr -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 63 54 95 mailto:Maurice.Lombardi@ujf-grenoble.fr