svn commit: trunk/uClibc/extra/config/lxdialog

aldot at uclibc.org aldot at uclibc.org
Wed Aug 27 07:32:12 UTC 2008


Author: aldot
Date: 2008-08-27 00:32:11 -0700 (Wed, 27 Aug 2008)
New Revision: 23236

Log:
- pull check-lxdialog.sh from linux-2.6.26


Modified:
   trunk/uClibc/extra/config/lxdialog/check-lxdialog.sh


Changeset:
Modified: trunk/uClibc/extra/config/lxdialog/check-lxdialog.sh
===================================================================
--- trunk/uClibc/extra/config/lxdialog/check-lxdialog.sh	2008-08-27 07:29:20 UTC (rev 23235)
+++ trunk/uClibc/extra/config/lxdialog/check-lxdialog.sh	2008-08-27 07:32:11 UTC (rev 23236)
@@ -36,8 +36,10 @@
 
 # Check if we can link to ncurses
 check() {
-	echo -e " #include CURSES_LOC \n main() {}" |
-	    $cc -xc - -o $tmp 2> /dev/null
+        $cc -xc - -o $tmp 2>/dev/null <<'EOF'
+#include CURSES_LOC
+main() {}
+EOF
 	if [ $? != 0 ]; then
 	    echo " *** Unable to find the ncurses libraries or the"       1>&2
 	    echo " *** required header files."                            1>&2




More information about the uClibc-cvs mailing list