summaryrefslogtreecommitdiff
path: root/print/gnome-print/patches/patch-aa
blob: 9594ce780e98a70416aff2ded1bed81680327ee9 (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
$NetBSD: patch-aa,v 1.5 2000/04/16 15:07:44 rh Exp $

--- configure.orig	Thu Apr 13 02:52:06 2000
+++ configure	Sun Apr 16 07:56:42 2000
@@ -2899,7 +2899,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lxml `$GNOME_CONFIG --libs xml` $LIBS"
+LIBS="`xml-config --libs` ${LIBS}"
 cat > conftest.$ac_ext <<EOF
 #line 2905 "configure"
 #include "confdefs.h"
@@ -2929,7 +2929,8 @@
   echo "$ac_t""yes" 1>&6
   
 		
-		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
@@ -5081,10 +5082,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"