From 74a24d77fd9c08ad9a6b3b6c0f434c7314dae639 Mon Sep 17 00:00:00 2001 From: grischka Date: Thu, 11 Aug 2011 16:55:30 +0200 Subject: libtcc: minor adjustments - use {B} to substitute tcc_lih_path (instead of \b) - expand CONFIG_TCC_CRTPREFIX in CONFIG_TCC_LIBPATHS which fixes duplicate CONFIG_SYSROOT. - put default CONFIG_SYSROOT ("") into tcc.h - remove hack from commit db6fcce78f4d8ea25036dd6643e9fa83d8e52e5a because $(tccdir)/include is already in sysincludes - configure: error out for unrecognized options. - win32/build-tcc.bat: put libtcc into base dir where it will find lib/include automatically, and build libtcc_test example. --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 546bc8a..3d68b1c 100755 --- a/configure +++ b/configure @@ -168,6 +168,8 @@ for opt do ;; --help|-h) show_help="yes" ;; + *) echo "configure: unrecognized option $opt"; exit 1 + ;; esac done @@ -380,7 +382,7 @@ print_var2() { if test -n "$2"; then print_var1 $1 "$2"; fi } -print_var1 CONFIG_SYSROOT "$sysroot" +print_var2 CONFIG_SYSROOT "$sysroot" print_var1 CONFIG_TCCDIR "$tccdir" print_var2 CONFIG_TCC_SYSINCLUDEPATHS "$tcc_sysincludepaths" print_var2 CONFIG_TCC_LIBPATHS "$tcc_libpaths" -- cgit v1.3.1