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:
authorJeff Johnston <jjohnstn@redhat.com>2007-01-31 22:34:38 +0300
committerJeff Johnston <jjohnstn@redhat.com>2007-01-31 22:34:38 +0300
commit0733ae3bcaa01d08932e73952d86939d0bc35366 (patch)
tree47191b48568a519098f45b72e4c0df21d0f95027 /newlib/libc/configure.in
parent8c8e5f6dccdd5ebdeb0be02ae969862c614cbf0a (diff)
2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
* configure.host: Define stdio directory as a variable. * libc/Makefile.am: Define stdio related names as macros. * libc/configure.in: Add detection routine of stdio directory. * libc/Makefile.in: Regenerated. * libc/configure: Ditto. * libc/argz/Makefile.in: Ditto. * libc/ctype/Makefile.in: Ditto. * libc/errno/Makefile.in: Ditto. * libc/iconv/Makefile.in: Ditto. * libc/iconv/ccs/Makefile.in: Ditto. * libc/iconv/ccs/binary/Makefile.in: Ditto. * libc/iconv/ces/Makefile.in: Ditto. * libc/iconv/lib/Makefile.in: Ditto. * libc/locale/Makefile.in: Ditto. * libc/misc/Makefile.in: Ditto. * libc/posix/Makefile.in: Ditto. * libc/reent/Makefile.in: Ditto. * libc/search/Makefile.in: Ditto. * libc/signal/Makefile.in: Ditto. * libc/stdio/Makefile.in: Ditto. * libc/stdio64/Makefile.in: Ditto. * libc/stdlib/Makefile.in: Ditto. * libc/string/Makefile.in: Ditto. * libc/syscalls/Makefile.in: Ditto. * libc/time/Makefile.in: Ditto. * libc/unix/Makefile.in: Ditto.
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 5a5939f12..9fd8c8110 100644
--- a/newlib/libc/configure.in
+++ b/newlib/libc/configure.in
@@ -65,6 +65,20 @@ AC_SUBST(LIBC_SIGNAL_LIB)
AC_SUBST(LIBC_SIGNAL_DEF)
AM_CONDITIONAL(HAVE_SIGNAL_DIR, test x${signal_dir} != x)
+LIBC_STDIO_LIB=
+LIBC_STDIO_DEF=
+if test -n "${stdio_dir}"; then
+ if test "${use_libtool}" = "yes"; then
+ LIBC_STDIO_LIB=${stdio_dir}/lib${stdio_dir}.${aext}
+ else
+ LIBC_STDIO_LIB=${stdio_dir}/lib.${aext}
+ fi
+ LIBC_STDIO_DEF=${stdio_dir}/stmp-def
+fi
+AC_SUBST(LIBC_STDIO_LIB)
+AC_SUBST(LIBC_STDIO_DEF)
+AM_CONDITIONAL(HAVE_STDIO_DIR, test x${stdio_dir} != x)
+
LIBC_STDIO64_LIB=
LIBC_STDIO64_DEF=
if test -n "${stdio64_dir}"; then