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

📄 txcrange.m4

📁 xgrafix 是PTSG模拟程序中的图形截面库 改版本是最新版本
💻 M4
字号:
dnl ######################################################################dnldnl File:	txcrange.m4dnldnl Purpose:	Determine the locations of txcrange includes and libraries. dnl 		Allows also for the installation of the ML library. dnl dnl Version: $Id: txcrange.m4,v 1.4 2005/07/20 13:05:49 cary Exp $dnldnl Tech-X configure systemdnldnl ######################################################################dnl ######################################################################dnldnl Allow the user to specify an overall txcrange directory.  If specified,dnl we look for include and lib under this.dnldnl ######################################################################AC_ARG_WITH(txcrange-dir,[  --with-txcrange-dir=<location of txcrange installation> ],TXCRANGE_DIR="$withval",TXCRANGE_DIR="")dnl ######################################################################dnldnl Find txcrange includes - looking in include location if present,dnl otherwise in dir/include if present, otherwise in default locations,dnl first parallel, then serial.dnldnl ######################################################################AC_ARG_WITH(txcrange-incdir,[  --with-txcrange-incdir=<location of txcrange includes> ],TXCRANGE_INCDIR="$withval",TXCRANGE_INCDIR="")if test -n "$TXCRANGE_INCDIR"; then  TXCRANGE_INCPATH=$TXCRANGE_INCDIRelif test -n "$TXCRANGE_DIR"; then  TXCRANGE_INCPATH=$TXCRANGE_DIR/includeelse  TXCRANGE_INCPATH="/usr/local/txphysics/include"fiif test -n "$TXCRANGE_INCPATH"; then   AC_PATH_PROGS(TXCRANGE_H, txcrange.h, "", $TXCRANGE_INCPATH)  if test -z "$TXCRANGE_H"; then    AC_MSG_WARN(txcrange.h not found in $TXCRANGE_INCPATH.  Set with --with-txcrange-incdir=)    TXCRANGE_INC=" "  else    TXCRANGE_INCDIR=`dirname $TXCRANGE_H`    AC_SUBST(TXCRANGE_INCDIR)    TXCRANGE_INC="-I$TXCRANGE_INCDIR"    AC_SUBST(TXCRANGE_INC)    TXCRANGE_DIR=`dirname $TXCRANGE_INCDIR`  fifidnl ######################################################################dnldnl Find txcrange librariesdnldnl ######################################################################AC_ARG_WITH(txcrange-libdir,[  --with-txcrange-libdir=<location of txcrange library> ],TXCRANGE_LIBDIR="$withval",TXCRANGE_LIBDIR="")if test -n "$TXCRANGE_LIBDIR"; then  TXCRANGE_LIBPATH=$TXCRANGE_LIBDIRelif test -n "$TXCRANGE_DIR"; then  TXCRANGE_LIBPATH=$TXCRANGE_DIR/libelse  TXCRANGE_LIBPATH=""fiif test -n "$TXCRANGE_LIBPATH"; then  AC_PATH_PROGS(LIBTXCRANGE_A, libtxcrange.a, "", $TXCRANGE_LIBPATH)  if test -z "$LIBTXCRANGE_A"; then    AC_MSG_WARN(libtxcrange.a not found.  Set with --with-txcrange-libdir=)    TXCRANGE_LIBS=""  else    TXCRANGE_LIBDIR=`dirname $LIBTXCRANGE_A`    AC_SUBST(TXCRANGE_LIBDIR)    TXCRANGE_LIBS="-L$TXCRANGE_LIBDIR -ltxcrange $FLIBS"' $(RPATH_FLAG)'"$TXCRANGE_LIBDIR"  fi  dnl echo TXCRANGE_LIBS = $TXCRANGE_LIBS  AC_SUBST(TXCRANGE_LIBS)fidnl ######################################################################dnldnl Define for whether txcrange founddnldnl ######################################################################if test -n "$TXCRANGE_LIBS"; then  AC_DEFINE(HAVE_TXCRANGE)fi

⌨️ 快捷键说明

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