~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Brian Aker
  • Date: 2008-07-01 08:15:04 UTC
  • Revision ID: brian@tangent.org-20080701081504-qn3jzgsbb2twnchs
Large file and ftruncate() support

Show diffs side-by-side

added added

removed removed

Lines of Context:
629
629
AC_CHECK_FUNC(sched_yield, , AC_CHECK_LIB(posix4, sched_yield,
630
630
[AC_DEFINE(HAVE_SCHED_YIELD) LIBS="$LIBS -lposix4"]))
631
631
 
632
 
# For large pages support
633
 
if test "$TARGET_LINUX" = "true"
634
 
then
635
 
  # For SHM_HUGETLB on Linux
636
 
  AC_CHECK_DECLS(SHM_HUGETLB, 
637
 
      AC_DEFINE([HAVE_LARGE_PAGES], [1], 
638
 
                [Define if you have large pages support])
639
 
      AC_DEFINE([HUGETLB_USE_PROC_MEMINFO], [1],
640
 
                [Define if /proc/meminfo shows the huge page size (Linux only)])
641
 
      , ,
642
 
      [
643
 
#include <sys/shm.h>
644
 
      ]
645
 
  )
646
 
fi
647
 
 
648
632
if test "$ac_cv_header_termio_h" = "no" -a "$ac_cv_header_termios_h" = "no"
649
633
then
650
634
  AC_CHECK_FUNC(gtty, , AC_CHECK_LIB(compat, gtty))