mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonOptions.m


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonOptions.ml
Date: Fri, 24 Jun 2005 19:49:28 -0400

Index: mldonkey/src/daemon/common/commonOptions.ml
diff -u mldonkey/src/daemon/common/commonOptions.ml:1.59 
mldonkey/src/daemon/common/commonOptions.ml:1.60
--- mldonkey/src/daemon/common/commonOptions.ml:1.59    Mon Jun 20 18:56:43 2005
+++ mldonkey/src/daemon/common/commonOptions.ml Fri Jun 24 23:49:16 2005
@@ -1511,7 +1511,12 @@
   );
   option_hook client_buffer_size (fun _ ->
       TcpBufferedSocket.max_buffer_size := maxi 50000 !!client_buffer_size
-  )
+  );
+  if Autoconf.has_gd then
+    option_hook html_mods_vd_gfx_png (fun _ ->
+      if not Autoconf.has_gd_png && !!html_mods_vd_gfx_png then 
html_mods_vd_gfx_png =:= false;
+      if not Autoconf.has_gd_jpg && not !!html_mods_vd_gfx_png then 
html_mods_vd_gfx_png =:= true
+    )
 
 let verbose_msg_clients = ref false
 let verbose_msg_raw = ref false




reply via email to

[Prev in Thread] Current Thread [Next in Thread]