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

📄 configure.ac

📁 Linux环境下手写输入程序。手写输入
💻 AC
字号:
#                                               -*- Autoconf -*-# Process this file with autoconf to produce a configure script.AC_PREREQ(2.61)AC_INIT([CellWriter], [1.3.4], [risujin@risujin.org])AM_INIT_AUTOMAKEAC_CONFIG_SRCDIR([src/main.c])AC_CONFIG_HEADER([config.h])# URL launched when Help button is pressedAC_ARG_VAR([CELLWRITER_URL], [URL for help website])if test "x${CELLWRITER_URL}" == "x"; then        AC_DEFINE(CELLWRITER_URL, "http://risujin.org/cellwriter",                  [URL launched when the Help button is clicked])fi# Icon path for the program, installation paths are controlled in Makefile.amAC_DEFINE(ICON_PATH, ["/icons/hicolor/scalable/apps/"],          [Path to icon directory (with trailing slash)])# Checks for programsAC_PROG_CCAC_PROG_INSTALLAC_PROG_AWKAC_PROG_CPPAC_PROG_MKDIR_P# Xtest extensionAC_PATH_XAC_CHECK_LIB(Xtst, XTestFakeKeyEvent, [],             [AC_ERROR(XTest library not found or outdated!                  Please install the latest libxtst-dev package.)])# Math libraryAC_CHECK_LIB(m, atan2, [], [AC_ERROR(Math library not installed or invalid!)])# GTK+2PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8)AC_SUBST(GTK_CFLAGS)AC_SUBST(GTK_LIBS)# Only use GtkStatusIcon if we have it and want itAC_ARG_WITH(gtkstatusicon,            AC_HELP_STRING([--without-gtkstatusicon],	                   [use libegg status icon (GTK < 2.10)]))if test x$with_gtkstatusicon != xno; then        AC_CHECK_LIB(gtk-x11-2.0, gtk_status_icon_new_from_file, [],                     [with_gtkstatusicon=no])fiif test x$with_gtkstatusicon = xno; then        AC_MSG_NOTICE([using libegg tray icon])        AC_DEFINE(USING_LIBEGG, [],                  [Using LibEgg tray icon instead of GtkStatusIcon])fiAM_CONDITIONAL([GTKSTATUSICON], [test x$with_gtkstatusicon != xno])# GNOME2AC_ARG_WITH(gnome, AC_HELP_STRING([--without-gnome],	                          [don't build with GNOME support]))if test "x$with_gnome" != "xno"; then        AC_CHECK_LIB(gnome-2, gnome_url_show,                     [PKG_CHECK_MODULES(GNOME, libgnome-2.0,                                        [AC_DEFINE(HAVE_GNOME, [],                                                   [GNOME support])])                      AC_SUBST(GNOME_CFLAGS)                      AC_SUBST(GNOME_LIBS)],                     [AC_MSG_NOTICE(GNOME library not found or outdated!           Please install the latest libgnome2-dev package.)])else        AC_MSG_NOTICE([GNOME support disabled with --without-gnome])fi# Checks for header filesAC_HEADER_STDC# Checks for typedefs, structures, and compiler characteristicsAC_C_CONSTAC_C_INLINEAC_TYPE_SIZE_T# Checks for library functionsAC_TYPE_SIGNALAC_FUNC_MALLOCAC_FUNC_REALLOCAC_CHECK_FUNCS([memmove memset sqrt strcasecmp])AC_OUTPUT(Makefile)

⌨️ 快捷键说明

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