URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [gdb-5.0/] [sim/] [w65/] [configure.in] - Rev 1765
Compare with Previous | Blame | View Log
dnl Process this file with autoconf to produce a configure script.sinclude(../common/aclocal.m4)AC_PREREQ(2.5)dnlAC_INIT(Makefile.in)AC_CONFIG_HEADER(config.h:config.in)AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)AC_CANONICAL_SYSTEMAC_ARG_PROGRAMAC_PROG_CCAC_PROG_INSTALL. ${srcdir}/../../bfd/configure.hostAC_SUBST(CFLAGS)AC_SUBST(HDEFINES)AR=${AR-ar}AC_SUBST(AR)AC_PROG_RANLIB# Put a plausible default for CC_FOR_BUILD in Makefile.if test "x$cross_compiling" = "xno"; thenCC_FOR_BUILD='$(CC)'elseCC_FOR_BUILD=gccfiAC_SUBST(CC_FOR_BUILD)dnl We don't use gettext, but bfd does. So we do the appropriate checksdnl to see if there are intl libraries we should link against.ALL_LINGUAS=CY_GNU_GETTEXTAC_CHECK_HEADERS(stdlib.h time.h unistd.h)AC_MSG_CHECKING([whether printf must be declared])AC_CACHE_VAL(sim_cv_decl_needed_printf,[AC_TRY_COMPILE([#include <stdio.h>],[int (*pfn) = (int (*)) printf],sim_cv_decl_needed_printf=no, sim_cv_decl_needed_printf=yes)])AC_MSG_RESULT($sim_cv_decl_needed_printf)if test $sim_cv_decl_needed_printf = yes; thenAC_DEFINE(NEED_DECLARATION_PRINTF)fiAC_OUTPUT(Makefile,[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
