|
@@ -36,8 +36,10 @@ trap "rm -f $tmp" 0 1 2 3 15
|
|
|
|
|
|
|
|
|
check() {
|
|
|
- echo -e " #include CURSES_LOC \n main() {}" |
|
|
|
- $cc -xc - -o $tmp 2> /dev/null
|
|
|
+ $cc -xc - -o $tmp 2>/dev/null <<'EOF'
|
|
|
+
|
|
|
+main() {}
|
|
|
+EOF
|
|
|
if [ $? != 0 ]; then
|
|
|
echo " *** Unable to find the ncurses libraries or the" 1>&2
|
|
|
echo " *** required header files." 1>&2
|