emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/nt/configure.bat,v


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/nt/configure.bat,v
Date: Wed, 23 Jul 2008 15:41:25 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   08/07/23 15:41:24

Index: configure.bat
===================================================================
RCS file: /sources/emacs/emacs/nt/configure.bat,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- configure.bat       23 Jun 2008 21:34:24 -0000      1.55
+++ configure.bat       23 Jul 2008 15:41:23 -0000      1.56
@@ -80,6 +80,7 @@
 set prefix=
 set nodebug=N
 set noopt=N
+set profile=N
 set nocygwin=N
 set COMPILER=
 set usercflags=
@@ -99,6 +100,7 @@
 if "%1" == "--with-msvc" goto withmsvc
 if "%1" == "--no-debug" goto nodebug
 if "%1" == "--no-opt" goto noopt
+if "%1" == "--profile" goto profile
 if "%1" == "--no-cygwin" goto nocygwin
 if "%1" == "--cflags" goto usercflags
 if "%1" == "--ldflags" goto userldflags
@@ -116,6 +118,7 @@
 echo.   --with-msvc             use MSVC to compile Emacs
 echo.   --no-debug              exclude debug info from executables
 echo.   --no-opt                disable optimization
+echo.   --profile               enable profiling
 echo.   --no-cygwin             use -mno-cygwin option with GCC
 echo.   --cflags FLAG           pass FLAG to compiler
 echo.   --ldflags FLAG          pass FLAG to compiler when linking
@@ -152,6 +155,11 @@
 shift
 goto again
 rem ----------------------------------------------------------------------
+:profile
+set profile=Y
+shift
+goto again
+rem ----------------------------------------------------------------------
 :nocygwin
 set nocygwin=Y
 shift
@@ -492,6 +500,7 @@
 if not "(%dbginfo%)" == "()" echo DEBUG_INFO=%dbginfo%>>config.settings
 if (%nodebug%) == (Y) echo NODEBUG=1 >>config.settings
 if (%noopt%) == (Y) echo NOOPT=1 >>config.settings
+if (%profile%) == (Y) echo PROFILE=1 >>config.settings
 if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings
 if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings
 rem We go thru docflags because usercflags could be "-DFOO=bar" -something
@@ -619,6 +628,7 @@
 set prefix=
 set nodebug=
 set noopt=
+set profile=
 set nocygwin=
 set COMPILER=
 set MAKECMD=




reply via email to

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