* sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
* sysdeps/mach/configure.in: File removed.
* sysdeps/mach/configure: File removed.
Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
+ * Makerules ($(libdir)/libc.so): Make the file an ld script.
+
+ * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
+
+ * sysdeps/mach/configure.in: File removed.
+ * sysdeps/mach/configure: File removed.
+
* mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too.
(%_server.[ch] rule): Don't depend on %.defs; use #include to get
installed .defs file.
# the special object libc-syms.so that contains just the dynamic symbol
# table of the shared libc object.
install: $(libdir)/libc.so
-$(libdir)/libc.so: $(common-objpfx)libc-syms.so subdir_install
- $(AR) crvs $@ $< `cat $(addprefix $(common-objpfx)sor-,$(subdirs))`
-
-# Extract from the shared object file just the dynamic symbol table
-# needed to link against the shared library.
-$(common-objpfx)libc-syms.so: $(common-objpfx)libc.so
- AWK='$(AWK)' OBJCOPY='$(OBJCOPY)' OBJDUMP='$(OBJDUMP)' \
- ./extract-dynsym $< $@
-ifndef subdir
-generated += libc-syms.so
-endif
+$(libdir)/libc.so: $(common-objpfx)libc.so$(libc.so-version) \
+ $(common-objpfx)libc.a
+ (echo '/* Use the shared library, but some functions are only in';\
+ echo ' the static library, so try that secondarily. */';\
+ echo 'GROUP ( $(^F) )') > $@.new
+ mv -f $@.new $@
+
endif
else
+++ /dev/null
-
-# If configure is passed `--with-mach=DIR', set `mach-srcdir' to DIR in
-# config.make.
-
-ac_help="$ac_help
- --with-mach=DIRECTORY find Mach kernel source code in DIRECTORY [../mach]"
-# Check whether --with-mach or --without-mach was given.
-if test "${with_mach+set}" = set; then
- withval="$with_mach"
- case z"$with_mach" in
-z | zno | zyes) ;; # Not specified, or specified with no value.
-z*) config_vars="$config_vars
-mach-srcdir = $with_mach" ;;
-esac
-
-fi
-
+++ /dev/null
-sinclude(./aclocal.m4)dnl Autoconf lossage.
-GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
-
-# If configure is passed `--with-mach=DIR', set `mach-srcdir' to DIR in
-# config.make.
-
-AC_ARG_WITH(mach, dnl
-[ --with-mach=DIRECTORY find Mach kernel source code in DIRECTORY [../mach]],
- [dnl
-case z"$with_mach" in
-z | zno | zyes) ;; # Not specified, or specified with no value.
-z*) config_vars="$config_vars
-mach-srcdir = $with_mach" ;;
-esac
-])
sinclude(./aclocal.m4)dnl Autoconf lossage.
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
-# If configure is passed `--with-hurd=DIR', set `hurd-srcdir' to DIR in
-# config.make.
-
-AC_ARG_WITH(hurd, dnl
-[ --with-hurd=DIRECTORY find Hurd source code in DIRECTORY [../hurd]],
- [dnl
-case z"$with_hurd" in
-z | zno | zyes) ;; # Not specified, or specified with no value.
-z*) config_vars="$config_vars
-hurd-srcdir = $with_hurd" ;;
-esac
-])
-
# Don't bother trying to generate any glue code to be compatible with the
# existing system library, because we are the only system library.
inhibit_glue=yes