1 dnl Process this file with autoconf to produce a configure script.
3 dnl Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
5 dnl This file is free software; the copyright holder
6 dnl gives unlimited permission to copy and/or distribute it,
7 dnl with or without modifications, as long as this notice is preserved.
9 m4_include([../version.ac])[] dnl define gmp_version
10 AC_INIT([gmp native], gmp_version, [tex-k@tug.org])
12 AC_CONFIG_SRCDIR([../gmp-src/gmp-impl.h])
13 AC_CONFIG_AUX_DIR([../../../build-aux])
14 AC_CONFIG_MACRO_DIR([../../../m4])
16 KPSE_BASIC([gmp native])
21 KPSE_SEARCH_LIBS([MATH_LIB], [pow], [m])
23 AC_SUBST([GMP_TREE], [../gmp-src])
25 dnl Not used but avoids putting useless -D's on the command line.
26 AC_CONFIG_HEADERS([config.h])
28 AC_CONFIG_FILES([Makefile])