--- projects/libstatgrab/configure.in 2003/10/04 16:32:23 1.32 +++ projects/libstatgrab/configure.in 2003/10/07 22:07:37 1.33 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libstatgrab -# $Id: configure.in,v 1.32 2003/10/04 16:32:23 tdb Exp $ +# $Id: configure.in,v 1.33 2003/10/07 22:07:37 tdb Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(libstatgrab, 0.6, bugs@i-scream.org) AM_INIT_AUTOMAKE(libstatgrab, 0.6) # Revision number (automatically updated) -AC_REVISION($Revision: 1.32 $) +AC_REVISION($Revision: 1.33 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -122,6 +122,14 @@ AC_ARG_ENABLE(manpages, fi ] ) + +# User specified pkgconfig dir +AC_ARG_WITH([pkgconfig-dir], + [ --with-pkgconfig-dir=PATH pkgconfig lib directory (PREFIX/lib/pkgconfig)], + [ PKGCONFIG_DIR=$withval ], + [ PKGCONFIG_DIR="\$(libdir)/pkgconfig" ] +) +AC_SUBST(PKGCONFIG_DIR) # The LIBS and CPPFLAGS that saidar needs AC_SUBST(SAIDARLIBS)