From fc98a971350bed06e75443d89cef41d6bd346f7c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 20 Oct 2011 16:36:58 +0200 Subject: Introduced --disable-linkoo. --- configure.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 603745290f77..df644ae09a05 100644 --- a/configure.in +++ b/configure.in @@ -257,6 +257,10 @@ AC_ARG_ENABLE(dbgutil, [Include additional debugging utilities, such as assertions, object counting, etc. Larger build. Independent from --enable-debug])) +AC_ARG_ENABLE(linkoo, + AS_HELP_STRING([--disable-linkoo], + [Disable linkoo for the smoketest installation.])) + AC_ARG_ENABLE(lto, AS_HELP_STRING([--enable-lto], [Enable link-time optimization. Suitable for product builds. @@ -2336,6 +2340,18 @@ fi AC_SUBST(PRODUCT) AC_SUBST(PROEXT) +dnl Determine whether to use linkoo for the smoketest installation +dnl =================================================================== +AC_MSG_CHECKING([whether to use linkoo for the smoketest installation]) +if test "$enable_linkoo" = "no"; then + DISABLE_LINKOO="TRUE" + AC_MSG_RESULT([no]) +else + DISABLE_LINKOO= + AC_MSG_RESULT([yes]) +fi +AC_SUBST(DISABLE_LINKOO) + # Set the ENABLE_LTO variable # =================================================================== AC_MSG_CHECKING([whether to use link-time optimization]) -- cgit