Changeset 569 for trunk/configure.ac
- Timestamp:
- Mar 13, 2008, 10:55:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r568 r569 137 137 138 138 wc_found="no"; 139 if (test `$SVNVERSION -n '.'` != "exported"); then 139 if (test $have_svnversion != "no" && 140 test `$SVNVERSION -n $srcdir` != "exported"); 141 then 140 142 wc_found="yes"; 141 143 fi 142 AC_CHECK_FILE("lib/subversion_info.h", info_found="yes", info_found="no") 144 echo $wc_found 145 AC_CHECK_FILE("$srcdir/lib/subversion_info.cc",info_found="yes",info_found="no") 143 146 144 147 # Checking that a release (non-dev) has no pre in VERSION … … 157 160 bin/Makefile 158 161 lib/Makefile 159 test/Makefile 160 test/test_repo.sh 161 test/check_repo_status.sh], 162 [chmod +x test/test_repo.sh; 163 chmod +x test/check_repo_status.sh]) 162 test/Makefile]) 164 163 165 164 # Print failure status information about selected items, and exit if … … 170 169 all_reqs_ok="true" 171 170 172 # 173 if (test "$info_found" = "no" && test "$wc_found" = "no") ; then174 AC_MSG_WARN([Cannot find sources (lib/subver ion_info.h).])171 if (test "$wc_found" != "yes") ; then 172 if (test "$info_found" = "no") ; then 173 AC_MSG_WARN([Cannot find sources (lib/subversion_info.cc).]) 175 174 if (test "$svnversion" = "no") ; then 176 175 AC_MSG_WARN([If you grabbed the source from the subversion repository, … … 185 184 fi 186 185 all_reqs_ok="false" 186 else 187 dnl test repo is not distributed 188 AC_CONFIG_FILES([test/test_repo.sh 189 test/check_repo_status.sh], 190 [chmod +x test/test_repo.sh; 191 chmod +x test/check_repo_status.sh]) 192 193 fi 187 194 fi 188 195
Note: See TracChangeset
for help on using the changeset viewer.