| Index: libdecnumber/configure
|
| diff --git a/libdecnumber/configure b/libdecnumber/configure
|
| index 2b5868485166dde148419a04702f19a7a8d5717e..2720f46ff7f2aaeb27d9349e5af434c72ea86466 100755
|
| --- a/libdecnumber/configure
|
| +++ b/libdecnumber/configure
|
| @@ -593,6 +593,7 @@ ac_includes_default="\
|
|
|
| ac_subst_vars='LTLIBOBJS
|
| LIBOBJS
|
| +PICFLAG
|
| ADDITIONAL_OBJS
|
| enable_decimal_float
|
| target_os
|
| @@ -670,6 +671,7 @@ enable_option_checking
|
| enable_werror_always
|
| enable_maintainer_mode
|
| enable_decimal_float
|
| +enable_host_shared
|
| '
|
| ac_precious_vars='build_alias
|
| host_alias
|
| @@ -1301,6 +1303,7 @@ Optional Features:
|
| enable decimal float extension to C. Selecting 'bid'
|
| or 'dpd' choses which decimal floating point format
|
| to use
|
| + --enable-host-shared build host code as shared libraries
|
|
|
| Some influential environment variables:
|
| CC C compiler command
|
| @@ -2220,6 +2223,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
| +ac_aux_dir=
|
| +for ac_dir in .. "$srcdir"/..; do
|
| + for ac_t in install-sh install.sh shtool; do
|
| + if test -f "$ac_dir/$ac_t"; then
|
| + ac_aux_dir=$ac_dir
|
| + ac_install_sh="$ac_aux_dir/$ac_t -c"
|
| + break 2
|
| + fi
|
| + done
|
| +done
|
| +if test -z "$ac_aux_dir"; then
|
| + as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
|
| +fi
|
| +
|
| +# These three variables are undocumented and unsupported,
|
| +# and are intended to be withdrawn in a future Autoconf release.
|
| +# They can cause serious problems if a builder's source tree is in a directory
|
| +# whose full name contains unusual characters.
|
| +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
| +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
| +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
| +
|
| +
|
|
|
| # Checks for programs.
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
| @@ -4458,29 +4484,6 @@ else
|
| fi
|
|
|
|
|
| -ac_aux_dir=
|
| -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
| - for ac_t in install-sh install.sh shtool; do
|
| - if test -f "$ac_dir/$ac_t"; then
|
| - ac_aux_dir=$ac_dir
|
| - ac_install_sh="$ac_aux_dir/$ac_t -c"
|
| - break 2
|
| - fi
|
| - done
|
| -done
|
| -if test -z "$ac_aux_dir"; then
|
| - as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
| -fi
|
| -
|
| -# These three variables are undocumented and unsupported,
|
| -# and are intended to be withdrawn in a future Autoconf release.
|
| -# They can cause serious problems if a builder's source tree is in a directory
|
| -# whose full name contains unusual characters.
|
| -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
| -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
| -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
| -
|
| -
|
| # Make sure we can run config.sub.
|
| $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
| as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
| @@ -4611,8 +4614,9 @@ else
|
|
|
| case $target in
|
| powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
|
| + i?86*-*-gnu* | \
|
| i?86*-*-mingw* | x86_64*-*-mingw* | \
|
| - i?86*-*-cygwin*)
|
| + i?86*-*-cygwin* | x86_64*-*-cygwin*)
|
| enable_decimal_float=yes
|
| ;;
|
| *)
|
| @@ -4888,6 +4892,16 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
| esac
|
|
|
|
|
| +# Enable --enable-host-shared.
|
| +# Check whether --enable-host-shared was given.
|
| +if test "${enable_host_shared+set}" = set; then :
|
| + enableval=$enable_host_shared; PICFLAG=-fPIC
|
| +else
|
| + PICFLAG=
|
| +fi
|
| +
|
| +
|
| +
|
| # Output.
|
|
|
| ac_config_headers="$ac_config_headers config.h:config.in"
|
|
|