summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-control-center/files/patch-configure
blob: 820e1fc4bfb45ea26559582cb8821b986ff1e109 (plain) (blame)
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
--- configure.orig  Thu Mar 11 03:09:48 2004
+++ configure   Thu Mar 11 03:12:25 2004
@@ -21373,6 +21373,7 @@
 if eval "test \"\${$as_ac_var+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
+  LIBS="-lintl $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -21461,6 +21462,7 @@
   cat >>confdefs.h <<_ACEOF
 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
+LIBS="-lintl $LIBS"
  have_ngettext=yes
 fi
 done
@@ -25595,7 +25597,7 @@
 if test "x$CATOBJEXT" = "x.mo" ; then
   localedir=`eval echo "${libdir}/locale"`
 else
-  localedir=`eval echo "${datadir}/locale"`
+  localedir=`eval echo "${prefix}/share/locale"`
 fi
 prefix="$glib_save_prefix"
 exec_prefix="$glib_save_exec_prefix"
@@ -26257,7 +26259,7 @@
 
 
 cat >>confdefs.h <<_ACEOF
-#define GNOMECC_DATA_DIR "${real_prefix}/share/${GETTEXT_PACKAGE}"
+#define GNOMECC_DATA_DIR "${datadir}/${GETTEXT_PACKAGE}"
 _ACEOF
 
 GNOMECC_ICONS_DIR='$(datadir)/'${GETTEXT_PACKAGE}'/icons'