Ticket #18254: patch.dvipng-configure

File patch.dvipng-configure, 1.2 KB (added by numaryu, 16 years ago)
Line 
1--- tetex-src-3.0/texk/dvipng/configure.orig    2009-02-22 20:49:42.000000000 -0500
2+++ tetex-src-3.0/texk/dvipng/configure 2009-02-22 20:50:08.000000000 -0500
3@@ -2488,7 +2488,7 @@
4   echo $ac_n "(cached) $ac_c" 1>&6
5 else
6   ac_save_LIBS="$LIBS"
7-LIBS="-lpng -lz -lm $LIBS"
8+LIBS="-lpng -lz -lc -lm $LIBS"
9 cat > conftest.$ac_ext <<EOF
10 #line 2494 "configure"
11 #include "confdefs.h"
12@@ -2601,7 +2601,7 @@
13   echo $ac_n "(cached) $ac_c" 1>&6
14 else
15   ac_save_LIBS="$LIBS"
16-LIBS="-lt1 -lz -lm $LIBS"
17+LIBS="-lt1 -lz -lc -lm $LIBS"
18 cat > conftest.$ac_ext <<EOF
19 #line 2607 "configure"
20 #include "confdefs.h"
21@@ -2638,7 +2638,7 @@
22 
23   fi
24 
25-  LIBS="-lt1 -lm $LIBS"
26+  LIBS="-lt1 -lc -lm $LIBS"
27   if test "$with_system_t1lib" = yes; then
28       echo $ac_n "checking whether installed T1 lib is >= v 5.0.0 ""... $ac_c" 1>&6
29 echo "configure:2645: checking whether installed T1 lib is >= v 5.0.0 " >&5
30@@ -3122,7 +3122,7 @@
31   echo $ac_n "(cached) $ac_c" 1>&6
32 else
33   ac_save_LIBS="$LIBS"
34-LIBS="-lm  $LIBS"
35+LIBS="-lc -lm  $LIBS"
36 cat > conftest.$ac_ext <<EOF
37 #line 3128 "configure"
38 #include "confdefs.h"
39@@ -3152,7 +3152,7 @@
40 #define $ac_tr_lib 1
41 EOF
42 
43-  LIBS="-lm $LIBS"
44+  LIBS="-lc -lm $LIBS"
45 
46 else
47   echo "$ac_t""no" 1>&6