2003-02-16 12:09:37 +00:00
|
|
|
dnl process this file with autoconf to generate the configure script
|
|
|
|
|
2003-07-09 18:53:25 +00:00
|
|
|
AC_INIT(src/mkvmerge.cpp)
|
2003-09-14 20:09:45 +00:00
|
|
|
AM_INIT_AUTOMAKE(mkvtoolnix,0.7.0)
|
2003-02-16 12:09:37 +00:00
|
|
|
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_CXX
|
|
|
|
AC_PROG_GCC_TRADITIONAL
|
|
|
|
AC_PROG_CPP
|
|
|
|
AC_PROG_RANLIB
|
|
|
|
|
2003-09-24 18:41:21 +00:00
|
|
|
PATH_EXTRADIRS()
|
2003-06-20 19:29:26 +00:00
|
|
|
PATH_MINGW()
|
2003-05-23 17:37:20 +00:00
|
|
|
PATH_ICONV()
|
2003-02-16 12:09:37 +00:00
|
|
|
XIPH_PATH_OGG()
|
|
|
|
XIPH_PATH_VORBIS()
|
|
|
|
PATH_AVILIB()
|
|
|
|
PATH_DEBUG()
|
|
|
|
PATH_PROFILING()
|
2003-04-11 09:56:47 +00:00
|
|
|
PATH_EBML()
|
2003-02-16 12:09:37 +00:00
|
|
|
PATH_MATROSKA()
|
2003-05-28 07:39:45 +00:00
|
|
|
PATH_WXWINDOWS()
|
2003-09-01 07:42:25 +00:00
|
|
|
PATH_EXPAT()
|
|
|
|
PATH_ZLIB()
|
2003-09-11 11:09:07 +00:00
|
|
|
PATH_LZO()
|
2003-09-11 18:15:05 +00:00
|
|
|
PATH_BZ2()
|
2003-02-16 12:09:37 +00:00
|
|
|
|
|
|
|
dnl Check for headers
|
|
|
|
AC_HEADER_STDC()
|
|
|
|
|
2003-09-13 13:01:26 +00:00
|
|
|
AM_CONDITIONAL(HAVE_WXWINDOWS, test x"$have_wxwindows" = "xyes")
|
|
|
|
|
2003-07-09 18:53:25 +00:00
|
|
|
CFLAGS="-Wall -Wno-sign-compare -Wno-comment -I../src @OGG_CFLAGS@ @VORBIS_CFLAGS@ @AVILIB_CFLAGS@ @DEBUG_CFLAGS@ @PROFILING_CFLAGS@ @MATROSKA_CFLAGS@ @EBML_CFLAGS@"
|
2003-09-11 18:15:05 +00:00
|
|
|
CXXFLAGS="-Wall -Wno-sign-compare -Wno-comment -I../avilib -I.. @OGG_CFLAGS@ @VORBIS_CFLAGS@ @AVILIB_CFLAGS@ @DEBUG_CFLAGS@ @PROFILING_CFLAGS@ @MATROSKA_CFLAGS@ @EBML_CFLAGS@ @WXWINDOWS_CFLAGS@ @EXPAT_CFLAGS@ @ZLIB_CFLAGS@ @LZO_CFLAGS@ @BZ2_CFLAGS@"
|
2003-07-09 18:53:25 +00:00
|
|
|
LDFLAGS=-L../avilib
|
2003-02-16 12:09:37 +00:00
|
|
|
|
2003-09-13 13:01:26 +00:00
|
|
|
AC_OUTPUT(Makefile avilib/Makefile src/Makefile src/mmg/Makefile doc/Makefile)
|
|
|
|
|