GNOME Bugzilla – Bug 71678
AUX_DIR guessing returns false result when package is inside a meta-package
Last modified: 2004-12-22 21:47:04 UTC
If there's an autoconf meta-package that contains other autoconf packages (like gtk-enterprise-edition), intltoolize will fail to recognize that AC_CONFIG_AUX_DIR should default to '.', since when intltoolize is run for the first time (from the sub-package's autogen script), if AC_CONFIG_AUX_DIR is not explicitly defined in subpackage/configure.in, the following code will be run: # Try to discover auxdir the same way it is discovered by configure. # Note that we default to the current directory. for dir in . .. ../..; do if test -f $dir/install-sh; then auxdir=$dir break elif test -f $dir/install.sh; then auxdir=$dir break fi done however, 'install-sh' will not be found in the sub-package's root (since intltoolize is run before install-sh is created), instead, the one in the meta-package's root will be found, and thus, auxdir will be incorreclty set to '..'. For an example CVS module that is affected by this bug, look at gtkmm_hello inside 'gnomemm' in cvs.gnome.org.
Did you fix this already? I see a patch that seems to be about this.
No, I did check in a fix related to AUX_DIR handling but that has nothing to do with this problem.
What's up with this? Does the bug report still apply?
Yes, I just tried autogen-ing gnomemm/gtkmm-hello and got exactly the same error.
This seems to cause make distcheck to succeed even when people have mentioned the intl-* scripts in their Makefile.am files to distribute them. This sounds like a big problem.
Is this something you can look into Murray when you have time? I would like this fixed, but I don't understand the bug well enought.
m4 isn't really my thing, and it isn't affecting me personally enough yet. It's quite simple: intltools looks in the parent directory for "install-sh", not just the current directory. This means that make distcheck will suceed when it shouldn't.
<murrayc> close it as old <murrayc> I'll reopen it if we find it again. Done and done.