Changeset 1416
- Timestamp:
- Oct 25, 2011, 1:39:04 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r1415 r1416 154 154 # svn needs needs apr headers 155 155 AC_CHECK_HEADER([subversion-1/svn_types.h],,[svn_found="no"]) 156 157 # In some versions, such as 1.7, of Subversion header file `svn_wc.h' 158 # does not conform to C++98 and therefore compiling with -pedantic 159 # fails. As -pedantic is automatically turned on in --enable-debug 160 # mode we need to turn it off -pedantic to allow building with 161 # --enable-debug (see ticket #506) 162 AS_IF([test x$enable_debug = xyes], 163 [AC_MSG_CHECKING([subversion-1/svn_wc.h usability with -pedantic]) 164 AC_COMPILE_IFELSE( 165 [AC_LANG_PROGRAM([@%:@include <subversion-1/svn_wc.h>])], 166 [AC_MSG_RESULT([yes])], 167 [AC_MSG_RESULT([no]) 168 CXXFLAGS=`AS_ECHO(["$CXXFLAGS"]) | $SED 's|-pedantic||'` 169 AC_MSG_NOTICE([remove -pedantic from \$CXXFLAGS]) 170 ] 171 ) 172 ]) 156 173 157 174 save_LIBS=$LIBS
Note: See TracChangeset
for help on using the changeset viewer.