Changeset 383


Ignore:
Timestamp:
Jun 25, 2007, 12:04:58 AM (13 years ago)
Author:
Jari Häkkinen
Message:

Improved ./configure diagnostics when APR and/or subversion API cannot be found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r368 r383  
    136136# Non-existing subversion API is fatal -- sub-sequent compilation will fail.
    137137if (test "$svn_found" = "no") ; then
    138     AC_MSG_WARN([Subversion API not found. Subversion API libraries
    139     cannot be found. Make sure the APIs are installed and supply the
    140     appropriate --with-svn option to 'configure'.])
     138    svn_msg="Subversion API not found. Subversion API libraries cannot
     139    be found. Make sure the APIs are installed and supply the
     140    appropriate --with-svn option to 'configure'."
     141if (test "$apr_found" = "no") ; then
     142    svn_msg="$svn_msg
     143    Note, APR was not found. Failure to locate APR affects the
     144    location of the subversion API. Please fix the APR problem before
     145    trying to resolve the subversion related issues."
     146fi
     147    AC_MSG_WARN([$svn_msg])
    141148    all_reqs_ok="false"
    142149fi
     
    146153    configure. Please consult the 'README' file for more information
    147154    about what is needed to compile svndigest and refer to above
    148     warning messages. Needed output files were NOT created.])
     155    warning messages. Needed files were NOT created.])
    149156fi
    150157
     
    175182if (test "$GNUPLOT" != "ok") ; then
    176183    AC_MSG_WARN([Gnuplot was not found. svndigest will compile
    177     without gnuplot but will throw an exception at runtime. Please
     184    without gnuplot but will throw an exception at run-time. Please
    178185    install gnuplot (available for a wide range of operating systems
    179186    at http://www.gnuplot.info).])
Note: See TracChangeset for help on using the changeset viewer.