Mon Nov 20 16:19:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>

* intl/Makefile [gettext-srcdir]: Rewrote copying rules to only
	get .c and .h files.

	* malloc/malloc.c (align): Use abort instead of assert.
This commit is contained in:
Roland McGrath 1995-11-21 10:01:17 +00:00
parent 054cc4cc38
commit 91c7b85dc8
4 changed files with 369 additions and 471 deletions

View File

@ -1,3 +1,10 @@
Mon Nov 20 16:19:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* intl/Makefile [gettext-srcdir]: Rewrote copying rules to only
get .c and .h files.
* malloc/malloc.c (align): Use abort instead of assert.
Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makeconfig (+includes): Add $($(stdio)-include). * Makeconfig (+includes): Add $($(stdio)-include).

48
configure vendored
View File

@ -2,7 +2,7 @@
# From configure.in CVSid # From configure.in CVSid
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.4.2 # Generated automatically using autoconf version 2.5
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
# #
# This configure script is free software; the Free Software Foundation # This configure script is free software; the Free Software Foundation
@ -73,6 +73,7 @@ mandir='${prefix}/man'
# Initialize some other variables. # Initialize some other variables.
subdirs= subdirs=
MFLAGS= MAKEFLAGS=
ac_prev= ac_prev=
for ac_option for ac_option
@ -349,7 +350,7 @@ EOF
verbose=yes ;; verbose=yes ;;
-version | --version | --versio | --versi | --vers) -version | --version | --versio | --versi | --vers)
echo "configure generated by autoconf version 2.4.2" echo "configure generated by autoconf version 2.5"
exit 0 ;; exit 0 ;;
-with-* | --with-*) -with-* | --with-*)
@ -395,7 +396,7 @@ EOF
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
;; ;;
*) *)
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
echo "configure: warning: $ac_option: invalid host type" 1>&2 echo "configure: warning: $ac_option: invalid host type" 1>&2
fi fi
@ -631,7 +632,7 @@ if test "${enable_libio+set}" = set; then
enableval="$enable_libio" enableval="$enable_libio"
stdio=libio stdio=libio
else else
stdio=stdio stdio=default
fi fi
@ -660,16 +661,6 @@ else
fi 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= ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
if test -f $ac_dir/install-sh; then if test -f $ac_dir/install-sh; then
@ -1150,7 +1141,7 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser, # On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. # not just through cpp.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1154 "configure" #line 1145 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax Error Syntax Error
@ -1164,7 +1155,7 @@ else
rm -rf conftest* rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp" CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1168 "configure" #line 1159 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax Error Syntax Error
@ -1218,7 +1209,7 @@ if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&4 echo $ac_n "(cached) $ac_c" 1>&4
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1222 "configure" #line 1213 "configure"
#include "confdefs.h" #include "confdefs.h"
#define __need_size_t #define __need_size_t
#define __need_wchar_t #define __need_wchar_t
@ -1341,7 +1332,7 @@ if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&4 echo $ac_n "(cached) $ac_c" 1>&4
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1345 "configure" #line 1336 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { return 0; } int main() { return 0; }
@ -1441,6 +1432,17 @@ else
config_uname= config_uname=
fi fi
echo $ac_n "checking stdio selection""... $ac_c" 1>&4
case $stdio in
libio) cat >> confdefs.h <<\EOF
#define USE_IN_LIBIO 1
EOF
;;
default) stdio=stdio ;;
esac
echo "$ac_t""$stdio" 1>&4
if test $gnu_ld = yes; then if test $gnu_ld = yes; then
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
@ -1558,7 +1560,7 @@ do
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v) -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "$CONFIG_STATUS generated by autoconf version 2.4.2" echo "$CONFIG_STATUS generated by autoconf version 2.5"
exit 0 ;; exit 0 ;;
-help | --help | --hel | --he | --h) -help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;; echo "\$ac_cs_usage"; exit 0 ;;
@ -1571,8 +1573,8 @@ ac_given_INSTALL="$INSTALL"
trap 'rm -fr `echo "config.make ${config_makefile} ${config_uname} config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 trap 'rm -fr `echo "config.make ${config_makefile} ${config_uname} config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
# Protect against being on the right side of a sed subst in config.status. # Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g; sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
$ac_vpsub $ac_vpsub
$extrasub $extrasub
@ -1597,7 +1599,6 @@ s%@includedir@%$includedir%g
s%@oldincludedir@%$oldincludedir%g s%@oldincludedir@%$oldincludedir%g
s%@infodir@%$infodir%g s%@infodir@%$infodir%g
s%@mandir@%$mandir%g s%@mandir@%$mandir%g
s%@stdio@%$stdio%g
s%@host@%$host%g s%@host@%$host%g
s%@host_alias@%$host_alias%g s%@host_alias@%$host_alias%g
s%@host_cpu@%$host_cpu%g s%@host_cpu@%$host_cpu%g
@ -1619,6 +1620,7 @@ s%@libc_cv_have_initfini@%$libc_cv_have_initfini%g
s%@uname_sysname@%$uname_sysname%g s%@uname_sysname@%$uname_sysname%g
s%@uname_release@%$uname_release%g s%@uname_release@%$uname_release%g
s%@uname_version@%$uname_version%g s%@uname_version@%$uname_version%g
s%@stdio@%$stdio%g
s%@gnu_ld@%$gnu_ld%g s%@gnu_ld@%$gnu_ld%g
s%@gnu_as@%$gnu_as%g s%@gnu_as@%$gnu_as%g
s%@elf@%$elf%g s%@elf@%$elf%g
@ -1724,7 +1726,7 @@ EOF
# Transform confdefs.h into a sed script conftest.vals that substitutes # Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h. And first: # the proper values into config.h.in to produce config.h. And first:
# Protect against being on the right side of a sed subst in config.status. # Protect against being on the right side of a sed subst in config.status.
# Protect against being in an unquoted here document in config.status. # Protect against being in an unquoted here document in config.status.
rm -f conftest.vals rm -f conftest.vals
cat > conftest.hdr <<\EOF cat > conftest.hdr <<\EOF

View File

@ -1,163 +1,45 @@
# Generated automatically from Makefile.in by configure. # Makefile for intl subdirectory: message handling code from GNU gettext.
# Makefile for directory with message catalog handling in GNU NLS Utilities.
# Copyright (C) 1995 Free Software Foundation, Inc. # Copyright (C) 1995 Free Software Foundation, Inc.
# # This file is part of the GNU C Library.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # The GNU C Library is free software; you can redistribute it and/or
# the Free Software Foundation; either version 2, or (at your option) # modify it under the terms of the GNU Library General Public License
# any later version. # as published by the Free Software Foundation; either version 2 of
# # the License, or (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# The GNU C Library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# GNU General Public License for more details. # Library General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
PACKAGE = gettext # You should have received a copy of the GNU Library General Public
VERSION = 0.9.12 # License along with the GNU C Library; see the file COPYING.LIB. If
# not, write to the Free Software Foundation, Inc., 675 Mass Ave,
# Cambridge, MA 02139, USA.
SHELL = /bin/sh
srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}
transform = s,x,x,
libdir = $(prefix)/lib
includedir = $(prefix)/include
datadir = $(prefix)/lib
localedir = $(datadir)/locale
gnulocaledir = $(prefix)/share/locale
gettextsrcdir = $(prefix)/share/gettext
aliaspath = $(localedir):.
subdir = intl subdir = intl
headers = libintl.h
routines = bindtextdom dcgettext dgettext gettext \
finddomain loadmsgcat localealias textdomain
distribute = gettext.h gettextP.h hash-string.h
INSTALL = /usr/local/gnubin/install -c include ../Rules
INSTALL_DATA = ${INSTALL} -m 644
AR = ar CPPFLAGS += -D'GNULOCALEDIR="$(localedir)"' \
CC = gcc -D'LOCALE_ALIAS_PATH="$(localedir):$(nlsdir)"'
RANLIB = ranlib
DEFS = -DLOCALEDIR=\"$(localedir)\" -DGNULOCALEDIR=\"$(gnulocaledir)\" \ ifdef gettext-srcdir
-DLOCALE_ALIAS_PATH=\"$(aliaspath)\" -DHAVE_CONFIG_H
CFLAGS = -g
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) %:: $(gettext-srcdir)/intl/%.glibc; $(copysrc)
%:: $(gettext-srcdir)/intl/%.c; $(copysrc)
%:: $(gettext-srcdir)/intl/%.h; $(copysrc)
HEADERS = $(COMHDRS) libgettext.h define copysrc
COMHDRS = gettext.h gettextP.h hash-string.h cp -f $< $@.new
SOURCES = $(COMSRCS) intl-compat.c cat-compat.c chmod a-w $@.new
COMSRCS = bindtextdom.c dcgettext.c dgettext.c gettext.c \ mv -f $@.new $@
finddomain.c loadmsgcat.c localealias.c textdomain.c test ! -d CVS || cvs commit -m'Updated from $<' $@
OBJECTS = $(CATOBJS) bindtextdom.o dcgettext.o dgettext.o gettext.o \ endef
finddomain.o loadmsgcat.o localealias.o textdomain.o
CATOBJS = cat-compat.o ../po/cat-id-tbl.o
GETTOBJS = intl-compat.o
DISTFILES.common = ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in \
xopen-msg.sed $(HEADERS) $(SOURCES)
DISTFILES = $(DISTFILES.common) VERSION
DISTFILES.gettext = $(DISTFILES.common) libintl.h.glibc
.SUFFIXES: endif
.SUFFIXES: .c .o
.c.o:
$(COMPILE) $<
INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib
all: libintl.a
libintl.a: $(OBJECTS)
rm -f $@
$(AR) cru $@ $(OBJECTS)
$(RANLIB) $@
../po/cat-id-tbl.o: ../po/cat-id-tbl.c $(top_srcdir)/po/$(PACKAGE).pot
cd ../po && $(MAKE) cat-id-tbl.o
check install: all
# This installation goal is only used in GNU gettext. Packages which
# only use the library should use install instead.
#
# We must not install the libintl.h/libintl.a files if we are on a system
# which has the gettext() function in its C library or in a separate
# library. A special case is where configure found a previously installed
# GNU gettext library. If you want to use the one which comes with this
# version of the package, you have to use `configure --with-gnu-gettext'.
install-src: install
$(top_srcdir)/mkinstalldirs $(libdir) $(includedir) $(gettextsrcdir)
if test -f libintl.h; then \
$(INSTALL_DATA) libintl.h $(includedir)/libintl.h; \
$(INSTALL_DATA) libintl.a $(libdir)/libintl.a; \
fi
cd $(srcdir) && \
for file in $(DISTFILES.common); do \
$(INSTALL_DATA) $$file $(gettextsrcdir)/intl-$$file; \
done
$(INSTALL_DATA) VERSION $(gettextsrcdir)/intl-VERSION
uninstall:
for file in $(DISTFILES); do \
rm -f $(gettextsrcdir)/intl-$$file; \
done
$(OBJECTS): ../config.h libgettext.h
bindtextdom.o finddomain.o loadmsgcat.o: gettextP.h gettext.h
dcgettext.o: gettextP.h gettext.h hash-string.h
tags: TAGS
TAGS: $(HEADERS) $(SOURCES)
here=`pwd`; cd $(srcdir) && etags -o $$here/TAGS $(HEADERS) $(SOURCES)
id: ID
ID: $(HEADERS) $(SOURCES)
here=`pwd`; cd $(srcdir) && mkid -f$$here/ID $(HEADERS) $(SOURCES)
mostlyclean:
rm -f *.a *.o core core.*
clean: mostlyclean
distclean: clean
rm -f Makefile ID TAGS po2msg.sed po2tbl.sed libintl.h
maintainer-clean: distclean
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
dist: Makefile $(DISTFILES)
for file in $(DISTFILES); do \
ln $(srcdir)/$$file $(distdir) 2> /dev/null \
|| cp -p $(srcdir)/$$file $(distdir); \
done
# This dist goal is only used in GNU gettext. GNU gettext needs not contain
# the file `VERSION' but contains some other files which should not be
# distributed in other packages.
dist-gettext: Makefile $(DISTFILES.gettext)
for file in $(DISTFILES.gettext); do \
ln $(srcdir)/$$file $(distdir) 2> /dev/null \
|| cp -p $(srcdir)/$$file $(distdir); \
done
dist-libc:
tar zcvf intl-glibc.tar.gz $(COMSRCS) $(COMHDRS) libintl.h.glibc
Makefile: Makefile.in ../config.status
cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

File diff suppressed because it is too large Load Diff