diff options
Diffstat (limited to 'autogen')
-rw-r--r-- | autogen/config.in | 3 | ||||
-rwxr-xr-x | autogen/configure | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/autogen/config.in b/autogen/config.in index 24dd54db43f..5a53b240ef8 100644 --- a/autogen/config.in +++ b/autogen/config.in @@ -672,6 +672,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ /* Define to 1 if the system has the type `sigset_t'. */ #undef HAVE_SIGSET_T +/* Define to 1 if you have the `snprintf' function. */ +#undef HAVE_SNPRINTF + /* Define to 1 if you have sound support. */ #undef HAVE_SOUND diff --git a/autogen/configure b/autogen/configure index bbd54f57153..8d010ddf7b7 100755 --- a/autogen/configure +++ b/autogen/configure @@ -15312,6 +15312,18 @@ $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h fi +for ac_func in snprintf +do : + ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" +if test "x$ac_cv_func_snprintf" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SNPRINTF 1 +_ACEOF + +fi +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } if test "${emacs_cv_langinfo_codeset+set}" = set; then : |