Files
bsdports/xapp/rxvt/files/patch-configure
2019-12-26 07:26:06 +00:00

46 lines
1.0 KiB
Plaintext

--- configure.orig
+++ configure
@@ -4436,42 +4436,6 @@
LINKER="$CXX"
-if test x$GCC = xyes && test x$GXX = xyes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5
-$as_echo_n "checking for working libsupc++... " >&6; }
- save_CXX="$CXX"
- save_LIBS="$LIBS"
- CXX="$CC"
- LIBS="$LIBS -lsupc++"
-
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-struct test { }; void f() try { throw new test; } catch (...) { throw; }
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_link "$LINENO"; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
-$as_echo "ok" >&6; }
- LINKER="$CC"
-else
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5
-$as_echo "no, making everything bigger and slower" >&6; }
- LIBS="$save_LIBS"
-
-
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
- CXX="$save_CXX"
-fi
-LINKER=$LINKER
if test -z "$orig_CXXFLAGS"; then