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

📄 configure.in

📁 这是个trace drive的Cache模拟器
💻 IN
字号:
dnl Process this file with autoconf to produce a configure script for Dinero IV.dnl Written by Jan Edler.dnldnl $Header: /home/edler/dinero/d4/RCS/configure.in,v 1.3 1997/12/08 19:37:38 edler Exp $AC_INIT(d4.h)AC_CONFIG_HEADER(config.h)dnl Checks for programs.if test "x$CFLAGS" = x; then	CFLAGS=-O3	# this is really poor, need a better way XXXfiAC_PROG_CCdnl check for any specific host dependenciesAC_AIXif test x$GCC = xyes; then	CFLAGS="$CFLAGS -g"	CFLAGS="$CFLAGS -Wall -Wcast-qual -Wshadow -Wpointer-arith"	CFLAGS="$CFLAGS -Wmissing-prototypes"fiAC_PROG_RANLIBdnl Checks for header files.AC_HEADER_STDCdnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_TYPE_SIZE_TAC_CHECK_SIZEOF(short,0)AC_CHECK_SIZEOF(int,0)AC_CHECK_SIZEOF(long,0)AC_CHECK_SIZEOF(void*,0)dnl this is probably not worth the trouble,dnl and is ineffective without checking the timing,dnl in case unaligned accesses are slowly emulated, as on alphadnl if test "$cross_compiling" = yes; thendnl   D4_UNALIGN_OK=0dnl elsednl   AC_C_BIGENDIANdnl   AC_MSG_CHECKING(if unaligned loads and stores are allowed)dnl   AC_TRY_RUN([union { int i[3]; char c[1]; } u;dnl 	main(){ *(int*)&u.c[1] = getpid();dnl 		*(int*)&u.c[2] = *(int*)&u.c[1]; exit(0);}],dnl 	D4_UNALIGN_OK=1, D4_UNALIGN_OK=0, D4_UNALIGN_OK=0)dnl   if test "$D4_UNALIGN_OK" = 1; thendnl     AC_MSG_RESULT(yes)dnl   elsednl     AC_MSG_RESULT(no)dnl   fidnl fidnl AC_DEFINE_UNQUOTED(D4_UNALIGN_OK,$D4_UNALIGN_OK)dnl Checks for library functions.AC_CHECK_FUNCS(random modf)if test "$ac_cv_func_random" != yes; then  AC_CHECK_LIB(m,random)fiif test "$ac_cv_func_modf" != yes; then  AC_CHECK_LIB(m,modf)fiAC_MSG_CHECKING(if random is defined in stdlib.h)AC_EGREP_HEADER(random,stdlib.h,D4_RANDOM_DEF="",D4_RANDOM_DEF=long)if test "$D4_RANDOM_DEF" = ""; then  AC_MSG_RESULT(yes)else  AC_MSG_RESULT(no)  AC_DEFINE_UNQUOTED(D4_RANDOM_DEF,$D4_RANDOM_DEF)fidnl some miscellaneous stuffAC_PROG_MAKE_SETdnl compile debugging code by using --with-debugD4_DEBUG_FLAGS=-DNDEBUGAC_ARG_WITH(debug,[  --with-debug                   enable debugging code in d4],[case "$withval" in  yes)	D4_DEBUG_FLAGS=	;;  no)	:	;;  *)	AC_MSG_ERROR($withval makes no sense for --with-debug)	;;esac])AC_SUBST(D4_DEBUG_FLAGS)AC_OUTPUT(Makefile)

⌨️ 快捷键说明

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