[pkg-opensc-commit] [pkcs11-helper] 42/44: Don't modify LIBS before autoconf checks, as in cross comppile the test will fail

Eric Dorland eric at moszumanska.debian.org
Fri Jan 6 23:40:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to tag pkcs11-helper-1.06
in repository pkcs11-helper.

commit 5591b979ad3e8401f18981aa7ded13c018dfd650
Author: alonbl <alonbl at 485eb718-1723-0410-b8a9-88cf21a28c35>
Date:   Fri Jun 13 07:18:32 2008 +0000

    Don't modify LIBS before autoconf checks, as in cross comppile the test will fail
---
 configure.ac | 66 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6d4f13f..5165be1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -289,6 +289,39 @@ fi
 PKG_CHECK_MODULES([GNUTLS], [gnutls >= 1.4], [have_gnutls="yes"], [have_gnutls="no"])
 PKG_CHECK_MODULES([NSS], [nss >= 3.11], [have_nss="yes"], [have_nss="no"])
 
+# Checks for header files.
+AC_HEADER_STDC
+AX_CPP_VARARG_MACRO_ISO
+AX_CPP_VARARG_MACRO_GCC
+AC_C_CONST
+AC_C_VOLATILE
+AC_TYPE_OFF_T
+AC_TYPE_PID_T
+AC_TYPE_SIZE_T
+AC_HEADER_TIME
+AC_STRUCT_TM
+AX_SIZE_T_PRINTF
+AC_CHECK_HEADERS([ \
+	stdio.h \
+	stdlib.h \
+	stdargs.h \
+	malloc.h \
+	ctype.h \
+	string.h \
+	errno.h \
+	assert.h \
+	time.h \
+])
+if test "${WIN32}" != "yes"; then
+	AC_CHECK_HEADERS([ \
+		signal.h \
+		dlfcn.h \
+		unistd.h \
+		sys/time.h \
+		pthread.h \
+	])
+fi
+
 AC_MSG_CHECKING([OpenSSL interface])
 if test "${enable_openssl}" = "yes"; then
 	if test "${have_openssl}" != "yes"; then
@@ -355,39 +388,6 @@ else
 	AC_MSG_RESULT([no])
 fi
 
-# Checks for header files.
-AC_HEADER_STDC
-AX_CPP_VARARG_MACRO_ISO
-AX_CPP_VARARG_MACRO_GCC
-AC_C_CONST
-AC_C_VOLATILE
-AC_TYPE_OFF_T
-AC_TYPE_PID_T
-AC_TYPE_SIZE_T
-AC_HEADER_TIME
-AC_STRUCT_TM
-AX_SIZE_T_PRINTF
-AC_CHECK_HEADERS([ \
-	stdio.h \
-	stdlib.h \
-	stdargs.h \
-	malloc.h \
-	ctype.h \
-	string.h \
-	errno.h \
-	assert.h \
-	time.h \
-])
-if test "${WIN32}" != "yes"; then
-	AC_CHECK_HEADERS([ \
-		signal.h \
-		dlfcn.h \
-		unistd.h \
-		sys/time.h \
-		pthread.h \
-	])
-fi
-
 if test "${enable_pedantic}" = "yes"; then
 	enable_strict="yes"
 	CFLAGS="${CFLAGS} -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/pkcs11-helper.git



More information about the pkg-opensc-commit mailing list