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

📄 configure.in

📁 MINI GUI1.6X源码
💻 IN
字号:
dnl Process this file with autoconf to produce a configure script.AC_PREREQ(2.13)AC_INIT(mginit/mginit.c)dnl ========================================================================dnl needed for cross-compilingAC_CANONICAL_SYSTEMdnl ========================================================================dnl Checks for programs.AC_PROG_MAKE_SETAC_PROG_CCAM_INIT_AUTOMAKE(mde,1.6.8)dnl ========================================================================dnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTdnl ========================================================================dnl Checks for header files.AC_HEADER_STDCAC_HEADER_SYS_WAITAC_HEADER_TIMEAC_CHECK_HEADERS(sys/time.h unistd.h)dnl ========================================================================dnl check for libminiguihave_libminigui="no"AC_CHECK_HEADERS(minigui/common.h, have_libminigui=yes, foo=bar)dnl ========================================================================dnl check for lite or threads version of MiniGUIlite_version="no"AC_CHECK_DECLS(_LITE_VERSION, lite_version="yes", foo=bar, [#include <minigui/common.h>])dnl ========================================================================dnl check for StandAlone version of MiniGUI-Litestand_alone="no"AC_CHECK_DECLS(_STAND_ALONE, stand_alone="yes", foo=bar, [#include <minigui/common.h>])dnl ========================================================================dnl check for newgal or oldgal interface.use_newgal="no"AC_CHECK_DECLS(_USE_NEWGAL, use_newgal="yes", foo=bar, [#include <minigui/common.h>])dnl ========================================================================dnl Write Outputif test "$ac_cv_prog_gcc" = "yes"; then    CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -pipe"fiif test "x$lite_version" = "xyes"; then    LIBS="$LIBS -lminigui"else    CFLAGS="$CFLAGS -D_REENTRANT"    LIBS="$LIBS -lpthread -lminigui"fiAM_CONDITIONAL(LITE_VERSION, test "x$lite_version" = "xyes")AM_CONDITIONAL(STAND_ALONE, test "x$stand_alone" = "xyes")AM_CONDITIONAL(USE_NEWGAL, test "x$use_newgal" = "xyes")AC_CHECK_DECLS(_HAVE_MATH_LIB, LIBS="$LIBS -lm", foo=bar, [#include <minigui/common.h>])AC_CHECK_DECLS(_PNG_FILE_SUPPORT, LIBS="$LIBS -lpng", foo=bar, [#include <minigui/common.h>])AC_CHECK_DECLS(_JPG_FILE_SUPPORT, LIBS="$LIBS -ljpeg", foo=bar, [#include <minigui/common.h>])AC_CHECK_DECLS(_TYPE1_SUPPORT, LIBS="$LIBS -lt1", foo=bar, [#include <minigui/common.h>])AC_CHECK_DECLS(_TTF_SUPPORT, LIBS="$LIBS -lttf", foo=bar, [#include <minigui/common.h>])AC_OUTPUT(Makefilenotebook/Makefilenotebook/res/Makefiletools/Makefilesame/Makefilesame/res/Makefilebomb/Makefilebomb/res/Makefilehousekeeper/Makefilehousekeeper/res/Makefilegdidemo/Makefilegdidemo/res/Makefilefontdemo/Makefiledlgdemo/Makefilectrldemo/Makefilectrldemo/res/Makefilepicview/Makefilepicview/res/Makefilepainter/Makefilemginit/Makefilemginit/res/Makefileresmanager/Makefile)if test "x$have_libminigui" != "xyes"; then	AC_MSG_WARN([		MiniGUI is not properly installed on the system. You need MiniGUI-Lite Ver 1.6.0 or later for		building this package. Please configure and install MiniGUI-Lite Ver 1.6.0 first.	])fi

⌨️ 快捷键说明

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