X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/d3fceabf56dcf34b96af5ec69d424e57013f0c2d..e42487a5d0733c361fce6607ed7f01025f650aa1:/configure diff --git a/configure b/configure old mode 100644 new mode 100755 index 1e66f20..1c5fb80 --- a/configure +++ b/configure @@ -1,9 +1,9 @@ #! /bin/sh -# From configure.in Id: configure.in,v 1.2 2004/06/28 22:45:19 r33d Exp . +# From configure.in Id: configure.in,v 1.6 2005/03/07 03:51:23 sirvulcan Exp . # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for srvx 1.3. +# Generated by GNU Autoconf 2.59 for X3 1.4. # -# Report bugs to . +# Report bugs to . # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation @@ -268,11 +268,11 @@ SHELL=${CONFIG_SHELL-/bin/sh} : ${ac_max_here_lines=38} # Identity of this package. -PACKAGE_NAME='srvx' -PACKAGE_TARNAME='srvx' -PACKAGE_VERSION='1.3' -PACKAGE_STRING='srvx 1.3' -PACKAGE_BUGREPORT='srvx-bugs@lists.sourceforge.net' +PACKAGE_NAME='X3' +PACKAGE_TARNAME='x3' +PACKAGE_VERSION='1.4' +PACKAGE_STRING='X3 1.4' +PACKAGE_BUGREPORT='x2serv-general@lists.sourceforge.net' ac_unique_file="src/opserv.c" # Factoring default headers for most tests. @@ -781,7 +781,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures srvx 1.3 to adapt to many kinds of systems. +\`configure' configures X3 1.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -848,7 +848,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of srvx 1.3:";; + short | recursive ) echo "Configuration of X3 1.4:";; esac cat <<\_ACEOF @@ -868,7 +868,7 @@ Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-malloc=type Enables use of a special malloc library; one of: - system (the default), boehm-gc, dmalloc, mpatrol + system (the default), boehm-gc, dmalloc, mpatrol, x3, slab --with-protocol=name Choose IRC dialect to support; one of: p10 (the default), bahamut --without-getopt Disables building of the GNU getopt library @@ -885,7 +885,7 @@ Some influential environment variables: Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to . +Report bugs to . _ACEOF fi @@ -981,7 +981,7 @@ fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -srvx configure 1.3 +X3 configure 1.4 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -995,7 +995,7 @@ cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by srvx $as_me 1.3, which was +It was created by X3 $as_me 1.4, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1331,7 +1331,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -CODENAME=surge +CODENAME=X3 ac_config_headers="$ac_config_headers src/config.h" @@ -1723,8 +1723,8 @@ fi # Define the identity of the package. - PACKAGE='srvx' - VERSION='1.3' + PACKAGE='x3' + VERSION='1.4' cat >>confdefs.h <<_ACEOF @@ -5343,9 +5343,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ---------------------------------------------- ## -## Report this to srvx-bugs@lists.sourceforge.net ## -## ---------------------------------------------- ## +## --------------------------------------------------- ## +## Report this to x2serv-general@lists.sourceforge.net ## +## --------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 @@ -5683,8 +5683,8 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then _ACEOF else - { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. srvx build will fail." >&5 -echo "$as_me: error: ftime or gettimeofday required. srvx build will fail." >&2;} + { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5 +echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;} { (exit 1); exit 1; }; } fi done @@ -5706,7 +5706,8 @@ fi -for ac_func in bcopy memcpy memset strdup strerror strsignal localtime_r setrlimit inet_ntoa getopt getopt_long regcomp regexec regfree sysconf + +for ac_func in bcopy getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit inet_ntoa getopt getopt_long regcomp regexec regfree sysconf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -5911,8 +5912,8 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then _ACEOF else - { { echo "$as_me:$LINENO: error: a required function was not found. srvx build will fail." >&5 -echo "$as_me: error: a required function was not found. srvx build will fail." >&2;} + { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5 +echo "$as_me: error: a required function was not found. X3 build will fail." >&2;} { (exit 1); exit 1; }; } fi done @@ -6396,9 +6397,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ---------------------------------------------- ## -## Report this to srvx-bugs@lists.sourceforge.net ## -## ---------------------------------------------- ## +## --------------------------------------------------- ## +## Report this to x2serv-general@lists.sourceforge.net ## +## --------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 @@ -7132,9 +7133,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ---------------------------------------------- ## -## Report this to srvx-bugs@lists.sourceforge.net ## -## ---------------------------------------------- ## +## --------------------------------------------------- ## +## Report this to x2serv-general@lists.sourceforge.net ## +## --------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 @@ -7370,9 +7371,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ---------------------------------------------- ## -## Report this to srvx-bugs@lists.sourceforge.net ## -## ---------------------------------------------- ## +## --------------------------------------------------- ## +## Report this to x2serv-general@lists.sourceforge.net ## +## --------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 @@ -7681,9 +7682,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX -## ---------------------------------------------- ## -## Report this to srvx-bugs@lists.sourceforge.net ## -## ---------------------------------------------- ## +## --------------------------------------------------- ## +## Report this to x2serv-general@lists.sourceforge.net ## +## --------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 @@ -7872,6 +7873,24 @@ cat >>confdefs.h <<\_ACEOF #define WITH_MALLOC_BOEHM_GC 1 _ACEOF +elif test "x$withval" = "xx3" ; then + echo "$as_me:$LINENO: result: x3" >&5 +echo "${ECHO_T}x3" >&6 + +cat >>confdefs.h <<\_ACEOF +#define WITH_MALLOC_X3 1 +_ACEOF + + MODULE_OBJS="$MODULE_OBJS alloc-x3.\$(OBJEXT)" +elif test "x$withval" = "xslab" ; then + echo "$as_me:$LINENO: result: slab" >&5 +echo "${ECHO_T}slab" >&6 + +cat >>confdefs.h <<\_ACEOF +#define WITH_MALLOC_SLAB 1 +_ACEOF + + MODULE_OBJS="$MODULE_OBJS alloc-slab.\$(OBJEXT)" else { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5 echo "$as_me: error: Unknown malloc type $withval" >&2;} @@ -7896,7 +7915,7 @@ cat >>confdefs.h <<\_ACEOF #define WITH_PROTOCOL_P10 1 _ACEOF - MODULE_OBJS="$MODULE_OBJS proto-p10.\$(OBJEXT)" + MODULE_OBJS="$MODULE_OBJS proto-p10.o" PROTO_FILES=proto-p10.c elif test "x$withval" = "xbahamut" ; then echo "$as_me:$LINENO: result: Bahamut" >&5 @@ -7906,7 +7925,7 @@ cat >>confdefs.h <<\_ACEOF #define WITH_PROTOCOL_BAHAMUT 1 _ACEOF - MODULE_OBJS="$MODULE_OBJS proto-bahamut.\$(OBJEXT)" + MODULE_OBJS="$MODULE_OBJS proto-bahamut.o" else { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5 echo "$as_me: error: Unknown IRC dialect $withval" >&2;} @@ -7990,7 +8009,7 @@ if test "${enable_modules+set}" = set; then module_list="" for module in $enableval ; do module=`echo $module | sed -e s/^mod-// -e s/\.c\$//` - EXTRA_MODULE_OBJS="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)" + EXTRA_MODULE_OBJS="$EXTRA_MODULE_OBJS mod-$module.o" module_list="$module_list $module" echo "WITH_MODULE($module)" >> $MODULE_DEFINES done @@ -8421,7 +8440,7 @@ _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by srvx $as_me 1.3, which was +This file was extended by X3 $as_me 1.4, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -8484,7 +8503,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -srvx config.status 1.3 +X3 config.status 1.4 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"