configure: pass CONFIG_xxxDIR/PATH options via commandline
authorgrischka <grischka>
Thu, 14 Feb 2013 16:43:24 +0000 (17:43 +0100)
committergrischka <grischka>
Thu, 14 Feb 2013 16:43:24 +0000 (17:43 +0100)
commit762a43877b6edc4a586b2b41f7474eee0adcdcec
treea2c139bc1a70b2e8f2505b6c945dfbe89c21c9ef
parent99b801dafc664f80910f1c4d5f492170b01c2c3c
configure: pass CONFIG_xxxDIR/PATH options via commandline

- except for CONFIG_SYSROOT and CONFIG_TCCDIR

Strictly neccessary it is only for CONFIG_MULTIARCHDIR
because otherwise if it's in config.h it is impossible to
leave it undefined.

But it is also nicer not to use these definitions for
cross-compilers.

- Also:
lib/Makefile : include ../Makefile for CFLAGS
lib/libtcc1.c : fix an issue compiling tcc with tcc on x64
Makefile
configure
lib/Makefile
lib/libtcc1.c
tcc.c
tcc.h