summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-09 11:19:05 +0200
committermalosek <malosek@fastmq.com>2009-09-09 11:19:05 +0200
commit4cc923b0252a0f1f0ee52508b7a3108e8e3c0950 (patch)
treee683c31f19c5629f657a117a97f6084780713913
parent65b8b2d2c78867ee2671f995f5f7c805abd00df2 (diff)
Stop configure, when could not link with libuuid
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index cdca23c..4457d0b 100644
--- a/configure.in
+++ b/configure.in
@@ -41,7 +41,7 @@ case "${host_os}" in
's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" "/'
mv libtool-2 libtool
chmod 755 libtool
- AC_CHECK_LIB(uuid, uuid_generate)
+ AC_CHECK_LIB(uuid, main, , [AC_MSG_ERROR([Could not link with libuuid, install develop version.])])
;;
*solaris*)
AC_DEFINE(ZMQ_HAVE_SOLARIS, 1, [Have Solaris OS])