Index: configure.in =================================================================== diff -u -rb0adbc0c160788b189124e9988437ef7f2ec036c -r04541d31db7c1bc93ddd119df2ad1600e92aef4f --- configure.in (.../configure.in) (revision b0adbc0c160788b189124e9988437ef7f2ec036c) +++ configure.in (.../configure.in) (revision 04541d31db7c1bc93ddd119df2ad1600e92aef4f) @@ -27,39 +27,33 @@ #-------------------------------------------------------------------- AC_ARG_WITH(gdbm, - [ --with-gdbm=GDBM_INCLUDE_DIR[,GDBM_LIB_DIR] - absolute path to gdbm.h and optionally the path to the library, - --without-gdbm disables build of Tcl Gdbm], + AC_HELP_STRING([--with-gdbm=GDBM_INCLUDE_DIR,GDBM_LIB_DIR], + [build with gdbm support; provide path to gdbm.h and optionally + to the shared library (default: off)]), [with_gdbm=$withval], [with_gdbm=no]) AC_ARG_WITH(aolserver3, - [ --with-aolserver3=AOL_SERVER_DIR, (containing include ,...) - --without-aolserver3 disables build of AOLserver 3 module], + AC_HELP_STRING([--with-aolserver3=AOL_SERVER_DIR], + [build an AOLserver 3 module; + point to directory containing aolsever/include (default: off)]), [with_aol3=$withval], [with_aol3=no]) AC_ARG_WITH(actiweb, - [ --with-actiweb=yes|no, - --without-actiweb disables actiweb components], + AC_HELP_STRING([--with-actiweb=yes|no], [build with actiweb components (default: off)]), [with_actiweb=$withval], [with_actiweb=no]) -AC_ARG_WITH(all, - [ --with-all=yes|no, - --without-all disables built of all], - [with_all=$withval], [with_all=no]) AC_ARG_WITH(expat, - [ --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], + AC_HELP_STRING([--with-expat], + [ choose expat support; --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_expat=$withval],[with_expat=bundle]) AC_ARG_WITH(profile, - [ --with-profile=yes|no, - --without-profile disables built with profile support], + AC_HELP_STRING([--with-profile=yes|no], [--without-profile disables builds with profile support]), [with_profile=$withval], [with_profile=no]) +AC_ARG_ENABLE(dtrace, + AC_HELP_STRING([--enable-dtrace], [build with dtrace (default: off)]), + [enable_dtrace=$enableval], [enable_dtrace=no]) subdirs="" -if test "$with_all" = yes; then - with_actiweb=yes - with_gdbm=yes -fi - if test "$with_actiweb" = yes; then test_actiweb="test-actiweb" libdirs_actiweb="actiweb rdf registry store xml patterns" @@ -181,6 +175,11 @@ NSF_PROFILE_FLAG="" fi +if test "enable_dtrace" = yes; then + AC_DEFINE(NSF_DTRACE, 1, [Are we building with DTrace support?]) +fi + + #----------------------------------------------------------------------- # __CHANGE__ # Specify the C source files to compile in TEA_ADD_SOURCES,