Debian Codegraph @

m4/kpse-gmp-flags.m4

raw
1 # Public macros for the TeX Live (TL) tree.
2 # Copyright (C) 2014 Taco Hoekwater <[email protected]>
3 # Copyright (C) 2014 Peter Breitenlohner <[email protected]>
4 #
5 # This file is free software; the copyright holder
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # KPSE_GMP_FLAGS
10 # -----------------
11 # Provide the configure options '--with-system-gmp' (if in the TL tree),
12 # '--with-gmp-includes', and '--with-gmp-libdir'.
13 #
14 # Set the make variables GMP_INCLUDES and GMP_LIBS to the CPPFLAGS and
15 # LIBS required for the `-lgmp' library in libs/gmp/ of the TL tree.
16 AC_DEFUN([KPSE_GMP_FLAGS], [dnl
17 _KPSE_LIB_FLAGS([gmp], [gmp], [],
18 [-IBLD/libs/gmp/include], [BLD/libs/gmp/libgmp.a], [],
19 [], [${top_builddir}/../../libs/gmp/include/gmp.h])[]dnl
20 ]) # KPSE_GMP_FLAGS
21
22 # KPSE_GMP_OPTIONS([WITH-SYSTEM])
23 # ----------------------------------
24 AC_DEFUN([KPSE_GMP_OPTIONS], [_KPSE_LIB_OPTIONS([gmp], [$1])])
25
26 # KPSE_GMP_SYSTEM_FLAGS
27 # ------------------------
28 AC_DEFUN([KPSE_GMP_SYSTEM_FLAGS], [_KPSE_LIB_FLAGS_SYSTEM([gmp], [gmp])])