Changeset 96 for trunk


Ignore:
Timestamp:
Mar 29, 2006, 1:00:51 AM (16 years ago)
Author:
Jari Häkkinen
Message:

Added --with-apr and --with-svn options to configure script. These may be needed for compilation success.

Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r91 r96  
    2222
    2323version 0.x:
     24  - svnstat handles unexpected situations more gracefully (not a
     25    subversion tree, not up to date items)
    2426  - Using subversion API instead of system calls.
    2527  - Added copyright statement to files.
  • trunk/bin/Makefile.am

    r93 r96  
    2828noinst_HEADERS = Parameter.h rmdirhier.h
    2929
    30 LDADD = @top_srcdir@/lib/libsvnstat.a -L/home/lev/jari/local/lib \
     30LDADD = @top_srcdir@/lib/libsvnstat.a -L$(APR_PATH)/lib -L$(SVN_PATH)/lib \
    3131  -lsvn_client-1 -lsvn_wc-1 -lsvn_ra-1 -lsvn_subr-1 -lapr-0
    3232
    33 INCLUDES = -I@top_srcdir@/lib -I/home/lev/jari/local/include/subversion-1 \
    34   -I/home/lev/jari/local/include/apr-0
     33INCLUDES = -I@top_srcdir@/lib \
     34  -I$(SVN_PATH)/include/subversion-1 -I$(APR_PATH)/include/apr-0
    3535
    3636# Needed to compile svn API stuff
  • trunk/configure.ac

    r84 r96  
    3131AC_CONFIG_AUX_DIR([autotools])
    3232AC_PREFIX_DEFAULT([/usr/local])
     33test $prefix = NONE && prefix=/usr/local
    3334
    3435AM_CONFIG_HEADER([config.h])
     
    4748#CPPFLAGS="-DNDEBUG -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE=1"
    4849
     50AC_ARG_WITH(apr,
     51  [  --with-apr=DIR          prefix for installed APR or path to APR build
     52                          tree [[PREFIX]]],
     53  [ APR_PATH=$withval ],
     54  [ APR_PATH=$prefix ])
     55AC_SUBST(APR_PATH)
     56
     57AC_ARG_WITH(svn,
     58  [  --with-svn=DIR          prefix for svn developer files [[PREFIX]]],
     59  [ SVN_PATH=$withval ],
     60  [ SVN_PATH=$prefix ])
     61AC_SUBST(SVN_PATH)
     62
    4963AC_CONFIG_FILES([Makefile
    5064                bin/Makefile
  • trunk/lib/Makefile.am

    r93 r96  
    3131  GnuplotFE.cc Node.cc Stats.cc SVN.cc utility.cc
    3232
    33 INCLUDES = -I/home/lev/jari/local/include/subversion-1 \
    34   -I/home/lev/jari/local/include/apr-0
     33INCLUDES = -I$(SVN_PATH)/include/subversion-1 -I$(APR_PATH)/include/apr-0
    3534
    3635# Needed to compile svn API stuff
Note: See TracChangeset for help on using the changeset viewer.