[LLVMbugs] [Bug 1161] build system ignores many user set directories
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Feb 12 18:22:12 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1161
rspencer at x10sys.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From rspencer at x10sys.com 2007-02-12 20:22 -------
I now remember why we did this .. because autoconf gets it wrong.
Using the autoconf names for these variables, we get the following expansions:
PROJ_bindir := $(DESTDIR)/proj/llvm/install-3/progs
PROJ_libdir := $(DESTDIR)${exec_prefix}/lib
PROJ_datadir := $(DESTDIR)${datarootdir}
PROJ_docsdir := $(DESTDIR)${datarootdir}/doc/${PACKAGE_TARNAME}
PROJ_etcdir := $(DESTDIR)${sysconfigdir}
PROJ_includedir := $(DESTDIR)${prefix}/include
PROJ_infodir := $(DESTDIR)${datarootdir}/info
PROJ_mandir := $(DESTDIR)${datarootdir}/man
PROJ_datarootdir:= $(DESTDIR)${prefix}/share
This is invalid syntax for makefiles. I don't know why autoconf can't resolve
its variable names on its own.
Consequently, I'm not going to "fix" this. If someone wants to patch autoconf to
get this right then I might consider making the change. Perhaps when we upgrade
our autoconf version it will just magically fix itself.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list