Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/configure.in')
-rw-r--r--newlib/libc/configure.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/newlib/libc/configure.in b/newlib/libc/configure.in
index 68d57193b..6e40d49ac 100644
--- a/newlib/libc/configure.in
+++ b/newlib/libc/configure.in
@@ -94,6 +94,20 @@ AC_SUBST(LIBC_STDIO64_LIB)
AC_SUBST(LIBC_STDIO64_DEF)
AM_CONDITIONAL(HAVE_STDIO64_DIR, test x${stdio64_dir} != x)
+LIBC_POSIX_LIB=
+LIBC_POSIX_DEF=
+if test -n "${posix_dir}"; then
+ if test "${use_libtool}" = "yes"; then
+ LIBC_POSIX_LIB=${posix_dir}/lib${posix_dir}.${aext}
+ else
+ LIBC_POSIX_LIB=${posix_dir}/lib.${aext}
+ fi
+ LIBC_POSIX_DEF=${posix_dir}/stmp-def
+fi
+AC_SUBST(LIBC_POSIX_LIB)
+AC_SUBST(LIBC_POSIX_DEF)
+AM_CONDITIONAL(HAVE_POSIX_DIR, test x${posix_dir} != x)
+
LIBC_XDR_LIB=
LIBC_XDR_DEF=
if test -n "${xdr_dir}"; then