projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ffc819
)
* configure.ac (AC_CHECK_LIB): Check for socket on Solaris.
author
Christian Thalinger
<twisti@complang.tuwien.ac.at>
Mon, 7 Jul 2008 09:31:12 +0000
(11:31 +0200)
committer
Christian Thalinger
<twisti@complang.tuwien.ac.at>
Mon, 7 Jul 2008 09:31:12 +0000
(11:31 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index ff290deeb6028aca8519e12bf8a642e331add6ba..c8ddf37b8f6824f4b1127bd584f8e11ad5d32cd2 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-283,6
+283,12
@@
AC_STRUCT_TM
dnl Checks for libraries (NOTE: Should be done before function checks,
dnl as some functions may be in libraries we check for).
+case "${OS_DIR}" in
+ solaris )
+ AC_CHECK_LIB([socket], [gethostname],, [AC_MSG_ERROR(cannot find libsocket)])
+ ;;
+esac
+
dnl Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_TYPE_SIGNAL