Artifact
31c1f78f32d5853a8f1e868f9cd4d9591961010a:
Ticket change
[31c1f78f32]
- New ticket
[2750886fffffffff|2750886fff] <i>incorrect handling of CFLAGS on configure command line</i>.
by
marcomaggi on
2009-04-10 21:41:04.
D 2009-04-10T21:41:04
J assignee stwo
J cmimetype text/plain
J comment Configuring\sTcl\s8.6b1\son\sa\si686-pc-linux-gnu\swith:\n\n\s\s\s\s./configure\s\\\n\s\s\s\s\s\s\s\s--prefix="${prefix}"\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\\\n\s\s\s\s\s\s\s\s--enable-shared\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\\\n\s\s\s\s\s\s\s\s--enable-man-symlinks\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\\\n\s\s\s\s\s\s\s\s--enable-man-compression=gzip\s\s\s\s\s\s\s\s\s\s\s\\\n\s\s\s\s\s\s\s\s--enable-threads\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\\\n\s\s\s\s\s\s\s\sCFLAGS='-O3\s-march=i686\s-mtune=i686'\n\n\nfails\swhen\s"tdbc"\sis\s(sub)configured\sbecause\sthe\s"unix/Makefile"\ncontains\sthe\sfollowing:\n\nPKG_CFG_ARGS\s=\sCFLAGS="-O3\s-march=i686\s-mtune=i686"\s--prefix=/usr/local\s--enable-shared\s--disable-static\s--enable-man-symlinks\s--enable-man-compression=gzip\s--enable-threads\sCFLAGS=-O3\s-march=i686\s-mtune=i686\s\n\nthat\sis\sCFLAGS\sis\sincluded\stwice\sand\sthe\ssecond\stime\sit\sis\nspliced\swithout\squotes.\s\sTcl\sitself\sis\sconfigured\sand\sbuilt\ncorrectly,\sonly\s"tdbc"\sconfiguration\sfails.\n\nThe\sspliced\sCFLAGS\scomes\sfrom\sthe\sline\sin\s"configure.in"\nthat\sincludes\s$@.\n\nMy\sopinion\sis\sthat\schanging\sthe\sfollowing\sline\sin\s"configure.in":\n\n\s\s\s\seval\s'test\s-n\s"$'$v'"\s&&\sPKG_CFG_ARGS="$v=\\"$'$v'\\"\s$PKG_CFG_ARGS"'\n\nwill\sNOT\swork.\s\sAFAICT\sthere\sis\sno\sway\sto\sconvince\nAC_SUBST\sto\skeep\squotes.\s\sWhy\snot\suse\sAC_CONFIG_SUBDIRS?\n
J foundin obsolete:\s8.6b1
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter marcomaggi
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title incorrect\shandling\sof\sCFLAGS\son\sconfigure\scommand\sline
J type Bug
K 2750886fffffffffffffffffffffffffffffffff
U marcomaggi
Z a3f21b45d5feac39e016fe7ac31a3bdd