From 9e09d93de83fe1160689acb36b082c02ccb52716 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 19 Sep 2006 14:01:54 +0000 Subject: assuan/ Update to current version. 2006-09-19 Marcus Brinkmann * configure.ac: Turn stpcpy into a replacement function. Check for unistd.h and add setenv as replacement function. gpgme/ 2006-09-19 Marcus Brinkmann * setenv.c: New file. --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d40fc320..45f295ac 100644 --- a/configure.ac +++ b/configure.ac @@ -202,8 +202,6 @@ AC_SUBST(NETLIBS) # Checks for library functions. AC_FUNC_FSEEKO -AC_CHECK_FUNCS(stpcpy) - AC_REPLACE_FUNCS(vasprintf) if test "$ac_cv_func_vasprintf" != yes; then GNUPG_CHECK_VA_COPY @@ -462,6 +460,10 @@ fi AC_REPLACE_FUNCS(isascii) AC_REPLACE_FUNCS(putc_unlocked) AC_REPLACE_FUNCS(memrchr) +AC_REPLACE_FUNCS(stpcpy) +# Check for unistd.h for setenv replacement function. +AC_CHECK_HEADERS(unistd.h) +AC_REPLACE_FUNCS(setenv) # More assuan checks. AC_CHECK_HEADERS([sys/uio.h]) -- cgit v1.2.3