📄 configure.in
字号:
dnl Process this file with autoconf to produce a configure script.AC_PREREQ(2.12.1)dnlAC_INIT(gdbserve.c)AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)AC_CANONICAL_SYSTEMAC_ARG_PROGRAMAC_PROG_INSTALL# Map target cpu into the config cpu subdirectory name.# The default is $target_cpu.changequote(,)dnlcase "${target_cpu}" inalpha) gdb_target_cpu=alpha ;;c[12]) gdb_target_cpu=convex ;;hppa*) gdb_target_cpu=pa ;;i[34567]86) gdb_target_cpu=i386 ;;m68*) gdb_target_cpu=m68k ;;np1) gdb_target_cpu=gould ;;pn) gdb_target_cpu=gould ;;pyramid) gdb_target_cpu=pyr ;;sparc*) gdb_target_cpu=sparc ;;*) gdb_target_cpu=$target_cpu ;;esacchangequote([,])dnltarget_makefile_frag=${srcdir}/../config/${gdb_target_cpu}/gdbserve.mtif [ ! -f ${target_makefile_frag} ]; then AC_MSG_ERROR("*** GDBSERVE does not support target ${target}")fidnl We have to assign the same value to other variables because autoconfdnl doesn't provide a mechanism to substitute a replacement keyword withdnl arbitrary data or pathnames.dnltarget_makefile_frag_path=$target_makefile_fragAC_SUBST(target_makefile_frag_path)AC_SUBST_FILE(target_makefile_frag)cpufile=`sed -n 's/CPU_FILE[ ]*=[ ]*\([^ ]*\)/\1/p' ${target_makefile_frag}files=links=rm -f cpu.hif [ "${cpufile}" != "" ]; then files="${files} ${cpufile}.h" links="${links} cpu.h"fiAC_LINK_FILES($files, $links)AC_OUTPUT(Makefile)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -