patch-2.3.19 linux/scripts/lxdialog/Makefile
Next file: linux/scripts/tail.tk
Previous file: linux/scripts/header.tk
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sat Oct 2 07:49:30 1999
- Orig file:
v2.3.18/linux/scripts/lxdialog/Makefile
- Orig date:
Mon Jul 20 10:05:16 1998
diff -u --recursive --new-file v2.3.18/linux/scripts/lxdialog/Makefile linux/scripts/lxdialog/Makefile
@@ -30,8 +30,11 @@
lxdialog: $(OBJS)
ncurses:
- @x=`find /lib/ /usr/lib/ /usr/local/lib/ -maxdepth 1 -name 'libncurses.*'` ;\
- if [ ! "$$x" ]; then \
+ @echo "main() {}" > lxtemp.c
+ @if $(CC) -lncurses lxtemp.c ; then \
+ rm -f lxtemp.c a.out; \
+ else \
+ rm -f lxtemp.c; \
echo -e "\007" ;\
echo ">> Unable to find the Ncurses libraries." ;\
echo ">>" ;\
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)