diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-06-29 11:16:05 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-06-29 11:16:05 -0500 |
commit | 6aaba96acafc18cdc9503aee705ac9b2e942e98f (patch) | |
tree | e850eaa264c8a0cd3d7ab4fb83f0b2d4c666d053 | |
parent | 541f0386941d536059dd4ab9b1fecce547bda71c (diff) | |
parent | 6e87bf746a268a3364863bec7e2de1e208a5c4b2 (diff) |
Merge "BuildSystem: Avoid obsolete warning with AC_TYPE_SIGNAL on autoconf."
-rwxr-xr-x | configure | 33 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | include/asterisk/autoconfig.h.in | 3 |
3 files changed, 0 insertions, 37 deletions
@@ -15327,39 +15327,6 @@ _ACEOF rm -f conftest* -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 -$as_echo_n "checking return type of signal handlers... " >&6; } -if ${ac_cv_type_signal+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/types.h> -#include <signal.h> - -int -main () -{ -return *(signal (0, 0)) (0) == 1; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_type_signal=int -else - ac_cv_type_signal=void -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 -$as_echo "$ac_cv_type_signal" >&6; } - -cat >>confdefs.h <<_ACEOF -#define RETSIGTYPE $ac_cv_type_signal -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : diff --git a/configure.ac b/configure.ac index 741c8c02b..0698834aa 100644 --- a/configure.ac +++ b/configure.ac @@ -687,7 +687,6 @@ AC_PROG_GCC_TRADITIONAL AC_FUNC_MEMCMP AC_FUNC_MMAP AC_FUNC_SELECT_ARGTYPES -AC_TYPE_SIGNAL AC_FUNC_STAT AC_FUNC_STRCOLL AC_FUNC_STRFTIME diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index cd228d7d4..5834de77e 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -1257,9 +1257,6 @@ /* Define if your system needs braces around PTHREAD_ONCE_INIT */ #undef PTHREAD_ONCE_INIT_NEEDS_BRACES -/* Define as the return type of signal handlers (`int' or `void'). */ -#undef RETSIGTYPE - /* Define to the type of arg 1 for `select'. */ #undef SELECT_TYPE_ARG1 |