summaryrefslogtreecommitdiff
path: root/print/gnome-print/patches/patch-aa
blob: 16d10cf03cd1bdbf2abf3fd76c6519271e3b2f10 (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
56
57
58
59
60
61
62
63
64
$NetBSD: patch-aa,v 1.1.1.1 1999/07/31 19:13:08 rh Exp $

--- configure.orig	Fri Jul  9 07:51:54 1999
+++ configure	Fri Jul 30 19:17:22 1999
@@ -1972,6 +1972,7 @@
   ac_tool_prefix=
 fi
 
+if false; then
 # Always use our own libtool.
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
@@ -2204,6 +2205,7 @@
 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
+fi
 
 # Redirect the config.log output again, so that the ltconfig log is not
 # clobbered by the next message.
@@ -2894,7 +2896,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lxml `gnome-config --libs xml` $LIBS"
+LIBS="-L${LOCALBASE}/lib -lxml -lz ${LIBS}"
 cat > conftest.$ac_ext <<EOF
 #line 2900 "configure"
 #include "confdefs.h"
@@ -2925,8 +2927,8 @@
   
 		
 		
-		GNOME_XML_LIB=`gnome-config --libs xml`
-	
+		GNOME_XML_LIB="-L${LOCALBASE}/lib -lxml -lz -lintl"
+		XGETTEXT="${LOCALBASE}/bin/xgettext"
 else
   echo "$ac_t""no" 1>&6
 
@@ -4693,8 +4695,8 @@
                                                                                  
 PRINT_LIBDIR='-L${libdir}'
 PRINT_INCLUDEDIR='-I${includedir}'
-PRINT_INCLUDEDIR="$PRINT_INCLUDEDIR `gnome-config --cflags gnomeui xml`"
-PRINT_LIBS="-lgnomeprint `gnome-config --libs gnomeui xml`"
+PRINT_INCLUDEDIR="$PRINT_INCLUDEDIR `gnome-config --cflags gnomeui` -I${LOCALBASE}/include"
+PRINT_LIBS="-lgnomeprint `gnome-config --libs gnomeui` -L${LOCALBASE}/lib -lxml -lz -lintl"
 
 
 
@@ -5098,10 +5100,12 @@
     top_srcdir="$ac_dots$ac_given_srcdir" ;;
   esac
 
+if false; then
   case "$ac_given_INSTALL" in
   [/$]*) INSTALL="$ac_given_INSTALL" ;;
   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
   esac
+fi
 
   echo creating "$ac_file"
   rm -f "$ac_file"