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

📄 configure.in

📁 语音Email/语音Modem程序包
💻 IN
字号:
dnl Process this file with autoconf to produce a configure script.AC_INIT(src/Controller.h)dnl Checks for programs.CXX=g++AC_PROG_CXXMSQL_HOME=/usr/local/HughesMYSQL_HOME=/usr/local/mysqlPGSQL_HOME=/usr/local/pgsqldbase=nodincs=gincs=modem=/dev/modemdsp=/dev/dspmodem_reset=atzmodem_init="at\#cid=1"dlibs=glibs=region=RegionUSAmodem_type=StdModemMTYPE=stdREGTYPE=usadefs=resultset=AC_SUBST(dbase)AC_SUBST(resultset)AC_SUBST(dincs)AC_SUBST(gincs)AC_SUBST(dlibs)AC_SUBST(glibs)AC_SUBST(modem)AC_SUBST(modem_reset)AC_SUBST(modem_init)AC_SUBST(dsp)AC_SUBST(modem_type)AC_SUBST(region)AC_SUBST(defs)AC_ARG_WITH(dbase,	[  --with-dbase=DATABASE 	specify the database used ])if test "$with_dbase" != ""; then	DBASE=$with_dbaseelse	PATH=$PATH:$MSQL_HOME/bin:$MYSQL_HOME/bin:PGSQL_HOME/bin	AC_CHECK_PROGS(DBASE, mysql msql pgsql, no)ficase "$DBASE" in	msql)		dbase="MsqlDatabase"		resultset="MsqlResultSet"		dincs="-I$MSQL_HOME/include"		dlibs="-L$MSQL_HOME/lib -lmsql"		defs="$defs -DMSQL_DBASE"		;;	mysql)		dbase="MysqlDatabase"		resultset="MysqlResultSet"		dincs="-I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/include/mysql"		dlibs="-L/usr/local/lib/mysql -lmysqlclient"		defs="$defs -DMYSQL_DBASE"		;;	pgsql)		dbase="PgsqlDatabase"		resultset="PgsqlResultSet"		dincs="-I/usr/include/postgresql -I/usr/local/include/postgresql"		dlibs="-L/usr/local/lib/postgresql -L/usr/lib/postgresql -lpq -lcrypt"		defs="$defs -DPGSQL_DBASE"		;;	no)		echo "You need either mSQL, mySQL, or PostgreSQL."		exit 1		;;esacAC_ARG_WITH(modem_type,	[  --with-modem-type=TYPE 	specify the modem type used (std, isdn, sport) ])if test "$with_modem_type" != ""; then	MTYPE=$with_modem_typeficase "$MTYPE" in	std)		modem_type="StdModem"		modem="/dev/modem"		defs="$defs -DSTD_MODEM -DANSWER_RING=4"		;;	isdn)		modem_type="IsdnModem"		modem="/var/log/messages"		defs="$defs -DISDN_MODEM"		;;	sport)		modem_type="SportsterVoice"		modem="/dev/modem"		defs="$defs -DSPORTSTER_MODEM -DVOICE -DANSWER_RING=4"		AC_ARG_WITH(toast_path,			[  --with-toast-path=DATABASE 	specify the database used ])		if test "$with_toast_path" != ""; then			TOAST_PATH=$with_toast_path		else			PATH=$PATH:$MSQL_HOME/bin:$MYSQL_HOME/bin:PGSQL_HOME/bin			AC_PATH_PROG(TOAST_PATH, toast, no)		fi		case "$TOAST_PATH" in			no)				echo "You need the toast binary.  Put it in your PATH or use the --with-toast-path= option."				exit 1				;;		esac		defs="$defs -DTOAST_PATH=\\\"$TOAST_PATH\\\""		;;esacAC_ARG_WITH(region,	[  --with-region=TYPE 	specify the regional settings to use (usa, isdn) ])if test "$with_region" != ""; then	REGTYPE=$with_regionficase "$REGTYPE" in	usa)		region="RegionUSA"		defs="$defs -DREGION_USA"		;;	isdn)		region="RegionIsdn"		defs="$defs -DREGION_ISDN"		;;esacAC_ARG_WITH(dpass,	[  --with-dbase-password=TYPE 	specify the database PASSWORD to use ])if test "$with_dbase_password" != ""; then	defs="$defs -DDPASS=\\\"$with_dbase_password\\\""fiAC_ARG_WITH(duser,	[  --with-dbase-user=USER 	specify the database USER to use ])if test "$with_dbase_user" != ""; then	defs="$defs -DDUSER=\\\"$with_dbase_user\\\""fiAC_CHECK_PROGS(GTKMM, gtkmm-config, no)if test $GTKMM != "no"; then	gincs=`gtkmm-config --cflags`	glibs=`gtkmm-config --libs`else	echo "You need to have gtkmm-config in your PATH"	exit 1fiGTKMM_VER=`gtkmm-config --version`GTK_VER=`gtk-config --version`dnl Checks for libraries.dnl AC_CHECK_LIB(msql, msqlConnect)dnl Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS(fcntl.h sys/file.h sys/ioctl.h unistd.h sys/poll.h)dnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTdnl Checks for library functions.AC_CHECK_FUNCS(strstr)AC_ARG_WITH(modem,	[  --with-modem=DEVICE	 specify the modem device ])if test "$with_modem" != ""; then	modem=$with_modemfiAC_ARG_WITH(modem_reset,	[  --with-modem-reset=STRING	 specify the modem reset string ])if test "$with_modem_reset" != ""; then	modem_reset=$with_modem_resetfiAC_ARG_WITH(modem_init,	[  --with-modem-init=STRING	 specify the caller ID init string ])if test "$with_modem_init" != ""; then	modem_init=$with_modem_initfiAC_OUTPUT(src/Makefile)

⌨️ 快捷键说明

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