Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitae93ad8

Browse files
committed
Forgot to add an AC_SUBST(STRERROR) to configure.in for the strerror() test
Thanks to D'Arcy for pointing this one out
1 parent3589f71 commitae93ad8

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

‎src/configure

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3210,13 +3210,14 @@ fi
32103210

32113211

32123212

3213+
32133214
echo$ac_n"checking for cbrt""...$ac_c"1>&6
3214-
echo"configure:3215: checking for cbrt">&5
3215+
echo"configure:3216: checking for cbrt">&5
32153216
ifeval"test\"`echo'$''{'ac_cv_func_cbrt'+set}'`\" = set";then
32163217
echo$ac_n"(cached)$ac_c"1>&6
32173218
else
32183219
cat> conftest.$ac_ext<<EOF
3219-
#line3220 "configure"
3220+
#line3221 "configure"
32203221
#include "confdefs.h"
32213222
/* System header to define __stub macros and hopefully few prototypes,
32223223
which can conflict with char cbrt(); below. */
@@ -3239,7 +3240,7 @@ cbrt();
32393240
32403241
; return 0; }
32413242
EOF
3242-
if { (evalecho configure:3243:\"$ac_link\")1>&5; (eval$ac_link)2>&5; }&&test -s conftest;then
3243+
if { (evalecho configure:3244:\"$ac_link\")1>&5; (eval$ac_link)2>&5; }&&test -s conftest;then
32433244
rm -rf conftest*
32443245
eval"ac_cv_func_cbrt=yes"
32453246
else
@@ -3260,15 +3261,15 @@ EOF
32603261
else
32613262
echo"$ac_t""no"1>&6
32623263
echo$ac_n"checking for cbrt in -lm""...$ac_c"1>&6
3263-
echo"configure:3264: checking for cbrt in -lm">&5
3264+
echo"configure:3265: checking for cbrt in -lm">&5
32643265
ac_lib_var=`echo m'_'cbrt| sed'y%./+-%__p_%'`
32653266
ifeval"test\"`echo'$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set";then
32663267
echo$ac_n"(cached)$ac_c"1>&6
32673268
else
32683269
ac_save_LIBS="$LIBS"
32693270
LIBS="-lm$LIBS"
32703271
cat> conftest.$ac_ext<<EOF
3271-
#line3272 "configure"
3272+
#line3273 "configure"
32723273
#include "confdefs.h"
32733274
/* Override any gcc2 internal prototype to avoid an error. */
32743275
/* We use char because int might match the return type of a gcc2
@@ -3279,7 +3280,7 @@ int main() {
32793280
cbrt()
32803281
; return 0; }
32813282
EOF
3282-
if { (evalecho configure:3283:\"$ac_link\")1>&5; (eval$ac_link)2>&5; }&&test -s conftest;then
3283+
if { (evalecho configure:3284:\"$ac_link\")1>&5; (eval$ac_link)2>&5; }&&test -s conftest;then
32833284
rm -rf conftest*
32843285
eval"ac_cv_lib_$ac_lib_var=yes"
32853286
else
@@ -3305,12 +3306,12 @@ fi
33053306
fi
33063307

33073308
echo$ac_n"checking for rint""...$ac_c"1>&6
3308-
echo"configure:3309: checking for rint">&5
3309+
echo"configure:3310: checking for rint">&5
33093310
ifeval"test\"`echo'$''{'ac_cv_func_rint'+set}'`\" = set";then
33103311
echo$ac_n"(cached)$ac_c"1>&6
33113312
else
33123313
cat> conftest.$ac_ext<<EOF
3313-
#line3314 "configure"
3314+
#line3315 "configure"
33143315
#include "confdefs.h"
33153316
/* System header to define __stub macros and hopefully few prototypes,
33163317
which can conflict with char rint(); below. */
@@ -3333,7 +3334,7 @@ rint();
33333334
33343335
; return 0; }
33353336
EOF
3336-
if { (evalecho configure:3337:\"$ac_link\")1>&5; (eval$ac_link)2>&5; }&&test -s conftest;then
3337+
if { (evalecho configure:3338:\"$ac_link\")1>&5; (eval$ac_link)2>&5; }&&test -s conftest;then
33373338
rm -rf conftest*
33383339
eval"ac_cv_func_rint=yes"
33393340
else
@@ -3354,15 +3355,15 @@ EOF
33543355
else
33553356
echo"$ac_t""no"1>&6
33563357
echo$ac_n"checking for rint in -lm""...$ac_c"1>&6
3357-
echo"configure:3358: checking for rint in -lm">&5
3358+
echo"configure:3359: checking for rint in -lm">&5
33583359
ac_lib_var=`echo m'_'rint| sed'y%./+-%__p_%'`
33593360
ifeval"test\"`echo'$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set";then
33603361
echo$ac_n"(cached)$ac_c"1>&6
33613362
else
33623363
ac_save_LIBS="$LIBS"
33633364
LIBS="-lm$LIBS"
33643365
cat> conftest.$ac_ext<<EOF
3365-
#line3366 "configure"
3366+
#line3367 "configure"
33663367
#include "confdefs.h"
33673368
/* Override any gcc2 internal prototype to avoid an error. */
33683369
/* We use char because int might match the return type of a gcc2
@@ -3373,7 +3374,7 @@ int main() {
33733374
rint()
33743375
; return 0; }
33753376
EOF
3376-
if { (evalecho configure:3377:\"$ac_link\")1>&5; (eval$ac_link)2>&5; }&&test -s conftest;then
3377+
if { (evalecho configure:3378:\"$ac_link\")1>&5; (eval$ac_link)2>&5; }&&test -s conftest;then
33773378
rm -rf conftest*
33783379
eval"ac_cv_lib_$ac_lib_var=yes"
33793380
else
@@ -3560,6 +3561,7 @@ s%@ipcrm@%$ipcrm%g
35603561
s%@LIBOBJS@%$LIBOBJS%g
35613562
s%@STRDUP@%$STRDUP%g
35623563
s%@INET_ATON@%$INET_ATON%g
3564+
s%@STRERROR@%$STRERROR%g
35633565
35643566
CEOF
35653567
EOF

‎src/configure.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ AC_CHECK_FUNC(strerror, AC_DEFINE(HAVE_STRERROR), STRERROR='strerror.o')
166166
AC_CHECK_FUNC(strdup, AC_DEFINE(HAVE_STRDUP), STRDUP='../../utils/strdup.o')
167167
AC_SUBST(STRDUP)
168168
AC_SUBST(INET_ATON)
169+
AC_SUBST(STRERROR)
169170
AC_CHECK_FUNC(cbrt, AC_DEFINE(HAVE_CBRT), AC_CHECK_LIB(m, cbrt, AC_DEFINE(HAVE_CBRT)))
170171
AC_CHECK_FUNC(rint, AC_DEFINE(HAVE_RINT), AC_CHECK_LIB(m, rint, AC_DEFINE(HAVE_RINT)))
171172

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp