summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-05-21 00:32:21 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2015-05-21 00:32:21 +0000
commitce30c44b7020b093e0db11ff62da71f94dbed828 (patch)
tree20473a6ee0167f1efe268a6253b52ef815c3611f
parent9d8f4916a0babca3cb8be00c127243fb144b663d (diff)
downloadmpfr-ce30c44b7020b093e0db11ff62da71f94dbed828.tar.gz
[configure.ac] If the gmp.h vs libgmp test fails, also output the value
of some variables (in case config.log is available, information can also be retrieved from "Cache variables" and "Output variables" near the end). (merged changesets r8056,8616 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9429 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 97924326d..993a44435 100644
--- a/configure.ac
+++ b/configure.ac
@@ -522,6 +522,12 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[
AC_MSG_WARN([(such as /usr/include or /usr/local/include).])
AC_MSG_WARN([However since we can't use 'libtool' inside the configure,])
AC_MSG_WARN([we can't be sure. See 'config.log' for details.])
+ AC_MSG_WARN([CC="$CC"])
+ AC_MSG_WARN([CFLAGS="$CFLAGS"])
+ AC_MSG_WARN([CPPFLAGS="$CPPFLAGS"])
+ AC_MSG_WARN([LDFLAGS="$LDFLAGS"])
+ AC_MSG_WARN([LIBS="$LIBS"])
+ AC_MSG_WARN([Temporary LD_RUN_PATH was "$LD_RUN_PATH".])
AC_MSG_WARN([==========================================================])
],AC_MSG_RESULT([can not test])
)