diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-12-03 19:48:15 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-12-03 19:48:15 +0300 |
commit | 42b81716ece887b0011b1e40b0101ad37598997e (patch) | |
tree | 62d7512875ea0e2adb47d524d23628d86e83b4d4 /configure | |
parent | d62fb36650acfd0863c32a78b0941a4c0d0e58b1 (diff) | |
download | rspamd-42b81716ece887b0011b1e40b0101ad37598997e.tar.gz rspamd-42b81716ece887b0011b1e40b0101ad37598997e.zip |
* Remove strlcpy code and replace it with glib alternative
* Polish code and remove bugs found
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -485,7 +485,7 @@ check_perl() echo "#include <stdlib.h>" > autotest.c echo "#include <EXTERN.h>" >> autotest.c echo "#include <perl.h>" >> autotest.c - echo "int main (int argc, char **argv) { PERL_SYS_INIT3(&argc,&argv,&env); return 0; }" >> autotest.c + echo "int main (int argc, char **argv, char **env) { PERL_SYS_INIT3(&argc,&argv,&env); return 0; }" >> autotest.c echo "$GCC $CFLAGS $PERLCFLAGS $PTHREAD_CFLAGS -o autotest $LDFLAGS $LIBS $PERLLDFLAGS $PTHREAD_LDFLAGS autotest.c" >>config.log $GCC $CFLAGS $PERLCFLAGS $PTHREAD_CFLAGS -o autotest $LDFLAGS $LIBS $PERLLDFLAGS $PTHREAD_LDFLAGS autotest.c >>config.log 2>&1 if [ $? -eq 0 ] ; then @@ -891,14 +891,6 @@ if [ $? -eq 0 ] ; then have_opt "PIDFILE" fi -check_function "strlcpy" "string.h" -if [ $? -eq 1 ] ; then - cp $COMPAT_DIR/strlcpy.c $SRCDIR - cp $COMPAT_DIR/strlcpy.h $SRCDIR - SOURCES="$SOURCES strlcpy.c" - DEPS="$DEPS $SRCDIR/strlcpy.h" - have_opt "STRLCPY_H" -fi check_function "bzero" "string.h" check_function "srandomdev" if [ $? -eq 0 ] ; then @@ -935,7 +927,6 @@ check_include "stdint.h" if [ $? -eq 1 ] ; then check_include "inttypes.h" fi -check_include "strlcpy.h" check_include "md5.h" check_include "sys/queue.h" if [ $? -eq 1 ] ; then |