summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-01 01:46:21 -0500
committermidipix <writeonce@midipix.org>2019-01-01 01:47:54 -0500
commit375736a1b4dc1584b3916e65e4dae09ffd4b55fa (patch)
treea5c9281e62aceb4b495ea1a9684574f182cc5200 /configure
parentd87e4065425bd43d24c53562de95f3316767f5d4 (diff)
downloadbcparser-375736a1b4dc1584b3916e65e4dae09ffd4b55fa.tar.bz2
bcparser-375736a1b4dc1584b3916e65e4dae09ffd4b55fa.tar.xz
build system: replace config_support() with ccenv_dso_verify().
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 0 insertions, 22 deletions
diff --git a/configure b/configure
index 95e1ba9..303721a 100755
--- a/configure
+++ b/configure
@@ -460,27 +460,6 @@ config_cfghost()
}
-config_support()
-{
- [ _$mb_disable_shared = _yes ] && return 0
-
- mbt_cc=$(make .display-cc)
- mbt_cflags=$(make .display-cflags)
- mbt_source='int foo(int x){return ++x;}'
- mbt_result=no
-
- rm -f a.out
- printf '%s' "$mbt_source" | $mbt_cc -shared -o a.out -xc -
- [ -f a.out ] && mbt_result=yes
- rm -f a.out
-
- if [ $mbt_result = no ]; then
- mb_disable_shared=yes
- config_copy
- fi
-}
-
-
config_host()
{
make -s host.tag && return 0
@@ -787,7 +766,6 @@ config_copy
config_ccenv
config_custom
config_cfghost
-config_support
config_host
config_status