unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jost Martin <martin.jost@siemens.com>
Subject: emacs 21.3: jpeg version not correctly recognized by configure
Date: Mon, 31 Mar 2003 16:41:00 +0200	[thread overview]
Message-ID: <495C6C4DAAD7D2119ADF0008C71EEF3F0135044C@mchh229e.mchh.siemens.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 2793 bytes --]

In GNU Emacs 21.3.1 (hppa2.0-hp-hpux10.20, OSF/Motif Version 1.2.6)
 of 2003-03-31 on lasagne
configured using `configure  -prefix=/pd/emacs21.3 --with-x-toolkit=motif --x-includes=/usr/include/X11R6:/usr/contrib/X11R6/include --x-libraries=/usr/lib/X11R6/:/usr/contrib/X11R6/lib -with-jpeg -with-tiff -with-png -with-gif --without-gcc'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.iso88591
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

This is a configure-problem.
I had to "tweak" configure a little bit to have it correctly recognise
my jpeg-lib as 6b.

I have used the HP ANSI-C-Compiler to build emacs.
/opt/ansic/bin/cc:
              LINT A.10.32.30 CXREF  A.10.32.30
        HP92453-01 A.10.32.30 HP C Compiler
         /usr/lib/libc: $Revision: 76.3 $


I have jpeg (6b) installed under /pd/libs/(lib)|(include). But
configured didn't used it, claiming it wasn't 6b.

I finally found this reason:
configure uses the CC-preprocessor to get at the JPEG_LIB_VERSION.
But HP 'cc -E' seems to simply ignore all '#include' with leading
whitespace on the line.

I had to change configure as below to have it use my jpeg:

*** configure.orig      Mon Mar 31 14:55:27 2003
--- configure   Mon Mar 31 15:14:20 2003
***************
*** 5353,5359 ****
      cat > conftest.$ac_ext <<EOF
  #line 5355 "configure"
  #include "confdefs.h"
!         #include <jpeglib.h>
         version=JPEG_LIB_VERSION

  EOF
--- 5353,5359 ----
      cat > conftest.$ac_ext <<EOF
  #line 5355 "configure"
  #include "confdefs.h"
! #include <jpeglib.h>
         version=JPEG_LIB_VERSION

  EOF


Recent input:
<switch-frame> <switch-frame> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <emacs-problems>
<down-mouse-1> <mouse-1> <next> <next> <prior> <prior>
<prior> <prior> C-s j p e g <return> C-s C-s C-s C-s
C-s <return> C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s
<return> <down> <down> <down> <down> C-x k <return>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <help-menu> <report-emacs-bug>

Recent messages:
ad-handle-definition: `compile' got redefined
ad-handle-definition: `grep' got redefined
Loading compile.elc...done
Loading view...done
Note: file is write protected
Type C-h for help, h for commands, q to quit.
Updating speedbar to: /pd/emacs21.3/share/emacs/21.3/etc/...done
call-interactively: Beginning of buffer [2 times]
Mark saved where search started [3 times]
Loading emacsbug...done



[-- Attachment #2: Jost Martin.vcf --]
[-- Type: application/octet-stream, Size: 387 bytes --]

BEGIN:VCARD
VERSION:2.1
N:Jost;Martin
FN:Jost Martin
ORG:Siemens AG;ICN WN OP TDC TC 2
TITLE:ICN WN OP TDC TC 2
TEL;WORK;VOICE:+49 89 722 44248
TEL;CELL;VOICE:.
ADR;WORK:;1714/560;Hofmannstr. 51;Muenchen;.;81359;DE
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:1714/560=0D=0AHofmannstr. 51=0D=0AMuenchen, . 81359=0D=0ADE
EMAIL;PREF;INTERNET:martin.jost@siemens.com
REV:20020909T142313Z
END:VCARD

[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs

                 reply	other threads:[~2003-03-31 14:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=495C6C4DAAD7D2119ADF0008C71EEF3F0135044C@mchh229e.mchh.siemens.de \
    --to=martin.jost@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).