From 4a75cfa21496112df81d290fca2a8e0ec245c802 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Tue, 28 Jun 2011 03:54:44 -0400 Subject: [PATCH] Fix example linkage under solaris --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 9689a1f..5b8f1fa 100644 --- 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 ;; *) ;; -- 2.34.1