[MPlayer-dev-eng] [PATCH] configure accepting multiple --with-extra{inc, lib}dir

Torinthiel torinthiel at megapolis.pl
Sat Aug 21 20:58:08 CEST 2004


On Sat, Aug 21, 2004 at 05:46:12PM +0200, Diego Biurrun wrote:
> You separate them by ":".  This is not really documented outside of
> the source, though.
> 
> So how about adding a note to the 'configure --help' output instead?

For me it's enough. I doubt however that PLD people will notice this
It's been 3 days since I asked the question about other patches, I've received more than 100
mails from the PLD-devel mailing list and no answer from them. And
Paszczi has asked them on IRC, to no avail as well.

See the attached patch instead. Note, it adds some consistency in
options description as well.
Torinthiel

-- 
 Waclaw "Torinthiel" Schiller       GG#: 542916, 3073512
   torinthiel(at)megapolis(dot)pl
   gpg: B06901F1 fpr: FAA3 559F CAE9 34DE CDC8  7346 2B6E 39F2 B069 01F1
 "No classmates may be used during this examination"
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.902
diff -u -r1.902 configure
--- configure	20 Aug 2004 18:29:25 -0000	1.902
+++ configure	21 Aug 2004 18:54:22 -0000
@@ -305,28 +305,28 @@
   --disable-gcc-checking   disable gcc version checking [enable]
 
 Use these options if autodetection fails:
-  --with-extraincdir=DIR   extra headers (png, mad, sdl, ...) in DIR
-  --with-extralibdir=DIR   extra library files (png, mad, sdl, ...) in DIR
-  --with-x11incdir=DIR     X headers in DIR
-  --with-x11libdir=DIR     X library files in DIR
-  --with-dxr2incdir=DIR    DXR2 headers in DIR
-  --with-dvbincdir=DIR     DVB headers in DIR
-  --with-madlibdir=DIR     libmad (libmad shared library) in DIR
+  --with-extraincdir=DIR   extra headers (png, mad, sdl, ...) in DIR (*)
+  --with-extralibdir=DIR   extra library files (png, mad, sdl, ...) in DIR (*)
+  --with-x11incdir=DIR     X headers in DIR (*)
+  --with-x11libdir=DIR     X library files in DIR (*)
+  --with-dxr2incdir=DIR    DXR2 headers in DIR (*)
+  --with-dvbincdir=DIR     DVB headers in DIR (*)
+  --with-madlibdir=DIR     libmad (libmad shared library) in DIR (*)
   --with-mlibdir=DIR       libmlib (MLIB support) in DIR (Solaris only)
   --with-codecsdir=DIR     Binary codec files in DIR
   --with-win32libdir=DIR   W*ndows DLL files in DIR
   --with-xanimlibdir=DIR   XAnim DLL files in DIR
   --with-reallibdir=DIR    RealPlayer DLL files in DIR
-  --with-xvidlibdir=DIR    libxvidcore (XviD) in DIR 
-  --with-xvidincdir=DIR    XviD header in DIR
-  --with-dtslibdir=DIR     libdts library in DIR 
-  --with-dtsincdir=DIR     libdts header in DIR
-  --with-livelibdir=DIR    path to LIVE.COM Streaming Media libraries
-  --with-xmmsplugindir=DIR path to XMMS plugins
-  --with-xmmslibdir=DIR    path to libxmms.so.1
-  --with-bio2jack=DIR      path to libbio2jack.a (e.g. /home/user/bio2jack)
-  --with-cdparanoiaincdir=DIR  cdparanoia headers in DIR
-  --with-cdparanoialibdir=DIR  cdparanoia libraries (libcdda_*) in DIR
+  --with-xvidlibdir=DIR    libxvidcore (XviD) in DIR  (*)
+  --with-xvidincdir=DIR    XviD header in DIR (*)
+  --with-dtslibdir=DIR     libdts library in DIR  (*)
+  --with-dtsincdir=DIR     libdts header in DIR (*)
+  --with-livelibdir=DIR    LIVE.COM Streaming Media libraries in DIR
+  --with-xmmsplugindir=DIR XMMS plugins in DIR
+  --with-xmmslibdir=DIR    libxmms.so.1 in DIR
+  --with-bio2jack=DIR      libbio2jack.a in DIR
+  --with-cdparanoiaincdir=DIR  cdparanoia headers in DIR (*)
+  --with-cdparanoialibdir=DIR  cdparanoia libraries (libcdda_*) in DIR (*)
   --with-xvmclib=NAME      name of adapter-specific library (e.g. XvMCNVIDIA)
   --with-termcaplib=NAME   name of library with termcap functionality
                            name should be given without leading "lib"
@@ -339,6 +339,9 @@
   --with-glib-config=PATH  path to glib*-config (e.g. /opt/bin/glib-config)
   --with-gtk-config=PATH   path to gtk*-config (e.g. /opt/bin/gtk-config)
   --with-sdl-config=PATH   path to sdl*-config (e.g. /opt/bin/sdl-config)
+
+  Note:
+   Options marked with (*) accept multiple paths, separated by ':'
 EOF
     exit 0
   fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040821/91f170e2/attachment.pgp>


More information about the MPlayer-dev-eng mailing list