diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-09-06 09:34:41 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-09-06 09:34:41 -0700 |
commit | e39b275c8c4abe1e293d4336bb1cb13ad95e5491 (patch) | |
tree | 22da66c2fe8e7b447e8872b481701bcb4b3e2a3a /autogen | |
parent | 1c262cae409ec55a234c89b3b74a13a77c7f595a (diff) | |
parent | b2db44d9c6b6895222e9de5ab58b3897fdb3c889 (diff) | |
download | emacs-e39b275c8c4abe1e293d4336bb1cb13ad95e5491.tar.gz |
Merge from trunk.
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 : |