summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-04-01 18:11:48 -0700
committerRoland McGrath <roland@redhat.com>2009-04-01 18:11:48 -0700
commit3c960a7cfa61cbde19c0ad88045c8c1f6405ed87 (patch)
tree7ae7c883c98df7ed3173aa0c681007d73fe510a7 /configure
parent952ce18c9672046c052fc77d5da8f98e8ae75735 (diff)
downloadsystemtap-steved-3c960a7cfa61cbde19c0ad88045c8c1f6405ed87.tar.gz
systemtap-steved-3c960a7cfa61cbde19c0ad88045c8c1f6405ed87.tar.xz
systemtap-steved-3c960a7cfa61cbde19c0ad88045c8c1f6405ed87.zip
Fix sudo magic wrappers for run-stap devel script.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure46
1 files changed, 46 insertions, 0 deletions
diff --git a/configure b/configure
index a63b6557..58406bee 100755
--- a/configure
+++ b/configure
@@ -667,6 +667,7 @@ sqlite3_LIBS
PIECXXFLAGS
PIECFLAGS
PIELDFLAGS
+PERL
RANLIB
ANSI2KNR
U
@@ -5971,6 +5972,47 @@ fi
+# Extract the first word of "perl", so it can be a program name with args.
+set dummy perl; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_PERL+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ case $PERL in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
+ ;;
+ *)
+ 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PERL=$ac_cv_path_PERL
+if test -n "$PERL"; then
+ { $as_echo "$as_me:$LINENO: result: $PERL" >&5
+$as_echo "$PERL" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
# Check whether --enable-perfmon was given.
if test "${enable_perfmon+set}" = set; then
enableval=$enable_perfmon;
@@ -8082,6 +8124,8 @@ subdirs="$subdirs testsuite"
ac_config_files="$ac_config_files run-stap"
+ac_config_files="$ac_config_files run-stapio"
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
@@ -8783,6 +8827,7 @@ do
"man/stapprobes.udp.3stap") CONFIG_FILES="$CONFIG_FILES man/stapprobes.udp.3stap" ;;
"initscript/systemtap") CONFIG_FILES="$CONFIG_FILES initscript/systemtap" ;;
"run-stap") CONFIG_FILES="$CONFIG_FILES run-stap" ;;
+ "run-stapio") CONFIG_FILES="$CONFIG_FILES run-stapio" ;;
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
@@ -9562,6 +9607,7 @@ $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
done
;;
"run-stap":F) chmod +x run-stap ;;
+ "run-stapio":F) chmod +x run-stapio ;;
esac
done # for ac_tag