opensolaris linker produces an error because of -f*** gcc options
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 30 Nov 2009 18:06:12 +0000 (18:06 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 30 Nov 2009 18:06:12 +0000 (18:06 +0000)
So force the link to be done when checking the availability of
-fno-rtti and -fno-exceptions

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/expedite@44056 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 6f1bade..933a72b 100644 (file)
@@ -208,7 +208,7 @@ EXPEDITE_CXXFLAGS=""
 AC_LANG_PUSH([C++])
 CXXFLAGS_save="${CXXFLAGS}"
 CXXFLAGS="${CXXFLAGS} -fno-rtti -fno-exceptions"
-AC_COMPILE_IFELSE(
+AC_LINK_IFELSE(
    [AC_LANG_PROGRAM([[]])],
    [have_cxx_flags="yes"],
    [have_cxx_flags="no"])