Overview
| Artifact ID: | 31c1f78f32d5853a8f1e868f9cd4d9591961010a |
|---|---|
| Ticket: | 2750886fffffffffffffffffffffffffffffffff
incorrect handling of CFLAGS on configure command line |
| User & Date: | marcomaggi on 2009-04-10 21:41:04 |
Changes
- assignee changed to: "stwo"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.6b1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "marcomaggi"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
incorrect handling of CFLAGS on configure command line
- type changed to: "Bug"