diff options
| author | Sam Varshavchik | 2021-05-21 21:11:51 -0400 |
|---|---|---|
| committer | Sam Varshavchik | 2021-05-21 21:11:51 -0400 |
| commit | 142f42378608e593eb36ceb33895db99948427aa (patch) | |
| tree | fc089285268a8fe3c8768cd7482fb50393f49354 /gdbmobj/configure.ac | |
| parent | 34b6dbb743654fdb6edccf101c4da7e671b7a92d (diff) | |
| download | courier-libs-142f42378608e593eb36ceb33895db99948427aa.tar.bz2 | |
-Wall and -Werror fixes
Diffstat (limited to 'gdbmobj/configure.ac')
| -rw-r--r-- | gdbmobj/configure.ac | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gdbmobj/configure.ac b/gdbmobj/configure.ac index ca1cb22..6dfd317 100644 --- a/gdbmobj/configure.ac +++ b/gdbmobj/configure.ac @@ -49,27 +49,4 @@ AC_SYS_LARGEFILE dnl Checks for library functions. -AC_LANG_CPLUSPLUS -AC_CACHE_CHECK([if the C++ compiler needs -fhandle-exceptions], - ac_cv_need_handlexceptions, - -AC_TRY_COMPILE([], -[ -throw; -], ac_cv_need_handlexceptions=no, -ac_cv_need_handlexceptions=yes) -) - -if test "$ac_cv_need_handlexceptions" = "yes" -then - case "$CXXFLAGS" in - *handle-exceptions*) - ;; - *) - CXXFLAGS="-fhandle-exceptions $CXXFLAGS" - CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-O2//'` - ;; - esac -fi - AC_OUTPUT(Makefile) |
