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

📄 configure.in

📁 linux下的网络下载工具prozilla的源码
💻 IN
字号:
dnl Process this file with autoconf to produce a configure script.AC_PREREQ(2.50)AC_INIT([prozilla], [1.3.7.4], [prozilla@genesys.ro])AM_INIT_AUTOMAKEAM_CONFIG_HEADER([config.h])AC_CANONICAL_HOSTdnl Checks for programs.AC_PROG_CCAC_PROG_INSTALLdnldnl threadsdnlcase $host in  *-*-freebsd*)    THREAD_LIBS="-pthread"    ;; *-*-openbsd*)    THREAD_LIBS="-pthread"    ;;  *)    AC_CHECK_LIB(pthread, pthread_create,             THREAD_LIBS="-lpthread",             AC_MSG_ERROR([** The pthread library is not installed.**]))    ;;esacAC_SUBST(THREAD_LIBS)dnl Replace `main' with a function in -lpthread:dnl AC_CHECK_LIB(pthread, pthread_create,, AC_MSG_ERROR([** The pthread library is not installed.**]))dnl Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS(ncurses.h curses.h strings.h malloc.h sys/time.h unistd.h sys/types.h sys/socket.h)AC_CHECK_LIB(ncurses, initscr, initscr=on, initscr=off)  if (test $initscr = on) then    CURSLIB="ncurses"    LIBS="-l$CURSLIB $LIBS"    AC_DEFINE(HAVE_LIBNCURSES)    AC_DEFINE(HAVE_CURSES)  else    AC_CHECK_LIB(curses, initscr, initscr=on, initscr=off)    if (test $initscr = on) then      CURSLIB="curses"      LIBS="-l$CURSLIB $LIBS"      AC_DEFINE(HAVE_LIBCURSES)      AC_DEFINE(HAVE_CURSES)    fifiif (test $initscr = off) thenAC_MSG_ERROR([**A (n)curses library was not found. The program needs ncurses to run, Ncurses is freely available at : ftp://ftp.gnu.org/pub/gnu **])fidnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_TYPE_SIZE_TAC_HEADER_TIMETYPE_SOCKLEN_T dnl Checks for library functions.AC_FUNC_SETVBUF_REVERSEDAC_FUNC_VPRINTFAC_CHECK_FUNCS(gettimeofday select socket strdup strerror strstr)AC_caolan_FUNC_WHICH_GETHOSTBYNAME_Rdnl Large File Summit supportAC_SYS_LARGEFILEdnl Now we've enabled/disabled LFS, see how big file sizes can be.AC_CHECK_SIZEOF([off_t])AC_OUTPUT(src/Makefile man/Makefile Makefile)

⌨️ 快捷键说明

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