summaryrefslogtreecommitdiff
blob: f116c1d6f8b951b5b44fa712fdc6757f8a4479c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/configure.in
+++ b/configure.in
@@ -26,20 +26,6 @@ AC_SUBST(RESID_INLINE)
 dnl Checks for programs.
 AC_PROG_CXX
 
-dnl Set CXXFLAGS for g++. Use -fno-exceptions if supported.
-if test "$GXX" = yes; then
-  if test "$ac_test_CXXFLAGS" != set; then
-    CXXFLAGS="-g -Wall -O2 -funroll-loops -fomit-frame-pointer -fno-exceptions"
-    AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works])
-    AC_TRY_COMPILE([],
-                   [int test;],
-                   [ AC_MSG_RESULT(yes) ],
-                   [ AC_MSG_RESULT(no)
-                     CXXFLAGS="-g -Wall -O2 -funroll-loops -fomit-frame-pointer"
-                     ])
-  fi
-fi
-
 AC_PATH_PROG(PERL, perl)
 
 dnl Checks for libraries.
--