summaryrefslogtreecommitdiffstats
path: root/x11/gswitchit/files/patch-configure
blob: bb193a809cdd17d7d6bb320f780990e77f4ab50b (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
65
66
67
68
69
70
71
72
73
74

$FreeBSD$

--- configure.orig	Thu Feb  7 11:22:34 2002
+++ configure	Thu Feb  7 11:25:18 2002
@@ -6997,7 +6997,7 @@
 #line 6998 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
-#include <iconv.h>
+#include <giconv.h>
 int main() {
 iconv_t cd = iconv_open("","");
        iconv(cd,NULL,NULL,NULL,NULL);
@@ -7014,12 +7014,12 @@
 rm -f conftest*
     if test "$am_cv_func_iconv" != yes; then
       am_save_LIBS="$LIBS"
-      LIBS="$LIBS -liconv"
+      LIBS="$LIBS -lgiconv"
       cat > conftest.$ac_ext <<EOF
 #line 7020 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
-#include <iconv.h>
+#include <giconv.h>
 int main() {
 iconv_t cd = iconv_open("","");
          iconv(cd,NULL,NULL,NULL,NULL);
@@ -7057,7 +7057,7 @@
 #include "confdefs.h"
 
 #include <stdlib.h>
-#include <iconv.h>
+#include <giconv.h>
 extern
 #ifdef __cplusplus
 "C"
@@ -7095,7 +7095,7 @@
   fi
   LIBICONV=
   if test "$am_cv_lib_iconv" = yes; then
-    LIBICONV="-liconv"
+    LIBICONV="-lgiconv"
   fi
   
 
@@ -7478,7 +7478,7 @@
 fi
 
 
-	     CATOBJEXT=.gmo
+	     CATOBJEXT=.mo
 	   fi
 	
 else
@@ -7600,7 +7600,7 @@
         
 	BUILD_INCLUDED_LIBINTL=yes
 	USE_INCLUDED_LIBINTL=yes
-        CATOBJEXT=.gmo
+        CATOBJEXT=.mo
 	INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV"
 	LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
       fi
@@ -7676,7 +7676,7 @@
     fi
 
                 for lang in $ALL_LINGUAS; do
-      GMOFILES="$GMOFILES $lang.gmo"
+      GMOFILES="$GMOFILES $lang.mo"
       POFILES="$POFILES $lang.po"
     done
 
OpenPOWER on IntegriCloud