configure.in

来自「radius服务器」· IN 代码 · 共 89 行

IN
89
字号
AC_INIT(rlm_eap_tls.c)AC_REVISION($Revision: 1.9 $)AC_DEFUN(modname,[rlm_eap_tls])fail=SMART_LIBS=SMART_CLFAGS=if test x$with_[]modname != xno; then	AC_PROG_CC	dnl #	dnl # extra argument: --openssl-includes=dir	dnl #	AC_ARG_WITH(openssl-includes,	[  --with-openssl-includes=DIR       Directory to look for OpenSSL include files],	[ case "$withval" in	    *)		rlm_eap_peap_inc_dir="$rlm_eap_peap_inc_dir $withval"		SMART_CFLAGS="$SMART_CFLAGS -I$withval"		;;	  esac ]	)	dnl #	dnl # extra argument: --openssl-libraries=dir	dnl #	AC_ARG_WITH(openssl-libraries,	[  --with-openssl-libraries=DIR      Directory to look for OpenSSL library files],	[ case "$withval" in	    *)		rlm_eap_peap_lib_dir="$rlm_eap_peap_lib_dir $withval"		SMART_LIBS="$SMART_LIBS -L$withval"		;;	  esac ]	)	smart_try_dir=$rlm_eap_peap_inc_dir	AC_SMART_CHECK_INCLUDE(openssl/ssl.h)	if test "x$ac_cv_header_openssl_ssl_h" != "xyes"; then		fail="$fail (openssl/ssl.h)"	fi	smart_try_dir=$rlm_eap_peap_lib_dir	AC_SMART_CHECK_LIB(crypto, DH_new)    if test "x$ac_cv_lib_crypto_DH_new" != "xyes"; then 	    fail="$fail libcrypto"    fi	AC_SMART_CHECK_LIB(ssl, SSL_new)    if test "x$ac_cv_lib_ssl_SSL_new" != "xyes"; then 	    fail="$fail libssl"    fi	AC_CHECK_HEADERS( \		openssl/err.h \		openssl/engine.h \	)	targetname=modnameelse	targetname=	echo \*\*\* module modname is disabled.fiif 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.])		if test x"$headersuggestion" != x; then			AC_MSG_WARN([$headersuggestion]) 		fi		if test x"$libsuggestion" != x; then			AC_MSG_WARN([$libsuggestion]) 		fi		targetname=""	fifieap_tls_ldflags=$SMART_LIBSeap_tls_cflags=$SMART_CFLAGSAC_SUBST(eap_tls_ldflags)AC_SUBST(eap_tls_cflags)AC_SUBST(targetname)AC_CONFIG_HEADER([config.h])AC_OUTPUT(Makefile)

⌨️ 快捷键说明

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