repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc01d2a
)
Fix example linkage under solaris
author
Trent Nelson
<trent.a.b.nelson@gmail.com>
Tue, 28 Jun 2011 07:54:44 +0000
(
03:54
-0400)
committer
Trent Nelson
<trent.a.b.nelson@gmail.com>
Wed, 29 Jun 2011 18:15:23 +0000
(14:15 -0400)
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index 9689a1f57a721d7a001fb5bfd872be57cc180329..5b8f1fa994f3aae70125e80b5da93c128c7831be 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-52,6
+52,10
@@
case $host in
;;
*solaris*)
AC_CHECK_HEADERS([sys/filio.h])
+ if test x$ENABLE_EXAMPLES = xyes; then
+ AC_CHECK_LIB([socket], [main], , [AC_MSG_ERROR([Can not find required library])])
+ AC_CHECK_LIB([nsl], [main], , [AC_MSG_ERROR([Can not find required library])])
+ fi
;;
*)
;;