~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

New Listen interface about done, not quite compiling yet, but need a backup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
 
123
123
AC_DEFINE([_BACKWARD_BACKWARD_WARNING_H],[1],[Hack to disable deprecation warning in gcc])
124
124
 
125
 
# The port should be constant for a LONG time
 
125
# The port that was assigned by IANA.
126
126
DRIZZLE_TCP_PORT_DEFAULT=4427
127
127
 
128
128
m4_include(m4/dtrace.m4)
675
675
 
676
676
AC_ARG_WITH([tcp-port],
677
677
    [AS_HELP_STRING([--with-tcp-port=port-number],
678
 
            [Which port to use for Drizzle services @<:@default=4427@:>@])],
679
 
    [ DRIZZLE_TCP_PORT=$withval ],
 
678
            [Which port to use for Drizzle TCP services @<:@default=4427@:>@])],
 
679
    [ DRIZZLE_TCP_PORT=$withval],
680
680
    [ DRIZZLE_TCP_PORT=$DRIZZLE_TCP_PORT_DEFAULT
681
681
      # if we actually defaulted (as opposed to the pathological case of
682
682
      # --with-tcp-port=<DRIZZLE_TCP_PORT_DEFAULT> which might in theory
706
706
      # so don't mess with that.
707
707
      DRIZZLE_TCP_PORT_DEFAULT=0 ]
708
708
    )
 
709
 
709
710
AC_SUBST(DRIZZLE_TCP_PORT)
710
 
# We might want to document the assigned port in the manual.
711
711
AC_SUBST(DRIZZLE_TCP_PORT_DEFAULT)
712
 
AC_DEFINE_UNQUOTED([DRIZZLE_PORT],[$DRIZZLE_TCP_PORT],
 
712
AC_DEFINE_UNQUOTED([DRIZZLE_TCP_PORT],[$DRIZZLE_TCP_PORT],
713
713
                   [Drizzle port to use])
714
 
AC_DEFINE_UNQUOTED([DRIZZLE_PORT_DEFAULT],[$DRIZZLE_TCP_PORT_DEFAULT],
715
 
                   [If we defaulted to DRIZZLE_PORT, then this will be zero])
 
714
AC_DEFINE_UNQUOTED([DRIZZLE_TCP_PORT_DEFAULT],[$DRIZZLE_TCP_PORT_DEFAULT],
 
715
                   [If we defaulted to DRIZZLE_PORT, then this will be zero])
 
716
 
716
717
 
717
718
# Use this to set the place used for unix socket used to local communication.
718
719
AC_ARG_WITH([drizzled-user],