>+ echo "main() {}" | $compiler -lncursesw -xc - 2> /dev/null
>+ if [ $? -eq 0 ]; then
>+ echo '-lncursesw'
>+ exit
>+ fi
>+ echo "main() {}" | $compiler -lncurses -xc - 2> /dev/null
>+ if [ $? -eq 0 ]; then
> echo '-lncurses'
>+ exit
>+ fi
>+ echo "main() {}" | $compiler -lcurses -xc - 2> /dev/null
>+ if [ $? -eq 0 ]; then
>+ echo '-lcurses'
>+ exit
> fi
>+ exit 1
You forget to remove a.out, or whatever the compiler produces. I suggest
$compiler -o /dev/null
Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]