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

Comparing ircd-hybrid-7.2/configure (file contents):
Revision 923 by michael, Mon Nov 12 19:15:27 2007 UTC vs.
Revision 925 by michael, Mon Nov 12 20:59:02 2007 UTC

# Line 1504 | Line 1504 | Optional Features:
1504    --disable-zlib          Disable ziplinks support
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 1528 | 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).
1531  --lclient-heap-size=<value>
1532                          Set local client heap size (default 256).
1533  --client-heap-size=<value>
1534                          Set client heap size (default 256).
1535  --channel-heap-size=<value>
1536                          Set channel heap size (default 256).
1537  --dbuf-heap-size=<value>
1538                          Set dbuf heap size (default 64).
1539  --dnode-heap-size=<value>
1540                          Set dnode heap size (default 256).
1541  --ban-heap-size=<value> Set ban heap size (default 128).
1542  --topic-heap-size=<value>
1543                          Set topic heap size (default 256).
1544  --nickname-history-length=<value>
1545                          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 4768 | Line 4755 | ia64-*-hpux*)
4755    ;;
4756   *-*-irix6*)
4757    # Find out which ABI we are using.
4758 <  echo '#line 4771 "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 7505 | 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:7508: $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:7512: \$? = $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 7795 | 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:7798: $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:7802: \$? = $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 7899 | 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:7902: $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:7906: \$? = $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 10248 | 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 10251 "configure"
10238 > #line 10238 "configure"
10239   #include "confdefs.h"
10240  
10241   #if HAVE_DLFCN_H
# Line 10348 | 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 10351 "configure"
10338 > #line 10338 "configure"
10339   #include "confdefs.h"
10340  
10341   #if HAVE_DLFCN_H
# Line 12768 | 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:12771: $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:12775: \$? = $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 12872 | 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:12875: $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:12879: \$? = $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 14434 | 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:14437: $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:14441: \$? = $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 14538 | 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:14541: $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:14545: \$? = $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 16725 | 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:16728: $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:16732: \$? = $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 17015 | 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:17018: $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:17022: \$? = $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 17119 | 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:17122: $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:17126: \$? = $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 22434 | Line 22421 | fi
22421   fi
22422  
22423  
22437
22438
22439
22424   # Check whether --enable-openssl was given.
22425   if test "${enable_openssl+set}" = set; then
22426    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 22480 | Line 22464 | if test "$cf_enable_openssl" != "no"; th
22464      { echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5
22465   echo "${ECHO_T}$cf_openssl_basedir" >&6; }
22466      cf_enable_openssl="yes"
22467 <    cat >>confdefs.h <<\_ACEOF
22467 >
22468 > cat >>confdefs.h <<\_ACEOF
22469   #define HAVE_LIBCRYPTO 1
22470   _ACEOF
22471  
# Line 22494 | Line 22479 | else
22479      { echo "$as_me:$LINENO: result: disabled" >&5
22480   echo "${ECHO_T}disabled" >&6; }
22481   fi
22482 < if test x"$cf_enable_openssl" = xyes; then
22482 > if test "$cf_enable_openssl" = yes; then
22483    ENABLE_SSL_TRUE=
22484    ENABLE_SSL_FALSE='#'
22485   else
# Line 22504 | Line 22489 | fi
22489  
22490  
22491  
22492 + # Check whether --enable-assert was given.
22493 + if test "${enable_assert+set}" = set; then
22494 +  enableval=$enable_assert; assert=$enableval
22495 + else
22496 +  assert=no
22497 + fi
22498 +
22499 + if test "$assert" = no; then
22500 +
22501 + cat >>confdefs.h <<\_ACEOF
22502 + #define NDEBUG 1
22503 + _ACEOF
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 23102 | Line 23195 | cat >>confdefs.h <<_ACEOF
23195   _ACEOF
23196  
23197  
23105
23106
23107 # Check whether --with-lclient-heap-size was given.
23108 if test "${with_lclient_heap_size+set}" = set; then
23109  withval=$with_lclient_heap_size; lclient_heap_size="$withval"
23110 else
23111  lclient_heap_size="256"
23112 fi
23113
23114
23115 cat >>confdefs.h <<_ACEOF
23116 #define LCLIENT_HEAP_SIZE $lclient_heap_size
23117 _ACEOF
23118
23119
23120
23121
23122 # Check whether --with-client-heap-size was given.
23123 if test "${with_client_heap_size+set}" = set; then
23124  withval=$with_client_heap_size; client_heap_size="$withval"
23125 else
23126  client_heap_size="256"
23127 fi
23128
23129
23130 cat >>confdefs.h <<_ACEOF
23131 #define CLIENT_HEAP_SIZE $client_heap_size
23132 _ACEOF
23133
23134
23135
23136
23137 # Check whether --with-channel-heap-size was given.
23138 if test "${with_channel_heap_size+set}" = set; then
23139  withval=$with_channel_heap_size; channel_heap_size="$withval"
23140 else
23141  channel_heap_size="256"
23142 fi
23143
23144
23145 cat >>confdefs.h <<_ACEOF
23146 #define CHANNEL_HEAP_SIZE $channel_heap_size
23147 _ACEOF
23148
23149
23150
23151
23152 # Check whether --with-dbuf-heap-size was given.
23153 if test "${with_dbuf_heap_size+set}" = set; then
23154  withval=$with_dbuf_heap_size; dbuf_heap_size="$withval"
23155 else
23156  dbuf_heap_size="64"
23157 fi
23158
23159
23160 cat >>confdefs.h <<_ACEOF
23161 #define DBUF_HEAP_SIZE $dbuf_heap_size
23162 _ACEOF
23163
23164
23165
23166
23167 # Check whether --with-dnode-heap-size was given.
23168 if test "${with_dnode_heap_size+set}" = set; then
23169  withval=$with_dnode_heap_size; dnode_heap_size="$withval"
23170 else
23171  dnode_heap_size="256"
23172 fi
23173
23174
23175 cat >>confdefs.h <<_ACEOF
23176 #define DNODE_HEAP_SIZE $dnode_heap_size
23177 _ACEOF
23178
23179
23180
23181
23182 # Check whether --with-ban-heap-size was given.
23183 if test "${with_ban_heap_size+set}" = set; then
23184  withval=$with_ban_heap_size; ban_heap_size="$withval"
23185 else
23186  ban_heap_size="128"
23187 fi
23188
23189
23190 cat >>confdefs.h <<_ACEOF
23191 #define BAN_HEAP_SIZE $ban_heap_size
23192 _ACEOF
23193
23194
23195
23196
23197 # Check whether --with-topic-heap-size was given.
23198 if test "${with_topic_heap_size+set}" = set; then
23199  withval=$with_topic_heap_size; topic_heap_size="$withval"
23200 else
23201  topic_heap_size="256"
23202 fi
23203
23204
23205 cat >>confdefs.h <<_ACEOF
23206 #define TOPIC_HEAP_SIZE $topic_heap_size
23207 _ACEOF
23208
23209
23210 AX_ARG_WITH_IRCD_HEAP_SIZE
23211 AX_ARG_WITH_MQUEUE_HEAP_SIZE
23212 AX_ARG_WITH_FMSG_HEAP_SIZE
23213
23214
23215 # Check whether --with-nickname-history-length was given.
23216 if test "${with_nickname_history_length+set}" = set; then
23217  withval=$with_nickname_history_length; nickname_history_length="$withval"
23218 else
23219  nickname_history_length="1500"
23220 fi
23221
23222
23223 cat >>confdefs.h <<_ACEOF
23224 #define NICKNAMEHISTORYLENGTH $nickname_history_length
23225 _ACEOF
23226
23227
23198  
23199  
23200   # Check whether --with-syslog-facility was given.

Diff Legend

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