From fe7bcdef6bdeccc926b3dd1e27edcb1c0cd88fa1 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 13 Apr 2003 21:55:37 +0000 Subject: [PATCH] added config.texi --- configure | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 63cbc783..3fdda961 100755 --- a/configure +++ b/configure @@ -265,12 +265,10 @@ if test "$gprof" = "yes" ; then echo "TARGET_GPROF=yes" >> config.mak echo "#define HAVE_GPROF 1" >> $TMPH fi -echo -n "VERSION=" >>config.mak -head $source_path/VERSION >>config.mak -echo "" >>config.mak -echo -n "#define TCC_VERSION \"" >> $TMPH -head $source_path/VERSION >> $TMPH -echo "\"" >> $TMPH +version=`head $source_path/VERSION` +echo "VERSION=$version" >>config.mak +echo "#define TCC_VERSION \"$version\"" >> $TMPH +echo "@set VERSION $version" > config.texi # build tree in object directory if source path is different from current one if test "$source_path_used" = "yes" ; then -- 2.11.4.GIT