summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-04-28 12:35:00 +0000
committerAndrew Tridgell <tridge@samba.org>2001-04-28 12:35:00 +0000
commitfd5c6d72d333a967480be834abb611120c1ae0b6 (patch)
tree9e22d1913b87af1ae023c1b48b9af579460ee5e6
parent5671e632f834dbc8f16da66a1ad2c00928f5924c (diff)
downloadsamba-fd5c6d72d333a967480be834abb611120c1ae0b6.tar.gz
samba-fd5c6d72d333a967480be834abb611120c1ae0b6.tar.bz2
samba-fd5c6d72d333a967480be834abb611120c1ae0b6.zip
added asprintf test
(This used to be commit 8bda86c0bfd3693420e334a10d19bed61b131bae)
-rwxr-xr-xsource3/configure2
-rw-r--r--source3/configure.in2
-rw-r--r--source3/include/config.h.in3
3 files changed, 5 insertions, 2 deletions
diff --git a/source3/configure b/source3/configure
index 75736f4e3d..cbdd7ee50e 100755
--- a/source3/configure
+++ b/source3/configure
@@ -5235,7 +5235,7 @@ else
fi
done
-for ac_func in memmove vsnprintf snprintf setsid glob strpbrk pipe crypt16 getauthuid
+for ac_func in memmove vsnprintf snprintf asprintf setsid glob strpbrk pipe crypt16 getauthuid
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:5242: checking for $ac_func" >&5
diff --git a/source3/configure.in b/source3/configure.in
index eca0e6acd4..c6f1b29e72 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -490,7 +490,7 @@ fi
AC_CHECK_FUNCS(waitpid getcwd strdup strtoul strerror chown fchown chmod fchmod chroot)
AC_CHECK_FUNCS(fstat strchr utime utimes getrlimit fsync bzero memset)
-AC_CHECK_FUNCS(memmove vsnprintf snprintf setsid glob strpbrk pipe crypt16 getauthuid)
+AC_CHECK_FUNCS(memmove vsnprintf snprintf asprintf setsid glob strpbrk pipe crypt16 getauthuid)
AC_CHECK_FUNCS(strftime sigprocmask sigblock sigaction innetgr setnetgrent getnetgrent endnetgrent)
AC_CHECK_FUNCS(initgroups select poll rdchk getgrnam getgrent pathconf)
AC_CHECK_FUNCS(setpriv setgidx setuidx setgroups sysconf mktime rename ftruncate stat64 fstat64)
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 0e488f14f6..cf1db393c3 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -432,6 +432,9 @@
/* Define if you have the _write function. */
#undef HAVE__WRITE
+/* Define if you have the asprintf function. */
+#undef HAVE_ASPRINTF
+
/* Define if you have the atexit function. */
#undef HAVE_ATEXIT