;; Generated by genconfig.  DO NOT EDIT
(define-module gauche.config
  (use gauche.process)
  (use file.util)
  (use srfi-13)
  (export gauche-config))
(select-module gauche.config)

(define (gauche-config param)
  (cond ((assoc param *configurations*) => cadr)
        (else (error "unknown configuration parameter name" param))))

(define *configurations*
  (quote
   (("-V"  "0.8.13")
    ("-I"  "-I/usr/local/lib/gauche/0.8.13/include")
    ("-L"  "-L/usr/local/lib/gauche/0.8.13/amd64-portbld-freebsd8.0 ")
    ("--ac"  "/usr/local/share/gauche/0.8.13/")
    ("-l"  "-lgauche -lcrypt -lutil -lm  ")
    ("--cc"  "cc -std=gnu99")
    ("--reconfigure"  "./configure  '--enable-threads=no' '--enable-multibyte=utf-8' '--with-slib=/usr/local/share/slib' '--with-iconv=/usr/local' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd8.0' 'build_alias=amd64-portbld-freebsd8.0' 'CC=cc' 'CFLAGS=-O2 -pipe -fno-strict-aliasing'")

    ("--prefix"       "/usr/local")
    ("--sysincdir"    "/usr/local/lib/gauche/0.8.13/include")
    ("--siteincdir"   "/usr/local/lib/gauche/site/include")
    ("--pkgincdir"    "${libdir}/gauche/site/include")
    ("--syslibdir"    "/usr/local/share/gauche/0.8.13/lib")
    ("--sitelibdir"   "/usr/local/share/gauche/site/lib")
    ("--pkglibdir"    "${datadir}/gauche/site/lib")
    ("--sysarchdir"   "/usr/local/lib/gauche/0.8.13/amd64-portbld-freebsd8.0")
    ("--sitearchdir"  "/usr/local/lib/gauche/site/0.8.13/amd64-portbld-freebsd8.0")
    ("--pkgarchdir"   "${libdir}/gauche/site/0.8.13/amd64-portbld-freebsd8.0")
    ("--mandir"       "/usr/local/man")
    ("--infodir"      "/usr/local/info/")
    ("--arch"         "amd64-portbld-freebsd8.0")

    ("--local-incdir"  "")
    ("--local-libdir"  "")

    ("--default-cflags"  "-O2 -pipe -fno-strict-aliasing")

    ("--object-suffix"   "o")
    ("--executable-suffix"  "")
    ("--so-suffix"       "so")
    ("--so-cflags"       "-fPIC")
    ("--so-ldflags"      " -shared -o")
    ("--so-libs"         "")
    ("--dylib-suffix"    "so")
    ("--dylib-ldflags"   " -shared -o")
    ("--libgauche-so"    "libgauche.so")
    )))

(provide "gauche/config")
