sync with kmod-madwifi
[openwrt.git] / package / slurm / patches / no_host_ncurses.patch
1 diff -ruN slurm-0.3.3-old/configure slurm-0.3.3-new/configure
2 --- slurm-0.3.3-old/configure 2004-09-28 16:34:56.000000000 +0200
3 +++ slurm-0.3.3-new/configure 2005-11-06 22:08:53.000000000 +0100
4 @@ -4762,35 +4762,35 @@
5 _ACEOF
6
7
8 -for cursespath in /usr/include/ncurses.h /usr/local/include/ncurses.h /usr/local/include/ncurses/ncurses.h /opt/include/ncurses.h /opt/include/curses.h /usr/include/curses.h /usr/local/include/curses.h /dev/null
9 -do
10 - test -f "${cursespath}" && break
11 -done
12 -case ${cursespath} in
13 - /usr/include/*)
14 - CFLAGS="$CFLAGS -I/usr/include"
15 - LDFLAGS=""
16 - ;;
17 - /usr/local/include/ncurses/*)
18 - CFLAGS="${CFLAGS} -I/usr/local/include/ncurses"
19 - LDFLAGS="-L/usr/local/lib"
20 - SOLLDFLAGS="-R/usr/local/lib"
21 - ;;
22 - /usr/local/include/*)
23 - CFLAGS="${CFLAGS} -I/usr/local/include"
24 - LDFLAGS="-L/usr/local/lib"
25 - SOLLDFLAGS="-R/usr/local/lib"
26 - ;;
27 - /opt/include/*)
28 - CFLAGS="${CFLAGS} -I/opt/include"
29 - LDFLAGS="-L/opt/lib"
30 - SOLLDFLAGS="-R/opt/lib"
31 - ;;
32 -esac
33 +#for cursespath in /usr/include/ncurses.h /usr/local/include/ncurses.h /usr/local/include/ncurses/ncurses.h /opt/include/ncurses.h /opt/include/curses.h /usr/include/curses.h /usr/local/include/curses.h /dev/null
34 +#do
35 +# test -f "${cursespath}" && break
36 +#done
37 +#case ${cursespath} in
38 +# /usr/include/*)
39 +# CFLAGS="$CFLAGS -I/usr/include"
40 +# LDFLAGS=""
41 +# ;;
42 +# /usr/local/include/ncurses/*)
43 +# CFLAGS="${CFLAGS} -I/usr/local/include/ncurses"
44 +# LDFLAGS="-L/usr/local/lib"
45 +# SOLLDFLAGS="-R/usr/local/lib"
46 +# ;;
47 +# /usr/local/include/*)
48 +# CFLAGS="${CFLAGS} -I/usr/local/include"
49 +# LDFLAGS="-L/usr/local/lib"
50 +# SOLLDFLAGS="-R/usr/local/lib"
51 +# ;;
52 +# /opt/include/*)
53 +# CFLAGS="${CFLAGS} -I/opt/include"
54 +# LDFLAGS="-L/opt/lib"
55 +# SOLLDFLAGS="-R/opt/lib"
56 +# ;;
57 +#esac
58 # add Slowlaris -R and libraries to LDFLAGS
59 -if test ${OSTYPE} = "solaris" ; then
60 - LDFLAGS="${LDFLAGS} ${SOLLDFLAGS} -lnsl -lsocket -lkstat"
61 -fi
62 +#if test ${OSTYPE} = "solaris" ; then
63 +# LDFLAGS="${LDFLAGS} ${SOLLDFLAGS} -lnsl -lsocket -lkstat"
64 +#fi
65
66 echo "$as_me:$LINENO: checking for vanilla_coke in -lfridge" >&5
67 echo $ECHO_N "checking for vanilla_coke in -lfridge... $ECHO_C" >&6
This page took 0.045075 seconds and 5 git commands to generate.