configure: add switches to set search paths
commit81cd0cf6fdcbdd1d38c1a9f317d04fdac287a1e5
authorgrischka <grischka>
Sat, 6 Aug 2011 14:11:12 +0000 (6 16:11 +0200)
committergrischka <grischka>
Sat, 6 Aug 2011 14:11:12 +0000 (6 16:11 +0200)
treed1d0015cd3ba90177e7c6eefd677a090287f7464
parent9ffd77f18d07c595e7bd1fcc032f3cbb7b09cc6f
configure: add switches to set search paths

   --sysincludepaths=.. specify system include paths, colon separated"
     Sets CONFIG_TCC_SYSINCLUDEPATHS

   --libpaths=...       specify system library paths, colon separated"
     Sets CONFIG_TCC_LIBPATHS

   --crtprefix=...      specify location of crt?.o"
     Sets CONFIG_TCC_CRTPREFIX

   --elfinterp=...      specify elf interpreter"
     Sets CONFIG_TCC_ELFINTERP

Also the CONFIG_TCC_XXX were renamed to make them look
more consistent.

Also move the elf_interp definitions to tcc.h.
Makefile
configure
libtcc.c
tcc.h
tccelf.c