⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.in

📁 ProFTPd 是一款基于GPL协议的可配置的FTP服务器
💻 IN
字号:
dnl This program is free software; you can redistribute it and/or modifydnl it under the terms of the GNU General Public License as published bydnl the Free Software Foundation; either version 2 of the License, ordnl (at your option) any later version.dnldnl This program is distributed in the hope that it will be useful,dnl but WITHOUT ANY WARRANTY; without even the implied warranty ofdnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See thednl GNU General Public License for more details.dnldnl You should have received a copy of the GNU General Public Licensednl along with this program; if not, write to the Free Softwarednl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.dnldnl Process this file with autoconf to produce a configure script.AC_INIT(./mod_wrap2.c)ac_wrap2_libs=""dnl Auto-detection of shadow passwords.AC_ARG_ENABLE(nis,  [  --enable-nis            enable use of NIS/netgroups (default=no)  ],  [    if test "$enableval" != "no" ; then      AC_DEFINE(WRAP2_USE_NIS)      dnl Hack to make sure that the correct libraries are linked on the right      dnl platforms: FreeBSD's libc itself defines the NIS/YP functions, rather      dnl than defining those functions in a separate libnsl library.      ac_os=`uname`      if test "$ac_os" != "FreeBSD"; then        ac_wrap2_libs="$ac_wrap2_libs -lnsl"      fi    fi ])AC_ARG_ENABLE(wrapper-options,  [  --enable-wrapper-options                          enable use of tcpwrapper options (default=no)                          see hosts_options(5) man page for details  ],  [    if test "$enableval" != "no" ; then      AC_DEFINE(WRAP2_USE_OPTIONS)    fi  ])AC_CONFIG_HEADER(mod_wrap2.h)AC_OUTPUT(Makefile)dnl It looks like configure does not substitute AC_SUBST values for andnl AC_CONFIG_HEADER file, only for AC_OUTPUT files.  And since wednl specifically need this $Libraries$ line in the header, that does notdnl help.  So, do the substitution by hand.sed -e "s/@WRAP2_LIBS@/$ac_wrap2_libs/" mod_wrap2.h > .mod_wrap2.h.tmpmv .mod_wrap2.h.tmp mod_wrap2.h

⌨️ 快捷键说明

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