summaryrefslogtreecommitdiff
path: root/graphics/jpeg-mmx/files/patch-ab
blob: e4de71cf3d301b9be70027c5ba24e70ed7d107d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- configure.orig	Sat Mar 21 14:08:57 1998
+++ configure	Sat Jul 29 23:23:09 2000
@@ -1529,7 +1529,9 @@
 
 if test "x$LTSHARED" != xno  -o  "x$LTSTATIC" != xno; then
   USELIBTOOL="yes"
-  LIBTOOL="./libtool"
+  if test "x$LIBTOOL" = "x"; then
+    LIBTOOL="./libtool"
+  fi
   O="lo"
   A="la"
   LN='$(LIBTOOL) --mode=link $(CC)'
@@ -1647,7 +1649,7 @@
 # Extract the library version ID from jpeglib.h.
 echo $ac_n "checking libjpeg version number""... $ac_c" 1>&6
 echo "configure:1650: checking libjpeg version number" >&5
-JPEG_LIB_VERSION=`sed -e '/^#define JPEG_LIB_VERSION/!d' -e 's/^[^0-9]*\([0-9][0-9]*\).*$/\1/' $srcdir/jpeglib.h`
+JPEG_LIB_VERSION=9
 echo "$ac_t""$JPEG_LIB_VERSION" 1>&6