[MPlayer-dev-eng] LDFLAGS and CPPFLAGS -> ended up in cvs admin -o
Gábor Bérczi (Gabucino)
gabor at berczi.be
Thu Apr 20 11:29:01 CEST 2006
Some lousy amateur (judging from the style of his mail to arpi,
probably koth) just reverted my fix on configure. And by using
forbidden admin -o :)
(never mind that current libavcodec doesn't compile on OSX/G4/fink/
darwinports because the current BROKEN way involves using custom
CFLAGS [!] or BRAINDEAD mplayer-specific --with-extraincdir and --
with-extralibdir configure options [instead of correct and standard
CPPFLAGS and LDFLAGS] which in turn disables some otherwise properly
detected and mandatory CFLAG options for Altivec support, ultimately
ending up in compile errors in imgresample.c)
But hey, you may as well drown in your own shit, like hell I care.
Learn something about portability.
Log Message:
add support for CPPFLAGS and LDFLAGS
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1162
retrieving revision 1.1163
diff -u -r1.1162 -r1.1163
--- configure 18 Apr 2006 21:16:46 -0000 1.1162
+++ configure 20 Apr 2006 08:23:40 -0000 1.1163
@@ -586,6 +586,13 @@
# stuff explicitly as command line argument. In other words: It
would be
# resonable to have only /usr/include or only /usr/local/include.
+# Gabucino: all the above is bullshit, people who babble this much
trash
+# never used any real UNIX, only [debian] linux. LDFLAGS and
CPPFLAGS must
+# always be honoured.
+
+_ld_extra="$_ld_extra $LDFLAGS"
+_inc_extra="$_inc_extra $CPPFLAGS"
+
if freebsd ; then
_ld_extra="$_ld_extra -L/usr/local/lib"
_inc_extra="$_inc_extra -I/usr/local/include"
--
Gábor Bérczi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060420/df3e09e7/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list