Browse code

*** empty log message ***

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@78 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2003/10/09 22:19:50
Showing 3 changed files
... ...
@@ -1,3 +1,7 @@
1
+Thu Oct  9 15:18:44 CEST 2003 (tk)
2
+----------------------------------
3
+  * configure.in: added -lresolv to CLAMD_LIBS on Solaris
4
+
1 5
 Wed Oct  8 14:49:40 CEST 2003 (tk)
2 6
 ----------------------------------
3 7
   * libclamav: CVS: commited missing files
... ...
@@ -999,7 +999,6 @@ Optional Features:
999 999
   --disable-libtool-lock  avoid locking (might break parallel builds)
1000 1000
   --disable-bzip2	  Disable bzip2 support.
1001 1001
   --enable-milter	  Build clamav-milter (if milter library found)
1002
-  --disable-dsig	  Disable digital signature support.
1003 1002
   --disable-pthreads      Disable POSIX threads support
1004 1003
   --disable-cr      Don't link with C reentrant library (BSD)
1005 1004
   --disable-urandom       Disable test for /dev/urandom
... ...
@@ -1902,7 +1901,7 @@ fi
1902 1902
 
1903 1903
 # Define the identity of the package.
1904 1904
  PACKAGE=clamav
1905
- VERSION="devel-`date +%Y%m%d`"
1905
+ VERSION=20030829
1906 1906
 
1907 1907
 
1908 1908
 cat >>confdefs.h <<_ACEOF
... ...
@@ -4535,7 +4534,7 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4535 4535
 case $host in
4536 4536
 *-*-irix6*)
4537 4537
   # Find out which ABI we are using.
4538
-  echo '#line 4538 "configure"' > conftest.$ac_ext
4538
+  echo '#line 4537 "configure"' > conftest.$ac_ext
4539 4539
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4540 4540
   (eval $ac_compile) 2>&5
4541 4541
   ac_status=$?
... ...
@@ -5071,7 +5070,7 @@ chmod -w .
5071 5071
 save_CFLAGS="$CFLAGS"
5072 5072
 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5073 5073
 compiler_c_o=no
5074
-if { (eval echo configure:5074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5074
+if { (eval echo configure:5073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5075 5075
   # The compiler can only warn and ignore the option if not recognized
5076 5076
   # So say no if there are warnings
5077 5077
   if test -s out/conftest.err; then
... ...
@@ -6864,7 +6863,7 @@ else
6864 6864
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6865 6865
   lt_status=$lt_dlunknown
6866 6866
   cat > conftest.$ac_ext <<EOF
6867
-#line 6867 "configure"
6867
+#line 6866 "configure"
6868 6868
 #include "confdefs.h"
6869 6869
 
6870 6870
 #if HAVE_DLFCN_H
... ...
@@ -6962,7 +6961,7 @@ else
6962 6962
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6963 6963
   lt_status=$lt_dlunknown
6964 6964
   cat > conftest.$ac_ext <<EOF
6965
-#line 6965 "configure"
6965
+#line 6964 "configure"
6966 6966
 #include "confdefs.h"
6967 6967
 
6968 6968
 #if HAVE_DLFCN_H
... ...
@@ -8734,84 +8733,6 @@ else
8734 8734
   have_milter="no"
8735 8735
 fi;
8736 8736
 
8737
-want_dsig="yes"
8738
-# Check whether --enable-dsig or --disable-dsig was given.
8739
-if test "${enable_dsig+set}" = set; then
8740
-  enableval="$enable_dsig"
8741
-  want_dsig="no"
8742
-fi;
8743
-
8744
-if test "$want_dsig" = "yes"
8745
-then
8746
-    echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5
8747
-echo $ECHO_N "checking for __gmpz_init in -lgmp... $ECHO_C" >&6
8748
-if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then
8749
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8750
-else
8751
-  ac_check_lib_save_LIBS=$LIBS
8752
-LIBS="-lgmp  $LIBS"
8753
-cat >conftest.$ac_ext <<_ACEOF
8754
-#line $LINENO "configure"
8755
-#include "confdefs.h"
8756
-
8757
-/* Override any gcc2 internal prototype to avoid an error.  */
8758
-#ifdef __cplusplus
8759
-extern "C"
8760
-#endif
8761
-/* We use char because int might match the return type of a gcc2
8762
-   builtin and then its argument prototype would still apply.  */
8763
-char __gmpz_init ();
8764
-#ifdef F77_DUMMY_MAIN
8765
-#  ifdef __cplusplus
8766
-     extern "C"
8767
-#  endif
8768
-   int F77_DUMMY_MAIN() { return 1; }
8769
-#endif
8770
-int
8771
-main ()
8772
-{
8773
-__gmpz_init ();
8774
-  ;
8775
-  return 0;
8776
-}
8777
-_ACEOF
8778
-rm -f conftest.$ac_objext conftest$ac_exeext
8779
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8780
-  (eval $ac_link) 2>&5
8781
-  ac_status=$?
8782
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8783
-  (exit $ac_status); } &&
8784
-         { ac_try='test -s conftest$ac_exeext'
8785
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8786
-  (eval $ac_try) 2>&5
8787
-  ac_status=$?
8788
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789
-  (exit $ac_status); }; }; then
8790
-  ac_cv_lib_gmp___gmpz_init=yes
8791
-else
8792
-  echo "$as_me: failed program was:" >&5
8793
-cat conftest.$ac_ext >&5
8794
-ac_cv_lib_gmp___gmpz_init=no
8795
-fi
8796
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8797
-LIBS=$ac_check_lib_save_LIBS
8798
-fi
8799
-echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5
8800
-echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_init" >&6
8801
-if test $ac_cv_lib_gmp___gmpz_init = yes; then
8802
-  LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lgmp"; cat >>confdefs.h <<\_ACEOF
8803
-#define HAVE_GMP 1
8804
-_ACEOF
8805
-
8806
-else
8807
-  echo "WARNING: GNU MP 3 or newer NOT FOUND - digital signature support will be disabled !"; want_dsig="no"
8808
-fi
8809
-
8810
-fi
8811
-
8812
-
8813
-
8814
-
8815 8737
 if test "${ac_cv_header_syslog_h+set}" = set; then
8816 8738
   echo "$as_me:$LINENO: checking for syslog.h" >&5
8817 8739
 echo $ECHO_N "checking for syslog.h... $ECHO_C" >&6
... ...
@@ -19,7 +19,8 @@ AC_INIT(clamscan/clamscan.c)
19 19
 AC_CREATE_TARGET_H(target.h)
20 20
 AC_CANONICAL_SYSTEM
21 21
 
22
-AM_INIT_AUTOMAKE(clamav, "devel-`date +%Y%m%d`")
22
+AM_INIT_AUTOMAKE(clamav, 20030829)
23
+dnl AM_INIT_AUTOMAKE(clamav, `date +%Y%m%d`)
23 24
 LC_CURRENT=1
24 25
 LC_REVISION=3
25 26
 LC_AGE=0
... ...
@@ -80,19 +81,6 @@ AC_ARG_ENABLE(milter,
80 80
 [  --enable-milter	  Build clamav-milter (if milter library found)],
81 81
 ,have_milter="no")
82 82
 
83
-want_dsig="yes"
84
-AC_ARG_ENABLE(dsig,
85
-[  --disable-dsig	  Disable digital signature support.],
86
-want_dsig="no",)
87
-
88
-if test "$want_dsig" = "yes"
89
-then
90
-    AC_CHECK_LIB(gmp, __gmpz_init, [LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lgmp"; AC_DEFINE(HAVE_GMP)], [echo "WARNING: GNU MP 3 or newer NOT FOUND - digital signature support will be disabled !"; want_dsig="no"])
91
-fi
92
-
93
-
94
-
95
-
96 83
 AC_CHECK_HEADER(syslog.h,AC_DEFINE(CLAMD_USE_SYSLOG),)
97 84
 
98 85
 dnl AC_CHECK_LIB(c, strtok_r,, AC_DEFINE(NO_STRTOK_R))
... ...
@@ -238,7 +226,7 @@ solaris*)
238 238
     FRESHCLAM_LIBS="-lsocket -lnsl -lresolv"
239 239
     if test "$have_pthreads" = "yes"; then
240 240
 	LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lpthread"
241
-	CLAMD_LIBS="-lpthread -lsocket -lnsl"
241
+	CLAMD_LIBS="-lpthread -lsocket -lnsl -lresolv"
242 242
 	TH_SAFE="-thread-safe"
243 243
 	AC_DEFINE(CL_THREAD_SAFE)
244 244
     fi