📄 configure.in
字号:
dnl Process this file with autoconf to produce a configure script.# Autoconf initialization:AC_INIT(mpdroot.h)AC_PREREQ(2.13) dnl needed for SHELL# Autoconf header:rm -f ${srcdir}/mpdconf.h mpdconf.hAC_CONFIG_HEADER(mpdconf.h)dnl Process configure argumentsAC_ARG_ENABLE(echo, [--enable-echo - turn on echoing from within configure script], set -x)CONFIGURE_ARGS="$*"if test -n "$CONFIGURE_ARGS" ; then echo "Configuring with args $CONFIGURE_ARGS"fiAC_SUBST(COPTIONS)dnl add --enable-strict and --enable-gAC_ARG_ENABLE(g, [--enable-g - turn on debugging flags ] )if test "$enable_g" = "yes" -o "$enable_g" = "all" ; then COPTIONS="${COPTIONS} -g"fidnl Checks for programs.# Checking for programs.AC_PROG_CCAC_PROG_MAKE_SETAC_PROG_LN_S# In case clinker is not definedif test -z "$CLINKER" ; then CLINKER="$CC" AC_SUBST(CLINKER)fidnl Checks for libraries.# Searching libraries instead of checkingAC_SEARCH_LIBS(socket, socket)dnl Checks for header files.# Checking headersAC_HEADER_STDCAC_HEADER_SYS_WAITAC_CHECK_HEADERS(fcntl.h strings.h sys/time.h unistd.h stdlib.h)dnl Checks for library functions.# Checking library functionsAC_CHECK_FUNCS(putenv socket)dnl Output:# Starting outputMPD_HOME=`pwd`AC_SUBST(MPD_HOME)# AC_OUTPUT_COMMANDS(chmod +x startdaemons)AC_OUTPUT(Makefile)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -