configure.in

来自「此源码通过实例演示了makefile的书写规则和方法」· IN 代码 · 共 30 行

IN
30
字号
# Process this file with autoconf to create configure.AC_INIT(hello.h)AM_CONFIG_HEADER(config.h:config.in)AM_INIT_AUTOMAKE(hello, 1.0)AC_PROG_CCAC_C_CONSTAC_LIBTOOL_WIN32_DLLAM_PROG_LIBTOOL# ----------------------------------------------------------------------# Win32 objects need to tell the header whether they will be linking# with a dll or static archive in order that everything is imported# to the object in the same way that it was exported from the# archive (``extern'' for static, ``__declspec(dllimport)'' for dlls).# ----------------------------------------------------------------------LIBHELLO_DLL_IMPORT=case "$host" in*-*-cygwin* | *-*-mingw* | *-*-os2)  if test "X$enable_shared" = Xyes; then    LIBHELLO_DLL_IMPORT=-DLIBHELLO_DLL_IMPORT  fi  ;;  esacAC_SUBST(LIBHELLO_DLL_IMPORT)AC_OUTPUT(Makefile)

⌨️ 快捷键说明

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