Changeset: eb76e6a4dee3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=eb76e6a4dee3
Modified Files:
        common/utils/muuid.c
Branch: Dec2011
Log Message:

build: don't call functions we didn't detect to exist

In case of a mismatch between headers and libs (uuid/uuid.h found,
uuid_generate not found) make sure we rely on the latter, or else the
linking stage will fail
http://monetdb.cwi.nl/testweb/logs/43264:7ab4f1e62759/GNU-Fedora-i386-propcheck/make.html#l2039


diffs (12 lines):

diff --git a/common/utils/muuid.c b/common/utils/muuid.c
--- a/common/utils/muuid.c
+++ b/common/utils/muuid.c
@@ -35,7 +35,7 @@
 char *
 generateUUID(void)
 {
-#ifdef HAVE_UUID_UUID_H
+#ifdef HAVE_UUID
 # ifdef UUID_PRINTABLE_STRING_LENGTH
        /* Solaris */
        char out[UUID_PRINTABLE_STRING_LENGTH];
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to