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

📄 configure.in

📁 使用最广泛的radius的linux的源码
💻 IN
字号:
AC_PREREQ([2.53])AC_INIT(otp_rlm.c)AC_REVISION($Revision: 1.5 $)AC_DEFUN(modname,[rlm_otp])otp_cflags=otp_ldflags=if test x$with_[]modname != xno; then	dnl put configuration checks here.	dnl set $fail to what's missing, on fatal errors.	dnl use AC_MSG_WARN() on important messages.	dnl test for almost-c99 compliant compiler	AC_CHECK_HEADER(inttypes.h, ,		[ fail="$fail inttypes.h" ]	)	dnl ############################################################	dnl # Check for command line options	dnl ############################################################	dnl mostly for openssl	AC_ARG_WITH(rlm-otp-lib-dir,	[  --with-rlm-otp-lib-dir        directory for otp libs],	otp_ldflags="-L$withval $otp_ldflags")	AC_ARG_WITH(rlm-otp-include-dir,	[  --with-rlm-otp-include-dir    directory for otp includes],	otp_cflags="$otp_cflags -I$withval")	dnl extra argument: --openssl-libraries=dir	AC_ARG_WITH(openssl-libraries,	[  --with-openssl-libraries=DIR  directory to look for OpenSSL library files],	otp_ldflags="-L$withval $otp_ldflags")	dnl extra argument: --openssl-includes=dir	AC_ARG_WITH(openssl-includes,	[  --with-openssl-includes=DIR   directory to look for OpenSSL include files],	otp_cflags="$otp_cflags -I$withval")	dnl ############################################################	dnl # Check for libraries	dnl ############################################################	old_LDFLAGS="$LDFLAGS"	LDFLAGS="$otp_ldflags $LDFLAGS"	AC_CHECK_LIB(ssl, SSL_new, [], [ fail="$fail openssl-libs" ])	LDFLAGS="$old_LDFLAGS"	dnl ############################################################	dnl # Check for header files	dnl ############################################################	old_CFLAGS="$CFLAGS"	CFLAGS="$CFLAGS $otp_cflags"	AC_CHECK_HEADERS( \		openssl/des.h \		openssl/hmac.h \		openssl/md4.h \		openssl/md5.h \		openssl/sha.h,		[],		[ fail="$fail openssl-includes" ]	)	CFLAGS="$old_CFLAGS"	targetname=modname     # keep this!  Don't change!else	targetname=            # keep this!  Don't change!	echo \*\*\* module modname is disabled.  # keep this!  Don't change!fidnl  Don't change this section.if test x"$fail" != x""; then	if test x"${enable_strict_dependencies}" = x"yes"; then		AC_MSG_ERROR([set --without-]modname[ to disable it explicitly.])	else		AC_MSG_WARN([silently not building ]modname[.])		AC_MSG_WARN([FAILURE: ]modname[ requires: $fail.])		targetname=""	fifiAC_SUBST(otp_cflags)AC_SUBST(otp_ldflags)AC_SUBST(targetname)  # keep this!  Don't change!AC_OUTPUT(Makefile)  # keep this!  Don't change!

⌨️ 快捷键说明

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