[packages] weechat: fix autoreconf
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25350 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
Index: weechat-0.2.5/configure
|
||||
===================================================================
|
||||
--- weechat-0.2.5.orig/configure 2007-06-30 17:15:36.000000000 +0200
|
||||
+++ weechat-0.2.5/configure 2007-06-30 17:15:36.000000000 +0200
|
||||
@@ -29349,8 +29349,7 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -29625,8 +29625,7 @@ echo $ECHO_N "checking for iconv usabili
|
||||
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
||||
See \`config.log' for more details." >&5
|
||||
echo "$as_me: error: cannot run test program while cross compiling
|
||||
@ -12,7 +10,7 @@ Index: weechat-0.2.5/configure
|
||||
else
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
@@ -29407,7 +29406,6 @@
|
||||
@@ -29683,7 +29682,6 @@ echo "${ECHO_T}no" >&6; }
|
||||
echo "${ECHO_T}yes" >&6; }
|
||||
fi
|
||||
fi
|
||||
@ -20,7 +18,7 @@ Index: weechat-0.2.5/configure
|
||||
if test "x$iconv_found" = "xno" ; then
|
||||
{ { echo "$as_me:$LINENO: error:
|
||||
*** Iconv headers and/or libraries couldn't be found in your system.
|
||||
@@ -29416,8 +29414,7 @@
|
||||
@@ -29692,8 +29690,7 @@ if test "x$iconv_found" = "xno" ; then
|
||||
echo "$as_me: error:
|
||||
*** Iconv headers and/or libraries couldn't be found in your system.
|
||||
*** Try to install them with your software package manager.
|
||||
@ -30,3 +28,29 @@ Index: weechat-0.2.5/configure
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -208,22 +208,8 @@ if test "x$ac_found_iconv_header" = "xye
|
||||
if test "x$ac_found_iconv_lib" = "xyes" ; then
|
||||
ICONV_LFLAGS="-liconv"
|
||||
LIBS="$LIBS $ICONV_LFLAGS"
|
||||
+ iconv_found="yes"
|
||||
fi
|
||||
- AC_MSG_CHECKING(for iconv usability in programs)
|
||||
- AC_TRY_RUN([
|
||||
- #include <iconv.h>
|
||||
- int main(int argc, char **argv) {
|
||||
- iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
|
||||
- if (conv != (iconv_t) -1) {
|
||||
- return 0;
|
||||
- }
|
||||
- return 1;
|
||||
- }],iconv_found="yes")
|
||||
- if test "x$iconv_found" = "xno" ; then
|
||||
- AC_MSG_RESULT(no)
|
||||
- else
|
||||
- AC_MSG_RESULT(yes)
|
||||
- fi
|
||||
fi
|
||||
|
||||
if test "x$iconv_found" = "xno" ; then
|
||||
|
Reference in New Issue
Block a user