ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/configure
(Generate patch)

Comparing ircd-hybrid-7.2/configure (file contents):
Revision 924 by michael, Mon Nov 12 20:31:07 2007 UTC vs.
Revision 925 by michael, Mon Nov 12 20:59:02 2007 UTC

# Line 1505 | Line 1505 | Optional Features:
1505    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1506    --disable-openssl            Disable OpenSSL support.
1507    --enable-assert         Enable assert() statements
1508 +  --enable-small-net      Enable small network support.
1509    --enable-kqueue         Force kqueue usage.
1510    --enable-epoll          Force epoll usage.
1511    --enable-devpoll        Force devpoll usage.
# Line 1529 | Line 1530 | Optional Packages:
1530    --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1531    --with-nicklen=<value>  Set nickname length (default 9).
1532    --with-topiclen=<value> Set topic length (default 160).
1532  --lclient-heap-size=<value>
1533                          Set local client heap size (default 256).
1534  --client-heap-size=<value>
1535                          Set client heap size (default 256).
1536  --channel-heap-size=<value>
1537                          Set channel heap size (default 256).
1538  --dbuf-heap-size=<value>
1539                          Set dbuf heap size (default 64).
1540  --dnode-heap-size=<value>
1541                          Set dnode heap size (default 256).
1542  --ban-heap-size=<value> Set ban heap size (default 128).
1543  --topic-heap-size=<value>
1544                          Set topic heap size (default 256).
1545  --nickname-history-length=<value>
1546                          Set length of nickname history list (default 1500).
1533    --with-syslog-facility=LOG
1534                            Define the syslog facility to use (default:
1535                            LOG_LOCAL4)
# Line 4769 | Line 4755 | ia64-*-hpux*)
4755    ;;
4756   *-*-irix6*)
4757    # Find out which ABI we are using.
4758 <  echo '#line 4772 "configure"' > conftest.$ac_ext
4758 >  echo '#line 4758 "configure"' > conftest.$ac_ext
4759    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4760    (eval $ac_compile) 2>&5
4761    ac_status=$?
# Line 7506 | Line 7492 | else
7492     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7493     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7494     -e 's:$: $lt_compiler_flag:'`
7495 <   (eval echo "\"\$as_me:7509: $lt_compile\"" >&5)
7495 >   (eval echo "\"\$as_me:7495: $lt_compile\"" >&5)
7496     (eval "$lt_compile" 2>conftest.err)
7497     ac_status=$?
7498     cat conftest.err >&5
7499 <   echo "$as_me:7513: \$? = $ac_status" >&5
7499 >   echo "$as_me:7499: \$? = $ac_status" >&5
7500     if (exit $ac_status) && test -s "$ac_outfile"; then
7501       # The compiler can only warn and ignore the option if not recognized
7502       # So say no if there are warnings other than the usual output.
# Line 7796 | Line 7782 | else
7782     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7783     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7784     -e 's:$: $lt_compiler_flag:'`
7785 <   (eval echo "\"\$as_me:7799: $lt_compile\"" >&5)
7785 >   (eval echo "\"\$as_me:7785: $lt_compile\"" >&5)
7786     (eval "$lt_compile" 2>conftest.err)
7787     ac_status=$?
7788     cat conftest.err >&5
7789 <   echo "$as_me:7803: \$? = $ac_status" >&5
7789 >   echo "$as_me:7789: \$? = $ac_status" >&5
7790     if (exit $ac_status) && test -s "$ac_outfile"; then
7791       # The compiler can only warn and ignore the option if not recognized
7792       # So say no if there are warnings other than the usual output.
# Line 7900 | Line 7886 | else
7886     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7887     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7888     -e 's:$: $lt_compiler_flag:'`
7889 <   (eval echo "\"\$as_me:7903: $lt_compile\"" >&5)
7889 >   (eval echo "\"\$as_me:7889: $lt_compile\"" >&5)
7890     (eval "$lt_compile" 2>out/conftest.err)
7891     ac_status=$?
7892     cat out/conftest.err >&5
7893 <   echo "$as_me:7907: \$? = $ac_status" >&5
7893 >   echo "$as_me:7893: \$? = $ac_status" >&5
7894     if (exit $ac_status) && test -s out/conftest2.$ac_objext
7895     then
7896       # The compiler can only warn and ignore the option if not recognized
# Line 10249 | Line 10235 | else
10235    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10236    lt_status=$lt_dlunknown
10237    cat > conftest.$ac_ext <<EOF
10238 < #line 10252 "configure"
10238 > #line 10238 "configure"
10239   #include "confdefs.h"
10240  
10241   #if HAVE_DLFCN_H
# Line 10349 | Line 10335 | else
10335    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10336    lt_status=$lt_dlunknown
10337    cat > conftest.$ac_ext <<EOF
10338 < #line 10352 "configure"
10338 > #line 10338 "configure"
10339   #include "confdefs.h"
10340  
10341   #if HAVE_DLFCN_H
# Line 12769 | Line 12755 | else
12755     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12756     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12757     -e 's:$: $lt_compiler_flag:'`
12758 <   (eval echo "\"\$as_me:12772: $lt_compile\"" >&5)
12758 >   (eval echo "\"\$as_me:12758: $lt_compile\"" >&5)
12759     (eval "$lt_compile" 2>conftest.err)
12760     ac_status=$?
12761     cat conftest.err >&5
12762 <   echo "$as_me:12776: \$? = $ac_status" >&5
12762 >   echo "$as_me:12762: \$? = $ac_status" >&5
12763     if (exit $ac_status) && test -s "$ac_outfile"; then
12764       # The compiler can only warn and ignore the option if not recognized
12765       # So say no if there are warnings other than the usual output.
# Line 12873 | Line 12859 | else
12859     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12860     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12861     -e 's:$: $lt_compiler_flag:'`
12862 <   (eval echo "\"\$as_me:12876: $lt_compile\"" >&5)
12862 >   (eval echo "\"\$as_me:12862: $lt_compile\"" >&5)
12863     (eval "$lt_compile" 2>out/conftest.err)
12864     ac_status=$?
12865     cat out/conftest.err >&5
12866 <   echo "$as_me:12880: \$? = $ac_status" >&5
12866 >   echo "$as_me:12866: \$? = $ac_status" >&5
12867     if (exit $ac_status) && test -s out/conftest2.$ac_objext
12868     then
12869       # The compiler can only warn and ignore the option if not recognized
# Line 14435 | Line 14421 | else
14421     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14422     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14423     -e 's:$: $lt_compiler_flag:'`
14424 <   (eval echo "\"\$as_me:14438: $lt_compile\"" >&5)
14424 >   (eval echo "\"\$as_me:14424: $lt_compile\"" >&5)
14425     (eval "$lt_compile" 2>conftest.err)
14426     ac_status=$?
14427     cat conftest.err >&5
14428 <   echo "$as_me:14442: \$? = $ac_status" >&5
14428 >   echo "$as_me:14428: \$? = $ac_status" >&5
14429     if (exit $ac_status) && test -s "$ac_outfile"; then
14430       # The compiler can only warn and ignore the option if not recognized
14431       # So say no if there are warnings other than the usual output.
# Line 14539 | Line 14525 | else
14525     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14526     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14527     -e 's:$: $lt_compiler_flag:'`
14528 <   (eval echo "\"\$as_me:14542: $lt_compile\"" >&5)
14528 >   (eval echo "\"\$as_me:14528: $lt_compile\"" >&5)
14529     (eval "$lt_compile" 2>out/conftest.err)
14530     ac_status=$?
14531     cat out/conftest.err >&5
14532 <   echo "$as_me:14546: \$? = $ac_status" >&5
14532 >   echo "$as_me:14532: \$? = $ac_status" >&5
14533     if (exit $ac_status) && test -s out/conftest2.$ac_objext
14534     then
14535       # The compiler can only warn and ignore the option if not recognized
# Line 16726 | Line 16712 | else
16712     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16713     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16714     -e 's:$: $lt_compiler_flag:'`
16715 <   (eval echo "\"\$as_me:16729: $lt_compile\"" >&5)
16715 >   (eval echo "\"\$as_me:16715: $lt_compile\"" >&5)
16716     (eval "$lt_compile" 2>conftest.err)
16717     ac_status=$?
16718     cat conftest.err >&5
16719 <   echo "$as_me:16733: \$? = $ac_status" >&5
16719 >   echo "$as_me:16719: \$? = $ac_status" >&5
16720     if (exit $ac_status) && test -s "$ac_outfile"; then
16721       # The compiler can only warn and ignore the option if not recognized
16722       # So say no if there are warnings other than the usual output.
# Line 17016 | Line 17002 | else
17002     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17003     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17004     -e 's:$: $lt_compiler_flag:'`
17005 <   (eval echo "\"\$as_me:17019: $lt_compile\"" >&5)
17005 >   (eval echo "\"\$as_me:17005: $lt_compile\"" >&5)
17006     (eval "$lt_compile" 2>conftest.err)
17007     ac_status=$?
17008     cat conftest.err >&5
17009 <   echo "$as_me:17023: \$? = $ac_status" >&5
17009 >   echo "$as_me:17009: \$? = $ac_status" >&5
17010     if (exit $ac_status) && test -s "$ac_outfile"; then
17011       # The compiler can only warn and ignore the option if not recognized
17012       # So say no if there are warnings other than the usual output.
# Line 17120 | Line 17106 | else
17106     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17107     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17108     -e 's:$: $lt_compiler_flag:'`
17109 <   (eval echo "\"\$as_me:17123: $lt_compile\"" >&5)
17109 >   (eval echo "\"\$as_me:17109: $lt_compile\"" >&5)
17110     (eval "$lt_compile" 2>out/conftest.err)
17111     ac_status=$?
17112     cat out/conftest.err >&5
17113 <   echo "$as_me:17127: \$? = $ac_status" >&5
17113 >   echo "$as_me:17113: \$? = $ac_status" >&5
17114     if (exit $ac_status) && test -s out/conftest2.$ac_objext
17115     then
17116       # The compiler can only warn and ignore the option if not recognized
# Line 22515 | Line 22501 | if test "$assert" = no; then
22501   cat >>confdefs.h <<\_ACEOF
22502   #define NDEBUG 1
22503   _ACEOF
22504 < )
22504 >
22505 > fi
22506 >
22507 >
22508 > # Check whether --enable-small-net was given.
22509 > if test "${enable_small_net+set}" = set; then
22510 >  enableval=$enable_small_net; small_net=$enableval
22511 > else
22512 >  small_net=no
22513   fi
22514  
22515  
22516 + if test "$small_net" = yes; then
22517 +
22518 + cat >>confdefs.h <<\_ACEOF
22519 + #define NICKNAMEHISTORYLENGTH 1500
22520 + _ACEOF
22521 +
22522 +
22523 + cat >>confdefs.h <<\_ACEOF
22524 + #define CHANNEL_HEAP_SIZE 256
22525 + _ACEOF
22526 +
22527 +
22528 + cat >>confdefs.h <<\_ACEOF
22529 + #define BAN_HEAP_SIZE 128
22530 + _ACEOF
22531 +
22532 +
22533 + cat >>confdefs.h <<\_ACEOF
22534 + #define CLIENT_HEAP_SIZE 256
22535 + _ACEOF
22536 +
22537 +
22538 + cat >>confdefs.h <<\_ACEOF
22539 + #define LCLIENT_HEAP_SIZE 128
22540 + _ACEOF
22541 +
22542 +
22543 + cat >>confdefs.h <<\_ACEOF
22544 + #define DNODE_HEAP_SIZE 256
22545 + _ACEOF
22546 +
22547 +
22548 + cat >>confdefs.h <<\_ACEOF
22549 + #define TOPIC_HEAP_SIZE 256
22550 + _ACEOF
22551 +
22552 +
22553 + cat >>confdefs.h <<\_ACEOF
22554 + #define DBUF_HEAP_SIZE 64
22555 + _ACEOF
22556 +
22557 + else
22558 +
22559 + cat >>confdefs.h <<\_ACEOF
22560 + #define NICKNAMEHISTORYLENGTH 15000
22561 + _ACEOF
22562 +
22563 +
22564 + cat >>confdefs.h <<\_ACEOF
22565 + #define CHANNEL_HEAP_SIZE 1024
22566 + _ACEOF
22567 +
22568 +
22569 + cat >>confdefs.h <<\_ACEOF
22570 + #define BAN_HEAP_SIZE 1024
22571 + _ACEOF
22572 +
22573 +
22574 + cat >>confdefs.h <<\_ACEOF
22575 + #define CLIENT_HEAP_SIZE 1024
22576 + _ACEOF
22577 +
22578 +
22579 + cat >>confdefs.h <<\_ACEOF
22580 + #define LCLIENT_HEAP_SIZE 512
22581 + _ACEOF
22582 +
22583 +
22584 + cat >>confdefs.h <<\_ACEOF
22585 + #define DNODE_HEAP_SIZE 1024
22586 + _ACEOF
22587 +
22588 +
22589 + cat >>confdefs.h <<\_ACEOF
22590 + #define TOPIC_HEAP_SIZE 1024
22591 + _ACEOF
22592 +
22593 +
22594 + cat >>confdefs.h <<\_ACEOF
22595 + #define DBUF_HEAP_SIZE 512
22596 + _ACEOF
22597 +
22598 + fi
22599 +
22600   # Argument processing.
22601  
22602      desired_iopoll_mechanism="none"
# Line 23117 | Line 23195 | cat >>confdefs.h <<_ACEOF
23195   _ACEOF
23196  
23197  
23120
23121
23122 # Check whether --with-lclient-heap-size was given.
23123 if test "${with_lclient_heap_size+set}" = set; then
23124  withval=$with_lclient_heap_size; lclient_heap_size="$withval"
23125 else
23126  lclient_heap_size="256"
23127 fi
23128
23129
23130 cat >>confdefs.h <<_ACEOF
23131 #define LCLIENT_HEAP_SIZE $lclient_heap_size
23132 _ACEOF
23133
23134
23135
23136
23137 # Check whether --with-client-heap-size was given.
23138 if test "${with_client_heap_size+set}" = set; then
23139  withval=$with_client_heap_size; client_heap_size="$withval"
23140 else
23141  client_heap_size="256"
23142 fi
23143
23144
23145 cat >>confdefs.h <<_ACEOF
23146 #define CLIENT_HEAP_SIZE $client_heap_size
23147 _ACEOF
23148
23149
23150
23151
23152 # Check whether --with-channel-heap-size was given.
23153 if test "${with_channel_heap_size+set}" = set; then
23154  withval=$with_channel_heap_size; channel_heap_size="$withval"
23155 else
23156  channel_heap_size="256"
23157 fi
23158
23159
23160 cat >>confdefs.h <<_ACEOF
23161 #define CHANNEL_HEAP_SIZE $channel_heap_size
23162 _ACEOF
23163
23164
23165
23166
23167 # Check whether --with-dbuf-heap-size was given.
23168 if test "${with_dbuf_heap_size+set}" = set; then
23169  withval=$with_dbuf_heap_size; dbuf_heap_size="$withval"
23170 else
23171  dbuf_heap_size="64"
23172 fi
23173
23174
23175 cat >>confdefs.h <<_ACEOF
23176 #define DBUF_HEAP_SIZE $dbuf_heap_size
23177 _ACEOF
23178
23179
23180
23181
23182 # Check whether --with-dnode-heap-size was given.
23183 if test "${with_dnode_heap_size+set}" = set; then
23184  withval=$with_dnode_heap_size; dnode_heap_size="$withval"
23185 else
23186  dnode_heap_size="256"
23187 fi
23188
23189
23190 cat >>confdefs.h <<_ACEOF
23191 #define DNODE_HEAP_SIZE $dnode_heap_size
23192 _ACEOF
23193
23194
23195
23196
23197 # Check whether --with-ban-heap-size was given.
23198 if test "${with_ban_heap_size+set}" = set; then
23199  withval=$with_ban_heap_size; ban_heap_size="$withval"
23200 else
23201  ban_heap_size="128"
23202 fi
23203
23204
23205 cat >>confdefs.h <<_ACEOF
23206 #define BAN_HEAP_SIZE $ban_heap_size
23207 _ACEOF
23208
23209
23210
23211
23212 # Check whether --with-topic-heap-size was given.
23213 if test "${with_topic_heap_size+set}" = set; then
23214  withval=$with_topic_heap_size; topic_heap_size="$withval"
23215 else
23216  topic_heap_size="256"
23217 fi
23218
23219
23220 cat >>confdefs.h <<_ACEOF
23221 #define TOPIC_HEAP_SIZE $topic_heap_size
23222 _ACEOF
23223
23224
23225
23226
23227 # Check whether --with-nickname-history-length was given.
23228 if test "${with_nickname_history_length+set}" = set; then
23229  withval=$with_nickname_history_length; nickname_history_length="$withval"
23230 else
23231  nickname_history_length="1500"
23232 fi
23233
23234
23235 cat >>confdefs.h <<_ACEOF
23236 #define NICKNAMEHISTORYLENGTH $nickname_history_length
23237 _ACEOF
23238
23239
23198  
23199  
23200   # Check whether --with-syslog-facility was given.

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)