diff options
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rwxr-xr-x | dtrace.in (renamed from dtrace) | 2 |
3 files changed, 6 insertions, 1 deletions
@@ -8866,6 +8866,8 @@ if test $enable_translator == "yes"; then fi ac_config_files="$ac_config_files run-staprun" +ac_config_files="$ac_config_files dtrace" + 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 @@ -9597,6 +9599,7 @@ do "initscript/systemtap") CONFIG_FILES="$CONFIG_FILES initscript/systemtap" ;; "run-stap") CONFIG_FILES="$CONFIG_FILES run-stap" ;; "run-staprun") CONFIG_FILES="$CONFIG_FILES run-staprun" ;; + "dtrace") CONFIG_FILES="$CONFIG_FILES dtrace" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} @@ -10386,6 +10389,7 @@ done ;; "run-stap":F) chmod +x run-stap ;; "run-staprun":F) chmod +x run-staprun ;; + "dtrace":F) chmod +x dtrace ;; esac done # for ac_tag diff --git a/configure.ac b/configure.ac index 747c549b..747aac97 100644 --- a/configure.ac +++ b/configure.ac @@ -586,6 +586,7 @@ if test $enable_translator == "yes"; then AC_CONFIG_FILES([run-stap], [chmod +x run-stap]) fi AC_CONFIG_FILES([run-staprun], [chmod +x run-staprun]) +AC_CONFIG_FILES([dtrace], [chmod +x dtrace]) AC_OUTPUT if test "${prefix}" = "/usr/local"; then @@ -179,5 +179,5 @@ if (build_source): f = open(fn,mode='w') f.write("#include \"" + filename + ".h\"\nstatic __dtrace () {}\n") f.close() - call(["gcc", "-fPIC", "-I.", "-g", "-c", fn, "-o", filename + ".o"], shell=False) + call(["gcc", "-fPIC", "-I.", "-I@prefix@/include", "-g", "-c", fn, "-o", filename + ".o"], shell=False) os.remove(fn) |