mldonkey-commits
[Top][All Lists]
Advanced

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

[Mldonkey-commits] mldonkey config/configure.in distrib/ChangeLog


From: mldonkey-commits
Subject: [Mldonkey-commits] mldonkey config/configure.in distrib/ChangeLog
Date: Sun, 15 Aug 2010 15:03:20 +0000

CVSROOT:        /sources/mldonkey
Module name:    mldonkey
Changes by:     spiralvoice <spiralvoice>       10/08/15 15:03:20

Modified files:
        config         : configure.in 
        distrib        : ChangeLog 

Log message:
        patch #7278

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/mldonkey/config/configure.in?cvsroot=mldonkey&r1=1.333&r2=1.334
http://cvs.savannah.gnu.org/viewcvs/mldonkey/distrib/ChangeLog?cvsroot=mldonkey&r1=1.1458&r2=1.1459

Patches:
Index: config/configure.in
===================================================================
RCS file: /sources/mldonkey/mldonkey/config/configure.in,v
retrieving revision 1.333
retrieving revision 1.334
diff -u -b -r1.333 -r1.334
--- config/configure.in 8 Aug 2010 18:07:06 -0000       1.333
+++ config/configure.in 15 Aug 2010 15:03:20 -0000      1.334
@@ -386,8 +386,11 @@
   CHECKBOUNDS=true
 fi
 
-AC_ARG_ENABLE(profile,       [  --enable-profile        allows you to profile 
mlnet using gprof], [PROFILE="$enableval"])
+AC_ARG_ENABLE(profile,       [  --enable-profile        allows you to profile 
mlnet using gprof (enables debug)], [PROFILE="$enableval"])
 AC_ARG_ENABLE(debug,         [  --enable-debug          allows you to compile 
mlnet with debug symbols], [DEBUG="$enableval"])
+if test "$PROFILE" = "yes"; then
+  DEBUG="yes"
+fi
 AC_ARG_ENABLE(gui,           [  --disable-gui           allows you to disable 
GUI build (default)], [GUI="$enableval"])
 AC_ARG_ENABLE(gui,           [  --enable-gui=oldgui|newgui1|newgui2
                           allows you to choose a GUI (default: newgui2 - is a 
GTK2 GUI, other GUIs use GTK1)], [GUI="$enableval"])
@@ -697,6 +700,7 @@
 fi
 if test "$DEBUG" = "yes"; then
     OCAMLC="$OCAMLC -g"
+    OCAMLOPT="$OCAMLOPT -g"
 fi
 
 echo -e "\n----------------------------------"

Index: distrib/ChangeLog
===================================================================
RCS file: /sources/mldonkey/mldonkey/distrib/ChangeLog,v
retrieving revision 1.1458
retrieving revision 1.1459
diff -u -b -r1.1458 -r1.1459
--- distrib/ChangeLog   15 Aug 2010 15:01:52 -0000      1.1458
+++ distrib/ChangeLog   15 Aug 2010 15:03:20 -0000      1.1459
@@ -15,6 +15,9 @@
 =========
 
 2010/08/15
+7278: configure: more useful --enable-debug (ygrek)
+- enable also for ocamlopt
+- enable when profiling 
 7274: DC: Increase message buffer size to fix communication with bots
       (somedamnthing)
 



reply via email to

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