LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 670|回复: 0

谁能帮我解释configre.in部分片段中的语句吗?

[复制链接]
发表于 2003-12-8 19:17:31 | 显示全部楼层 |阅读模式
configre.in部分片段:

dnl support old-style
AC_ARG_WITH(dbdir,
[ --with-dbdir=DIR Berkeley DB files are in prefix DIR],
with_bdb_lib="$withval/lib"; with_bdb_inc="$withval/include",
with_bdb_lib=none; with_bdb_inc=none)

CYRUS_BERKELEY_DB_CHK()

if test "$dblib" = "no"; then
AC_ERROR([this version requires Berkeley DB 3.x or later.
(Get it from http://www.sleepycat.com/). You may need to suppply the
--with-bdb-libdir or --with-bdb-incdir configure options.])
fi

if test "$with_bdb_lib" != "none"; then
CMU_ADD_LIBPATH($with_bdb_lib)
fi
LIBS="${LIBS} ${BDB_LIBADD}"
CPPFLAGS="${BDB_INCADD} ${CPPFLAGS}"

dnl End Berkeley DB Detection
谁能帮我逐句解释一下,这个问题困扰我很久了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表