Fix pthread test case. Nesting main doesn't make much sense.

This commit is contained in:
joerg 2013-03-03 04:52:38 +00:00
parent 1dd711538a
commit d8358dc2f6
2 changed files with 19 additions and 4 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.7 2011/12/22 22:11:41 marino Exp $
$NetBSD: distinfo,v 1.8 2013/03/03 04:52:38 joerg Exp $
SHA1 (ettercap-NG-0.7.3.tar.gz) = 7a2c3f848ca4f39c07fddeb0d6308641265bc4ff
RMD160 (ettercap-NG-0.7.3.tar.gz) = f4e6c0d87b2064b3775e9af60f34575273742616
@ -7,4 +7,4 @@ SHA1 (patch-aa) = 27c7f53e0d704b7dc2b8c9c76bf1f9aeff1bbece
SHA1 (patch-ab) = 7cf863797abac4b67dbca55f6f763bf7b9830259
SHA1 (patch-ac) = ad04400499dcfdb4067079a58c849c287a34d12f
SHA1 (patch-ad) = f39de66feb894ef2f1134abd3a3ca36677bea2b4
SHA1 (patch-ae) = 1020e3d6b0aadd96f7a30455d30e3d3cb363e0b6
SHA1 (patch-ae) = 0932412d46b780f948c7e65d326ae93cabd0e5fb

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ae,v 1.4 2011/12/22 22:11:41 marino Exp $
$NetBSD: patch-ae,v 1.5 2013/03/03 04:52:39 joerg Exp $
--- configure.orig 2005-05-27 15:11:45.000000000 +0000
+++ configure
@ -20,7 +20,22 @@ $NetBSD: patch-ae,v 1.4 2011/12/22 22:11:41 marino Exp $
if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
@@ -31721,11 +31721,11 @@ echo "$as_me: error: \"*** ettercap cann
@@ -28261,14 +28261,8 @@ int
main ()
{
- int main(int argc, char **argv)
- {
pthread_create(NULL, NULL, NULL, NULL);
return 0;
- }
-
- ;
- return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
@@ -31721,11 +31715,11 @@ echo "$as_me: error: \"*** ettercap cann
ac_ec_libnet=$withval
echo "$as_me:$LINENO: result: $withval" >&5
echo "${ECHO_T}$withval" >&6