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

📄 configure.in

📁 This version of dialog, formerly known as cdialog is based on the Debian package for dialog 0.9a (se
💻 IN
字号:
dnl $Id: configure.in,v 1.35 2003/11/24 01:12:30 tom Exp $dnl Process this file with autoconf to produce a configure script.dnlAC_PREREQ(2.13.20020210)AC_INIT(dialog.h)AC_CONFIG_HEADER(dlg_config.h:config.hin)CF_VERSION_INFO(dialog)DESTDIR=AC_SUBST(DESTDIR)dnldnl Checks for programs.dnlAC_PROG_CCAC_PROG_CPPAC_PROG_GCC_TRADITIONALAC_PROG_MAKE_SETAC_PROG_RANLIBAC_PROG_INSTALLdnl needed for CF_WITH_LIBTOOLAC_CHECK_TOOL(AR, ar, ar)AC_ISC_POSIXAC_C_CONSTCF_MAKEFLAGSCF_MAKE_TAGSCF_DISABLE_ECHOCF_PROG_EXTCF_LIB_PREFIXCF_XOPEN_SOURCEAC_ARG_WITH(warnings,[  --with-warnings         turn on gcc warnings, for debugging],[	CF_GCC_ATTRIBUTES	CF_GCC_WARNINGS])dnldnl Checks for libraries.dnlCF_BUNDLED_INTL(makefile,enable)CF_MATH_LIB(,sqrt(x))CF_WITH_DBMALLOCCF_WITH_DMALLOCCF_WITH_LIBTOOLif test "$with_libtool" = "yes" ; then	OBJEXT="lo"fiuse_ncurses=noAC_ARG_WITH(ncurses,	[  --with-ncurses          compile/link with ncurses library],	[use_ncurses=ncurses])AC_ARG_WITH(ncursesw,	[  --with-ncursesw         compile/link with wide-char ncurses library],	[use_ncurses=ncursesw])if test $use_ncurses != no ; then	cf_wide_curses=yes	if test $use_ncurses = ncursesw ; then		CF_UTF8_LIB	fi	CF_NCURSES_CPPFLAGS($use_ncurses)	CF_NCURSES_LIBS($use_ncurses)else	cf_wide_curses=no	CF_CURSES_CPPFLAGS	CF_NCURSES_VERSION	CF_CURSES_LIBSfiEXTRAOBJS=""cf_all_widgets=yesCF_ARG_MSG_ENABLE([if you want config-file support],	rc-file,	[  --disable-rc-file       do not include config-file support],	[EXTRAOBJS="$EXTRAOBJS rc\$o"	 AC_DEFINE(HAVE_RC_FILE)],,$cf_all_widgets)CF_ARG_MSG_ENABLE([if you want Xdialog-style dialogs],	Xdialog,	[  --disable-Xdialog       do not include Xdialog-style dialogs],	[EXTRAOBJS="$EXTRAOBJS calendar\$o fselect\$o timebox\$o"	 AC_DEFINE(HAVE_XDIALOG)],,$cf_all_widgets)CF_ARG_MSG_ENABLE([if you want the form dialog],	form,	[  --disable-form          do not include the form dialog],	[EXTRAOBJS="$EXTRAOBJS formbox\$o"	 AC_DEFINE(HAVE_FORMBOX)],,$cf_all_widgets)CF_ARG_MSG_ENABLE([if you want the gauge dialog],	gauge,	[  --disable-gauge         do not include the gauge dialog],	[EXTRAOBJS="$EXTRAOBJS guage\$o"	 AC_DEFINE(HAVE_GAUGE)],,$cf_all_widgets)CF_ARG_MSG_ENABLE([if you want the tailbox dialog],	tailbox,	[  --disable-tailbox       do not include the tailbox dialog],	[EXTRAOBJS="$EXTRAOBJS tailbox\$o"	 AC_DEFINE(HAVE_TAILBOX)],,$cf_all_widgets)CF_ARG_MSG_ENABLE([if you want the wide-curses features],	widec,	[  --enable-widec          enable wide-curses features],	[AC_DEFINE(USE_WIDE_CURSES)],,$cf_wide_curses)AC_SUBST(EXTRAOBJS)dnldnl Checks for header files.dnlAC_HEADER_STDCAC_HEADER_TIMEAC_HEADER_DIRENTAC_CHECK_HEADERS(unistd.h)CF_CURSES_TERM_Hdnldnl Checks for library functions.dnlAC_TYPE_SIGNALAC_CHECK_FUNCS(\strcasecmp \waitpid \)CF_CURSES_FUNCS(\getbegx \getbegy \getbegyx \getcurx \getcury \getmaxx \getmaxy \getmaxyx \getparx \getpary \getparyx \wget_wch \)AC_CHECK_FUNC(start_color,[AC_DEFINE(HAVE_COLOR)])CF_CURSES_CHTYPECF_FUNC_WAITAC_TRY_LINK([#include <locale.h>],[setlocale(LC_ALL, "")],[AC_DEFINE(HAVE_SETLOCALE)])AC_OUTPUT(makefile $SUB_MAKEFILE samples/install/makefile,,,sort -u)

⌨️ 快捷键说明

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