/*
 *	aegis - project change supervisor
 *	Copyright (C) 1997, 1999, 2002, 2003 Peter Miller;
 *	All rights reserved.
 *
 *	This program is free software; you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License as published by
 *	the Free Software Foundation; either version 2 of the License, or
 *	(at your option) any later version.
 *
 *	This program is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *
 *	You should have received a copy of the GNU General Public License
 *	along with this program; if not, write to the Free Software
 *	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
 *
 * MANIFEST: functions to report configured values
 *
 * @configure_input@
 */

#include <libdir.h>


const char *
configured_prefix(void)
{
    return "@prefix@";
}


/*
 * On a network, may ONLY be shared betwen machines of identical
 * cpu-vendor-os flavour.  Probably mounted read-only.
 *
 * This is where the executable files live.
 */

const char *
configured_bindir(void)
{
	return "@bindir@";
}


/*
 * On a network, may ONLY be shared betwen machines of identical
 * cpu-vendor-os flavour.  Probably mounted read-only.
 */

const char *
configured_libdir(void)
{
	return "@libdir@";
}


/*
 * This is where the error message (.mo) files are parked.
 */

const char *
configured_nlsdir(void)
{
	return "@NLSDIR@";
}

/*
 * On a network, may be shared betwen all machines.
 * Probably mounted read-only.
 *
 * This is where the various translations of the user documentation are
 * parked, all documents, papers and manual pages, for all languages.
 *
 * This is where the various shell scripts are parked.
 *
 * This is where the reort scripts are parked.
 */

const char *
configured_datadir(void)
{
	return "@datadir@";
}


/*
 * On a network, may be shared betwen all machines.
 * Probably mounted read-only.
 *
 * This is where the default-language manual entries are parked.
 */

const char *
configured_mandir(void)
{
	return "@mandir@";
}


/*
 * On a network, must be shared betwen all machines.
 * MUST BE mounted Read-Write.
 *
 * This is where the lockfile lives.
 *
 * This is where the global state (project index) file lives.
 *
 * This is where the user ownership state files live.
 */

const char *
configured_comdir(void)
{
	return "@sharedstatedir@";
}


int
configured_aegis_uid(void)
{
	return @AEGIS_UID@;
}


int
configured_aegis_gid(void)
{
	return @AEGIS_GID@;
}


const char *
configured_exeext(void)
{
	return "@EXEEXT@";
}
