Changeset 162


Ignore:
Timestamp:
Aug 20, 2006, 1:01:59 AM (13 years ago)
Author:
Jari Häkkinen
Message:

Addresses #33. 'configure' now checks for APR libraries.

Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r160 r162  
    2424
    2525version pre0.5:
     26  - 'configure' now checks for APR libraries.
    2627  - Added a --enable-debug option to autoconf. The project is
    2728    compiled without debug code by default. Use './configure
  • trunk/README

    r149 r162  
    25251  Prerequisites
    2626
    27 i) Subversion development files, i.e., header files and program
     27ia) Subversion development files, i.e., header files and program
    2828   libraries, version 1.4 or later.
     29
     30ib) This item should not be an issue if item ia) is fulfilled; the
     31   Apache Portable Runtime (APR) should be available if the subversion
     32   API was succesfully compiled. Subversion depends on APR and in
     33   consequence, the dependency is inherited by svndigest.
    2934
    3035ii) Gnuplot.
     
    3338   must be compiled with a C++ compiler that supports 'long long'
    3439   types - GCC does this. This is due to the fact that one of the
    35    underlying libraries, apr, is using 'long long'. apr is written in
     40   underlying libraries, APR, is using 'long long'. APR is written in
    3641   C and the C standard allows 'long long'.
    3742
     
    5459interfaces in ANSI C" written by Nicolas Devillard. The C implemention
    5560is available through http://ndevilla.free.fr/ .
     61
     62svndigest build system uses an M4 macro (build_support/find_apr.m4)
     63created within the Apache project (The Apache Software Foundation). No
     64changes is made to the M4 script. The apache license text is available
     65as buid_support/apache_LICENSE-2.0.txt.
  • trunk/configure.ac

    r161 r162  
    5656fi
    5757
     58# Apache Portable Runtime (APR) checks
    5859AC_ARG_WITH(apr,
    5960  [  --with-apr=DIR          prefix for installed APR or path to APR build
     
    6263  [ APR_PATH=$prefix ])
    6364AC_SUBST(APR_PATH)
     65# Include macros distributed within the APR project
     66sinclude(./build_support/find_apr.m4)
     67APR_FIND_APR(,,1)
    6468
    6569AC_ARG_WITH(svn,
     
    9296     at http://www.gnuplot.info).])
    9397
     98if test $apr_found = "no"; then
     99    AC_MSG_WARN([APR not found. The Apache Portable Runtime (APR)
     100    library cannot be found. Please supply the appropriate --with-apr
     101    option to 'configure'.])
     102fi
     103
    94104echo ""
    95 echo "      Now type 'make ; make check'."
     105echo "If no warnings appear above it is safe to type 'make ; make check'."
    96106echo ""
Note: See TracChangeset for help on using the changeset viewer.