-----Original Message-----
From: Malcolm Purvis [mailto:malcolmp@xemacs.org]
Sent: Friday, January 28, 2005 4:34 AM
To: xemacs-beta(a)xemacs.org
Cc: Ben Wing
Subject: autoconf.ac (was Re: GTK mixing with X11)
>>>>> "Stephen" == Stephen J Turnbull <stephen(a)xemacs.org>
writes:
Stephen> Instead, work on configure.ac.
Yes please do. I've yet to receive any comments on the
patch, or the output of the regression test from any systems
apart from my own. I'd some to have some of both before
progressing any further.
I did make a comment on the patch, but you apparently missed it, so I'll
repeat it:
This chunk at the end looks wrong:
@@ -5660,10 +5675,8 @@
dnl Create a GNUmakefile and Makefile from Makefile.in.
changequote(<<,>>)dnl
-dnl CPP_MAKEFILE(CPPFLAGS,filename)
-define(<<CPP_MAKEFILE>>,
-echo creating $dir/<<$2>>
-$CPP -I. -I${top_srcdir}/src <<$1>> junk.c \
+echo creating $dir/Makefile
+$CPP -I. -I${top_srcdir}/src -DUSE_GNU_MAKE junk.c \
dnl Delete line directives inserted by $CPP
| sed -e 's/^\#.*//' \
dnl Delete spurious blanks inserted by $CPP
@@ -5678,15 +5691,8 @@
s/\"[ TAB]*$//
}' > Makefile.new
chmod 444 Makefile.new
- mv -f Makefile.new <<$2>>
-)dnl CPP_MAKEFILE
-
- CPP_MAKEFILE(,Makefile)
- CPP_MAKEFILE(-DUSE_GNU_MAKE,GNUmakefile)
- if test -r "xemacs.def.in"; then
- cp -f xemacs.def.in junk.c
- CPP_MAKEFILE(,xemacs.def)
- fi
+ mv -f Makefile.new Makefile; cp Makefile GNUmakefile
+dnl
changequote([,])dnl
rm -f junk.c
)
It deletes the stuff that creates GNUmakefile separately, and just copies
one to the other.