Tcl-Tk-Tkwidget-treectrl
view release on metacpan or search on metacpan
shellicon/configure.ac view on Meta::CPAN
TEA_ADD_SOURCES([shellicon.c])
TEA_ADD_HEADERS([])
TEA_ADD_INCLUDES([-I\"`${CYGPATH} ${srcdir}/../generic`\"])
TEA_ADD_CFLAGS([])
TEA_ADD_STUB_SOURCES([])
TEA_ADD_TCL_SOURCES([])
#--------------------------------------------------------------------
# __CHANGE__
# Choose which headers you need. Extension authors should try very
# hard to only rely on the Tcl public header files. Internal headers
# contain private data structures and are subject to change without
# notice.
# This MUST be called after TEA_LOAD_TCLCONFIG / TEA_LOAD_TKCONFIG
#--------------------------------------------------------------------
#TEA_PUBLIC_TCL_HEADERS
TEA_PRIVATE_TCL_HEADERS
#TEA_PUBLIC_TK_HEADERS
TEA_PRIVATE_TK_HEADERS
#--------------------------------------------------------------------
# For Unix/Tk builds, make sure that the X libraries/headers are found.
#--------------------------------------------------------------------
TEA_PATH_X
# Needed for OS X ppx/intel image handling
AC_C_BIGENDIAN
#--------------------------------------------------------------------
# __CHANGE__
# A few miscellaneous platform-specific items:
#
# Define a special symbol for Windows (BUILD_sample in this case) so
# that we create the export library with the dll. See sha1.h on how
# to use this.
#
# Windows creates a few extra files that need to be cleaned up.
# You can add more files to clean if your extension creates any extra
# files.
#
# Define any extra compiler flags in the PACKAGE_CFLAGS variable.
# These will be appended to the current set of compiler flags for
# your system.
#--------------------------------------------------------------------
OUTPUTFILES=Makefile
if test "${TEA_PLATFORM}" = "windows" ; then
TEA_ADD_LIBS([gdi32.lib user32.lib comctl32.lib ole32.lib shell32.lib])
# Find rc.exe or windres.exe.
# Defined in winrc.m4.
TREECTRL_PROG_RC
# X86|AMD64|IA64 for manifest
AC_SUBST(MACHINE)
# PKG_MANIFEST -> VC_MANIFEST_EMBED_DLL -> MAKE_SHARED_LIB
TEA_ADD_MANIFEST([shellicon.dll.manifest])
# Create shellicon.dll.manifest from shellicon.dll.manifest.in.
# shellicon.dll.manifest is included by shellicon.rc.
# If building with a Microsoft compiler that generates
# shelliconNN.dll.manifest (to pick the correct MSVCRT runtime) then
# that manifest is merged with mine using mt.exe (see the Makefile
# rule for PKG_LIB_FILE).
OUTPUTFILES="Makefile shellicon.dll.manifest"
TREECTRL_ADD_RC([shellicon.rc])
fi
if test "${TEA_WINDOWINGSYSTEM}" = "aqua"; then
TEA_ADD_LIBS([-framework Carbon])
fi
#--------------------------------------------------------------------
# Check whether --enable-threads or --disable-threads was given.
#--------------------------------------------------------------------
TEA_ENABLE_THREADS
#--------------------------------------------------------------------
# The statement below defines a collection of symbols related to
# building as a shared library instead of a static library.
#--------------------------------------------------------------------
TEA_ENABLE_SHARED
#--------------------------------------------------------------------
# This macro figures out what flags to use with the compiler/linker
# when building shared/static debug/optimized objects. This information
# can be taken from the tclConfig.sh file, but this figures it all out.
#--------------------------------------------------------------------
TEA_CONFIG_CFLAGS
#--------------------------------------------------------------------
# Set the default compiler switches based on the --enable-symbols option.
#--------------------------------------------------------------------
TEA_ENABLE_SYMBOLS
if test "${enable_symbols+set}" = set && test "$enable_symbols" != no; then
TEA_ADD_CFLAGS([-DTREECTRL_DEBUG])
fi
#--------------------------------------------------------------------
# Everyone should be linking against the Tcl stub library. If you
# can't for some reason, remove this definition. If you aren't using
# stubs, you also need to modify the SHLIB_LD_LIBS setting below to
# link against the non-stubbed Tcl library. Add Tk too if necessary.
#--------------------------------------------------------------------
AC_DEFINE(USE_TCL_STUBS)
AC_DEFINE(USE_TK_STUBS)
#--------------------------------------------------------------------
# This macro generates a line to use when building a library. It
# depends on values set by the TEA_ENABLE_SHARED, TEA_ENABLE_SYMBOLS,
( run in 0.345 second using v1.01-cache-2.11-cpan-71847e10f99 )