blob: 5e9460d31d9c45179bee7ac06bdbc703b5380e15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
--- configure.orig Wed Jul 10 21:34:39 1996
+++ configure Sat Jul 11 22:46:53 1998
@@ -1887,7 +1887,7 @@
fi
echo $ac_n "checking for -lXpm""... $ac_c" 1>&6
-ac_lib_var=`echo Xpm'_'_XpmFreeXpmImage | tr './+\055' '__p_'`
+ac_lib_var=`echo Xpm'_'XpmFreeXpmImage | tr './+\055' '__p_'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1899,11 +1899,11 @@
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char _XpmFreeXpmImage();
+char XpmFreeXpmImage();
int main() { return 0; }
int t() {
-_XpmFreeXpmImage()
+XpmFreeXpmImage()
; return 0; }
EOF
if { (eval echo configure:1910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
@@ -3038,7 +3038,7 @@
LIBS="${withval}/libjpeg.a ${LIBS}"
else
if test -r ${withval}/lib/libjpeg.a ; then
- LIBS="${withval}/lib/libjpeg.a ${LIBS}"
+ LIBS="-L${withval}/lib -ljpeg ${LIBS}"
else
{ echo "configure: error: Could not find libjpeg.a in ${withval}" 1>&2; exit 1; }
fi
@@ -3125,8 +3125,8 @@
libz="${withval}/libz.a"
else
if test -r ${withval}/lib/libz.a ; then
- LIBS="${withval}/lib/libz.a ${LIBS}"
- libz="${withval}/lib/libz.a"
+ LIBS="-L${withval}/lib -lz ${LIBS}"
+ libz="-L${withval}/lib -lz"
else
{ echo "configure: error: Could not find libz.a in ${withval}" 1>&2; exit 1; }
fi
@@ -3180,7 +3180,7 @@
LIBS="${withval}/libpng.a ${libz} ${LIBS}"
else
if test -r ${withval}/lib/libpng.a ; then
- LIBS="${withval}/lib/libpng.a ${libz} ${LIBS}"
+ LIBS="-L${withval}/lib -lpng ${libz} ${LIBS}"
else
{ echo "configure: error: Could not find libpng.a in ${withval}" 1>&2; exit 1; }
fi
|