mirror of
https://github.com/anope/anope.git
synced 2026-07-07 14:03:15 +02:00
BUILD : 1.7.4 (269) BUGS : N/A NOTES : dont use -funsigned-chars as the md5 encryption stuff (while it will still encrypt, probably in a way that is more normal md5) it wont be compatiable with the old md5 encryption, so for now, we will never use it, and itll be left to the OSs to just pick if chars are signed or unsigned....
git-svn-id: svn://svn.anope.org/anope/trunk@269 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@173 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
10ef68e7c4
commit
9aca21408d
@@ -2237,7 +2237,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
if test "$ac_cv_c_compiler_gnu" = "yes"; then
|
||||
CFLAGS="$CFLAGS -funsigned-char"
|
||||
# CFLAGS="$CFLAGS -funsigned-char"
|
||||
|
||||
echo "$as_me:$LINENO: checking if gcc has a working -pipe" >&5
|
||||
echo $ECHO_N "checking if gcc has a working -pipe... $ECHO_C" >&6
|
||||
@@ -8616,10 +8616,17 @@ fi;
|
||||
if test "${with_encryption+set}" = set; then
|
||||
withval="$with_encryption"
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define USE_ENCRYPTION "USE_ENCRYPTION"
|
||||
#define USE_ENCRYPTION
|
||||
_ACEOF
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define ENCRYPT_MD5
|
||||
_ACEOF
|
||||
|
||||
|
||||
fi;
|
||||
|
||||
ac_config_files="$ac_config_files Makefile"
|
||||
|
||||
+5
-2
@@ -20,7 +20,7 @@ fi
|
||||
AC_CONFIG_HEADER(include/sysconf.h)
|
||||
AC_PROG_CC
|
||||
if test "$ac_cv_prog_gcc" = "yes"; then
|
||||
CFLAGS="$CFLAGS -funsigned-char"
|
||||
# CFLAGS="$CFLAGS -funsigned-char"
|
||||
AC_CACHE_CHECK(if gcc has a working -pipe, ac_cv_pipe, [
|
||||
save_cflags="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -pipe"
|
||||
@@ -204,7 +204,10 @@ AC_ARG_WITH(ircd, [ --with-ircd=ircd Specify the first ircd type], [
|
||||
fi
|
||||
])
|
||||
|
||||
AC_ARG_WITH(encryption, [ --with-encryption Use md5 database encryption], AC_DEFINE_UNQUOTED(USE_ENCRYPTION,"USE_ENCRYPTION","has encryption"))
|
||||
AC_ARG_WITH(encryption, [ --with-encryption Use md5 database encryption], [
|
||||
AC_DEFINE_UNQUOTED(USE_ENCRYPTION,,"has encryption")
|
||||
AC_DEFINE_UNQUOTED(ENCRYPT_MD5,,"Use md5")
|
||||
])
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
/* include/sysconf.h.in. Generated from ./autoconf/configure.in by autoheader. */
|
||||
/* include/sysconf.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* "Default umask Permissions" */
|
||||
#undef DEFUMASK
|
||||
|
||||
/* "Underscore needed for dlopen" */
|
||||
/* "No prefix needed for dlopen" */
|
||||
#undef DL_PREFIX
|
||||
|
||||
/* "Use md5" */
|
||||
#undef ENCRYPT_MD5
|
||||
|
||||
/* "Has sys/types.h" */
|
||||
#undef HAS_SYS_TYPES_H
|
||||
|
||||
@@ -194,9 +197,6 @@
|
||||
#undef u_int32_t
|
||||
|
||||
/* Static config, copy from here to below before running autoheader! */
|
||||
#ifdef USE_ENCRYPTION
|
||||
#define ENCRYPT_MD5
|
||||
#endif
|
||||
|
||||
#ifdef HAS_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
|
||||
+6
-1
@@ -8,10 +8,15 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="4"
|
||||
VERSION_BUILD="268"
|
||||
VERSION_BUILD="269"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.4 (269)
|
||||
# BUGS : N/A
|
||||
# NOTES : dont use -funsigned-chars as the md5 encryption stuff (while it will still encrypt, probably in a way that is more normal md5) it wont be compatiable with the old md5 encryption, so for now, we will never use it, and itll be left to the OSs to just pick if chars are signed or unsigned....
|
||||
#
|
||||
#
|
||||
# BUILD : 1.7.4 (268)
|
||||
# BUGS : N/A
|
||||
# NOTES : Fixed position of text after ./Config and make
|
||||
|
||||
Reference in New Issue
Block a user