summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-03-14 15:33:39 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-03-14 15:33:39 +0000
commita7965d1b52e272d332516d826a14e95ab7352947 (patch)
tree87f14872c35a5d6240ef1fe3f7a07286f20a25d7
parent37724e1f3c418328bdd66174a24e67dac0d5fc79 (diff)
downloadmpc-a7965d1b52e272d332516d826a14e95ab7352947.tar.gz
Add autotools support.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/branches/feature-autotools@73 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r--AUTHORS6
-rw-r--r--ChangeLog7
-rw-r--r--Makefile.am20
-rw-r--r--NEWS0
-rw-r--r--configure.ac30
5 files changed, 63 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..2fec24c
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,6 @@
+ Andreas Enge Main authors
+ Paul Zimmermann Main authors
+ Philipe Théveny
+
+ Patrick Pelissier has cleaned up the code.
+ Marc Helbling contributed the mpc_ui_sub and mpc_ui_ui_sub functions. \ No newline at end of file
diff --git a/ChangeLog b/ChangeLog
index c97b2cc..2fe2ee4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,2 +1,9 @@
+2008-03-14 Philippe THEVENY <philippe.theveny@loria.fr>
+
+ * NEWS: Added for autotools support
+ * AUTHORS: Added for autotools support
+ * Makefile.am: Added for autotools support
+ * configure.ac: Added for autotools support
+
Changes since version 0.4.6:
nothing worth noting for the moment
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..1568d62
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,20 @@
+## Makefile.am -- Process this file with automake to produce Makefile.in
+lib_LTLIBRARIES = libmpc.la
+libmpc_la_SOURCES = mpc.h mpc-impl.h abs.c add.c add_fr.c add_ui.c clear.c \
+cmp.c cmp_si_si.c conj.c div_2exp.c div.c div_fr.c div_ui.c exp.c \
+get_prec2.c get_prec.c init2.c init3.c init.c inp_str.c mul_2exp.c mul.c \
+mul_fr.c mul_i.c mul_si.c mul_ui.c neg.c norm.c out_str.c random2.c random.c \
+set.c set_d_d.c set_dfl_prec.c set_prec.c set_si_si.c set_ui_fr.c \
+set_ui_ui.c sin.c sqr.c sqrt.c sub.c sub_ui.c uceil_log2.c ui_div.c \
+ui_ui_sub.c
+
+LDADD = $(top_builddir)/libmpc.la
+INCLUDES = -I$(top_srcdir)
+
+check_PROGRAMS = test tabs tdiv texp tmul tsin tsqr
+
+TESTS = $(check_PROGRAMS)
+
+mpc_TEXINFOS = mpc.texi
+
+##libmpc_la_LIBADD = @LIBOBJS@
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/NEWS
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..3e3800a
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,30 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ(2.61)
+AC_INIT(mpc, 0.4.6, mpc@loria.fr)
+AC_CONFIG_SRCDIR([set_d_d.c])
+AC_CONFIG_HEADER([config.h])
+
+AM_INIT_AUTOMAKE([1.9 foreign])
+AM_MAINTAINER_MODE
+
+# Checks for programs.
+AC_PROG_CC
+AC_PROG_LIBTOOL
+
+# Checks for libraries.
+AC_CHECK_LIB([mpfr], [mpfr_clear])
+
+# Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([limits.h stdlib.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_TYPE_SIZE_T
+
+# Checks for library functions.
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT