remove mingw gmp detection error - gcl.git - GNU Common Lisp

index : gcl.git
GNU Common Lisp
summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamm Maguire <camm@debian.org>2014年08月28日 18:42:34 +0000
committerCamm Maguire <camm@debian.org>2014年08月28日 18:42:34 +0000
commit59a1a211c2ff3a80daa0af3e391af052cd35c41b (patch)
tree13d4e4f73863b985dbab84a3f1010c4f6c26fde5
parent84867dabeda4f923ba3df29062ff252089688257 (diff)
downloadgcl-59a1a211c2ff3a80daa0af3e391af052cd35c41b.tar.gz
remove mingw gmp detection error
Diffstat
-rwxr-xr-xgcl/configure 2
-rw-r--r--gcl/configure.in 2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcl/configure b/gcl/configure
index fdd54103e..031f7d71e 100755
--- a/gcl/configure
+++ b/gcl/configure
@@ -5076,7 +5076,7 @@ if ac_fn_c_try_run "$LINENO"; then :
TLIBS="$TLIBS -lgmp"
echo "#include \"gmp.h\"" >foo.c
echo "int main() {return 0;}" >>foo.c
- MP_INCLUDE=`cpp foo.c | $AWK '/(\/|\\\\)gmp.h/ {print 3ドル;exit}' | tr -d '"'`
+ MP_INCLUDE=`cpp foo.c | $AWK '/(\/|\\\\)gmp.h/ {if (!i) print 3ドル;i=1}' | tr -d '"'`
rm -f foo.c
else
echo "Cannot use dynamic gmp lib"
diff --git a/gcl/configure.in b/gcl/configure.in
index 987f05b74..65766f0c5 100644
--- a/gcl/configure.in
+++ b/gcl/configure.in
@@ -812,7 +812,7 @@ if test $use_gmp = yes ; then
TLIBS="$TLIBS -lgmp"
echo "#include \"gmp.h\"" >foo.c
echo "int main() {return 0;}" >>foo.c
- MP_INCLUDE=`cpp foo.c | $AWK '/(\/|\\\\)gmp.h/ {print 3ドル;exit}' | tr -d '"'`
+ MP_INCLUDE=`cpp foo.c | $AWK '/(\/|\\\\)gmp.h/ {if (!i) print 3ドル;i=1}' | tr -d '"'`
rm -f foo.c,
echo "Cannot use dynamic gmp lib" , echo "Cannot use dynamic gmp lib" ),
echo "Cannot use dynamic gmp lib" ,),
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月07日 16:04:07 +0000

AltStyle によって変換されたページ (->オリジナル) /