test -n "$DTRACE" && break
done
+if test -z "$DTRACE"; then
+ { { echo "$as_me:$LINENO: error: dtrace not found" >&5
+echo "$as_me: error: dtrace not found" >&2;}
+ { (exit 1); exit 1; }; }
+fi
;;
no)
dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.471 2006/08/04 15:16:14 tgl Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.472 2006/08/17 17:25:43 petere Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
[AC_DEFINE([ENABLE_DTRACE], 1,
[Define to 1 to enable DTrace support. (--enable-dtrace)])
AC_CHECK_PROGS(DTRACE, dtrace)
+if test -z "$DTRACE"; then
+ AC_MSG_ERROR([dtrace not found])
+fi
AC_SUBST(DTRACEFLAGS)])
AC_SUBST(enable_dtrace)
-
+
PostgreSQL>]]>
--enable-dtrace
+
+
Compiles with support for the dynamic tracing tool DTrace.
Operating system support for DTrace is currently only
available in Solaris.
+
+ To point to the dtrace program, the
+ environment variable DTRACE can be set. This
+ will often be necessary because dtrace is
+ typically installed under /usr/sbin ,
+ which might not be in the path. Additional command-line
+ options for the dtrace program can be
+ specified in the environment variable
+ DTRACEFLAGS .
+
+
+ DTRACE=/path/to/dtrace>
+
+ Specifies the location of the dtrace program.
+
+
+
+
+
+ DTRACEFLAGS=FLAGS>
+
+ FLAGS> is the a list of flags to pass to the
+ dtrace program.
+
+
+
+
JADE