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

📄 configure.in

📁 新的radius程序
💻 IN
字号:
AC_INIT(sql_firebird.c)AC_REVISION($Revision: 1.1.2.1 $)AC_DEFUN(modname,[rlm_sql_firebird])AC_PROG_CCAC_PROG_CPPAC_ARG_WITH(firebird-include-dir,[  --with-firebird-include-dir=DIR       Directory where the firebird includes may be found ],[ firebird_include_dir="$withval" ])AC_ARG_WITH(firebird-lib-dir,[  --with-firebird-lib-dir=DIR       Directory where the firebird libraries may be found ],[ firebird_lib_dir="$withval" ])AC_ARG_WITH(firebird-dir,[  --with-firebird-dir=DIR       Base directory where firebird is installed ],[ firebird_lib_dir="$withval/lib"  firebird_include_dir="$withval/include"])if test x$with_[]modname != xno; then	targetname=modname   # we might change this later.	AC_MSG_CHECKING([for ibase.h])	AC_TRY_COMPILE([#include <ibase.h>], [int a = 1;],		FIREBIRD_INCLUDE=" ",		FIREBIRD_INCLUDE=	)	if test "x$FIREBIRD_INCLUDE" = "x"; then		old_CFLAGS="$CFLAGS"		for try in /usr/local/include $firebird_include_dir; do			CFLAGS="$old_CFLAGS -I$try"			AC_TRY_COMPILE([#include <ibase.h>], [int a = 1;],				FIREBIRD_INCLUDE="-I$try",				FIREBIRD_INCLUDE=			)			if test "x$FIREBIRD_INCLUDE" != "x"; then				break;			fi		done		CFLAGS="$old_CFLAGS"	fi	if test "x$FIREBIRD_INCLUDE" = "x"; then		AC_MSG_RESULT(no)		AC_MSG_WARN([firebird headers not found.  Use --with-firebird-include-dir=<path>.])		targetname=   # disabled module	else		sql_firebird_cflags="${sql_firebird_cflags} ${FIREBIRD_INCLUDE}"		AC_MSG_RESULT(yes)  		AC_MSG_CHECKING([for isc_attach_database -l$GDS])		old_LIBS="$LIBS"		for try in /usr/lib $firebird_lib_dir; do			LIBS="$old_LIBS -L$try -lfbclient"			AC_TRY_LINK([extern char isc_attach_database();], [isc_attach_database()],				FIREBIRD_LIBS="-L$try -lfbclient",				FIREBIRD_LIBS=			)			if test "x$FIREBIRD_LIBS" != "x"; then				break;			fi		done		LIBS="$old_LIBS"		dnl #  If one or the other isn't found, disable them both..		dnl #  If both are found, enable them both.		if test "x$FIREBIRD_LIBS" = "x"; then			AC_MSG_RESULT(no)			FIREBIRD_INCLUDE=			AC_MSG_WARN([firebird libraries not found.  Use --with-firebird-lib-dir=<path>.])			targetname=   # disabled module		else			AC_MSG_RESULT(yes) 			sql_firebird_ldflags="$sql_firebird_ldflags $FIREBIRD_LIBS"		fi	fi	sql_firebird_ldflags="$sql_firebird_ldflags $LIBS"	if test "x$targetname" = "x"; then		AC_MSG_WARN([sql submodule 'firebird' disabled])	fielse	targetname=	echo \*\*\* module modname is disabled.fiAC_SUBST(sql_firebird_ldflags)AC_SUBST(sql_firebird_cflags)AC_SUBST(targetname)AC_OUTPUT(Makefile)

⌨️ 快捷键说明

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