You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

62 lines
1.7 KiB

# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../cf/cf.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
add_host_def() {
echo "$*" >> $root$libdir/X11/config/host.def
}
make_host_def() {
rm -f $root$libdir/X11/config/host.def
add_host_def "/* T2 host.def file */"
add_host_def "#define ProjectRoot /$prefix"
add_host_def ""
add_host_def "#define LinuxDistribution LinuxT2"
add_host_def "#define LinuxDistName \"T2\""
add_host_def ""
add_host_def "/* Configuration options */"
add_host_def "#define XAppLoadDir EtcX11Directory/app-defaults"
if pkginstalled pam; then add_host_def "#define HasPam YES";
else add_host_def "#define HasPam NO"; fi
add_host_def "#define FSUseSyslog YES"
# FIXME needs wraphelp.c
# add_host_def "#define HasXdmAuth YES"
# NOTE: there's maybe a lot more to configure,
# see lines after "#if LinuxDistribution == LinuxDebian"
# in file linux.cf, e.g.:
#define LinkGLToUsrInclude NO
#define LinkGLToUsrLib NO
#define SharedLibFont NO
#define SharedLibGlu YES
#define NormalLibGlu YES
}
cf_custmain() {
mkdir -p $root$libdir/X11/config
cp -fv * $root$libdir/X11/config/
touch $root$libdir/X11/config/date.def
make_host_def
}
custmain="cf_custmain"