📄 configure.in
字号:
dnl Process this file with autoconf to produce a configure script.AC_INIT(recmpeg.c)dnl Set various version strings - taken gratefully from the GTk sources## Making releases:# MICRO_VERSION += 1;# INTERFACE_AGE += 1;# BINARY_AGE += 1;# if any functions have been added, set INTERFACE_AGE to 0.# if backwards compatibility has been broken,# set BINARY_AGE and INTERFACE_AGE to 0.#MAJOR_VERSION=1MINOR_VERSION=0MICRO_VERSION=5INTERFACE_AGE=0BINARY_AGE=3VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSIONAC_SUBST(MAJOR_VERSION)AC_SUBST(MINOR_VERSION)AC_SUBST(MICRO_VERSION)AC_SUBST(INTERFACE_AGE)AC_SUBST(BINARY_AGE)AC_SUBST(VERSION)dnl Setup for automakeAM_INIT_AUTOMAKE(recmpeg, $VERSION)dnl Detect the canonical host and target build environmentAC_CANONICAL_HOSTAC_CANONICAL_TARGETdnl Check for toolsAC_PROG_MAKE_SETAC_PROG_CCAC_PROG_INSTALLdnl The alpha architecture needs special flags for binary portabilitycase "$target" in alpha*-*-linux*) if test x$ac_cv_prog_gcc = xyes; then CFLAGS="$CFLAGS -mcpu=ev4 -Wa,-mall" fi ;; *-*-solaris*) LIBS="$LIBS -lsocket -lnsl" ;; *-*-cygwin* | *-*-mingw32*) if test "$build" != "$target"; then # cross-compiling ac_default_prefix=/usr/local/cross-tools/i386-mingw32msvc LIBS="$LIBS -liberty" fi ;;esacdnl Check for UDP supportAC_ARG_ENABLE(udp,[ --enable-udp Support UDP output [default=yes]], , enable_udp=yes)if test x$enable_udp = xyes; then CFLAGS="$CFLAGS -DUSE_UDP"fidnl See if we have the getopt_long functionAC_CHECK_LIB(c, getopt_long, CFLAGS="$CFLAGS -D_GNU_SOURCE")AC_CHECK_HEADER(getopt.h, CFLAGS="$CFLAGS -DHAS_GETOPT_H")AM_PATH_LIBFAMECFLAGS="$CFLAGS $LIBFAME_CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"LIBS="$LIBS $LIBFAME_LIBS"dnl Finally create all the generated filesAC_OUTPUT([Makefilerecmpeg.spec])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -