~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

Fail if we don't find uuid/uuid.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
466
466
AC_LANG_POP()
467
467
 
468
468
#--------------------------------------------------------------------
 
469
# Check for libuuid
 
470
#--------------------------------------------------------------------
 
471
 
 
472
AC_CHECK_HEADERS(uuid/uuid.h)
 
473
if test "x$ac_cv_header_uuid_uuid_h" = "xno"
 
474
then
 
475
  AC_MSG_ERROR([Couldn't find uuid/uuid.h. Try installing libuuid development packages])
 
476
fi
 
477
AC_CHECK_LIB(uuid, uuid_generate)
 
478
 
 
479
#--------------------------------------------------------------------
469
480
# Check for libevent
470
481
#--------------------------------------------------------------------
471
482
 
1360
1371
  OPTIMIZE_CXXFLAGS="-O"
1361
1372
fi
1362
1373
 
1363
 
 
1364
 
AC_CHECK_HEADERS(uuid/uuid.h)
1365
 
AC_CHECK_LIB(uuid, uuid_generate)
1366
 
 
1367
 
 
1368
1374
dnl TODO: Remove this define once we are using 2.61 across the board.
1369
1375
# AX_HEADER_ASSERT
1370
1376
# ----------------