Artifacts Associated With Ticket 2750886fffffffff
Ticket change [31c1f78f32] (rid 93487) by marcomaggi on 2009-04-10 21:41:04:
- assignee initialized to: "stwo"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Configuring Tcl 8.6b1 on a i686-pc-linux-gnu with: ./configure \ --prefix="${prefix}" \ --enable-shared \ --enable-man-symlinks \ --enable-man-compression=gzip \ --enable-threads \ CFLAGS='-O3 -march=i686 -mtune=i686' fails when "tdbc" is (sub)configured because the "unix/Makefile" contains the following: PKG_CFG_ARGS = CFLAGS="-O3 -march=i686 -mtune=i686" --prefix=/usr/local --enable-shared --disable-static --enable-man-symlinks --enable-man-compression=gzip --enable-threads CFLAGS=-O3 -march=i686 -mtune=i686 that is CFLAGS is included twice and the second time it is spliced without quotes. Tcl itself is configured and built correctly, only "tdbc" configuration fails. The spliced CFLAGS comes from the line in "configure.in" that includes $@. My opinion is that changing the following line in "configure.in": eval 'test -n "$'$v'" && PKG_CFG_ARGS="$v=\"$'$v'\" $PKG_CFG_ARGS"' will NOT work. AFAICT there is no way to convince AC_SUBST to keep quotes. Why not use AC_CONFIG_SUBDIRS? - foundin initialized to: "obsolete: 8.6b1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "marcomaggi"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to:
incorrect handling of CFLAGS on configure command line
- type initialized to: "Bug"
Ticket change [f9dab8e5d8] (rid 91767) by dgp on 2009-05-21 03:52:20:
- icomment:
possibly related issue: http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/2009-May/001127.html
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [d7c39fa2ff] (rid 107317) by das on 2009-05-21 10:18:07:
- assignee changed to: "das"
- closedate changed to: "2009-05-21T03:18:07"
- closer changed to: "das"
- foundin changed to: "obsolete: 8.6b1.1"
- icomment:
fixed on HEAD, by following commit: http://fisheye.categorifiedcoder.info/changelog/Tcl?cs=MAIN:das:20090103135509 just verified that passing a CFLAGS containing spaces as an arg to configure results in correct quoting in PKG_CFG_ARGS: ./configure -C --enable-threads --enable-framework --enable-dtrace --enable-symbols CC=gcc CFLAGS='-mmacosx-version-min=10.5 -arch ppc -arch ppc64 -arch i386 -arch x86_64' results in PKG_CFG_ARGS= '-C' '--enable-threads' '--enable-framework' '--enable-dtrace' '--enable-symbols' 'CC=gcc' 'CFLAGS=-mmacosx-version-min=10.5 -arch ppc -arch ppc64 -arch i386 -arch x86_64' --cache-file=../../config.cache dgp: the linked debian issue is unrelated IMO, that is about non-overrideability of CFLAGS in unix/Makefile.in at make time, not configure time - login: "das"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"
- username: "das"