[Gmp-commit] /var/hg/gmp: Conditionalise udiv_w_sdiv inclusion on --enable-as...
mercurial at gmplib.org
mercurial at gmplib.org
Sat Nov 26 01:58:38 UTC 2016
details: /var/hg/gmp/rev/1890de258348
changeset: 17137:1890de258348
user: Torbjorn Granlund <tg at gmplib.org>
date: Sat Nov 26 02:58:34 2016 +0100
description:
Conditionalise udiv_w_sdiv inclusion on --enable-assembly.
diffstat:
configure.ac | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diffs (46 lines):
diff -r 5ed3adc694e1 -r 1890de258348 configure.ac
--- a/configure.ac Fri Nov 25 14:08:18 2016 +0100
+++ b/configure.ac Sat Nov 26 02:58:34 2016 +0100
@@ -1269,7 +1269,9 @@
AC_DEFINE(HAVE_HOST_CPU_FAMILY_power)
HAVE_HOST_CPU_FAMILY_power=1
cclist="gcc"
- extra_functions="udiv_w_sdiv"
+ if test "$enable_assembly" = "yes" ; then
+ extra_functions="udiv_w_sdiv"
+ fi
path="power"
# gcc 2.7.2 knows rios1, rios2, rsc
@@ -1306,7 +1308,9 @@
gcc_cflags="$gcc_cflags $fomit_frame_pointer"
gcc_cflags_optlist="arch"
path="s390_32"
- extra_functions="udiv_w_sdiv"
+ if test "$enable_assembly" = "yes" ; then
+ extra_functions="udiv_w_sdiv"
+ fi
gcc_32_cflags_maybe="-m31"
case $host_cpu in
@@ -1603,14 +1607,18 @@
GMP_INCLUDE_MPN(vax/elf.m4)
gcc_cflags="$gcc_cflags $fomit_frame_pointer"
path="vax"
- extra_functions="udiv_w_sdiv"
+ if test "$enable_assembly" = "yes" ; then
+ extra_functions="udiv_w_sdiv"
+ fi
;;
vax*-*-*)
# Default to aout conventions (i.e., no register prefix, '_' global prefix)
#
gcc_cflags="$gcc_cflags $fomit_frame_pointer"
path="vax"
- extra_functions="udiv_w_sdiv"
+ if test "$enable_assembly" = "yes" ; then
+ extra_functions="udiv_w_sdiv"
+ fi
;;
More information about the gmp-commit
mailing list