URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [nlm/] [configure.in] - Rev 1765
Compare with Previous | Blame | View Log
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[3456]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} ]; thenAC_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}" != "" ]; thenfiles="${files} ${cpufile}.h"links="${links} cpu.h"fiAC_LINK_FILES($files, $links)AC_OUTPUT(Makefile)
