Autoconfiscate this directory:
* configure.ac: New file. * aclocal.m4: Likewise. * Makefile.in: Likewise. * configure: Generate. * config.in: Likewise. From-SVN: r107650
This commit is contained in:
parent
0cb5c97cbd
commit
8fdb0857e9
6 changed files with 5897 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2005-11-29 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
* configure.ac: New file.
|
||||
* aclocal.m4: Likewise.
|
||||
* Makefile.in: Likewise.
|
||||
* configure: Generate.
|
||||
* config.in: Likewise.
|
||||
|
||||
2005-11-29 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
* decimal32.h, decimal64.h, decimal128.h: New.
|
||||
|
|
154
libdecnumber/Makefile.in
Normal file
154
libdecnumber/Makefile.in
Normal file
|
@ -0,0 +1,154 @@
|
|||
# @configure_input@
|
||||
# Makefile for libdecnumber. Run 'configure' to generate Makefile from Makefile.in
|
||||
|
||||
# Copyright (C) 2005 Free Software Foundation, Inc.
|
||||
|
||||
#This file is part of GCC.
|
||||
|
||||
#libcpp is free software; you can redistribute it and/or modify
|
||||
#it under the terms of the GNU General Public License as published by
|
||||
#the Free Software Foundation; either version 2, or (at your option)
|
||||
#any later version.
|
||||
|
||||
#libcpp is distributed in the hope that it will be useful,
|
||||
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
#GNU General Public License for more details.
|
||||
|
||||
#You should have received a copy of the GNU General Public License
|
||||
#along with libcpp; see the file COPYING. If not, write to
|
||||
#the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
#Boston MA 02110-1301, USA.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_builddir = .
|
||||
VPATH = @srcdir@
|
||||
INSTALL = @INSTALL@
|
||||
AR = ar
|
||||
ARFLAGS = cru
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@
|
||||
WARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBICONV = @LIBICONV@
|
||||
PACKAGE = @PACKAGE@
|
||||
RANLIB = @RANLIB@
|
||||
SHELL = @SHELL@
|
||||
|
||||
datadir = @datadir@
|
||||
exec_prefix = @prefix@
|
||||
libdir = @libdir@
|
||||
localedir = $(datadir)/locale
|
||||
prefix = @prefix@
|
||||
|
||||
INCLUDES = -I$(srcdir) -I.
|
||||
|
||||
ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS)
|
||||
|
||||
libdecnumber_a_OBJS = decNumber.o decContext.o decUtility.o \
|
||||
decimal32.o decimal64.o decimal128.o
|
||||
|
||||
libdecnumber_a_SOURCES = decContext.c decContext.h decDPD.h \
|
||||
decLibrary.c decNumber.c decNumber.h decNumberLocal.h \
|
||||
decUtility.c decUtility.h \
|
||||
decRound.c decimal128.c decimal128.h decimal32.c decimal32.h \
|
||||
decimal64.c decimal64.h
|
||||
|
||||
all: libdecnumber.a
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
|
||||
libdecnumber.a: $(libdecnumber_a_OBJS)
|
||||
-rm -f $@
|
||||
$(AR) $(ARFLAGS) $@ $(libdecnumber_a_OBJS)
|
||||
$(RANLIB) $@
|
||||
|
||||
# Rules to rebuild the configuration
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in config.status
|
||||
$(SHELL) ./config.status Makefile
|
||||
|
||||
config.status: $(srcdir)/configure
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(srcdir)/configure: @MAINT@ $(srcdir)/aclocal.m4
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
|
||||
$(srcdir)/aclocal.m4: @MAINT@ $(srcdir)/../config/acx.m4 \
|
||||
$(srcdir)/../config/warnings.m4 \
|
||||
$(srcdir)/configure.ac
|
||||
cd $(srcdir) && $(ACLOCAL) -I ../config
|
||||
|
||||
config.h: stamp-h1
|
||||
test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
|
||||
|
||||
stamp-h1: $(srcdir)/config.in config.status
|
||||
-rm -f stamp-h1
|
||||
$(SHELL) ./config.status config.h
|
||||
|
||||
$(srcdir)/config.in: @MAINT@ $(srcdir)/configure
|
||||
cd $(srcdir) && $(AUTOHEADER)
|
||||
-rm -f stamp-h1
|
||||
|
||||
# Dependencies.
|
||||
|
||||
decContext.o: decContext.c decContext.h decNumberLocal.h
|
||||
decNumber.o: decNumber.c decNumber.h decContext.h decNumberLocal.h
|
||||
decimal32.o: decimal32.c decNumber.h decContext.h decNumberLocal.h \
|
||||
decimal32.h decUtility.h
|
||||
decimal64.o: decimal64.c decNumber.h decContext.h decNumberLocal.h \
|
||||
decimal64.h decUtility.h
|
||||
decimal128.o: decimal128.c decNumber.h decNumberLocal.h decimal128.h \
|
||||
decUtility.h
|
||||
|
||||
# Other miscellaneous targets.
|
||||
|
||||
mostlyclean:
|
||||
-rm -f *.o
|
||||
|
||||
clean: mostlyclean
|
||||
-rm -rf makedepend$(EXEEXT) libcpp.a $(srcdir)/autom4te.cache
|
||||
|
||||
distclean: clean
|
||||
-rm -f config.h stamp-h1 config.status config.cache config.log \
|
||||
configure.lineno configure.status.lineno Makefile localedir.h \
|
||||
localedir.hs
|
||||
|
||||
maintainer-clean: distclean
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-rm -f $(srcdir)/configure $(srcdir)/aclocal.m4
|
||||
|
||||
check:
|
||||
installcheck:
|
||||
dvi:
|
||||
html:
|
||||
info:
|
||||
install-info:
|
||||
install-man:
|
||||
install:
|
||||
|
||||
.PHONY: installdirs install install-strip mostlyclean clean distclean \
|
||||
maintainer-clean check installcheck dvi html info install-info \
|
||||
install-man update-po
|
||||
|
||||
COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c
|
||||
|
||||
# Implicit rules
|
||||
|
||||
.c.o:
|
||||
$(COMPILE) $<
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
15
libdecnumber/aclocal.m4
vendored
Normal file
15
libdecnumber/aclocal.m4
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
# generated automatically by aclocal 1.9.3 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
||||
# Free Software Foundation, Inc.
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_include([../config/acx.m4])
|
||||
m4_include([../config/warnings.m4])
|
93
libdecnumber/config.in
Normal file
93
libdecnumber/config.in
Normal file
|
@ -0,0 +1,93 @@
|
|||
/* config.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||
systems. This function is required for `alloca.c' support on those systems.
|
||||
*/
|
||||
#undef CRAY_STACKSEG_END
|
||||
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#undef HAVE_ALLOCA
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
#undef HAVE_ALLOCA_H
|
||||
|
||||
/* Define to 1 if you have the <ctype.h> header file. */
|
||||
#undef HAVE_CTYPE_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the <stddef.h> header file. */
|
||||
#undef HAVE_STDDEF_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdio.h> header file. */
|
||||
#undef HAVE_STDIO_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* The size of a `int', as computed by sizeof. */
|
||||
#undef SIZEOF_INT
|
||||
|
||||
/* The size of a `long', as computed by sizeof. */
|
||||
#undef SIZEOF_LONG
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at run-time.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||
#undef STACK_DIRECTION
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define if you can safely include both <string.h> and <strings.h>. */
|
||||
#undef STRING_WITH_STRINGS
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#undef const
|
||||
|
||||
/* Define to `long' if <sys/types.h> does not define. */
|
||||
#undef off_t
|
5569
libdecnumber/configure
vendored
Executable file
5569
libdecnumber/configure
vendored
Executable file
File diff suppressed because it is too large
Load diff
58
libdecnumber/configure.ac
Normal file
58
libdecnumber/configure.ac
Normal file
|
@ -0,0 +1,58 @@
|
|||
# -*- Autoconf -*-
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.59)
|
||||
AC_INIT(libdecnumber, [ ], gcc-bugs@gcc.gnu.org, libdecnumber)
|
||||
AC_CONFIG_SRCDIR(decNumber.h)
|
||||
AC_CONFIG_MACRO_DIR(../config)
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_CC
|
||||
AC_PROG_RANLIB
|
||||
|
||||
MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
|
||||
AC_CHECK_PROGS([ACLOCAL], [aclocal], [$MISSING aclocal])
|
||||
AC_CHECK_PROGS([AUTOCONF], [autoconf], [$MISSING autoconf])
|
||||
AC_CHECK_PROGS([AUTOHEADER], [autoheader], [$MISSING autoheader])
|
||||
|
||||
# Figure out what compiler warnings we can enable.
|
||||
# See config/warnings.m4 for details.
|
||||
|
||||
ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwrite-strings -Wstrict-prototypes \
|
||||
-Wmissing-prototypes -Wold-style-definition \
|
||||
-Wmissing-format-attribute])
|
||||
ACX_PROG_CC_WARNING_ALMOST_PEDANTIC([-Wno-long-long])
|
||||
|
||||
# Only enable with --enable-werror-always until existing warnings are
|
||||
# corrected.
|
||||
ACX_PROG_CC_WARNINGS_ARE_ERRORS([manual])
|
||||
|
||||
# Checks for header files.
|
||||
AC_CHECK_HEADERS(ctype.h stddef.h string.h stdio.h)
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
AC_TYPE_OFF_T
|
||||
AC_CHECK_SIZEOF(int)
|
||||
AC_CHECK_SIZEOF(long)
|
||||
|
||||
# Checks for library functions.
|
||||
AC_HEADER_STDC
|
||||
|
||||
AC_ARG_ENABLE(maintainer-mode,
|
||||
[ --enable-maintainer-mode enable rules only needed by maintainers],,
|
||||
enable_maintainer_mode=no)
|
||||
|
||||
if test "x$enable_maintainer_mode" = xno; then
|
||||
MAINT='#'
|
||||
else
|
||||
MAINT=
|
||||
fi
|
||||
AC_SUBST(MAINT)
|
||||
|
||||
# Output.
|
||||
|
||||
AC_CONFIG_HEADERS(config.h:config.in, [echo timestamp > stamp-h1])
|
||||
AC_CONFIG_FILES(Makefile)
|
||||
AC_OUTPUT
|
Loading…
Add table
Reference in a new issue