;; Generated by genconfig.  DO NOT EDIT
(define-module gauche.config
  (export gauche-config))
(select-module gauche.config)

(define (gauche-config param)
  (cond [(assoc param *configurations*) 
         => (^p ((with-module gauche.internal %gauche-replace-runtime-directory)
                 (cadr p)))]
        [else (error "unknown configuration parameter name" param)]))

(define *configurations*
  (quote
   (("-V"  "0.9.8")
    ("-I"  "-I/usr/lib/gauche-0.97/0.9.8/include")
    ("-L"  "-L/usr/lib/gauche-0.97/0.9.8/x86_64-pc-linux-gnu ")
    ("--ac"  "/usr/share/gauche-0.97/0.9.8/")
    ("-l"  "-lgauche-0.97 -ldl -lcrypt -lutil -lrt -lm  -lpthread")
    ("--cc"  "gcc")
    ("--reconfigure"  "./configure  '--enable-multibyte=utf-8' '--prefix=/usr' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'")

    ("--prefix"       "/usr")
    ("--sysincdir"    "/usr/lib/gauche-0.97/0.9.8/include")
    ("--siteincdir"   "/usr/lib/gauche-0.97/site/include")
    ("--pkgincdir"    "${libdir}/gauche-0.97/site/include")
    ("--syslibdir"    "/usr/share/gauche-0.97/0.9.8/lib")
    ("--sitelibdir"   "/usr/share/gauche-0.97/site/lib")
    ("--pkglibdir"    "${datadir}/gauche-0.97/site/lib")
    ("--sysarchdir"   "/usr/lib/gauche-0.97/0.9.8/x86_64-pc-linux-gnu")
    ("--sitearchdir"  "/usr/lib/gauche-0.97/site/x86_64-pc-linux-gnu")
    ("--pkgarchdir"   "${libdir}/gauche-0.97/site/x86_64-pc-linux-gnu")
    ("--mandir"       "/usr/share/man")
    ("--infodir"      "/usr/share/info")
    ("--arch"         "x86_64-pc-linux-gnu")

    ("--incdirs"      "/usr/lib/gauche-0.97/0.9.8/include:/usr/lib/gauche-0.97/site/include")
    ("--archdirs"      "/usr/lib/gauche-0.97/0.9.8/x86_64-pc-linux-gnu:/usr/lib/gauche-0.97/site/x86_64-pc-linux-gnu")
    ("--local-incdir"  "")
    ("--local-libdir"  "")

    ("--default-cflags"  "-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Wno-unused-label")

    ("--object-suffix"   "o")
    ("--executable-suffix"  "")
    ("--rpath-flag"      "-Wl,--rpath=")
    ("--so-suffix"       "so")
    ("--so-cflags"       "-fPIC")
    ("--so-ldflags"      " -shared -o")
    ("--so-libs"         "")
    ("--dylib-suffix"    "so")
    ("--dylib-ldflags"   " -shared -o")
    ("--libgauche-so"    "libgauche-0.97.so")
    ("--static-libs"     "-lgauche-static-0.97  -lgdbm -lgdbm_compat -lz -ldl -lcrypt -lutil -lrt -lm -lpthread")
    )))

