-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 535b4f4052b371a9011c1a3ad4e942b7d596a4c6: path_to: revision_to:
commit 535b4f4052b371a9011c1a3ad4e942b7d596a4c6 Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com> Date: Wed Jan 18 19:44:09 2012 +0000 Fix linker definition for non-gcc compilers. diff --git a/configure.ac b/configure.ac
--- a/configure.ac +++ b/configure.ac @@ -34,6 +34,7 @@ AC_GNU_SOURCE AC_ISC_POSIX AC_LANG(C++) +LINKER="$CXX" dnl check whether we can link with gcc -lsupc++ if test x$GCC = xyes && test x$GXX = xyes; then dnl FreeBSD (at least up to 5.3) has a broken GCC, workaround it @@ -42,14 +43,13 @@ if test x$GCC = xyes && test x$GXX = xyes; then save_LIBS="$LIBS" CXX="$CC" LIBS="$LIBS -lsupc++" - LINKER="$CC" AC_LINK_IFELSE( [AC_LANG_PROGRAM([struct test { }; void f() try { throw new test; } catch (...) { throw; }],[])], - [AC_MSG_RESULT(ok)], + [AC_MSG_RESULT(ok) + LINKER="$CC"], [ AC_MSG_RESULT([no, making everything bigger and slower]) LIBS="$save_LIBS" - LINKER="$save_CXX" ] ) CXX="$save_CXX"
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 14:10:57 2024