[asterisk-commits] rizzo: trunk r89350 - in /trunk: configure.ac include/asterisk/autoconfig.h.in
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Nov 16 18:31:33 CST 2007
Author: rizzo
Date: Fri Nov 16 18:31:32 2007
New Revision: 89350
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89350
Log:
add check for the presence of glob
Modified:
trunk/configure.ac
trunk/include/asterisk/autoconfig.h.in
Modified: trunk/configure.ac
URL: http://svn.digium.com/view/asterisk/trunk/configure.ac?view=diff&rev=89350&r1=89349&r2=89350
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Fri Nov 16 18:31:32 2007
@@ -86,7 +86,7 @@
OSARCH=SunOS
;;
*)
- OSARCH=${HOST_OS}
+ OSARCH=${host_os}
;;
esac
@@ -279,6 +279,8 @@
AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([asprintf atexit bzero dup2 endpwent ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday inet_ntoa isascii localtime_r memchr memmove memset mkdir munmap putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtol strtoq unsetenv utime vasprintf])
+
+AC_CHECK_FUNCS([glob])
# https support (in main/http.c) uses funopen on BSD systems,
# fopencookie on linux
@@ -1240,6 +1242,8 @@
AC_MSG_NOTICE(Package configured for: )
AC_MSG_NOTICE( OS type : $host_os)
AC_MSG_NOTICE( Host CPU : $host_cpu)
+AC_MSG_NOTICE( build-cpu:vendor:os: $build_cpu : $build_vendor : $build_os :)
+AC_MSG_NOTICE( host-cpu:vendor:os: $host_cpu : $host_vendor : $host_os :)
if test "${cross_compiling}" = "yes"; then
AC_MSG_NOTICE( Cross Compilation = YES)
fi
Modified: trunk/include/asterisk/autoconfig.h.in
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/autoconfig.h.in?view=diff&rev=89350&r1=89349&r2=89350
==============================================================================
--- trunk/include/asterisk/autoconfig.h.in (original)
+++ trunk/include/asterisk/autoconfig.h.in Fri Nov 16 18:31:32 2007
@@ -299,6 +299,9 @@
/* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
+
+/* Define to 1 if you have the `glob' function. */
+#undef HAVE_GLOB
/* Define to indicate the GSM library */
#undef HAVE_GSM
More information about the asterisk-commits
mailing list