Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / lc3tools / 0001-mangle-configure.patch
blob80b5c7d211744148c2092dcf7f47427a0e7ef4e5
1 diff --git a/configure b/configure
2 index 46f9af4..dfc1b3e 100755
3 --- a/configure
4 +++ b/configure
5 @@ -17,10 +17,11 @@ esac
7 # Some binaries that we'll need, and the places that we might find them.
9 -binlist="uname flex gcc wish rm cp mkdir chmod sed"
10 -pathlist="/bin /usr/bin /usr/local/bin /sw/bin /usr/x116/bin /usr/X11R6/bin"
11 -libpathlist="/lib /usr/lib /usr/local/lib"
12 -incpathlist="/include /usr/include /usr/local/include"
13 +IFS=:
14 +binlist="uname:flex:gcc:wish:rm:cp:mkdir:chmod:sed"
15 +pathlist=$PATH
16 +libpathlist=$LIBS
17 +incpathlist=$INCLUDES
20 # Find the binaries (or die trying).
21 @@ -55,7 +56,7 @@ case `$uname -s` in
22 echo "Configuring for Cygwin..."
24 Linux*) echo "Configuring for Linux..."
25 - OS_SIM_LIBS="-lcurses"
26 + # OS_SIM_LIBS="-lcurses"
28 SunOS*) echo "Configuring for Solaris..."
29 OS_SIM_LIBS="-lcurses -lsocket -lnsl"