~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2009-01-09 04:41:56 UTC
  • mto: (779.1.2 devel)
  • mto: This revision was merged to the branch mainline in revision 784.
  • Revision ID: mordred@inaugust.com-20090109044156-03k3yw1peqey5x0a
Added stdlib.h depend for readline.

Show diffs side-by-side

added added

removed removed

Lines of Context:
403
403
then
404
404
  AC_MSG_ERROR([Couldn't find uuid/uuid.h. Try installing libuuid development packages])
405
405
fi
 
406
AC_LIB_HAVE_LINKFLAGS(uuid,,
 
407
[
 
408
#include <uuid/uuid.h>
 
409
],
 
410
[
 
411
  uuid_t uout;
 
412
  uuid_generate(uout);
 
413
])
 
414
 
406
415
AC_CHECK_LIB(uuid, uuid_generate)
407
416
 
 
417
 
408
418
#--------------------------------------------------------------------
409
419
# Check for libevent
410
420
#--------------------------------------------------------------------
477
487
dnl you need to link with ncurses directly to get readline to work
478
488
 
479
489
AC_LIB_HAVE_LINKFLAGS(readline,ncurses,
480
 
[#include <readline/readline.h>],
 
490
[
 
491
#include <stdlib.h>
 
492
#include <readline/readline.h>
 
493
],
481
494
[rl_initialize();])
482
495
AS_IF([test x$ac_cv_libreadline = xno],
483
496
      AC_MSG_ERROR([libreadline is required for Drizzle]))