blob: 0218f53a14b7ed7f9b4b2dc494ec1afb82b4bebc (
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
37
38
39
40
41
42
43
|
--- gcc-3.2.3/gcc/configure.orig Tue Feb 4 08:17:46 2003
+++ gcc-3.2.3/gcc/configure Mon Apr 9 18:35:53 2007
@@ -6013,7 +6013,7 @@
cat > conftest.$ac_ext <<EOF
#line 6015 "configure"
#include "confdefs.h"
-#include <libintl.h>
+#include "%%LOCALBASE%%/include/libintl.h"
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -6044,7 +6044,7 @@
cat > conftest.$ac_ext <<EOF
#line 6046 "configure"
#include "confdefs.h"
-#include <libintl.h>
+#include "%%LOCALBASE%%/include/libintl.h"
extern int _nl_msg_cat_cntr;
int main() {
bindtextdomain ("", "");
@@ -6072,11 +6072,11 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
gt_save_LIBS="$LIBS"
- LIBS="$LIBS -lintl $LIBICONV"
+ LIBS="$LIBS -L%%LOCALBASE%% -lintl $LIBICONV"
cat > conftest.$ac_ext <<EOF
#line 6078 "configure"
#include "confdefs.h"
-#include <libintl.h>
+#include "%%LOCALBASE%%/include/libintl.h"
extern int _nl_msg_cat_cntr;
int main() {
bindtextdomain ("", "");
@@ -6108,7 +6108,7 @@
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
- INTLLIBS="-lintl $LIBICONV"
+ INTLLIBS="-L%%LOCALBASE%% -lintl $LIBICONV"
fi
gt_save_LIBS="$LIBS"
|