From d17e960c2bb10746bda675deb88d8b496f834eba Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 17 Oct 1995 01:08:25 +0000 Subject: * elf/Makefile (install-others): Add missing slash. * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so won't search LD_LIBRARY_PATH. --- ChangeLog | 5 +++++ configure | 31 ++++++++++++++++++++++++++----- configure.in | 12 +++++++----- elf/Makefile | 2 +- elf/ldd.sh.in | 10 +++++++++- 5 files changed, 48 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5e0887b..f427e33 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ Mon Oct 16 03:22:37 1995 Roland McGrath + * elf/Makefile (install-others): Add missing slash. + + * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so + won't search LD_LIBRARY_PATH. + * Makefile (subdirs): Replace stdio with stdio-common and $(stdio). * configure.in: Grok arg --enable-libio. ($stdio = libio): Define USE_IN_LIBIO. diff --git a/configure b/configure index 724725b..08609a4 100755 --- a/configure +++ b/configure @@ -27,6 +27,8 @@ ac_help="$ac_help ac_help="$ac_help --with-weak-symbols if weak symbols are available in as and ld" ac_help="$ac_help + --enable-libio build in GNU libio instead of GNU stdio" +ac_help="$ac_help --enable-shared build shared library [default=yes if GNU ld & ELF]" ac_help="$ac_help --enable-profile build profiled library [default=yes]" @@ -607,6 +609,15 @@ else fi +# Check whether --enable-libio or --disable-libio was given. +if test "${enable_libio+set}" = set; then + enableval="$enable_libio" + stdio=libio +else + stdio=stdio +fi + + # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" @@ -632,6 +643,16 @@ else fi +echo $ac_n "checking stdio selection""... $ac_c" 1>&4 + +if test $stdio = libio; then + cat >> confdefs.h <<\EOF +#define USE_IN_LIBIO 1 +EOF + +fi +echo "$ac_t""$stdio" 1>&4 + ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then @@ -1112,7 +1133,7 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error @@ -1126,7 +1147,7 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error @@ -1180,7 +1201,7 @@ if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 else cat > conftest.$ac_ext <&4 else cat > conftest.$ac_ext <