From 3e8c6a5be1fec8b648ae4caea1dfb2ceb16a90a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 8 Sep 2014 10:05:19 +0000 Subject: run OSX linker tests before generic unix ones clang accepts '-shared' but does not allow '-bundle ...' on top of that which is required to actually produce externals. LATER: should we switch to autotools? svn path=/trunk/externals/iem/iemmatrix/; revision=17347 --- src/configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/configure.ac b/src/configure.ac index 5830de2..1ae1e58 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -173,6 +173,11 @@ dnl dnl OK, checks which machines are here now dnl this needs some rethinking when cross-compiling (?) dnl + +# OSX +AC_CHECK_LDFLAGS([-bundle -undefined suppress -flat_namespace]) + +# un*x AC_CHECK_LDFLAGS([-shared]) if test `uname -s` = Linux; @@ -199,11 +204,6 @@ then fi fi -#AC_CHECK_LDFLAGS([-dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup], -# , - AC_CHECK_LDFLAGS([-bundle -undefined suppress -flat_namespace]) -# ) - if test `uname | sed -e 's/^MINGW.*/NT/'` = NT ; then LD=${CC} -- cgit v1.2.1