Fix crypt functions on AMD64.

This commit is contained in:
Alex Dupre 2005-04-06 14:43:55 +00:00
parent 340bb187f7
commit fbc85db7b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132643
2 changed files with 100 additions and 12 deletions

View file

@ -1,6 +1,6 @@
--- configure.orig Mon Oct 11 15:51:58 2004
+++ configure Mon Oct 11 15:52:26 2004
@@ -2649,7 +2649,7 @@
--- configure.orig Sun Apr 3 11:42:50 2005
+++ configure Wed Apr 6 16:41:26 2005
@@ -2805,7 +2805,7 @@
save_LIBS=$LIBS
if test -n "$ac_cv_pthreads_lib"; then
@ -9,7 +9,7 @@
fi
if test -n "$ac_cv_pthreads_cflags"; then
@@ -10613,7 +10613,7 @@
@@ -11201,7 +11201,7 @@
if test "$enable_maintainer_zts" = "yes"; then
if test -n "$ac_cv_pthreads_lib"; then
@ -18,7 +18,7 @@
fi
if test -n "$ac_cv_pthreads_cflags"; then
@@ -10630,8 +10630,6 @@
@@ -11218,8 +11218,6 @@
case $host_alias in
*solaris*)
PTHREAD_FLAGS="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";;
@ -27,7 +27,51 @@
*linux*)
PTHREAD_FLAGS=-D_REENTRANT;;
*aix*)
@@ -88453,7 +88451,7 @@
@@ -80628,6 +80626,10 @@
#line 80629 "configure"
#include "confdefs.h"
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -80685,6 +80687,10 @@
#line 80686 "configure"
#include "confdefs.h"
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -80742,6 +80748,10 @@
#line 80743 "configure"
#include "confdefs.h"
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -80837,6 +80847,10 @@
#line 80838 "configure"
#include "confdefs.h"
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -92387,7 +92401,7 @@
save_LIBS=$LIBS
if test -n "$ac_cv_pthreads_lib"; then

View file

@ -1,6 +1,6 @@
--- configure.orig Mon Oct 11 15:51:58 2004
+++ configure Mon Oct 11 15:52:26 2004
@@ -2649,7 +2649,7 @@
--- configure.orig Sun Apr 3 11:42:50 2005
+++ configure Wed Apr 6 16:41:26 2005
@@ -2805,7 +2805,7 @@
save_LIBS=$LIBS
if test -n "$ac_cv_pthreads_lib"; then
@ -9,7 +9,7 @@
fi
if test -n "$ac_cv_pthreads_cflags"; then
@@ -10613,7 +10613,7 @@
@@ -11201,7 +11201,7 @@
if test "$enable_maintainer_zts" = "yes"; then
if test -n "$ac_cv_pthreads_lib"; then
@ -18,7 +18,7 @@
fi
if test -n "$ac_cv_pthreads_cflags"; then
@@ -10630,8 +10630,6 @@
@@ -11218,8 +11218,6 @@
case $host_alias in
*solaris*)
PTHREAD_FLAGS="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";;
@ -27,7 +27,51 @@
*linux*)
PTHREAD_FLAGS=-D_REENTRANT;;
*aix*)
@@ -88453,7 +88451,7 @@
@@ -80628,6 +80626,10 @@
#line 80629 "configure"
#include "confdefs.h"
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -80685,6 +80687,10 @@
#line 80686 "configure"
#include "confdefs.h"
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -80742,6 +80748,10 @@
#line 80743 "configure"
#include "confdefs.h"
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -80837,6 +80847,10 @@
#line 80838 "configure"
#include "confdefs.h"
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#if HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -92387,7 +92401,7 @@
save_LIBS=$LIBS
if test -n "$ac_cv_pthreads_lib"; then