aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-02-06 05:46:03 +0800
committerDan Winship <danw@src.gnome.org>2003-02-06 05:46:03 +0800
commit2b798e6820feeb5e830c49153ba64406d6e19db2 (patch)
treefcf68834dbf8248349301f35d7a21d2eca6eb439 /configure.in
parent999cf94d612e7fc5462dfddeb8669eae06eb0192 (diff)
downloadgsoc2013-evolution-2b798e6820feeb5e830c49153ba64406d6e19db2.tar
gsoc2013-evolution-2b798e6820feeb5e830c49153ba64406d6e19db2.tar.gz
gsoc2013-evolution-2b798e6820feeb5e830c49153ba64406d6e19db2.tar.bz2
gsoc2013-evolution-2b798e6820feeb5e830c49153ba64406d6e19db2.tar.lz
gsoc2013-evolution-2b798e6820feeb5e830c49153ba64406d6e19db2.tar.xz
gsoc2013-evolution-2b798e6820feeb5e830c49153ba64406d6e19db2.tar.zst
gsoc2013-evolution-2b798e6820feeb5e830c49153ba64406d6e19db2.zip
Define and AC_SUBST privlibexecdir, privdatadir, privincludedir,
* configure.in: Define and AC_SUBST privlibexecdir, privdatadir, privincludedir, serverdir, evolutionuidir, imagesdir, buttonsdir, soundsdir, gladedir, etspecdir, and viewsdir. svn path=/trunk/; revision=19769
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in58
1 files changed, 34 insertions, 24 deletions
diff --git a/configure.in b/configure.in
index 602bab12dc..09610a4a91 100644
--- a/configure.in
+++ b/configure.in
@@ -1135,34 +1135,58 @@ dnl *******************
dnl Special directories
dnl *******************
-dnl --- If you add something here, you almost certainly need to add it
-dnl --- to evolution-shell.pc.in (or camel.pc.in) as well, for use by
-dnl --- connector and other external plugins.
+dnl --- If you add something here, consider whether or not you also
+dnl --- need to add it to one or more .pc.in files (for Connector,
+dnl --- etc)
BASE_VERSION=`echo $VERSION | awk -F. '{print $1 "." $2;}'`
AC_SUBST(BASE_VERSION)
AC_DEFINE_UNQUOTED(BASE_VERSION, "$BASE_VERSION", [Base version (Major.Minor)])
-privlibdir='${libdir}'/evolution/${BASE_VERSION}
+privlibdir='${libdir}'/evolution/$BASE_VERSION
AC_SUBST(privlibdir)
-privlibexecdir='${libexecdir}'/evolution/${BASE_VERSION}
+privlibexecdir='${libexecdir}'/evolution/$BASE_VERSION
AC_SUBST(privlibexecdir)
+privdatadir='${datadir}'/evolution/$BASE_VERSION
+AC_SUBST(privdatadir)
+
+privincludedir='${includedir}'/evolution-$BASE_VERSION
+AC_SUBST(privincludedir)
+
camel_providerdir="$privlibdir/camel-providers"
AC_SUBST(camel_providerdir)
+componentdir="$privlibdir/components"
+AC_SUBST(componentdir)
+
idldir="$datadir/idl/evolution-$BASE_VERSION"
AC_SUBST(idldir)
-componentdir="$privlibdir/components"
-AC_SUBST(componentdir)
+serverdir="$libdir/bonobo/servers"
+AC_SUBST(serverdir)
-evolutionuidir="$datadir/evolution-$BASE_VERSION/ui"
+evolutionuidir="$privdatadir/ui"
AC_SUBST(evolutionuidir)
-iconsdir="$datadir/evolution-$BASE_VERSION/images"
-AC_SUBST(iconsdir)
+imagesdir="$privdatadir/images"
+AC_SUBST(imagesdir)
+
+buttonsdir="$privdatadir/images/buttons"
+AC_SUBST(buttonsdir)
+
+soundsdir="$privdatadir/sounds"
+AC_SUBST(soundsdir)
+
+gladedir="$privdatadir/glade"
+AC_SUBST(gladedir)
+
+etspecdir="$privdatadir/etspec"
+AC_SUBST(etspecdir)
+
+viewsdir="$privdatadir/views"
+AC_SUBST(viewsdir)
##################################################
# Check for gtk-doc.
@@ -1245,20 +1269,6 @@ fi
AM_CONDITIONAL(HAVE_KDE_APPLNK, test x"$KDE_APPLNK_DIR" != x)
AC_SUBST(KDE_APPLNK_DIR)
-dnl ***********************
-dnl foo for pkgconfig files
-dnl ***********************
-
-EVOLUTION_LIBDIR="-L${libdir}"
-EVOLUTION_DATADIR="${datadir}"
-EVOLUTION_INCLUDEDIR="-I${includedir}/evolution"
-CAMEL_INCLUDEDIR="-I${includedir}/camel"
-
-AC_SUBST(EVOLUTION_LIBDIR)
-AC_SUBST(EVOLUTION_DATADIR)
-AC_SUBST(EVOLUTION_INCLUDEDIR)
-AC_SUBST(CAMEL_INCLUDEDIR)
-
dnl ******************************
dnl Makefiles
dnl ******************************