t2sde/package/editors/emacs/emacs.conf
2025-04-14 11:54:47 +00:00

23 lines
998 B
Plaintext

# --- T2-COPYRIGHT-BEGIN ---
# t2/package/*/emacs/emacs.conf
# Copyright (C) 2024 - 2025 The T2 SDE Project
# SPDX-License-Identifier: GPL-2.0
# --- T2-COPYRIGHT-END ---
[ $arch = ia64 ] && var_append confopt ' ' --with-dumping=none
pkginstalled libgif || var_append confopt ' ' --with-gif=no
pkginstalled libpng || var_append confopt ' ' --with-png=no
pkginstalled libtiff || var_append confopt ' ' --with-tiff=no
if ! pkginstalled libjpeg && ! pkginstalled -n libjpeg-turbo; then
var_append confopt ' ' --with-jpeg=no
fi
pkginstalled gnutls || var_append confopt ' ' --with-gnutls=no
pkginstalled gconf || var_append confopt ' ' --without-gsettings
pkginstalled cairo || var_append confopt ' ' --without-cairo
pkginstalled gtk+ && pkginstalled wayland && var_append confopt ' ' --with-pgtk
pkginstalled libx11 || var_append confopt ' ' --without-x
var_append GCC_WRAPPER_INSERT " " "-I$root$(pkgprefix includedir libx11)"
var_append GCC_WRAPPER_INSERT " " "-L$root$(pkgprefix libdir libx11)"