summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 168e740)
raw | patch | inline | side by side (parent: 168e740)
author | Doug MacEachern <dougm@hyperic.com> | |
Sat, 9 May 2009 01:54:51 +0000 (18:54 -0700) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sat, 9 May 2009 09:07:28 +0000 (11:07 +0200) |
Signed-off-by: Doug MacEachern <dougm@hyperic.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 292bae44308ad5014b5551bfd822cb17dfc6cb4c..e377fe99aa472ccbb59faac640262d5dd396d2b0 100644 (file)
--- a/configure.in
+++ b/configure.in
if test "x$have_sys_swap_h$ac_system" = "xnoSolaris"
then
- AC_MSG_NOTICE([Solaris detected and sys/swap.h not found: Try building a 64bit binary.])
+ hint_64=""
+ if test "x$GCC" = "xyes"
+ then
+ hint_64="CC='gcc -m64'"
+ else
+ hint_64="CC='cc -xarch=v9'"
+ fi
+ AC_MSG_NOTICE([Solaris detected and sys/swap.h not usable. Try building a 64-bit binary ($hint_64 ./configure).])
fi
# For load module