fdfd7f
diff -ru CSSC-1.4.1.orig/configure CSSC-1.4.1/configure
fdfd7f
--- CSSC-1.4.1.orig/configure	2019-05-07 13:44:57.000000000 +0200
fdfd7f
+++ CSSC-1.4.1/configure	2021-04-08 14:11:56.935465623 +0200
fdfd7f
@@ -19418,60 +19418,6 @@
fdfd7f
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
fdfd7f
 
fdfd7f
 
fdfd7f
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you are using a broken version of glibc with a version of GCC (>=2.97) that doesn't like it" >&5
fdfd7f
-$as_echo_n "checking if you are using a broken version of glibc with a version of GCC (>=2.97) that doesn't like it... " >&6; }
fdfd7f
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
fdfd7f
-/* end confdefs.h.  */
fdfd7f
-
fdfd7f
-#include <stdio.h>
fdfd7f
-int x = 0;
fdfd7f
-class foo {
fdfd7f
-public:
fdfd7f
-foo() { }
fdfd7f
-void some_member_function(void) { };
fdfd7f
-int printf(const char *fmt, ...);
fdfd7f
-};
fdfd7f
-
fdfd7f
-int
fdfd7f
-main ()
fdfd7f
-{
fdfd7f
-/* no function body*/
fdfd7f
-  ;
fdfd7f
-  return 0;
fdfd7f
-}
fdfd7f
-_ACEOF
fdfd7f
-if ac_fn_cxx_try_compile "$LINENO"; then :
fdfd7f
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
fdfd7f
-$as_echo "no" >&6; }
fdfd7f
-else
fdfd7f
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
fdfd7f
-$as_echo "yes" >&6; }
fdfd7f
-
fdfd7f
-oldCFLAGS="$CFLAGS"
fdfd7f
-oldCXXFLAGS="$CXXFLAGS"
fdfd7f
-if echo "$CFLAGS" | grep -e "-O" >/dev/null
fdfd7f
-then
fdfd7f
-	CFLAGS="-g"
fdfd7f
-	CXXFLAGS="-g"
fdfd7f
-
fdfd7f
-echo
fdfd7f
-echo WARNING It seems that you are using a version of GNU lilbc
fdfd7f
-echo WARNING that has a broken printf macro in /usr/include/bits/stdio.h.
fdfd7f
-echo WARNING I have changed CFLAGS and CXXFLAGS to turn optimisation off
fdfd7f
-echo WARNING in order to work around the problem.
fdfd7f
-echo WARNING
fdfd7f
-echo WARNING Other possible workarounds would be to use GCC 2.96 or
fdfd7f
-echo WARNING earlier, or a version of glibc which does not have this
fdfd7f
-echo WARNING bug.
fdfd7f
-echo WARNING
fdfd7f
-echo WARNING CFLAGS   has been changed from "$oldCFLAGS"   to "$CFLAGS"
fdfd7f
-echo WARNING CXXFLAGS has been changed from "$oldCXXFLAGS" to "$CXXFLAGS"
fdfd7f
-echo
fdfd7f
-
fdfd7f
-fi
fdfd7f
-
fdfd7f
-fi
fdfd7f
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fdfd7f
 
fdfd7f
 ac_ext=c
fdfd7f
 ac_cpp='$CPP $CPPFLAGS'