On Sat, 15 Jan 2011 00:36:47 +0100
Juan Jose Garcia-Ripoll <juanjose.garciarip...@googlemail.com> wrote:
> I had to fix a number of bugs that were submitted during the last days.
> Unless somebody complains very loud (please, no! :-) I will tag and upload
> the 11.1.1 release this weekend.
I tried the following diff here, which does three minor things:
- Add a check for etags and emags-etags, setting ETAGS var to one of
them if found
- Checking for ETAGS being set and if so generate tag files as before
but using $ETAGS
- Remove what I think is an extra "done" at the end of the install
target
However, after running autoconf locally to regenerate the configure
script, there are issues, which might be to bugs in my autoconf
version, or perhaps a too old version for features ECL expects (my
version was 2.65, it seems that configure was generated using 2.68).
The first error I got was related to byte types detection; now somehow
after a second regeneration I get yet another odd error related to an
invalid FD redirection.
checking for stdint.h... yes
checking for int8_t... no
checking for uint8_t... yes
checking for int16_t... no
checking for uint16_t... yes
checking for int32_t... no
checking for uint32_t... yes
checking for int64_t... no
checking for uint64_t... yes
/home/mmondor/work/ecl-cvs/src/configure[7428]: >&7427 : illegal file
descriptor name
configure: error: 0
make: no target to make.
It's also possible that there were changes to the aclocal.m4 script since
the last time the configure script was built, and that a bug was
introduced...
If you can, please verify if the diff works better for you.
Thanks,
--
Matt
Index: ./src/configure.in
===================================================================
RCS file: /cvsroot/ecls/ecl/src/configure.in,v
retrieving revision 1.255
diff -u -r1.255 configure.in
--- ./src/configure.in 4 Jan 2011 21:50:05 -0000 1.255
+++ ./src/configure.in 16 Jan 2011 00:23:37 -0000
@@ -326,6 +326,7 @@
AC_PROG_MAKE_SET # set $(MAKE) if needed
AC_PROG_RANLIB # set variable RANLIB
AC_CHECK_TOOL([AR],[ar]) # set variable AR to appropriate `ar' program
+AC_CHECK_PROGS([ETAGS],[etags emacs-etags]) # set variable ETAGS to etags
program if found
dnl -----------------------------------------------------------------------
dnl Checks which do not come with autoconf (must be after AC_PROG_CC)
Index: ./src/Makefile.in
===================================================================
RCS file: /cvsroot/ecls/ecl/src/Makefile.in,v
retrieving revision 1.115
diff -u -r1.115 Makefile.in
--- ./src/Makefile.in 14 Jan 2011 23:11:49 -0000 1.115
+++ ./src/Makefile.in 16 Jan 2011 00:23:37 -0000
@@ -18,6 +18,7 @@
RM = @RM@
LN_S = @LN_S@
EXE = @EXEEXT@
+ETAGS = @ETAGS@
# ==================== Where To Install Things ====================
@@ -193,7 +194,6 @@
$(mkinstalldirs) $(DESTDIR)$(mandir)/man$(manext)
$(INSTALL_DATA) doc/ecl.man
$(DESTDIR)$(mandir)/man$(manext)/ecl.$(manext)
$(INSTALL_DATA) doc/ecl-config.man
$(DESTDIR)$(mandir)/man$(manext)/ecl-config.$(manext)
- done
flatinstall: build-stamp
$(MAKE) DESTDIR=$(DESTDIR) bindir=$(prefix) libdir=$(prefix) \
@@ -247,9 +247,10 @@
# This rule is allowed to fail when etags does not exist.
TAGS:
echo > $@;
+ test $ETAGS && \
-srcfiles=`find $(srcdir)/c/ $(srcdir)/h/ -name '*.[chd]'`; \
- etags --language=c -o $@ $$srcfiles && \
- etags --language=none -o $@ --append \
+ $ETAGS --language=c -o $@ $$srcfiles && \
+ $ETAGS --language=none -o $@ --append \
--regex='/@\([-:*a-zA-z]+\)/\1/' \
--regex='/@(defun \([-:*a-zA-z]+\)/\1/' \
$$srcfiles
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list