{-# OPTIONS -fglasgow-exts #-}

{-
    *** NOTE ***
    DO NOT EDIT THIS FILE.
    This module is generated by util/generate_config.
-}

{-|
    Pugs System Configuration.

>   Alive without breath;
>   as cold as death;
>   never thirsting, ever drinking;
>   clad in mail, never clinking.
-}


module Pugs.Config (
    config,
    getConfig
) where

import qualified Data.Map as Map
import qualified Pugs.Version

config :: Map.Map String String
config = Map.fromList
    [("archlib", "/usr/local/lib/perl6/mach"),
	("archname", "i386-freebsd-64int"),
	("bin", "/usr/local/bin"),
	("exe_ext", ""),
	("file_sep", "/"),
	("installarchlib", "/usr/local/lib/perl6/mach"),
	("installbin", "/usr/local/bin"),
	("installman1dir", "/usr/local/man/man1"),
	("installman3dir", "/usr/local/lib/perl5/5.8.7/perl/man/man3"),
	("installprivlib", "/usr/local/lib/perl6"),
	("installscript", "/usr/local/bin"),
	("installsitearch", "/usr/local/lib/perl6/site_perl/mach"),
	("installsitebin", "/usr/local/bin"),
	("installsitelib", "/usr/local/lib/perl6/site_perl"),
	("installsiteman1dir", "/usr/local/man/man1"),
	("installsiteman3dir", "/usr/local/lib/perl5/5.8.7/man/man3"),
	("osname", "freebsd"),
	("pager", "/usr/bin/less"),
	("path_sep", ":"),
	("perl_revision", "6"),
	("perl_subversion", "0"),
	("perl_version", "0"),
	("prefix", "/usr/local"),
	("privlib", "/usr/local/lib/perl6"),
	("pugspath", "/usr/local/bin/pugs"),
	("scriptdir", "/usr/local/bin"),
	("sitearch", "/usr/local/lib/perl6/site_perl/mach"),
	("sitebin", "/usr/local/bin"),
	("sitelib", "/usr/local/lib/perl6/site_perl"),
	("siteprefix", "/usr/local"),
	("sitescript", "/usr/local/bin"),
	("sourcedir", "/work/a/ports/lang/pugs/work/Perl6-Pugs-6.2.8")
    ,("pugs_versnum", Pugs.Version.versnum)
    ,("pugs_version", Pugs.Version.version)
    ,("pugs_revision", Pugs.Version.revnum)
    ]

getConfig :: String -> String
getConfig key = Map.findWithDefault "" key config
