~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Brian Aker
  • Date: 2008-11-13 02:56:15 UTC
  • mfrom: (575.4.10 devel)
  • Revision ID: brian@tangent.org-20081113025615-snhsi52yb2ivmx6f
Merging Monty's code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl -*- ksh -*-
 
1
dnl -*- bash -*-
2
2
dnl Process this file with autoconf to produce a configure script.
3
3
 
4
4
AC_PREREQ(2.59)dnl              Minimum Autoconf version required.
360
360
AC_PROG_INSTALL
361
361
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
362
362
 
 
363
# Look for "(group|user)add". 
 
364
# TODO: If the programs do not exist, inform the DBA that the user
 
365
#       was not created at the end of the install routine.
 
366
AC_CHECK_PROGS(GROUPADD, groupadd addgroup)
 
367
AC_CHECK_PROGS(USERADD, useradd adduser)
 
368
 
363
369
# Not critical since the generated file is distributed
364
370
AC_CHECK_PROGS(YACC, ['bison -y -p DRIZZLE'])
365
371
if test -z "$YACC" && test -d ".bzr"
555
561
# Check for libevent
556
562
#--------------------------------------------------------------------
557
563
 
558
 
AC_MSG_CHECKING(for libevent)
559
564
AC_ARG_WITH(libevent,
560
565
  [AS_HELP_STRING([--with-libevent@<:@=DIR@:>@],
561
566
       [Use libevent in DIR])],
576
581
    LIBS="${my_save_LIBS}"
577
582
    LIBEVENT_CPPFLAGS=""
578
583
else
579
 
    AC_MSG_RESULT($withval)
 
584
    AC_MSG_CHECKING(for libevent in $withval)
580
585
    if test -f $withval/event.h -a -f $withval/libevent.a; then
581
586
       owd=`pwd`
582
587
       if cd $withval; then withval=`pwd`; cd $owd; fi
1162
1167
AC_CHECK_FUNCS( \
1163
1168
  cuserid fchmod \
1164
1169
  fdatasync fpresetsticky fpsetmask fsync \
1165
 
  getcwd getpassphrase getpwnam \
1166
 
  getpwuid getrlimit getrusage getwd index initgroups isnan \
 
1170
  getpassphrase getpwnam \
 
1171
  getpwuid getrlimit getrusage index initgroups isnan \
1167
1172
  localtime_r gethrtime gmtime_r \
1168
1173
  madvise \
1169
1174
  mkstemp mlockall poll pread pthread_attr_create mmap mmap64 \
1572
1577
 drizzled/serialize/Makefile dnl
1573
1578
 drizzled/functions/Makefile dnl
1574
1579
 drizzled/functions/str/Makefile dnl
 
1580
 drizzled/functions/time/Makefile dnl
1575
1581
 drizzled/util/Makefile dnl
1576
1582
 drizzled/sql_builtin.cc dnl
1577
1583
 support-files/Makefile dnl