Skip to content

Commit 6a3d788

Browse files
committed
Refactor: build: Drop HAVE_SSCANF_M
Nothing uses it anymore. Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
1 parent 13fb9e3 commit 6a3d788

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

configure.ac

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,19 +1221,6 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[
12211221
[AC_MSG_ERROR([strerror() is not C99-compliant])],
12221222
[AC_MSG_ERROR([strerror() is not C99-compliant])])
12231223

1224-
AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]], [[
1225-
const char *s = "some-command-line-arg";
1226-
char *name = NULL;
1227-
int n = sscanf(s, "%ms", &name);
1228-
return n != 1;
1229-
]])],
1230-
[have_sscanf_m="yes"],
1231-
[have_sscanf_m="no"],
1232-
[have_sscanf_m="no"])
1233-
AS_IF([test x"$have_sscanf_m" = x"yes"],
1234-
[AC_DEFINE([HAVE_SSCANF_M], [1],
1235-
[Define to 1 if sscanf %m modifier is available])])
1236-
12371224
AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[
12381225
char s[200];
12391226
time_t t;

0 commit comments

Comments
 (0)