Changeset 1558
- Timestamp:
- Oct 10, 2008, 12:59:25 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.am
r1504 r1558 32 32 doc:; @(cd doc; $(MAKE) $(AM_MAKEFLAGS) $@) 33 33 34 .PHONY: svn-clean 35 if ENABLE_SVN_SUPPORT 36 svn-clean: maintainer-clean 37 $(PERL) $(top_srcdir)/build_support/svn-clean $(srcdir) 38 else 39 svn-clean: 40 @echo "$@ is not enabled - see configure option --enable-svn-support" 41 endif -
trunk/README.developer
r1487 r1558 24 24 http://www.gnu.org/software/libtool/manual/libtool.html#Debugging-executables 25 25 26 = Enable svn-clean = 27 28 While `make distclean` will remove most generated files and leave you 29 in a state as though you just unpacked a dist, it is sometimes useful 30 to remove even more files. For this purpose there exists a target 31 `svn-clean` that will remove all files not under sunversion control. 32 The target is not active by default, but can to be turned on with 33 `./configure --enable-svn-support`. Use with care! 26 34 27 35 ---------------------------------------------------------------------- -
trunk/configure.ac
r1542 r1558 173 173 YAT_CXX_ADD_FLAG([AM_CXXFLAGS], [-pedantic]) 174 174 YAT_CPP_ADD_FLAG([CPPFLAGS], [-DHAVE_INLINE=1]) 175 AC_ARG_ENABLE( debug,175 AC_ARG_ENABLE([debug], 176 176 [AS_HELP_STRING([--enable-debug],[turn on debug options and code])]) 177 177 if test "${enable_debug}" = "yes" ; then … … 184 184 YAT_CXX_ADD_FLAG([AM_CXXFLAGS], [-O3]) 185 185 fi 186 187 # enable target svn-clean 188 AC_ARG_ENABLE([svn-support], 189 [AS_HELP_STRING([--enable-svn-support], 190 [enable svn support. Used by yat developers])], 191 [enable_svn_support=yes]) 192 if test "x$enable_svn_support" = "xyes"; then 193 AC_CHECK_PROG([have_svnversion], [svnversion], [yes], [no]) 194 svn_error_msg="svn support cannot be enabled:" 195 if test "x$have_svnversion" != "xyes"; then 196 AC_MSG_ERROR([$svn_error_msg svnversion executable not found.]) 197 fi 198 if test `svnversion -n $srcdir` == "exported"; then 199 AC_MSG_ERROR([$svn_error_msg `$srcdir' is not an svn wc.]) 200 fi 201 AC_PATH_PROG([PERL], [perl], [no]) 202 if test "x$PERL" = "xno"; then 203 AC_MSG_ERROR([$svn_error_msg perl executable not found.]) 204 fi 205 AC_PROG_PERL_MODULES([strict], , 206 [AC_MSG_ERROR([$svn_error_msg missing some perl module.])]) 207 AC_PROG_PERL_MODULES([Cwd], , 208 [AC_MSG_ERROR([$svn_error_msg missing some perl module.])]) 209 AC_PROG_PERL_MODULES([File::Path], , 210 [AC_MSG_ERROR([$svn_error_msg missing some perl module.])]) 211 AC_PROG_PERL_MODULES([Getopt::Long], , 212 [AC_MSG_ERROR([$svn_error_msg missing some perl module.])]) 213 AC_PROG_PERL_MODULES([Pod::Usage], , 214 [AC_MSG_ERROR([$svn_error_msg missing some perl module.])]) 215 216 fi 217 AM_CONDITIONAL([ENABLE_SVN_SUPPORT], [test "x$enable_svn_support" = "xyes"]) 218 186 219 187 220 # check for quiet_NaN support in OS
Note: See TracChangeset
for help on using the changeset viewer.