[pkg-opensc-commit] [pkcs11-helper] 172/253: 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:39:16 UTC 2017


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

eric pushed a commit to branch master
in repository pkcs11-helper.

commit c883b9cfc63cf8c0ec6f56ac49c9dc323ef7c6e1
Author: Alon Bar-Lev <alon.barlev at gmail.com>
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