From b18c7913bcfe0e8e819183149fec14b9e637d4f0 Mon Sep 17 00:00:00 2001 From: Prabhanjan Kambadur Date: Mon, 12 Jan 2004 07:08:37 +0000 Subject: [PATCH] Adding WRAPPER_* flags This commit was SVN r292. --- configure.ac | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/configure.ac b/configure.ac index da83c96960..e77236929b 100644 --- a/configure.ac +++ b/configure.ac @@ -307,6 +307,47 @@ lam_show_title "Final top-level LAM configuration" CPPFLAGS='-I$(top_srcdir)/src'" $CPPFLAGS" CXXCPPFLAGS='-I$(top_srcdir)/src'" $CXXCPPFLAGS" +# +# Adding WRAPPER_* flags so that extra flags needed for wrappper compilers +# +# WRAPPER_EXTRA_CFLAGS +# +LAM_UNIQ(WRAPPER_EXTRA_CFLAGS) +AC_SUBST(WRAPPER_EXTRA_CFLAGS) +AC_DEFINE_UNQUOTED(WRAPPER_EXTRA_CFLAGS, "$WRAPPER_EXTRA_CFLAGS", + [Additional CFLAGS to pass through the wrapper compilers]) + +# +# WRAPPER_EXTRA_CXXFLAGS +# +LAM_UNIQ(WRAPPER_EXTRA_CXXFLAGS) +AC_SUBST(WRAPPER_EXTRA_CXXFLAGS) +AC_DEFINE_UNQUOTED(WRAPPER_EXTRA_CXXFLAGS, "$WRAPPER_EXTRA_CXXFLAGS", + [Additional CXXFLAGS to pass through the wrapper compilers]) + +# +# WRAPPER_EXTRA_FFLAGS +# +LAM_UNIQ(WRAPPER_EXTRA_FFLAGS) +AC_SUBST(WRAPPER_EXTRA_FFLAGS) +AC_DEFINE_UNQUOTED(WRAPPER_EXTRA_FFLAGS, "$WRAPPER_EXTRA_FFLAGS", + [Additional FFLAGS to pass through the wrapper compilers]) + +# +# WRAPPER_EXTRA_LDFLAGS +# +LAM_UNIQ(WRAPPER_EXTRA_LDFLAGS) +AC_SUBST(WRAPPER_EXTRA_LDFLAGS) +AC_DEFINE_UNQUOTED(WRAPPER_EXTRA_LDFLAGS, "$WRAPPER_EXTRA_LDFLAGS", + [Additional LDFLAGS to pass through the wrapper compilers]) + +# +# WRAPPER_EXTRA_LIBS +# +AC_SUBST(WRAPPER_EXTRA_LIBS) +AC_DEFINE_UNQUOTED(WRAPPER_EXTRA_LIBS, "$WRAPPER_EXTRA_LIBS", + [Additional LIBS to pass through the wrapper compilers]) + # # Delayed the substitution of CFLAGS and CXXFLAGS until now because # they may have been modified throughout the course of this script.