Browse code

add -lresolv to CLAMAV_MILTER_LIBS

git-svn: trunk@2247

Tomasz Kojm authored on 2006/09/13 07:37:16
Showing 3 changed files
... ...
@@ -1,3 +1,7 @@
1
+Wed Sep 13 00:35:57 CEST 2006 (tk)
2
+----------------------------------
3
+  * configure: add -lresolv to CLAMAV_MILTER_LIBS, patch from Stephen Gran
4
+
1 5
 Wed Sep 13 00:03:30 CEST 2006 (acab)
2 6
 ------------------------------------
3 7
   * libclamav: Merge of the html normaliser part of the phishing module from
... ...
@@ -1,6 +1,6 @@
1 1
 #! /bin/sh
2 2
 # Guess values for system-dependent variables and create Makefiles.
3
-# Generated by GNU Autoconf 2.60a.
3
+# Generated by GNU Autoconf 2.60.
4 4
 #
5 5
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 6
 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
... ...
@@ -724,36 +724,36 @@ ac_unique_file="clamscan/clamscan.c"
724 724
 # Factoring default headers for most tests.
725 725
 ac_includes_default="\
726 726
 #include <stdio.h>
727
-#ifdef HAVE_SYS_TYPES_H
727
+#if HAVE_SYS_TYPES_H
728 728
 # include <sys/types.h>
729 729
 #endif
730
-#ifdef HAVE_SYS_STAT_H
730
+#if HAVE_SYS_STAT_H
731 731
 # include <sys/stat.h>
732 732
 #endif
733
-#ifdef STDC_HEADERS
733
+#if STDC_HEADERS
734 734
 # include <stdlib.h>
735 735
 # include <stddef.h>
736 736
 #else
737
-# ifdef HAVE_STDLIB_H
737
+# if HAVE_STDLIB_H
738 738
 #  include <stdlib.h>
739 739
 # endif
740 740
 #endif
741
-#ifdef HAVE_STRING_H
742
-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
741
+#if HAVE_STRING_H
742
+# if !STDC_HEADERS && HAVE_MEMORY_H
743 743
 #  include <memory.h>
744 744
 # endif
745 745
 # include <string.h>
746 746
 #endif
747
-#ifdef HAVE_STRINGS_H
747
+#if HAVE_STRINGS_H
748 748
 # include <strings.h>
749 749
 #endif
750
-#ifdef HAVE_INTTYPES_H
750
+#if HAVE_INTTYPES_H
751 751
 # include <inttypes.h>
752 752
 #endif
753
-#ifdef HAVE_STDINT_H
753
+#if HAVE_STDINT_H
754 754
 # include <stdint.h>
755 755
 #endif
756
-#ifdef HAVE_UNISTD_H
756
+#if HAVE_UNISTD_H
757 757
 # include <unistd.h>
758 758
 #endif"
759 759
 
... ...
@@ -1576,7 +1576,7 @@ test -n "$ac_init_help" && exit $ac_status
1576 1576
 if $ac_init_version; then
1577 1577
   cat <<\_ACEOF
1578 1578
 configure
1579
-generated by GNU Autoconf 2.60a
1579
+generated by GNU Autoconf 2.60
1580 1580
 
1581 1581
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1582 1582
 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
... ...
@@ -1590,7 +1590,7 @@ This file contains any messages produced by compilers while
1590 1590
 running configure, to aid debugging if configure makes a mistake.
1591 1591
 
1592 1592
 It was created by $as_me, which was
1593
-generated by GNU Autoconf 2.60a.  Invocation command line was
1593
+generated by GNU Autoconf 2.60.  Invocation command line was
1594 1594
 
1595 1595
   $ $0 $@
1596 1596
 
... ...
@@ -3164,7 +3164,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3164 3164
 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3165 3165
 # so that the user can short-circuit this test for compilers unknown to
3166 3166
 # Autoconf.
3167
-for ac_file in $ac_files ''
3167
+for ac_file in $ac_files
3168 3168
 do
3169 3169
   test -f "$ac_file" || continue
3170 3170
   case $ac_file in
... ...
@@ -3192,12 +3192,6 @@ done
3192 3192
 test "$ac_cv_exeext" = no && ac_cv_exeext=
3193 3193
 
3194 3194
 else
3195
-  ac_file=''
3196
-fi
3197
-
3198
-{ echo "$as_me:$LINENO: result: $ac_file" >&5
3199
-echo "${ECHO_T}$ac_file" >&6; }
3200
-if test -z "$ac_file"; then
3201 3195
   echo "$as_me: failed program was:" >&5
3202 3196
 sed 's/^/| /' conftest.$ac_ext >&5
3203 3197
 
... ...
@@ -3209,6 +3203,8 @@ See \`config.log' for more details." >&2;}
3209 3209
 fi
3210 3210
 
3211 3211
 ac_exeext=$ac_cv_exeext
3212
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
3213
+echo "${ECHO_T}$ac_file" >&6; }
3212 3214
 
3213 3215
 # Check that the compiler produces executables we can run.  If not, either
3214 3216
 # the compiler is broken, or we cross compile.
... ...
@@ -5886,7 +5882,7 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5886 5886
 case $host in
5887 5887
 *-*-irix6*)
5888 5888
   # Find out which ABI we are using.
5889
-  echo '#line 5889 "configure"' > conftest.$ac_ext
5889
+  echo '#line 5885 "configure"' > conftest.$ac_ext
5890 5890
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5891 5891
   (eval $ac_compile) 2>&5
5892 5892
   ac_status=$?
... ...
@@ -5998,7 +5994,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
5998 5998
 	lt_cv_cc_needs_belf=no
5999 5999
 fi
6000 6000
 
6001
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6001
+rm -f core conftest.err conftest.$ac_objext \
6002 6002
       conftest$ac_exeext conftest.$ac_ext
6003 6003
      ac_ext=c
6004 6004
 ac_cpp='$CPP $CPPFLAGS'
... ...
@@ -6474,7 +6470,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
6474 6474
 
6475 6475
 fi
6476 6476
 
6477
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6477
+rm -f core conftest.err conftest.$ac_objext \
6478 6478
       conftest$ac_exeext conftest.$ac_ext
6479 6479
   LDFLAGS="$save_LDFLAGS"
6480 6480
 
... ...
@@ -6519,7 +6515,7 @@ chmod -w .
6519 6519
 save_CFLAGS="$CFLAGS"
6520 6520
 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
6521 6521
 compiler_c_o=no
6522
-if { (eval echo configure:6522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
6522
+if { (eval echo configure:6518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
6523 6523
   # The compiler can only warn and ignore the option if not recognized
6524 6524
   # So say no if there are warnings
6525 6525
   if test -s out/conftest.err; then
... ...
@@ -8080,7 +8076,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
8080 8080
 	ac_cv_func_shl_load=no
8081 8081
 fi
8082 8082
 
8083
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8083
+rm -f core conftest.err conftest.$ac_objext \
8084 8084
       conftest$ac_exeext conftest.$ac_ext
8085 8085
 fi
8086 8086
 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
... ...
@@ -8159,7 +8155,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
8159 8159
 	ac_cv_lib_dld_shl_load=no
8160 8160
 fi
8161 8161
 
8162
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8162
+rm -f core conftest.err conftest.$ac_objext \
8163 8163
       conftest$ac_exeext conftest.$ac_ext
8164 8164
 LIBS=$ac_check_lib_save_LIBS
8165 8165
 fi
... ...
@@ -8260,7 +8256,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
8260 8260
 	ac_cv_func_dlopen=no
8261 8261
 fi
8262 8262
 
8263
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8263
+rm -f core conftest.err conftest.$ac_objext \
8264 8264
       conftest$ac_exeext conftest.$ac_ext
8265 8265
 fi
8266 8266
 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
... ...
@@ -8339,7 +8335,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
8339 8339
 	ac_cv_lib_dl_dlopen=no
8340 8340
 fi
8341 8341
 
8342
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8342
+rm -f core conftest.err conftest.$ac_objext \
8343 8343
       conftest$ac_exeext conftest.$ac_ext
8344 8344
 LIBS=$ac_check_lib_save_LIBS
8345 8345
 fi
... ...
@@ -8419,7 +8415,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
8419 8419
 	ac_cv_lib_svld_dlopen=no
8420 8420
 fi
8421 8421
 
8422
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8422
+rm -f core conftest.err conftest.$ac_objext \
8423 8423
       conftest$ac_exeext conftest.$ac_ext
8424 8424
 LIBS=$ac_check_lib_save_LIBS
8425 8425
 fi
... ...
@@ -8499,7 +8495,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
8499 8499
 	ac_cv_lib_dld_dld_link=no
8500 8500
 fi
8501 8501
 
8502
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8502
+rm -f core conftest.err conftest.$ac_objext \
8503 8503
       conftest$ac_exeext conftest.$ac_ext
8504 8504
 LIBS=$ac_check_lib_save_LIBS
8505 8505
 fi
... ...
@@ -8555,7 +8551,7 @@ else
8555 8555
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8556 8556
   lt_status=$lt_dlunknown
8557 8557
   cat > conftest.$ac_ext <<EOF
8558
-#line 8558 "configure"
8558
+#line 8554 "configure"
8559 8559
 #include "confdefs.h"
8560 8560
 
8561 8561
 #if HAVE_DLFCN_H
... ...
@@ -8653,7 +8649,7 @@ else
8653 8653
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8654 8654
   lt_status=$lt_dlunknown
8655 8655
   cat > conftest.$ac_ext <<EOF
8656
-#line 8656 "configure"
8656
+#line 8652 "configure"
8657 8657
 #include "confdefs.h"
8658 8658
 
8659 8659
 #if HAVE_DLFCN_H
... ...
@@ -10427,7 +10423,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
10427 10427
 	ac_cv_lib_socket_bind=no
10428 10428
 fi
10429 10429
 
10430
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10430
+rm -f core conftest.err conftest.$ac_objext \
10431 10431
       conftest$ac_exeext conftest.$ac_ext
10432 10432
 LIBS=$ac_check_lib_save_LIBS
10433 10433
 fi
... ...
@@ -10508,7 +10504,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
10508 10508
 	ac_cv_lib_nsl_gethostent=no
10509 10509
 fi
10510 10510
 
10511
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10511
+rm -f core conftest.err conftest.$ac_objext \
10512 10512
       conftest$ac_exeext conftest.$ac_ext
10513 10513
 LIBS=$ac_check_lib_save_LIBS
10514 10514
 fi
... ...
@@ -10626,7 +10622,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
10626 10626
 	eval "$as_ac_var=no"
10627 10627
 fi
10628 10628
 
10629
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10629
+rm -f core conftest.err conftest.$ac_objext \
10630 10630
       conftest$ac_exeext conftest.$ac_ext
10631 10631
 fi
10632 10632
 ac_res=`eval echo '${'$as_ac_var'}'`
... ...
@@ -10901,7 +10897,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
10901 10901
 	eval "$as_ac_var=no"
10902 10902
 fi
10903 10903
 
10904
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10904
+rm -f core conftest.err conftest.$ac_objext \
10905 10905
       conftest$ac_exeext conftest.$ac_ext
10906 10906
 fi
10907 10907
 ac_res=`eval echo '${'$as_ac_var'}'`
... ...
@@ -10958,21 +10954,21 @@ $ac_includes_default
10958 10958
 #include <fcntl.h>
10959 10959
 #include <sys/mman.h>
10960 10960
 
10961
-#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
10961
+#if !STDC_HEADERS && !HAVE_STDLIB_H
10962 10962
 char *malloc ();
10963 10963
 #endif
10964 10964
 
10965 10965
 /* This mess was copied from the GNU getpagesize.h.  */
10966
-#ifndef HAVE_GETPAGESIZE
10966
+#if !HAVE_GETPAGESIZE
10967 10967
 /* Assume that all systems that can run configure have sys/param.h.  */
10968
-# ifndef HAVE_SYS_PARAM_H
10968
+# if !HAVE_SYS_PARAM_H
10969 10969
 #  define HAVE_SYS_PARAM_H 1
10970 10970
 # endif
10971 10971
 
10972 10972
 # ifdef _SC_PAGESIZE
10973 10973
 #  define getpagesize() sysconf(_SC_PAGESIZE)
10974 10974
 # else /* no _SC_PAGESIZE */
10975
-#  ifdef HAVE_SYS_PARAM_H
10975
+#  if HAVE_SYS_PARAM_H
10976 10976
 #   include <sys/param.h>
10977 10977
 #   ifdef EXEC_PAGESIZE
10978 10978
 #    define getpagesize() EXEC_PAGESIZE
... ...
@@ -11304,7 +11300,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
11304 11304
 	ac_cv_func_fseeko=no
11305 11305
 fi
11306 11306
 
11307
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11307
+rm -f core conftest.err conftest.$ac_objext \
11308 11308
       conftest$ac_exeext conftest.$ac_ext
11309 11309
 fi
11310 11310
 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
... ...
@@ -11700,7 +11696,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
11700 11700
 	ac_cv_lib_z_inflateEnd=no
11701 11701
 fi
11702 11702
 
11703
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11703
+rm -f core conftest.err conftest.$ac_objext \
11704 11704
       conftest$ac_exeext conftest.$ac_ext
11705 11705
 LIBS=$ac_check_lib_save_LIBS
11706 11706
 fi
... ...
@@ -11790,7 +11786,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
11790 11790
 	ac_cv_lib_z_inflateEnd=no
11791 11791
 fi
11792 11792
 
11793
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11793
+rm -f core conftest.err conftest.$ac_objext \
11794 11794
       conftest$ac_exeext conftest.$ac_ext
11795 11795
 LIBS=$ac_check_lib_save_LIBS
11796 11796
 fi
... ...
@@ -11892,7 +11888,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
11892 11892
 	ac_cv_lib_bz2_bzReadOpen=no
11893 11893
 fi
11894 11894
 
11895
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11895
+rm -f core conftest.err conftest.$ac_objext \
11896 11896
       conftest$ac_exeext conftest.$ac_ext
11897 11897
 LIBS=$ac_check_lib_save_LIBS
11898 11898
 fi
... ...
@@ -12150,7 +12146,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
12150 12150
 	ac_cv_lib_sn_sigscan_sn_sigscan_initdb=no
12151 12151
 fi
12152 12152
 
12153
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12153
+rm -f core conftest.err conftest.$ac_objext \
12154 12154
       conftest$ac_exeext conftest.$ac_ext
12155 12155
 LIBS=$ac_check_lib_save_LIBS
12156 12156
 fi
... ...
@@ -12406,7 +12402,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
12406 12406
 	ac_cv_lib_resolv___dn_expand=no
12407 12407
 fi
12408 12408
 
12409
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12409
+rm -f core conftest.err conftest.$ac_objext \
12410 12410
       conftest$ac_exeext conftest.$ac_ext
12411 12411
 LIBS=$ac_check_lib_save_LIBS
12412 12412
 fi
... ...
@@ -12488,7 +12484,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
12488 12488
 	ac_cv_lib_resolv_dn_expand=no
12489 12489
 fi
12490 12490
 
12491
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12491
+rm -f core conftest.err conftest.$ac_objext \
12492 12492
       conftest$ac_exeext conftest.$ac_ext
12493 12493
 LIBS=$ac_check_lib_save_LIBS
12494 12494
 fi
... ...
@@ -12649,7 +12645,7 @@ echo "${ECHO_T}$ac_cv_header_resolv_h" >&6; }
12649 12649
 
12650 12650
 fi
12651 12651
 if test $ac_cv_header_resolv_h = yes; then
12652
-  FRESHCLAM_LIBS="$FRESHCLAM_LIBS $resolv_lib";
12652
+  FRESHCLAM_LIBS="$FRESHCLAM_LIBS $resolv_lib"; CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS $resolv_lib";
12653 12653
 cat >>confdefs.h <<\_ACEOF
12654 12654
 #define HAVE_RESOLV_H 1
12655 12655
 _ACEOF
... ...
@@ -12919,7 +12915,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
12919 12919
 	ac_cv_lib_gmp___gmpz_init=no
12920 12920
 fi
12921 12921
 
12922
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12922
+rm -f core conftest.err conftest.$ac_objext \
12923 12923
       conftest$ac_exeext conftest.$ac_ext
12924 12924
 LIBS=$ac_check_lib_save_LIBS
12925 12925
 fi
... ...
@@ -13003,7 +12999,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
13003 13003
 	ac_cv_lib_gmp_mpz_init=no
13004 13004
 fi
13005 13005
 
13006
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13006
+rm -f core conftest.err conftest.$ac_objext \
13007 13007
       conftest$ac_exeext conftest.$ac_ext
13008 13008
 LIBS=$ac_check_lib_save_LIBS
13009 13009
 fi
... ...
@@ -13910,7 +13906,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
13910 13910
 	ac_cv_lib_milter_mi_stop=no
13911 13911
 fi
13912 13912
 
13913
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13913
+rm -f core conftest.err conftest.$ac_objext \
13914 13914
       conftest$ac_exeext conftest.$ac_ext
13915 13915
 LIBS=$ac_check_lib_save_LIBS
13916 13916
 fi
... ...
@@ -13997,7 +13993,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
13997 13997
 
13998 13998
 fi
13999 13999
 
14000
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14000
+rm -f core conftest.err conftest.$ac_objext \
14001 14001
       conftest$ac_exeext
14002 14002
   if test "${ac_cv_search_strlcpy+set}" = set; then
14003 14003
   break
... ...
@@ -14092,7 +14088,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
14092 14092
 	ac_cv_lib_milter_mi_stop=no
14093 14093
 fi
14094 14094
 
14095
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14095
+rm -f core conftest.err conftest.$ac_objext \
14096 14096
       conftest$ac_exeext conftest.$ac_ext
14097 14097
 LIBS=$ac_check_lib_save_LIBS
14098 14098
 fi
... ...
@@ -14411,7 +14407,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
14411 14411
 	eval "$as_ac_var=no"
14412 14412
 fi
14413 14413
 
14414
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14414
+rm -f core conftest.err conftest.$ac_objext \
14415 14415
       conftest$ac_exeext conftest.$ac_ext
14416 14416
 fi
14417 14417
 ac_res=`eval echo '${'$as_ac_var'}'`
... ...
@@ -14902,11 +14898,11 @@ echo "${ECHO_T}no" >&6; }
14902 14902
                 LIBS=$save_LIBS
14903 14903
 fi
14904 14904
 
14905
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14905
+rm -f core conftest.err conftest.$ac_objext \
14906 14906
       conftest$ac_exeext conftest.$ac_ext
14907 14907
 fi
14908 14908
 
14909
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14909
+rm -f core conftest.err conftest.$ac_objext \
14910 14910
       conftest$ac_exeext conftest.$ac_ext
14911 14911
 else
14912 14912
   have_wrappers=no
... ...
@@ -15721,10 +15717,10 @@ main ()
15721 15721
 #ifndef __cplusplus
15722 15722
   /* Ultrix mips cc rejects this.  */
15723 15723
   typedef int charset[2];
15724
-  const charset cs;
15724
+  const charset x;
15725 15725
   /* SunOS 4.1.1 cc rejects this.  */
15726
-  char const *const *pcpcc;
15727
-  char **ppc;
15726
+  char const *const *ccp;
15727
+  char **p;
15728 15728
   /* NEC SVR4.0.2 mips cc rejects this.  */
15729 15729
   struct point {int x, y;};
15730 15730
   static struct point const zero = {0,0};
... ...
@@ -15733,11 +15729,11 @@ main ()
15733 15733
      an arm of an if-expression whose if-part is not a constant
15734 15734
      expression */
15735 15735
   const char *g = "string";
15736
-  pcpcc = &g + (g ? g-g : 0);
15736
+  ccp = &g + (g ? g-g : 0);
15737 15737
   /* HPUX 7.0 cc rejects these. */
15738
-  ++pcpcc;
15739
-  ppc = (char**) pcpcc;
15740
-  pcpcc = (char const *const *) ppc;
15738
+  ++ccp;
15739
+  p = (char**) ccp;
15740
+  ccp = (char const *const *) p;
15741 15741
   { /* SCO 3.2v4 cc rejects this.  */
15742 15742
     char *t;
15743 15743
     char const *s = 0 ? (char *) 0 : (char const *) 0;
... ...
@@ -15764,7 +15760,7 @@ main ()
15764 15764
     const int foo = 10;
15765 15765
     if (!foo) return 0;
15766 15766
   }
15767
-  return !cs[0] && !zero.x;
15767
+  return !x[0] && !zero.x;
15768 15768
 #endif
15769 15769
 
15770 15770
   ;
... ...
@@ -15929,8 +15925,7 @@ cat >>conftest.$ac_ext <<_ACEOF
15929 15929
 int
15930 15930
 main ()
15931 15931
 {
15932
-#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
15933
-	&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
15932
+#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15934 15933
  bogus endian macros
15935 15934
 #endif
15936 15935
 
... ...
@@ -17028,7 +17023,7 @@ exec 6>&1
17028 17028
 # values after options handling.
17029 17029
 ac_log="
17030 17030
 This file was extended by $as_me, which was
17031
-generated by GNU Autoconf 2.60a.  Invocation command line was
17031
+generated by GNU Autoconf 2.60.  Invocation command line was
17032 17032
 
17033 17033
   CONFIG_FILES    = $CONFIG_FILES
17034 17034
   CONFIG_HEADERS  = $CONFIG_HEADERS
... ...
@@ -17057,7 +17052,7 @@ current configuration.
17057 17057
 Usage: $0 [OPTIONS] [FILE]...
17058 17058
 
17059 17059
   -h, --help       print this help, then exit
17060
-  -V, --version    print version number and configuration settings, then exit
17060
+  -V, --version    print version number, then exit
17061 17061
   -q, --quiet      do not print progress messages
17062 17062
   -d, --debug      don't remove temporary files
17063 17063
       --recheck    update $as_me by reconfiguring in the same conditions
... ...
@@ -17081,7 +17076,7 @@ _ACEOF
17081 17081
 cat >>$CONFIG_STATUS <<_ACEOF
17082 17082
 ac_cs_version="\\
17083 17083
 config.status
17084
-configured by $0, generated by GNU Autoconf 2.60a,
17084
+configured by $0, generated by GNU Autoconf 2.60,
17085 17085
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17086 17086
 
17087 17087
 Copyright (C) 2006 Free Software Foundation, Inc.
... ...
@@ -161,7 +161,7 @@ if test $want_dns = yes; then
161 161
     if test -z "$resolv_lib"; then
162 162
 	AC_CHECK_LIB(resolv, dn_expand, resolv_lib="-lresolv",)
163 163
     fi
164
-    AC_CHECK_HEADER(resolv.h,[FRESHCLAM_LIBS="$FRESHCLAM_LIBS $resolv_lib"; AC_DEFINE(HAVE_RESOLV_H,1,have resolv.h)], AC_MSG_WARN([****** DNS support disabled]))
164
+    AC_CHECK_HEADER(resolv.h,[FRESHCLAM_LIBS="$FRESHCLAM_LIBS $resolv_lib"; CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS $resolv_lib"; AC_DEFINE(HAVE_RESOLV_H,1,have resolv.h)], AC_MSG_WARN([****** DNS support disabled]))
165 165
 fi
166 166
 
167 167
 AC_ARG_ENABLE(clamuko,