bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Spurious datarootdir warnings in Wine configure


From: Alexandre Julliard
Subject: Spurious datarootdir warnings in Wine configure
Date: Mon, 19 Jun 2006 13:23:13 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

The following recent change

  
http://cvs.savannah.gnu.org/viewcvs/autoconf/lib/autoconf/status.m4?root=autoconf&r1=1.110&r2=1.111

is causing warnings in the Wine configure:

configure: creating ./config.status
config.status: creating Make.rules
config.status: creating dlls/Makedll.rules
config.status: WARNING: dlls/Makedll.rules contains a reference to the variable 
`datarootdir'
which seems to be undefined.  Please make sure it is defined.
config.status: creating dlls/Makeimplib.rules
config.status: WARNING: dlls/Makeimplib.rules contains a reference to the 
variable `datarootdir'
which seems to be undefined.  Please make sure it is defined.
config.status: creating dlls/Maketest.rules
config.status: WARNING: dlls/Maketest.rules contains a reference to the 
variable `datarootdir'
which seems to be undefined.  Please make sure it is defined.
config.status: creating libs/Makelib.rules
config.status: WARNING: libs/Makelib.rules contains a reference to the variable 
`datarootdir'
which seems to be undefined.  Please make sure it is defined.
config.status: creating programs/Makeprog.rules
config.status: WARNING: programs/Makeprog.rules contains a reference to the 
variable `datarootdir'
which seems to be undefined.  Please make sure it is defined.
config.status: creating Makefile
config.status: WARNING: Makefile contains a reference to the variable 
`datarootdir'
which seems to be undefined.  Please make sure it is defined.
etc.

That's because in Wine, datarootdir is defined in the global
Make.rules file, which is then included into the individual makefiles
using AC_SUBST_FILE. This means ${datarootdir} is legitimately present
in the output without being part of the current input file.

I'm happy to add a workaround in Wine if you can suggest one,
preferably one that doesn't involve defining datarootdir in every
individual makefile...

-- 
Alexandre Julliard
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]