diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-04-22 22:06:58 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-04-22 22:06:58 +0000 |
commit | a8bf95d0249565f4210ccab5c13232d501ce0c2d (patch) | |
tree | e01f2eca98add8dba13eec23a95fa22120638890 /m4/multilib-installdir.m4 | |
parent | This commit was manufactured by cvs2svn to create branch 'base'. (diff) | |
download | libbsdport-a8bf95d0249565f4210ccab5c13232d501ce0c2d.tar.bz2 |
- importing updated version from SLAC as of 20090422
Diffstat (limited to 'm4/multilib-installdir.m4')
-rw-r--r-- | m4/multilib-installdir.m4 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/m4/multilib-installdir.m4 b/m4/multilib-installdir.m4 new file mode 100644 index 0000000..68ac591 --- /dev/null +++ b/m4/multilib-installdir.m4 @@ -0,0 +1,21 @@ +# TILLAM_MULTISUB_INSTALLDIR +# +# tweak 'libdir' so that libraries are +# installed in proper multisubdir. +# +# For use by 'sub-packages', i.e., from +# configure.ac in a subdir of a main +# package. Only the toplevel configure.ac +# should say AM_ENABLE_MULTILIB +# +AC_DEFUN([TILLAM_MULTISUB_INSTALLDIR], +[# Install multilib into proper multisubdir +if test "${with_multisubdir+set}" = "set" ; then + the_multisubdir="/${with_multisubdir}" +else + the_multisubdir= +fi +AC_SUBST(libdir,[${libdir}${the_multisubdir}])])dnl + + +])dnl |