* emacs 21.3: jpeg version not correctly recognized by configure
@ 2003-03-31 14:41 Jost Martin
0 siblings, 0 replies; only message in thread
From: Jost Martin @ 2003-03-31 14:41 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-31 14:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-31 14:41 emacs 21.3: jpeg version not correctly recognized by configure Jost Martin
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).