]> sourceware.org Git - systemtap.git/commit
configure finds appropriate default 32-bit or 64-bit Dyninst libraries
authorWilliam Cohen <wcohen@redhat.com>
Fri, 14 Jan 2022 19:00:02 +0000 (14:00 -0500)
committerWilliam Cohen <wcohen@redhat.com>
Fri, 14 Jan 2022 21:59:37 +0000 (16:59 -0500)
commit2f2c168b71a87cdc571d1c7f052688e41bcf5812
tree79a3c8bbf25835b7f2ffd0a6a92bfeff17be704d
parentc0a3e7aeb9068fbf1967a6e8ef6427b6659598ef
configure finds appropriate default 32-bit or 64-bit Dyninst libraries

Earlier versions of the systemtap configuration would just include
two -L paths to both 32-bit and 64-bit versions of the Dyninst
libraries.  However, attempting to link a 32-bit library with a 64-bit
build (and vice versa) may cause the build to fail.  This revision of
the configure tests determines which default Dyninst library works
with the compiler being used and selects it.

The configure can't bindly use ${libdir}/dyninst to select the path to
the default Dyninst libary as this only selects the ${prefix}/lib64 on
appropriate machines if the prefix is /usr.  If the prefix is set to
something else, ${libdir} is always ${prefix}/lib.  The would cause
the build to attempt to link with nonexistent Dyninst libaries in the
${prefix} directory.  If systemtap needs to be use a version of
Dysninst in a non-standard place, the --with-dyninst=<path_to_dyninst>
should be used.
configure
configure.ac
This page took 0.02521 seconds and 5 git commands to generate.