configure vs. configure [was: Re: [MPlayer-dev-eng] [PATCH] remove --enable-smb option]

Götz Waschk waschk at informatik.uni-rostock.de
Wed Oct 29 10:39:26 CET 2003


Am Dienstag, 28. Oktober 2003, 16:00:59 Uhr MET, schrieb Arpi:
> > So what do you want in this case for --enable-smb, force some
> > hardcoded CFLAGS and LDFLAGS for the smbclient library or just use the
> > default autodetection? 
> Imho it should use the defaults (-lsmb or -lsmbclient, dunno which one
> is it, and assume include files are at gcc include path, ie /usr/include or
> /usr/local/include or whatever)

OK, then please apply the attached patch. BTW what about the help
text, should it include both the --enable-* and --disable-* options? 
-- 
What difference does it make to the dead, the orphans and the
homeless, whether the mad destruction is wrought under the name of
totalitarianism or the holy name of liberty or democracy?
    Mahatma Gandhi (1869 - 1948), "Non-Violence in Peace and War"
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.797
diff -u -r1.797 configure
--- configure	27 Oct 2003 01:06:35 -0000	1.797
+++ configure	29 Oct 2003 09:36:56 -0000
@@ -2651,6 +2651,9 @@
 
 
 echocheck "Samba support (libsmbclient)"
+if test "$_smbsupport" = yes; then
+    _ld_smb="-lsmbclient"
+fi
 if test "$_smbsupport" = auto; then
     _smbsupport=no
     cat > $TMPC << EOF


More information about the MPlayer-dev-eng mailing list