added config.texi

This commit is contained in:
bellard 2003-04-13 21:55:37 +00:00
parent 6104629dc2
commit fe7bcdef6b

10
configure vendored
View File

@ -265,12 +265,10 @@ if test "$gprof" = "yes" ; then
echo "TARGET_GPROF=yes" >> config.mak echo "TARGET_GPROF=yes" >> config.mak
echo "#define HAVE_GPROF 1" >> $TMPH echo "#define HAVE_GPROF 1" >> $TMPH
fi fi
echo -n "VERSION=" >>config.mak version=`head $source_path/VERSION`
head $source_path/VERSION >>config.mak echo "VERSION=$version" >>config.mak
echo "" >>config.mak echo "#define TCC_VERSION \"$version\"" >> $TMPH
echo -n "#define TCC_VERSION \"" >> $TMPH echo "@set VERSION $version" > config.texi
head $source_path/VERSION >> $TMPH
echo "\"" >> $TMPH
# build tree in object directory if source path is different from current one # build tree in object directory if source path is different from current one
if test "$source_path_used" = "yes" ; then if test "$source_path_used" = "yes" ; then