add check for the presence of glob

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2007-11-17 00:31:32 +00:00
parent d82a631f9c
commit d209cb090e
2 changed files with 8 additions and 1 deletions

View File

@@ -86,7 +86,7 @@ case "${host_os}" in
OSARCH=SunOS OSARCH=SunOS
;; ;;
*) *)
OSARCH=${HOST_OS} OSARCH=${host_os}
;; ;;
esac esac
@@ -280,6 +280,8 @@ AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF 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([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, # https support (in main/http.c) uses funopen on BSD systems,
# fopencookie on linux # fopencookie on linux
AC_CHECK_FUNCS([funopen fopencookie]) AC_CHECK_FUNCS([funopen fopencookie])
@@ -1240,6 +1242,8 @@ fi
AC_MSG_NOTICE(Package configured for: ) AC_MSG_NOTICE(Package configured for: )
AC_MSG_NOTICE( OS type : $host_os) AC_MSG_NOTICE( OS type : $host_os)
AC_MSG_NOTICE( Host CPU : $host_cpu) 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 if test "${cross_compiling}" = "yes"; then
AC_MSG_NOTICE( Cross Compilation = YES) AC_MSG_NOTICE( Cross Compilation = YES)
fi fi

View File

@@ -300,6 +300,9 @@
/* Define to 1 if you have the `gettimeofday' function. */ /* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY #undef HAVE_GETTIMEOFDAY
/* Define to 1 if you have the `glob' function. */
#undef HAVE_GLOB
/* Define to indicate the GSM library */ /* Define to indicate the GSM library */
#undef HAVE_GSM #undef HAVE_GSM