Changeset 540 for trunk/configure.ac
- Timestamp:
- Dec 29, 2007, 3:40:23 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r519 r540 122 122 AC_SEARCH_LIBS([svn_client_log3],[svn_client-1],,svn_found="no") 123 123 124 125 # check if svnversion is installed 126 have_svnversion="yes" 127 AC_PATH_PROG(SVNVERSION, svnversion, have_svnversion="no") 128 129 wc_found="no"; 130 if (test `$SVNVERSION -n '.'` != "exported"); then 131 wc_found="yes"; 132 fi 133 AC_CHECK_FILE("lib/subversion_info.h", info_found="yes", info_found="no") 134 135 # devel version should have svn WC and SVNVERSION installed 136 AM_CONDITIONAL(HAVE_SVN_WC, test "$wc_found" = "yes" ) 137 138 124 139 AC_CONFIG_FILES([Makefile 125 140 bin/Makefile … … 133 148 # used to trigger exit before creation of output 134 149 all_reqs_ok="true" 150 151 # 152 if (test "$info_found" = "no" && test "$wc_found" = "no") ; then 153 AC_MSG_WARN([Cannot find sources (lib/subverion_info.h).]) 154 if (test "$svnversion" = "no") ; then 155 AC_MSG_WARN([If you grabbed the source from the subversion repository, 156 the file will be generated automatically. However, svnversion cannot 157 be found and therefore the file cannot be generated. Please install 158 svnversion and make sure it is in your search path.]) 159 else 160 AC_MSG_WARN([If you grabbed the source from the subversion repository, 161 the file will be generated automatically. However, the output from 162 svnversion was incorrect. Either your installation of svnversion is 163 is not healthy or there is something wrong with the repository.]) 164 fi 165 all_reqs_ok="false" 166 fi 135 167 136 168 # Non-existing APR is fatal -- sub-sequent compilation will fail.
Note: See TracChangeset
for help on using the changeset viewer.