+# Check whether --with-developer was given.
+if test "${with_developer+set}" = set; then :
+ withval=$with_developer; RT_DEVELOPER=$withval
+else
+ RT_DEVELOPER="0"
+fi
+
+# Check whether --enable-developer was given.
+if test "${enable_developer+set}" = set; then :
+ enableval=$enable_developer; RT_DEVELOPER=$enableval
+else
+ RT_DEVELOPER=$RT_DEVELOPER
+fi
+
+if test "$RT_DEVELOPER" = yes; then
+ RT_DEVELOPER="1"
+else
+ RT_DEVELOPER="0"
+fi
+
+
+# Extract the first word of "dot", so it can be a program name with args.
+set dummy dot; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RT_GRAPHVIZ+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RT_GRAPHVIZ"; then
+ ac_cv_prog_RT_GRAPHVIZ="$RT_GRAPHVIZ" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RT_GRAPHVIZ=""yes""
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_prog_RT_GRAPHVIZ" && ac_cv_prog_RT_GRAPHVIZ=""no""
+fi
+fi
+RT_GRAPHVIZ=$ac_cv_prog_RT_GRAPHVIZ
+if test -n "$RT_GRAPHVIZ"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RT_GRAPHVIZ" >&5
+$as_echo "$RT_GRAPHVIZ" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+# Check whether --with-graphviz was given.
+if test "${with_graphviz+set}" = set; then :
+ withval=$with_graphviz; RT_GRAPHVIZ=$withval
+fi
+
+# Check whether --enable-graphviz was given.
+if test "${enable_graphviz+set}" = set; then :
+ enableval=$enable_graphviz; RT_GRAPHVIZ=$enableval
+fi
+
+if test "$RT_GRAPHVIZ" = yes; then
+ RT_GRAPHVIZ="1"
+else
+ RT_GRAPHVIZ="0"
+fi
+
+
+# Extract the first word of "gdlib-config", so it can be a program name with args.
+set dummy gdlib-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RT_GD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RT_GD"; then
+ ac_cv_prog_RT_GD="$RT_GD" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RT_GD=""yes""
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_prog_RT_GD" && ac_cv_prog_RT_GD=""no""