summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2023-06-12 23:25:04 +0200
committerpgen <p.gen.progs@gmail.com>2023-06-14 00:24:05 +0200
commitc64b35d2843e9d2d03775aee59c1b17a05b1d3ad (patch)
tree667b4d20d08e2fc5ee52176e155cf6030f56668a /configure
parent131b94c135b9e0a72b482d365bca1b533c7e5c2a (diff)
Rework xstrdup and xstrndup
smenu can now be compiled without warning when using the following options: -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 0 insertions, 12 deletions
diff --git a/configure b/configure
index 0fbc221..417f75d 100755
--- a/configure
+++ b/configure
@@ -6270,18 +6270,6 @@ then :
printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
fi
-ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
-if test "x$ac_cv_func_strdup" = xyes
-then :
- printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
-
-fi
-ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
-if test "x$ac_cv_func_strndup" = xyes
-then :
- printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h
-
-fi