Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: fix configure good and proper.



On 14 Feb, Peter wrote:
> I've spent my afternoon updating configure to fit better with the latest
> features.  I will commit the changes immediately --- it's only been
> tried on Debian and Mandrake, so expect a certain amount of pain
> elsewhere.  However, the changes went a lot smoother than I expected.

This looks great.

Only one minor issue:

  config.status: executing config.modules commands
  ./config.status[1515]: config.modules.sh:  not found

That's because the dot command in /bin/sh on Solaris searches the path
for config.modules.sh. It seems bash will look in the current directory
anyway which is probably why it works on Linux. I've put the fix below.

> I have not reapplied the changes to attempt to improve terminfo
> configuration.  That will need rewriting; also, we need to avoid a
> problem with checking term.h before we know it compiles.

Yes, I still need the previous terminfo patch at home but it seems to
have solved the config.modules problems I had - thanks. I also get this
on Solaris 8. Is that what you're talking about with term.h:

  checking term.h usability... no
  checking term.h presence... yes
  configure: WARNING: term.h: present but cannot be compiled
  configure: WARNING: term.h:     check for missing prerequisite headers?
  configure: WARNING: term.h: see the Autoconf documentation
  configure: WARNING: term.h:     section "Present But Cannot Be Compiled"
  configure: WARNING: term.h: proceeding with the preprocessor's result
  configure: WARNING: term.h: in the future, the compiler will take precedence
  configure: WARNING:     ## ------------------------------------------ ##
  configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
  configure: WARNING:     ## ------------------------------------------ ##
  checking for term.h... yes

Should we be defining something so that it says `zsh' instead of
AC_PACKAGE_NAME?

Doesn't seem to matter though - it builds and `make test' passes.

Oliver

Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.6
diff -u -r1.6 configure.ac
--- configure.ac	17 Feb 2004 13:53:36 -0000	1.6
+++ configure.ac	18 Feb 2004 13:14:40 -0000
@@ -2341,7 +2341,7 @@
 
 AC_CONFIG_FILES(Config/defs.mk Makefile Doc/Makefile Etc/Makefile \
 Src/Makefile Test/Makefile)
-AC_CONFIG_COMMANDS([config.modules], [. config.modules.sh])
+AC_CONFIG_COMMANDS([config.modules], [. ./config.modules.sh])
 
 AC_OUTPUT
 



Messages sorted by: Reverse Date, Date, Thread, Author