@echo off rem rem $Id$ rem Copyright (C) 2011 gingko - http://gingko.homeip.net/ rem rem This file is part of Pouchin TV Mod, a free DVB-T viewer. rem See http://www.pouchintv.fr/ for updates. rem rem Pouchin TV Mod is free software; you can redistribute it and/or modify rem it under the terms of the GNU General Public License as published by rem the Free Software Foundation; either version 2 of the License, or rem (at your option) any later version. rem rem Pouchin TV Mod is distributed in the hope that it will be useful, rem but WITHOUT ANY WARRANTY; without even the implied warranty of rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the rem GNU General Public License for more details. rem rem You should have received a copy of the GNU General Public License rem along with this program; if not, write to the Free Software rem Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA rem rem rem Most files of this project have been changed from the Pouchin TV rem project (Copyright (C) 2006 Pouchin ), rem to use with a modified version of this software. rem See http://pouchinteve.free.fr/ for the original project. rem rem Pr‚paration du processeur de commande setlocal ENABLEEXTENSIONS setlocal DISABLEDELAYEDEXPANSION rem D‚terminer si 'atlbase.h' est disponible call "..\version\include_check.bat" EXIST_ATLBASE_H atlbase.h call "..\version\include_check.bat" EXIST_BOOST boost/shared_ptr.hpp set TEMPFILE=include_config_$TEMP$.h set DESTFILE=include_config.h echo // This file is automatically generated> %TEMPFILE% echo.>> %TEMPFILE% echo #pragma once>> %TEMPFILE% echo.>> %TEMPFILE% echo #define EXIST_ATLBASE_H %EXIST_ATLBASE_H% // 1 si le fichier 'atlbase.h' existe>> %TEMPFILE% echo #define EXIST_BOOST %EXIST_BOOST% // 1 si le fichier 'boost/shared_ptr.hpp' existe>> %TEMPFILE% rem Comparaison de "include_config_$TEMP$.h" avec le fichier "include_config.h" courant. rem S'ils sont diff‚rents, "include_config_$TEMP$.h" devient le nouveau "include_config.h" rem (ainsi la date de modification "include_config.h" ne change que si c'est appropri‚) rem echo n | comp include_config_$TEMP$.h include_config.h 2>NUL >NUL rem Code retour : 0 = fichiers identiques, 1 = fichiers diff‚rents, 2 = fichier inexistant if errorlevel 1 ( if exist include_config.h del include_config.h ren include_config_$TEMP$.h include_config.h echo #### Un nouveau fichier "include_config.h" a ‚t‚ g‚n‚r‚ ) else ( del include_config_$TEMP$.h )