OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [igen/] [configure.ac] - Diff between revs 157 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 157 Rev 816
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
sinclude(../common/aclocal.m4)
sinclude(../common/aclocal.m4)
AC_PREREQ(2.59)dnl
AC_PREREQ(2.59)dnl
AC_INIT(table.h)
AC_INIT(table.h)
AC_PROG_INSTALL
AC_PROG_INSTALL
AC_PROG_CC
AC_PROG_CC
SIM_AC_OPTION_WARNINGS
SIM_AC_OPTION_WARNINGS
# Put a plausible default for CC_FOR_BUILD in Makefile.
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
  AR_FOR_BUILD='$(AR)'
  AR_FOR_BUILD='$(AR)'
  AR_FLAGS_FOR_BUILD='$(AR_FLAGS)'
  AR_FLAGS_FOR_BUILD='$(AR_FLAGS)'
  CC_FOR_BUILD='$(CC)'
  CC_FOR_BUILD='$(CC)'
  CFLAGS_FOR_BUILD='$(CFLAGS)'
  CFLAGS_FOR_BUILD='$(CFLAGS)'
  RANLIB_FOR_BUILD='$(RANLIB)'
  RANLIB_FOR_BUILD='$(RANLIB)'
  LIBIBERTY_LIB=../../libiberty/libiberty.a
  LIBIBERTY_LIB=../../libiberty/libiberty.a
else
else
  AR_FOR_BUILD=${AR_FOR_BUILD-ar}
  AR_FOR_BUILD=${AR_FOR_BUILD-ar}
  AR_FLAGS_FOR_BUILD=${AR_FLAGS_FOR_BUILD-rc}
  AR_FLAGS_FOR_BUILD=${AR_FLAGS_FOR_BUILD-rc}
  CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
  CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
  CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"}
  CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"}
  RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
  RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
  LIBIBERTY_LIB=
  LIBIBERTY_LIB=
fi
fi
AC_CANONICAL_SYSTEM
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
AC_ARG_PROGRAM
. ${srcdir}/../../bfd/configure.host
. ${srcdir}/../../bfd/configure.host
AC_CONFIG_HEADER(config.h:config.in)
AC_CONFIG_HEADER(config.h:config.in)
AC_CHECK_HEADERS(stdlib.h string.h strings.h sys/stat.h sys/types.h unistd.h)
AC_CHECK_HEADERS(stdlib.h string.h strings.h sys/stat.h sys/types.h unistd.h)
AC_HEADER_DIRENT
AC_HEADER_DIRENT
AC_SUBST(AR_FOR_BUILD)
AC_SUBST(AR_FOR_BUILD)
AC_SUBST(AR_FLAGS_FOR_BUILD)
AC_SUBST(AR_FLAGS_FOR_BUILD)
AC_SUBST(CC_FOR_BUILD)
AC_SUBST(CC_FOR_BUILD)
AC_SUBST(CFLAGS_FOR_BUILD)
AC_SUBST(CFLAGS_FOR_BUILD)
AC_SUBST(RANLIB_FOR_BUILD)
AC_SUBST(RANLIB_FOR_BUILD)
AC_SUBST(LIBIBERTY_LIB)
AC_SUBST(LIBIBERTY_LIB)
AC_SUBST(AR)
AC_SUBST(AR)
AC_SUBST(CFLAGS)
AC_SUBST(CFLAGS)
AC_PROG_RANLIB
AC_PROG_RANLIB
AC_OUTPUT(Makefile,
AC_OUTPUT(Makefile,
[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.