configure.in

来自「multi-ice源代码。通过它」· IN 代码 · 共 71 行

IN
71
字号
dnl Process this file with autoconf to produce a configure script.AC_PREREQ(2.13)AC_INIT(server-main.c)AM_INIT_AUTOMAKE(multi-ice-server, 1.0)AM_CONFIG_HEADER(config.h)AM_MAINTAINER_MODEAC_PROG_CCAC_CYGWINAC_EXEEXTWINDRES=${WINDRES-windres}AC_SUBST(WINDRES)# In the cygwin32 environment, we need some additional flags.AC_CACHE_CHECK([for cygwin32], multi_ice_cv_os_cygwin32,[AC_EGREP_CPP(lose, [#ifdef __CYGWIN32__lose#endif],[multi_ice_cv_os_cygwin32=yes],[multi_ice_cv_os_cygwin32=no])])if test x$multi_ice_cv_os_cygwin32 = xyes; then  WIN32LIBS="-lshell32 -ladvapi32 -lgdi32 -luser32"  WIN32LDAPP="-Wl,--subsystem,console"  WIN32RES="MICE-gdbserverres.o"  MULTI_ICE_PLATFORM_SOURCE=server-win.celse  WIN32LIBS=  WIN32LDAPP=  WIN32RES=  MULTI_ICE_PLATFORM_SOURCE=fiAC_SUBST(WIN32LIBS)AC_SUBST(WIN32LDAPP)AC_SUBST(WIN32RES)AC_SUBST(MULTI_ICE_PLATFORM_SOURCE)# This is the location of the ARM Multi-Ice header files, # and the toolconf library file.MULTI_ICE_INCLUDES=-I/home/jingham/arm/multi-iceMULTI_ICE_LIBS="-L/home/jingham/arm/multi-ice -ltoolconf"AC_SUBST(MULTI_ICE_INCLUDES)AC_SUBST(MULTI_ICE_LIBS)AM_CONDITIONAL(WINDOWS, test x$multi_ice_cv_os_cygwin32 = xyes)dnl List of object files added by configure.CONFIG_OBS=CONFIG_DEPS=CONFIG_SRCS=dnl Checks for programs.dnl Checks for libraries.dnl Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS(fcntl.h sys/file.h sys/ioctl.h)dnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTdnl Checks for library functions.AC_FUNC_ALLOCAAC_TYPE_SIGNALAC_FUNC_VPRINTFAC_CHECK_FUNCS(socket strtol)AC_OUTPUT(Makefile)

⌨️ 快捷键说明

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