diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-29 16:03:30 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-29 16:03:30 +0000 |
commit | 1de70c5fe1e18157efb4a592390ce08534139aa0 (patch) | |
tree | e95068190830febe15dfaab6f0600fb769492706 /Build/source/m4/kpse-options.m4 | |
parent | 5b8dcec4983808da1a0b25a4f41435b03370a79f (diff) |
new build system: multiplatform, cxx-runtime-hack, luatex
git-svn-id: svn://tug.org/texlive/trunk@12563 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4/kpse-options.m4')
-rw-r--r-- | Build/source/m4/kpse-options.m4 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Build/source/m4/kpse-options.m4 b/Build/source/m4/kpse-options.m4 new file mode 100644 index 00000000000..159c63b5f16 --- /dev/null +++ b/Build/source/m4/kpse-options.m4 @@ -0,0 +1,29 @@ +# Public macros for the teTeX / TeX Live (TL) tree. +# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> +# +# This file is free software; the copyright holder +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 0 + +# KPSE_OPTIONS +# ------------ +# Provide configure options used by the higher level TL directories +# as well as by packages maintained independently. +AC_DEFUN([KPSE_OPTIONS], +[AC_REQUIRE([AC_CANONICAL_HOST])[]dnl +AC_ARG_ENABLE([multiplatform], + AS_HELP_STRING([--enable-multiplatform], + [put executables into bin/PLATFORM and libraries into lib/PLATFORM]))[]dnl +if test "x$enable_multiplatform" = xyes; then + if test "x$bindir" = 'x${exec_prefix}/bin'; then + bindir="$bindir/$host" + ac_configure_args="$ac_configure_args '--bindir=$bindir'" + fi + if test "x$libdir" = 'x${exec_prefix}/lib'; then + libdir="$libdir/$host" + ac_configure_args="$ac_configure_args '--libdir=$libdir'" + fi +fi +]) # KPSE_OPTIONS |