summaryrefslogtreecommitdiff
path: root/graphics/giflib/patches/patch-ac
blob: 7635a5a75dc2855e6b1a8b65fe99b28eab8ab886 (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
55
$NetBSD: patch-ac,v 1.4 2001/05/02 15:51:23 jlam Exp $

--- configure.orig	Wed Feb 10 01:35:28 1999
+++ configure
@@ -2467,50 +2467,6 @@
 fi
 
 
-if test ${MATH_LIB}; then
-    echo $ac_n "checking for rle_hdr_init in -lrle""... $ac_c" 1>&6
-echo "configure:2473: checking for rle_hdr_init in -lrle" >&5
-ac_lib_var=`echo rle'_'rle_hdr_init | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  ac_save_LIBS="$LIBS"
-LIBS="-lrle "-lm"  $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 2481 "configure"
-#include "confdefs.h"
-/* 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 rle_hdr_init();
-
-int main() {
-rle_hdr_init()
-; return 0; }
-EOF
-if { (eval echo configure:2492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
-  rm -rf conftest*
-  eval "ac_cv_lib_$ac_lib_var=yes"
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -rf conftest*
-  eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
-  echo "$ac_t""yes" 1>&6
-  RLE_LIB="${RLE_LIBS} -lrle -lm"
-                 COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gif2rle rle2gif"
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-fi
-
     echo $ac_n "checking for main in -lgl_s""... $ac_c" 1>&6
 echo "configure:2516: checking for main in -lgl_s" >&5
 ac_lib_var=`echo gl_s'_'main | sed 'y%./+-%__p_%'`