⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.in

📁 bind 9.3结合mysql数据库
💻 IN
📖 第 1 页 / 共 4 页
字号:
#include <grp.h>voidsetgrent(void) {}],[return (0);],SETGRENT_VOID="#define SETGRENT_VOID 1",SETGRENT_VOID="#undef SETGRENT_VOID")AC_SUBST(SETGRENT_VOID)AC_CHECK_FUNC(getnetgrent_r,AC_TRY_COMPILE([#undef __USE_MISC#define __USE_MISC#include <netdb.h>int getnetgrent_r(char **m, char **u, char **d, char *b, int l) {}],[return (0);],[NGR_R_ARGS="#define NGR_R_ARGS char *buf, int buflen"NGR_R_BAD="#define NGR_R_BAD (0)"NGR_R_COPY="#define NGR_R_COPY buf, buflen"NGR_R_COPY_ARGS="#define NGR_R_COPY_ARGS NGR_R_ARGS"NGR_R_OK="#define NGR_R_OK 1"NGR_R_RETURN="#define NGR_R_RETURN int"],AC_TRY_COMPILE([#undef __USE_MISC#define __USE_MISC#include <netdb.h>int getnetgrent_r(char **m, char **u, char **d, char *b, size_t l) {}],[return (0);],[NGR_R_ARGS="#define NGR_R_ARGS char *buf, size_t buflen"NGR_R_BAD="#define NGR_R_BAD (0)"NGR_R_COPY="#define NGR_R_COPY buf, buflen"NGR_R_COPY_ARGS="#define NGR_R_COPY_ARGS NGR_R_ARGS"NGR_R_OK="#define NGR_R_OK 1"NGR_R_RETURN="#define NGR_R_RETURN int"],AC_TRY_COMPILE([#undef __USE_MISC#define __USE_MISC#include <netdb.h>extern int getnetgrent_r( char **, char **, char **, void **);],[return (0);],[NGR_R_ARGS="#define NGR_R_ARGS void **buf"NGR_R_BAD="#define NGR_R_BAD (0)"NGR_R_COPY="#define NGR_R_COPY buf"NGR_R_COPY_ARGS="#define NGR_R_COPY_ARGS NGR_R_ARGS"NGR_R_OK="#define NGR_R_OK 1"NGR_R_RETURN="#define NGR_R_RETURN int"NGR_R_PRIVATE="#define NGR_R_PRIVATE 1"],))),NGR_R_ARGS="#define NGR_R_ARGS char *buf, int buflen"NGR_R_BAD="#define NGR_R_BAD (0)"NGR_R_COPY="#define NGR_R_COPY buf, buflen"NGR_R_COPY_ARGS="#define NGR_R_COPY_ARGS NGR_R_ARGS"NGR_R_OK="#define NGR_R_OK 1"NGR_R_RETURN="#define NGR_R_RETURN int")AC_SUBST(NGR_R_ARGS)AC_SUBST(NGR_R_BAD)AC_SUBST(NGR_R_COPY)AC_SUBST(NGR_R_COPY_ARGS)AC_SUBST(NGR_R_OK)AC_SUBST(NGR_R_RETURN)AC_SUBST(NGR_R_PRIVATE)AC_CHECK_FUNC(endnetgrent_r,NGR_R_END_RESULT="#define NGR_R_END_RESULT(x)  return (x)"NGR_R_END_RETURN="#define NGR_R_END_RETURN int"NGR_R_ENT_ARGS="#define NGR_R_ENT_ARGS NGR_R_ARGS",NGR_R_END_RESULT="#define NGR_R_END_RESULT(x)  /*empty*/"NGR_R_END_RETURN="#define NGR_R_END_RETURN void"NGR_R_ENT_ARGS="#undef NGR_R_ENT_ARGS /*empty*/"AC_DEFINE(NEED_ENDNETGRENT_R))AC_SUBST(NGR_R_END_RESULT)AC_SUBST(NGR_R_END_RETURN)AC_SUBST(NGR_R_ENT_ARGS)AC_CHECK_FUNC(setnetgrent_r,[case "$host" in*bsdi*)	NGR_R_SET_RESULT="#undef NGR_R_SET_RESULT /*empty*/"	NGR_R_SET_RETURN="#define NGR_R_SET_RETURN void"	;;*)	NGR_R_SET_RESULT="#define NGR_R_SET_RESULT NGR_R_OK"	NGR_R_SET_RETURN="#define NGR_R_SET_RETURN int"	;;esac],NGR_R_SET_RESULT="#undef NGR_R_SET_RESULT /*empty*/"NGR_R_SET_RETURN="#define NGR_R_SET_RETURN void")AC_SUBST(NGR_R_SET_RESULT)AC_SUBST(NGR_R_SET_RETURN)AC_CHECK_FUNC(innetgr_r,,AC_DEFINE(NEED_INNETGR_R))AC_CHECK_FUNC(getprotoent_r,AC_TRY_COMPILE([#undef __USE_MISC#define __USE_MISC#include <netdb.h>struct protoent *getprotoent_r(struct protoent *result,		 char *buffer, int buflen) {}],[return (0);],[PROTO_R_ARGS="#define PROTO_R_ARGS char *buf, int buflen"PROTO_R_BAD="#define PROTO_R_BAD NULL"PROTO_R_COPY="#define PROTO_R_COPY buf, buflen"PROTO_R_COPY_ARGS="#define PROTO_R_COPY_ARGS PROTO_R_ARGS"PROTO_R_OK="#define PROTO_R_OK pptr"PROTO_R_SETANSWER="#undef PROTO_R_SETANSWER"PROTO_R_RETURN="#define PROTO_R_RETURN struct protoent *"],AC_TRY_COMPILE([#undef __USE_MISC#define __USE_MISC#include <netdb.h>int getprotoent_r (struct protoent *, char *, size_t, struct protoent **);],[return (0);],[PROTO_R_ARGS="#define PROTO_R_ARGS char *buf, size_t buflen, struct protoent **answerp"PROTO_R_BAD="#define PROTO_R_BAD ERANGE"PROTO_R_COPY="#define PROTO_R_COPY buf, buflen"PROTO_R_COPY_ARGS="#define PROTO_R_COPY_ARGS char *buf, size_t buflen"PROTO_R_OK="#define PROTO_R_OK 0"PROTO_R_SETANSWER="#define PROTO_R_SETANSWER 1"PROTO_R_RETURN="#define PROTO_R_RETURN int"],)),PROTO_R_ARGS="#define PROTO_R_ARGS char *buf, int buflen"PROTO_R_BAD="#define PROTO_R_BAD NULL"PROTO_R_COPY="#define PROTO_R_COPY buf, buflen"PROTO_R_COPY_ARGS="#define PROTO_R_COPY_ARGS PROTO_R_ARGS"PROTO_R_OK="#define PROTO_R_OK pptr"PROTO_R_SETANSWER="#undef PROTO_R_SETANSWER"PROTO_R_RETURN="#define PROTO_R_RETURN struct protoent *")AC_SUBST(PROTO_R_ARGS)AC_SUBST(PROTO_R_BAD)AC_SUBST(PROTO_R_COPY)AC_SUBST(PROTO_R_COPY_ARGS)AC_SUBST(PROTO_R_OK)AC_SUBST(PROTO_R_SETANSWER)AC_SUBST(PROTO_R_RETURN)AC_CHECK_FUNC(endprotoent_r,AC_TRY_COMPILE([#undef _REENTRANT#define _REENTRANT#undef __USE_MISC#define __USE_MISC#include <netdb.h>void endprotoent_r(void);],,[PROTO_R_END_RESULT="#define PROTO_R_END_RESULT(x) /*empty*/"PROTO_R_END_RETURN="#define PROTO_R_END_RETURN void"PROTO_R_ENT_ARGS="#undef PROTO_R_ENT_ARGS"],),PROTO_R_END_RESULT="#define PROTO_R_END_RESULT(x) /*empty*/"PROTO_R_END_RETURN="#define PROTO_R_END_RETURN void"PROTO_R_ENT_ARGS="#undef PROTO_R_ENT_ARGS /*empty*/")AC_SUBST(PROTO_R_END_RESULT)AC_SUBST(PROTO_R_END_RETURN)AC_SUBST(PROTO_R_ENT_ARGS)AC_CHECK_FUNC(setprotoent_r,AC_TRY_COMPILE([#undef _REENTRANT#define _REENTRANT#undef __USE_MISC#define __USE_MISC#include <netdb.h>void               setprotoent_r __P((int));],[],PROTO_R_SET_RESULT="#undef PROTO_R_SET_RESULT"PROTO_R_SET_RETURN="#define PROTO_R_SET_RETURN void",),PROTO_R_SET_RESULT="#undef PROTO_R_SET_RESULT"PROTO_R_SET_RETURN="#define PROTO_R_SET_RETURN void")AC_SUBST(PROTO_R_SET_RESULT)AC_SUBST(PROTO_R_SET_RETURN)AC_CHECK_FUNC(getpwent_r,AC_TRY_COMPILE([#include <sys/types.h>#include <pwd.h>struct passwd *getpwent_r(struct passwd *pwptr, char *buf, int buflen) {}],[],PASS_R_ARGS="#define PASS_R_ARGS char *buf, int buflen"PASS_R_BAD="#define PASS_R_BAD NULL"PASS_R_COPY="#define PASS_R_COPY buf, buflen"PASS_R_COPY_ARGS="#define PASS_R_COPY_ARGS PASS_R_ARGS"PASS_R_OK="#define PASS_R_OK pwptr"PASS_R_RETURN="#define PASS_R_RETURN struct passwd *",),PASS_R_ARGS="#define PASS_R_ARGS char *buf, int buflen"PASS_R_BAD="#define PASS_R_BAD NULL"PASS_R_COPY="#define PASS_R_COPY buf, buflen"PASS_R_COPY_ARGS="#define PASS_R_COPY_ARGS PASS_R_ARGS"PASS_R_OK="#define PASS_R_OK pwptr"PASS_R_RETURN="#define PASS_R_RETURN struct passwd *"AC_DEFINE(NEED_GETPWENT_R))AC_SUBST(PASS_R_ARGS)AC_SUBST(PASS_R_BAD)AC_SUBST(PASS_R_COPY)AC_SUBST(PASS_R_COPY_ARGS)AC_SUBST(PASS_R_OK)AC_SUBST(PASS_R_RETURN)AC_CHECK_FUNC(endpwent_r,AC_TRY_COMPILE([#include <pwd.h>void endpwent_r(FILE **pwfp);], ,PASS_R_END_RESULT="#define PASS_R_END_RESULT(x) /*empty*/"PASS_R_END_RETURN="#define PASS_R_END_RETURN void"PASS_R_ENT_ARGS="#define PASS_R_ENT_ARGS FILE **pwptr",),PASS_R_END_RESULT="#define PASS_R_END_RESULT(x) /*empty*/"PASS_R_END_RETURN="#define PASS_R_END_RETURN void"PASS_R_ENT_ARGS="#undef PASS_R_ENT_ARGS"AC_DEFINE(NEED_ENDPWENT_R))AC_SUBST(PASS_R_END_RESULT)AC_SUBST(PASS_R_END_RETURN)AC_SUBST(PASS_R_ENT_ARGS)AC_CHECK_FUNC(setpassent_r,,AC_DEFINE(NEED_SETPASSENT_R))AC_CHECK_FUNC(setpassent,,AC_DEFINE(NEED_SETPASSENT))AC_CHECK_FUNC(setpwent_r,AC_TRY_COMPILE([#include <pwd.h>void setpwent_r(FILE **pwfp);], ,PASS_R_SET_RESULT="#undef PASS_R_SET_RESULT /* empty */"PASS_R_SET_RETURN="#define PASS_R_SET_RETURN int",AC_TRY_COMPILE([#include <pwd.h>int setpwent_r(FILE **pwfp);], ,PASS_R_SET_RESULT="#define PASS_R_SET_RESULT 0"PASS_R_SET_RETURN="#define PASS_R_SET_RETURN int",)),PASS_R_SET_RESULT="#undef PASS_R_SET_RESULT /*empty*/"PASS_R_SET_RETURN="#define PASS_R_SET_RETURN void"AC_DEFINE(NEED_SETPWENT_R))AC_SUBST(PASS_R_SET_RESULT)AC_SUBST(PASS_R_SET_RETURN)AC_CHECK_FUNC(getpwnam_r,,AC_DEFINE(NEED_GETPWNAM_R))AC_CHECK_FUNC(getpwuid_r,,AC_DEFINE(NEED_GETPWUID_R))AC_CHECK_FUNC(getservent_r,AC_TRY_COMPILE([#undef __USE_MISC#define __USE_MISC#include <netdb.h>struct servent *getservent_r(struct servent *result, char *buffer, int buflen) {}],[return (0);],[SERV_R_ARGS="#define SERV_R_ARGS char *buf, int buflen"SERV_R_BAD="#define SERV_R_BAD NULL"SERV_R_COPY="#define SERV_R_COPY buf, buflen"SERV_R_COPY_ARGS="#define SERV_R_COPY_ARGS SERV_R_ARGS"SERV_R_OK="#define SERV_R_OK sptr"SERV_R_SETANSWER="#undef SERV_R_SETANSWER"SERV_R_RETURN="#define SERV_R_RETURN struct servent *"],AC_TRY_COMPILE([#undef __USE_MISC#define __USE_MISC#include <netdb.h>intgetservent_r (struct servent *, char *, size_t, struct servent **);],[return (0);],[SERV_R_ARGS="#define SERV_R_ARGS char *buf, size_t buflen, struct servent **answerp"SERV_R_BAD="#define SERV_R_BAD ERANGE"SERV_R_COPY="#define SERV_R_COPY buf, buflen"SERV_R_COPY_ARGS="#define SERV_R_COPY_ARGS char *buf, size_t buflen"SERV_R_OK="#define SERV_R_OK (0)"SERV_R_SETANSWER="#define SERV_R_SETANSWER 1"SERV_R_RETURN="#define SERV_R_RETURN int"],)),SERV_R_ARGS="#define SERV_R_ARGS char *buf, int buflen"SERV_R_BAD="#define SERV_R_BAD NULL"SERV_R_COPY="#define SERV_R_COPY buf, buflen"SERV_R_COPY_ARGS="#define SERV_R_COPY_ARGS SERV_R_ARGS"SERV_R_OK="#define SERV_R_OK sptr"SERV_R_SETANSWER="#undef SERV_R_SETANSWER"SERV_R_RETURN="#define SERV_R_RETURN struct servent *")AC_SUBST(SERV_R_ARGS)AC_SUBST(SERV_R_BAD)AC_SUBST(SERV_R_COPY)AC_SUBST(SERV_R_COPY_ARGS)AC_SUBST(SERV_R_OK)AC_SUBST(SERV_R_SETANSWER)AC_SUBST(SERV_R_RETURN)AC_CHECK_FUNC(endservent_r,AC_TRY_COMPILE([#undef _REENTRANT#define _REENTRANT#undef __USE_MISC#define __USE_MISC#include <netdb.h>void endservent_r(void);],,[SERV_R_END_RESULT="#define SERV_R_END_RESULT(x) /*empty*/"SERV_R_END_RETURN="#define SERV_R_END_RETURN void "SERV_R_ENT_ARGS="#undef SERV_R_ENT_ARGS /*empty*/"],),SERV_R_END_RESULT="#define SERV_R_END_RESULT(x) /*empty*/"SERV_R_END_RETURN="#define SERV_R_END_RETURN void "SERV_R_ENT_ARGS="#undef SERV_R_ENT_ARGS /*empty*/")AC_SUBST(SERV_R_END_RESULT)AC_SUBST(SERV_R_END_RETURN)AC_SUBST(SERV_R_ENT_ARGS)AC_CHECK_FUNC(setservent_r,AC_TRY_COMPILE([#undef _REENTRANT#define _REENTRANT#undef __USE_MISC#define __USE_MISC#include <netdb.h>void            setservent_r(int);],,[SERV_R_SET_RESULT="#undef SERV_R_SET_RESULT"SERV_R_SET_RETURN="#define SERV_R_SET_RETURN void"],),SERV_R_SET_RESULT="#undef SERV_R_SET_RESULT"SERV_R_SET_RETURN="#define SERV_R_SET_RETURN void")AC_SUBST(SERV_R_SET_RESULT)AC_SUBST(SERV_R_SET_RETURN)AC_TRY_COMPILE([#undef _REENTRANT#define _REENTRANT#undef __USE_MISC#define __USE_MISC#include <unistd.h>#include <netdb.h>int innetgr(const char *netgroup, const char *host, const char *user, const char *domain);],,[INNETGR_ARGS="#undef INNETGR_ARGS"],AC_TRY_COMPILE([#undef _REENTRANT#define _REENTRANT#undef __USE_MISC#define __USE_MISC#include <unistd.h>#include <netdb.h>int innetgr(char *netgroup, char *host, char *user, char *domain);],,[INNETGR_ARGS="#define INNETGR_ARGS char *netgroup, char *host, char *user, char *domain"],))AC_TRY_COMPILE([#undef _REENTRANT#define _REENTRANT#undef __USE_MISC#define __USE_MISC#include <unistd.h>#include <netdb.h>void setnetgrent(const char *);],,[SETNETGRENT_ARGS="#undef SETNETGRENT_ARGS"],AC_TRY_COMPILE([#undef _REENTRANT#define _REENTRANT#undef __USE_MISC#define __USE_MISC#include <unistd.h>#include <netdb.h>void setnetgrent(char *);],,[SETNETGRENT_ARGS="#define SETNETGRENT_ARGS char *netgroup"],))AC_SUBST(SETNETGRENT_ARGS)AC_SUBST(INNETGR_ARGS)## Random remaining OS-specific issues involving compiler warnings.# XXXDCL print messages to indicate some compensation is being done?#AC_SUBST(ISC_PLATFORM_BRACEPTHREADONCEINIT)ISC_PLATFORM_BRACEPTHREADONCEINIT="#undef ISC_PLATFORM_BRACEPTHREADONCEINIT"BROKEN_IN6ADDR_INIT_MACROS="#undef BROKEN_IN6ADDR_INIT_MACROS"case "$host" in	*-bsdi3.1*)		hack_shutup_sputaux=yes		;;	*-bsdi4.0*)		hack_shutup_sigwait=yes		hack_shutup_sputaux=yes		hack_shutup_in6addr_init_macros=yes		;;	*-bsdi4.1*)		hack_shutup_stdargcast=yes		;;	*-solaris2.8)		hack_shutup_pthreadonceinit=yes		hack_shutup_in6addr_init_macros=yes		;;esaccase "$hack_shutup_pthreadonceinit" in	yes)		#		# Shut up PTHREAD_ONCE_INIT unbraced initializer warnings.		#		ISC_PLATFORM_BRACEPTHREADONCEINIT="#define ISC_PLATFORM_BRACEPTHREADONCEINIT 1"		;;esaccase "$hack_shutup_sigwait" in	yes)		#		# Shut up a -Wmissing-prototypes warning for sigwait().		#		AC_DEFINE(SHUTUP_SIGWAIT)		;;esaccase "$hack_shutup_sputaux" in	yes)		#		# Shut up a -Wmissing-prototypes warning from <stdio.h>.		#		AC_DEFINE(SHUTUP_SPUTAUX)		;;esaccase "$hack_shutup_stdargcast" in	yes)		#		# Shut up a -Wcast-qual warning from va_start().		#		AC_DEFINE(SHUTUP_STDARG_CAST)		;;esaccase "$hack_shutup_in6addr_init_macros" in	yes)		AC_DEFINE(BROKEN_IN6ADDR_INIT_MACROS)		;;esac## Substitutions#AC_SUBST(BIND9_TOP_BUILDDIR)BIND9_TOP_BUILDDIR=`pwd`AC_SUBST_FILE(BIND9_INCLUDES)BIND9_INCLUDES=$BIND9_TOP_BUILDDIR/make/includesAC_SUBST_FILE(BIND9_MAKE_RULES)BIND9_MAKE_RULES=$BIND9_TOP_BUILDDIR/make/rules. $srcdir/../../versionBIND9_VERSION="VERSION=${MAJORVER}.${MINORVER}.${PATCHVER}${RELEASETYPE}${RELEASEVER}"AC_SUBST(BIND9_VERSION)AC_SUBST_FILE(LIBBIND_API)LIBBIND_API=$srcdir/apiAC_OUTPUT(	make/rules	make/mkdep	make/includes	Makefile	bsd/Makefile	dst/Makefile	include/Makefile	inet/Makefile	irs/Makefile	isc/Makefile	nameser/Makefile	port_after.h	port_before.h	resolv/Makefile	port/Makefile	${PORT_DIR}/Makefile	${PORT_INCLUDE}/Makefile)# Tell Emacs to edit this file in shell mode.# Local Variables:# mode: sh# End:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -