mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-12-12 19:33:43 +08:00
Merge pull request #954 from jiladahe1997/master
This commit is contained in:
commit
30df635e5d
10
configure
vendored
10
configure
vendored
@ -5189,10 +5189,11 @@ fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf(3) supports the z length modifier" >&5
|
||||
$as_echo_n "checking whether printf(3) supports the z length modifier... " >&6; }
|
||||
if test "$cross_compiling" = yes; then :
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
||||
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
||||
as_fn_error $? "cannot run test program while cross compiling
|
||||
See \`config.log' for more details" "$LINENO" 5; }
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not while cross-compiling" >&5
|
||||
$as_echo "not while cross-compiling" >&6; }
|
||||
|
||||
|
||||
else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
@ -5223,7 +5224,6 @@ $as_echo "no" >&6; }
|
||||
$as_echo "#define HAVE_NO_PRINTF_Z 1" >>confdefs.h
|
||||
|
||||
|
||||
|
||||
fi
|
||||
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
||||
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||||
|
@ -423,6 +423,9 @@ int main()
|
||||
AC_MSG_RESULT(no)
|
||||
AC_DEFINE(HAVE_NO_PRINTF_Z, 1,
|
||||
[Define to 1 if printf(3) does not support the z length modifier.])
|
||||
],
|
||||
[
|
||||
AC_MSG_RESULT(not while cross-compiling)
|
||||
]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user