Index: configure =================================================================== diff -u -r56203e2407067a525919ac3f5b7d0869eb711a3d -rb0adbc0c160788b189124e9988437ef7f2ec036c --- configure (.../configure) (revision 56203e2407067a525919ac3f5b7d0869eb711a3d) +++ configure (.../configure) (revision b0adbc0c160788b189124e9988437ef7f2ec036c) @@ -742,6 +742,7 @@ with_actiweb with_all with_expat +with_profile with_tcl with_tclinclude enable_threads @@ -1401,6 +1402,8 @@ --with-expat=sys assumes a system-wide expat installation, --with-expat= point to a custom expat installation, --without-expat falls back to the bundled expat installation + --with-profile=yes|no, + --without-profile disables built with profile support --with-tcl directory containing tcl configuration (tclConfig.sh) --with-tclinclude directory containing the public Tcl header files @@ -2379,6 +2382,14 @@ fi +# Check whether --with-profile was given. +if test "${with_profile+set}" = set; then : + withval=$with_profile; with_profile=$withval +else + with_profile=no +fi + + subdirs="" if test "$with_all" = yes; then @@ -5510,6 +5521,12 @@ HAVE_TCL_COMPILE_H="" fi +if test "$with_profile" = yes; then + NSF_PROFILE_FLAG="-DNSF_PROFILE=1" +else + NSF_PROFILE_FLAG="" +fi + #----------------------------------------------------------------------- # __CHANGE__ # Specify the C source files to compile in TEA_ADD_SOURCES, @@ -5588,7 +5605,7 @@ PKG_CFLAGS="$PKG_CFLAGS -DNSF_VERSION=\\\"$NSF_VERSION\\\" -DNSF_PATCHLEVEL=\\\"$NSF_PATCH_LEVEL\\\" \ - $AOL_DEFINES $HAVE_TCL_COMPILE_H" + $AOL_DEFINES $HAVE_TCL_COMPILE_H $NSF_PROFILE_FLAG"