X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure.in;h=89bed7d0837c5ceab4c5d6db58cb05f657246a80;hb=5379d64080fb35f6cfd1553e0c8e93f0090f96c2;hp=62a160d672f5f1e612c5e2dd919edcbb54602d3c;hpb=184eddec927b65df4b5dcf18e82a6a62d523f675;p=libfirm diff --git a/configure.in b/configure.in index 62a160d67..89bed7d08 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,15 @@ -dnl Process this file withautoconf to produce a configure script. -dnl Copyright (c) 2001 IPD, Universität Karlsruhe (TH) +dnl +dnl Project: libFIRM +dnl File name: configure.in +dnl Purpose: +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 libFIRM Project -dnl $Id$ AC_REVISION($Id$) @@ -27,6 +34,10 @@ dnl check for additional include dirs AC_ARG_WITH(includedir, [ --with-includedir=add colon seperated list of directories to include search path], CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`, T_FLAG="") +AC_ARG_WITH(libdir, [ --with-libdir=add colon seperated list of directories to linker search path], + LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`, T_FLAG="") + + dnl Package options dnl =============== @@ -199,6 +210,16 @@ if test "$ac_obstack_headers" != yes; then fi +AC_CHECK_HEADERS(alloca.h, ac_alloca_headers="yes", ac_alloca_headers="no") +if test "$ac_alloca_headers" != yes; then + if test "$ac_cv_header_stdc" == no; then + AC_MSG_ERROR("alloca.h and stdlib.h not found") + else + AC_DEFINE(HAVE_ALLOCA_H) + fi +fi + + dnl check for jni header files if test "$enable_firm_jni" = yes; then @@ -230,7 +251,8 @@ fi dnl Checks for typedefs, structures, and compiler characteristics. dnl ============================================================== - +AC_C_BIGENDIAN(,,,) +AC_C_LONG_DOUBLE dnl Checks for library functions. dnl =============================