summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-11-17 20:11:12 -0500
committerFrank Ch. Eigler <fche@elastic.org>2009-11-17 20:11:12 -0500
commit47f390f910576d8165f788035473bf8d5ffcf7f0 (patch)
treef555f20cb7b8671bdacf2984e11c8878abce9af4 /configure
parent4d598c650a430fa16af5cfd9202d63931823b547 (diff)
downloadsystemtap-steved-47f390f910576d8165f788035473bf8d5ffcf7f0.tar.gz
systemtap-steved-47f390f910576d8165f788035473bf8d5ffcf7f0.tar.xz
systemtap-steved-47f390f910576d8165f788035473bf8d5ffcf7f0.zip
PR4037: 32-bit staprun vs. 64-bit kernels just works (tm)
* configure.ac (PROCFLAGS): Don't define it. * Makefile.am: Don't use it.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 3 insertions, 14 deletions
diff --git a/configure b/configure
index b98c4f9c..c7d87a34 100755
--- a/configure
+++ b/configure
@@ -642,7 +642,6 @@ am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
subdirs
-PROCFLAGS
DATE
stap_LIBS
elfutils_abs_srcdir
@@ -8743,19 +8742,9 @@ _ACEOF
DATE="$date"
-
-# This procflags business is for staprun/stapio, which need to
-# be compiled with the same bitness as the kernel. On e.g. PPC,
-# userspace might be 32-bit default, but staprun needs to be
-# 64-bit. See also bug #4037.
-
-processor=`uname -p`
-case "$processor" in
-ppc64) PROCFLAGS=-m64 ;;
-x86_64) PROCFLAGS=-m64 ;;
-*) PROCFLAGS=""
-esac
-
+# Before PR4037, we used to arrange to pass CFLAGS+=-m64 for a staprun
+# being compiled on 32-bit userspace but running against 64-bit kernels.
+# This is no longer necessary.
# Use tr1/unordered_map if available
ac_ext=cpp