History

added config.texi

bellard committed 23 years ago

Commit fe7bcde1 parent 61046291 file · +4 −6Browse files

Unified · Split

configure+4−6
@@ -265,12 +265,10 @@ if test "$gprof" = "yes" ; then · 264 unmodified lines
265265 echo "TARGET_GPROF=yes" >> config.mak
266266 echo "#define HAVE_GPROF 1" >> $TMPH
267267 fi
268−echo -n "VERSION=" >>config.mak
269−head $source_path/VERSION >>config.mak
270−echo "" >>config.mak
271−echo -n "#define TCC_VERSION \"" >> $TMPH
272−head $source_path/VERSION >> $TMPH
273−echo "\"" >> $TMPH
268+version=`head $source_path/VERSION`
269+echo "VERSION=$version" >>config.mak
270+echo "#define TCC_VERSION \"$version\"" >> $TMPH
271+echo "@set VERSION $version" > config.texi
274272
275273 # build tree in object directory if source path is different from current one
276274 if test "$source_path_used" = "yes" ; then

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t