From bd4332733da651ad1abd146fca36887166e25178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Thu, 15 Oct 2020 21:49:59 +0200 Subject: [PATCH] Rename filenames prone to include path conflicts E.g. when used uninstalled as a submodule. --- VERSION => VERSION.txt | 0 configure | 2 +- tcc.h | 2 +- elf.h => tccelf.h | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename VERSION => VERSION.txt (100%) rename elf.h => tccelf.h (100%) diff --git a/VERSION b/VERSION.txt similarity index 100% rename from VERSION rename to VERSION.txt diff --git a/configure b/configure index 5673d17..0100957 100755 --- a/configure +++ b/configure @@ -492,7 +492,7 @@ for v in $confvars ; do fi done -version=`head $source_path/VERSION` +version=`head $source_path/VERSION.txt` echo "VERSION = $version" >> config.mak echo "#define TCC_VERSION \"$version\"" >> $TMPH echo "@set VERSION $version" > config.texi diff --git a/tcc.h b/tcc.h index ccb3b60..4d55eb3 100644 --- a/tcc.h +++ b/tcc.h @@ -319,7 +319,7 @@ extern long double strtold (const char *__nptr, char **__endptr); /* -------------------------------------------- */ #include "libtcc.h" -#include "elf.h" +#include "tccelf.h" #include "stab.h" /* -------------------------------------------- */ diff --git a/elf.h b/tccelf.h similarity index 100% rename from elf.h rename to tccelf.h