Commit 685f8edc authored by Sam Hocevar's avatar Sam Hocevar

* ./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.
parent 15f3b0f6
#! /bin/sh #! /bin/sh
## bootstrap.sh file for vlc, the VideoLAN Client ## bootstrap.sh file for vlc, the VideoLAN Client
## $Id: bootstrap,v 1.5 2002/08/26 21:46:06 sam Exp $ ## $Id: bootstrap,v 1.6 2002/08/26 23:36:20 sam Exp $
## ##
## Authors: Samuel Hocevar <sam@zoy.org> ## Authors: Samuel Hocevar <sam@zoy.org>
...@@ -50,6 +50,8 @@ else ...@@ -50,6 +50,8 @@ else
# do cp ${aclocaldir}/${file} m4/ # do cp ${aclocaldir}/${file} m4/
#done #done
# Yuck! # Yuck!
touch m4/Makefile.am
# Yuck!
echo 'AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])' > m4/gettext.m4 echo 'AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])' > m4/gettext.m4
fi fi
......
...@@ -53,9 +53,6 @@ fi ...@@ -53,9 +53,6 @@ fi
dnl Gettext stuff dnl Gettext stuff
ALL_LINGUAS="de en_GB fr ja no ru nl pl se" ALL_LINGUAS="de en_GB fr ja no ru nl pl se"
AC_DEFINE_UNQUOTED(VLC_PACKAGE, "${PACKAGE}", [Package name])
AC_DEFINE_UNQUOTED(VLC_VERSION, "${VERSION}", [Package version])
AM_GNU_GETTEXT_VERSION(0.10.40) AM_GNU_GETTEXT_VERSION(0.10.40)
AM_GNU_GETTEXT AM_GNU_GETTEXT
...@@ -2072,8 +2069,6 @@ AC_SUBST(RELEASE) ...@@ -2072,8 +2069,6 @@ AC_SUBST(RELEASE)
AC_SUBST(MOC) AC_SUBST(MOC)
AC_SUBST(WINDRES) AC_SUBST(WINDRES)
AC_SUBST(BCBUILDER) AC_SUBST(BCBUILDER)
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_SUBST(NEED_GETOPT) AC_SUBST(NEED_GETOPT)
AC_SUBST(MOZILLA) AC_SUBST(MOZILLA)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vlc.h: global header for vlc * vlc.h: global header for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN * Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: vlc.h,v 1.12 2002/08/26 08:36:12 sam Exp $ * $Id: vlc.h,v 1.13 2002/08/26 23:36:20 sam Exp $
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -95,17 +95,7 @@ typedef int vlc_status_t; ...@@ -95,17 +95,7 @@ typedef int vlc_status_t;
* Required internal headers * Required internal headers
*****************************************************************************/ *****************************************************************************/
#if defined( __VLC__ ) #if defined( __VLC__ )
# include "config.h"
# include "vlc_config.h"
# include "modules_inner.h"
# include "vlc_common.h" # include "vlc_common.h"
# include "os_specific.h"
# include "vlc_messages.h"
# include "mtime.h"
# include "modules.h"
# include "main.h"
# include "configuration.h"
# include "vlc_objects.h"
#endif #endif
/***************************************************************************** /*****************************************************************************
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions * Collection of useful common types and macros definitions
***************************************************************************** *****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN * Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: vlc_common.h,v 1.23 2002/08/21 23:19:58 sam Exp $ * $Id: vlc_common.h,v 1.24 2002/08/26 23:36:20 sam Exp $
* *
* Authors: Samuel Hocevar <sam@via.ecp.fr> * Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr> * Vincent Seguin <seguin@via.ecp.fr>
...@@ -25,13 +25,22 @@ ...@@ -25,13 +25,22 @@
*****************************************************************************/ *****************************************************************************/
/***************************************************************************** /*****************************************************************************
* Compiler-specific workarounds * Required vlc headers
*****************************************************************************/ *****************************************************************************/
#if defined( __BORLANDC__ )
# undef PACKAGE
#endif
#include "config.h"
#if defined( __BORLANDC__ ) #if defined( __BORLANDC__ )
# undef HAVE_VARIADIC_MACROS # undef HAVE_VARIADIC_MACROS
# undef HAVE_STDINT_H # undef HAVE_STDINT_H
#endif #endif
#include "vlc_config.h"
#include "modules_inner.h"
/***************************************************************************** /*****************************************************************************
* Required system headers * Required system headers
*****************************************************************************/ *****************************************************************************/
...@@ -464,11 +473,6 @@ typedef __int64 off_t; ...@@ -464,11 +473,6 @@ typedef __int64 off_t;
/***************************************************************************** /*****************************************************************************
* I18n stuff * I18n stuff
*****************************************************************************/ *****************************************************************************/
#ifndef PACKAGE /* Borland C++ uses this ! */
#define PACKAGE VLC_PACKAGE
#endif
#define VERSION VLC_VERSION
#if defined( ENABLE_NLS ) && defined ( HAVE_GETTEXT ) && !defined( __BORLANDC__ ) && !defined( NEED_GNOMESUPPORT_H ) #if defined( ENABLE_NLS ) && defined ( HAVE_GETTEXT ) && !defined( __BORLANDC__ ) && !defined( NEED_GNOMESUPPORT_H )
# include <libintl.h> # include <libintl.h>
# undef _ # undef _
...@@ -484,6 +488,19 @@ typedef __int64 off_t; ...@@ -484,6 +488,19 @@ typedef __int64 off_t;
#endif #endif
/***************************************************************************** /*****************************************************************************
* Plug-in stuff * Additional vlc stuff
*****************************************************************************/ *****************************************************************************/
#include "vlc_symbols.h" #include "vlc_symbols.h"
#include "os_specific.h"
#include "vlc_messages.h"
#include "mtime.h"
#include "modules.h"
#include "main.h"
#include "configuration.h"
#include "vlc_objects.h"
#if defined( __BORLANDC__ )
# undef PACKAGE
# define PACKAGE
#endif
...@@ -40,7 +40,7 @@ __fastcall TAboutDlg::TAboutDlg( TComponent* Owner ) ...@@ -40,7 +40,7 @@ __fastcall TAboutDlg::TAboutDlg( TComponent* Owner )
: TForm( Owner ) : TForm( Owner )
{ {
Image1->Picture->Icon = p_intfGlobal->p_sys->p_window->Icon; Image1->Picture->Icon = p_intfGlobal->p_sys->p_window->Icon;
LabelVersion->Caption = "Version " VLC_VERSION; LabelVersion->Caption = "Version " VERSION;
} }
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment