diff options
| author | gus knight <waddlesplash@gmail.com> | 2015-07-27 16:03:25 -0400 |
|---|---|---|
| committer | Augustin Cavalier <waddlesplash@gmail.com> | 2015-07-27 16:03:25 -0400 |
| commit | 47e06c6d4e542e47fcbad69a78c2436a854a0779 (patch) | |
| tree | d979fb8f3372966c0ef3031c4edeaa8f017241d9 /configure | |
| parent | 694d0fdade8bff3bc03466675350f596b2f4f8ed (diff) | |
| download | tinycc-47e06c6d4e542e47fcbad69a78c2436a854a0779.tar.gz tinycc-47e06c6d4e542e47fcbad69a78c2436a854a0779.tar.bz2 | |
Reorganize the source tree.
* Documentation is now in "docs".
* Source code is now in "src".
* Misc. fixes here and there so that everything still works.
I think I got everything in this commit, but I only tested this
on Linux (Make) and Windows (CMake), so I might've messed
something up on other platforms...
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -337,7 +337,7 @@ strip="${cross_prefix}${strip}" CONFTEST=./conftest$EXESUF if test -z "$cross_prefix" ; then - if ! $cc -o $CONFTEST $source_path/conftest.c 2>/dev/null ; then + if ! $cc -o $CONFTEST $source_path/src/conftest.c 2>/dev/null ; then echo "configure: error: '$cc' failed to compile conftest.c." else bigendian="$($CONFTEST bigendian)" @@ -560,7 +560,7 @@ fi version=`head $source_path/VERSION` echo "VERSION=$version" >>config.mak echo "#define TCC_VERSION \"$version\"" >> $TMPH -echo "@set VERSION $version" > config.texi +echo "@set VERSION $version" >docs/config.texi echo "SRC_PATH=$source_path" >>config.mak if test "$source_path_used" = "yes" ; then @@ -573,9 +573,9 @@ else fi echo 'top_builddir=$(TOP)' >>config.mak -diff $TMPH config.h >/dev/null 2>&1 +diff $TMPH src/config.h >/dev/null 2>&1 if test $? -ne 0 ; then - mv -f $TMPH config.h + mv -f $TMPH src/config.h else echo "config.h is unchanged" fi |
