Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
libmpeg2
Commits
e7b742ee
Commit
e7b742ee
authored
Dec 01, 2001
by
Michel Lespinasse
Browse files
updated to newer autoconf standards
parent
f6e1366e
Changes
1
Hide whitespace changes
Inline
Side-by-side
mpeg2dec/configure.in
View file @
e7b742ee
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
AC_INIT(src/mpeg2dec.c)
AC_INIT
AC_CONFIG_SRCDIR([src/mpeg2dec.c])
AC_CONFIG_AUX_DIR(autotools)
AM_INIT_AUTOMAKE(mpeg2dec,0.2.1-cvs)
AC_CONFIG_FILES([Makefile autotools/Makefile include/Makefile test/Makefile
doc/Makefile src/Makefile libmpeg2/Makefile libvo/Makefile vc++/Makefile])
AM_INIT_AUTOMAKE([mpeg2dec],[0.2.1-cvs])
AM_CONFIG_HEADER(include/config.h)
AM_MAINTAINER_MODE
AC_CANONICAL_HOST
...
...
@@ -51,8 +54,9 @@ 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
elif test x"$CC" = x"tcc"
-a x"`$CC -version 2>&1 | grep TenDRA`" != x""
; then
dnl TenDRA portability checking compiler
TENDRA=yes
CFLAGS="-Xp -Yansi -f`pwd`/include/tendra.h"
enable_mlib=no
no_x=yes
...
...
@@ -78,9 +82,9 @@ dnl Checks for libraries.
dnl Checks for header files.
INCLUDES='-I$(top_srcdir)/include -I$(top_builddir)/include'
AC_SUBST(INCLUDES)
AC_SUBST(
[
INCLUDES
]
)
AC_CHECK_HEADERS([string.h sys/time.h])
AC_CHECK_GENERATE_INTTYPES(include)
AC_CHECK_GENERATE_INTTYPES(
[
include
]
)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
...
...
@@ -102,11 +106,11 @@ if test x"$enable_warnings" != x"no" -a x"$GCC" = x"yes"; then
dnl compiler warnings
OPT_CFLAGS="$CFLAGS -Wall -Werror"
AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS])
elif test x"$
CC
" = x"
tcc
"; then
elif test x"$
TENDRA
" = x"
yes
"; then
dnl TenDRA portability checking compiler
CFLAGS="$CFLAGS -DTenDRA_check"
fi
AC_C_ATTRIBUTE_ALIGNED
AC_OUTPUT
(Makefile autotools/Makefile include/Makefile test/Makefile doc/Makefile src/Makefile libmpeg2/Makefile libvo/Makefile vc++/Makefile)
AC_OUTPUT
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment