Commit graph

46 commits

Author SHA1 Message Date
Amar Takhar
879db30e21 Fix conditional for libass support in Makefiles.
Originally committed to SVN as r2100.
2008-03-22 08:23:54 +00:00
Amar Takhar
ae3f8a037b Fix usage of LDFLAGS / ICONV_LDFLAGS.
Originally committed to SVN as r2098.
2008-03-22 07:37:38 +00:00
Amar Takhar
664af8498a Fix the detection of libiconv (for required for internal libass support), also
fix libiconv ldflags, and the detection order for libass (internal first,
external second).

Originally committed to SVN as r2097.
2008-03-22 07:33:57 +00:00
Amar Takhar
04e9ff224f Add support for an 'internal' libass, with this we can chase changes to the
libass in MPlayer which is more up-to-date than the external library that's
available.

Originally committed to SVN as r2096.
2008-03-21 21:01:03 +00:00
Amar Takhar
b969f382c6 Remove old (legacy) variables that were commented out.
Originally committed to SVN as r2090.
2008-03-21 04:56:14 +00:00
Amar Takhar
90e9e6fef1 Re-enable univerchardet (for now), also make it use STL rather than stdio (which
isn't complete)

Originally committed to SVN as r2085.
2008-03-20 22:24:28 +00:00
Amar Takhar
1f23637cd2 Fix auto4/auto3 (lua51/lua50) support, this removes the --with-* flags in favor
of LUA_(C|LD)FLAGS and LUA50_(C|LD)FLAGS, also add the LUA LDFLAGS to LIBS like
perl in order to have it bring in the symbols properly, this is a temp measure
until we have modules.

Originally committed to SVN as r2082.
2008-03-20 21:24:01 +00:00
Amar Takhar
e0d98de508 Fix one more conditional (for lua51).
Originally committed to SVN as r2040.
2008-03-13 07:35:39 +00:00
Amar Takhar
dff23e8cd3 Fix typo(s), also fix the conditionals that enabled/disabled auto3/4 supported
based on the --with* flags being supplied.  Not sure what I was thinking
originally, or if I was at all.

Originally committed to SVN as r2038.
2008-03-13 07:16:53 +00:00
Karl Blomster
e6b2bfd74b libmp3lame cannot actually be used as a decoder in ffmpeg. Removed --enable-broken-mp3 switch from configure.in. Note to self: yell at verm__ for this.
Originally committed to SVN as r2036.
2008-03-13 06:34:58 +00:00
Amar Takhar
3ab038d373 Whoops, missed some of the lua50 glue, also remove some old crufted that was
commented out.

Originally committed to SVN as r2033.
2008-03-13 03:36:09 +00:00
Amar Takhar
44acbee51f Add some more headings to make the script more readable. (it's about to get a
lot more complex)  Also move the lua50 block below the lua51 block.

Originally committed to SVN as r2032.
2008-03-13 03:25:29 +00:00
Amar Takhar
4c3dde50f6 Add two new switches --enable-wx-opengl and --enable-wx-styledtextctrl, useful
for development purposes, but also useful to avoid invoking the wonderfully slow
g++ to test for availability during multiple ./configure runs.

Originally committed to SVN as r2020.
2008-03-11 07:24:10 +00:00
Amar Takhar
1e6956338f Align --help messages (what a pain.)
Originally committed to SVN as r2011.
2008-03-11 05:11:19 +00:00
Amar Takhar
8749c97d9f Whoops, originally the switch was --with-broken-mp3 but I changed it to
--enable-broken-mp3 (correct) but forgot to update the notice.  (noticed by amz)

Originally committed to SVN as r2010.
2008-03-11 05:02:29 +00:00
Amar Takhar
5776b387a2 Fix conditional for 'with_automation' in the lua50 case, also fix
WITH_AUTOMATION conditional which was enabling if auto3 support was turnd on
(should have been conditional on $with_automation)

Originally committed to SVN as r2009.
2008-03-11 05:01:30 +00:00
Amar Takhar
20eb82d397 Fix AC_MSG_RESULT for perl == no (it was set to print "yes").
Originally committed to SVN as r1990.
2008-03-09 07:40:07 +00:00
Amar Takhar
6c7b619c83 Add a configure-time check using avcodec_find_encoder_by_name("libmp3lame") to
look for LAME support.  Unfortunatly FFMPEG's internal MP3 support is rather
broken.  If --enable-broken-mp3 is supplied configure will continue otherwise
LAME must be compiled into FFMPEG.

Originally committed to SVN as r1989.
2008-03-09 07:38:49 +00:00
Amar Takhar
10f3efba52 Fix status message at the bottom of configure output for hunspell.
Originally committed to SVN as r1978.
2008-03-08 20:47:36 +00:00
Amar Takhar
09abd27acf Fix Hunspell support for the older versions (1.1.10 and older?)
Originally committed to SVN as r1955.
2008-03-07 16:38:55 +00:00
Amar Takhar
c31afc4018 Remove un-needed AC_SUBST() for OpenAL (PKG_CHECK_MODULES does this).
Originally committed to SVN as r1954.
2008-03-07 15:45:12 +00:00
Amar Takhar
35f7f82415 Fix cutandpasto s/libpulse/openal/, also change --without-unversalcharset
(should have been --disasble!) to --enable-universalcharset and leave it
disabled by default until an fopen() method is created for opening files in the
aegisub support.

Originally committed to SVN as r1949.
2008-03-07 03:52:47 +00:00
Amar Takhar
98b868f55f Whoops the wrong OpenMP detection support got committed, this is the correct
version.

Originally committed to SVN as r1917.
2008-03-06 18:18:09 +00:00
Amar Takhar
20f0f52cec Add detection for OpenMP, this isn't hooked up yet but will be later.
Originally committed to SVN as r1913.
2008-03-06 16:49:24 +00:00
Amar Takhar
f740634a3b Add a convenience to help me build distfiles.
Originally committed to SVN as r1912.
2008-03-06 01:16:07 +00:00
Amar Takhar
454b0101d7 Fix auto3 support.
Originally committed to SVN as r1911.
2008-03-05 21:03:05 +00:00
Amar Takhar
22a0dca696 * Add m4macros/Makefile so Makefile.in gets parsed
* Remove nodist_* and change it to noinst_* for universalchardet
  (cut-and-paste-o)

Originally committed to SVN as r1909.
2008-03-05 20:20:23 +00:00
Amar Takhar
f55ffd6d91 * Add support for universalchardet
* Fix #ifdef for STIDO/fstream with a proper ifdef/else
 * Make auto3 subdir inclusion conditional
 * Rename libspell_hunspell to libmisc*

Please note that universalchardet is only set to work with X86 for now, I'll fi$
the rest later.

Originally committed to SVN as r1907.
2008-03-05 18:52:09 +00:00
Amar Takhar
850a280ef1 PulseAudio and OpenAL were being forced on due to typos, also add some
quotes for cleanliness.

Originally committed to SVN as r1905.
2008-03-05 17:15:55 +00:00
Amar Takhar
51561cee79 The (disabled) people were seeing beside ALSA support was actually
hunspell being disabled, due to --without-hunspell definfing
alsa_disabled, fix this and add it to the final package status of
configure.

Originally committed to SVN as r1902.
2008-03-05 15:35:47 +00:00
Amar Takhar
ef09793948 Remove some debugging cruft that was left in by accident.
Originally committed to SVN as r1901.
2008-03-05 15:34:50 +00:00
Amar Takhar
5286ae1eb3 WITH_AUTOMATION used to include auto4 (LUA 5.1), however it was not condusive
to including PERL or Ruby support.  This change supports the conditionals added
in r1889`.

Originally committed to SVN as r1899.
2008-03-05 04:09:04 +00:00
Amar Takhar
42cd531584 s/LIBS/LIBRUBYARG/ to get the ldflags for ruby.
Originally committed to SVN as r1888.
2008-03-04 20:08:06 +00:00
Amar Takhar
3ec3b42c3d Add a --enable-debug flag, with a DEBUG_FLAGS env variable to set the
debugging flag (default: -g)

Originally committed to SVN as r1886.
2008-03-04 16:59:01 +00:00
Amar Takhar
a55e392fc2 In r1876 the compiler flags were pushed up from the AC_CHECK* commands.
However they wern't removed from the CPP/LDFLAG settings so we ended up
with -I-I and -L-L.

Originally committed to SVN as r1882.
2008-03-04 01:11:22 +00:00
Amar Takhar
eee84bced9 Fix ffmpeg support, -lavcodec was added to both libs (avcodec/avformat), fix
the 2nd to be -lavformat.

Originally committed to SVN as r1881.
2008-03-04 01:02:13 +00:00
Amar Takhar
f5764fa2e4 Add support for OpenAL.
Originally committed to SVN as r1880.
2008-03-04 00:59:02 +00:00
Amar Takhar
448add536a Fix --without-lua and --without-ffmpeg so they work as expected.
Originally committed to SVN as r1879.
2008-03-03 21:52:41 +00:00
Amar Takhar
c44dd80448 Sigh.. _really_ remove the flags, -1 point for comitting before breakfast.
Originally committed to SVN as r1877.
2008-03-03 17:41:53 +00:00
Amar Takhar
c86d525d98 Push linker/compiler flages up into the --with-lua* functions, this stops
empty flags from being passed.  I didn't notice beacuse I always have them
set.

Originally committed to SVN as r1876.
2008-03-03 17:39:39 +00:00
Amar Takhar
c9b8969c6d Align the help for the --with* flags.
Originally committed to SVN as r1874.
2008-03-03 09:12:12 +00:00
Amar Takhar
964a710403 Add a --without-hunspell switch.
Originally committed to SVN as r1873.
2008-03-03 09:09:34 +00:00
Amar Takhar
ed4e70fae8 Add preliminary support for the swscale library if swscale is not included
in ffmpeg, there are some linux distro's running ancient versions still.

Originally committed to SVN as r1872.
2008-03-03 08:57:08 +00:00
Amar Takhar
65ed5fa6b8 Fix typo s/LUA_CPPLAGS/LUA_CPPFLAGS/
Originally committed to SVN as r1871.
2008-03-03 08:45:15 +00:00
Amar Takhar
14b319414f Add the 13 required AC_DEFINE lines to actually enable the
detected packages, I meant to do this but completely forgot.

Originally committed to SVN as r1867.
2008-03-03 07:54:19 +00:00
Amar Takhar
b1c441ff73 Commit the new build system (complete re-write), this includes several changes:
* Sane C/CXX/CPP/LDFLAGS
 * --with/--without settings
 * Proper gettext support
 * System portability changes (to support OS X and all other unix-like osen)
 * Features to allow for proper compile time settings (support exists features
   need to be added)

This comes with no warrenty at the moment, auto3 and asa support are both
incomplete/non-existent, there is no documentation and some conftests still nee$
to be written.

It's still incomplete try it at your own risk!

Originally committed to SVN as r1865.
2008-03-03 07:22:58 +00:00