Commit 182205ac authored by Michel Lespinasse's avatar Michel Lespinasse
Browse files

add TenDRA support

parent 614ec961
......@@ -46,6 +46,12 @@ if test x"$GCC" = x"yes"; then
OPT_CFLAGS="$CFLAGS -mabi=64"
AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
esac
elif test x"$CC" = x"tcc"; then
dnl TenDRA portability checking compiler
CFLAGS="-Xp -Yansi -f`pwd`/include/tendra.h"
enable_mlib=no
no_x=yes
enable_sdl=no
else
dnl non-gcc flags - we probably need exact configuration triplets here.
case "$host_alias" in
......
/*
* tendra.h
* Copyright (C) 1999-2001 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
*
* This file is part of a52dec, a free ATSC A-52 stream decoder.
*
* a52dec is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* a52dec is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#pragma TenDRA begin
#pragma TenDRA longlong type warning
#pragma TenDRA conversion analysis (pointer-int explicit) off
/* avoid the "No declarations in translation unit" problem */
int TenDRA;
......@@ -41,7 +41,7 @@ static uint32_t x86_accel (void)
"=d" (edx) \
: "a" (op) \
: "cc")
#else // PIC version : save ebx
#else /* PIC version : save ebx */
#define cpuid(op,eax,ebx,ecx,edx) \
asm ("pushl %%ebx\n\t" \
"cpuid\n\t" \
......
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