Changeset 685f8edcc3e7bfa3e3a40fd15ecec75c4e01b565

Show
Ignore:
Timestamp:
08/27/02 01:36:20 (6 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 1030404980 +0000
git-parent:

[15f3b0f6fa0eac7207eec34e80e1f65506d4f599]

git-author:
Sam Hocevar <sam@videolan.org> 1030404980 +0000
Message:
  • ./bootstrap: we touch m4/Makefile.am so that configure doesn't complain
    about a missing m4/Makefile.in.
  • ./include/vlc_common.h: workaround for Borland's redefinition of PACKAGE.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bootstrap

    r8cdab6d r685f8ed  
    22 
    33##  bootstrap.sh file for vlc, the VideoLAN Client 
    4 ##  $Id: bootstrap,v 1.5 2002/08/26 21:46:06 sam Exp $ 
     4##  $Id: bootstrap,v 1.6 2002/08/26 23:36:20 sam Exp $ 
    55## 
    66##  Authors: Samuel Hocevar <sam@zoy.org> 
     
    5050  #  do cp ${aclocaldir}/${file} m4/ 
    5151  #done 
     52  # Yuck! 
     53  touch m4/Makefile.am 
    5254  # Yuck! 
    5355  echo 'AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])' > m4/gettext.m4 
  • configure.in

    r44fc8c8 r685f8ed  
    5454dnl Gettext stuff 
    5555ALL_LINGUAS="de en_GB fr ja no ru nl pl se" 
    56  
    57 AC_DEFINE_UNQUOTED(VLC_PACKAGE, "${PACKAGE}", [Package name]) 
    58 AC_DEFINE_UNQUOTED(VLC_VERSION, "${VERSION}", [Package version]) 
    5956AM_GNU_GETTEXT_VERSION(0.10.40) 
    6057AM_GNU_GETTEXT 
     
    20732070AC_SUBST(WINDRES) 
    20742071AC_SUBST(BCBUILDER) 
    2075 AC_SUBST(PACKAGE) 
    2076 AC_SUBST(VERSION) 
    20772072AC_SUBST(NEED_GETOPT) 
    20782073AC_SUBST(MOZILLA) 
  • include/vlc/vlc.h

    r6038883 r685f8ed  
    33 ***************************************************************************** 
    44 * Copyright (C) 1998, 1999, 2000 VideoLAN 
    5  * $Id: vlc.h,v 1.12 2002/08/26 08:36:12 sam Exp $ 
     5 * $Id: vlc.h,v 1.13 2002/08/26 23:36:20 sam Exp $ 
    66 * 
    77 * This program is free software; you can redistribute it and/or modify 
     
    9696 *****************************************************************************/ 
    9797#if defined( __VLC__ ) 
    98 #   include "config.h" 
    99 #   include "vlc_config.h" 
    100 #   include "modules_inner.h" 
    10198#   include "vlc_common.h" 
    102 #   include "os_specific.h" 
    103 #   include "vlc_messages.h" 
    104 #   include "mtime.h" 
    105 #   include "modules.h" 
    106 #   include "main.h" 
    107 #   include "configuration.h" 
    108 #   include "vlc_objects.h" 
    10999#endif 
    110100 
  • include/vlc_common.h

    r00724b7 r685f8ed  
    44 ***************************************************************************** 
    55 * Copyright (C) 1998, 1999, 2000 VideoLAN 
    6  * $Id: vlc_common.h,v 1.23 2002/08/21 23:19:58 sam Exp $ 
     6 * $Id: vlc_common.h,v 1.24 2002/08/26 23:36:20 sam Exp $ 
    77 * 
    88 * Authors: Samuel Hocevar <sam@via.ecp.fr> 
     
    2626 
    2727/***************************************************************************** 
    28  * Compiler-specific workarounds 
    29  *****************************************************************************/ 
     28 * Required vlc headers 
     29 *****************************************************************************/ 
     30#if defined( __BORLANDC__ ) 
     31#   undef PACKAGE 
     32#endif 
     33 
     34#include "config.h" 
     35 
    3036#if defined( __BORLANDC__ ) 
    3137#   undef HAVE_VARIADIC_MACROS 
    3238#   undef HAVE_STDINT_H 
    3339#endif 
     40 
     41#include "vlc_config.h" 
     42#include "modules_inner.h" 
    3443 
    3544/***************************************************************************** 
     
    465474 * I18n stuff 
    466475 *****************************************************************************/ 
    467 #ifndef PACKAGE /* Borland C++ uses this ! */ 
    468 #define PACKAGE VLC_PACKAGE 
    469 #endif 
    470 #define VERSION VLC_VERSION 
    471  
    472476#if defined( ENABLE_NLS ) && defined ( HAVE_GETTEXT ) && !defined( __BORLANDC__ ) && !defined( NEED_GNOMESUPPORT_H ) 
    473477#   include <libintl.h> 
     
    485489 
    486490/***************************************************************************** 
    487  * Plug-in stuff 
     491 * Additional vlc stuff 
    488492 *****************************************************************************/ 
    489493#include "vlc_symbols.h" 
     494#include "os_specific.h" 
     495#include "vlc_messages.h" 
     496#include "mtime.h" 
     497#include "modules.h" 
     498#include "main.h" 
     499#include "configuration.h" 
     500#include "vlc_objects.h" 
     501 
     502#if defined( __BORLANDC__ ) 
     503#   undef PACKAGE 
     504#   define PACKAGE 
     505#endif 
     506 
  • modules/gui/win32/about.cpp

    r19ea8fe r685f8ed  
    4141{ 
    4242    Image1->Picture->Icon = p_intfGlobal->p_sys->p_window->Icon; 
    43     LabelVersion->Caption = "Version " VLC_VERSION; 
     43    LabelVersion->Caption = "Version " VERSION; 
    4444} 
    4545//---------------------------------------------------------------------------