From 436c1a734ff8cc1e454e2fe1d88dd891af909991 Mon Sep 17 00:00:00 2001 From: Joe Soroka Date: Mon, 11 Jul 2011 00:20:48 -0700 Subject: [PATCH] allow defining sysroot at compile-time --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index d2049af..c9bc83a 100755 --- a/configure +++ b/configure @@ -353,7 +353,9 @@ echo "mandir=\$(DESTDIR)$mandir" >> config.mak echo "infodir=\$(DESTDIR)$infodir" >> config.mak echo "docdir=\$(DESTDIR)$docdir" >> config.mak +echo "#ifndef CONFIG_SYSROOT" >> $TMPH echo "#define CONFIG_SYSROOT \"$sysroot\"" >> $TMPH +echo "#endif" >> $TMPH echo "#ifndef CONFIG_TCCDIR" >> $TMPH echo "#define CONFIG_TCCDIR \"$tccdir\"" >> $TMPH echo "#endif" >> $TMPH