aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorgus knight <waddlesplash@gmail.com>2015-07-29 16:53:57 -0400
committergus knight <waddlesplash@gmail.com>2015-07-29 16:57:12 -0400
commit89ad24e7d63f7488c2796b30d41303f52663a8c4 (patch)
tree93e2addf2f47de59c013be70891f061edbb67b4f /configure
parent5a16f5ea98a432e3e95848da1ef8bd3b3fce1ffb (diff)
downloadtinycc-89ad24e7d63f7488c2796b30d41303f52663a8c4.tar.gz
tinycc-89ad24e7d63f7488c2796b30d41303f52663a8c4.tar.bz2
Revert all of my changes to directories & codingstyle.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index f00a6b6..6a796f3 100755
--- a/configure
+++ b/configure
@@ -66,7 +66,7 @@ case $targetos in
esac
# find source path
-# XXX: we assume an absolute path is given when launching configure,
+# XXX: we assume an absolute path is given when launching configure,
# except in './configure' case.
source_path=${0%configure}
source_path=${source_path%/}
@@ -337,7 +337,7 @@ strip="${cross_prefix}${strip}"
CONFTEST=./conftest$EXESUF
if test -z "$cross_prefix" ; then
- if ! $cc -o $CONFTEST $source_path/src/conftest.c 2>/dev/null ; then
+ if ! $cc -o $CONFTEST $source_path/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" >docs/config.texi
+echo "@set VERSION $version" > 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 src/config.h >/dev/null 2>&1
+diff $TMPH config.h >/dev/null 2>&1
if test $? -ne 0 ; then
- mv -f $TMPH src/config.h
+ mv -f $TMPH config.h
else
echo "config.h is unchanged"
fi