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

📄 configure.ac

📁 avrrice软件用于AVR单片机的JTAG调试.
💻 AC
字号:
#                                               -*- Autoconf -*-# Process this file with autoconf to produce a configure script.##	avarice - The "avarice" program.#	Copyright (C) 2001 Scott Finneran#	Copyright (C) 2002, 2003, 2004 Intel Corporation##	This program is free software; you can redistribute it and/or modify#	it under the terms of the GNU General Public License Version 2#       as published by the Free Software Foundation.##	This program is distributed in the hope that it will be useful,#	but WITHOUT ANY WARRANTY; without even the implied warranty of#	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the#	GNU General Public License for more details.##	You should have received a copy of the GNU General Public License#	along with this program; if not, write to the Free Software#	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.## $Id: configure.ac,v 1.43 2004/12/06 19:39:56 troth Exp $#AC_PREREQ(2.57)AC_INIT(avarice, 2.3)AC_CONFIG_AUX_DIR([config-aux])AC_CONFIG_SRCDIR([src/main.cc])AC_CONFIG_HEADERS([src/autoconf.h:src/autoconf.hin])AM_INIT_AUTOMAKE# Checks for programs.AC_PROG_CXXAC_PROG_CCAC_PATH_PROG(pathperl, perl)if test -z "$pathperl" ; then  AC_MSG_ERROR([I can't find perl]); fi# Checks for libraries.## Some systems need "-lsocket -lnsl" when linking.##AC_SEARCH_LIBS(gethostbyname, nsl)AC_CHECK_FUNC(socket, , [    AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket", [        AC_CHECK_LIB(nsl, socket, LIBS="$LIBS -lsocket -lnsl", , -lsocket)    ], "$LIBS")])## Some systems need "-lresolv" for inet_aton().##AC_SEARCH_LIBS([inet_aton], [resolv])## If libbfd was configured with nls, the build might need -lintl. This## seems to be the case with cygwin. Also, it seems that on cygwin, libintl## needs libiconv. Plus, on some systems libbfd needs -liberty.##AC_CHECK_LIB([iconv], [iconv_open], , [ac_found_iconf=no])if test "x$ac_found_iconf" = "xno"; then  AC_CHECK_LIB([iconv], [libiconv_open])fiAC_CHECK_LIB([intl], [dcgettext])AC_CHECK_LIB([iberty], [xmalloc])AC_CHECK_LIB([bfd], [bfd_init], , [ac_found_bfd=no])if test "x$ac_found_bfd" = "xno"; then  AC_MSG_ERROR([You need to install libbfd.a from binutils.])fi# Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h bfd.h])# Checks for typedefs, structures, and compiler characteristics.AC_HEADER_STDBOOLAC_C_CONSTAC_TYPE_SIZE_TAC_HEADER_TIMEAC_STRUCT_TMdnl Available from the GNU Autoconf Macro Archive at:dnl http://www.gnu.org/software/ac-archive/htmldoc/type_socklen_t.htmldnlAC_DEFUN([TYPE_SOCKLEN_T],[AC_CACHE_CHECK([for socklen_t], ac_cv_type_socklen_t,[  AC_TRY_COMPILE(  [#include <sys/types.h>   #include <sys/socket.h>],  [socklen_t len = 42; return 0;],  ac_cv_type_socklen_t=yes,  ac_cv_type_socklen_t=no)])  if test $ac_cv_type_socklen_t != yes; then    AC_DEFINE([socklen_t], [int], [Substitute for missing socklen_t.])  fi])TYPE_SOCKLEN_T# Checks for library functions.AC_FUNC_ERROR_AT_LINEAC_FUNC_FORKAC_FUNC_MEMCMPAC_FUNC_SELECT_ARGTYPESAC_FUNC_STATAC_FUNC_VPRINTFAC_CHECK_FUNCS([atexit gethostbyname inet_ntoa memmove memset select socket strcasecmp strerror strtol])AC_CONFIG_FILES([	scripts/Makefile	scripts/ice-gdb	src/Makefile	doc/Makefile	avarice.spec	Makefile])AC_OUTPUT

⌨️ 快捷键说明

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