cgit: Added cgit 0.7.3-c502865 - A CGI for git written in C
[opensde-package-nopast.git] / develop / clisp / clisp.conf
blob9ce2f918d8add6aad7bea56a05aabdf73518aa77
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../clisp/clisp.conf
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- SDE-COPYRIGHT-NOTE-END ---
14 # clisp has a strange config file, so we're doing some extra work here:
16 # basic configuration for clisp
17 var_append clispconfopt ' ' "--prefix=$root/$prefix"
18 var_append clispconfopt ' ' "--exec-prefix=$root/$prefix"
19 var_append clispconfopt ' ' "--fsstnd=debian"
20 #NOT YET: var_append clispconfopt ' ' "--with-threads=POSIX_THREADS"
21 var_append clispconfopt ' ' "--with-dynamic-ffi"
22 var_append clispconfopt ' ' "--with-unicode"
24 # clisp bindings (modules)
25 clisp_modules=
26 var_append clisp_modules ' ' bindings/glibc
27 #FIXME berkeley-db does not compile
28 #pkginstalled bdb \
29 #       && var_append clisp_modules ' ' berkeley-db
30 pkginstalled xorg \
31         && var_append clisp_modules ' ' clx/new-clx
32 #var_append clisp_modules ' ' netica
33 pkginstalled pcre \
34         && var_append clisp_modules ' ' pcre
35 #var_append clisp_modules ' ' queens
36 var_append clisp_modules ' ' syscalls
37 #var_append clisp_modules ' ' dirkey
38 #var_append clisp_modules ' ' fastcgi
39 #var_append clisp_modules ' ' oracle
40 #FIXME export header location of postgresql ot CFLAGS
41 #pkginstalled postgresql \
42 #       && var_append clisp_modules ' ' postgresql
43 var_append clisp_modules ' ' regexp
44 var_append clisp_modules ' ' wildcard
46 for i in $clisp_modules; do
47         var_append clispconfopt ' ' "--with-module=$i"
48 done
50 # a certain alignment of functions is necessary
51 case "$SDECFG_ARCH" in
52         *) #FIXME
53                 var_append GCC_WRAPPER_APPEND ' ' "-falign-functions=4"
54                 ;;
55 esac
57 clisp_main() {
58         eval_config_command $( eval echo $clispconfopt ) --install build-with-gcc
61 custmain=clisp_main