From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Interpreting configure script's results Date: Fri, 31 Dec 2021 15:08:50 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37798"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 31 21:11:57 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n3OFp-0009g7-Eu for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Dec 2021 21:11:57 +0100 Original-Received: from localhost ([::1]:47410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3OFn-0006ww-JB for ged-emacs-devel@m.gmane-mx.org; Fri, 31 Dec 2021 15:11:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3OD2-0003To-0l for emacs-devel@gnu.org; Fri, 31 Dec 2021 15:09:04 -0500 Original-Received: from mail-vk1-f181.google.com ([209.85.221.181]:38886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3OD0-0001wq-Ai for emacs-devel@gnu.org; Fri, 31 Dec 2021 15:09:03 -0500 Original-Received: by mail-vk1-f181.google.com with SMTP id h5so7455412vkp.5 for ; Fri, 31 Dec 2021 12:09:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6JQXC3Ueh7UIknma3s/U0WN5nSMZQI1Pv7rMpTAr/1E=; b=Kvj7S7/w95aMtE4wvqDn6ks0HIhh7TWRu1Z9jmDazp/2xQOmUzj8w55J2uYbblAeOs JqIG0/o5febNkrdw4nZ4hHFYYM5pzI4JbLHXaBb3Z8fk2ohIpl7CMuJuxaQgJ5vB0ex1 HY5+pR/q/M/7jgZ4AU+AR4VM5dB4AglrvqR/N4TUe/bN89MCNOdTNFRz+bx4lWaQ4mt+ nlUit3CBLm3CRgyxVct7Qydgl5fqsWKf+3iiE7qNvQ4tOLEuLjgaKUhZ5MbrHr9hfq/g mfQQnykZFMdA8aeHBqVCh0+aWjxs7cIYtDdL0BxhZJ+k24983eGgUelB46Yw2gjgr/4M h7Fg== X-Gm-Message-State: AOAM533pK73WOBojRFx/e5LzGHrxtTsMoXXz1BI5gLNS2We+I4sMsxMp EsJMGQPQse0w1JZNFtEon8YsfrexTLY3LBBxHfcXqswSVMfL6w== X-Google-Smtp-Source: ABdhPJyeUsperPO+sZ+CAmUyi0+vemnHMnEBEFR3D8WCna8xPtAkU2tJ9VlcWV49UIUQ+jCfxaKq+ZWx0Azuh1qt85o= X-Received: by 2002:a05:6122:1687:: with SMTP id 7mr11852827vkl.5.1640981341032; Fri, 31 Dec 2021 12:09:01 -0800 (PST) Received-SPF: pass client-ip=209.85.221.181; envelope-from=john.yates.sheets@gmail.com; helo=mail-vk1-f181.google.com X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283767 Archived-At: Emacs seems to be rapidly acquiring dependencies on separate libraries. Those listed as --without-xyz in the configure script's help appear to enable uncontroversial additional capabilities that do not need to be requested explicitly. I contrast those with the --with-xyz options. I build emacs on Ubuntu where I need to install a -dev package for emacs to link against a library. When configure displays its summary table I try to understand the reason for any 'no' result. Sometimes it is fairly obvious. So recently when I saw Does Emacs use -lsqlite3? no I knew immediately that, even though I already had sqlite3 installed, I had to add libsqlite3-dev. Now consider that configure's help text shows --with-imagemagick compile with ImageMagick image support --without-native-image-api don't use native image APIs (GDI+ on Windows) I take these to mean that one normally should not request Imagemagick and that native image APIs will be used by default. I use no version of either of these options in my configuration. My resulting summary is Does Emacs use imagemagick? no Does Emacs use native APIs for images? no I expected the first 'no' and assumed that I should resolve the second. But for the life of me I cannot figure out what -dev package is missing. I have skimmed the configure script and have concluded that these native APIs are available only on ns, w32 and haiku. Does this mean that image functionality is not supported on these three platforms? Do I need to add --with-imagemagick? Suggestion: Could configure's output be made more informative? In particular, when some expected capability fails to be included for lack of some header could that be called out? /john