dnl dnl Project: libFIRM dnl File name: aclocal.m4 dnl Purpose: Macros for autoconf dnl Author: Till Riedel dnl Modified by: dnl Created: dnl CVS-ID: $Id$ dnl Copyright: (c) 2002-2003 Universität Karlsruhe dnl Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. dnl dnl Set variable `LD' to the name of the linker program. AC_DEFUN(LIBFIRM_PROG_LD,[ dnl AC_REQUIRE([AC_PROG_CC]) if test -z "$LD"; then AC_CHECK_TOOL(LD, ld) fi ]) dnl Set variable `libfirm_cv_prog_ld_r' to yes if the linker accepts -r, else to no. AC_DEFUN(LIBFIRM_PROG_LD_R, [AC_CACHE_CHECK(whether $LD accepts -r, libfirm_cv_prog_ld_r, [AC_REQUIRE([LIBFIRM_PROG_LD]) libfirm_cv_prog_ld_r=no if test "$LD"; then cat > conftest.$ac_ext < conftest.$ac_ext <