mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	configure: Remove obsolete and deprecated constructs.
These were uncovered when trying to run `bootstrap.sh` with Autoconf 2.71: * AC_CONFIG_HEADER() is deprecated in favor of AC_CONFIG_HEADERS(). * AC_HEADER_TIME is obsolete. * $as_echo is deprecated in favor of AS_ECHO() which requires an update to ax_pthread.m4. Note that the generated artifacts in this commit are from Autoconf 2.69. Resolves #139
This commit is contained in:
		| @@ -24,7 +24,7 @@ AC_SUBST(CONFIG_CFLAGS) | ||||
| AC_SUBST(CONFIG_LDFLAGS) | ||||
|  | ||||
| # specify output header file | ||||
| AC_CONFIG_HEADER(include/asterisk/autoconfig.h) | ||||
| AC_CONFIG_HEADERS([include/asterisk/autoconfig.h]) | ||||
|  | ||||
| # Note: AC_PROG_CC *must* be specified before AC_USE_SYSTEM_EXTENSIONS or any | ||||
| # other macro that uses the C compiler, or the default order will be used. | ||||
| @@ -816,7 +816,6 @@ AC_CHECK_MEMBERS([struct stat.st_blksize]) | ||||
| AC_CHECK_MEMBERS([struct ucred.uid, struct ucred.cr_uid, struct sockpeercred.uid], [], [], [#include <sys/types.h> | ||||
| #include <sys/socket.h> ]) | ||||
| AC_CHECK_MEMBERS([struct ifreq.ifr_ifru.ifru_hwaddr], [], [], [#include <net/if.h>]) | ||||
| AC_HEADER_TIME | ||||
| AC_STRUCT_TM | ||||
| AC_C_VOLATILE | ||||
| AC_CHECK_TYPES([ptrdiff_t]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user