1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../cf/cf.conf
5 # Copyright (C) 2004 - 2017 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 # --- T2-COPYRIGHT-NOTE-END ---
16 echo "$*" >> $root$libdir/X11/config/host.def
20 rm -f $root$libdir/X11/config/host.def
22 add_host_def "/* T2 host.def file */"
24 add_host_def "#define ProjectRoot /$prefix"
27 add_host_def "#define LinuxDistribution LinuxT2"
28 add_host_def "#define LinuxDistName \"T2\""
31 add_host_def "/* Configuration options */"
33 add_host_def "#define XAppLoadDir EtcX11Directory/app-defaults"
35 if pkginstalled pam; then add_host_def "#define HasPam YES";
36 else add_host_def "#define HasPam NO"; fi
38 add_host_def "#define FSUseSyslog YES"
40 # FIXME needs wraphelp.c
41 # add_host_def "#define HasXdmAuth YES"
43 # NOTE: there's maybe a lot more to configure,
44 # see lines after "#if LinuxDistribution == LinuxDebian"
45 # in file linux.cf, e.g.:
46 #define LinkGLToUsrInclude NO
47 #define LinkGLToUsrLib NO
48 #define SharedLibFont NO
49 #define SharedLibGlu YES
50 #define NormalLibGlu YES
54 mkdir -p $root$libdir/X11/config
55 cp -fv * $root$libdir/X11/config/
57 touch $root$libdir/X11/config/date.def
63 hook_add inmake 5 "cf_custmain"