From 3f58fe886891956784f544444dbe16a937f0b7c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 9 Apr 2009 12:01:00 +0000 Subject: use for fat binaries (on demand) svn path=/trunk/externals/iem/iemmatrix/; revision=10996 --- src/configure.ac | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'src/configure.ac') diff --git a/src/configure.ac b/src/configure.ac index 4849757..6986703 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -123,6 +123,12 @@ else fi + +### can we build fat-binaries +AC_CHECK_FAT(ARCH_FLAGS) +AC_SUBST(ARCH_FLAGS) + + dnl isn't there a better way to check for good linker/stripper ? dnl if we don't have $LD set, we set it to $(CC) @@ -165,22 +171,12 @@ dnl dnl OK, checks which machines are here now dnl this needs some rethinking when cross-compiling (?) dnl -AC_CHECK_LDFLAGS([-export_dynamic -shared]) +AC_CHECK_LDFLAGS([-shared]) if test `uname -s` = Linux; then EXT=pd_linux STRIPFLAGS="--strip-unneeded" - if test "$enable_icc" = "yes"; then - CC=icc - fi - - if test $CC = "icc" - then - LD=$CC - AC_CHECK_LDFLAGS([-ip -ipo_obj]) - AC_CHECK_CFLAGS([-ip -ipo_obj]) - fi fi dnl This should use '-bundle_loader /path/to/pd/bin/pd' instead of'-undefined suppress' -- cgit v1.2.1